/* ==========================================================================
   Syrel Médical — feuille de style
   Mise en page : colonne centrée 1160px, hero en deux colonnes,
   sections aérées sur fond ivoire, bandes bleues pour les appels à l'action.
   Thème clair unique, choisi volontairement (charte de marque fixe).
   ========================================================================== */

/* --- Polices auto-hébergées (aucune requête vers un tiers) ------------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  /* Charte (PRD §2) */
  --blue: #2F5D73;        /* principal : titres, boutons */
  --blue-deep: #244A5C;   /* survol */
  --blue-ink: #1E3C4B;    /* pied de page */
  --sage: #5E817B;        /* accent discret : icônes, filets (jamais en petit texte) */
  --mist: #E7ECEE;        /* fonds secondaires */
  --ivory: #FAFAF7;       /* fond principal */
  --ink: #35434A;         /* texte courant */
  /* Dérivés */
  --ink-soft: #56656C;
  --sage-text: #4A6B65; /* sauge assombrie pour le texte (contraste AA) */
  --line: #D5DDE0;
  --surface: #FFFFFF;
  --on-blue: #FAFAF7;
  --on-blue-soft: #C9D7DE;
  --error: #A3362E;
  --error-bg: #FBEDEB;
  --success: #2B6A4C;
  --success-bg: #E8F3EC;
  --todo-fg: #6A4B00;
  --todo-bg: #FFF1CC;

  --font-display: "Montserrat", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(30, 60, 75, .06), 0 8px 24px rgba(30, 60, 75, .06);
  --container: 1160px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --section: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ivory); }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); color: var(--blue); line-height: 1.2; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.35rem + 2.7vw, 3.15rem); font-weight: 700; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.15rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.site-footer :focus-visible, .band :focus-visible { outline-color: var(--on-blue); }
ul, ol { margin: 0; padding: 0; }
strong { font-weight: 600; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--blue); color: var(--on-blue); padding: .7rem 1rem; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); color: var(--on-blue); }

.container { width: 100%; max-width: calc(var(--container) + 40px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section-head { display: grid; gap: .9rem; max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head p { color: var(--ink-soft); font-size: 1.075rem; }
.eyebrow { font-family: var(--font-body); font-size: .82rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--sage-text); }
.lead { font-size: clamp(1.075rem, 1rem + .35vw, 1.2rem); color: var(--ink-soft); max-width: 38rem; }
.prose { max-width: 44rem; display: grid; gap: 1rem; }
.prose h2 { font-size: 1.4rem; margin-top: 1.5rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .35rem; }

/* Marqueurs d'information à compléter (à retirer avant publication) */
mark.todo { background: var(--todo-bg); color: var(--todo-fg); font-size: .88em; font-weight: 500; padding: .08em .4em; border-radius: 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* --- Boutons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.35rem;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.2;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--blue); color: var(--on-blue); }
.btn-primary:hover { background: var(--blue-deep); color: var(--on-blue); }
.btn-secondary { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--mist); color: var(--blue-deep); }
.btn-light { background: var(--on-blue); color: var(--blue); }
.btn-light:hover { background: var(--mist); color: var(--blue-deep); }
.btn-sm { min-height: 42px; padding: .55rem 1rem; font-size: .94rem; }
.btn[disabled] { opacity: .7; cursor: progress; }
.link-arrow { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--sage); }
.link-arrow:hover { text-decoration-color: var(--blue); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --- En-tête ------------------------------------------------------------ */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(250, 250, 247, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(6px); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; flex-shrink: 0; }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-size: 1.15rem; color: var(--blue); letter-spacing: -0.01em; white-space: nowrap; }
.brand-name strong { font-weight: 700; }
.brand-name span { font-weight: 600; color: var(--ink-soft); }
.nav ul { list-style: none; display: flex; gap: .25rem; }
.nav a { display: block; padding: .55rem .8rem; border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; font-size: .98rem; text-decoration: none; }
.nav a:hover { background: var(--mist); color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 600; box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-sm); color: var(--blue); cursor: pointer; flex-shrink: 0; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.is-open .nav-toggle .icon-open { display: none; }
.is-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1180px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ivory); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: .5rem var(--gutter-r) 1.25rem var(--gutter-l); }
  .js .is-open .nav { display: block; }
  .js .nav ul { flex-direction: column; gap: 0; }
  .js .nav a { padding: .9rem .25rem; border-bottom: 1px solid var(--mist); border-radius: 0; font-size: 1.05rem; }
  .js .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--blue); padding-left: .9rem; }
  .header-inner { position: static; }
  .site-header .container { position: relative; }
  html:not(.js) .header-inner { flex-wrap: wrap; padding-block: .5rem; }
  html:not(.js) .nav ul { flex-wrap: wrap; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 1rem; }
  .brand-mark { width: 30px; height: 30px; }
  .header-cta { padding: .5rem .75rem; font-size: .88rem; }
  .brand-name span { display: none; }
  .header-inner { gap: .5rem; }
}
.header-cta { white-space: nowrap; }

