/* Landing de transition — bêta Songweaver.
   Identité reprise de la landing de l'application (frontend/src/features/shell/landing) :
   univers étoilé, grand titre illustré, fils lumineux ; couleurs du thème par défaut en
   mode sombre (« Minuit réaccordé », frontend/src/theme/palettes). */

@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap;
  src: url("./assets/fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap;
  src: url("./assets/fonts/inter-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap;
  src: url("./assets/fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap;
  src: url("./assets/fonts/inter-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Inter; font-style: normal; font-weight: 700; font-display: swap;
  src: url("./assets/fonts/inter-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --canvas: #0D1014;        /* neutral.900 */
  --canvas-deep: #06080A;   /* neutral.950 */
  --surface: #151920;       /* neutral.800 */
  --elevated: #1F242E;      /* neutral.700 */
  --border: #2A313D;        /* neutral.600 */
  --border-strong: #384252; /* neutral.500 */
  --fg: #F0F2F5;            /* neutral.50 */
  --muted: #A8B0BD;         /* neutral.200 */
  --subtle: #788599;        /* neutral.300 */
  --brand: #00C2B4;         /* brand.400, défaut sombre */
  --brand-bright: #1AFFEA;  /* brand.300 */
  --brand-deep: #003B37;    /* brand.900, défaut sombre */
  --accent: #C4F000;        /* accent.300 */
  --warm: #FF884F;
  --violet: #A78BFA;
  --radius: 16px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--canvas); color: var(--fg); line-height: 1.55; font-size: 16px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--brand); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brand-bright); outline-offset: 3px; border-radius: 6px;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nobr { white-space: nowrap; }
/* Sections hors écran (classe posée par app.js) : les animations en boucle s'arrêtent, elles coûtaient du calcul en continu. */
.is-offscreen, .is-offscreen *, .is-offscreen *::before, .is-offscreen *::after { animation-play-state: paused !important; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--fg); color: var(--canvas); padding: 8px 12px; z-index: 100; }
.skip-link:focus { left: 8px; }
.shell { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ------------------------------------------------------------------ boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--brand); color: #001614; font: 600 16px/1.2 Inter, sans-serif; text-decoration: none; text-align: center;
  box-shadow: 0 0 0 1px rgb(26 255 234 / 30%), 0 10px 30px rgb(0 194 180 / 30%);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--brand-bright); box-shadow: 0 0 0 1px rgb(26 255 234 / 55%), 0 12px 36px rgb(26 255 234 / 35%); }
.btn:active { transform: translateY(1px); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

/* ------------------------------------------------------------------ barre */
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px var(--gutter); background: rgb(6 8 10 / 78%); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(42 49 61 / 70%);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 34px; height: 34px; border-radius: 9px; }
.brand-title { height: 28px; width: auto; }
.topbar-msg { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; }
@media (max-width: 860px) { .topbar-msg { display: none; } }
@media (max-width: 460px) { .brand-title { display: none; } .topbar .btn-small { font-size: 13px; padding: 0 12px; } }

/* ------------------------------------------------------------------ en-tête */
.hero { position: relative; overflow: hidden;
  background: linear-gradient(115deg, var(--canvas) 0%, rgb(13 16 20 / 94%) 48%, rgb(13 16 20 / 74%) 100%); }
