/* ===========================================================
   SꝏlVerse — light editorial · Baskerville · brand-faithful
   Teal #25737D · Gold #FFAB3B · Petrol #134F5C on warm ivory
   =========================================================== */

:root {
  /* surfaces */
  --paper: #faf7f0;
  --paper-2: #f1ece0;
  --paper-3: #ffffff;
  --petrol: #0f3a42;
  --petrol-deep: #0a2a30;
  --sapphire: #13395c;

  /* ink */
  --ink: #15282b;
  --ink-soft: #4f5f60;
  --ink-faint: #677170;

  /* brand */
  --teal: #25737d;
  --teal-deep: #134f5c;
  --teal-bright: #2f8d99;
  --gold: #ffab3b;          /* golden amber */
  --gold-soft: #ffe699;     /* nova gold */
  --orange: #d95f00;        /* burnt orange */

  --line: rgba(21, 40, 43, .12);
  --line-soft: rgba(21, 40, 43, .07);
  --teal-line: rgba(37, 115, 125, .24);

  --shadow-sm: 0 2px 8px rgba(21, 40, 43, .05), 0 8px 22px rgba(21, 40, 43, .05);
  --shadow: 0 10px 30px rgba(21, 40, 43, .08), 0 30px 60px rgba(21, 40, 43, .07);
  --shadow-lg: 0 30px 80px rgba(21, 40, 43, .16);

  --maxw: 1280px;
  --gutter: clamp(22px, 5vw, 80px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font-display: 'Baskervville', Georgia, 'Times New Roman', serif;
  --font-body: 'Libre Baskerville', Georgia, serif;
  --font-ui: 'Libre Baskerville', Georgia, serif;

  --r: 14px;
  --r-lg: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: clamp(15.5px, 1.02vw, 17px);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--petrol-deep); }

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

/* ---- custom cursor halo (desktop, fine pointer) ---- */
@media (hover: hover) and (pointer: fine) {
  .cursor-halo {
    position: fixed; top: 0; left: 0; width: 32px; height: 32px;
    border-radius: 50%; pointer-events: none; z-index: 9999;
    background: radial-gradient(circle, rgba(255, 171, 59, .5), rgba(255, 171, 59, 0) 70%);
    transform: translate(-50%, -50%); mix-blend-mode: multiply;
    transition: width .3s var(--ease), height .3s var(--ease), background .3s;
    will-change: transform;
  }
  .cursor-halo.active { width: 64px; height: 64px; background: radial-gradient(circle, rgba(37, 115, 125, .4), rgba(37, 115, 125, 0) 70%); }
}

/* ---- Typographic primitives -------------------------------- */
.eyebrow {
  font-family: var(--font-ui);
  font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--teal);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: "✦"; font-size: .82em; color: var(--gold); letter-spacing: 0; }
.eyebrow--center { justify-content: center; }
.eyebrow--gold { color: var(--orange); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; margin: 0; line-height: 1.1; color: var(--ink); letter-spacing: -.012em; }

.display { font-size: clamp(2.9rem, 7.2vw, 6.2rem); line-height: 1; letter-spacing: -.022em; }
.section-title { font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.06; }
.lead { font-size: clamp(1.12rem, 1.55vw, 1.36rem); line-height: 1.7; color: var(--ink-soft); font-family: var(--font-display); }

.oo { color: var(--orange); }
.ink-grad {
  background: linear-gradient(100deg, var(--orange), var(--gold));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.rule { width: 72px; height: 1px; background: var(--teal-line); position: relative; margin: 26px 0; }
.rule::after { content: "✦"; position: absolute; left: 0; top: 50%; transform: translate(-2px, -50%); color: var(--gold); font-size: .7rem; }
.rule--center { margin-inline: auto; }
.rule--center::after { left: 50%; transform: translate(-50%, -50%); background: var(--paper); padding: 0 7px; }

/* ===========================================================
   BUTTONS
   =========================================================== */
.btn {
  font-family: var(--font-ui);
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  padding: 16px 32px; border: 1px solid var(--teal); border-radius: 999px;
  background: linear-gradient(var(--petrol), var(--petrol)) no-repeat bottom / 100% 0%, var(--teal);
  color: #fff; cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease), background-size .45s var(--ease-out), color .35s, border-color .35s;
  box-shadow: 0 8px 22px rgba(37, 115, 125, .22);
  will-change: transform;
}
.btn > * { position: relative; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(15, 58, 66, .28); border-color: var(--petrol); background-size: 100% 100%; }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn--ghost { background: linear-gradient(var(--ink), var(--ink)) no-repeat bottom / 100% 0%, transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { color: var(--paper); border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); background-size: 100% 100%; }

.btn--lg { padding: 19px 42px; font-size: .78rem; }
.btn .arrow { font-size: 1rem; letter-spacing: 0; transition: transform .35s var(--ease-out); }
.btn:hover .arrow { transform: translateX(5px); }

/* on dark */
.on-dark .btn--ghost { color: var(--paper); border-color: rgba(250, 247, 240, .3); background: linear-gradient(var(--gold), var(--gold)) no-repeat bottom / 100% 0%, transparent; }
.on-dark .btn--ghost:hover { color: var(--petrol-deep); border-color: var(--gold); }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 70;
  background: transparent;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(250, 247, 240, .82); backdrop-filter: blur(16px) saturate(1.3); border-bottom-color: var(--line-soft); box-shadow: 0 4px 24px rgba(21, 40, 43, .05); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 84px; gap: 20px; }
