/* Page « Bientôt » de Nosdro, sur « Lumière d'ambiance » (validée le 01/11, skill interface-nosdro) :
   graphite et blanc cassé ; la couleur est une lumière qui suit le verdict, jamais un décor. */
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin.woff2") format("woff2"); font-weight: 400 800; font-display: swap; 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: "Manrope"; src: url("../fonts/manrope-latin-ext.woff2") format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF, U+2C60-2C7F; }

:root {
  --fond-haut: #17181d; --fond-bas: #0a0a0d;
  --texte: #ededf2; --second: #a0a3b1; --tiers: #8e8e9a;
  --gris: #8a93a8; --rouge: #f26b5b; --vert: #1fb5a0; --or: #f2c14e;
  --c: var(--gris);
  --ressort: cubic-bezier(.2, 1.3, .35, 1);
}
:root[data-lumiere="rouge"] { --c: var(--rouge); }
:root[data-lumiere="vert"] { --c: var(--vert); }
:root[data-lumiere="or"] { --c: var(--or); }

* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body {
  min-height: 100svh; display: flex; flex-direction: column; overflow-x: hidden;
  background: linear-gradient(180deg, var(--fond-haut), var(--fond-bas) 72%);
  background-color: var(--fond-bas); color: var(--texte);
  font: 500 16px/1.5 "Manrope", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}

/* La lumière d'ambiance */
.lumiere, .pluie, .grain { position: fixed; inset: 0; pointer-events: none; }
.lumiere { overflow: hidden; }
.halo { position: absolute; display: block; border-radius: 50%; left: 50%; top: -46vmax; width: 130vmax; height: 92vmax; margin-left: -65vmax; opacity: 0; transition: opacity 1.1s ease; animation: derive 16s ease-in-out infinite alternate; }
.halo--gris { background: radial-gradient(closest-side, rgba(138, 147, 168, .34), transparent); opacity: 1; }
.halo--rouge { background: radial-gradient(closest-side, rgba(242, 107, 91, .5), transparent); }
.halo--vert { background: radial-gradient(closest-side, rgba(31, 181, 160, .5), transparent); }
.halo--or { background: radial-gradient(closest-side, rgba(242, 193, 78, .52), transparent); }
[data-lumiere="rouge"] .halo--rouge, [data-lumiere="vert"] .halo--vert, [data-lumiere="or"] .halo--or { opacity: 1; }
[data-lumiere="rouge"] .halo--gris, [data-lumiere="vert"] .halo--gris, [data-lumiere="or"] .halo--gris { opacity: .25; }
.halo--suit { animation: none; opacity: 1; top: 0; left: 0; margin: 0; width: 70vmax; height: 70vmax; background: radial-gradient(closest-side, rgba(138, 147, 168, .07), transparent); transform: translate(-50%, -50%); }
@keyframes derive { from { transform: translateX(-9vmax) scale(1); } to { transform: translateX(9vmax) scale(1.1); } }
.pluie { width: 100%; height: 100%; z-index: 3; }
.grain { z-index: 4; opacity: .05; mix-blend-mode: overlay; }

