/* SAM Entretien — feuille de style de production.
   Jetons : copiés du système de design « Clair » v1 (tokens.css). Les composants utilisent les jetons, jamais de hex brut.
   Polices auto-hébergées (OFL) : Archivo (titres, wdth 100–125, wght 700–800) + Atkinson Hyperlegible Next (texte, wght 400–700). */

@font-face { font-family: "Archivo"; src: url("/assets/fonts/archivo-display.woff") format("woff"); font-weight: 700 800; font-stretch: 100% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/assets/fonts/atkinson-hyperlegible-next.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --sam-navy: #12355B; --sam-navy-700: #1A4570; --sam-navy-900: #0C2846;
  --sam-glass: #4FA3D9; --sam-glass-deep: #1E6FA8;
  --sam-ice: #E8F4FB; --sam-ice-200: #D3E7F4; --sam-ice-300: #C3DDF0;
  --sam-yellow: #F2B705; --sam-yellow-hover: #E5AC00; --sam-yellow-active: #CC9A00;
  --sam-white: #FFFFFF; --sam-slate: #4A5F78; --sam-slate-light: #A9C3D8; --sam-field: #6B7F95;
  --sam-hair: #C9DCEA; --sam-hair-ice: #9FC3DD; --sam-rule-navy: #3B5E86;
  --sam-red: #B3261E; --sam-green: #1D6B43;

  --color-bg: var(--sam-white);
  --color-surface: var(--sam-ice);
  --color-surface-raised: var(--sam-white);
  --color-surface-inverse: var(--sam-navy);
  --color-text: var(--sam-navy);
  --color-text-muted: var(--sam-slate);
  --color-text-on-inverse: var(--sam-white);
  --color-text-soft-on-inverse: var(--sam-ice);
  --color-text-muted-on-inverse: var(--sam-slate-light);
  --color-border: var(--sam-hair);
  --color-border-on-surface: var(--sam-hair-ice);
  --color-border-on-inverse: var(--sam-rule-navy);
  --color-border-field: var(--sam-field);
  --color-action: var(--sam-yellow);
  --color-action-hover: var(--sam-yellow-hover);
  --color-action-active: var(--sam-yellow-active);
  --color-on-action: var(--sam-navy);
  --color-action-disabled: #DCE6EE;
  --color-on-action-disabled: var(--sam-slate);
  --color-secondary-hover: var(--sam-ice);
  --color-secondary-active: var(--sam-ice-200);
  --color-link: var(--sam-glass-deep);
  --color-link-hover: var(--sam-navy);
  --color-stroke: var(--sam-glass);
  --color-focus: var(--sam-glass-deep);
  --color-focus-on-inverse: var(--sam-glass);
  --color-success: var(--sam-green);
  --color-error: var(--sam-red);
  --color-placeholder-a: var(--sam-ice);
  --color-placeholder-b: #DCEBF5;
  --color-border-subtle: #E1E9EF;
  --color-logo: var(--color-text);
  --color-control-accent: var(--sam-navy);
  --color-badge-bg: var(--sam-navy);
  --color-badge-text: var(--sam-white);
  --color-strong-bg: var(--sam-navy);
  --color-strong-bg-hover: var(--sam-navy-700);
  --color-strong-text: var(--sam-white);
  --color-highlight: #FDF1C7;
  --color-drop-active: var(--sam-ice-200);
  --color-menu-bg: var(--color-bg);
  --shadow-menu: 0 8px 24px rgba(18, 53, 91, .16);

  --font-display: "Archivo", "Arial", sans-serif;
  --font-text: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  --stretch-display: 112%;
  --text-hero: clamp(2.625rem, 1.75rem + 3.94vw, 5.25rem);
  --text-h1: clamp(2.125rem, 1.45rem + 3.3vw, 4.5rem);
  --text-h2: clamp(2rem, 1.56rem + 1.88vw, 3.25rem);
  --text-h3: clamp(1.375rem, 1.2rem + 0.75vw, 1.875rem);
  --text-h3-lg: clamp(1.625rem, 1.3rem + 1.4vw, 2.5rem);
  --text-list: clamp(1.375rem, 1.15rem + 1vw, 2rem);
  --text-lead: clamp(1.1875rem, 1.12rem + 0.28vw, 1.375rem);
  --text-body: clamp(1.0625rem, 1.04rem + 0.09vw, 1.125rem);
  --text-small: 0.9375rem;

  --page-margin: clamp(20px, 5vw, 80px);
  --section-pad: clamp(72px, 9vw, 128px);
  --content-max: 1320px;
  --radius: 4px;
  --focus: 3px solid var(--color-focus);
  --dur-micro: 150ms;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

/* Mode sombre : suit le réglage de l'appareil (prefers-color-scheme), comme le demande la méthode (Master Instructions §08).
   Fond marine presque noir (jamais #000), surfaces plus claires pour l'élévation, accents un peu adoucis.
   Les sections marine (En règle, pied de page) gardent le marine de la marque. Le jaune d'action ne change pas.
   data-theme="light" ou "dark" sur <html> force un mode (prévu pour un éventuel bouton ; aucun bouton pour l'instant).
   Les deux blocs ci-dessous doivent rester identiques. Contrastes vérifiés (WCAG AA) : texte ≥ 7:1, liens ≥ 6,7:1, focus et bordures de champ ≥ 5:1. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --color-bg: #0B1A2B; --color-surface: #102338; --color-surface-raised: #16304C;
    --color-text: var(--sam-ice); --color-text-muted: var(--sam-slate-light);
    --color-border: #2A4A6B; --color-border-subtle: #2A4A6B; --color-border-on-surface: #33567C; --color-border-field: #8FA6BC;
    --color-action-disabled: #23384F; --color-on-action-disabled: var(--sam-slate-light);
    --color-secondary-hover: #16304C; --color-secondary-active: #1E3D5F;
    --color-link: #7CC0EA; --color-link-hover: var(--sam-ice);
    --color-focus: #7CC0EA; --color-focus-on-inverse: #7CC0EA;
    --color-success: #6FCF97; --color-error: #F28B82;
    --color-placeholder-a: #102338; --color-placeholder-b: #16304C;
    --color-control-accent: #7CC0EA;
    --color-badge-bg: var(--sam-ice); --color-badge-text: var(--sam-navy);
    --color-strong-bg: var(--sam-ice); --color-strong-bg-hover: var(--sam-white); --color-strong-text: var(--sam-navy);
    --color-highlight: #5C4A00; --color-drop-active: #1E3D5F;
    --color-menu-bg: #16304C; --shadow-menu: 0 8px 24px rgba(0, 0, 0, .45);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: #0B1A2B; --color-surface: #102338; --color-surface-raised: #16304C;
  --color-text: var(--sam-ice); --color-text-muted: var(--sam-slate-light);
  --color-border: #2A4A6B; --color-border-subtle: #2A4A6B; --color-border-on-surface: #33567C; --color-border-field: #8FA6BC;
  --color-action-disabled: #23384F; --color-on-action-disabled: var(--sam-slate-light);
  --color-secondary-hover: #16304C; --color-secondary-active: #1E3D5F;
  --color-link: #7CC0EA; --color-link-hover: var(--sam-ice);
  --color-focus: #7CC0EA; --color-focus-on-inverse: #7CC0EA;
  --color-success: #6FCF97; --color-error: #F28B82;
  --color-placeholder-a: #102338; --color-placeholder-b: #16304C;
  --color-control-accent: #7CC0EA;
  --color-badge-bg: var(--sam-ice); --color-badge-text: var(--sam-navy);
  --color-strong-bg: var(--sam-ice); --color-strong-bg-hover: var(--sam-white); --color-strong-text: var(--sam-navy);
  --color-highlight: #5C4A00; --color-drop-active: #1E3D5F;
  --color-menu-bg: #16304C; --shadow-menu: 0 8px 24px rgba(0, 0, 0, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--color-bg); color: var(--color-text); font-family: var(--font-text); font-size: var(--text-body); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--color-link); }
a:hover { color: var(--color-link-hover); }
:focus-visible { outline: var(--focus); outline-offset: 3px; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

/* Structure */
.wrap { max-width: var(--content-max); margin-inline: auto; }
.section { padding: var(--section-pad) var(--page-margin); }
.section--flush-top { padding-top: 0; }
.section--ice { background: var(--color-surface); }
.section--navy { background: var(--color-surface-inverse); color: var(--color-text-on-inverse); }
.section--navy :focus-visible { outline-color: var(--color-focus-on-inverse); }
.rule-top { padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--color-border); }
.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; }

