/* A2N Groupe — site vitrine. Charte : kit « A au carré » (marketing/marques/A2N-Groupe-logo).
   Pétrole ≈ 60 %, corail ≈ 25 %, couleurs d'appui ≈ 15 %. Le corail ne sert jamais aux petits textes sur
   fond clair : le rouge terre prend le relais. Titres Manrope, textes Inter, polices hébergées ici. */

@font-face { font-family: 'Manrope'; src: url('../fonts/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --petrol: #004A59;
  --petrol-deep: #00313B;
  --petrol-ink: #00262E;
  --coral: #F16744;
  --sarcelle: #027184;
  --turquoise: #0193A5;
  --terre: #C73618;          /* petits textes en couleur sur fond clair (5,8:1) */
  --peche: #F6A278;          /* textes sur pétrole (5:1) */
  --ink: #0B1F24;            /* titres sur fond clair */
  --text: #3E5257;           /* texte courant (8:1) */
  --mist: #F3F7F7;
  --line: #DCE6E8;
  --white: #FFFFFF;

  --font-title: 'Manrope', system-ui, sans-serif;
  --font-text: 'Inter', system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 14px;
  --pill: 52px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --top-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-title); color: var(--ink); margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; color: inherit; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--white); color: var(--petrol); border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--terre);
  margin-bottom: 16px;
}
.eyebrow--light { color: var(--peche); }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; max-width: 640px; }

h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head .lead { margin-top: 20px; }

/* ─── Boutons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--pill);
  font-family: var(--font-title); font-weight: 700; font-size: 16px;
  text-decoration: none;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--coral { background: var(--coral); color: var(--petrol-ink); }        /* 5,6:1 */
