/* ============================================================
   AGENCE — agence.css
   Styles spécifiques à l_agence.html.
   Dépend de style.css, accueil.css, services.css.
============================================================ */


/* ============================================================
   SECTION 1 — HERO AGENCE
   Réutilise 100% les classes .processus de services.css
   Seuls ajouts : surtitre, titre H1, vague de fond positionnée
============================================================ */

/* Surtitre discret au-dessus du H1 */
.hero-agence__surtitre {
  font-family: var(--police);
  font-weight: 500;
  font-size: clamp(0.8125rem, 0.75rem + 0.2vw, 0.9375rem);
  color: #718096;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

/* H1 affiché en grand comme sur les pages services */
.hero-agence__titre {
  font-family: var(--police);
  font-weight: 600;
  font-size: clamp(2.25rem, 1.75rem + 2.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--noir);
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

/* Vague de fond — positionnée en absolu sur la section .processus */
.processus { position: relative; overflow: visible;     padding-block: clamp(4rem, 10vw, 10rem);}

.hero-service__vague-fond--agence {
  position: absolute;
  top: -3rem;
  right: -2rem;
  width: clamp(280px, 45vw, 600px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

.hero-service__vague-fond--agence img {
  width: 100%;
  height: auto;
}

/* Le contenu passe au-dessus de la vague */
.processus__interieur { position: relative; z-index: 1; }

/* Couleur du badge actif — rouge pour la page agence (pas de data-theme) */
.hero-agence__titre ~ * .processus__onglet.est-actif,
#titre-processus-agence ~ * .processus__onglet.est-actif {
  background: var(--rouge-01);
}

/* Plus simple : surcharger via section parente */
section:has(#titre-processus-agence) .processus__onglet.est-actif {
  background: var(--rouge-01);
}

section:has(#titre-processus-agence) .processus__etape-badge {
  background: var(--rouge-01);
}


/* ============================================================
   SECTION 2 — CITATION + BULLES FLOTTANTES
============================================================ */
.citation-agence {
  position: relative;
  padding-block: clamp(7rem, 14vw, 15rem);
  overflow: hidden;
  background: var(--blanc);
}

.citation-agence__interieur {
  max-width: 2000px;
  margin-inline: auto;
  padding-inline: var(--marge-page);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Citation principale — EN PREMIER dans le flux */
.citation-agence__texte {
  font-family: var(--police);
  font-weight: 600;
  font-size: clamp(2.75rem, 2rem + 3.5vw, 6rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: var(--noir);
  margin: 0 0 clamp(1.5rem, 2.5vw, 2.5rem);
  position: relative;
}

/* Mot en accent (vert) */
.citation-agence__accent {
  display: inline-flex;
  align-items: center;
  background: var(--vert-01);
  color: var(--blanc);
  border-radius: 0.875rem;
  padding: 0.04em 0.45em 0.1em;
  outline: 4px solid var(--blanc);
  box-shadow: 0 6px 28px rgba(5,205,103,.3);
  font-weight: 600;
  white-space: nowrap;
  font-style: normal;
}

/* Auteur — SOUS la citation */
.citation-agence__auteur {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 0;
}

.citation-agence__photo {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--gris-bord);
  flex-shrink: 0;
}

.citation-agence__nom {
  font-family: var(--police);
  font-weight: 500;
  font-size: 1.0625rem;
  line-height: 1.2;
  color: #718096;
  text-align: left;
}

/* ---- Cartes flottantes en arrière-plan ---- */
.citation-bulles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.citation-carte {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  background: var(--blanc);
  border: 1.5px solid var(--gris-bord);
  border-radius: 1.125rem;
  padding: 1.25rem 1.5rem 1.125rem;
  box-shadow: 0 4px 24px rgba(0,15,41,.07);
  min-width: 8.5rem;
  animation: bulle-flotte var(--dur, 7s) ease-in-out infinite alternate;
}

.citation-carte img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.citation-carte span {
  font-family: var(--police);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--noir);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}

@keyframes bulle-flotte {
  from { transform: rotate(var(--r-from, -2deg)) translateY(0px); }
  to   { transform: rotate(var(--r-to, 2deg)) translateY(var(--dy, -10px)); }
}

/* ----
   Positions calquées sur la maquette :
   - Gauche : marges ~8-10% du bord gauche
   - Centre : autour de 38-42% (légèrement à gauche du centre)
   - Droite : ~5-8% du bord droit, cartes légèrement inclinées
   - Haut : 5-12% du haut
   - Milieu : autour de 45-55%
   - Bas : 5-12% du bas
---- */

/* Gauche haut */
.citation-carte--1 {
  top: 8%;
  left: 8%;
  --r-from: -7deg;
  --r-to: -14deg;
  --dy: -6px;
  --dur: 6.5s;
}

/* Centre haut — légèrement décalé gauche */
.citation-carte--2 {
    top: 4%;
    left: 45%;
    --r-from: -7deg;
    --r-to: -7.5deg;
    --dy: -10px;
    --dur: 7.5s;
}

/* Droite haut — inclinée, légèrement hors cadre */
.citation-carte--3 {
    top: 11%;
    right: 10%;
    --r-from: 22deg;
    --r-to: 14deg;
    --dy: -8px;
    --dur: 8s;
}

/* Gauche milieu */
.citation-carte--4 {
    top: 45%;
    left: 0%;
    transform: translateY(-50%) rotate(-2deg);
    --r-from: 4deg;
    --r-to: 12deg;
    --dy: -7px;
    --dur: 6s;
}

/* Droite milieu */
.citation-carte--5 {
    top: 46%;
    right: -2%;
    transform: translateY(-50%) rotate(1deg);
    --r-from: -10deg;
    --r-to: -16deg;
    --dy: -9px;
    --dur: 7s;
}

/* Gauche bas */
.citation-carte--6 {
    bottom: 10%;
    left: 20%;
    --r-from: 6deg;
    --r-to: 16.5deg;
    --dy: -7px;
    --dur: 8.5s;
}

/* Centre bas — légèrement décalé gauche */
.citation-carte--7 {
    bottom: 12%;
    right: 20%;
    --r-from: -8.5deg;
    --r-to: -14deg;
    --dy: -9px;
    --dur: 7s;
}


@media (max-width: 768px) {
  .citation-carte { display: none; }
  .citation-agence__texte { font-size: clamp(2rem, 1.5rem + 3vw, 3.5rem); }
}


/* ============================================================
   SECTION 3 — ÉQUIPE (cartes flip 3D)
============================================================ */
.equipe {
  padding-block: clamp(4rem, 7vw, 7rem);
  background: var(--blanc);
}

.equipe__interieur {
  max-width: 2000px;
  margin-inline: auto;
  padding-inline: var(--marge-page);
}

.equipe__entete {
  text-align: center;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.equipe__titre {
  font-family: var(--police);
  font-weight: 600;
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--noir);
}

.equipe__grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

/* Carte membre — flip 3D au hover */
.equipe-carte {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: var(--ombre-sm);
}

.equipe-carte:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre-lg);
}

/* Photo de fond */
.equipe-carte__fond {
  position: absolute;
  inset: 0;
}

.equipe-carte__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.equipe-carte:hover .equipe-carte__photo {
  transform: scale(1.04);
}

/* Overlay dégradé bas */
.equipe-carte__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(0,10,30,.55) 65%,
    rgba(0,10,30,.92) 100%
  );
}