/* Typographie */
.eyebrow { font-size: 16px; font-weight: 700; color: var(--color-text-muted); text-wrap: balance; }
.section--navy .eyebrow { color: var(--color-text-muted-on-inverse); }
.display, .h1, .h2, .h3 { font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 800; text-wrap: balance; overflow-wrap: break-word; }
.display { font-size: var(--text-hero); line-height: 1.02; letter-spacing: -0.012em; }
.h1 { font-size: var(--text-h1); line-height: 1.04; letter-spacing: -0.012em; }
.h2 { font-size: var(--text-h2); line-height: 1.05; letter-spacing: -0.01em; }
.h3 { font-size: var(--text-h3); line-height: 1.15; }
.h3--lg { font-size: var(--text-h3-lg); line-height: 1.1; }
.lead { font-size: var(--text-lead); line-height: 1.5; text-wrap: pretty; }
.muted { color: var(--color-text-muted); }
.small { font-size: var(--text-small); }
.pretty { text-wrap: pretty; }
.block { display: block; }

/* Le trait : un seul par section, jamais deux visibles ensemble */
.stroke-word { position: relative; display: inline-block; white-space: nowrap; }
.stroke { position: absolute; left: -1%; right: -5%; bottom: -0.17em; height: 0.22em; display: block; animation: sam-draw 650ms var(--ease-out) 250ms both; }
.stroke svg { display: block; width: 100%; height: 100%; }
@keyframes sam-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Boutons et liens */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border: 0; border-radius: var(--radius); font: 700 1.0625rem/1.3 var(--font-text); text-decoration: none; cursor: pointer; transition: background-color var(--dur-micro) ease-out; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 18px; }
.btn--sm { min-height: 44px; padding: 0 14px; font-size: 16px; }
.btn--primary { background: var(--color-action); color: var(--color-on-action); }
.btn--primary:hover { background: var(--color-action-hover); color: var(--color-on-action); }
.btn--primary:active { background: var(--color-action-active); }
.btn--secondary { background: var(--color-surface-raised); color: var(--color-text); box-shadow: inset 0 0 0 2px currentColor; }
.btn--secondary:hover { background: var(--color-secondary-active); color: var(--color-text); }
.btn--ghost { background: transparent; color: var(--color-text); box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover { background: var(--color-secondary-hover); color: var(--color-text); }
.btn--navy { background: var(--color-strong-bg); color: var(--color-strong-text); }
.btn--navy:hover { background: var(--color-strong-bg-hover); color: var(--color-strong-text); }
.btn[disabled] { background: var(--color-action-disabled); color: var(--color-on-action-disabled); cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row > .btn { flex: 1 1 auto; }
.link-strong { font-weight: 700; color: var(--color-link); text-underline-offset: 4px; }
.link-solo { display: inline-flex; align-items: center; min-height: 44px; }
.link-strong:hover { color: var(--color-link-hover); text-decoration-thickness: 2px; }
.tel { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* En-tête */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--sam-navy); color: var(--sam-white); padding: 12px 16px; border-radius: var(--radius); font-weight: 700; }
.skip:focus { left: 8px; outline: 3px solid var(--sam-glass); outline-offset: 2px; color: var(--sam-white); }
.site-header { position: relative; background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.site-header__bar { max-width: 1440px; margin: 0 auto; height: clamp(68px, 5.4vw, 80px); padding: 0 clamp(16px, 4vw, 64px); display: flex; align-items: center; gap: 20px; }
.brand { flex: none; display: block; width: clamp(96px, 8vw, 118px); border-radius: 2px; }
.brand:focus-visible { outline-offset: 4px; }
.logo { display: block; width: 100%; height: auto; overflow: visible; color: var(--color-logo); }
.logo--inverse { color: var(--color-text-on-inverse); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--color-text); text-decoration: none; font-weight: 700; font-size: 16px; padding: 12px 14px; border-radius: var(--radius); }
.nav a:hover { background: var(--color-secondary-hover); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--color-text); }
.header-actions { display: flex; align-items: center; gap: 14px; padding-left: 14px; border-left: 1px solid var(--color-border); }
.header-actions a:not(.btn) { color: var(--color-text); font-size: 16px; font-weight: 700; padding: 12px 4px; }
.header-actions .tel { text-decoration: none; }
.header-actions .btn { min-height: 48px; padding: 0 20px; font-size: 16px; white-space: nowrap; }
.header-compact { margin-left: auto; display: none; align-items: center; gap: 8px; }
.menu-btn { min-height: 44px; min-width: 44px; padding: 0 14px; border: 0; border-radius: var(--radius); background: var(--color-surface-raised); box-shadow: inset 0 0 0 2px var(--color-text); color: var(--color-text); font: 700 16px var(--font-text); cursor: pointer; }
.mobile-menu { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; background: var(--color-menu-bg); border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-menu); padding: 8px clamp(16px, 4vw, 64px) 24px; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { color: var(--color-text); text-decoration: none; font-weight: 700; font-size: 20px; padding: 14px 0; border-bottom: 1px solid var(--color-border-subtle); }
.mobile-menu nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.mobile-menu__actions { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; }
.mobile-menu__actions .btn { width: 100%; }
.mobile-menu__lang { align-self: flex-start; min-height: 48px; display: flex; align-items: center; color: var(--color-text); font-weight: 700; text-underline-offset: 3px; }
@media (max-width: 1079.98px) {
  .nav, .header-actions { display: none; }
  .header-compact { display: flex; }
  .no-js .menu-btn { display: none; }
  .no-js .mobile-menu[hidden] { display: block !important; position: static; box-shadow: none; }
}
@media (min-width: 1080px) { .mobile-menu { display: none !important; } }