.btn--coral:hover { background: #F57B5B; }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.45); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.link { color: var(--terre); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.link span { display: inline-block; transition: transform .25s var(--ease); }
.link:hover span { transform: translateX(4px); }

/* ─── En-tête ─────────────────────────────────────────────── */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--top-h);
  background: var(--petrol);   /* au-dessus de l'accueil : le menu ne passe jamais sur l'étoffe */
  transition: background-color .3s, box-shadow .3s;
}
.top__in { height: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.top__brand { position: relative; display: block; width: 104px; height: 35px; }
.top__logo { position: absolute; inset: 0; width: 104px; height: auto; transition: opacity .3s; }
.top__logo--dark { opacity: 0; }
.top__nav { display: flex; align-items: center; gap: 30px; }
.top__nav a { color: rgba(255,255,255,.86); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .2s; }
.top__nav a:hover { color: var(--white); }
.top__nav .top__cta { padding: 10px 18px; border-radius: var(--pill); border: 1.5px solid rgba(255,255,255,.45); color: var(--white); font-weight: 600; }
.top__burger { display: none; }

.top.is-solid { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.top.is-solid .top__logo--light { opacity: 0; }
.top.is-solid .top__logo--dark { opacity: 1; }
.top.is-solid .top__nav a { color: var(--text); }
.top.is-solid .top__nav a:hover { color: var(--petrol); }
.top.is-solid .top__nav .top__cta { background: var(--petrol); border-color: var(--petrol); color: var(--white); }

@media (max-width: 860px) {
  .top__burger {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; cursor: pointer;
  }
  .top__burger span[aria-hidden] { position: relative; width: 22px; height: 2px; background: var(--white); transition: background-color .2s; }
  .top__burger span[aria-hidden]::before, .top__burger span[aria-hidden]::after {
    content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--white); transition: transform .3s var(--ease), background-color .2s;
  }
  .top__burger span[aria-hidden]::before { top: -7px; }
  .top__burger span[aria-hidden]::after { top: 7px; }
  .top.is-solid .top__burger span[aria-hidden], .top.is-solid .top__burger span[aria-hidden]::before, .top.is-solid .top__burger span[aria-hidden]::after { background: var(--petrol); }
  .top.is-open .top__burger span[aria-hidden] { background: transparent; }
  .top.is-open .top__burger span[aria-hidden]::before { transform: translateY(7px) rotate(45deg); }
  .top.is-open .top__burger span[aria-hidden]::after { transform: translateY(-7px) rotate(-45deg); }

  .top__nav {
    position: fixed; inset: var(--top-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--white); box-shadow: 0 20px 40px rgba(0,38,46,.12);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .top.is-open { background: var(--white); }
  .top.is-open .top__logo--light { opacity: 0; }
  .top.is-open .top__logo--dark { opacity: 1; }
  .top.is-open .top__burger span[aria-hidden]::before, .top.is-open .top__burger span[aria-hidden]::after { background: var(--petrol); }
  .top.is-open .top__nav { opacity: 1; transform: none; visibility: visible; }
  .top__nav a, .top.is-solid .top__nav a { color: var(--ink); font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .top__nav .top__cta, .top.is-solid .top__nav .top__cta { margin-top: 16px; text-align: center; background: var(--petrol); border-color: var(--petrol); color: var(--white); }
}

/* ─── 1. Accueil ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  grid-template-rows: 1fr auto;
  background: var(--petrol);
  color: rgba(255,255,255,.86);
  overflow: hidden;
}
.hero__copy {
  grid-column: 1; grid-row: 1;
  align-self: center;
  padding: calc(var(--top-h) + 48px) clamp(20px, 6vw, 88px) 48px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
}
.hero__logo { width: clamp(200px, 26vw, 330px); height: auto; margin-bottom: clamp(32px, 5vh, 56px); overflow: visible; }
.hero__title { color: var(--white); font-size: clamp(44px, 6.6vw, 92px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.hero__lead { margin-top: 28px; font-size: clamp(17px, 1.6vw, 20px); max-width: 560px; }
.hero__lead strong { color: var(--white); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__weave { grid-column: 2; grid-row: 1 / span 2; position: relative; background: url('../img/motif-couleur.svg') 0 0 / 120px 120px; }
.hero__weave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__weave.is-live { background: var(--mist); }

.hero__facts {
  grid-column: 1; grid-row: 2;
  display: flex; flex-wrap: wrap; gap: 12px 48px;
  margin: 0;
  padding: 24px clamp(20px, 6vw, 88px) 32px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero__facts div { display: flex; flex-direction: column; }
.hero__facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--peche); font-weight: 600; }
.hero__facts dd { margin: 2px 0 0; color: var(--white); font-family: var(--font-title); font-weight: 700; font-size: 17px; }

/* Entrée du logo */
.hero__logo .hl-a, .hero__logo .hl-2 { animation: rise .9s var(--ease) both; transform-box: fill-box; }
.hero__logo .hl-2 { animation-delay: .12s; }
.hero__logo .hl-p1 { animation: inP1 1.1s cubic-bezier(.3,1.25,.4,1) .35s both; }
.hero__logo .hl-p2 { animation: inP2 1.1s cubic-bezier(.3,1.25,.4,1) .35s both; }
.hero__logo .hl-groupe { animation: wipe 1s var(--ease) 1.25s both; }
.hero__fade { animation: rise 1s var(--ease) both; }
.hero__fade[data-d="1"] { animation-delay: .05s; }
.hero__fade[data-d="2"] { animation-delay: 1.35s; }
.hero__fade[data-d="3"] { animation-delay: 1.5s; }
.hero__fade[data-d="4"] { animation-delay: 1.65s; }
.hero__fade[data-d="5"] { animation-delay: 1.9s; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes inP1 { from { opacity: 0; transform: translate(-46px, -46px); } to { opacity: 1; transform: none; } }
@keyframes inP2 { from { opacity: 0; transform: translate(46px, 46px); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Tuiles de l'étoffe (créées par site.js) */
.weave-t { transform-box: fill-box; transform-origin: center; transition: transform .75s cubic-bezier(.65,0,.35,1); }
.weave-t.is-off { transform: scale(0) rotate(-90deg); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: 0; }
  .hero__copy { grid-row: 1; padding: calc(var(--top-h) + 40px) var(--gutter) 40px; }
  .hero__facts { grid-row: 2; padding: 20px var(--gutter) 28px; gap: 12px 32px; }
  .hero__weave { grid-column: 1; grid-row: 3; height: 132px; background-size: 66px 66px; }
}

/* ─── 2. Le nom ───────────────────────────────────────────── */
.name { background: var(--mist); padding: clamp(88px, 12vw, 140px) 0 clamp(64px, 8vw, 100px); }
.name__head .lead { margin-top: 20px; }
.name__head .lead strong { color: var(--petrol); }
.name__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(32px, 5vw, 56px); }

.name__stage { position: relative; }
.name__frame {
  position: sticky; top: calc(var(--top-h) + 6vh);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: min(76vh, 620px);
  background: var(--white);
  border-radius: 28px;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(0,49,59,.25);
  padding: 32px;
}
.seal { width: 100%; max-width: 460px; height: auto; overflow: visible; }
.seal__p, .seal__n { transform-box: view-box; transform-origin: 50px 50px; transition: transform .9s cubic-bezier(.6,0,.2,1), fill .6s, opacity .6s; }
.seal__p1 path { fill: var(--petrol); transition: fill .6s; }
.seal__p2 path { fill: var(--coral); transition: fill .6s; }
.seal__n { fill: var(--petrol); opacity: 0; }

.name__frame[data-step="0"] .seal__p1, .name__frame[data-step="1"] .seal__p1, .name__frame[data-step="2"] .seal__p1 { transform: translateX(-40px); }
.name__frame[data-step="0"] .seal__p2, .name__frame[data-step="1"] .seal__p2 { transform: translateX(40px) rotate(180deg); }
.name__frame[data-step="2"] .seal__p2 { transform: translateX(40px); }
.name__frame[data-step="4"] .seal__p1 path { fill: #CCDBDE; }
.name__frame[data-step="4"] .seal__p2 path { fill: #FBD9CF; }
.name__frame[data-step="4"] .seal__n { opacity: 1; transition-delay: .2s; }

.name__letters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 28px; font-size: 15px; }
.name__letters li { color: var(--text); opacity: .45; transition: opacity .5s, color .5s; }
.name__letters b { font-family: var(--font-title); font-weight: 800; color: var(--terre); margin-right: 6px; }
.name__frame[data-step="1"] .name__letters li:nth-child(-n+2),
.name__frame[data-step="2"] .name__letters li:nth-child(-n+2),
.name__frame[data-step="3"] .name__letters li,
.name__frame[data-step="4"] .name__letters li:nth-child(3) { opacity: 1; color: var(--ink); }
.name__frame[data-step="4"] .name__letters li:nth-child(-n+2) { opacity: .75; }

.name__steps { padding: 8vh 0 18vh; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .5s; }
.step.is-on { opacity: 1; }
.step__num { font-family: var(--font-title); font-weight: 800; color: var(--terre); font-size: 15px; letter-spacing: .1em; }
.step h3 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 10px 0 16px; color: var(--petrol); }
.step p { font-size: 19px; max-width: 460px; }

@media (max-width: 860px) {
  .name__body { grid-template-columns: 1fr; gap: 0; }
  .name__stage { position: sticky; top: var(--top-h); z-index: 2; padding: 12px 0; background: var(--mist); }
  .name__frame { position: static; min-height: 0; padding: 18px; border-radius: 20px; }
  .seal { max-width: 250px; }
  .name__letters { margin-top: 12px; font-size: 13px; gap: 4px 14px; }
  .name__steps { padding: 4vh 0 10vh; }
  .step { min-height: 52vh; }
  .step p { font-size: 17px; }
}

/* ─── 3. Domaines ─────────────────────────────────────────── */
.fields { padding: clamp(88px, 12vw, 140px) 0; }
.fields__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 16px; }
.field {
  position: relative; display: flex; flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line); border-radius: 20px; background: var(--white);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.field:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 24px 48px -24px rgba(0,49,59,.28); }
.field h3 { font-size: 21px; font-weight: 800; margin: 22px 0 8px; }
.field p { font-size: 16px; }
.field__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--mist); }
.field__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--petrol); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.field--lead {
  grid-column: span 2; grid-row: span 2;
  background: var(--petrol) url('../img/motif-ton-sur-ton.svg') right -40px bottom -40px / 160px 160px no-repeat;
  border-color: var(--petrol);
  color: rgba(255,255,255,.86);
  padding: clamp(28px, 4vw, 44px);
}
.field--lead h3 { color: var(--white); font-size: clamp(28px, 3vw, 38px); margin-top: auto; padding-top: 48px; }
.field--lead p { font-size: 18px; max-width: 440px; }
.field--lead .field__icon { background: rgba(255,255,255,.1); }
.field--lead .field__icon svg { stroke: var(--peche); }
.field--lead .link { color: var(--peche); margin-top: 24px; align-self: flex-start; }
.fields__ask { margin-top: 32px; font-size: 18px; }

