/* ==========================================================================
   Site vitrine TPE — base commune à toutes les pages
   Personnaliser uniquement le bloc :root (charte du client), puis ajouter
   les styles propres au site en bas du fichier, section "SPÉCIFIQUE CLIENT"
   (classes préfixées par le code client, ex. .afc-).
   Prêt pour WordPress : aucune couleur en dur hors :root (→ theme.json),
   reset à spécificité nulle (:where), boutons = classes natives Gutenberg.
   ========================================================================== */

/* Polices hébergées sur le site (Questrial = police du livret ; Tenor Sans remplace Black Mango) */
@font-face { font-family: 'Questrial'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/questrial-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Questrial'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/questrial-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Tenor Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/tenor-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Tenor Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/tenor-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Fraunces (titres, choisie le 2026-10-29) : graisse variable ; plage 500-700 → un titre en 400 s'affiche en 500, plus lisible */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('assets/fonts/fraunces-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('assets/fonts/fraunces-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  /* Charte Groupe SASIE — relevée dans le livret 2026 (→ theme.json settings.color.palette) */
  --primary: #264A54;        /* pétrole (bandeaux, titres, fonds forts) */
  --primary-ink: #FFFFFF;
  --primary-2: #365B6D;      /* bleu ardoise (textes secondaires, dégradés) */
  --glacier: #94BCC1;        /* bleu glacier (filets, puces, fonds doux) */
  --glacier-deep: #6F999E;
  --ice: #EBF3F4;            /* glace (sections alternées) */
  --accent: #37ABC8;         /* cyan du logo EMC74 (boutons d'action) */
  --accent-ink: #0E2A31;     /* texte posé sur --accent (contraste > 6:1) */
  --accent-deep: #16697F;    /* cyan foncé pour les liens sur fond clair */
  --savoie: #D52B1E;         /* rouge du blason, touche ponctuelle */
  --bg: #F4F0EC;             /* crème du livret */
  --bg-alt: #EBF3F4;
  --surface: #FFFFFF;
  --text: #1E2F35;
  --muted: #4D6169;
  --border: rgba(38, 74, 84, 0.16);
  --on-dark: #FFFFFF;
  --star: #F2B01E;
  --success: #1E7D45;
  --error: #B42318;

  /* Polices (→ theme.json settings.typography.fontFamilies) */
  --font-title: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Questrial', system-ui, sans-serif;

  /* Mise en page */
  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 116px);
  --radius: 6px;
  --radius-btn: 4px;
  --shadow: 0 14px 34px rgba(38, 74, 84, 0.12);
  --header-h: 84px;
}

/* ---------- Reset (spécificité nulle : les styles WP et blocs passent devant) ---------- */
*, *::before, *::after { box-sizing: border-box; }
:where(body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd) { margin: 0; }
:where(ul, ol) { padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; padding: 10px 16px; background: var(--surface); }

/* ---------- Typographie ---------- */
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; color: var(--primary); font-weight: 400; overflow-wrap: break-word; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(2rem, 4.8vw, 3.3rem); margin-bottom: 0.5em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-bottom: 0.4em; }
p + p { margin-top: 1em; }
.eyebrow { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 0.8rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 60ch; }
.has-text-align-center { text-align: center; }
.has-text-align-center.lead { margin-inline: auto; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--primary); color: var(--primary-ink); }
.section--dark :is(h2, h3) { color: var(--primary-ink); }
.section--dark .lead { color: inherit; opacity: .85; }
.section__head { margin-bottom: clamp(36px, 5.5vw, 64px); }
.section__head .lead { max-width: 78ch; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; }
.grid { display: grid; gap: clamp(20px, 3vw, 32px); }
/* Colonnes = nombre d'éléments, jamais d'orphelin (pas de 2 + 1 ni 3 + 1) : bascules dans le bloc Responsive */
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--top { align-items: start; }
.split__img img { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Boutons (classes natives Gutenberg + alias .btn pour header/formulaire) ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.btn, .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.8em 1.6em; border-radius: var(--radius-btn); border: 2px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; text-align: center;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 35%, transparent);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:hover, .wp-block-button__link:hover { transform: translateY(-2px); }
.btn--ghost, .is-style-outline > .wp-block-button__link {
  border-color: currentColor; background: transparent; color: inherit; box-shadow: none;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
/* Flou sur un pseudo-élément : un backdrop-filter sur .header ferait du header le repère des
   éléments position:fixed (le menu mobile plein écran serait alors coincé dans le header). */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header.is-scrolled { border-color: var(--border); box-shadow: var(--shadow); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-title); font-weight: 700; font-size: 1.25rem; color: var(--primary); }