/* Contenu texte */
.equipe-carte__contenu {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  z-index: 1;
}

.equipe-carte__haut {
  margin-bottom: 0.75rem;
  transform: translateY(0.5rem);
  transition: transform 0.35s ease;
}

.equipe-carte:hover .equipe-carte__haut {
  transform: translateY(0);
}

.equipe-carte__role {
  display: block;
  font-family: var(--police);
  font-weight: 500;
  font-size: clamp(0.6875rem, 0.625rem + 0.2vw, 0.8125rem);
  color: rgba(255,255,255,.65);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.equipe-carte__nom {
  font-family: var(--police);
  font-weight: 600;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  color: var(--blanc);
  margin: 0;
  line-height: 1.2;
}

/* Bio — masquée, révélée au hover */
.equipe-carte__bio {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.35s ease 0.05s;
}

.equipe-carte:hover .equipe-carte__bio {
  max-height: 200px;
  opacity: 1;
}

.equipe-carte__bio p {
  font-family: var(--police);
  font-weight: 400;
  font-size: clamp(0.8125rem, 0.75rem + 0.2vw, 0.9375rem);
  color: rgba(255,255,255,.85);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.equipe-carte__bio p strong { color: var(--blanc); font-weight: 600; }

.equipe-carte__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.equipe-carte__tags span {
  font-family: var(--police);
  font-weight: 500;
  font-size: 0.6875rem;
  color: var(--blanc);
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--rayon-pill);
  padding: 0.2rem 0.65rem;
}

@media (max-width: 900px) {
  .equipe__grille { grid-template-columns: 1fr; gap: 1rem; max-width: 420px; margin-inline: auto; }
  .equipe-carte { aspect-ratio: 4 / 5; }
  .equipe-carte__bio { max-height: none; opacity: 1; }
}


/* Pictos colorés sur les cartes membres */
.equipe-carte__pictos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.equipe-picto {
  position: absolute;
  width: clamp(3.5rem, 5.5vw, 5rem);
  height: clamp(3.5rem, 5.5vw, 5rem);
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.15));
  animation: picto-flotte 4s ease-in-out infinite alternate;
}

