/* =====================================================================
   EXBAT MO — feuille de style
   Palette issue du logo + teintes « texte » dérivées pour l'accessibilité.
   ===================================================================== */

/* ---------- Polices auto-hébergées (licence SIL OFL, voir assets/fonts) ---------- */
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/outfit-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Couleurs de marque */
  --marine: #1A2140;
  --marine-2: #232B52;       /* marine légèrement éclairci pour les surfaces sur fond marine */
  --turquoise: #68CBBF;      /* décoratif, fonds de boutons avec texte marine, texte sur marine */
  --menthe: #D3EDB7;         /* petites surfaces : slogan, badges */
  --blanc: #FFFFFF;

  /* Teintes dérivées « texte » (contrastes vérifiés WCAG AA)
     --turquoise-texte : 5,7:1 sur --papier / 6,1:1 sur blanc  (≠ #68CBBF : 1,8:1) */
  --turquoise-texte: #1B6E65;
  --turquoise-pale: #E3F4F1;

  --papier: #F7F8FA;         /* fond du corps de page */
  --papier-2: #EEF1F5;       /* sections alternées */
  --encre: #1A2140;          /* texte principal : 14,8:1 */
  --encre-douce: #4A5270;    /* texte secondaire : 7,2:1 */
  --trait: #D9DEE8;
  --sur-marine-doux: #B8BFD6;/* texte secondaire sur marine : 8,6:1 */

  --font-titre: "Outfit", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-texte: "Public Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 72px;
  --radius-s: 6px;
  --radius-m: 14px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--encre);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 {
  font-family: var(--font-titre);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -0.015em;
}
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--turquoise-texte); text-underline-offset: .18em; }
a:hover { color: var(--marine); }
address { font-style: normal; }
ul, ol { padding: 0; margin: 0; list-style: none; }
figure { margin: 0; }

:focus-visible {
  outline: 3px solid var(--turquoise-texte);
  outline-offset: 3px;
  border-radius: 3px;
}
.site-header :focus-visible,
.hero :focus-visible,
.section--dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--menthe); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--menthe); color: var(--marine); padding: .6rem 1rem;
  border-radius: var(--radius-s); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem;
  font-family: var(--font-titre); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  border-radius: var(--radius-s); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--turquoise); color: var(--marine); }   /* 8,2:1 */
.btn-primary:hover { background: var(--menthe); color: var(--marine); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: var(--blanc); }
.btn-ghost:hover { border-color: var(--turquoise); color: var(--turquoise); }
.btn-dark { background: var(--marine); color: var(--blanc); margin-top: .5rem; }
.btn-dark:hover { background: var(--turquoise-texte); color: var(--blanc); }
.text-link { font-family: var(--font-titre); font-weight: 600; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--marine); color: var(--blanc);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(104,203,191,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--blanc); text-decoration: none; }
.brand:hover { color: var(--blanc); }
.brand { line-height: 0; }
/* Logo inline : couleurs pilotables */
.logo { display: block; height: auto; color: var(--blanc); }
.logo-picto { stroke: var(--logo-picto, var(--turquoise)); }
.logo-name { fill: currentColor; }
.logo-slogan { fill: var(--logo-slogan, var(--menthe)); }
.site-header .logo { width: clamp(150px, 16vw, 188px); }
.site-header .logo-picto { stroke-width: 22; }  /* trait épaissi pour la petite taille */

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.6rem; }
.site-nav ul a {
  color: var(--blanc); text-decoration: none; font-weight: 500; font-size: .98rem;
  padding: .4rem 0; border-bottom: 2px solid transparent;
}
.site-nav ul a:hover, .site-nav ul a[aria-current="true"] { color: var(--turquoise); border-bottom-color: var(--turquoise); }
.header-phone {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--turquoise); color: var(--marine); text-decoration: none;
  font-family: var(--font-titre); font-weight: 700; padding: .55rem 1rem; border-radius: var(--radius-s);
  white-space: nowrap;
}
.header-phone:hover { background: var(--menthe); color: var(--marine); }
.header-phone svg { width: 18px; height: 18px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; padding: 0;
  position: relative; color: var(--blanc);
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  position: absolute; left: 12px; width: 24px; height: 2px; background: currentColor; content: "";
  transition: transform .25s, background-color .25s;
}
.nav-toggle-bar { top: 23px; }
.nav-toggle-bar::before { left: 0; top: -8px; }
.nav-toggle-bar::after { left: 0; top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1.25rem;
    background: var(--marine); padding: 1rem var(--gutter) 1.75rem;
    border-top: 1px solid rgba(255,255,255,.1);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .85rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.1rem; }
  .header-phone { justify-content: center; min-height: 48px; }
}