.nav__brand { justify-self: start; }
.nav__menu { justify-self: center; }
.nav__spacer { justify-self: end; }

.wordmark { font-family: var(--font-display); font-size: 1.7rem; letter-spacing: .005em; color: var(--ink); line-height: 1; white-space: nowrap; transition: color .3s var(--ease); }
.wordmark .oo { color: var(--orange); }
.wordmark:hover { color: var(--teal); }

.nav__menu ul { display: flex; gap: 42px; list-style: none; margin: 0; padding: 0; }
.nav__menu a { font-family: var(--font-ui); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); padding-block: 8px; position: relative; transition: color .25s var(--ease); }
.nav__menu a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px; background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out); }
.nav__menu a:hover, .nav__menu a[aria-current="page"] { color: var(--teal); }
.nav__menu a:hover::after, .nav__menu a[aria-current="page"]::after { transform: scaleX(1); }

.burger { display: none; width: 46px; height: 46px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: none; border: 0; cursor: pointer; justify-self: end; }
.burger span { width: 24px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu { position: fixed; inset: 84px 0 auto 0; z-index: 65; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 50px rgba(21, 40, 43, .14); display: none; }
.mobile-menu.open { display: block; animation: menuIn .3s var(--ease); }
@keyframes menuIn { from { transform: translateY(-10px); } to { transform: none; } }
.mobile-menu ul { list-style: none; margin: 0; padding: 12px var(--gutter) 26px; display: grid; gap: 2px; }
.mobile-menu a { font-family: var(--font-ui); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); display: block; padding: 17px 4px; border-bottom: 1px solid var(--line-soft); }
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a[aria-current="page"] { color: var(--teal); }
@media (min-width: 921px) { .mobile-menu { display: none; } }

/* ───────── Bannière de consentement cookies (RGPD) ───────── */
.cookie-consent { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 200; width: min(720px, calc(100% - 32px)); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 50px rgba(21, 40, 43, .22); }
.cookie-consent__text { margin: 0; flex: 1 1 280px; font-family: var(--font-ui); font-size: .82rem; line-height: 1.5; color: var(--ink-soft); }
.cookie-consent__text a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.cookie-consent__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-consent .btn { padding: 11px 22px; font-size: .66rem; }
@media (max-width: 520px) { .cookie-consent { flex-direction: column; align-items: stretch; text-align: center; bottom: 0; left: 0; transform: none; width: 100%; border-radius: 0; } .cookie-consent__actions { justify-content: center; } }

/* ===========================================================
   HERO  (animated canvas + ꝏ mark)
   =========================================================== */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: 100svh; display: flex; align-items: center; }