/* Pied de page */
.site-footer { background: var(--color-surface-inverse); color: var(--color-text-on-inverse); font-size: 16px; line-height: 1.55; padding: clamp(56px, 7vw, 96px) var(--page-margin) 32px; }
.site-footer :focus-visible { outline-color: var(--color-focus-on-inverse); }
.site-footer a { color: var(--sam-white); }
.site-footer a:hover { color: var(--sam-ice); }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.site-footer__brand { flex: 1.3 1 280px; display: flex; flex-direction: column; gap: 22px; }
.site-footer__brand .logo { width: 150px; }
.site-footer__slogan { font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); line-height: 1.25; max-width: 22ch; text-wrap: balance; }
.site-footer__col { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; }
.site-footer__col--narrow { flex-basis: 180px; }
.site-footer__label { font-size: 15px; font-weight: 700; color: var(--color-text-muted-on-inverse); }
.site-footer__col a { padding: 10px 0; text-underline-offset: 3px; }
.site-footer__col span:not(.site-footer__label) { padding: 6px 0; }
.site-footer__col span:not(.site-footer__label) { color: var(--color-text-soft-on-inverse); }
.site-footer__col .strong { font-weight: 700; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--color-border-on-inverse); font-size: 15px; color: var(--color-text-soft-on-inverse); }
.site-footer__bottom > :first-child { margin-right: auto; }
.site-footer__bottom a { padding: 10px 0; text-underline-offset: 3px; }