@media (max-width: 960px) { .fields__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .fields__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .field--lead { grid-column: auto; grid-row: auto; }
  .field--lead h3 { padding-top: 32px; }
}

/* ─── 4. BatiTrace ────────────────────────────────────────── */
.product {
  position: relative;
  padding: clamp(88px, 12vw, 140px) 0;
  background: var(--petrol-deep) url('../img/motif-ton-sur-ton.svg') 0 0 / 180px 180px;
  color: rgba(255,255,255,.82);
  overflow: hidden;
}
.product::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 25% 40%, var(--petrol-deep) 30%, rgba(0,49,59,.6) 70%, rgba(0,49,59,.2)); }
.product__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.product__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.product__brand img { width: 56px; height: 56px; border-radius: 14px; }
.product__brand span { font-family: var(--font-title); font-weight: 800; font-size: 26px; color: var(--white); letter-spacing: -0.02em; }
.product h2 { color: var(--white); }
.product__lead { margin-top: 20px; font-size: 19px; max-width: 540px; }

.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-top: 36px; padding: 6px; border-radius: var(--pill); background: rgba(255,255,255,.07); }
.tab {
  border: 0; cursor: pointer;
  min-height: 42px; padding: 0 18px; border-radius: var(--pill);
  font: 600 15px var(--font-text); color: rgba(255,255,255,.78); background: transparent;
  transition: background-color .25s, color .25s;
}
.tab:hover { color: var(--white); }
.tab[aria-selected="true"] { background: var(--white); color: var(--petrol); }
.panels { min-height: 150px; margin-top: 24px; }
.panel h3 { color: var(--white); font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.panel p { max-width: 520px; }
.panel:not([hidden]) { animation: rise .5s var(--ease) both; }
.product__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.store img { height: 52px; width: auto; }

.product__phones { position: relative; height: clamp(460px, 52vw, 620px); }
.phone {
  position: absolute; left: 50%; top: 50%; margin: 0;
  width: clamp(210px, 21vw, 270px); aspect-ratio: 600 / 1304;
  border-radius: 34px; padding: 8px; background: #0B1418;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), inset 0 0 0 1.5px rgba(255,255,255,.12);
  transform: translate(-50%, -50%);
  transition: transform .8s cubic-bezier(.6,0,.2,1), opacity .6s, filter .6s;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 27px; }
.phone[data-pos="0"] { z-index: 4; transform: translate(-50%, -50%); }
.phone[data-pos="1"] { z-index: 3; transform: translate(-6%, -46%) rotate(7deg) scale(.88); filter: brightness(.6); }
.phone[data-pos="2"] { z-index: 2; transform: translate(-50%, -50%) scale(.7); opacity: 0; }
.phone[data-pos="3"] { z-index: 3; transform: translate(-94%, -46%) rotate(-7deg) scale(.88); filter: brightness(.6); }

@media (max-width: 900px) {
  .product__in { grid-template-columns: 1fr; }
  .product__phones { height: 500px; order: -1; }
  .phone { width: 220px; }
}

/* ─── 5. Équipe ───────────────────────────────────────────── */
.team { padding: clamp(88px, 12vw, 140px) 0; background: var(--mist); }
.team__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 860px; }
.person { display: flex; align-items: center; gap: 22px; padding: 28px; background: var(--white); border-radius: 20px; box-shadow: 0 1px 0 var(--line); }
.person__mark {
  flex: none; width: 76px; height: 76px; border-radius: 20px;
  display: grid; place-items: center;
  font-family: var(--font-title); font-weight: 800; font-size: 24px; letter-spacing: .02em;
  background: var(--petrol); color: var(--white);
}
.person__mark--coral { background: var(--coral); color: var(--petrol-ink); }
.person h3 { font-size: 21px; font-weight: 800; }
.person p { margin-top: 4px; color: var(--terre); font-weight: 600; font-size: 15px; letter-spacing: .02em; }
@media (max-width: 640px) { .team__grid { grid-template-columns: 1fr; } }