.hero__canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__veil { position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 70% at 50% 30%, transparent, rgba(250, 247, 240, .35) 90%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding-block: clamp(120px, 18vh, 200px) clamp(70px, 10vh, 120px); width: 100%; }
.hero__eyebrow { margin-bottom: 28px; }
.hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.6rem); line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
.hero h1 .line { display: block; }
.hero h1 .line > span { display: inline-block; }
.hero h1 em { font-style: italic; }
.hero__mission { margin: 34px 0 0; max-width: 52ch; color: var(--ink-soft); font-size: clamp(1.04rem, 1.32vw, 1.2rem); line-height: 1.8; }
.hero__actions { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.hero__hint { font-family: var(--font-ui); font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }

/* the ꝏ mark — HumanSeal medallion + orbiting ring */
.mark { position: relative; display: grid; place-items: center; aspect-ratio: 1; width: min(100%, 470px); margin-inline: auto; }
.mark__glow { position: absolute; inset: 2%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 171, 59, .32), transparent 60%); z-index: 0; animation: markGlow 7s ease-in-out infinite; }
@keyframes markGlow { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
.mark__seal { position: absolute; inset: 12%; border-radius: 50%; overflow: hidden; z-index: 1; box-shadow: 0 34px 70px rgba(21, 40, 43, .32), 0 0 0 1px rgba(21, 40, 43, .06); }
.mark__seal img { width: 100%; height: 100%; object-fit: cover; }
.mark__orbit { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; }
.mark__orbit .ring { fill: none; stroke: transparent; stroke-width: 1; stroke-dasharray: 2 7; transform-box: view-box; transform-origin: 100px 100px; animation: spin 80s linear infinite; }
.mark__orbit .orbit { transform-box: view-box; transform-origin: 100px 100px; animation: spin 18s linear infinite; }
.mark__orbit .o2 { animation-duration: 26s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 2; display: grid; place-items: center; gap: 8px; color: var(--ink-faint); font-family: var(--font-ui); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue .bar { width: 1px; height: 40px; background: linear-gradient(var(--teal), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(0) translateY(40px); opacity: 0; } }

/* ===========================================================
   SECTIONS
   =========================================================== */
.section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
.section--alt { background: var(--paper-2); }
.section--dark { background: linear-gradient(170deg, var(--petrol), var(--petrol-deep)); color: var(--paper); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--paper); }
.section--dark .lead { color: rgba(250, 247, 240, .72); }
.section--dark .eyebrow { color: var(--gold); }
.section--dark .eyebrow::before { color: var(--gold-soft); }
.section--dark .oo { color: var(--gold); }

.section-head { max-width: 780px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .section-title { margin-top: 18px; }
.section-head .lead { margin-top: 22px; }
.section-head--center .lead { margin-inline: auto; }

/* ===========================================================
   DOORS
   =========================================================== */
.doors { margin-top: clamp(46px, 5vw, 70px); display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 2vw, 30px); }
.door {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper-3); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease), border-color .5s;
}
.door:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: var(--teal-line); }
.door__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ece2cf; }
.door__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform .7s var(--ease-out); }
.door:hover .door__media img { transform: scale(1.06); }
.door__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 38, 42, 0) 48%, rgba(20, 38, 42, .42)); }
.door__rank { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--font-ui); font-size: .54rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); background: rgba(250, 247, 240, .92); border: 1px solid rgba(217, 95, 0, .3); padding: 6px 11px; border-radius: 999px; }
.door__body { padding: clamp(22px, 2.2vw, 30px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.door__kicker { font-family: var(--font-ui); font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.door h3 { font-size: 1.45rem; line-height: 1.14; }
.door p { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--ink-soft); flex: 1; font-family: var(--font-ui); }
.door .door-link { margin-top: 8px; font-family: var(--font-ui); font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); background: none; border: 0; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 9px; transition: color .3s; }
.door .door-link .arrow { transition: transform .3s var(--ease-out); }
.door:hover .door-link { color: var(--orange); }
.door:hover .door-link .arrow { transform: translateX(4px); }
.door--primary { border-color: rgba(217, 95, 0, .22); }

/* ===========================================================
   ABOUT
   =========================================================== */
.about-opener { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.26; color: var(--ink); max-width: 20ch; letter-spacing: -.01em; }
.about-intro { display: block; }
.about-intro .about-opener { max-width: none; margin-top: 22px; }
.about-intro .prose { max-width: none; margin-top: clamp(30px, 4vw, 50px); }
.about-intro .prose p:first-child { margin-top: 0; }
@media (min-width: 861px) {
  .about-intro .prose p:first-child { column-count: 2; column-gap: clamp(44px, 5vw, 80px); }
}
.prose { max-width: 64ch; }
.prose p { margin: 0 0 1.35em; font-size: clamp(1.06rem, 1.3vw, 1.22rem); line-height: 1.85; color: var(--ink-soft); }
.prose em { font-style: italic; color: var(--teal); }
.prose .tagline { font-family: var(--font-display); font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.36; color: var(--ink); font-style: italic; padding-left: 26px; border-left: 2px solid var(--gold); }

.humanseal { display: grid; grid-template-columns: 1fr auto; gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(28px, 3.4vw, 46px); border-radius: var(--r-lg); background: linear-gradient(150deg, rgba(37, 115, 125, .05), rgba(255, 171, 59, .06)); border: 1px solid var(--teal-line); }
.humanseal__text p { margin: 0; font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.8; color: var(--ink-soft); }
.humanseal__text em { font-style: italic; color: var(--teal); }
.humanseal__media { width: clamp(150px, 18vw, 210px); flex: none; }
.humanseal__media img { width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: 0 22px 48px rgba(21, 40, 43, .28); }
.humanseal__cap { display: block; text-align: center; margin-top: 14px; font-family: var(--font-ui); font-size: .58rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
@media (max-width: 720px) { .humanseal { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

.stat-band { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(34px, 4.5vw, 62px); border-radius: var(--r-lg); background: linear-gradient(150deg, rgba(37, 115, 125, .07), rgba(255, 171, 59, .09)); border: 1px solid var(--teal-line); }
.stat-band__num { line-height: 1; }
.stat-band__num span { display: inline-block; font-family: var(--font-display); font-size: clamp(2.9rem, 5.6vw, 4.8rem); line-height: 1.12; letter-spacing: -.02em; background: linear-gradient(115deg, var(--teal) 0%, var(--orange) 72%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding: 0 .12em .12em 0; white-space: nowrap; }
.stat-band__k { font-family: var(--font-ui); font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.stat-band__body p { margin: 0; font-size: clamp(1.04rem, 1.35vw, 1.24rem); line-height: 1.78; color: var(--ink-soft); }
@media (max-width: 760px) { .stat-band { grid-template-columns: 1fr; gap: 14px; } }

.audiences { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2vw, 28px); }
.audience { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(30px, 3vw, 48px); background: var(--paper-3); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease), border-color .45s; }
.audience::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--teal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.audience:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal-line); }
.audience:hover::before { transform: scaleX(1); }
.audience__n { font-family: var(--font-display); font-size: clamp(2rem, 3.2vw, 2.8rem); color: var(--gold); line-height: 1; }
.audience__b h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 2.2vw, 2.05rem); margin: 0 0 14px; line-height: 1.12; }
.audience__b p { margin: 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.74; font-family: var(--font-ui); }
.audience .btn { white-space: nowrap; margin-top: auto; align-self: flex-start; }
@media (max-width: 760px) { .audiences { grid-template-columns: 1fr; } }