.logo img { height: 44px; width: auto; }
.logo--light { color: var(--primary-ink); }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--accent); }
.header__phone { font-weight: 700; text-decoration: none; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 10px; width: 24px; height: 2px; background: var(--primary); content: ""; transition: transform .3s, opacity .3s;
}
.burger span { top: 21px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (→ bloc Couverture) ---------- */
.hero { position: relative; isolation: isolate; min-height: min(88vh, 820px); display: grid; align-items: center; overflow: hidden; color: var(--on-dark); padding-block: clamp(72px, 10vw, 120px); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, color-mix(in srgb, var(--primary) 88%, transparent) 0%, color-mix(in srgb, var(--primary) 45%, transparent) 65%, transparent 100%);
}
.hero h1 { color: var(--on-dark); max-width: 16ch; }
.hero .lead { color: color-mix(in srgb, var(--on-dark) 88%, transparent); margin-top: 18px; }
.hero .eyebrow { color: var(--on-dark); opacity: .9; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 32px; font-size: 0.95rem; color: color-mix(in srgb, var(--on-dark) 90%, transparent); list-style: none; }
.hero__proof li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.page-hero { padding-block: clamp(56px, 8vw, 96px); background: var(--bg-alt); }
.breadcrumb { font-size: .9rem; margin-bottom: 12px; color: var(--muted); }

/* ---------- Cartes ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.card__img { margin: calc(-1 * clamp(24px, 3vw, 32px)) calc(-1 * clamp(24px, 3vw, 32px)) 20px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__link { margin-top: 14px; }
.card__link a { font-weight: 700; color: var(--accent); text-decoration: none; }
.card__link a::after { content: " →"; }

/* ---------- Chiffres / réassurance ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; text-align: center; }
.stat__num { font-family: var(--font-title); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--accent); line-height: 1; }
.stat__label { margin-top: 8px; font-size: 0.95rem; }
.badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 40px; }
.badges img { height: 56px; width: auto; filter: grayscale(1); opacity: .75; }

/* ---------- Étapes ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }  /* 4 étapes ; pour 3, ajouter .grid--3 */
.step { counter-increment: step; position: relative; padding-top: 56px; }
.step::before {
  content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 700;
}

/* ---------- Avis (→ bloc Citation) ---------- */
.review { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--border); }
.review__stars { color: var(--star); letter-spacing: 2px; }
.review p:not(.review__stars) { margin: 12px 0 16px; font-style: italic; }
.review cite { display: block; font-style: normal; font-weight: 700; font-size: 0.95rem; }
.review cite small { display: block; font-weight: 400; color: var(--muted); font-size: 0.85rem; }

/* ---------- Galerie (→ bloc Galerie) ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }

/* ---------- FAQ (→ bloc Détails) ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 700; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--accent); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > :not(summary) { color: var(--muted); }
.faq details > :last-child:not(summary) { padding-bottom: 22px; }

/* ---------- CTA bandeau ---------- */
.cta-band { text-align: center; }
.cta-band .lead { margin-inline: auto; }