/* ─── 6. Contact ──────────────────────────────────────────── */
.contact { position: relative; background: var(--petrol); color: rgba(255,255,255,.84); padding: clamp(88px, 12vw, 140px) 0 0; }
.contact__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: start; padding-bottom: clamp(72px, 10vw, 120px); }
.contact h2 { color: var(--white); font-size: clamp(44px, 7vw, 84px); letter-spacing: -0.035em; }
.contact__lead { margin-top: 20px; font-size: 19px; max-width: 420px; }
.contact__list { display: grid; gap: 12px; }
.contact__card {
  display: grid; gap: 4px;
  padding: 24px 28px; border-radius: 20px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  text-decoration: none;
  transition: background-color .25s, border-color .25s, transform .3s var(--ease);
}
a.contact__card:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); transform: translateX(4px); }
.contact__k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--peche); font-weight: 600; }
.contact__v { font-family: var(--font-title); font-weight: 700; font-size: clamp(19px, 2.2vw, 24px); color: var(--white); line-height: 1.3; overflow-wrap: anywhere; }
.contact__s { font-size: 15px; margin-top: 6px; }
.contact__band { height: 96px; background: url('../img/motif-peche.svg') 0 0 / 96px 96px repeat-x; }
@media (max-width: 860px) { .contact__in { grid-template-columns: 1fr; } .contact__band { height: 64px; background-size: 64px 64px; } }

