/* ==========================================================================
   BUY YOUR MOMENTS — Feuille de style principale
   Charte « Nuit électrique » (version web raffinée)
   --------------------------------------------------------------------------
   Sommaire
   1. Variables (couleurs, typos, espacements)
   2. Base & typographie
   3. Utilitaires (conteneur, sections claires/sombres, accessibilité)
   4. Composant ticket (encoches + perforation)
   5. Boutons
   6. En-tête & navigation
   7. Hero & faisceaux de lumière
   8. Blocs de contenu (cartes, étapes, grilles, preuves, FAQ…)
   9. Formulaires
   10. Pied de page, WhatsApp flottant, bandeau cookies
   11. Pages légales
   12. Animations & préférences de mouvement
   ========================================================================== */

/* 1. VARIABLES ------------------------------------------------------------ */
:root {
  --blue: #3D5AFE;          /* bleu électrique : accent, CTA */
  --blue-hover: #5470FF;
  --night: #070A18;         /* noir bleuté : fond principal */
  --night-2: #0D1230;       /* variante pour cartes sur fond sombre */
  --night-3: #161C44;
  --lavender: #A3B3FF;      /* titres secondaires, logo */
  --snow: #EEF1FF;          /* blanc bleuté : sections claires, texte sur sombre */
  --ink-soft: #3A4170;      /* texte courant sur fond clair */
  --muted-dark: #B7C0EA;    /* texte secondaire sur fond sombre (AA) */
  --line-dark: rgba(163, 179, 255, .18);
  --line-light: rgba(7, 10, 24, .12);

  --f-display: "Archivo", "Arial Narrow", sans-serif;
  --f-body: "Inter", "Archivo", system-ui, sans-serif;
  --f-num: "Doto", "Courier New", monospace;

  --radius: 14px;
  --notch: 13px;            /* rayon des encoches du ticket */
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 40px);
  --section: clamp(72px, 11vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* 2. BASE ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--snow);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3, .display {
  font-family: var(--f-display);
  font-weight: 850;
  font-stretch: 72%;
  font-variation-settings: "wdth" 72;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: .98;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.7rem, 8.5vw, 6.4rem); }
h2 { font-size: clamp(2.1rem, 5.6vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.05; }
h4 { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; margin: 0 0 .4em; letter-spacing: .01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-display); font-weight: 700;
  font-variation-settings: "wdth" 100;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--lavender); margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted-dark); max-width: 46ch; }
.num { font-family: var(--f-num); font-weight: 700; letter-spacing: .02em; }
.accent { color: var(--blue); }
.lav { color: var(--lavender); }