/* Images */
.photo { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); background: var(--color-surface); }
.ratio-4-3 { aspect-ratio: 4 / 3; } .ratio-16-9 { aspect-ratio: 16 / 9; } .ratio-4-5 { aspect-ratio: 4 / 5; } .ratio-2-3 { aspect-ratio: 2 / 3; }

/* Accueil · héros */
.hero { padding: clamp(40px, 6vw, 88px) var(--page-margin) clamp(64px, 7vw, 112px); }
.hero__inner { display: flex; flex-direction: column; gap: clamp(28px, 3.5vw, 48px); }
.hero__head { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 24px); }
.hero__grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 4vw, 64px); align-items: flex-start; }
.hero__text { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 24px; max-width: 580px; }
.hero__media { flex: 1.4 1 420px; min-width: 0; }
.proof { margin: 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.5; display: flex; flex-wrap: wrap; gap: 4px 20px; font-weight: 700; }

/* Accueil · services */
.svc-grid { display: flex; flex-wrap: wrap; gap: clamp(20px, 2.4vw, 32px); align-items: stretch; }
.svc-card { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--color-surface-raised); box-shadow: inset 0 0 0 1px var(--color-border); color: var(--color-text); text-decoration: none; transition: box-shadow var(--dur-micro) ease-out; }
.svc-card:hover { box-shadow: inset 0 0 0 2px var(--color-text); color: var(--color-text); }
.svc-card--feature { flex: 1.6 1 460px; min-width: 0; overflow: hidden; }
.svc-card--feature img { border-radius: 0; }
.svc-card__body { padding: clamp(20px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 12px; }
.svc-card__more { font-weight: 700; color: var(--color-link); text-decoration: underline; text-underline-offset: 4px; }
.svc-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 32px); }
.svc-side .svc-card { flex: 1 1 auto; justify-content: space-between; gap: 16px; padding: clamp(20px, 2.4vw, 32px); }
.badge { font-size: 15px; font-weight: 700; background: var(--color-badge-bg); color: var(--color-badge-text); padding: 3px 10px; border-radius: 3px; }
.title-badge { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }

/* Liste « Pourquoi », « En règle », méthodes */
.split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 96px); align-items: flex-start; }
.split__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split__main { flex: 1.6 1 520px; min-width: 0; }
.rule-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.rule-list > li { display: flex; flex-direction: column; gap: 6px; padding: clamp(18px, 2.2vw, 26px) 0; border-top: 1px solid var(--color-border-on-inverse); }
.rule-list__h { font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 800; font-size: var(--text-list); line-height: 1.15; }
.rule-list__p { color: var(--color-text-soft-on-inverse); max-width: 56ch; text-wrap: pretty; }

/* Avant / après */
.pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: clamp(24px, 3vw, 48px); }
.pair { display: flex; flex-direction: column; gap: 12px; }
.pair__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pair__cell { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 700; }
.pair figcaption { font-size: 16px; color: var(--color-text-muted); display: flex; flex-direction: column; gap: 4px; }
.pair figcaption strong { color: var(--color-text); }
.head-split { display: flex; flex-wrap: wrap; gap: 12px 48px; align-items: flex-end; justify-content: space-between; }

/* Étapes */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(24px, 3vw, 48px); }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--color-text); }
.steps__n { font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 800; font-size: clamp(2.5rem, 2rem + 2vw, 4rem); line-height: 1; }
.steps__t { font-size: var(--text-lead); line-height: 1.45; font-weight: 700; max-width: 26ch; text-wrap: pretty; }

/* Témoignages */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(24px, 3vw, 48px); }
.quote { display: flex; flex-direction: column; gap: 16px; padding-top: 20px; border-top: 2px solid var(--color-text); }
.quote blockquote { font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 700; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); line-height: 1.35; }

/* Nous joindre */
.contact-dl { margin: 0; display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: 0 32px; border-top: 2px solid var(--color-text); }
.contact-dl dt { font-weight: 700; padding: 16px 0; border-bottom: 1px solid var(--color-border-on-surface); }
.contact-dl dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--color-border-on-surface); }
.contact-dl .big-tel { font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); color: var(--color-text); text-decoration: none; display: inline-block; }
.contact-dl a { color: var(--color-text); font-weight: 700; text-underline-offset: 3px; word-break: break-word; display: inline-block; padding: 8px 0; }
.contact-dl a:hover { color: var(--color-link); }