/* ---------- Formulaire (→ remplacé par un plugin de formulaire sous WP) ---------- */
.form { display: grid; gap: 18px; background: var(--surface); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--text); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; padding: 22px 14px 8px; min-height: 56px; border: 1.5px solid var(--border); border-radius: 8px; background: var(--bg);
  transition: border-color .2s, background-color .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field label { position: absolute; left: 15px; top: 17px; color: var(--muted); pointer-events: none; transition: all .2s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { top: 6px; font-size: 0.75rem; color: var(--accent); font-weight: 700; }
.field--select select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 26px, calc(100% - 15px) 26px; background-size: 5px 5px; background-repeat: no-repeat; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.hp { position: absolute !important; left: -9999px !important; }
.form .btn { width: 100%; }
.form.is-loading .btn { opacity: .6; pointer-events: none; }
.form__status { font-weight: 700; text-align: center; min-height: 1.5em; }
.form__status.is-success { color: var(--success); }
.form__status.is-error { color: var(--error); }
.contact-info { list-style: none; display: grid; gap: 18px; margin-top: 28px; }
.contact-info a { font-weight: 700; text-decoration: none; }
.map { display: block; width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: var(--radius); }

/* ---------- Footer ---------- */
.footer { background: var(--primary); color: color-mix(in srgb, var(--primary-ink) 82%, transparent); padding-block: 64px 28px; font-size: 0.95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__pitch { margin-top: 14px; }
.footer h3 { color: var(--primary-ink); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--primary-ink) 15%, transparent); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.85rem; }

/* ---------- Barre d'action mobile ---------- */
.mobile-bar { display: none; }

/* ---------- Apparition au scroll ---------- */
/* Masqué seulement si JS actif (classe .js posée dans <head>) : reste visible sans JS et dans l'éditeur WP */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Pages texte (mentions légales, merci) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose ul { padding-left: 1.2em; margin-top: .6em; }

/* ---------- Responsive (mobile d'abord : grilles auto-fit, ici seulement ce qui doit basculer) ---------- */
@media (max-width: 1100px) { .grid--4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .grid--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .grid--2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .grid--4, .steps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .burger { display: block; }
  .header__phone { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; justify-content: center; gap: 28px;
    background: var(--bg); font-size: 1.2rem; transform: translateX(100%); transition: transform .35s ease;
  }
  .nav-open .nav { transform: none; }
  .nav > a, .sas-dd > a { padding-block: 8px; }
  .nav-open { overflow: hidden; }
  .split { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 60;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .12);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font-weight: 700; text-decoration: none; }
  .mobile-bar a:first-child { background: var(--primary); color: var(--primary-ink); }
  .mobile-bar a:last-child { background: var(--accent); color: var(--accent-ink); }
  body { padding-bottom: 56px; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .wp-block-buttons > *, .wp-block-button__link { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Carrousel « Réalisations » (scroll-snap natif + boutons/points ajoutés par JS) ---------- */
.carousel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.carousel__head .lead { margin-top: .4em; }
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 22px) / 2.4); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
.slide { scroll-snap-align: start; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--primary); }
.slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s ease; }
.slide:hover img { transform: scale(1.04); }
.slide figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: var(--radius); font-size: .85rem; font-weight: 600;
  background: color-mix(in srgb, var(--primary) 82%, transparent); color: var(--primary-ink); }
.carousel__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--text) 22%, transparent); cursor: pointer; transition: width .3s ease, background-color .3s ease; }
.carousel__dots button[aria-current="true"] { width: 28px; background: var(--accent); }
/* zone de toucher de 44 px autour des petits points, sans changer leur dessin */
.carousel__dots button { position: relative; }
.carousel__dots button::after { content: ""; position: absolute; inset: -17px -4px; }
.carousel__arrows { display: flex; gap: 10px; }
.carousel__arrows button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--text) 25%, transparent); background: var(--surface);
  font-size: 1.2rem; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s, opacity .25s; }