/* ---------- Héros ---------- */
.hero {
  background: var(--marine); color: var(--blanc);
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(7rem, 12vw, 9.5rem);
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; }
.hero-kicker { color: var(--turquoise); font-weight: 600; font-size: 1.05rem; margin-bottom: 1.25rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero-brand {
  display: block; font-weight: 800; letter-spacing: .03em;
  font-size: clamp(3.2rem, 1.8rem + 6vw, 6.25rem); line-height: .95;
}
.hero-slogan {
  display: inline-block; margin-top: 1rem;
  font-weight: 500; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.8rem); letter-spacing: 0;
  color: var(--marine); background: var(--menthe);
  padding: .2em .55em .25em; border-radius: var(--radius-s);
}
.hero-lead { color: var(--sur-marine-doux); font-size: 1.15rem; max-width: 36em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-drawing svg { width: 100%; height: auto; overflow: visible; }
.hero-drawing .draw { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.draw-main { stroke: var(--turquoise); stroke-width: 7; stroke-linejoin: miter !important; stroke-miterlimit: 10; }
.draw-thin { stroke: rgba(104,203,191,.5); stroke-width: 1.6; }
.draw-accent { stroke: var(--menthe); stroke-width: 7; }
.draw-grid { stroke: rgba(255,255,255,.08); stroke-width: 1.5; stroke-dasharray: 4 8; }
.draw-labels { fill: var(--sur-marine-doux); font-family: var(--font-texte); font-size: 18px; }

/* Tracé unique au chargement (seul mouvement non déclenché de la page) */
@media (prefers-reduced-motion: no-preference) {
  .hero-drawing .draw path, .hero-drawing .draw-accent {
    stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: tracer 1.6s cubic-bezier(.6,.05,.3,1) forwards;
  }
  .draw-main path:nth-child(2) { animation-delay: .25s; }
  .draw-main path:nth-child(3) { animation-delay: .5s; }
  .draw-main path:nth-child(4) { animation-delay: .7s; }
  .draw-thin path { animation-delay: 1.1s; animation-duration: 1.2s; }
  .hero-drawing .draw-accent { animation-delay: 1.5s; animation-duration: .9s; }
  .draw-labels { opacity: 0; animation: apparaitre .6s 2s forwards; }
}
@keyframes tracer { to { stroke-dashoffset: 0; } }
@keyframes apparaitre { to { opacity: 1; } }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-drawing { max-width: 420px; opacity: .9; }
}

/* ---------- Aiguillage ---------- */
.switch { margin-top: calc(-1 * clamp(5rem, 9vw, 6.5rem)); position: relative; z-index: 2; }
.switch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.switch-card {
  display: flex; flex-direction: column; gap: .35rem;
  background: var(--blanc); color: var(--encre); text-decoration: none;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius-m);
  border-top: 5px solid var(--turquoise);
  box-shadow: 0 18px 40px -22px rgba(26,33,64,.45);
  transition: transform .2s, box-shadow .2s;
}
.switch-card--copro { border-top-color: var(--menthe); }
.switch-card:hover { color: var(--encre); transform: translateY(-3px); box-shadow: 0 24px 44px -20px rgba(26,33,64,.5); }
.switch-icon { width: 40px; height: 40px; color: var(--turquoise-texte); margin-bottom: .5rem; }
.switch-question { font-weight: 600; color: var(--turquoise-texte); }
.switch-title { font-family: var(--font-titre); font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); font-weight: 700; line-height: 1.15; }
.switch-desc { color: var(--encre-douce); max-width: 34em; }
.switch-link { margin-top: auto; padding-top: .75rem; font-family: var(--font-titre); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; text-decoration-color: var(--turquoise); text-decoration-thickness: 2px; }
.switch-other { grid-column: 1 / -1; margin: .5rem 0 0; color: var(--encre-douce); }
.switch-other a { font-weight: 600; }
@media (max-width: 720px) { .switch-grid { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section--alt { background: var(--papier-2); }
.section--compact { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section--dark { background: var(--marine); color: var(--blanc); }
.section--dark .section-lead { color: var(--sur-marine-doux); }
.section-lead { font-size: 1.15rem; color: var(--encre-douce); max-width: 40em; margin-bottom: 1.75rem; }

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.split--reverse { grid-template-columns: .85fr 1.15fr; }
.split--reverse .split-text { order: 2; }
.split-media { position: sticky; top: calc(var(--header-h) + 2rem); }
.split-media img { width: 100%; border-radius: var(--radius-m); background: var(--papier-2); }
@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split-text { order: 0; }
  .split-media { position: static; max-width: 520px; }
  .split-media img { aspect-ratio: 4 / 3; object-fit: cover; }
}

.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.tags li {
  font-size: .92rem; font-weight: 500; padding: .3rem .8rem; border-radius: 999px;
  background: var(--menthe); color: var(--marine);
}
.tags--dark li { background: var(--marine); color: var(--blanc); }

.feature-list { display: grid; gap: 1.4rem; margin-bottom: 1.75rem; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.feature-list svg {
  width: 44px; height: 44px; padding: 10px; border-radius: 10px;
  background: var(--turquoise-pale); stroke: var(--turquoise-texte);
  fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.feature-list h3 { margin-bottom: .2rem; }
.feature-list p { margin: 0; color: var(--encre-douce); }
.note {
  border-left: 3px solid var(--turquoise); padding: .2rem 0 .2rem 1rem;
  color: var(--encre-douce); font-size: 1rem; max-width: 38em;
}

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; position: relative; counter-reset: none; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 28px; right: calc((100% - 6rem) / 4 - 28px);
  height: 2px; background: repeating-linear-gradient(90deg, var(--turquoise) 0 10px, transparent 10px 18px);
}
.step { position: relative; }
.step-num {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.4rem;
  background: var(--marine); border: 2px solid var(--turquoise); border-radius: 50%;
  font-family: var(--font-titre); font-weight: 700; font-size: 1.5rem; color: var(--turquoise);
  position: relative;
}
.step:last-child .step-num { background: var(--turquoise); color: var(--marine); }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--sur-marine-doux); margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before {
    top: 28px; bottom: 60px; left: 27px; right: auto; width: 2px; height: auto;
    background: repeating-linear-gradient(180deg, var(--turquoise) 0 10px, transparent 10px 18px);
  }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.25rem; padding-bottom: 2rem; }
  .step-num { grid-row: span 2; margin: 0; }
  .step h3 { margin: .8rem 0 .3rem; }
}