/* Services */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.subnav a { min-height: 48px; padding: 0 18px; border-radius: var(--radius); box-shadow: inset 0 0 0 1.5px var(--color-text); color: var(--color-text); font-weight: 700; font-size: 16px; text-decoration: none; display: flex; align-items: center; }
.subnav a:hover { background: var(--color-secondary-hover); color: var(--color-text); }
.facts { margin: 0; display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: 0 28px; max-width: 680px; }
.facts dt { font-weight: 700; padding: 14px 0; border-top: 1px solid var(--color-border); }
.facts dd { margin: 0; padding: 14px 0; border-top: 1px solid var(--color-border); text-wrap: pretty; }
.facts > :nth-last-child(-n+2) { border-bottom: 1px solid var(--color-border); }
.section--ice .facts dt, .section--ice .facts dd { border-color: var(--color-border-on-surface); }
.media-split { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); align-items: flex-start; }
.media-split__text { flex: 1.3 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.media-split__media { flex: 1 1 320px; min-width: 0; max-width: 520px; }
.band { display: flex; flex-wrap: wrap-reverse; gap: clamp(28px, 4vw, 64px); align-items: center; background: var(--color-surface); border-radius: var(--radius); overflow: hidden; }
.band__media { flex: 1.2 1 420px; min-width: 0; align-self: stretch; position: relative; min-height: clamp(280px, 32vw, 460px); }
.band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; border-radius: 0; }
.band__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 4vw, 56px) clamp(20px, 4vw, 56px); }
.office-grid { flex: 1 1 360px; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.office-grid > :first-child { grid-row: span 2; }
.office-grid__cell { position: relative; min-height: 0; border-radius: var(--radius); overflow: hidden; }
.office-grid__cell img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.boxed { display: flex; flex-direction: column; gap: 14px; padding: clamp(20px, 2.6vw, 32px); border-radius: var(--radius); box-shadow: inset 0 0 0 2px var(--color-text); max-width: 680px; }
.methods li { font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 800; font-size: var(--text-list); line-height: 1.15; padding: clamp(18px, 2.2vw, 26px) 0; border-top: 1px solid var(--color-border-on-inverse); }
.faq { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; border-top: 2px solid var(--color-text); }
.faq details { border-bottom: 1px solid var(--color-border-on-surface); }
.faq summary { list-style: none; cursor: pointer; min-height: 56px; padding: 16px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 700; font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--font-text); font-size: 26px; font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; max-width: 62ch; text-wrap: pretty; }