/* ─── Pied de page ────────────────────────────────────────── */
.foot { background: var(--petrol-ink); color: rgba(255,255,255,.7); padding: 56px 0 40px; font-size: 14px; }
.foot__in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: start; }
.foot__logo { width: 150px; height: auto; }
.foot__legal { line-height: 1.7; }
.foot__nav { display: flex; flex-direction: column; gap: 8px; }
.foot__nav a { color: var(--white); text-decoration: none; font-weight: 500; }
.foot__nav a:hover { text-decoration: underline; }
.foot__copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
@media (max-width: 760px) { .foot__in { grid-template-columns: 1fr; } }

/* ─── Apparition au défilement ────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ─── Page légale et 404 ──────────────────────────────────── */
.page { padding: calc(var(--top-h) + 64px) 0 96px; }
.page .top, .top--page { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--line); }
.top--page .top__logo--light { opacity: 0; }
.top--page .top__logo--dark { opacity: 1; }
.top--page .top__nav a { color: var(--text); }
.top--page .top__nav .top__cta { background: var(--petrol); border-color: var(--petrol); color: var(--white); }
.top--page .top__burger span[aria-hidden], .top--page .top__burger span[aria-hidden]::before, .top--page .top__burger span[aria-hidden]::after { background: var(--petrol); }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; margin-bottom: 12px; }
.prose h2 { font-size: 24px; font-weight: 800; margin: 48px 0 12px; color: var(--petrol); }
.prose p, .prose li { margin-bottom: 10px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose a { color: var(--terre); }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0; }
.prose dt { font-weight: 600; color: var(--ink); }
.prose dd { margin: 0; }
@media (max-width: 560px) { .prose dl { grid-template-columns: 1fr; gap: 2px; } .prose dd { margin-bottom: 10px; } }
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; background: var(--petrol); color: rgba(255,255,255,.84); padding: 40px var(--gutter); }
.lost img { width: 120px; margin: 0 auto 32px; }
.lost h1 { color: var(--white); font-size: clamp(36px, 6vw, 64px); font-weight: 800; }
.lost p { margin: 16px auto 32px; max-width: 420px; }

/* ─── Mouvement réduit ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}