/* ---------- Autres projets ---------- */
.other { display: grid; grid-template-columns: 320px minmax(0, 640px); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.other h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.other p { color: var(--encre-douce); max-width: 38em; }
.other-media img { border-radius: var(--radius-m); }
@media (max-width: 720px) { .other { grid-template-columns: 1fr; } .other-media { max-width: 360px; } }

/* ---------- Garanties ---------- */
.trust { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: start; }
.trust-facts { display: grid; gap: 1rem; }
.fact { border-left: 4px solid var(--marine); padding: .25rem 0 .25rem 1.25rem; }
.fact p { margin: 0; color: var(--encre-douce); }
.decennale { background: var(--blanc); border-radius: var(--radius-m); padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--trait); }
.decennale h3 { font-size: 1.4rem; }
.decennale > p { color: var(--encre-douce); }
.decennale-diagram { margin: 1.5rem 0; }
.dec-box { display: flex; flex-direction: column; gap: .15rem; padding: .9rem 1rem; border-radius: var(--radius-s); border: 1px solid var(--trait); background: var(--papier); }
.dec-box--moe { background: var(--marine); color: var(--blanc); border-color: var(--marine); }
.dec-role { font-family: var(--font-titre); font-weight: 600; }
.dec-scope { font-size: .92rem; color: var(--sur-marine-doux); }
.dec-cover { font-size: .9rem; font-weight: 600; color: var(--turquoise-texte); }
.dec-box--moe .dec-cover { color: var(--turquoise); }
.dec-link { width: 2px; height: 22px; margin-left: 1.75rem; background: var(--turquoise); }
.dec-lots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; border-top: 2px solid var(--turquoise); padding-top: .9rem; }
.dec-lots .dec-role { font-size: .95rem; }
.dec-summary { background: var(--turquoise-pale); border-radius: var(--radius-s); padding: 1rem 1.1rem; margin: 0; color: var(--encre); }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .dec-lots { grid-template-columns: 1fr; } }