/* À propos */
.portraits { flex: 1 1 360px; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.portraits figure { display: flex; flex-direction: column; gap: 8px; }
.portraits figcaption { font-size: 15px; line-height: 1.4; }
.pull { margin-top: 12px; padding-top: 24px; border-top: 2px solid var(--color-text); display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.pull blockquote { font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 700; font-size: clamp(1.3125rem, 1.15rem + 0.7vw, 1.75rem); line-height: 1.3; text-wrap: pretty; }
.values { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(24px, 3vw, 40px); }
.values > div { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--color-text); }
.values dt { font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 800; font-size: var(--text-h3); line-height: 1.15; }
.values dd { margin: 0; text-wrap: pretty; }

/* Texte long (politique) */
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { font-family: var(--font-display); font-stretch: var(--stretch-display); font-weight: 800; font-size: var(--text-h3); line-height: 1.15; margin-top: 20px; text-wrap: balance; }
.placeholder { background: var(--color-highlight); padding: 0 4px; border-radius: 2px; }

/* Formulaire de soumission */
.qf { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 80px); align-items: flex-start; font-size: 17px; line-height: 1.55; }
.qf__aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.qf__facts { margin: 0; display: flex; flex-direction: column; max-width: 420px; }
.qf__facts > div { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 1px solid var(--color-border); }
.qf__facts > div:first-child { border-top: 2px solid var(--color-text); }
.qf__facts > div:last-child { border-bottom: 1px solid var(--color-border); }
.qf__facts dt { font-size: 15px; font-weight: 700; color: var(--color-text-muted); }
.qf__facts dd { margin: 0; font-weight: 700; }
.qf__facts a { color: var(--color-text); font-weight: 700; text-underline-offset: 3px; display: inline-block; padding: 8px 0; }
.qf__panel { flex: 1.5 1 460px; min-width: 0; background: var(--color-surface); border-radius: var(--radius); padding: clamp(20px, 3vw, 40px); }
.qf__form { display: flex; flex-direction: column; gap: 26px; }
.qf fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.qf legend, .qf .label { padding: 0; margin-bottom: 6px; font-size: 17px; font-weight: 700; }
.qf .label { margin-bottom: 0; }
.hint { font-weight: 400; color: var(--color-text-muted); font-size: 15px; line-height: 1.45; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 8px; }
.choice { flex: 1 1 auto; min-height: 52px; padding: 10px 16px; border-radius: var(--radius); display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 16px; line-height: 1.3; background: var(--color-surface-raised); box-shadow: inset 0 0 0 1.5px var(--color-border-field); }
.choice input { width: 22px; height: 22px; margin: 0; accent-color: var(--color-control-accent); flex: none; cursor: pointer; }
.choice:has(input:checked) { font-weight: 700; box-shadow: inset 0 0 0 2px var(--color-text); }
.qf fieldset[data-invalid] .choice:not(:has(input:checked)) { box-shadow: inset 0 0 0 2px var(--color-error); }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.input { min-height: 52px; padding: 0 14px; width: 100%; border: 0; border-radius: var(--radius); background: var(--color-surface-raised); color: var(--color-text); font: 400 17px var(--font-text); box-shadow: inset 0 0 0 1.5px var(--color-border-field); }
textarea.input { padding: 12px 14px; line-height: 1.5; resize: vertical; }
.input:focus-visible { outline-offset: 2px; }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--color-error); }
.error { font-size: 15px; font-weight: 700; color: var(--color-error); line-height: 1.4; }
.error:empty { display: none; }
.drop { border-radius: var(--radius); background: var(--color-surface-raised); box-shadow: inset 0 0 0 1.5px var(--color-border-on-surface); padding: clamp(16px, 2.4vw, 22px); display: flex; flex-direction: column; gap: 16px; transition: background-color var(--dur-micro) ease-out; }
.drop.is-dragging { background: var(--color-drop-active); box-shadow: inset 0 0 0 2px var(--color-text); }
.drop__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.drop__hint { font-size: 15px; color: var(--color-text-muted); }
@media (pointer: coarse) { .drop__hint { display: none; } }
.thumbs { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.thumbs li { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--color-surface-raised); box-shadow: inset 0 0 0 1px var(--color-border); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs .thumb__name { width: 100%; height: 100%; display: flex; align-items: flex-end; padding: 8px; font-size: 13px; line-height: 1.3; word-break: break-all; color: var(--color-text-muted); }
.thumbs button { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border: 0; padding: 6px; background: transparent; cursor: pointer; display: flex; align-items: flex-start; justify-content: flex-end; }
.thumbs button:focus-visible { outline-offset: -3px; }
.thumbs button span { width: 28px; height: 28px; border-radius: 50%; background: var(--sam-navy); color: var(--sam-white); display: flex; align-items: center; justify-content: center; font: 700 18px/1 var(--font-text); }
.alert { padding: 16px 18px; border-radius: var(--radius); background: var(--color-surface-raised); display: flex; flex-direction: column; gap: 6px; }
.alert:focus { outline: none; }
.alert--error { box-shadow: inset 0 0 0 2px var(--color-error); }
.alert--error strong, .alert--error.summary { color: var(--color-error); font-weight: 700; }
.qf__submit { display: flex; flex-direction: column; gap: 12px; }
.qf__submit .btn { min-height: 58px; font-size: 18px; flex-direction: column; gap: 5px; }
.qf__progress { min-height: 1.5em; font-size: 15px; font-weight: 700; text-align: center; }
.qf__busy { display: block; width: 120px; height: 6px; animation: sam-swipe 800ms ease-out infinite; }
@keyframes sam-swipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.center { text-align: center; }
.qf__done { display: flex; flex-direction: column; gap: 16px; padding: clamp(8px, 2vw, 24px) 0; }
.qf__done:focus { outline: none; }
.qf__done .eyebrow { color: var(--color-success); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .stroke { animation: none; }
}
.stroke path { fill: var(--color-stroke); }

@media (max-width: 380px) {
  .site-header__bar { gap: 10px; padding-inline: 16px; }
  .brand { width: 92px; }
  .header-compact .btn--sm { padding: 0 12px; }
  .contact-dl { grid-template-columns: 1fr; }
  .contact-dl dt { border-bottom: 0; padding-bottom: 0; }
}