.verses { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); margin-top: clamp(40px, 5vw, 60px); }
.verse { position: relative; padding: clamp(32px, 3vw, 46px) clamp(26px, 3vw, 36px); border: 1px solid rgba(250, 247, 240, .14); border-radius: var(--r-lg); overflow: hidden; background: rgba(255, 255, 255, .03); transition: transform .4s var(--ease-out), border-color .4s, background .4s; }
.verse:hover { transform: translateY(-8px); border-color: var(--gold); background: rgba(255, 171, 59, .05); }
.verse__genre { font-family: var(--font-ui); font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.verse h3 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); margin: 16px 0 12px; }
.verse h3 .oo { color: var(--gold-soft); }
.verse p { margin: 0; font-size: .98rem; line-height: 1.66; color: rgba(250, 247, 240, .76); font-family: var(--font-ui); }
.verse__no { position: absolute; right: 22px; top: 18px; font-family: var(--font-display); font-size: 2.4rem; color: rgba(250, 247, 240, .1); }
.verses__more { margin-top: 30px; text-align: center; font-family: var(--font-ui); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(250, 247, 240, .5); }

.launch-tag { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-ui); font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(255, 171, 59, .3); border-radius: 999px; padding: 12px 26px; }
.launch-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 171, 59, .2); }

/* ===========================================================
   CONTACT
   =========================================================== */
.contact__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact__aside .lead { margin-top: 22px; }
.coords { margin-top: 42px; border-top: 1px solid var(--line); padding-top: 32px; display: grid; gap: 20px; }
.coord { display: flex; gap: 16px; align-items: flex-start; }
.coord__ico { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--teal); background: var(--paper-3); }
.coord__ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.coord__k { font-family: var(--font-ui); font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 3px; }
.coord__v { font-size: 1.06rem; color: var(--ink); }
.coord__v a:hover { color: var(--teal); }

.map { margin-top: 34px; position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; box-shadow: var(--shadow-sm); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3) sepia(.12) saturate(1.05) contrast(.98); }
.map__tint { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(160deg, rgba(37, 115, 125, .1), rgba(255, 171, 59, .08)); mix-blend-mode: multiply; }

.form-card { background: var(--paper-3); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(28px, 3.4vw, 44px); box-shadow: var(--shadow); position: relative; }