.carousel__arrows button:hover:not(:disabled) { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.carousel__arrows button:disabled { opacity: .35; cursor: default; }
@media (max-width: 900px) { .carousel__track { grid-auto-columns: calc((100% - 22px) / 1.5); } }
@media (max-width: 600px) { .carousel__track { grid-auto-columns: 86%; gap: 14px; } }

/* ==========================================================================
   SPÉCIFIQUE CLIENT (classes préfixées .sas-)
   ========================================================================== */

/* Groupe SASIE — préfixe .sas-  (charte du livret : pétrole, glacier, crème, cyan des logos) */
body { font-size: 17.5px; }
h1, h2, h3 { text-wrap: balance; }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
a { text-underline-offset: 3px; }
.lead { color: var(--muted); }
.eyebrow { color: var(--accent-deep); font-weight: 400; letter-spacing: .18em; }
.section--dark .eyebrow { color: var(--glacier); }
.section--ice { background: var(--ice); }
.prose a, .sas-text a { color: var(--accent-deep); }
.h1-pre { display: block; font-family: var(--font-body); font-size: clamp(.82rem, 1.2vw, .95rem); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: .9em; line-height: 1.5; }
.btn, .wp-block-button__link { font-weight: 400; letter-spacing: .04em; box-shadow: none; }
.btn:hover, .wp-block-button__link:hover { box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.is-style-outline > .wp-block-button__link:hover { box-shadow: none; background: color-mix(in srgb, currentColor 8%, transparent); }
.sas-on-dark .is-style-outline > .wp-block-button__link { color: var(--on-dark); }

/* Icône téléphone (masque : la couleur suit le texte) */
.sas-tel::before { content: ""; width: 1em; height: 1em; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Header ---------- */
.header { background: var(--bg); }
.header::before { background: color-mix(in srgb, var(--bg) 94%, transparent); }
.logo { gap: 12px; }
.logo img { height: 58px; width: auto; }
.sas-brand { display: grid; line-height: 1.15; }
.sas-brand__name { font-family: var(--font-title); font-size: 1.28rem; color: var(--primary); letter-spacing: .02em; }
.sas-brand__sub { font-family: var(--font-body); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.nav a { font-weight: 400; font-size: .98rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--accent-deep); }
.nav .btn { padding-inline: 1.2em; }
.header__phone { display: inline-flex; align-items: center; gap: .45em; font-weight: 400; color: var(--primary); font-size: 1.02rem; letter-spacing: .02em; }
.sas-dd { position: relative; }
.sas-dd > a::after { content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .45em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.2em) rotate(45deg); }
.sas-dd__menu { position: absolute; top: calc(100% + 14px); left: -18px; min-width: 270px; display: grid; padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.sas-dd__menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.sas-dd:hover .sas-dd__menu, .sas-dd:focus-within .sas-dd__menu { opacity: 1; visibility: visible; transform: none; }
.sas-dd__menu a { padding: 10px 12px; border-radius: 4px; }
.sas-dd__menu a:hover { background: var(--ice); }

/* ---------- Hero accueil ---------- */
.sas-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--primary); color: var(--on-dark); padding-block: clamp(48px, 7vw, 96px) clamp(110px, 13vw, 170px); }
.sas-hero::before { content: ""; position: absolute; z-index: -1; left: -7%; top: 50%; width: min(820px, 105vw); aspect-ratio: 476 / 440; transform: translateY(-52%); background: var(--glacier); opacity: .09;
  -webkit-mask: url("assets/img/embleme-montagne.svg") center / contain no-repeat; mask: url("assets/img/embleme-montagne.svg") center / contain no-repeat; }
.sas-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sas-hero__brand { display: flex; align-items: center; gap: 12px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--glacier); margin-bottom: 22px; }
.sas-hero__brand img { width: 30px; height: auto; }
.sas-hero h1 { color: var(--on-dark); font-size: clamp(2.05rem, 4.6vw, 3.55rem); line-height: 1.12; }
.sas-hero .h1-pre { color: var(--glacier); }
.sas-hero .lead { color: color-mix(in srgb, var(--on-dark) 86%, transparent); margin-top: 22px; max-width: 54ch; }
.sas-hero .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--on-dark); }
.sas-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.sas-proof li { font-size: .84rem; letter-spacing: .03em; padding: 7px 12px; border: 1px solid color-mix(in srgb, var(--glacier) 55%, transparent); border-radius: 3px; color: color-mix(in srgb, var(--on-dark) 92%, transparent); }
.sas-arch { position: relative; margin: 0; }
.sas-arch::before { content: ""; position: absolute; inset: -14px -14px 14px 14px; border: 1px solid color-mix(in srgb, var(--glacier) 60%, transparent); border-radius: 999px 999px var(--radius) var(--radius); }
.sas-arch img { position: relative; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); }
.sas-arch figcaption { position: relative; margin-top: 14px; font-size: .85rem; color: color-mix(in srgb, var(--on-dark) 75%, transparent); text-align: center; }
/* double filet du logo en bas du hero */
.sas-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 34px; height: 9px; border-top: 3px solid color-mix(in srgb, var(--glacier) 55%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--glacier) 40%, transparent); }