.hero-universe {
  position: absolute; inset: 0; opacity: .5; background-size: cover; background-position: center;
  background-image:
    linear-gradient(90deg, var(--canvas), rgb(13 16 20 / 34%)),
    linear-gradient(0deg, rgb(13 16 20 / 90%), transparent 48%),
    image-set(url("./assets/media/hero-universe.avif") type("image/avif"),
              url("./assets/media/hero-universe.webp") type("image/webp"),
              url("./assets/media/hero-universe.jpg") type("image/jpeg"));
  -webkit-mask-image: linear-gradient(90deg, rgb(0 0 0 / 55%) 0%, black 40%);
  mask-image: linear-gradient(90deg, rgb(0 0 0 / 55%) 0%, black 40%);
}
.hero-threads { display: none; }
@media (min-width: 1024px) {
  .hero-threads { position: absolute; inset: 0; display: block; pointer-events: none; }
  .hero-threads::before, .hero-threads::after {
    position: absolute; width: min(48vw, 740px); height: 100%; content: "";
    background: url("./assets/media/songweaver-wordmark.webp") left center / 435% 110% no-repeat;
    -webkit-mask-image: radial-gradient(ellipse at 0% 48%, black 12%, transparent 73%);
    mask-image: radial-gradient(ellipse at 0% 48%, black 12%, transparent 73%);
  }
  .hero-threads::before { top: -12%; left: 0; opacity: .43; }
  .hero-threads::after { display: none; }
}
.hero-grid { position: relative; z-index: 2; padding-top: 56px; display: grid; gap: clamp(36px, 5vw, 72px); align-items: center;
  grid-template-columns: 1fr; padding-block: clamp(40px, 6vw, 88px); }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 640px); min-height: min(800px, calc(100vh - 60px)); padding-block: 92px 72px; } }
.hero-copy { max-width: 680px; isolation: isolate; }