/* ===========================================================
   FORMS
   =========================================================== */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-ui); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.field label .req { color: var(--orange); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; width: 100%;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2325737d' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(37, 115, 125, .14); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c2410c; }
.field .err { font-family: var(--font-ui); font-size: .68rem; color: #c2410c; min-height: 1em; opacity: 0; transform: translateY(-3px); transition: opacity .2s, transform .2s; }
.field.invalid .err { opacity: 1; transform: none; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; font-size: .84rem; line-height: 1.55; color: var(--ink-soft); font-family: var(--font-ui); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal); cursor: pointer; flex: none; }
.consent a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.consent.invalid, .consent.invalid a { color: #c2410c; }

.form__foot { margin-top: 4px; display: flex; flex-direction: column; gap: 14px; }
.form .btn { justify-self: start; }
.form__note { font-family: var(--font-ui); font-size: .68rem; letter-spacing: .04em; color: var(--ink-faint); font-style: italic; }

.form__success { display: none; text-align: center; padding: 28px 10px; }
.form__success.show { display: block; animation: rise .5s var(--ease-out); }
@keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
.form__success .mark-ok { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; border: 1px solid var(--teal); display: grid; place-items: center; color: var(--teal); background: rgba(37, 115, 125, .06); }
.form__success .mark-ok svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.form__success h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 10px; }
.form__success p { margin: 0; color: var(--ink-soft); font-family: var(--font-ui); }

/* ===========================================================
   MODAL
   =========================================================== */
.modal-scrim { position: fixed; inset: 0; z-index: 100; background: rgba(15, 30, 33, .5); backdrop-filter: blur(7px); display: none; place-items: center; padding: clamp(16px, 4vw, 40px); overflow-y: auto; }
.modal-scrim.open { display: grid; }
.modal { width: min(620px, 100%); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); position: relative; margin: auto; }
.modal-scrim.open .modal { animation: modalIn .45s var(--ease-out); }
@keyframes modalIn { from { transform: translateY(18px) scale(.99); } to { transform: none; } }
.modal__head { position: relative; padding: clamp(30px, 3.4vw, 42px) clamp(28px, 3.4vw, 44px) 0; }
.modal__kicker { font-family: var(--font-ui); font-size: .62rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.modal__title { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 10px 0 8px; }
.modal__sub { margin: 0; color: var(--ink-soft); font-size: .96rem; line-height: 1.6; font-family: var(--font-ui); }
.modal__body { padding: 24px clamp(28px, 3.4vw, 44px) clamp(30px, 3.4vw, 42px); }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: var(--paper-3); color: var(--ink-soft); cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s, transform .35s var(--ease-out); }
.modal__close:hover { background: var(--teal); color: #fff; transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; fill: none; }
body.modal-open { overflow: hidden; }

/* ===========================================================
   FOOTER
   =========================================================== */
.footer { background: linear-gradient(170deg, var(--petrol), var(--petrol-deep)); color: var(--paper); padding-top: clamp(60px, 7vw, 92px); position: relative; overflow: hidden; }
.footer__big { font-family: var(--font-display); font-size: clamp(3.4rem, 13vw, 11rem); line-height: .9; letter-spacing: -.03em; color: rgba(250, 247, 240, .07); padding-bottom: .1em; pointer-events: none; user-select: none; white-space: nowrap; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: clamp(34px, 5vw, 64px); padding-bottom: 50px; position: relative; z-index: 1; }
.footer .wordmark { font-size: 2rem; color: var(--paper); }
.footer .wordmark .oo { color: var(--gold); }
.footer__about { margin: 18px 0 0; max-width: 38ch; color: rgba(250, 247, 240, .64); font-size: .96rem; line-height: 1.7; font-family: var(--font-ui); }
.footer h2 { font-family: var(--font-ui); font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__links a { color: rgba(250, 247, 240, .72); font-size: .98rem; transition: color .2s, padding-left .2s; font-family: var(--font-ui); }
.footer__links a:hover { color: var(--gold); padding-left: 5px; }
.footer__meta { display: grid; gap: 8px; font-size: .94rem; color: rgba(250, 247, 240, .72); font-family: var(--font-ui); }
.footer__meta a:hover { color: var(--gold); }
.footer__meta .siren { font-size: .72rem; letter-spacing: .06em; opacity: .7; }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 11px; border: 1px solid rgba(250, 247, 240, .16); display: grid; place-items: center; color: var(--paper); transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s; }
.socials a:hover { background: var(--gold); color: var(--petrol-deep); transform: translateY(-3px); border-color: var(--gold); }
.socials svg { width: 19px; height: 19px; fill: currentColor; }
.footer__bar { border-top: 1px solid rgba(250, 247, 240, .14); padding-block: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--font-ui); font-size: .72rem; letter-spacing: .04em; color: rgba(250, 247, 240, .55); position: relative; z-index: 1; }
.footer__bar a:hover { color: var(--gold); }