/* ---------- Les 3 sociétés (cartes qui chevauchent le hero) ---------- */
.sas-societes { position: relative; z-index: 2; margin-top: calc(-1 * clamp(80px, 10vw, 128px)); padding-bottom: clamp(56px, 8vw, 96px); }
.sas-societe { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.sas-societe__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; background: var(--ice); border-bottom: 1px solid var(--border); }
.sas-societe__top img { height: 66px; width: auto; }
.sas-societe__year { font-family: var(--font-title); font-size: 1.05rem; color: var(--primary-2); text-align: right; line-height: 1.2; }
.sas-societe__body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.sas-societe h3 { margin-bottom: .5em; }
.sas-societe ul { list-style: none; display: grid; gap: 6px; margin: 14px 0 0; font-size: .96rem; }
.sas-societe li { padding-left: 18px; position: relative; }
.sas-societe li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 2px; background: var(--accent); }
.sas-societe .card__link { margin-top: auto; padding-top: 20px; }
.card__link a { color: var(--accent-deep); font-weight: 400; letter-spacing: .02em; }
.sas-societe:hover { transform: translateY(-4px); }

/* ---------- Liste des métiers (image + liste, 5 éléments et plus) ---------- */
.sas-metiers { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.sas-metiers__img { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; }
.sas-metiers__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.sas-metiers__img figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.sas-liste { list-style: none; counter-reset: metier; border-top: 1px solid var(--border); }
.sas-liste li { counter-increment: metier; position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) 28px; gap: 4px 12px; padding: 22px 6px 22px 0; border-bottom: 1px solid var(--border); transition: background-color .25s; }
.sas-liste li::before { content: counter(metier, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--font-title); font-size: 1.5rem; color: var(--glacier-deep); line-height: 1.2; }
.sas-liste li::after { content: "→"; grid-column: 3; grid-row: 1; color: var(--accent-deep); transition: transform .25s; }
.sas-liste li:hover { background: color-mix(in srgb, var(--ice) 70%, transparent); }
.sas-liste li:hover::after { transform: translateX(4px); }
.sas-liste h3 { grid-column: 2; margin: 0; font-size: clamp(1.12rem, 1.7vw, 1.3rem); }
.sas-liste h3 a { text-decoration: none; }
.sas-liste h3 a::after { content: ""; position: absolute; inset: 0; }
.sas-liste p { grid-column: 2; color: var(--muted); font-size: .97rem; }
.sas-liste .sas-liste__soc { display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); margin-left: .6em; vertical-align: middle; font-family: var(--font-body); }

/* ---------- Frise des dates (vraies dates du livret) ---------- */
.sas-timeline { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; position: relative; }
.sas-timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 1px; background: color-mix(in srgb, var(--glacier) 70%, transparent); }
.sas-timeline li { position: relative; padding-top: 44px; }
.sas-timeline li::before { content: ""; position: absolute; top: 7px; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--primary); }
.sas-timeline__year { font-family: var(--font-title); font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--on-dark); line-height: 1; margin-bottom: 10px; }
.sas-timeline p:not(.sas-timeline__year) { font-size: .96rem; color: color-mix(in srgb, var(--on-dark) 82%, transparent); }

