/* ============================================================================
   AM — SYSTÈME DE CONTENU REFONTE (partagé, réutilisable)  ·  am-refonte.css
   Design system A&M : flush-left / 2 colonnes / zig-zag · N&B anthracite.
   TOUT est scopé sous .am-rf  ->  aucune fuite vers le thème Divi / le site.
   Source de vérité : ~/Desktop/refonte-preview.html (section Dépannage validée).
   Le HERO reste géré par Divi + am-hero2 : ce fichier ne le touche pas.
   ============================================================================ */

/* ---- Portée & tokens (portés par le conteneur, pas :root -> zéro fuite) ---- */
.am-rf{
  --ink:#1a1a1a; --ink-body:#3a3f45; --muted:#6b7075; --faint:#8a9099;
  --hairline:#ececec; --surface-alt:#f4f5f6; --white:#fff;
  --anthracite:#0e0f11;
  --fs-h2:31px; --fs-h3:22px; --fs-eyebrow:12px; --fs-body:18px; --fs-small:14.5px;
  --wide-max:1368px;   /* = conteneur de base du SITE (hero am-hero2 + méga-nav = 1320) + 2x gutter(24) :
                          la zone de CONTENU (wrap - gutter) fait donc exactement 1320px et s'aligne
                          au pixel sur le bloc texte du hero (left 52.5 / right 1372.5 @1440). */
  --s1:8px; --s2:16px; --s3:24px; --s4:40px; --s5:64px; --s6:96px;
  --sec-pad-y:96px; --gutter:24px; --radius:14px;
  --shadow:0 2px 10px rgba(0,0,0,.06);

  font-family:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  color:var(--ink-body); font-size:var(--fs-body); line-height:1.65;
  -webkit-font-smoothing:antialiased; text-align:left;
}
.am-rf, .am-rf *{ box-sizing:border-box; }
.am-rf img{ max-width:100%; display:block; }
.am-rf a{ color:inherit; }

/* ---- Titres / textes (élément + classe -> l'emporte sur les défauts Divi) - */
.am-rf h2{ font-size:var(--fs-h2); font-weight:700; letter-spacing:-.015em;
  line-height:1.15; color:var(--ink); margin:0 0 var(--s2);
  text-wrap:balance; }   /* équilibre les longueurs de lignes, évite les mots orphelins (purement visuel) */
.am-rf h3{ font-size:var(--fs-h3); font-weight:600; line-height:1.3;
  color:var(--ink); margin:0 0 var(--s1); }
.am-rf h4{ margin:0; }
.am-rf p{ margin:0 0 var(--s3); }
.am-rf p:last-child{ margin-bottom:0; }
.am-rf .eyebrow{ font-size:var(--fs-eyebrow); font-weight:700; text-transform:uppercase;
  letter-spacing:.14em; color:var(--faint); margin-bottom:var(--s2); }