/* ===========================================================
   LEGAL / PROSE PAGES
   =========================================================== */
.page-hero { background: linear-gradient(170deg, var(--petrol), var(--petrol-deep)); color: var(--paper); padding-block: clamp(120px, 16vh, 180px) clamp(50px, 8vw, 90px); position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .crumb { font-family: var(--font-ui); font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--gold); margin-bottom: 16px; text-transform: uppercase; }
.page-hero .crumb a { color: rgba(250, 247, 240, .7); }
.page-hero h1 { color: var(--paper); font-size: clamp(2.4rem, 5.4vw, 3.6rem); }
.page-hero p { margin: 14px 0 0; color: rgba(250, 247, 240, .64); font-family: var(--font-ui); font-size: .8rem; letter-spacing: .04em; }
.legal { max-width: 820px; }
.legal__block { padding-block: clamp(28px, 3.4vw, 42px); border-bottom: 1px solid var(--line); }
.legal__block:last-child { border-bottom: 0; }
.legal h2 { font-family: var(--font-display); font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin: 0 0 16px; display: flex; gap: 14px; align-items: baseline; }
.legal h2 .n { font-family: var(--font-ui); font-size: .8rem; color: var(--gold); }
.legal p { margin: 0 0 14px; color: var(--ink-soft); }
.legal p:last-child { margin-bottom: 0; }
.legal a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.legal .ph { color: var(--ink-faint); font-style: italic; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 9px 26px; margin: 0; }
.legal dt { font-family: var(--font-ui); font-size: .74rem; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.legal dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 540px) { .legal dl { grid-template-columns: 1fr; gap: 2px 0; } .legal dd { margin-bottom: 12px; } }

/* ===========================================================
   REVEAL / MOTION
   =========================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.shown { opacity: 1 !important; transform: none !important; transition: none !important; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }

/* hero entrance — visible by default (motion comes from canvas + mark + reveals),
   transform-only lift that never hides content even if animations freeze */
.hero__title { animation: heroLift 1s var(--ease-out) both; }
.hero .fade-up { animation: heroLift 1s var(--ease-out) both; }
.hero .fade-up.s1 { animation-delay: .32s; }
.hero .fade-up.s2 { animation-delay: .44s; }
.hero .fade-up.s3 { animation-delay: .56s; }
.hero .mark-wrap { animation: heroFade 1.2s var(--ease-out) .25s both; }
@keyframes heroLift { from { transform: translateY(20px); } to { transform: none; } }
@keyframes heroFade { from { transform: scale(.97); } to { transform: none; } }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1080px) { .doors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 920px) {
  .nav__menu { display: none; }
  .burger { display: flex; }
  .nav { grid-template-columns: 1fr auto; }
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; padding-block: clamp(120px, 20vh, 170px) clamp(60px, 9vh, 100px); }
  .mark-wrap { order: -1; }
  .mark { width: min(64%, 300px); }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .scroll-cue { display: none; }
}
@media (max-width: 640px) {
  .doors { grid-template-columns: 1fr; }
  .verses { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .stat { grid-template-columns: 1fr; text-align: center; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .reveal, .hero h1 .line > span, .hero .fade-up, .hero .mark-wrap { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ───────── Modals : formulaires sur 2 colonnes (popup plus compacte, centrée) ───────── */
.modal { width: min(680px, 100%); }
.modal .form { grid-template-columns: 1fr 1fr; column-gap: 18px; }
/* champs qui occupent toute la largeur : zone de message, consentement, pied de formulaire */
.modal .form > .field:has(textarea),
.modal .form > .consent,
.modal .form > .form__foot { grid-column: 1 / -1; }
/* Champ « seul » sur sa ligne (nombre impair) → pleine largeur. Marqué
   explicitement dans le template via .field--full : un :has() imbriqué
   (.field:has(+ .field:has(textarea))) est invalide en CSS, donc ignoré. */
.modal .form > .field--full { grid-column: 1 / -1; }
/* mobile : retour à une seule colonne */
@media (max-width: 560px) {
  .modal .form { grid-template-columns: 1fr; }
}