/* ---------- Certifications ---------- */
.sas-certif { text-align: center; display: flex; flex-direction: column; align-items: center; }
.sas-certif img { height: 76px; width: auto; max-width: 190px; object-fit: contain; margin-bottom: 20px; }
.sas-certif p { color: var(--muted); font-size: .97rem; }

/* ---------- Étapes ---------- */
.step::before { background: var(--primary); color: var(--on-dark); font-family: var(--font-title); font-weight: 400; }
.step h3 { font-size: clamp(1.3rem, 2vw, 1.5rem); }
.step p { color: var(--muted); font-size: 1.05rem; }
.section--dark .step::before { background: var(--accent); color: var(--accent-ink); }
.section--dark .step p { color: color-mix(in srgb, var(--on-dark) 80%, transparent); }

/* ---------- Carrousel ---------- */
.slide { background: var(--primary); }
.slide figcaption { font-weight: 400; letter-spacing: .02em; }

/* ---------- Zone + accès ---------- */
.sas-communes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sas-communes li { padding: 6px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 3px; font-size: .92rem; }
.contact-info strong { font-weight: 400; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-info a { font-weight: 400; color: var(--primary); font-size: 1.05rem; }
.map { aspect-ratio: 4 / 3.4; background: var(--ice); border: 1px solid var(--border); }
.sas-map-link { margin-top: 10px; font-size: .9rem; }
.sas-map-link a { color: var(--accent-deep); }

/* ---------- Bandeau CTA ---------- */
.sas-cta { position: relative; isolation: isolate; overflow: hidden; }
.sas-cta::before { content: ""; position: absolute; z-index: -1; right: -4%; bottom: -18%; width: min(520px, 80vw); aspect-ratio: 476 / 440; background: var(--glacier); opacity: .1;
  -webkit-mask: url("assets/img/embleme-montagne.svg") center / contain no-repeat; mask: url("assets/img/embleme-montagne.svg") center / contain no-repeat; }
.sas-cta .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--on-dark); }
.sas-cta h2 { max-width: 24ch; margin-inline: auto; }

/* ---------- En-tête des pages intérieures ---------- */
.sas-page-hero { background: var(--ice); padding-block: clamp(36px, 6vw, 72px); position: relative; overflow: hidden; isolation: isolate; }
.sas-page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; border-top: 3px solid color-mix(in srgb, var(--glacier) 60%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--glacier) 45%, transparent); }
.sas-page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.sas-page-hero h1 { font-size: clamp(1.95rem, 4.2vw, 3.1rem); }
.sas-page-hero .lead { margin-top: 18px; }
.sas-page-hero__logo { height: 64px; width: auto; margin-bottom: 18px; }
.sas-page-hero__img { margin: 0; }
.sas-page-hero__img img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); }
.sas-page-hero .sas-proof li { color: var(--primary); border-color: var(--border); background: var(--surface); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: var(--muted); }

/* ---------- Contenus des pages ---------- */
.sas-text { max-width: 68ch; }
.sas-text h2 { margin-top: 1.4em; }
.sas-text h2:first-child { margin-top: 0; }
.sas-text p + h3 { margin-top: 1.4em; }
.sas-text ul { padding-left: 1.2em; margin-top: .8em; display: grid; gap: 6px; }
.sas-text ul + p { margin-top: 1em; }
.split__img img { aspect-ratio: 4 / 4.4; }
.split__img figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.sas-card-top { border-top: 3px solid var(--accent); }
.sas-card-top p { color: var(--muted); font-size: .98rem; }
.sas-note { background: var(--surface); border-left: 3px solid var(--accent); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin-top: 26px; }
.sas-note p { color: var(--text); }
.sas-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .97rem; background: var(--surface); }
.sas-table th, .sas-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.sas-table th { font-weight: 400; color: var(--primary); background: var(--ice); }
.sas-table-wrap { overflow-x: auto; }
.sas-related .card h3 a { text-decoration: none; }
.sas-related .card h3 a::after { content: ""; position: absolute; inset: 0; }
.sas-related .card { position: relative; }
.sas-related .card p { color: var(--muted); font-size: .97rem; }