.wordmark { width: min(100%, 460px); height: auto; margin: 0 0 6px -14px; }
@media (min-width: 480px) {
  .wordmark-slot { --wm: clamp(500px, 72vw, 660px); position: relative; z-index: -1; height: clamp(124px, 17vw, 156px); pointer-events: none; }
  .wordmark-slot > .wordmark { position: absolute; top: calc(var(--wm) * -0.075); left: calc(var(--wm) * -0.26 + clamp(0px, 98px - 10vw, 42px));
    width: var(--wm); max-width: none; margin: 0; filter: brightness(1.12); }
}
@media (min-width: 1024px) {
  .wordmark-slot { --wm: clamp(600px, 50vw, 800px); height: clamp(136px, 11.5vw, 170px); }
  .wordmark-slot > .wordmark { top: -52px; left: calc(var(--wm) * -0.26); filter: none; }
}

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
h1 { margin-top: 10px; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; }
.lead { margin-top: 14px; max-width: 56ch; font-size: clamp(17px, 1.8vw, 19px); color: var(--muted); }
.lead strong { color: var(--fg); font-weight: 600; }
.reassurance { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.reassurance li { font-size: 13px; color: var(--muted); border: 1px solid var(--border); background: rgb(21 25 32 / 70%); padding: 5px 11px; border-radius: 8px; }
.reassurance li:first-child { color: var(--accent); border-color: rgb(196 240 0 / 35%); }

/* Formulaire de liste d'attente (en-tête et fin) */
.waitlist { margin-top: 22px; max-width: 640px; }
.waitlist-row { display: flex; flex-wrap: wrap; gap: 10px; }
.field {
  flex: 1 1 200px; min-height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: rgb(21 25 32 / 92%); color: var(--fg); font: 400 16px Inter, sans-serif;
}
.field::placeholder { color: var(--subtle); }
.field[aria-invalid="true"] { border-color: var(--warm); }
.waitlist .btn { flex: 0 1 auto; padding: 0 20px; font-size: 15px; }
@media (max-width: 520px) { .waitlist .btn { flex: 1 1 100%; } }
.consent { margin-top: 12px; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.form-status { margin-top: 10px; min-height: 1.4em; font-size: 14px; }
.form-status.ok { color: var(--brand-bright); }
.form-status.error { color: var(--warm); }
.sink { display: none; }

/* Vidéo de l'en-tête : nette à droite, de plus en plus transparente vers la gauche,
   avec un dégradé incliné (le fondu ne tombe pas au même endroit en haut et en bas). */
.hero-video {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(74%, 1180px); height: 100%; object-fit: cover; object-position: 60% 30%;
  -webkit-mask-image:
    linear-gradient(108deg, transparent 0%, rgb(0 0 0 / 8%) 18%, rgb(0 0 0 / 45%) 40%, rgb(0 0 0 / 88%) 62%, #000 78%),
    linear-gradient(to bottom, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(108deg, transparent 0%, rgb(0 0 0 / 8%) 18%, rgb(0 0 0 / 45%) 40%, rgb(0 0 0 / 88%) 62%, #000 78%),
    linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 1023px) {
  .hero-video { width: 100%; height: 58%; bottom: auto; opacity: .42; object-position: 50% 20%;
    -webkit-mask-image: linear-gradient(172deg, #000 15%, rgb(0 0 0 / 35%) 50%, transparent 85%); -webkit-mask-composite: source-over;
    mask-image: linear-gradient(172deg, #000 15%, rgb(0 0 0 / 35%) 50%, transparent 85%); mask-composite: add; }
}

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(72px, 11vw, 136px) 0; }
h2 { margin-top: 12px; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; max-width: 20ch; }
.h2-wide { max-width: 26ch; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.section-lead { margin-top: 16px; max-width: 64ch; font-size: 18px; color: var(--muted); }

/* ================================================================== effets
   Tous désactivés ou figés quand le visiteur demande de réduire les animations. */

/* --- Rythme : apparition au défilement, décalée par --d */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .8s cubic-bezier(.2,.7,.2,1), translate .8s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--d, 0) * 110ms); }
.js .reveal.is-visible { opacity: 1; translate: none; }

/* --- Ambiance : halos de couleur par section (repris des tons de la landing actuelle) */
/* Fondus haut et bas : le mur rejoint le noir profond de « Votre son » au-dessus (sous son halo violet, qui prolonge celui de « Votre son ») et de « Pour qui » en dessous. */
.wall-section { background: radial-gradient(50% 55% at 15% 20%, rgb(167 139 250 / 12%), transparent 70%), linear-gradient(var(--canvas-deep), transparent 160px), linear-gradient(to top, var(--canvas-deep), transparent 160px), radial-gradient(45% 50% at 90% 85%, rgb(26 255 234 / 8%), transparent 70%), var(--canvas); overflow: hidden; }

/* --- Ambiance : étoiles qui scintillent (deux couches de points décalées) */
.stars { position: absolute; inset: 0; pointer-events: none; opacity: .7; }
.stars::before, .stars::after { content: ""; position: absolute; inset: 0; will-change: opacity;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 28% 64%, #cfe, transparent),
    radial-gradient(1.2px 1.2px at 46% 14%, #fff, transparent), radial-gradient(1px 1px at 61% 48%, #bff, transparent),
    radial-gradient(1.6px 1.6px at 77% 26%, #fff, transparent), radial-gradient(1px 1px at 88% 70%, #dff, transparent),
    radial-gradient(1.2px 1.2px at 35% 86%, #fff, transparent), radial-gradient(1px 1px at 6% 76%, #cff, transparent),
    radial-gradient(1.3px 1.3px at 54% 80%, #fff, transparent), radial-gradient(1px 1px at 94% 12%, #fff, transparent);
  animation: twinkle 5s ease-in-out infinite alternate; }
.stars::after { transform: translate(7%, 9%) scale(1.1); animation-duration: 7s; animation-delay: -3s; }
@keyframes twinkle { from { opacity: .25; } to { opacity: 1; } }
.hero .stars { z-index: 0; }

/* --- Cartes vivantes : bordure lumineuse qui suit la souris, léger relief */
.glow-card { position: relative; isolation: isolate; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s ease, border-color .25s, box-shadow .25s; }
.glow-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgb(26 255 234 / 75%), rgb(167 139 250 / 35%) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .3s; }
.glow-card:hover::before { opacity: 1; }
.glow-card:hover { box-shadow: 0 24px 60px rgb(0 0 0 / 50%), 0 0 40px rgb(0 194 180 / 12%); }
details.glow-card { transform: none; }

/* --- Mur en mouvement : trois rangées inclinées, sens alternés */
.wall-head { display: grid; gap: 24px; align-items: end; grid-template-columns: 1fr; }
@media (min-width: 900px) { .wall-head { grid-template-columns: 1fr auto; } }
.wall { margin: 56px 0 18px; display: grid; gap: 14px; transform: perspective(1600px) rotateX(9deg) rotateZ(-3.5deg) scale(1.06); transform-origin: center; }
/* Marge intérieure verticale compensée : le plan agrandi au survol (×1,14) n'est plus rogné en haut et en bas. */
.wall-row { overflow: hidden; padding-block: 14px; margin-block: -14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.wall-track { display: flex; gap: 14px; width: max-content; animation: wall-left var(--dur, 70s) linear infinite; }
.wall-row:nth-child(even) .wall-track { animation-name: wall-right; }
.wall-row:hover .wall-track { animation-play-state: paused; }
@keyframes wall-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes wall-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.wall-tile { position: relative; flex: none; width: clamp(200px, 22vw, 300px); aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 0; padding: 0;
  background: var(--surface) center / cover no-repeat; cursor: pointer; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.wall-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.wall-tile.is-playing video { opacity: 1; }
.wall-tile .wall-label { position: absolute; inset: auto 0 0 0; padding: 22px 10px 8px; font-size: 12px; font-weight: 600; text-align: left; color: var(--fg);
  background: linear-gradient(to top, rgb(6 8 10 / 88%), transparent); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.wall-tile .wall-label small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; }
.wall-tile:hover, .wall-tile:focus-visible, .wall-tile.is-playing { transform: scale(1.14); z-index: 2; box-shadow: 0 20px 50px rgb(0 0 0 / 60%), 0 0 0 2px var(--brand-bright), 0 0 40px rgb(26 255 234 / 25%); }
.wall-tile:hover .wall-label, .wall-tile:focus-visible .wall-label, .wall-tile.is-playing .wall-label { opacity: 1; transform: none; }
@media (max-width: 700px) { .wall { transform: perspective(1200px) rotateX(6deg) rotateZ(-2deg) scale(1.08); } .wall-tile { width: 170px; } }

/* --- Appels à l'action : reflet animé et halo pulsé */
.btn-sheen { position: relative; overflow: hidden; }
.btn-sheen::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: 0; transform: translateX(-150%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 55%), transparent); animation: sheen 4.5s ease-in-out infinite; }
@keyframes sheen { 0%, 60% { transform: translateX(-150%) skewX(-20deg); } 85%, 100% { transform: translateX(330%) skewX(-20deg); } }
.btn-halo { animation: halo 2.8s ease-in-out infinite; }
@keyframes halo { 0%, 100% { box-shadow: 0 0 0 1px rgb(26 255 234 / 30%), 0 10px 30px rgb(0 194 180 / 30%); }
  50% { box-shadow: 0 0 0 1px rgb(26 255 234 / 55%), 0 10px 44px rgb(26 255 234 / 48%), 0 0 0 6px rgb(0 194 180 / 10%); } }

/* --- Envoi en cours : appels à l'action désactivés, roue dans le bouton */
.btn.is-busy { pointer-events: none; opacity: .72; animation: none; }
.btn.is-busy::after { content: none; }
.btn.is-busy::before { content: ""; flex: none; width: 1.1em; height: 1.1em; border-radius: 50%;
  border: 2px solid rgb(0 22 20 / 25%); border-top-color: currentColor; animation: btn-spin .7s linear infinite; }
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* --- Réduire les animations */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; translate: none; transition: none; }
  .stars::before, .stars::after, .btn-sheen::after, .btn-halo { animation: none !important; }
  .wall { transform: none; }
  .wall-track { animation: none; }
  .wall-row { overflow-x: auto; }
  .glow-card { transform: none !important; }
}

/* Mention sous le mur : discrète, de la couleur du texte d'introduction, inclinée comme le mur */
.wall-note { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); text-align: right; font-size: 14px; color: var(--muted);
  transform: rotate(-3.5deg) translateY(-6px); transform-origin: right center; }
@media (max-width: 700px) { .wall-note { transform: rotate(-2deg); text-align: left; } }
@media (prefers-reduced-motion: reduce) { .wall-note { transform: none; } }

/* ================================================================== liant entre les sections */

/* L'en-tête se fond dans la page au lieu de s'arrêter sur un filet. */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--canvas)); }

/* Fil de lecture : un fil lumineux se tisse sous la barre à mesure qu'on descend. */
.read-thread { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; overflow: visible; }
.read-thread span { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--read, 0));
  background: linear-gradient(90deg, var(--brand), var(--brand-bright) 40%, var(--violet) 75%, var(--accent));
  box-shadow: 0 0 10px rgb(26 255 234 / 55%); }