/* --- Hero (accueil) ----------------------------------------------------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--section); }
.hero-grid { display: grid; gap: clamp(2.5rem, 2rem + 2vw, 4rem); align-items: center; }
.hero-text { display: grid; gap: 1.4rem; min-width: 0; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--ink-soft); font-size: .95rem; padding-top: .25rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-points svg { width: 18px; height: 18px; color: var(--sage); flex-shrink: 0; }
.hero-visual { position: relative; min-width: 0; margin-bottom: 2.5rem; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }

/* Emplacement réservé au visuel définitif */
.photo-slot {
  margin: 0; aspect-ratio: 4 / 4.4; max-width: 100%; width: 100%;
  background: var(--mist); border: 1px dashed #A9BAC1; border-radius: 14px;
  display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; padding: 2rem 1.5rem 4rem;
  color: var(--blue);
}
.photo-slot svg { width: 76px; height: 76px; color: var(--sage); }
.photo-slot figcaption { font-size: .9rem; color: var(--ink-soft); max-width: 22rem; display: grid; gap: .25rem; }
.photo-slot figcaption strong { color: var(--blue); font-size: .95rem; }
.photo-slot--wide { aspect-ratio: 16 / 9; padding: 1.5rem; }

.consignes-card {
  position: absolute; left: clamp(-1.5rem, -3vw, 0rem); right: 1.25rem; bottom: -2.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem; max-width: 22rem;
}
.consignes-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--blue); margin-bottom: .35rem; padding-bottom: .55rem; border-bottom: 2px solid var(--blue); }
.consignes-card ul { list-style: none; display: grid; }
.consignes-card li { display: grid; grid-template-columns: 6.5rem 1fr; gap: .75rem; padding: .5rem 0; border-top: 1px solid var(--mist); font-size: .9rem; }
.consignes-card li span:first-child { font-weight: 600; color: var(--blue); }
@media (max-width: 899px) { .consignes-card { left: 1rem; } }
@media (max-width: 380px) { .consignes-card li { grid-template-columns: 1fr; gap: 0; } }

/* --- En-tête de page intérieure ---------------------------------------- */
.page-hero { padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero .container { display: grid; gap: 1.1rem; }
.page-hero h1 { max-width: 40rem; }
.subnav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .5rem; }
.subnav { gap: 1.5rem; }
.subnav a { font-weight: 600; font-size: .98rem; text-decoration-color: var(--sage); text-underline-offset: 4px; }

/* --- Cartes services ---------------------------------------------------- */
.grid-2 { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); display: grid; gap: 1rem; align-content: start; min-width: 0; }
.card p { color: var(--ink-soft); }
.card .link-arrow { margin-top: .25rem; }
.icon-tile { width: 52px; height: 52px; border-radius: 12px; background: var(--mist); color: var(--blue); display: grid; place-items: center; }
.icon-tile svg { width: 26px; height: 26px; }

/* --- Bénéfices ---------------------------------------------------------- */
.split { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .split { grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; } }
.split > * { min-width: 0; }
.checklist { list-style: none; display: grid; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: .9rem; padding: 1.05rem 0; border-top: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist svg { width: 22px; height: 22px; color: var(--sage); margin-top: .15rem; }
.checklist strong { color: var(--blue); display: block; }
.checklist span { color: var(--ink-soft); font-size: .98rem; }

/* --- Publics ------------------------------------------------------------ */
.audience { list-style: none; display: grid; gap: 0 2.5rem; max-width: 52rem; }
@media (min-width: 700px) { .audience { grid-template-columns: 1fr 1fr; } }
.audience li { padding: .85rem 0 .85rem 1.4rem; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; color: var(--blue); font-size: 1.05rem; position: relative; }
.audience li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 8px; height: 8px; border-radius: 2px; background: var(--sage); }

/* --- Étapes ------------------------------------------------------------- */
.steps { list-style: none; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 820px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } }
.steps > li { counter-increment: step; display: grid; gap: .6rem; align-content: start; padding-top: 1.25rem; border-top: 2px solid var(--blue); min-width: 0; }
.steps > li::before { content: counter(step); font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--blue); }
.steps p { color: var(--ink-soft); }
.timeline { list-style: none; display: grid; counter-reset: step; max-width: 50rem; }
.timeline > li { counter-increment: step; display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem; padding-bottom: 2rem; position: relative; }
.timeline > li::before { content: counter(step); width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid var(--blue); color: var(--blue); background: var(--ivory); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; position: relative; z-index: 1; }
.timeline > li::after { content: ""; position: absolute; left: calc(1.5rem - 1px); top: 3rem; bottom: 0; width: 2px; background: var(--line); }
.timeline > li:last-child::after { display: none; }
.timeline > li > div { display: grid; gap: .4rem; padding-top: .55rem; min-width: 0; }
.timeline p { color: var(--ink-soft); }

/* --- Panneau devis / bandes -------------------------------------------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.75rem, 1.2rem + 2.5vw, 3rem); display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) { .panel { grid-template-columns: 1fr auto; gap: 3rem; } }
.panel > div { display: grid; gap: .8rem; min-width: 0; }
.panel p { color: var(--ink-soft); max-width: 40rem; }
.band { background: var(--blue); color: var(--on-blue); }
.band .container { padding-block: clamp(3rem, 2.2rem + 3vw, 4.75rem); display: grid; gap: 1.5rem; justify-items: start; }
.band h2 { color: var(--on-blue); max-width: 34rem; }
.band p { color: var(--on-blue-soft); max-width: 38rem; }
@media (min-width: 860px) { .band .container { grid-template-columns: 1fr auto; align-items: center; } }

/* --- FAQ ---------------------------------------------------------------- */
.faq { display: grid; max-width: 52rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--blue); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; flex-shrink: 0; border-right: 2px solid var(--sage); border-bottom: 2px solid var(--sage); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .answer { padding: 0 0 1.4rem; color: var(--ink-soft); display: grid; gap: .7rem; max-width: 46rem; }
.faq-more { margin-top: 1.75rem; }