/* ---------- Contact en étapes ---------- */
.sas-wizard { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.sas-wizard .form { gap: 22px; }
.sas-progress { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: etape; margin-bottom: 6px; }
.sas-progress li { counter-increment: etape; font-size: .85rem; color: var(--muted); padding-top: 12px; border-top: 3px solid var(--border); }
.sas-progress li::before { content: counter(etape) ". "; }
.sas-progress li.is-done, .sas-progress li.is-current { border-color: var(--accent); color: var(--primary); }
.sas-step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 18px; }
.sas-step legend { font-family: var(--font-title); font-size: clamp(1.35rem, 2.4vw, 1.75rem); color: var(--primary); margin-bottom: 4px; padding: 0; }
.sas-step__hint { color: var(--muted); font-size: .95rem; margin-top: -8px; }
.js .sas-step:not(.is-active) { display: none; }
.sas-choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.sas-choices--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sas-choice { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 92px; padding: 14px 14px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); background: var(--bg); cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s; }
.sas-choice:hover { border-color: color-mix(in srgb, var(--accent) 60%, transparent); transform: translateY(-2px); }
.sas-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.sas-choice__title { font-family: var(--font-title); color: var(--primary); font-size: 1.04rem; line-height: 1.25; }
.sas-choice__soc { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: auto; }
.sas-choice:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.sas-choice:has(input:checked)::after { content: "✓"; position: absolute; top: 10px; right: 12px; color: var(--accent-deep); }
.sas-choice:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.sas-group-label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: -8px; }
.sas-step__nav { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.sas-step__nav .btn { width: auto; }
.btn--back { background: transparent; color: var(--primary); border-color: var(--border); }
.no-js-hide { display: none; }
.js .no-js-hide { display: inline-flex; }
.sas-step__error { color: var(--error); font-size: .92rem; min-height: 1.2em; }
.sas-recap { position: sticky; top: calc(var(--header-h) + 20px); background: var(--primary); color: var(--on-dark); border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); }
.sas-recap h2 { color: var(--on-dark); font-size: 1.45rem; }
.sas-recap ul { list-style: none; display: grid; gap: 12px; margin-top: 18px; }
.sas-recap li { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid color-mix(in srgb, var(--on-dark) 16%, transparent); }
.sas-recap li span:first-child { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--glacier); }
.sas-recap__dest { margin-top: 18px; display: flex; align-items: center; gap: 14px; }
.sas-recap__dest img { height: 48px; width: auto; background: var(--surface); border-radius: 4px; padding: 4px; }
.sas-recap__dest p { font-size: .92rem; }
.sas-recap a { color: var(--on-dark); }
.sas-recap .sas-recap__call { margin-top: 22px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--on-dark) 16%, transparent); font-size: .95rem; }
.sas-recap .sas-recap__call a { display: inline-flex; align-items: center; gap: .45em; font-size: 1.25rem; text-decoration: none; margin-top: 4px; }
.sas-emails { list-style: none; display: grid; gap: 14px; }
.sas-emails li { display: flex; align-items: center; gap: 14px; }
.sas-emails img { height: 46px; width: auto; }
.sas-emails a { color: var(--accent-deep); overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.footer { background: var(--primary); }
.footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.sas-footer-logo { width: 150px; height: auto; margin-bottom: 8px; }
.footer h3 { font-weight: 400; color: var(--glacier); }
.footer a:hover { color: var(--accent); }
.footer li { overflow-wrap: anywhere; }
.footer__bottom a { text-decoration: underline; }

/* ---------- Barre mobile ---------- */
.mobile-bar a { font-weight: 400; letter-spacing: .03em; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .header__inner { gap: 16px; }
  .nav { gap: 18px; }
  .sas-brand__sub { display: none; }
}
@media (max-width: 1100px) {
  .sas-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sas-timeline { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 28px; }
  .sas-timeline::before { left: 7px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .sas-timeline li { padding: 0 0 26px; }
  .sas-timeline li::before { left: -28px; top: 6px; }
}
@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .logo img { height: 48px; }
  .nav { justify-content: flex-start; padding: 32px var(--gutter) 96px; overflow-y: auto; gap: 18px; }
  .sas-dd > a::after { display: none; }
  .sas-dd__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 6px 0 0 16px; min-width: 0; gap: 2px; }
  .sas-dd__menu a { font-size: 1rem; padding: 6px 0; color: var(--muted); }
  .sas-hero__grid, .sas-page-hero__grid, .sas-metiers, .sas-wizard { grid-template-columns: minmax(0, 1fr); }
  .sas-arch { max-width: 520px; margin-inline: auto; width: 100%; }
  .sas-arch img { aspect-ratio: 4 / 3.6; }
  .sas-metiers__img { position: static; }
  .sas-metiers__img img { aspect-ratio: 16 / 10; }
  .sas-page-hero__img img { aspect-ratio: 16 / 11; border-radius: 240px 240px var(--radius) var(--radius); }
  .sas-recap { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .sas-hero { padding-bottom: 120px; }
  .sas-arch::before { inset: -8px -8px 8px 8px; }
  .sas-liste li { grid-template-columns: 40px minmax(0, 1fr) 20px; }
  .sas-liste li::before { font-size: 1.2rem; }
  .sas-choices { grid-template-columns: minmax(0, 1fr); }
  .sas-choice { min-height: 0; }
  .sas-societe__top img { height: 56px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .sas-step__nav .btn { width: 100%; }
}
.sas-zone-title { margin-top: 30px; font-size: 1.15rem; }
.sas-societe__top img { height: 74px; max-width: 150px; object-fit: contain; }
.sas-hero__brand { font-size: .82rem; }
.sas-hero__brand img { width: 26px; }
.card h3 a { text-decoration: none; color: inherit; }
.card h3 a:hover { color: var(--accent-deep); }
.sas-card-cta { background: var(--primary); color: var(--on-dark); border-color: var(--primary); display: flex; flex-direction: column; justify-content: center; }
.sas-card-cta h3 { color: var(--on-dark); }
.sas-card-cta p { color: color-mix(in srgb, var(--on-dark) 85%, transparent); }
.sas-card-cta .wp-block-buttons { margin-top: 20px; }
.sas-card-cta__tel { margin-top: 14px; font-size: .95rem; }
.sas-card-cta__tel a { color: var(--on-dark); }
.sas-page-hero--compact { padding-block: clamp(32px, 5vw, 60px) clamp(36px, 5vw, 64px); }
.sas-page-hero--compact h1 { max-width: 22ch; }
.sas-page-hero--compact .lead { max-width: 64ch; }
.sas-tel-inline { color: var(--accent-deep); white-space: nowrap; }
.sas-logo-figure { display: grid; place-items: center; background: var(--surface); border-radius: var(--radius); padding: clamp(28px, 5vw, 56px); border: 1px solid var(--border); }
.sas-logo-figure img { width: min(320px, 100%); aspect-ratio: auto; object-fit: contain; }
.sas-merci { min-height: 60vh; display: grid; align-items: center; }
.sas-merci__logo { width: 140px; height: auto; margin: 0 auto 24px; }
.sas-merci h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.sas-merci .lead { margin: 18px auto 0; }
.sas-merci p + p { margin-top: 12px; }
.prose ul { display: grid; gap: 10px; }
.sas-text strong, .prose strong { font-weight: 400; color: var(--primary); }
@media (max-width: 600px) { .sas-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sas-choice { padding: 12px; } .sas-choice__title { font-size: .98rem; } }
@media (max-width: 480px) { .header__phone { display: none; } }
@media (max-width: 360px) { .sas-choices { grid-template-columns: minmax(0, 1fr); } }