/* Surtitres : un même trait lumineux devant chaque surtitre de section (ceux qui n'ont pas déjà leur motif). */
main > section:not(.hero) .eyebrow:not(.writing-eyebrow):not(.human-eyebrow):not(.final-eyebrow) { display: inline-flex; align-items: center; gap: 10px; }
main > section:not(.hero) .eyebrow:not(.writing-eyebrow):not(.human-eyebrow):not(.final-eyebrow)::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--brand-bright)); box-shadow: 0 0 8px rgb(26 255 234 / 60%); }

/* Mot-clé en dégradé, comme dans les autres titres de section. */
.grad-word { background: linear-gradient(100deg, var(--brand-bright), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Notice « Vos données » : lien discret sous le consentement, ouverture en fenêtre native (popover). */
.privacy-link { display: inline-flex; align-items: center; gap: 6px; margin: 8px 0 0 27px; padding: 3px 10px 3px 7px; border: 1px solid rgb(0 194 180 / 30%);
  border-radius: 999px; background: rgb(0 194 180 / 7%); font: inherit; font-size: 12.5px; font-weight: 500; color: var(--brand-bright); cursor: pointer;
  transition: background .2s, border-color .2s, box-shadow .2s; }
.privacy-link::before { content: ""; width: 13px; height: 13px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5 4.5 5.5v6c0 4.6 3.1 8.6 7.5 10 4.4-1.4 7.5-5.4 7.5-10v-6Z'/%3E%3Cpath d='m8.6 12.2 2.4 2.4 4.6-4.8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.5 4.5 5.5v6c0 4.6 3.1 8.6 7.5 10 4.4-1.4 7.5-5.4 7.5-10v-6Z'/%3E%3Cpath d='m8.6 12.2 2.4 2.4 4.6-4.8'/%3E%3C/svg%3E") center / contain no-repeat; }
.privacy-link:hover, .privacy-link:focus-visible { background: rgb(0 194 180 / 14%); border-color: rgb(26 255 234 / 55%); box-shadow: 0 0 16px rgb(0 194 180 / 25%); }
.privacy-pop { position: fixed; inset: 0; width: min(500px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; margin: auto;
  padding: 26px 26px 22px; border: 0; border-radius: 22px; color: var(--fg); isolation: isolate;
  background: radial-gradient(120% 70% at 0% 0%, rgb(0 194 180 / 14%), transparent 60%), radial-gradient(90% 60% at 100% 100%, rgb(167 139 250 / 12%), transparent 60%), #10141A;
  box-shadow: 0 0 0 1px rgb(26 255 234 / 22%), 0 40px 100px rgb(0 0 0 / 70%), 0 0 70px rgb(0 194 180 / 16%);
  opacity: 0; transform: translateY(14px) scale(.97);
  transition: opacity .3s ease, transform .35s cubic-bezier(.2,.8,.2,1), overlay .35s allow-discrete, display .35s allow-discrete; }
.privacy-pop:popover-open { opacity: 1; transform: none; }
@starting-style { .privacy-pop:popover-open { opacity: 0; transform: translateY(14px) scale(.97); } }
.privacy-pop::backdrop { background: rgb(4 6 9 / 0%); backdrop-filter: blur(0); transition: background .3s, backdrop-filter .3s, overlay .35s allow-discrete, display .35s allow-discrete; }
.privacy-pop:popover-open::backdrop { background: rgb(4 6 9 / 66%); backdrop-filter: blur(5px); }
@starting-style { .privacy-pop:popover-open::backdrop { background: rgb(4 6 9 / 0%); backdrop-filter: blur(0); } }
/* Lisière lumineuse qui tourne lentement autour de la fenêtre */
.privacy-glow { position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--pg-a, 0deg), transparent 0 55%, rgb(26 255 234 / 85%) 70%, rgb(167 139 250 / 70%) 80%, transparent 92%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: pg-turn 7s linear infinite; }
@property --pg-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes pg-turn { to { --pg-a: 360deg; } }
.privacy-head { display: flex; align-items: center; gap: 14px; }
.privacy-head > div { flex: 1; }
.privacy-seal { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--brand-deep);
  box-shadow: inset 0 0 0 1px rgb(26 255 234 / 35%), 0 0 26px rgb(0 194 180 / 35%); }
.privacy-seal svg { width: 24px; height: 24px; fill: none; stroke: var(--brand-bright); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.privacy-kicker { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.privacy-pop h2 { margin-top: 2px; font-size: 22px; letter-spacing: -.015em; }
.privacy-x { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border); background: rgb(255 255 255 / 3%); color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.privacy-x:hover, .privacy-x:focus-visible { color: var(--fg); border-color: var(--brand); background: rgb(0 194 180 / 10%); }
.privacy-x svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.privacy-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.privacy-list li { display: flex; gap: 14px; padding: 14px 14px 14px 12px; border-radius: 14px; background: rgb(255 255 255 / 2.5%); border: 1px solid rgb(42 49 61 / 70%); }
.privacy-ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgb(0 194 180 / 10%); }
.privacy-ico svg { width: 18px; height: 18px; fill: none; stroke: var(--brand-bright); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.privacy-list li:nth-child(2) .privacy-ico { background: rgb(167 139 250 / 12%); } .privacy-list li:nth-child(2) .privacy-ico svg { stroke: var(--violet); }
.privacy-list li:nth-child(3) .privacy-ico { background: rgb(255 136 79 / 12%); } .privacy-list li:nth-child(3) .privacy-ico svg { stroke: var(--warm); }
.privacy-list h3 { font-size: 15px; font-weight: 600; }
.privacy-list p { margin-top: 3px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.privacy-pop a { color: var(--brand-bright); text-underline-offset: 3px; }
.privacy-ok { margin-top: 20px; width: 100%; }
/* Fenêtre « Merci, vérifiez vos e-mails » après l'envoi du formulaire */
.signup-lead { margin-top: 20px; font-size: 16px; line-height: 1.6; color: var(--fg); }
.signup-address { color: var(--brand-bright); font-weight: 600; overflow-wrap: anywhere; }
.signup-hint { margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.55; color: var(--muted);
  background: rgb(255 255 255 / 2.5%); border: 1px solid rgb(42 49 61 / 70%); }
.signup-follow { margin-top: 14px; font-size: 14px; color: var(--muted); }
.signup-follow a { font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .privacy-pop, .privacy-pop::backdrop { transition: none; } .privacy-glow { animation: none; } }
.footer-legal a { color: var(--muted); }

/* Sans JavaScript, le mur reste vide : la consigne de survol n'a pas lieu d'être. */
html:not(.js) .wall-note { display: none; }

.consent-optional { margin-top: 8px; }
.privacy-list li:nth-child(2) .privacy-ico { background: rgb(196 240 0 / 10%); } .privacy-list li:nth-child(2) .privacy-ico svg { stroke: var(--accent); }
.privacy-list li:nth-child(3) .privacy-ico { background: rgb(167 139 250 / 12%); } .privacy-list li:nth-child(3) .privacy-ico svg { stroke: var(--violet); }
.privacy-list li:nth-child(4) .privacy-ico { background: rgb(255 136 79 / 12%); } .privacy-list li:nth-child(4) .privacy-ico svg { stroke: var(--warm); }
.privacy-more { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 500; }
/* Réseaux : pastilles (pied de page, page merci) */
.social-pills { list-style: none; margin: 14px 0 0; padding: 0; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.social-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 11px; border-radius: 999px; border: 1px solid var(--border);
  background: rgb(255 255 255 / 3%); color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .2s, border-color .2s, box-shadow .2s; }
.social-pills a:hover, .social-pills a:focus-visible { color: var(--fg); border-color: rgb(26 255 234 / 55%); box-shadow: 0 0 18px rgb(0 194 180 / 25%); }
.social-pills svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-pills svg .fill { fill: currentColor; stroke: none; }