/* --- Services (page) ---------------------------------------------------- */
.service-block { display: grid; gap: 2rem; }
@media (min-width: 900px) { .service-block { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.service-block > div { display: grid; gap: 1rem; align-content: start; min-width: 0; }
.service-block p { color: var(--ink-soft); }
.tasks { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem; display: grid; gap: .9rem; }
.tasks h3 { font-size: 1.05rem; color: var(--blue); }
.tasks ul { list-style: none; display: grid; gap: .65rem; }
.tasks li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; }
.tasks li svg { width: 20px; height: 20px; color: var(--sage); margin-top: .2rem; }
.note { font-size: .93rem; color: var(--ink-soft); border-left: 3px solid var(--sage); padding-left: .9rem; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* --- Formulaire --------------------------------------------------------- */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.45fr .85fr; gap: 3.5rem; align-items: start; } }
.contact-grid > * { min-width: 0; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); }
.form { display: grid; gap: 1.35rem; }
.form-row { display: grid; gap: 1.35rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label, .field legend { font-weight: 600; color: var(--ink); font-size: .98rem; }
.req { font-weight: 500; color: var(--ink-soft); font-size: .86rem; }
.hint { font-size: .88rem; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--ivory);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .75rem .9rem; min-height: 48px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 93, 115, .2); background: var(--surface); }
.field [aria-invalid="true"] { border-color: var(--error); background: var(--error-bg); }
.field-error { color: var(--error); font-size: .9rem; font-weight: 500; display: flex; gap: .4rem; align-items: baseline; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--error); color: #fff; font-size: .72rem; font-weight: 700; flex-shrink: 0; transform: translateY(.1rem); }
fieldset.field { border: 0; padding: 0; margin: 0; }
fieldset.field legend { padding: 0; margin-bottom: .5rem; }
.choices { display: grid; gap: .6rem; }
@media (min-width: 640px) { .choices { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label { display: flex; align-items: center; gap: .6rem; min-height: 52px; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--ivory); cursor: pointer; font-weight: 500; font-size: .95rem; line-height: 1.3; }
.choice label::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #8FA2AA; flex-shrink: 0; background: var(--surface); }
.choice input:checked + label { border-color: var(--blue); background: var(--surface); color: var(--blue); }
.choice input:checked + label::before { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 0 45%, var(--surface) 50%); }
.choice input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
fieldset[aria-invalid="true"] .choice label { border-color: var(--error); }
.warning { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; background: var(--mist); border-radius: var(--radius-sm); padding: .8rem .9rem; font-size: .92rem; color: var(--ink); }
.warning svg { width: 20px; height: 20px; color: var(--blue); margin-top: .1rem; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .88rem; color: var(--ink-soft); }
.form-footer { display: grid; gap: 1rem; }
.form-status { border-radius: var(--radius-sm); padding: 1rem 1.1rem; font-weight: 500; display: grid; gap: .3rem; }
.form-status.is-error { background: var(--error-bg); color: var(--error); border: 1px solid #E6B7B1; }
.form-status.is-success { background: var(--success-bg); color: var(--success); border: 1px solid #B5D6C3; }
.form-status ul { padding-left: 1.2rem; font-weight: 400; }
.form-status a { color: inherit; }
.form-status:focus { outline: 3px solid currentColor; outline-offset: 2px; }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(250, 250, 247, .4); border-top-color: var(--on-blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.aside { display: grid; gap: 1.25rem; }
.aside-block { border-top: 2px solid var(--blue); padding-top: 1.1rem; display: grid; gap: .7rem; }
.aside-block h2 { font-size: 1.1rem; }
.aside-block p, .aside-block li { color: var(--ink-soft); font-size: .97rem; }
.aside-block ol { padding-left: 1.2rem; display: grid; gap: .45rem; }

/* --- Pages légales ------------------------------------------------------ */
.legal dl { display: grid; gap: 0; margin: 0; border-top: 1px solid var(--line); }
.legal dl > div { display: grid; gap: .25rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .legal dl > div { grid-template-columns: 15rem 1fr; gap: 1.5rem; } }
.legal dt { font-weight: 600; color: var(--blue); }
.legal dd { margin: 0; }
.legal-intro { background: var(--todo-bg); color: var(--todo-fg); border-radius: var(--radius-sm); padding: 1rem 1.1rem; font-size: .95rem; }

/* --- Pied de page ------------------------------------------------------- */
.site-footer { background: var(--blue-ink); color: var(--on-blue-soft); font-size: .95rem; }
.site-footer a { color: var(--on-blue); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--on-blue); }
.footer-grid { display: grid; gap: 2.25rem; padding-block: 3.5rem 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr 1fr; } }
.footer-grid > div, .footer-grid > nav { display: grid; gap: .8rem; align-content: start; min-width: 0; }
.footer-brand .brand-name, .footer-brand .brand-name span { color: var(--on-blue); }
.footer-title { font-family: var(--font-display); font-size: .98rem; font-weight: 600; color: var(--on-blue); }
.site-footer ul { list-style: none; display: grid; gap: .45rem; }
.footer-bottom { border-top: 1px solid rgba(201, 215, 222, .2); padding-block: 1.25rem calc(1.25rem + env(safe-area-inset-bottom, 0px)); font-size: .87rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

/* --- Mouvement réduit --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* --- Logo ---------------------------------------------------------------- */
.brand-logo { display: block; height: 48px; width: auto; }
.site-footer .brand-logo { height: 52px; }
@media (max-width: 420px) { .site-header .brand-logo { height: 40px; } }

/* --- Demande de devis en étapes ---------------------------------------- */
.progress-track { height: 6px; background: var(--mist); border-radius: 6px; overflow: hidden; }
.progress-track span { display: block; height: 100%; width: 20%; background: var(--blue); border-radius: 6px; transition: width .3s ease; }
.progress-label { margin: .7rem 0 1.6rem; font-size: .92rem; font-weight: 500; color: var(--ink-soft); }
.step { display: grid; gap: 1.6rem; }
.step-head { display: grid; gap: .35rem; }
.step-head h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); }
.step-head h2:focus { outline: none; }
.step-head p { color: var(--ink-soft); }
.q { border: 0; padding: 0; margin: 0; display: grid; gap: .7rem; min-width: 0; }
.q legend { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); padding: 0; margin-bottom: .2rem; }
.opts { display: grid; gap: .6rem; grid-template-columns: 1fr; }
@media (min-width: 520px) { .opts--2, .opts--4 { grid-template-columns: 1fr 1fr; } .opts--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 760px) { .opts--3 { grid-template-columns: repeat(3, 1fr); } .opts--4 { grid-template-columns: repeat(4, 1fr); } }
.opt { position: relative; min-width: 0; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt label { height: 100%; display: grid; gap: .2rem; align-content: center; min-height: 58px; padding: .8rem 1rem .8rem 2.8rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--ivory); cursor: pointer; position: relative; transition: border-color .15s ease, background-color .15s ease; }
.opt label::before { content: ""; position: absolute; left: 1rem; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid #8FA2AA; background: var(--surface); }
.opt input[type="radio"] + label::before { border-radius: 50%; }
.opt input[type="checkbox"] + label::before { border-radius: 4px; }
.opt label:hover { border-color: #9DB0B8; }
.opt-label { font-weight: 600; color: var(--ink); line-height: 1.3; }
.opt-desc { font-size: .87rem; color: var(--ink-soft); line-height: 1.35; }
.opt input:checked + label { border-color: var(--blue); background: #EEF3F5; }
.opt input:checked + label .opt-label { color: var(--blue); }
.opt input[type="radio"]:checked + label::before { border-color: var(--blue); background: radial-gradient(circle, var(--blue) 0 42%, var(--surface) 48%); }
.opt input[type="checkbox"]:checked + label::before { border-color: var(--blue); background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FAFAF7' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.opt input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }
.q[aria-invalid="true"] .opt label { border-color: var(--error); }
.step-nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.recap { margin: 0; display: grid; border-top: 1px solid var(--line); }
.recap > div { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .recap > div { grid-template-columns: 12rem 1fr auto; } }
.recap dt { font-weight: 600; color: var(--blue); font-size: .95rem; }
.recap dd { margin: 0; min-width: 0; overflow-wrap: anywhere; font-size: .97rem; }
@media (max-width: 639px) { .recap dd:not(.recap-edit) { grid-column: 1 / -1; grid-row: 2; } .recap dt { grid-row: 1; } .recap-edit { grid-row: 1; } }
.recap-empty { color: var(--ink-soft); font-style: italic; }
.link-btn { background: none; border: 0; padding: .2rem 0; font: inherit; font-size: .92rem; font-weight: 600; color: var(--blue); text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 4px; cursor: pointer; }
.success { display: grid; gap: 1rem; justify-items: start; padding-block: 1rem; }
.success:focus { outline: none; }
.success > svg { width: 48px; height: 48px; color: var(--success); }
.success h2 { font-size: 1.6rem; }
.success p { color: var(--ink-soft); max-width: 36rem; }
.success-ref strong { color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: .03em; }

/* --- Devis : une question par écran ------------------------------------ */
.section--tight { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) var(--section); }
.quiz { min-height: 30rem; display: grid; align-content: start; }
.quiz-top { display: grid; gap: .6rem; margin-bottom: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.quiz .progress-label { margin: 0; }
.qs { display: grid; gap: 1.4rem; }
.qs-head { display: grid; gap: .5rem; }
.qs-title { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem); line-height: 1.25; max-width: 34rem; }
.qs-title:focus { outline: none; }
.qs-title label { cursor: text; }
.qs-help { color: var(--ink-soft); font-size: .97rem; max-width: 36rem; }
.qs-optional { justify-self: start; font-size: .82rem; font-weight: 500; color: var(--ink-soft); background: var(--mist); border-radius: 4px; padding: .15rem .5rem; }
.qs-field { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: .8rem; }
.qs-field input[type="text"], .qs-field input[type="email"], .qs-field input[type="tel"], .qs-field textarea {
  width: 100%; max-width: 34rem; font: inherit; font-size: 1.2rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 2px solid var(--line); border-radius: 0; padding: .6rem .1rem;
}
.qs-field textarea { font-size: 1.05rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .8rem .9rem; min-height: 130px; resize: vertical; }
.qs-field input:focus, .qs-field textarea:focus { outline: none; border-color: var(--blue); }
.qs-field [aria-invalid="true"] { border-color: var(--error); }
.qs .opts { grid-template-columns: 1fr; max-width: 34rem; gap: .55rem; }
.qs .opt label { padding: .75rem 1rem .75rem .8rem; grid-template-columns: auto 1fr auto; display: grid; align-items: center; gap: .9rem; min-height: 56px; }
.qs .opt label::before { display: none; }
.opt-text { display: grid; gap: .1rem; min-width: 0; }
.qs kbd { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 5px; border: 1.5px solid #B7C5CB; background: var(--surface); font-family: var(--font-body); font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.qs .opt input:checked + label kbd { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.qs .opt input[type="checkbox"]:checked + label::after { content: ""; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F5D73' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E") center / contain no-repeat; }
.qs .opt input[type="radio"]:checked + label { animation: pick .35s ease; }
@keyframes pick { 0% { transform: scale(1); } 40% { transform: scale(.985); } 100% { transform: scale(1); } }
.qs fieldset[aria-invalid="true"] .opt label { border-color: var(--error); }
.qs-nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: .4rem; }
.qs-next { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.qs-tip { font-size: .85rem; color: var(--ink-soft); }
.qs-tip:empty { display: none; }
@media (hover: none) { .qs-tip, .qs kbd { display: none; } .qs .opt label { grid-template-columns: 1fr auto; padding-left: 1rem; } }
.qs-in-fwd { animation: qsFwd .32s cubic-bezier(.2,.7,.2,1); }
.qs-in-back { animation: qsBack .32s cubic-bezier(.2,.7,.2,1); }
@keyframes qsFwd { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes qsBack { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.quiz .progress-track span { width: 0; }

/* --- Devis, direction « fiche en direct » ------------------------------ */
.segments { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); }
.segments li { display: grid; gap: .45rem; min-width: 0; }
.seg-bar { height: 4px; border-radius: 4px; background: var(--line); transition: background-color .3s ease; }
.seg-label { font-size: .82rem; font-weight: 500; color: #7D8F97; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.segments .is-done .seg-bar { background: var(--blue); }
.segments .is-done .seg-label { color: var(--ink); }
.segments .is-current .seg-bar { background: var(--sage); }
.segments .is-current .seg-label { color: var(--blue); font-weight: 600; }
@media (max-width: 520px) { .seg-label { font-size: .72rem; } }

.devis-grid { display: grid; gap: 2rem; }
@media (min-width: 1000px) { .devis-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 3.5rem; align-items: start; } }
.devis-main { min-width: 0; min-height: 26rem; }

.qs-section { font-size: .92rem; font-weight: 600; color: var(--sage-text); display: flex; align-items: center; gap: .75rem; }
.qs-head { gap: .6rem; }
.qs-head .qs-optional { margin-top: -.2rem; }
.qs-title { font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.2rem); color: #1E3C4B; max-width: 38rem; }
.qs .opts { grid-template-columns: 1fr; max-width: 44rem; gap: .75rem; }
@media (min-width: 620px) { .qs .opts { grid-template-columns: 1fr 1fr; } }
.qs .opt label { grid-template-columns: 1fr auto; min-height: 76px; padding: 1rem 1.1rem; border-radius: 10px; background: var(--surface); gap: 1rem; transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.qs .opt label:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(30, 60, 75, .08); transform: translateY(-1px); }
.qs .opt .opt-label { font-size: 1.02rem; color: #1E3C4B; }
.qs .opt input:checked + label { background: #EEF3F5; border-color: var(--blue); }
.opt-mark { width: 24px; height: 24px; flex-shrink: 0; border: 2px solid #B7C5CB; border-radius: 50%; box-sizing: border-box; background: var(--surface) center / 13px no-repeat; transition: background-color .15s ease, border-color .15s ease; }
.opt input[type="checkbox"] + label .opt-mark { border-radius: 6px; }
.opt input:checked + label .opt-mark { border-color: var(--blue); background-color: var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FAFAF7' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E"); }
.qs .opt input[type="checkbox"]:checked + label::after { display: none; }
.qs-field input[type="text"], .qs-field input[type="email"], .qs-field input[type="tel"] { max-width: 32rem; font-size: 1.15rem; background: var(--surface); border: 1.5px solid var(--line); border-radius: 8px; padding: .9rem 1rem; }
.qs-field input:focus, .qs-field textarea:focus { box-shadow: 0 0 0 3px rgba(47, 93, 115, .15); }
.qs-field textarea { max-width: 44rem; background: var(--surface); }
.qs-nav { justify-content: space-between; max-width: 44rem; padding-top: 1.5rem; margin-top: .5rem; border-top: 1px solid var(--line); }
.qs-back { display: inline-flex; align-items: center; gap: .4rem; background: none; border: 0; padding: .6rem 0; font: inherit; font-size: .98rem; font-weight: 500; color: var(--ink-soft); cursor: pointer; }
.qs-back svg { width: 18px; height: 18px; }
.qs-back:hover { color: var(--blue); }
.qs-back[hidden] + .qs-next, .qs-back[hidden] + .btn { margin-left: auto; }
.qs-next { margin-left: auto; }
.qs-to-recap { margin-left: auto; }

.fiche { display: grid; gap: 1.25rem; min-width: 0; }
@media (min-width: 1000px) { .fiche { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); } }
.fiche-card { background: var(--surface); border: 1px solid #E1E7EA; border-radius: 14px; box-shadow: 0 1px 2px rgba(30, 60, 75, .05), 0 12px 32px rgba(30, 60, 75, .06); padding: 1.4rem 1.4rem 1.1rem; }
.fiche-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 2px solid var(--blue); }
.fiche-head h2 { font-size: 1.05rem; }
#fiche-count { font-size: .82rem; font-weight: 500; color: var(--sage-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fiche-list { margin: 0; display: grid; }
.fiche-row { display: grid; grid-template-columns: 1fr auto; gap: .3rem .75rem; align-items: center; padding: .7rem .6rem; margin: 0 -.6rem; border-bottom: 1px solid #EEF2F3; border-radius: 8px; transition: background-color .25s ease; }
.fiche-row dt { font-size: .8rem; font-weight: 600; color: var(--ink-soft); grid-column: 1; }
.fiche-row dd { margin: 0; grid-column: 1; min-width: 0; font-size: .95rem; font-weight: 600; color: #1E3C4B; line-height: 1.4; overflow-wrap: anywhere; }
.fiche-row .fiche-edit { grid-column: 2; grid-row: 1 / span 2; font-size: .84rem; }
.fiche-row.is-current { background: #F1F5F6; }
.fiche-row.just-filled { animation: ficheFill 1.1s ease-out; }
.fiche-value { display: inline-block; animation: ficheVal .3s ease-out; }
.fiche-empty { display: block; height: 12px; width: 70%; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--mist) 0 8px, transparent 8px 12px); }
.fiche-row:nth-child(2n) .fiche-empty { width: 45%; }
.fiche-row:nth-child(3n) .fiche-empty { width: 85%; }
@keyframes ficheFill { 0% { background: #DCEAE5; } 100% { background: transparent; } }
@keyframes ficheVal { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.fiche-note { margin-top: .9rem; font-size: .8rem; line-height: 1.5; color: var(--ink-soft); }
.fiche-contact { display: grid; gap: .3rem; font-size: .9rem; color: var(--ink-soft); padding-inline: .2rem; }
.fiche-contact p:first-child { font-weight: 600; color: var(--ink); }

/* ==========================================================================
   Passe éditoriale : moins de « kit », plus de typographie et de filets
   ========================================================================== */
.section--mist { background: transparent; }
.section--white { background: var(--surface); border-block: 1px solid var(--line); }
.section--rule > .container { border-top: 1px solid var(--line); padding-top: var(--section); }
.section--rule { padding-top: 0; }
.kicker { font-size: .98rem; font-weight: 600; color: var(--sage-text); }
.h-small { font-size: 1.05rem; font-family: var(--font-body); font-weight: 600; color: var(--ink-soft); letter-spacing: 0; }
.muted-wide { color: var(--ink-soft); max-width: 40rem; margin-top: 1.25rem; }

/* Hero */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(3rem, 2rem + 4vw, 6rem); }
.hero h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem); letter-spacing: -.02em; line-height: 1.08; max-width: 14ch; }
.hero-text { gap: 1.5rem; }
.photo-slot { aspect-ratio: 5 / 6; border: 0; border-radius: 6px; background: var(--mist); padding: 0; display: flex; align-items: flex-start; justify-content: flex-end; }
.photo-slot figcaption { font-size: .82rem; color: var(--ink-soft); padding: 1rem 1.1rem; max-width: 16rem; text-align: right; }
.hero-visual { margin-bottom: 0; padding-bottom: 3rem; }
@media (min-width: 900px) { .hero-visual { padding-left: 3rem; } .photo-slot { margin-left: auto; width: 82%; } }
.sheet { position: absolute; left: 0; bottom: 0; width: min(25rem, 92%); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 18px 40px rgba(30, 60, 75, .12); padding: 1.2rem 1.3rem 1rem; font-size: .9rem; }
.sheet::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--blue); border-radius: 4px 0 0 4px; }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; color: var(--blue); font-size: 1rem; }
.sheet-tag { font-family: var(--font-body); font-weight: 500; font-size: .78rem; color: var(--sage-text); white-space: nowrap; }
.sheet-lines { list-style: none; counter-reset: l; }
.sheet-lines li { counter-increment: l; display: grid; grid-template-columns: 1.4rem 9.5rem 1fr; gap: .5rem; padding: .62rem 0; border-bottom: 1px dashed var(--line); }
.sheet-lines li:last-child { border-bottom: 0; }
.sheet-lines li::before { content: counter(l) "."; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.sheet-lines li span:first-child { font-weight: 600; color: var(--ink); }
.sheet-lines li span:last-child { color: var(--ink-soft); }
@media (max-width: 480px) { .sheet-lines li { grid-template-columns: 1.4rem 1fr; } .sheet-lines li span:last-child { grid-column: 2; } .photo-slot { aspect-ratio: 4 / 3; } }

/* Intro de section sur une ligne */
.intro-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 3rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.intro-row h2 { max-width: 30rem; }
.intro-row p { color: var(--ink-soft); max-width: 26rem; }

/* Deux services côte à côte, séparés par un filet */
.duo { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .duo { grid-template-columns: 1fr 1fr; gap: 0; } .duo article + article { border-left: 1px solid var(--line); padding-left: 3rem; } .duo article:first-child { padding-right: 3rem; } }
.duo article { display: grid; gap: 1rem; align-content: start; }
.duo h3 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); }
.duo p { color: var(--ink-soft); max-width: 32rem; }

/* Bénéfices en liste de définitions */
.split-head { display: grid; gap: 1rem; align-content: start; }
.split-head p { color: var(--ink-soft); max-width: 28rem; }
.benefits { margin: 0; display: grid; }
.benefits > div { display: grid; gap: .3rem; padding: 1.15rem 0; border-top: 1px solid var(--line); }
.benefits > div:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 700px) { .benefits > div { grid-template-columns: 15rem 1fr; gap: 2rem; } }
.benefits dt { font-weight: 600; color: var(--blue); }
.benefits dd { margin: 0; color: var(--ink-soft); }

/* Publics en une phrase typographique */
.audience-line { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.45rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.3; color: var(--blue); max-width: 52rem; margin-top: 1rem; letter-spacing: -.01em; }

/* Étapes sur un fil */
.track { list-style: none; display: grid; gap: 2rem; counter-reset: t; }
@media (min-width: 820px) { .track { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }
.track li { counter-increment: t; position: relative; display: grid; gap: .55rem; padding-top: 2.4rem; min-width: 0; }
.track li::before { content: counter(t); position: absolute; top: 0; left: 0; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--blue); color: var(--on-blue); display: grid; place-items: center; font-size: .85rem; font-weight: 600; z-index: 1; }
.track li::after { content: ""; position: absolute; top: .95rem; left: 2.4rem; right: -2.5rem; height: 1px; background: var(--line); }
.track li:last-child::after { display: none; }
@media (max-width: 819px) { .track li::after { display: none; } }
.track p { color: var(--ink-soft); }

/* Bloc devis : ce qui sera demandé */
.asked { display: grid; gap: .9rem; align-content: start; }
.asked-title { font-weight: 600; color: var(--ink); }
.asked ul { list-style: none; display: grid; }
.asked li { padding: .75rem 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.asked li:last-child { border-bottom: 1px solid var(--line); }

/* Services : listes sobres */
.tasks { background: transparent; border: 0; border-top: 2px solid var(--blue); border-radius: 0; padding: 1.25rem 0 0; }
.tasks li svg { color: var(--blue); }
.card { box-shadow: none; }
.panel { border-radius: 8px; }
.faq summary { font-size: 1.02rem; }
@media (max-width: 899px) {
  .hero-visual { padding-bottom: 0; }
  .sheet { position: relative; width: auto; margin: -3.5rem 0 0 1rem; }
  .photo-slot { aspect-ratio: 4 / 3; }
}

/* --- Vidéos ------------------------------------------------------------- */
.video-block { position: relative; margin: clamp(2.5rem, 2rem + 2vw, 3.5rem) 0 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 16 / 9; max-width: 100%; }
.video-block video, .hero-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-video { padding: 0; overflow: hidden; }
.video-toggle { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(30, 60, 75, .78); color: #FAFAF7; display: grid; place-items: center; cursor: pointer; }
.video-toggle svg { width: 18px; height: 18px; fill: currentColor; }
.video-toggle .is-play, .video-toggle[aria-pressed="true"] svg:not(.is-play) { display: none; }
.video-toggle[aria-pressed="true"] .is-play { display: block; }
.video-toggle:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.hero-video { position: relative; aspect-ratio: 4 / 5; border-radius: 10px; }
@media (min-width: 900px) { .hero-video { width: 88%; } }
@media (max-width: 899px) { .hero-video { aspect-ratio: 4 / 5; } }
.video-sound { position: absolute; right: 66px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(30, 60, 75, .78); color: #FAFAF7; display: grid; place-items: center; cursor: pointer; }
.video-sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.video-sound svg path:first-child { fill: currentColor; }
.video-sound .is-on, .video-sound[aria-pressed="true"] .is-off { display: none; }
.video-sound[aria-pressed="true"] .is-on { display: block; }
.video-sound:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Hero : vidéo paysage sur ordinateur */
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 1rem + 3vw, 4.5rem); }
  .hero h1 { font-size: clamp(2.2rem, 1.2rem + 2.4vw, 3.3rem); }
  .hero-visual { padding-left: 0; }
  .hero-video { width: 100%; aspect-ratio: 16 / 9; }
}
@media (min-width: 1150px) { .hero .actions { flex-wrap: nowrap; } .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); } }

/* ==========================================================================
   Hero « film » : titre à gauche, texte + boutons à droite, vidéo pleine largeur
   ========================================================================== */
.hero--film { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0; }
.hero-top { display: grid; gap: 1.75rem; padding-bottom: clamp(2.5rem, 1.8rem + 3vw, 4.5rem); }
.hero-left, .hero-right { display: grid; gap: 1.25rem; align-content: start; min-width: 0; }
.hero--film h1 { font-size: clamp(2.4rem, 1.2rem + 4.4vw, 4.6rem); line-height: 1.04; letter-spacing: -.025em; max-width: 13ch; }
.hero--film .lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink); max-width: 34rem; }
@media (min-width: 900px) {
  .hero-top { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: end; }
  .hero-right { padding-bottom: .5rem; }
}
.hero--film .actions { flex-wrap: wrap; }
.hero-film { position: relative; margin: 0; width: 100%; aspect-ratio: 16 / 9; background: #1E3C4B; overflow: hidden; }
.hero-film video { display: block; width: 100%; height: 100%; object-fit: contain; background: #1E3C4B; }
/* Une seule vidéo 16:9 pour tous les écrans : jamais recadrée */
.hero-film-controls { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: 20px; display: flex; gap: 10px; }
.hero-film-controls .video-sound, .hero-film-controls .video-toggle { position: static; width: 48px; height: 48px; background: rgba(250, 250, 247, .16); backdrop-filter: blur(6px); border: 1px solid rgba(250, 250, 247, .35); }
.hero-film-controls .video-sound:hover, .hero-film-controls .video-toggle:hover { background: rgba(250, 250, 247, .28); }
.hero-film-controls :focus-visible { outline-color: #FAFAF7 !important; }
.hero-film-slot { aspect-ratio: 16 / 9; width: 100% !important; margin: 0 0 var(--section) !important; }
@media (min-width: 1280px) { .hero--film .actions { flex-wrap: nowrap; } .hero--film .actions .btn { white-space: nowrap; } }

/* ==========================================================================
   Rubrique Conseils
   ========================================================================== */
.post-grid { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; } }
.post-card { display: grid; gap: .6rem; align-content: start; padding: 1.6rem 0 1.8rem; border-bottom: 1px solid var(--line); position: relative; }
.post-card h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.25; }
.post-card h2 a { color: var(--blue); text-decoration: none; }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; }
.post-card h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-card p:not(.post-meta) { color: var(--ink-soft); max-width: 36rem; }
.post-card .link-arrow { margin-top: .3rem; }
.post-meta { font-size: .88rem; color: var(--sage-text); font-weight: 500; font-variant-numeric: tabular-nums; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .9rem; color: var(--ink-soft); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.post-hero h1 { max-width: 22ch; }
.post-hero .lead { max-width: 44rem; color: var(--ink); }
.post-layout { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
@media (min-width: 1000px) { .post-layout { grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; align-items: start; } .post-toc { position: sticky; top: calc(100px + env(safe-area-inset-top, 0px)); } }
.post-toc { border-left: 2px solid var(--line); padding-left: 1rem; }
.post-toc-title { font-weight: 600; color: var(--ink); margin-bottom: .6rem; font-size: .95rem; }
.post-toc ol { list-style: none; display: grid; gap: .45rem; }
.post-toc a { color: var(--ink-soft); text-decoration: none; font-size: .92rem; line-height: 1.4; display: block; }
.post-toc a:hover { color: var(--blue); }
.post-body { max-width: 44rem; gap: 1.15rem; }
.post-body h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.65rem); margin-top: 1.6rem; scroll-margin-top: 100px; }
.post-body h3 { font-size: 1.15rem; margin-top: .6rem; }
.post-body ol { padding-left: 1.3rem; display: grid; gap: .5rem; }
.post-body li { padding-left: .2rem; }
.post-body a { text-decoration-thickness: 1px; }
.post-body strong { color: var(--ink); }
.post-faq { margin-top: 1.5rem; display: grid; gap: .5rem; }
.post-cta { margin-top: 2rem; }
.post-cta h2 { margin-top: 0; font-size: 1.35rem; }
.related-title { font-size: 1.35rem; margin-bottom: 1.5rem; }
.post-body .table-wrap { overflow-x: auto; }
.post-body table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: .4rem 0; }
.post-body th, .post-body td { text-align: left; vertical-align: top; padding: .7rem .8rem; border-bottom: 1px solid var(--line); }
.post-body th { font-weight: 600; color: var(--blue); border-bottom: 2px solid var(--blue); }

/* --- Qui sommes-nous ----------------------------------------------------- */
.about-hero h1 { max-width: 20ch; }
.about-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4.5rem; align-items: start; } }
.about-portrait { margin: 0; aspect-ratio: 4 / 5; max-width: 26rem; width: 100%; border-radius: 10px; background: var(--mist); display: flex; align-items: flex-end; padding: 1rem; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.about-text { gap: 1.2rem; max-width: 40rem; }
.about-lead { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.3rem); line-height: 1.6; color: var(--ink); }
.about-quote { margin: .6rem 0; padding: 1.1rem 0 1.1rem 1.4rem; border-left: 3px solid var(--blue); }
.about-quote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 1.05rem + .5vw, 1.35rem); line-height: 1.45; color: var(--blue); }
.about-sign { font-weight: 600; color: var(--ink); }
.origin-line { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--ink); max-width: 46rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: baseline; }
.fiche-team { font-size: .92rem; color: var(--ink); padding: 1rem 1.1rem; border-left: 3px solid var(--blue); background: var(--surface); border-radius: 0 8px 8px 0; }
.about-grid--single { grid-template-columns: 1fr !important; } .about-grid--single .about-text { max-width: 44rem; }
