/* ==========================================================================
   Immersions Thermales, page d'attente

   Feuille de styles dédiée, séparée de la page pour rester compatible avec
   une politique de sécurité stricte (Content-Security-Policy: style-src
   'self'), qui interdit les blocs <style> intégrés.

   Les chemins des polices sont relatifs à ce fichier (assets/css/), d'où
   les « ../ ». Les couleurs reprennent à l'identique celles du site.
   ========================================================================== */

/* --- Police auto-hébergée (aucun appel à un CDN tiers) ------------------- */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, 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: 'Outfit';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Jetons de design, identiques à assets/css/style.css ----------------- */
:root {
  --navy: #102f76;
  --teal: #317ca3;
  --mint: #d1f4f0;
  --text: #3f484b;
  --radius-lg: 28px;

  /* Séparateur en vague relevé dans la maquette. Servi comme fichier plutôt
     qu'en data-URI, pour rester compatible avec une politique de sécurité
     qui n'autoriserait pas le schéma « data: ». */
  --wave-down: url('../img/vague-menthe.svg');
}

*, *::before, *::after { box-sizing: border-box; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--mint);
  color: var(--text);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

/* --- Bandeau illustré --------------------------------------------------- */
.banniere {
  position: relative;
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding: clamp(40px, 8vh, 90px) 24px clamp(90px, 14vh, 150px);
  overflow: hidden;
  isolation: isolate;
}

.banniere-fond {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.banniere-fond img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

/* Voile sombre : garantit le contraste du logo posé sur l'illustration. */
.banniere-fond::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 47, 118, .38), rgba(16, 47, 118, .12) 55%, rgba(16, 47, 118, .3));
}

/* Vague menthe qui raccorde l'illustration au pied de page. */
.banniere::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: -1;
  height: clamp(40px, 7vw, 116px);
  background: var(--wave-down) no-repeat center / 100% 100%;
}

/* --- Carte centrale ----------------------------------------------------- */
.carte {
  width: min(100%, 540px);
  padding: clamp(32px, 5vw, 52px) clamp(26px, 5vw, 54px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(16, 47, 118, .45);
  text-align: center;
}

.carte-logo {
  width: min(300px, 78%);
  margin: 0 auto clamp(22px, 4vw, 32px);
}

.titre {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.dates {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem);
  font-weight: 600;
}

.accroche {
  max-width: 34ch;
  margin: 0 auto;
  font-size: 1.02rem;
}

/* Filet décoratif entre le titre et la phrase d'accroche. */
.filet {
  width: 64px;
  height: 3px;
  margin: 0 auto 20px;
  border: 0;
  border-radius: 99px;
  background: var(--mint);
}

/* --- Pied de page ------------------------------------------------------- */
.pied {
  flex: 0 0 auto;
  padding: 22px 24px 26px;
  background: var(--mint);
  color: var(--navy);
  font-size: .88rem;
  text-align: center;
}
.pied p { margin: 0 0 4px; }
.pied a { color: var(--navy); }
.pied a:hover { color: var(--teal); }
.pied small { display: block; margin-top: 10px; opacity: .72; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