/* La page */
.scene { position: relative; z-index: 2; flex: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 72px); width: 100%; max-width: 1360px; margin: 0 auto; padding: clamp(24px, 4vw, 56px) clamp(16px, 5vw, 72px) 0; }
.bientot { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--second); }
.bientot i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); transition: background .9s ease, box-shadow .9s ease; }
h1 { margin: 14px 0 0 -.045em; font-size: clamp(76px, 13.2vw, 196px); line-height: .94; font-weight: 800; letter-spacing: -.055em; color: var(--texte); text-shadow: 0 0 80px rgba(237, 237, 242, .1); }
.promesse { margin-top: clamp(14px, 2vw, 26px); font-size: clamp(24px, 3.1vw, 44px); line-height: 1.14; font-weight: 700; letter-spacing: -.025em; }
.phrase { margin-top: 12px; font-size: clamp(16px, 1.45vw, 20px); color: var(--second); }
.bouton { display: inline-flex; margin-top: clamp(22px, 2.6vw, 36px); padding: 15px 30px; border-radius: 999px; background: var(--texte); color: #0a0a0d; font-weight: 700; text-decoration: none; box-shadow: 0 0 34px rgba(237, 237, 242, .16); transition: transform .28s var(--ressort), box-shadow .3s ease; }
.bouton:hover { transform: translateY(-2px); box-shadow: 0 0 46px rgba(237, 237, 242, .28); }
.bouton:active { transform: scale(.96); }
a:focus-visible, .arc:focus-visible { outline: 2px solid var(--texte); outline-offset: 4px; }

/* L'arc */
.arc { position: relative; justify-self: center; width: min(100%, 74svh, 620px); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; font: inherit; cursor: pointer; container-type: inline-size; }
.arc svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.arc path { fill: none; stroke-linecap: round; stroke-width: 9; }
.arc__piste { stroke: rgba(237, 237, 242, .07); }
.arc__trait { stroke: var(--texte); stroke-dasharray: 100 100; stroke-dashoffset: 0; }
.arc__lueur { stroke: var(--c); stroke-dasharray: 100 100; stroke-dashoffset: 0; opacity: .75; transition: stroke .9s ease; }
.tete { fill: #fff; }
.tete__lueur { fill: var(--c); transition: fill .9s ease; }
.maison__lueur { fill: var(--or); opacity: .85; animation: respire 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes respire { 50% { opacity: .45; transform: scale(1.25); } }
.onde { fill: none; stroke: var(--or); stroke-width: .9; opacity: 0; transform-box: fill-box; transform-origin: center; }
.arrivee .onde--1 { animation: onde 1.9s cubic-bezier(.15, .6, .3, 1) both; }
.arrivee .onde--2 { animation: onde 2.3s .28s cubic-bezier(.15, .6, .3, 1) both; }
@keyframes onde { 0% { opacity: .95; transform: scale(.4); } 100% { opacity: 0; transform: scale(11); } }

.centre { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-bottom: 3cqw; transition: opacity .28s ease, transform .4s var(--ressort); }
.centre--cache { opacity: 0; transform: translateY(2cqw) scale(.97); }
.centre__chiffre { font-size: 17cqw; line-height: 1; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; font-variant-numeric: tabular-nums; transition: color .6s ease; }
.centre--offre .centre__chiffre { font-size: 10.2cqw; }
.centre__mot { margin-top: 2.2cqw; font-size: max(13px, 3.5cqw); font-weight: 700; letter-spacing: .04em; color: var(--second); transition: color .6s ease; }
.centre__note { min-height: 1.5em; margin-top: 1cqw; font-size: max(11px, 2.2cqw); color: var(--tiers); }
.en-offre .centre__mot { color: var(--c); }

/* Le pied */
.pied { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; width: 100%; max-width: 1360px; margin: 0 auto; padding: 18px clamp(16px, 5vw, 72px) max(18px, env(safe-area-inset-bottom)); font-size: 13px; color: var(--tiers); }
.pied nav { display: flex; gap: 20px; }
.pied a { color: var(--second); text-decoration: none; }
.pied a:hover { color: var(--texte); }

/* Entrée de la page */
.film .texte > * { animation: entree .9s var(--ressort) both; }
.film .texte > :nth-child(2) { animation-delay: .08s; }
.film .texte > :nth-child(3) { animation-delay: .2s; }
.film .texte > :nth-child(4) { animation-delay: .3s; }
.film .texte > :nth-child(5) { animation-delay: .4s; }
@keyframes entree { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 860px) {
  .scene { grid-template-columns: 1fr; align-content: center; gap: 18px; padding-top: 22px; text-align: center; }
  .texte { order: 2; }
  .arc { order: 1; width: min(74vw, 40svh); }
  h1 { margin-left: 0; font-size: clamp(64px, 19vw, 120px); }
  .bientot { justify-content: center; }
  .pied { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .halo, .maison__lueur { animation: none; }
  .film .texte > * { animation: none; }
  .halo, .bouton, .centre { transition: none; }
}

/* Les mentions légales de la page Bientôt */
.legal { position: relative; z-index: 2; width: 100%; max-width: 720px; margin: 0 auto; padding: clamp(32px, 6vw, 72px) 16px; }
.legal__retour { font-size: 20px; font-weight: 800; letter-spacing: -.03em; color: var(--texte); text-decoration: none; }
.legal h1 { margin: 28px 0 8px; font-size: clamp(36px, 6vw, 56px); letter-spacing: -.035em; }
.legal h2 { margin-top: 30px; font-size: 18px; font-weight: 700; }
.legal p { margin-top: 8px; color: var(--second); }
.legal a { color: var(--texte); }
.a-completer { padding: 0 6px; border-radius: 6px; background: var(--rouge); color: #0a0a0d; font-weight: 700; }