@keyframes picto-flotte {
  from { transform: translateY(0) rotate(var(--r, 5deg)); }
  to   { transform: translateY(-8px) rotate(var(--r, 5deg)); }
}

/* ---- Nolan (carte 1) ---- */
[data-membre="nolan"] .equipe-picto--1 {
  top: 1.25rem; right: 1.75rem;
  --r: 10deg; animation-delay: 0s;
}
[data-membre="nolan"] .equipe-picto--2 {
  top: 1rem; left: 1.25rem;
  --r: -12deg; animation-delay: 0.8s;
}
[data-membre="nolan"] .equipe-picto--3 {
  top: 9rem; right: 1.75rem;
  --r: 6deg; animation-delay: 1.4s;
}
[data-membre="nolan"] .equipe-picto--4 {
  top: 8rem; left: 1rem;
  --r: -8deg; animation-delay: 2s;
}

/* ---- Noé (carte 2) ---- */
[data-membre="noe"] .equipe-picto--1 {
  top: 1rem; right: 2.5rem;
  --r: 8deg; animation-delay: 0.4s;
}
[data-membre="noe"] .equipe-picto--2 {
  top: 2.5rem; left: 1rem;
  --r: -10deg; animation-delay: 1.2s;
}
[data-membre="noe"] .equipe-picto--3 {
  top: 9rem; right: 1.5rem;
  --r: 14deg; animation-delay: 0.6s;
}
[data-membre="noe"] .equipe-picto--4 {
  top: 13rem; left: 2rem;
  --r: -5deg; animation-delay: 1.8s;
}

/* ---- Lucas (carte 3) ---- */
[data-membre="lucas"] .equipe-picto--1 {
  top: 0.75rem; right: 1.25rem;
  --r: 12deg; animation-delay: 0.2s;
}
[data-membre="lucas"] .equipe-picto--2 {
  top: 3rem; left: 0.75rem;
  --r: -7deg; animation-delay: 1s;
}
[data-membre="lucas"] .equipe-picto--3 {
  top: 6.5rem; right: 3rem;
  --r: -4deg; animation-delay: 1.6s;
}
[data-membre="lucas"] .equipe-picto--4 {
  top: 11rem; left: 1.5rem;
  --r: 9deg; animation-delay: 0.5s;
}

/* Citation dans les cartes équipe */
.equipe-carte__citation {
  font-style: italic;
  font-size: clamp(0.75rem, 0.7rem + 0.15vw, 0.8125rem);
  color: rgba(255,255,255,.6);
  margin: 0 0 0.625rem;
  line-height: 1.45;
}


/* ============================================================
   SECTION 4 — TABLEAU COMPARATIF
============================================================ */
.comparatif {
  padding-block: clamp(4rem, 7vw, 7rem);
  background: var(--blanc);
}

.comparatif__interieur {
  max-width: 2000px;
  margin-inline: auto;
  padding-inline: var(--marge-page);
}

.comparatif__entete {
  text-align: center;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.comparatif__titre {
  font-family: var(--police);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.25rem + 2.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--noir);
}

/* Wrapper global tableau */
.comparatif__tableau {
  width: 100%;
}

/* Ligne en-têtes colonnes — flottante au-dessus du tableau */
.comparatif__entetes {
  display: grid;
  grid-template-columns: clamp(9rem, 18vw, 16rem) 1fr 1fr;
  padding: 0 0 1rem 0;
  gap: 0;
}


.comparatif__col-allin,
.comparatif__col-autres {
  padding-left: 1.5rem;
}

.comparatif__col-allin span,
.comparatif__col-autres span {
  font-family: var(--police);
  font-weight: 600;
  font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.0625rem);
  color: var(--noir);
}