/* 3. UTILITAIRES ---------------------------------------------------------- */
.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--light { background: var(--snow); color: var(--night); }
.section--light .lead, .section--light p { color: var(--ink-soft); }
.section--light .eyebrow { color: var(--blue); }
.section--tight { padding-block: clamp(56px, 8vw, 96px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.split { display: grid; gap: clamp(32px, 6vw, 80px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; border-radius: 4px; }

/* Marqueur des contenus provisoires (à remplacer avant mise en ligne) */
.ph-tag {
  display: inline-block; font-family: var(--f-body); font-size: .68rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: #FFD27A;
  border: 1px dashed rgba(255, 210, 122, .6); border-radius: 6px; padding: 1px 7px; vertical-align: middle;
}
.section--light .ph-tag { color: #8A5A00; border-color: rgba(138, 90, 0, .5); }

/* 4. TICKET ----------------------------------------------------------------
   Forme signature : deux encoches latérales + ligne de perforation pointillée.
   Usage : <div class="ticket"> ... <div class="ticket__stub"> ... </div></div>
   La position des encoches suit --cut (hauteur depuis le bas). */
.ticket {
  --cut: 64px;
  --bg: var(--night-2);
  position: relative;
  background: var(--bg);
  border-radius: var(--radius);
  -webkit-mask:
    radial-gradient(circle var(--notch) at 0 calc(100% - var(--cut)), #0000 98%, #000) top left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% calc(100% - var(--cut)), #0000 98%, #000) top right / 51% 100% no-repeat;
          mask:
    radial-gradient(circle var(--notch) at 0 calc(100% - var(--cut)), #0000 98%, #000) top left / 51% 100% no-repeat,
    radial-gradient(circle var(--notch) at 100% calc(100% - var(--cut)), #0000 98%, #000) top right / 51% 100% no-repeat;
}
.ticket::after { /* perforation */
  content: ""; position: absolute; left: calc(var(--notch) + 8px); right: calc(var(--notch) + 8px);
  bottom: var(--cut); border-top: 2px dashed rgba(163, 179, 255, .28);
}
.section--light .ticket { --bg: #fff; box-shadow: none; }
.section--light .ticket::after { border-top-color: rgba(61, 90, 254, .25); }
.ticket__body { padding: clamp(24px, 3vw, 34px); padding-bottom: calc(var(--cut) + 22px); }
.ticket__stub {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--cut);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-inline: clamp(24px, 3vw, 34px);
  font-family: var(--f-display); font-weight: 700; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--lavender);
}
.section--light .ticket__stub { color: var(--blue); }
.ticket__stub a { text-decoration: none; }
.ticket__stub a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ticket--outline { border: 1px solid var(--line-dark); }

/* 5. BOUTONS -------------------------------------------------------------- */
.btn {
  --b: var(--blue);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 28px;
  font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 90;
  font-size: .92rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: #fff; background: var(--b); border: 0; cursor: pointer;
  border-radius: 10px;
  /* petites encoches de ticket sur les côtés */
  -webkit-mask: radial-gradient(circle 6px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 6px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 6px at 0 50%, #0000 97%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 6px at 100% 50%, #0000 97%, #000) right / 51% 100% no-repeat;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--snow); box-shadow: inset 0 0 0 1.5px rgba(163,179,255,.5); -webkit-mask: none; mask: none; }
.btn--ghost:hover { background: rgba(163,179,255,.1); box-shadow: inset 0 0 0 1.5px var(--lavender); }
.section--light .btn--ghost { color: var(--night); box-shadow: inset 0 0 0 1.5px rgba(7,10,24,.35); }
.section--light .btn--ghost:hover { background: rgba(61,90,254,.07); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .8rem; }
.btn--wa { background: #1F8F55; }
.btn--wa:hover { background: #23A161; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font-weight: 600; color: var(--lavender); text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.section--light .link-arrow { color: var(--blue); }

/* 6. EN-TÊTE -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 10, 24, .82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand svg { height: 34px; width: auto; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 1.4vw, 24px); }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; color: var(--muted-dark); padding: 6px 0; position: relative; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--snow); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: inline-flex; border: 1px solid var(--line-dark); border-radius: 999px; padding: 3px; background: none;
  font-family: var(--f-display); font-weight: 700; font-size: .72rem; letter-spacing: .12em; cursor: pointer; color: var(--muted-dark);
}
.lang-toggle span { padding: 5px 9px; border-radius: 999px; }
.lang-toggle span.is-active { background: var(--snow); color: var(--night); }
.header-cta { display: none; }
.menu-btn { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 1px solid var(--line-dark); border-radius: 10px; color: var(--snow); cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s var(--ease), background .3s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav {
  position: fixed; inset: 74px 0 0; z-index: 99; background: var(--night);
  padding: 28px var(--pad) 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav ul { list-style: none; margin: 0 0 28px; padding: 0; }
.mobile-nav li { border-bottom: 1px solid var(--line-dark); }
.mobile-nav a.m-link { display: block; padding: 16px 0; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 72; font-size: 1.9rem; text-transform: uppercase; }
@media (min-width: 1240px) {
  .nav { display: block; } .header-cta { display: inline-flex; } .menu-btn, .mobile-nav { display: none; }
}

/* 7. HERO & FAISCEAUX ----------------------------------------------------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(90px, 14vw, 170px) clamp(80px, 11vw, 140px); }
.hero--full { min-height: calc(100svh - 74px); display: flex; align-items: center; }
.hero .lead { margin-bottom: 2.2rem; }
.hero h1 .line2 { color: var(--lavender); display: block; }
.hero-meta { margin-top: clamp(40px, 6vw, 70px); display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .85rem; color: var(--muted-dark); }
.hero-meta span::before { content: "◆"; color: var(--blue); font-size: .6em; margin-right: .7em; vertical-align: middle; }

.beams { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.beams::before { /* halo de sol */
  content: ""; position: absolute; left: 50%; bottom: -30%; width: 140%; height: 70%; transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(61, 90, 254, .35), transparent 62%);
  filter: blur(10px);
}
.beams::after { /* grain discret */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,10,24,0) 55%, var(--night) 100%);
}
.beam {
  position: absolute; top: -20%; width: 34vw; max-width: 460px; min-width: 200px; height: 140%;
  background: linear-gradient(180deg, rgba(163, 179, 255, .34), rgba(61, 90, 254, .16) 45%, transparent 85%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  filter: blur(6px); transform-origin: 50% 0; opacity: .55;
  animation: beam-glow 9s ease-in-out infinite;
}
.beam:nth-child(1) { left: 2%;  transform: rotate(24deg); animation-delay: -2s; }
.beam:nth-child(2) { left: 30%; transform: rotate(8deg);  opacity: .35; animation-delay: -5s; }
.beam:nth-child(3) { right: 26%; transform: rotate(-10deg); opacity: .4; animation-delay: -1s; }
.beam:nth-child(4) { right: 0;   transform: rotate(-26deg); animation-delay: -7s; }
@keyframes beam-glow { 0%, 100% { opacity: .32; } 50% { opacity: .62; } }
.hero--page { padding-block: clamp(80px, 11vw, 140px) clamp(60px, 8vw, 100px); }
.hero--page h1 { font-size: clamp(2.4rem, 7vw, 5.2rem); max-width: 16ch; }

/* 8. BLOCS DE CONTENU ----------------------------------------------------- */
/* Sélecteur de profil */
.persona-bar { border-block: 1px solid var(--line-dark); background: var(--night); }
.persona-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding-block: 26px; }
.persona-inner > p { margin: 0 12px 0 0; font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 80; text-transform: uppercase; letter-spacing: .08em; color: var(--lavender); }
.chip { display: inline-flex; align-items: center; gap: .5em; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-dark); text-decoration: none; font-size: .92rem; font-weight: 500; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--blue); background: rgba(61, 90, 254, .12); }
.chip::after { content: "→"; color: var(--lavender); }

/* Cartes univers */
.universe .ticket__body { min-height: 300px; display: flex; flex-direction: column; }
.universe .u-num { font-family: var(--f-num); color: var(--blue); font-size: 1.1rem; margin-bottom: auto; padding-bottom: 46px; }
.universe h3 { font-size: clamp(2rem, 3.6vw, 2.6rem); }
.universe p { color: var(--muted-dark); margin: 0; }

/* Étapes */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.section--light .step { border-top-color: var(--line-light); }
.step .num { display: block; font-size: clamp(3rem, 6vw, 4.4rem); line-height: 1; color: var(--blue); margin-bottom: 18px; }
.step h3 { margin-bottom: .4em; }
.step p { color: var(--muted-dark); margin: 0; }
.section--light .step p { color: var(--ink-soft); }

/* Liste d'engagements */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.checks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 6px; background: var(--blue)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checks strong { display: block; }

/* Bloc marque blanche */
.wl-panel .ticket__body { padding: clamp(28px, 4vw, 48px); padding-bottom: calc(var(--cut) + 28px); }

/* Familles de partenaires */
.family { padding: 26px; border: 1px solid var(--line-light); border-radius: var(--radius); background: #fff; transition: border-color .25s, transform .25s var(--ease); }
.family:hover { border-color: var(--blue); transform: translateY(-2px); }
.family svg { width: 40px; height: 40px; color: var(--blue); margin-bottom: 18px; }
.family h3 { font-size: 1.5rem; margin-bottom: .3em; color: var(--night); }
.family p { font-size: .94rem; margin: 0; }

/* Chiffres */
.stat { padding: 28px 0; border-top: 1px solid var(--line-dark); }
.stat .num { display: block; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--snow); margin-bottom: 10px; }
.stat span:last-child { color: var(--muted-dark); font-size: .95rem; }

/* Témoignages */
.quote { margin: 0; }
.quote .ticket__body { min-height: 260px; }
.quote blockquote { margin: 0; font-size: 1.08rem; line-height: 1.6; }
.quote blockquote::before { content: "“"; display: block; font-family: var(--f-display); font-size: 4rem; line-height: .6; color: var(--blue); margin-bottom: 14px; }
.quote figcaption { font-size: .78rem; }

/* Images provisoires (placeholders teintés bleu) */
.ph-img {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 320px; aspect-ratio: 4 / 3;
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(163,179,255,.45), transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(61,90,254,.55), transparent 65%),
    linear-gradient(180deg, #121a4d 0%, #070A18 100%);
  display: flex; align-items: flex-end; padding: 18px;
}
.ph-img::before { /* silhouettes de foule stylisées */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background: radial-gradient(circle at 6% 100%, #05071280 0 26px, transparent 27px) 0 0 / 70px 100% repeat-x,
              radial-gradient(circle at 50% 100%, #050712 0 34px, transparent 35px) 20px 6px / 90px 100% repeat-x;
  opacity: .9;
}
.ph-img span { position: relative; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #FFD27A; border: 1px dashed rgba(255,210,122,.6); padding: 4px 9px; border-radius: 6px; background: rgba(7,10,24,.6); }

/* Profils B2B */
.profile-card .ticket__body { min-height: 360px; }
.profile-card h3 { font-size: clamp(1.8rem, 3vw, 2.2rem); }
.case { margin-top: 18px; padding: 16px 18px; border-left: 2px solid var(--blue); background: rgba(61,90,254,.08); border-radius: 0 10px 10px 0; font-size: .95rem; }
.case strong { display: block; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--lavender); margin-bottom: 6px; }
.section--light .case { background: rgba(61,90,254,.06); }
.section--light .case strong { color: var(--blue); }

/* Étude de cas */
.case-study { display: grid; gap: 0; border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 860px) { .case-study { grid-template-columns: repeat(3, 1fr); } }
.case-study > div { padding: 30px; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 860px) { .case-study > div { border-bottom: 0; border-right: 1px solid var(--line-dark); } .case-study > div:last-child { border-right: 0; } }
.case-study h4 { color: var(--lavender); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.case-study p { color: var(--muted-dark); margin: 0; }

/* Exemples de demandes (particuliers) */
.idea { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line-light); }
.idea .num { color: var(--blue); font-size: .95rem; display: block; margin-bottom: 14px; }
.idea h3 { font-size: 1.45rem; color: var(--night); }
.idea p { margin: 0; font-size: .95rem; }

/* Méthode : piliers */
.pillar { padding: 30px 0; border-top: 1px solid var(--line-dark); display: grid; gap: 10px 40px; }
@media (min-width: 860px) { .pillar { grid-template-columns: 90px 300px 1fr; } }
.pillar .num { color: var(--blue); font-size: 1.4rem; }
.pillar h3 { margin: 0; }
.pillar p { color: var(--muted-dark); margin: 0; }
.section--light .pillar { border-top-color: var(--line-light); }
.section--light .pillar p { color: var(--ink-soft); }

/* FAQ */
.faq { border-top: 1px solid var(--line-dark); }
.section--light .faq { border-top-color: var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-dark); }
.section--light .faq details { border-bottom-color: var(--line-light); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-num); font-size: 1.5rem; line-height: 1; color: var(--blue); transition: transform .25s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 24px; max-width: 70ch; color: var(--muted-dark); }
.section--light .faq .faq-a { color: var(--ink-soft); }

/* Contact : canaux */
.channel { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line-dark); text-decoration: none; }
.channel svg { width: 26px; height: 26px; color: var(--lavender); flex-shrink: 0; margin-top: 3px; }
.channel strong { display: block; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--lavender); }
.channel span { color: var(--snow); }

/* Bandeau CTA */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 14ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* 9. FORMULAIRES ---------------------------------------------------------- */
.form-card { background: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); }
.section--light .form-card { background: #fff; border-color: var(--line-light); }
.form-grid { display: grid; gap: 18px 20px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label, .field legend { display: block; font-size: .86rem; font-weight: 600; margin-bottom: 7px; color: var(--snow); padding: 0; }
.section--light .field label, .section--light .field legend { color: var(--night); }
.field .req { color: var(--lavender); }
.section--light .field .req { color: var(--blue); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"], .field input[type="date"], .field input[type="number"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem;
  color: var(--snow); background: rgba(7, 10, 24, .6); border: 1px solid rgba(163,179,255,.28); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.section--light .field input, .section--light .field select, .section--light .field textarea { color: var(--night); background: var(--snow); border-color: rgba(7,10,24,.18); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A3B3FF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field select option, .field select optgroup { color: #070A18; background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(61,90,254,.3); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #FF7A8A; }
.field .err { display: none; color: #FF9AA6; font-size: .82rem; margin-top: 6px; }
.section--light .field .err { color: #B3122E; }
.field.has-error .err { display: block; }
.field fieldset { border: 0; margin: 0; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-block; padding: 9px 14px; border: 1px solid rgba(163,179,255,.28); border-radius: 999px; font-size: .9rem; transition: background .2s, border-color .2s; }
.section--light .opt span { border-color: rgba(7,10,24,.2); }
.opt input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--lavender); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .88rem; color: var(--muted-dark); }
.section--light .consent { color: var(--ink-soft); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.consent a { color: var(--lavender); }
.section--light .consent a { color: var(--blue); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form-note { font-size: .82rem; color: var(--muted-dark); margin: 0; }
.section--light .form-note { color: var(--ink-soft); }
.form-success { display: none; text-align: left; padding: 10px 0; }
.form-success h3 { color: var(--lavender); }
.section--light .form-success h3 { color: var(--blue); }
.form.is-sent .form-grid, .form.is-sent .form-foot { display: none; }
.form.is-sent .form-success { display: block; }
.hp { position: absolute; left: -9999px; } /* champ anti-spam invisible */

/* 10. PIED DE PAGE & ÉLÉMENTS FLOTTANTS ----------------------------------- */
.site-footer { background: #04060F; border-top: 1px solid var(--line-dark); padding-block: 72px 32px; font-size: .92rem; color: var(--muted-dark); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: .8rem; font-variation-settings: "wdth" 100; letter-spacing: .2em; color: var(--lavender); margin-bottom: 1.2em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--snow); }
.footer-brand svg { height: 40px; width: auto; margin-bottom: 20px; }
.footer-sign { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 72; text-transform: uppercase; font-size: 1.6rem; line-height: 1; color: var(--snow); margin-bottom: 14px; }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: grid; gap: 14px; font-size: .8rem; }
.footer-legal p { margin: 0; max-width: 90ch; }
.footer-legal .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #1F8F55; color: #fff; text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.35), 0 0 0 6px rgba(31,143,85,.18);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; max-width: 560px;
  background: var(--night-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5); font-size: .9rem; color: var(--muted-dark);
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner h2 { font-size: 1.2rem; color: var(--snow); margin-bottom: .5em; }
.cookie-banner .btn-row { margin-top: 16px; }
.cookie-banner .btn { flex: 1 1 140px; min-height: 46px; }
.cookie-banner .btn--refuse { background: var(--snow); color: var(--night); }
.cookie-banner .btn--refuse:hover { background: #fff; }
.cookie-prefs { display: none; margin-top: 14px; border-top: 1px solid var(--line-dark); padding-top: 14px; }
.cookie-prefs.is-open { display: grid; gap: 10px; }
.cookie-prefs label { display: flex; gap: 10px; align-items: center; color: var(--snow); }
.cookie-prefs input { width: 18px; height: 18px; accent-color: var(--blue); }

/* 11. PAGES LÉGALES ------------------------------------------------------- */
.legal { max-width: 820px; }
.legal h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.2em; color: var(--night); }
.legal h3 { font-size: 1.2rem; margin-top: 1.6em; color: var(--night); }
.legal p, .legal li { color: var(--ink-soft); }
.legal dl { display: grid; grid-template-columns: 1fr; gap: 4px 24px; margin: 0; }
@media (min-width: 640px) { .legal dl { grid-template-columns: 240px 1fr; } }
.legal dt { font-weight: 600; color: var(--night); }
.legal dd { margin: 0 0 10px; color: var(--ink-soft); }
.legal .todo { background: #FFF4DB; border: 1px dashed #C89211; border-radius: 10px; padding: 14px 18px; color: #6B4A00; font-size: .92rem; }

/* 12. ANIMATIONS ---------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .beam { animation: none; }
  * { transition-duration: .01ms !important; }
}

/* --- Ajustements --------------------------------------------------------- */
.btn { white-space: nowrap; }
.btn svg, .channel svg { flex-shrink: 0; }
.btn svg { width: 20px; height: 20px; }
.field label.consent { display: grid; font-weight: 400; font-size: .88rem; color: var(--muted-dark); margin: 0; }
.section--light .field label.consent { color: var(--ink-soft); }
.nav a { white-space: nowrap; }
.quote .ph-tag { margin-bottom: 14px; }
.quote figcaption { letter-spacing: .12em; }
.quotes { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.quote--featured { max-width: 860px; }
.quotes:has(> .quote:only-child) { grid-template-columns: 1fr; }
.quote--featured .ticket__body { min-height: 0; }
.quote--featured blockquote { font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.55; }
.quote { display: flex; } .quote > .ticket { flex: 1; }