.am-rf .sec--dark .eyebrow{ color:#9aa0a6; }
.am-rf .lead{ font-size:20px; color:var(--ink-body); }
.am-rf .small{ font-size:var(--fs-small); color:var(--muted); }
.am-rf em{ font-style:italic; }
.am-rf strong{ font-weight:700; }

/* ---- Conteneur & anatomie de section ---- */
.am-rf .wrap{ max-width:var(--wide-max); margin:0 auto; padding:0 var(--gutter); }
.am-rf .sec{ padding:var(--sec-pad-y) 0; position:relative; }
.am-rf .sec--alt{ background:var(--surface-alt); }
.am-rf .sec--dark{ background:var(--anthracite); color:#fff; }
.am-rf .sec--dark h2{ color:#fff; }
.am-rf .sec--alt, .am-rf .sec--dark, .am-rf .trust{ width:100%; }

/* ============================================================
   MISE EN PAGE — flush-left / 2 colonnes / zig-zag (aucun bloc centré)
   ============================================================ */
.am-rf .split{ display:grid; gap:var(--s4) clamp(40px,5.5vw,var(--s6)); align-items:start; }
.am-rf .split--intro{ grid-template-columns:minmax(0,5fr) minmax(0,7fr); }
.am-rf .split--even{ grid-template-columns:1fr 1fr; align-items:center;
  gap:var(--s5) clamp(40px,5.5vw,var(--s5)); }
.am-rf .split__head h2{ margin-bottom:0; }
.am-rf .split__body>p:first-child{ margin-top:0; }
.am-rf .split__body .lead{ margin-bottom:var(--s3); }
/* Mesure de lecture : le conteneur s'élargit, PAS les lignes de texte uniques (retour BOSS). */
.am-rf .split--intro .split__body{ max-width:72ch; }

.am-rf .sec-head{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:var(--s2) clamp(40px,5.5vw,var(--s6)); align-items:end; margin-bottom:var(--s5); }
.am-rf .sec-head h2{ margin-bottom:0; }
.am-rf .sec-head__lead{ color:var(--muted); font-size:17px; align-self:end; margin:0; }
.am-rf .sec--dark .sec-head__lead{ color:#c7cbcf; }

/* ---- CTA / boutons (gap serré, alignés) ---- */
.am-rf .am-cta-group{ display:flex; gap:12px; flex-wrap:wrap; margin-top:var(--s4); }
.am-rf .am-btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-weight:600; font-size:16px; line-height:1; min-height:44px; padding:14px 26px; border-radius:10px;
  text-decoration:none; border:1.5px solid transparent; cursor:pointer; white-space:nowrap;
  margin:0; transition:transform .15s ease, background .15s ease, color .15s ease; }
.am-rf .am-btn--primary{ background:var(--ink); color:#fff; border-color:var(--ink); }
.am-rf .am-btn--primary:hover{ transform:translateY(-1px); background:#000; color:#fff; }
.am-rf .am-btn--ghost{ background:transparent; color:var(--ink); border-color:var(--ink); }
.am-rf .am-btn--ghost:hover{ background:var(--ink); color:#fff; }
.am-rf .sec--dark .am-btn--ghost{ color:#fff; border-color:rgba(255,255,255,.55); }
.am-rf .sec--dark .am-btn--ghost:hover{ background:#fff; color:var(--ink); }

/* ============================================================
   BLOC A — Pourquoi A&M (grille 4, hauteurs égales)
   ============================================================ */
.am-rf .why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:36px 32px; }
.am-rf .why-item{ min-width:0; }
.am-rf .why-item .ico{ width:46px; height:46px; border-radius:12px; background:var(--surface-alt);
  display:grid; place-items:center; margin-bottom:16px; }
.am-rf .sec--alt .why-item .ico{ background:#fff; }
.am-rf .why-item .ico svg{ width:22px; height:22px; stroke:var(--ink); stroke-width:1.6;
  fill:none; stroke-linecap:round; stroke-linejoin:round; }
.am-rf .why-item h3{ font-size:17px; margin-bottom:6px; }
.am-rf .why-item p{ font-size:15px; color:var(--muted); margin:0; }

/* ---- Cartes services (pleine largeur, hauteurs égales via grid) ---- */
.am-rf .cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:var(--gutter); }
.am-rf .card{ border:1px solid var(--hairline); border-radius:var(--radius); padding:30px 28px;
  background:#fff; display:flex; flex-direction:column;
  transition:box-shadow .18s ease, transform .18s ease; }
.am-rf .card:hover{ box-shadow:var(--shadow); transform:translateY(-2px); }
.am-rf .card h3{ margin-bottom:10px; }
.am-rf .card p{ font-size:15.5px; color:var(--muted); margin-bottom:18px; }
.am-rf .card a{ font-weight:600; font-size:15px; color:var(--ink); text-decoration:none;
  display:inline-flex; gap:6px; margin-top:auto; }

/* ---- Étapes 1·2·3 (pleine largeur, hauteurs égales) ---- */
.am-rf .steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:var(--gutter); }
.am-rf .step{ border:1px solid var(--hairline); border-radius:var(--radius); padding:28px 26px;
  background:#fff; }
.am-rf .sec--alt .step{ background:#fff; }
.am-rf .step .num{ width:34px; height:34px; border-radius:50%; background:var(--ink); color:#fff;
  display:grid; place-items:center; font-weight:700; font-size:15px; margin-bottom:18px; }
.am-rf .step h3{ font-size:18px; margin-bottom:6px; }
.am-rf .step p{ font-size:15px; color:var(--muted); margin:0; }

/* ---- Encart « Le conseil A&M » (glyphe + filet gauche) ---- */
.am-rf .advice{ display:flex; gap:22px; background:#fff; border-left:4px solid var(--ink);
  border-radius:0 var(--radius) var(--radius) 0; padding:30px 34px; }
.am-rf .sec--alt .advice{ background:var(--surface-alt); }
.am-rf .advice .ico{ flex:0 0 auto; width:42px; height:42px; border-radius:10px; background:var(--ink);
  display:grid; place-items:center; }
.am-rf .advice .ico svg{ width:22px; height:22px; stroke:#fff; stroke-width:1.6; fill:none;
  stroke-linecap:round; stroke-linejoin:round; }
.am-rf .advice .eyebrow{ margin-bottom:6px; }
.am-rf .advice h3{ font-size:19px; margin-bottom:10px; }
.am-rf .advice p{ font-size:16px; margin:0; }

/* ---- Bandeau chiffres-clés (anthracite) ---- */
.am-rf .stats{ display:grid; grid-template-columns:repeat(4,1fr); }
.am-rf .stat{ padding:8px 26px 8px 0; border-right:1px solid rgba(255,255,255,.22); }
.am-rf .stat:first-child{ padding-left:0; }
.am-rf .stat:last-child{ border-right:0; }
.am-rf .stat .n{ font-size:44px; font-weight:800; letter-spacing:-.02em; color:#fff; line-height:1; }
.am-rf .stat .l{ font-size:13.5px; color:#c3c8cd; margin-top:10px; }

/* ---- Tarifs : 2 panneaux = pleine largeur ---- */
.am-rf .price-cols{ display:grid; grid-template-columns:1fr 1fr; gap:var(--gutter); }
.am-rf .price-panel{ border:1px solid var(--hairline); border-radius:var(--radius);
  overflow:hidden; background:#fff; }
.am-rf .price-row{ display:flex; justify-content:space-between; align-items:baseline; gap:20px;
  padding:18px 26px; border-bottom:1px solid var(--hairline); }
.am-rf .price-row:last-child{ border-bottom:0; }
.am-rf .price-row.head{ background:var(--surface-alt); font-weight:700; color:var(--ink);
  font-size:13px; text-transform:uppercase; letter-spacing:.08em; }
.am-rf .price-row .label{ color:var(--ink); font-weight:500; }
.am-rf .price-row .label small{ display:block; color:var(--muted); font-weight:400; font-size:14px; }
.am-rf .price-row .val{ font-weight:700; color:var(--ink); white-space:nowrap; font-size:18px; }
.am-rf .price-note{ font-size:14px; color:var(--muted); margin-top:20px; }

/* Prix officiel A&M (réutilisable partout : ajouter la classe .am-price au montant)
   -> préfixe « CHF » petit & gris ; le montant garde sa taille/couleur d'origine. */
.am-rf .am-price::before{ content:"CHF"; font-size:.7em; font-weight:400; color:#5f646b;
  margin-right:.35em; letter-spacing:.02em; }
.am-rf .price-row .val.am-price{ white-space:nowrap; }

/* ---- Colonne marque (texte / visuel) ---- */
.am-rf .two-col h3{ margin-bottom:12px; }
.am-rf .two-col p{ font-size:16px; }
.am-rf .range-chips{ display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.am-rf .range-chips span{ border:1px solid var(--hairline); border-radius:999px; padding:8px 16px;
  font-size:14.5px; color:var(--ink); background:#fff; }

/* ---- FAQ : pleine largeur flush-left — titre au-dessus, accordéon dessous
   (retour BOSS : plus de demi-colonne gauche vide). Accordéon plafonné pour
   garder une longueur de ligne lisible, aligné à gauche. ---- */
.am-rf .faq-split{ display:block; }
.am-rf .faq-split__head{ margin-bottom:var(--s4); }
.am-rf .faq-split__head h2{ margin-bottom:0; }
/* Accordéon PLEINE LARGEUR flush-left (retour BOSS v2 : plus aucun vide à droite).
   Les réponses gardent une mesure de lecture, les rangées s'étendent sur toute la largeur. */
.am-rf .faq{ width:100%; }
.am-rf .faq .a{ max-width:80ch; }
.am-rf .faq details{ border-bottom:1px solid var(--hairline); }
.am-rf .faq details:first-child{ border-top:1px solid var(--hairline); }
.am-rf .faq summary{ list-style:none; cursor:pointer; padding:22px 44px 22px 0; position:relative;
  font-weight:600; font-size:18px; color:var(--ink); }
.am-rf .faq summary::-webkit-details-marker{ display:none; }
.am-rf .faq summary::after{ content:""; position:absolute; right:8px; top:26px; width:11px; height:11px;
  border-right:2px solid var(--muted); border-bottom:2px solid var(--muted);
  transform:rotate(45deg); transition:transform .2s ease; }
.am-rf .faq details[open] summary::after{ transform:rotate(-135deg); top:30px; }
.am-rf .faq .a{ padding:0 0 24px; font-size:16px; color:var(--ink-body); max-width:70ch; }

/* ---- Barre de réassurance (pleine largeur) ---- */
.am-rf .trust{ border-top:1px solid var(--hairline); border-bottom:1px solid var(--hairline);
  background:#fff; }
.am-rf .trust .wrap{ padding-top:0; padding-bottom:0; }
.am-rf .trust-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.am-rf .trust-item{ display:flex; gap:14px; padding:28px 26px; border-right:1px solid var(--hairline);
  align-items:flex-start; }
.am-rf .trust-item:first-child{ padding-left:0; }
.am-rf .trust-item:last-child{ border-right:0; padding-right:0; }
.am-rf .trust-item .ico{ flex:0 0 auto; width:40px; height:40px; border-radius:10px;
  background:var(--surface-alt); display:grid; place-items:center; }
.am-rf .trust-item .ico svg{ width:20px; height:20px; stroke:var(--ink); stroke-width:1.6; fill:none;
  stroke-linecap:round; stroke-linejoin:round; }
.am-rf .trust-item h4{ font-size:15px; font-weight:700; color:var(--ink); margin-bottom:3px; }
.am-rf .trust-item p{ font-size:13.5px; color:var(--muted); margin:0; line-height:1.45; }

/* ---- CTA final (anthracite, 2 colonnes flush-left) ---- */
.am-rf .cta-split{ display:grid; grid-template-columns:minmax(0,1fr) auto; gap:var(--s4) var(--s5);
  align-items:center; max-width:1180px; }   /* plafonné : évite le trou central sur grand écran (retour BOSS) */
.am-rf .cta-split h2{ max-width:20ch; margin-bottom:var(--s2); }
.am-rf .cta-split p{ color:#c7cbcf; max-width:60ch; margin:0; }
.am-rf .cta-split .am-cta-group{ margin-top:0; flex-direction:column; align-items:stretch; }
.am-rf .cta-split .am-btn{ justify-content:center; }

/* ---- CTA final : CARTE anthracite arrondie posée sur une SECTION CLAIRE ----
   Avant : la section CTA était un bloc anthracite bord-à-bord qui fondait dans le
   footer noir. Désormais : section claire + carte #1a1a1a arrondie + respiration
   avant le footer. Scopé via :has(.cta-split) -> ne touche PAS les autres .sec--dark
   (bandes stats, etc.). Les textes/boutons restent stylés par les règles .sec--dark
   existantes (blanc / contour blanc) -> lisibles sur la carte. Partagé = toutes pages. */
.am-rf .sec--dark:has(.cta-split){
  background:var(--surface-alt);            /* section CLAIRE (#f4f5f6) */
  padding-top:8px;                          /* remonte la carte (air minimal au-dessus) */
  padding-bottom:64px;                      /* resserré (avant 112) : séparation nette carte<->footer, moins d'air */
}
/* Resserre l'écart FAQ<->carte CTA : on remonte la section CTA (marge négative)
   au desktop uniquement -> le mobile garde son espacement (jamais collé).
   Les 2 sections sont de même couleur claire -> le chevauchement mange juste le vide.
   Gap FAQ<->CTA : ~192px -> ~100px (≈ moitié), respiration conservée. */
@media(min-width:721px){
  .am-rf .sec--dark:has(.cta-split){ margin-top:-28px; }
}
.am-rf .sec--dark:has(.cta-split) .cta-split{
  background:var(--ink);                    /* carte anthracite #1a1a1a */
  border-radius:var(--radius);              /* 14px (radius système) */
  padding:56px 60px;                        /* padding généreux */
  max-width:none;                           /* PLEINE LARGEUR : mêmes bords que contenu + footer (retrait du cap 1180) */
  margin:0;                                 /* flush dans le conteneur 1320 (bords = footer) */
}
/* Bouton PRIMAIRE sur la carte anthracite : #1a1a1a-sur-#1a1a1a le rendrait invisible
   (texte grisé). On l'inverse en blanc plein / texte anthracite = vrai bouton lisible.
   Le ghost reste en contour blanc (règles .sec--dark existantes). */
.am-rf .sec--dark:has(.cta-split) .am-btn--primary,
.am-rf .sec--dark:has(.cta-split) .am-btn--primary:hover{
  background:#fff; color:var(--ink); border-color:#fff; }
.am-rf .sec--dark:has(.cta-split) .am-btn--primary:hover{ background:#eceded; }

/* ---- Fin de page : respiration AVANT la carte CTA, cohérente quel que soit le bloc précédent ----
   Le -28px desktop (ci-dessus) a été calibré pour une FAQ dans un .sec (padding-bas 96px)
   -> gap FAQ<->CTA ~98px (validé). Mais quand c'est la barre de réassurance .trust qui précède
   (.trust .wrap = padding 0 ; tuiles = 28px de padding-bas seulement), le -28px annule pile ces
   28px et COLLE la carte aux tuiles (cas /questions-reponses/). Correctif ciblé : sur ce voisinage
   uniquement, on neutralise la marge négative et on pose une respiration standard (~100px desktop /
   ~64px mobile) équivalente au gap FAQ<->CTA. Les pages à FAQ ne sont pas touchées (zéro régression). */
.am-rf .trust + .sec--dark:has(.cta-split){ padding-top:72px; }   /* 28(tuile)+72 ≈ 100px */
@media(min-width:721px){
  .am-rf .trust + .sec--dark:has(.cta-split){ margin-top:0; }      /* annule le -28px hérité */
}
@media(max-width:720px){
  .am-rf .trust + .sec--dark:has(.cta-split){ padding-top:36px; }  /* 28+36 ≈ 64px = rythme mobile FAQ */
}

/* ============================================================
   MEDIA HALFTONE — visuel de bloc (même écriture que le hero)
   N&B anthracite + trame de points · coins arrondis (radius système)
   ============================================================ */
.am-rf .media-halftone{ position:relative; overflow:hidden; border-radius:var(--radius);
  aspect-ratio:4/3; background:var(--anthracite); border:1px solid rgba(0,0,0,.06);
  box-shadow:var(--shadow); isolation:isolate; }
.am-rf .media-halftone .mh__photo{ position:absolute; inset:0; z-index:0;
  background:radial-gradient(120% 95% at 72% 22%, #3a3f45 0%, #202327 46%, #0b0c0d 100%);
  filter:grayscale(1) contrast(1.06) brightness(.98); }
/* Vraie image halftone (WebP, trame N/B + filigrane baked-in) : remplit le bloc,
   coins arrondis via overflow:hidden du parent. */
.am-rf .media-halftone .mh__img{ position:absolute; inset:0; z-index:0;
  width:100%; height:100%; object-fit:cover; object-position:center;
  filter:grayscale(1) contrast(1.02); }

/* --- Micro-animation premium (réutilisable sur tout le site) ---------------
   ken-burns au scroll-in : anime la propriété INDIVIDUELLE `scale`
   hover (desktop) : anime `transform:scale()`  -> les 2 se composent, zéro conflit.
   GPU only (transform/scale), pas de reflow. */
.am-rf .media-halftone .mh__photo,
.am-rf .media-halftone .mh__img{
  transform:scale(1);
  transition:transform .6s cubic-bezier(.22,.61,.36,1);
  will-change:transform; backface-visibility:hidden; }
/* ken-burns lent, une seule fois, déclenché par .mh--in (JS IntersectionObserver) */
.am-rf .media-halftone.mh--in .mh__photo,
.am-rf .media-halftone.mh--in .mh__img{
  animation:am-rf-kenburns 9s ease-out forwards; }
@keyframes am-rf-kenburns{ from{ scale:1 } to{ scale:1.05 } }
/* zoom léger au survol — uniquement sur appareils à vrai survol (desktop) */
@media (hover:hover){
  .am-rf .media-halftone:hover .mh__photo,
  .am-rf .media-halftone:hover .mh__img{ transform:scale(1.04); }
}
.am-rf .media-halftone.mh--left .mh__photo{
  background:radial-gradient(120% 95% at 26% 28%, #3a3f45 0%, #202327 46%, #0b0c0d 100%); }
.am-rf .media-halftone .mh__screen{ position:absolute; inset:-8%; z-index:1;
  background-image:radial-gradient(circle, rgba(255,255,255,.16) 1.1px, transparent 1.4px);
  background-size:6px 6px; mix-blend-mode:overlay; opacity:.85; }
.am-rf .media-halftone .mh__scrim{ position:absolute; inset:0; z-index:2;
  background:linear-gradient(180deg, rgba(10,10,10,.04) 38%, rgba(10,10,10,.58) 100%); }
.am-rf .media-halftone .mh__note{ position:absolute; left:16px; bottom:14px; z-index:3;
  color:#e8eaec; font-size:12.5px; line-height:1.4; max-width:76%;
  text-shadow:0 1px 6px rgba(0,0,0,.5); }
.am-rf .media-halftone .mh__note b{ display:block; font-size:11px; letter-spacing:.14em;
  text-transform:uppercase; color:#aeb4ba; font-weight:700; margin-bottom:3px; }
.am-rf .media-halftone .mh__wm{ position:absolute; right:14px; bottom:12px; z-index:3;
  color:rgba(255,255,255,.62); font-weight:800; font-size:13px; letter-spacing:.04em; }
@keyframes am-rf-mhzoom{ from{transform:scale(1.02)} to{transform:scale(1.09)} }

/* ============================================================
   REVEAL AU SCROLL — réutilisable (IntersectionObserver + CSS)
   transform/opacity uniquement · une seule fois · reduced-motion OK
   ============================================================ */
.am-rf .reveal{ opacity:0; transform:translateY(22px);
  transition:opacity .62s cubic-bezier(.22,.61,.36,1), transform .62s cubic-bezier(.22,.61,.36,1);
  will-change:opacity,transform; }
.am-rf .reveal.is-in{ opacity:1; transform:none; }
.am-rf .reveal-stagger>*{ opacity:0; transform:translateY(18px);
  transition:opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1);
  transition-delay:calc(var(--i,0)*75ms); will-change:opacity,transform; }
.am-rf .reveal-stagger.is-in>*{ opacity:1; transform:none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:880px){
  .am-rf .split--intro, .am-rf .split--even{ grid-template-columns:1fr; gap:var(--s3); }
  .am-rf .split--rev .split__aside{ order:2; }
  .am-rf .sec-head{ grid-template-columns:1fr; gap:var(--s2); margin-bottom:var(--s4); }
  .am-rf .faq-split{ grid-template-columns:1fr; gap:var(--s3); }
  .am-rf .faq-split__head{ position:static; }
  .am-rf .cta-split{ grid-template-columns:1fr; gap:var(--s3); }
  .am-rf .cta-split .am-cta-group{ flex-direction:row; }
}
/* Tablette : médias plafonnés (pas géants une fois empilés) + halftone raisonnable */
@media(max-width:880px){
  .am-rf .media-halftone{ max-height:360px; aspect-ratio:16/10; }
}
@media(max-width:860px){
  .am-rf .why-grid{ grid-template-columns:repeat(2,1fr); gap:32px 24px; }
  .am-rf .cards{ grid-template-columns:1fr; }
  .am-rf .steps{ grid-template-columns:1fr; }
  .am-rf .stats{ grid-template-columns:repeat(2,1fr); gap:34px 0; }
  .am-rf .stat{ border-right:0; padding-left:0; }
  .am-rf .stat:nth-child(odd){ border-right:1px solid rgba(255,255,255,.22); }
  .am-rf .trust-grid{ grid-template-columns:1fr 1fr; }
  .am-rf .trust-item{ padding-left:0!important; border-right:1px solid var(--hairline); }
  .am-rf .trust-item:nth-child(2), .am-rf .trust-item:nth-child(4){ border-right:0; padding-right:0; }
  .am-rf .trust-item:nth-child(1), .am-rf .trust-item:nth-child(2){ border-bottom:1px solid var(--hairline); }
}
/* Mobile : rythme resserré-mais-aéré, CTA pleine largeur empilés, table tarifs 1 col */
@media(max-width:720px){
  .am-rf{ --fs-h2:26px; --sec-pad-y:56px; --gutter:20px; }
  .am-rf{ overflow-x:clip; }                 /* filet de sécurité anti-scroll latéral */
  .am-rf .price-cols{ grid-template-columns:1fr; }
  .am-rf .lead{ font-size:18px; }
  .am-rf .faq summary{ font-size:16px; padding-right:40px; }
  .am-rf .faq .a{ font-size:15px; }
  /* CTA final : colonne + boutons pleine largeur (annule le row du ≤880) */
  .am-rf .cta-split .am-cta-group{ flex-direction:column; align-items:stretch; }
  .am-rf .am-cta-group .am-btn{ width:100%; }
  /* carte CTA : padding resserré sur mobile (56/60 -> 30/24) */
  .am-rf .sec--dark:has(.cta-split) .cta-split{ padding:30px 24px; }
  /* avis/encart : padding intérieur un peu réduit */
  .am-rf .advice{ padding:24px 22px; gap:16px; }
  .am-rf .price-row{ padding:16px 18px; }
}
/* Bandeaux chiffres-clés : sur mobile 2 colonnes, un nombre long (« 20'000+ ») serrait le bord
   droit à 44px. On réduit légèrement la police des nombres pour lui redonner de l'air (aucun
   impact desktop, aucun débordement). */
@media(max-width:480px){
  .am-rf .stat .n{ font-size:33px; }   /* 44 -> 33 : « 20'000+ » ne serre plus le bord droit */
}
@media(max-width:400px){
  .am-rf .why-grid{ grid-template-columns:1fr; gap:26px; }   /* très petits écrans : 1 col */
}
@media(max-width:390px){
  .am-rf .stat .n{ font-size:30px; }   /* 390 et moins : encore un cran, « 20'000+ » bien aéré */
}
@media(prefers-reduced-motion:reduce){
  .am-rf .reveal, .am-rf .reveal-stagger>*{ opacity:1!important; transform:none!important; transition:none!important; }
  /* média halftone : totalement statique (ni ken-burns, ni hover-zoom) */
  .am-rf .media-halftone .mh__photo, .am-rf .media-halftone .mh__img,
  .am-rf .media-halftone.mh--in .mh__photo, .am-rf .media-halftone.mh--in .mh__img,
  .am-rf .media-halftone:hover .mh__photo, .am-rf .media-halftone:hover .mh__img{
    animation:none!important; transition:none!important; transform:none!important; scale:none!important; }
}

/* ============================================================================
   NEUTRALISATION DU CONTENEUR DIVI autour de .am-rf
   -> .am-rf occupe la pleine largeur (fonds colorés full-bleed, .wrap centré 1200).
   Doublement gaté : body.am-refonte-pg ET :has(.am-rf) => AUCUN effet ailleurs
   (autres pages, autres sections de la page). Ne touche pas le HERO.
   ============================================================================ */
/* !important : Divi contraint .et_pb_row via des sélecteurs à ID (spécificité haute).
   Gated body.am-refonte-pg + :has(.am-rf) => aucun effet ailleurs. */
body.am-refonte-pg .et_pb_section:has(.am-rf){ padding-top:0!important; padding-bottom:0!important; }
body.am-refonte-pg .et_pb_row:has(.am-rf){
  width:100%!important; max-width:100%!important; margin-left:0!important; margin-right:0!important;
  padding-left:0!important; padding-right:0!important; }
body.am-refonte-pg .et_pb_column:has(.am-rf){ width:100%!important; margin:0!important; padding:0!important; }
body.am-refonte-pg .et_pb_code:has(.am-rf){ width:100%!important; max-width:100%!important; margin:0!important; }
body.am-refonte-pg .et_pb_code:has(.am-rf) .et_pb_code_inner{ width:100%!important; max-width:100%!important; }

/* ---- Zig-zag : image plafonnée sur desktop (retour BOSS v2 : pas géante) ----
   image ≈ moitié (grille 1fr/1fr) + hauteur bornée pour rester équilibrée. */
@media(min-width:881px){
  .am-rf .split--even .media-halftone{ max-height:440px; }
}

/* ============================================================================
   COMPOSANTS ADDITIONNELS (Lot A) — scopés .am-rf, monochrome anthracite
   ============================================================================ */

/* ---- 2 colonnes « peut / ne peut pas » (assistant) ---- */
.am-rf .cando{ display:grid; grid-template-columns:1fr 1fr; gap:var(--gutter); }
.am-rf .cando__col{ border:1px solid var(--hairline); border-radius:var(--radius); background:#fff;
  padding:30px 32px; }
.am-rf .cando__col h3{ display:flex; align-items:center; gap:12px; font-size:18px; margin-bottom:6px; }
.am-rf .cando__col h3 .ico{ flex:0 0 auto; width:34px; height:34px; border-radius:9px; display:grid;
  place-items:center; background:var(--surface-alt); }
.am-rf .cando__col h3 .ico svg{ width:18px; height:18px; stroke:var(--ink); stroke-width:1.8; fill:none;
  stroke-linecap:round; stroke-linejoin:round; }
.am-rf .cando ul{ list-style:none; margin:16px 0 0; padding:0; }
.am-rf .cando li{ position:relative; padding:12px 0 12px 28px; border-top:1px solid var(--hairline);
  font-size:15.5px; color:var(--ink-body); line-height:1.5; }
.am-rf .cando li:first-child{ border-top:0; }
.am-rf .cando li::before{ position:absolute; left:0; top:12px; font-size:14px; line-height:1.2; font-weight:800; }
.am-rf .cando__col--yes li::before{ content:"\2713"; color:var(--ink); }        /* ✓ */
.am-rf .cando__col--no  li::before{ content:"\2715"; color:var(--faint); }       /* ✕ */
@media(max-width:860px){ .am-rf .cando{ grid-template-columns:1fr; } }

/* ---- Grille d'articles (conseils) — cartes à vignette halftone ---- */
.am-rf .cards--post .card--post{ padding:0; overflow:hidden; }
.am-rf .card--post figure.media-halftone{ border-radius:0; aspect-ratio:16/10;
  box-shadow:none; border:0; border-bottom:1px solid var(--hairline); }
.am-rf .card--post .card__body{ padding:24px 26px 28px; display:flex; flex-direction:column; flex:1 1 auto; }
.am-rf .card--post h3{ font-size:18px; margin-bottom:10px; }
.am-rf .card--post p{ font-size:15px; color:var(--muted); margin-bottom:18px; }
.am-rf .card--post a{ margin-top:auto; }
@media(max-width:860px){ .am-rf .cards--post{ grid-template-columns:1fr; } }

/* ---- Étapes en 4 (sav-garantie) ---- */
.am-rf .steps--4{ grid-template-columns:repeat(4,1fr); }
@media(max-width:1024px){ .am-rf .steps--4{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .am-rf .steps--4{ grid-template-columns:1fr; } }

/* ---- Tableau premium (contacts SAV par marque) : table desktop -> cartes mobile ---- */
.am-rf .svc{ width:100%; border-collapse:collapse; border:1px solid var(--hairline);
  border-radius:var(--radius); overflow:hidden; background:#fff; }
.am-rf .svc th, .am-rf .svc td{ text-align:left; padding:15px 22px; border-bottom:1px solid var(--hairline);
  font-size:15.5px; vertical-align:top; line-height:1.5; }
.am-rf .svc thead th{ background:var(--surface-alt); font-size:12px; text-transform:uppercase;
  letter-spacing:.08em; color:var(--ink); font-weight:700; }
.am-rf .svc td.brand{ font-weight:700; color:var(--ink); }
.am-rf .svc tbody tr:last-child td{ border-bottom:0; }
.am-rf .svc a{ color:var(--ink); }
.am-rf .svc small{ display:block; color:var(--muted); font-size:13px; font-weight:400; }
@media(max-width:760px){
  .am-rf .svc, .am-rf .svc thead, .am-rf .svc tbody, .am-rf .svc tr, .am-rf .svc td{ display:block; width:100%; }
  .am-rf .svc{ border:0; }
  .am-rf .svc thead{ display:none; }
  .am-rf .svc tr{ border:1px solid var(--hairline); border-radius:var(--radius); background:#fff;
    padding:16px 18px; margin-bottom:12px; }
  .am-rf .svc td{ border:0; padding:4px 0; }
  .am-rf .svc td::before{ content:attr(data-l); display:block; font-size:11px; text-transform:uppercase;
    letter-spacing:.08em; color:var(--faint); font-weight:700; margin-bottom:2px; }
  .am-rf .svc td.brand{ font-size:17px; margin-bottom:6px; }
  .am-rf .svc td.brand::before{ content:""; margin:0; }
}

/* ---- Chips de gammes cliquables (vente) ---- */
.am-rf .range-chips a{ text-decoration:none; }
.am-rf .range-chips a span{ display:inline-block;
  transition:background .15s ease, border-color .15s ease, color .15s ease; }
@media(hover:hover){ .am-rf .range-chips a:hover span{ background:var(--ink); color:#fff; border-color:var(--ink); } }

/* ---- Bloc coordonnées à icônes (contact) ---- */
.am-rf .info{ border:1px solid var(--hairline); border-radius:var(--radius); background:#fff; overflow:hidden; }
.am-rf .info__row{ display:flex; gap:16px; align-items:flex-start; padding:16px 22px;
  border-bottom:1px solid var(--hairline); }
.am-rf .info__row:last-child{ border-bottom:0; }
.am-rf .info__ico{ flex:0 0 auto; width:34px; height:34px; border-radius:9px; background:var(--surface-alt);
  display:grid; place-items:center; }
.am-rf .info__ico svg{ width:18px; height:18px; stroke:var(--ink); stroke-width:1.7; fill:none;
  stroke-linecap:round; stroke-linejoin:round; }
.am-rf .info__k{ font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:var(--faint);
  font-weight:700; margin-bottom:2px; }
.am-rf .info__v{ font-size:15.5px; color:var(--ink); font-weight:500; line-height:1.5; }
.am-rf .info__v a{ color:var(--ink); }

/* ---- Enveloppe formulaire (contact) — le shortcode garde ses propres styles ---- */
.am-rf .am-form-wrap{ margin-top:var(--s2); }
.am-rf .form-note{ font-size:13.5px; color:var(--muted); margin-top:16px; }
.am-rf .am-form-wrap img{ display:inline-block; }
.am-rf .am-form-wrap input, .am-rf .am-form-wrap textarea, .am-rf .am-form-wrap select{ max-width:100%; }

/* ============================================================================
   COMPOSANTS ADDITIONNELS (Lot B) — scopés .am-rf, monochrome anthracite
   ============================================================================ */

/* ---- VISUEL DE BLOC PROVISOIRE, clair & thématisé (SWAPPABLE en un coup) ----
   Placeholder clair élégant en attendant le visuel final (illustration / 3D).
   Réutilise .media-halftone (radius / aspect-ratio / reveal / plafonds responsive).
   data-illus="entretien|panne|avis|marques|service" = thème (icône posée inline).
   ⇒ SWAP FINAL centralisé : déposer <img class="mh__img" src="…"> dans la figure
   (l'image couvre le placeholder) et retirer la classe .media-illus — sur toutes
   les pages d'un coup. Rien d'autre à changer. */
.am-rf .media-halftone.media-illus{ background:#fff; border:1px solid var(--hairline); box-shadow:var(--shadow); }
.am-rf .media-illus .mh__illus{ position:absolute; inset:0; z-index:1;
  display:grid; place-content:center; justify-items:center; gap:20px; text-align:center; padding:24px;
  background:
    radial-gradient(circle at 1px 1px, rgba(26,26,26,.05) 1px, transparent 1.5px) 0 0/15px 15px,
    linear-gradient(158deg,#fbfbfc 0%, #eef0f1 100%); }
.am-rf .media-illus .illus-badge{ width:92px; height:92px; border-radius:22px; background:#fff;
  border:1px solid var(--hairline); box-shadow:0 8px 26px rgba(0,0,0,.07);
  display:grid; place-items:center; }
.am-rf .media-illus .illus-badge svg{ width:46px; height:46px; stroke:var(--ink); stroke-width:1.5;
  fill:none; stroke-linecap:round; stroke-linejoin:round; }
.am-rf .media-illus .illus-label{ font-size:11px; font-weight:700; text-transform:uppercase;
  letter-spacing:.16em; color:var(--faint); }
@media(max-width:720px){ .am-rf .media-illus .illus-badge{ width:76px; height:76px; border-radius:18px; }
  .am-rf .media-illus .illus-badge svg{ width:38px; height:38px; } }

/* ---- Bandeau pivot discret (lien de différenciation entre 2 pages sœurs) ---- */
.am-rf .pivot{ display:flex; align-items:center; gap:12px; margin-top:var(--s4);
  padding:14px 20px; border:1px solid var(--hairline); border-radius:var(--radius);
  background:#fff; font-size:15px; color:var(--muted); }
.am-rf .sec--alt .pivot{ background:var(--surface-alt); }
.am-rf .pivot .ico{ flex:0 0 auto; width:30px; height:30px; border-radius:8px; background:var(--surface-alt);
  display:grid; place-items:center; }
.am-rf .sec--alt .pivot .ico{ background:#fff; }
.am-rf .pivot .ico svg{ width:16px; height:16px; stroke:var(--ink); stroke-width:1.7; fill:none;
  stroke-linecap:round; stroke-linejoin:round; }
.am-rf .pivot a{ color:var(--ink); font-weight:600; text-decoration:none;
  border-bottom:1px solid rgba(26,26,26,.28); }
.am-rf .pivot a:hover{ border-bottom-color:var(--ink); }

/* ---- Gestes par appareil : cartes à listes (guide d'entretien) ---- */
.am-rf .applist{ display:grid; grid-template-columns:1fr 1fr; gap:var(--gutter); }
.am-rf .appcard{ border:1px solid var(--hairline); border-radius:var(--radius); background:#fff;
  padding:28px 30px; }
.am-rf .appcard h3{ font-size:18px; margin-bottom:14px; padding-bottom:12px;
  border-bottom:1px solid var(--hairline); }
.am-rf .appcard ul{ list-style:none; margin:0; padding:0; }
.am-rf .appcard li{ position:relative; padding:9px 0 9px 24px; font-size:15.5px;
  color:var(--ink-body); line-height:1.5; }
.am-rf .appcard li::before{ content:""; position:absolute; left:2px; top:14px; width:7px; height:7px;
  border-radius:50%; background:var(--ink); }
@media(max-width:860px){ .am-rf .applist{ grid-template-columns:1fr; } }

/* ---- Grille des 12 marques (partenaires) — cœur du maillage ---- */
.am-rf .brand-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:var(--gutter); }
.am-rf .brand-card{ border:1px solid var(--hairline); border-radius:var(--radius); background:#fff;
  padding:26px 26px 22px; display:flex; flex-direction:column;
  transition:box-shadow .18s ease, transform .18s ease; }
.am-rf .brand-card:hover{ box-shadow:var(--shadow); transform:translateY(-2px); }
.am-rf .brand-card__logo{ display:block; height:46px; margin-bottom:16px; }
.am-rf .brand-card__logo img{ height:46px; width:auto; max-width:150px; object-fit:contain;
  filter:grayscale(1) contrast(1.45); opacity:1;
  transition:filter .18s ease, opacity .18s ease; }
.am-rf .brand-card:hover .brand-card__logo img{ filter:grayscale(0) contrast(1); opacity:1; }
.am-rf .brand-card__claim{ font-size:15px; color:var(--muted); margin:0 0 12px; }
.am-rf .brand-card__spec{ font-size:13.5px; color:var(--faint); margin:0 0 18px; line-height:1.5; }
.am-rf .brand-card__links{ display:flex; gap:18px; margin-top:auto; padding-top:14px;
  border-top:1px solid var(--hairline); }
.am-rf .brand-card__links a{ font-size:14px; font-weight:600; color:var(--ink); text-decoration:none;
  display:inline-flex; align-items:center; gap:6px; }
.am-rf .brand-card__links a.sav{ color:var(--muted); font-weight:500; }
.am-rf .brand-card__links a:hover{ color:#000; }
@media(max-width:960px){ .am-rf .brand-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:560px){ .am-rf .brand-grid{ grid-template-columns:1fr; } }

/* ---- Mur de témoignages (temoignages) — avis RÉELS Google ---- */
.am-rf .gbadge{ display:inline-flex; align-items:center; gap:12px; text-decoration:none;
  border:1px solid var(--hairline); border-radius:999px; padding:10px 20px 10px 16px; background:#fff;
  color:var(--ink); font-weight:600; font-size:15px; transition:box-shadow .18s ease; }
.am-rf .gbadge:hover{ box-shadow:var(--shadow); }
.am-rf .gbadge .g{ font-size:18px; font-weight:800; letter-spacing:-.02em; }
.am-rf .gbadge .stars{ color:var(--ink); letter-spacing:2px; font-size:14px; }
.am-rf .gbadge small{ color:var(--muted); font-weight:500; font-size:13px; }
.am-rf .reviews-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:var(--gutter);
  align-items:start; }
.am-rf .review{ border:1px solid var(--hairline); border-radius:var(--radius); background:#fff;
  padding:24px 26px; }
.am-rf .sec--alt .review{ background:#fff; }
.am-rf .review__top{ display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.am-rf .review__av{ flex:0 0 auto; width:38px; height:38px; border-radius:50%; background:var(--ink);
  color:#fff; display:grid; place-items:center; font-size:12.5px; font-weight:700; letter-spacing:.02em; }
.am-rf .review__name{ font-size:14px; font-weight:700; color:var(--ink); line-height:1.3; }
.am-rf .review__stars{ color:var(--ink); letter-spacing:1px; font-size:13px; }
.am-rf .review__text{ font-size:15px; color:var(--ink-body); line-height:1.6; margin:0; }
.am-rf .reviews-more{ margin-top:var(--s4); }
@media(max-width:960px){ .am-rf .reviews-grid{ grid-template-columns:repeat(2,1fr); }
  /* FIX temoignages mobile/tablette : la grille des 60 avis (1 ou 2 col.) est
     bien plus haute que le viewport -> ne peut jamais atteindre le seuil 0.15
     de l'IntersectionObserver reveal, .is-in n'est jamais posee, cartes bloquees
     en opacity:0 (invisibles). Sous 960px on affiche les cartes sans dependre du
     reveal (l'anim stagger reste active en desktop >=961px, 3 colonnes). */
  .am-rf .reviews-grid.reveal-stagger>*{ opacity:1; transform:none; }
}
@media(max-width:600px){ .am-rf .reviews-grid{ grid-template-columns:1fr; } }

/* vCard integrated row (contact card) — task footer/vcard */
.am-rf .info__row--vcard{ align-items:center; text-decoration:none; color:inherit; transition:background .15s ease; }
.am-rf .info__row--vcard:hover{ background:var(--surface-alt); }
.am-rf .info__row--vcard .info__v{ text-decoration:none; }
.am-rf .info__go{ margin-left:auto; flex:0 0 auto; display:inline-flex; align-items:center; color:var(--faint); }
.am-rf .info__go svg{ width:18px; height:18px; stroke:currentColor; stroke-width:1.7; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.am-rf .info__row--vcard:hover .info__go{ color:var(--ink); }