/* ---------- Avis ---------- */
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.reviews-head h2 { margin: 0; }
.rating { display: grid; grid-template-columns: auto auto; column-gap: .8rem; align-items: center; margin: 0; }
.rating-score { grid-row: span 2; font-family: var(--font-titre); font-size: 3.2rem; font-weight: 800; line-height: 1; }
.rating .stars { font-size: 1.3rem; }
.rating-meta { font-size: .9rem; color: var(--encre-douce); }
.stars { color: #B7791F; letter-spacing: .1em; margin: 0; } /* or foncé : 3,3:1, élément graphique doublé d'un texte */
.reviews { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.25rem; align-items: start; }
.review { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--radius-m); padding: clamp(1.5rem, 3vw, 2rem); }
.review blockquote { margin: .9rem 0 1.25rem; }
.review blockquote p { font-size: 1.08rem; margin: 0; }
.review blockquote p::before { content: "« "; color: var(--turquoise-texte); font-weight: 700; }
.review blockquote p::after { content: " »"; color: var(--turquoise-texte); font-weight: 700; }
.review figcaption { display: flex; flex-direction: column; font-size: .95rem; border-top: 1px solid var(--trait); padding-top: .9rem; }
.review figcaption span { color: var(--encre-douce); }
@media (max-width: 800px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-form { display: grid; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.req { color: #A4332B; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--encre);
  background: var(--blanc); border: 1.5px solid #8A93AE; border-radius: var(--radius-s);
  padding: .75rem .9rem; min-height: 48px;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 0; border-color: var(--turquoise-texte); }
.field [aria-invalid="true"] { border-color: #A4332B; }
.field-error { color: #A4332B; font-size: .92rem; margin: .35rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: .9rem; color: var(--encre-douce); margin: 0; }
.btn-submit { justify-self: start; min-width: 220px; }
.btn-submit[disabled] { opacity: .65; cursor: wait; }
.form-status { margin: 0; font-weight: 600; }
.form-status.is-success { color: var(--turquoise-texte); }
.form-status.is-error { color: #A4332B; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .btn-submit { justify-self: stretch; } }

.contact-info { background: var(--blanc); border-radius: var(--radius-m); padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--trait); }
.contact-info h3 { font-size: 1.1rem; margin-top: 1.75rem; }
.contact-info h3:first-child { margin-top: 0; }
.contact-list { display: grid; gap: .8rem; }
.contact-list li { display: grid; gap: .05rem; }
.ci-label { font-size: .88rem; color: var(--encre-douce); }
.contact-list a { font-weight: 600; overflow-wrap: anywhere; }
.hours { width: 100%; border-collapse: collapse; font-size: .96rem; }
.hours th, .hours td { text-align: left; padding: .45rem 0; border-bottom: 1px solid var(--trait); vertical-align: top; }
.hours th { font-weight: 600; padding-right: 1rem; }
.hours td { text-align: right; }
.hours .closed td { color: var(--encre-douce); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--turquoise-texte); }
.hours tr.is-today th::after { content: " (aujourd'hui)"; font-weight: 400; font-size: .85em; }
.contact-info p { color: var(--encre-douce); }
.contact-info .tags { margin: 0; }
.contact-info .tags li { font-size: .88rem; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--marine); color: var(--sur-marine-doux); padding: 3.5rem 0 1.5rem; font-size: .98rem; }
.site-footer a { color: var(--blanc); }
.site-footer a:hover { color: var(--turquoise); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-logo { margin: 0 0 1.25rem; }
.footer-logo .logo { width: 100%; max-width: 280px; }
.footer-title { font-size: 1rem; font-weight: 600; color: var(--turquoise); margin-bottom: .8rem; letter-spacing: 0; }
.footer-links { display: grid; gap: .35rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding-top: 1.25rem; font-size: .9rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page mentions légales ---------- */
.legal-hero { background: var(--marine); color: var(--blanc); padding: 3rem 0 2.5rem; }
.legal-hero h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); margin: 0; }
.legal-hero p { color: var(--sur-marine-doux); margin: .5rem 0 0; }
.legal { max-width: 780px; padding-block: 3rem 4.5rem; }
.legal h2 { font-size: 1.5rem; margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--trait); }
.legal h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.legal h3 { margin-top: 1.5rem; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.5rem; margin: 0 0 1rem; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.legal li { margin-bottom: .3rem; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: .5rem; } }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (max-width: 600px) {
  .hero-drawing { max-width: 300px; margin-inline: auto; }
}

.legal-hero--404 { min-height: 60vh; padding-top: 5rem; }
.legal-hero--404 .btn { margin-top: 1.5rem; }