/* Corps du tableau — bordure arrondie globale */
.comparatif__corps {
  border: 1.5px solid var(--gris-bord);
  border-radius: 1.25rem;
  overflow: hidden;
}

/* Ligne de données */
.comparatif__ligne {
  display: grid;
  grid-template-columns: clamp(9rem, 18vw, 16rem) 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--gris-bord);
  align-items: stretch;
  transition: background var(--transition-rapide);
}

.comparatif__ligne:last-child {
  border-bottom: none;
}

/* Colonne critère — fond gris, séparateur droite */
.comparatif__critere {
  font-family: var(--police);
  font-size: clamp(0.875rem, 0.8rem + 0.2vw, 1rem);
  font-weight: 600;
  color: var(--noir);
  background: var(--gris-clair);
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--gris-bord);
  display: flex;
  align-items: center;
}

/* Colonnes données */
.comparatif__allin,
.comparatif__autres {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: var(--police);
  font-weight: 400;
  font-size: clamp(0.8125rem, 0.75rem + 0.2vw, 0.9375rem);
  line-height: 1.5;
  color: #4A5568;
  padding: 1.25rem 1.5rem;
}

.comparatif__autres {
  border-left: 1px solid var(--gris-bord);
}

.comparatif__allin img,
.comparatif__autres img {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

@media (max-width: 768px) {
  .comparatif__entetes { display: none; }
  .comparatif__corps { border-radius: 1rem; }
  .comparatif__ligne {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .comparatif__critere {
    border-right: none;
    border-bottom: 1px solid var(--gris-bord);
    padding: 0.875rem 1.25rem;
  }
  .comparatif__allin { padding: 0.75rem 1.25rem; }
  .comparatif__autres {
    border-left: none;
    border-top: 1px solid var(--gris-bord);
    padding: 0.75rem 1.25rem;
  }
}


/* ============================================================
   CTA AGENCE — vert forcé (page sans data-theme)
============================================================ */
.cta-contact--vert {
  background: var(--vert-01) !important;
}

.cta-contact--vert .cta-contact__badge-48h {
  background: transparent;
  color: var(--blanc);
  border-color: var(--blanc);
}

/* ============================================================
   Surcharge couleur panel section 1 — rouge au lieu de bleu
============================================================ */
section:has(#titre-processus-agence) .processus__panel {
  background: var(--rouge-01);
}

section:has(#titre-processus-agence) .processus__panel::before {
  background-image: url('../images/autres/cta/wave-rouge.webp');
}

section:has(#titre-processus-agence) .processus__etape-badge {
  background: var(--rouge-01);
}


/* ============================================================
   RESPONSIVE MOBILE — l_agence.html
   Appended at end. Never modify rules above.
============================================================ */


/* ------------------------------------------------------------
   POINT 1 — Hero : dégagement navbar + réduction largeur texte
------------------------------------------------------------ */
@media (max-width: 768px) {
  .processus {
    padding-top: 7rem !important;
  }
  .hero-agence__surtitre {
    font-size: 0.8125rem;
    max-width: 75%;
    margin-inline: auto;
    text-align: center;
  }
  .hero-agence__titre {
    font-size: clamp(1.75rem, 6.5vw, 2.5rem) !important;
    max-width: 92%;
    margin-inline: auto;
    text-align: center;
  }
  .hero-agence__titre br { display: none; }
}


/* ------------------------------------------------------------
   POINT 2 — Onglets : même hauteur + flèches carousel
------------------------------------------------------------ */

/* Masqué sur desktop */
.onglets-controles { display: none; }

@media (max-width: 768px) {
  /* Onglets : espacement + retour à la ligne naturel (taille initiale conservée) */
  .processus__onglets {
    gap: 0.375rem !important;
  }
  .processus__onglet {
    white-space: normal !important;
    min-width: 5.5rem !important;
  }

  /* Hauteur fixe uniforme pour toutes les étapes */
  .processus__etape {
    height: 35rem !important;
    overflow-y: auto !important;
  }

  /* Contrôles flèches — même design que pourquoi / services */
  .onglets-controles {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 1rem;
    margin-inline: auto;
    width: 9.5rem;
    height: 4.25rem;
    border-radius: 2rem;
    padding: 0.5rem 0rem 0.125rem 0.25rem;
    background: #F0F0F0;
  }
  .onglets__btn {
    flex: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s;
  }
  .onglets__btn img {
    height: 5.25rem;
    width: auto;
    min-width: unset;
    max-width: none;
    display: block;
  }
  .onglets__btn:disabled { opacity: 0.4; cursor: default; }
}


/* ------------------------------------------------------------
   POINT 3 — Section citation : marges réduites sur mobile
------------------------------------------------------------ */
@media (max-width: 768px) {
  .citation-agence {
    padding-block: 3rem !important;
  }
}


/* ------------------------------------------------------------
   POINT 4 — Titre équipe : masquer le br sur mobile
------------------------------------------------------------ */
@media (max-width: 768px) {
  .equipe__titre br { display: none; }
}


/* ------------------------------------------------------------
   POINT 5 — Carte Postuler (desktop + mobile)
------------------------------------------------------------ */

/* Fond dégradé bleu — aucune photo */
[data-membre="postuler"] .equipe-carte__fond {
  background: linear-gradient(145deg, #050e1f 0%, #0f2d6e 40%, #2E7DFF 100%);
}

/* Overlay atténué sur fond bleu */
[data-membre="postuler"] .equipe-carte__overlay {
  background: linear-gradient(
    to bottom,
    transparent 5%,
    rgba(3, 10, 28, .45) 55%,
    rgba(3, 10, 28, .93) 100%
  );
}

/* Bio toujours visible (pas de hover requis) */
[data-membre="postuler"] .equipe-carte__bio {
  max-height: none !important;
  opacity: 1 !important;
  overflow: visible !important;
}

/* Haut sans décalage */
[data-membre="postuler"] .equipe-carte__haut {
  transform: none !important;
}

/* Titre légèrement réduit pour tenir dans la carte */
[data-membre="postuler"] .equipe-carte__nom {
  font-size: clamp(0.9375rem, 0.875rem + 0.5vw, 1.25rem) !important;
  line-height: 1.3 !important;
}

/* Espace en bas pour le bouton */
[data-membre="postuler"] .equipe-carte__contenu {
  padding-bottom: 5rem !important;
}

/* Bouton postuler — ancré en bas de la carte */
.postuler__cta {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blanc);
  color: var(--bleu-01);
  font-family: var(--police);
  font-weight: 600;
  font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
  padding: 0.75rem 1rem;
  border-radius: var(--rayon-pill);
  text-decoration: none;
  text-align: center;
  line-height: 1.3;
  z-index: 3;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.postuler__cta:hover {
  background: rgba(255,255,255,.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}

/* Hover lift conservé */
.equipe-carte--postuler:hover {
  transform: translateY(-6px);
}


/* ------------------------------------------------------------
   POINT 6 — Tableau comparatif : uniquement colonne bleue sur mobile
------------------------------------------------------------ */

/* Mobile header — caché sur desktop */
.comparatif__mobile-header { display: none; }

@media (max-width: 768px) {
  /* Afficher le nouveau header */
  .comparatif__mobile-header {
    display: block !important;
    font-family: var(--police);
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--noir);
    padding: 1rem 1.25rem;
    background: var(--gris-clair);
    border-bottom: 1px solid var(--gris-bord);
  }

  /* Masquer le retour à la ligne dans le titre */
  .comparatif__titre br { display: none !important; }

  /* Masquer colonne critère (labels "Prix", "Design"…) */
  .comparatif__critere { display: none !important; }

  /* Masquer colonne "autres agences" */
  .comparatif__autres { display: none !important; }

  /* Ajuster padding colonne All In (seule visible) */
  .comparatif__allin {
    padding: 1rem 1.25rem !important;
  }
}


/* ------------------------------------------------------------
   POINT 7 — Services grille : masquer mini-cartes sur mobile
------------------------------------------------------------ */
@media (max-width: 768px) {
  /* Masquer les colonnes mini-cartes gauche et droite */
  .services-grille__col { display: none !important; }

  /* Masquer les dégradés latéraux (inutiles sans mini-cartes) */
  .services-grille__degrade { display: none !important; }

  /* Mise en page : une seule colonne avec marges alignées sur la navbar (1rem) */
  .services-grille__corps {
    grid-template-columns: 1fr !important;
    padding-inline: 1rem !important;
  }

  /* Centre : 2 colonnes × 2 lignes pleine largeur */
  .services-grille__centre {
    width: 100% !important;
    grid-template-columns: 1fr 1fr !important;
  }

  /* Hauteur réduite pour les grandes cartes sur mobile */
  .grande-carte {
    height: 11rem !important;
  }
}
