/* ==========================================================================
   Marine Beauty Academy — page d’attente
   ========================================================================== */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/poppins-300.woff2) format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500.woff2) format('woff2'); }
@font-face { font-family: 'Arimo'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/arimo-400.woff2) format('woff2'); }

:root {
  --ivory: #faf7f2; --gold: #cbbba0; --gold-deep: #87704b;
  --espresso: #1a1612; --ink: #1f1a15; --text: #4a4038;
  --line-light: rgba(250, 247, 242, .14);
  --serif: 'Arimo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --sans: 'Poppins', system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-spring: cubic-bezier(.32, .72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 300 1rem/1.75 var(--sans); color: var(--text); background: var(--espresso); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body::after {
  content: ''; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1 { margin: 0; font-weight: 400; }
::selection { background: var(--gold); color: var(--espresso); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 300; padding: 10px 18px; border-radius: 999px; background: var(--espresso); color: var(--ivory); }
.skip-link:focus { top: 16px; }
.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; }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--espresso); --btn-fg: var(--ivory); --btn-icon: rgba(250, 247, 242, .12);
  position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 8px 8px 8px 26px; border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg); font: 400 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  cursor: pointer; isolation: isolate; overflow: hidden;
  transition: transform .7s var(--ease-spring), background-color .6s var(--ease-out), color .6s var(--ease-out), box-shadow .7s var(--ease-out);
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--gold); transform: translateY(101%); transition: transform .8s var(--ease-spring); }
.btn__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--btn-icon); transition: transform .7s var(--ease-spring), background-color .6s var(--ease-out); }
.btn__icon svg { width: 15px; height: 15px; transition: transform .7s var(--ease-spring); }
.btn:hover { color: var(--espresso); box-shadow: 0 24px 50px -24px rgba(168, 145, 107, .9); }
.btn:hover::before { transform: none; }
.btn:hover .btn__icon { transform: scale(1.06); background: rgba(26, 22, 18, .1); }
.btn:hover .btn__icon svg { transform: translate(2px, -2px); }
.btn:active { transform: scale(.98); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--espresso); --btn-icon: rgba(26, 22, 18, .1); }
.btn--gold::before { background: var(--ivory); }

/* ---------- Hero vidéo ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden; background: var(--espresso); color: var(--ivory); }
.hero__video { position: absolute; inset: 0; }
.hero__video video, .hero__video img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(26, 22, 18, .25) 0%, rgba(26, 22, 18, .65) 70%), linear-gradient(180deg, rgba(26, 22, 18, .55) 0%, rgba(26, 22, 18, .15) 35%, rgba(26, 22, 18, .85) 100%);
}
.hero__inner {
  position: relative; z-index: 2; display: grid; place-items: center; align-content: center; gap: 26px;
  min-height: 100vh; min-height: 100dvh; padding: 90px var(--gutter) 110px; text-align: center;
}
.hero__logo { width: clamp(180px, 26vw, 340px); filter: drop-shadow(0 20px 60px rgba(0, 0, 0, .35)); animation: heroIn 1.8s var(--ease-out) both; }
.hero__title { font-family: var(--serif); font-size: clamp(1rem, 1.7vw, 1.4rem); font-weight: 400; line-height: 1.5; letter-spacing: .3em; text-transform: uppercase; color: var(--ivory); animation: heroIn 1.8s .25s var(--ease-out) both; }
.hero__title span { display: block; margin-top: 10px; font-family: var(--sans); font-size: .68rem; letter-spacing: .32em; color: var(--gold); }
.hero__soon { display: inline-flex; align-items: center; gap: 18px; font-size: .72rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); animation: heroIn 1.8s .4s var(--ease-out) both; }
.hero__soon i { width: 40px; height: 1px; background: rgba(203, 187, 160, .5); }
@media (max-width: 520px) { .hero__soon { gap: 12px; font-size: .6rem; letter-spacing: .18em; } .hero__soon i { width: 18px; flex: none; } .hero__inner { gap: 22px; } }
@keyframes heroIn { from { opacity: 0; transform: translateY(30px) scale(.98); } }

/* ---------- Être prévenue : modale ---------- */
.notify__cta { animation: heroIn 1.8s .55s var(--ease-out) both; }
.notify__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.notify-modal {
  width: min(460px, calc(100vw - 2 * var(--gutter))); margin: auto; padding: clamp(32px, 6vw, 48px) clamp(24px, 5vw, 40px);
  border: 1px solid var(--line-light); border-radius: 28px; background: #241e18; color: rgba(250, 247, 242, .72);
  text-align: center; box-shadow: 0 60px 140px -40px rgba(0, 0, 0, .8);
}
.notify-modal[open] { animation: modalIn .7s var(--ease-out) both; }
.notify-modal::backdrop { background: rgba(26, 22, 18, .55); backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%); animation: backdropIn .5s var(--ease-out) both; }
@keyframes modalIn { from { opacity: 0; transform: translateY(28px) scale(.96); } }
@keyframes backdropIn { from { opacity: 0; } }
.notify-modal__close { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(250, 247, 242, .08); color: var(--ivory); cursor: pointer; transition: background-color .5s var(--ease-out), color .5s var(--ease-out), transform .5s var(--ease-spring); }
.notify-modal__close:hover { background: var(--gold); color: var(--espresso); transform: rotate(90deg); }
.notify-modal__close svg { width: 16px; height: 16px; }
.notify-modal__title { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(1.4rem, 4vw, 1.7rem); font-weight: 400; line-height: 1.2; color: var(--ivory); }
.notify-modal__title em { font-style: normal; color: var(--gold); }
.notify-modal__text { margin: 0; font-size: .88rem; line-height: 1.6; color: rgba(250, 247, 242, .55); }
.notify-form { display: grid; gap: 10px; margin-top: 26px; }
.notify-form input { min-height: 54px; padding: 0 20px; border: 1px solid var(--line-light); border-radius: 999px; background: rgba(250, 247, 242, .06); color: var(--ivory); font: 300 .88rem/1.4 var(--sans); }
.notify-form input::placeholder { color: rgba(250, 247, 242, .38); }
.notify-form input:focus-visible { outline: 1px solid var(--gold); outline-offset: -1px; }
.notify-form__submit { justify-content: space-between; margin-top: 6px; }
.notify__status { margin: 6px 4px 0; font-size: .78rem; letter-spacing: .04em; color: var(--gold); }
.notify__status:empty { display: none; }

/* ---------- Contact & pied de page ---------- */
.hero__contact { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(250, 247, 242, .45); animation: heroIn 1.8s .7s var(--ease-out) both; }
.hero__contact a { color: rgba(250, 247, 242, .8); transition: color .4s var(--ease-out); }
.hero__contact a:hover { color: var(--gold); }
.hero__footer { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 2; padding: 0 var(--gutter); text-align: center; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(250, 247, 242, .35); }
