:root {
  /* Aligné sur AmorisGenderPalette.tourSpectateur (brief / tuto / fond neutre appli) */
  --bg-deep: #111113;
  --bg-mid: #1a1a1e;
  --bg-highlight: #252528;
  --bg-corner: #0c0c0e;
  --panel: #222226;
  --panel-passive: #1c1c20;
  --panel-border: #4a4a54;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --faint: rgba(74, 74, 84, 0.42);
  --accent: #b0b0bc;
  --accent-dim: #6e6e78;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 300;
  color: var(--text);
  background-color: var(--bg-deep);
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, transparent 42%, rgba(0, 0, 0, 0.22) 100%),
    linear-gradient(to bottom right, #111113 0%, #1a1a1e 34%, #252528 66%, #0c0c0e 100%);
  line-height: 1.82;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

.bg-bloom {
  pointer-events: none;
  position: fixed;
  inset: -45% -25%;
  background: radial-gradient(ellipse 85% 75% at 14% 16%, rgba(255, 255, 255, 0.045), transparent 52%),
    radial-gradient(ellipse 75% 65% at 86% 78%, rgba(0, 0, 0, 0.28), transparent 54%);
  filter: blur(3px);
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0 clamp(1.35rem, 5vw, 2.75rem) 3.75rem;
}

.hero {
  text-align: center;
  padding: clamp(2.75rem, 10vw, 4.75rem) 0 clamp(3.35rem, 11vw, 5rem);
}

.hero-logo {
  width: min(232px, 52vw);
  height: auto;
  display: block;
  margin: 0 auto 1.75rem;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.35));
}

.hero-tagline {
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: clamp(1.2rem, 3.6vw, 1.6rem);
  letter-spacing: 0.02em;
  color: var(--muted);
  margin: 0 auto;
  max-width: 26em;
  line-height: 1.63;
}

main {
  display: flex;
  flex-direction: column;
}

.section {
  padding-top: clamp(2.85rem, 7vw, 3.65rem);
  margin-top: clamp(2.85rem, 7vw, 3.65rem);
  border-top: 1px solid var(--faint);
}

.section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.section h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: clamp(1.0625rem, 2.6vw, 1.3125rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 1.35rem;
  color: rgba(255, 255, 255, 0.94);
}

.section h2::after {
  content: "";
  display: block;
  width: 2.35rem;
  height: 2px;
  margin-top: 0.95rem;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  opacity: 0.85;
}

.section p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.7vw, 1.1875rem);
  font-weight: 200;
  line-height: 1.88;
  letter-spacing: 0.01em;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.section--cta {
  text-align: center;
  border-top-color: rgba(74, 74, 84, 0.35);
}

.section--cta h2::after {
  margin-left: auto;
  margin-right: auto;
}

.section--cta h2 {
  margin-bottom: 0.75rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.92rem 2rem;
  border-radius: 999px;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 0.9375rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg-deep);
  background: #d8d8e0;
  border: 1px solid rgba(74, 74, 84, 0.55);
  cursor: pointer;
  transition: background var(--ease) 0.2s, color var(--ease) 0.2s, transform var(--ease) 0.2s;
}

.cta-button:hover {
  background: linear-gradient(115deg, #d8d8e0, #e6e6ec 48%, #ececf0);
  transform: translateY(-1px);
}

.cta-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.75rem auto 0;
  max-width: 28rem;
  width: 100%;
  padding: 0.75rem 0.875rem;
  text-align: justify;
  background: rgba(28, 28, 32, 0.72);
  border: 1px solid rgba(74, 74, 84, 0.55);
  border-radius: 10px;
  box-sizing: border-box;
}

.privacy-note__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.1rem;
  color: rgba(176, 176, 188, 0.55);
}

.privacy-note p {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 200;
  line-height: 1.56;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.58);
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.footer {
  text-align: center;
  margin-top: clamp(4rem, 11vw, 5.5rem);
  padding-top: 2.25rem;
  border-top: 1px solid var(--faint);
  font-size: 0.8125rem;
  font-weight: 200;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.footer p {
  margin: 0;
}

/* --- Avertissement 18+ (à chaque visite) --- */

body.age-gate-open {
  overflow: hidden;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: rgba(12, 12, 14, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.age-gate[hidden] {
  display: none !important;
}

.age-gate__panel {
  width: min(26rem, 100%);
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: 16px;
  border: 1px solid rgba(74, 74, 84, 0.65);
  background: linear-gradient(
      155deg,
      rgba(74, 74, 84, 0.22) 0%,
      rgba(34, 34, 38, 0.65) 42%,
      rgba(28, 28, 32, 0.94) 100%
    ),
    #1c1c20;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.age-gate__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 1rem;
  padding: 0.35rem 0.65rem;
  font-family: "Montserrat", sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  border: 1px solid rgba(176, 176, 188, 0.45);
  background: rgba(74, 74, 84, 0.35);
}

.age-gate__title {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.35rem, 3.8vw, 1.65rem);
  letter-spacing: 0.02em;
  color: var(--text);
  margin: 0 0 1rem;
  line-height: 1.35;
}

.age-gate__title::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: 0.75rem;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  opacity: 0.85;
}

.age-gate__text {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  font-weight: 200;
  line-height: 1.84;
  letter-spacing: 0.015em;
  color: var(--muted);
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.age-gate__text strong {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
}

.age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.age-gate__btn {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background var(--ease) 0.2s, color var(--ease) 0.2s, border-color var(--ease) 0.2s,
    transform var(--ease) 0.2s;
}

.age-gate__btn--primary {
  color: var(--bg-deep);
  background: #d8d8e0;
  border-color: rgba(74, 74, 84, 0.55);
}

.age-gate__btn--primary:hover {
  background: linear-gradient(115deg, #d8d8e0, #e6e6ec 48%, #ececf0);
  transform: translateY(-1px);
}

.age-gate__btn--ghost {
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border-color: rgba(74, 74, 84, 0.85);
}

.age-gate__btn--ghost:hover {
  border-color: rgba(176, 176, 188, 0.55);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.age-gate__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (min-width: 900px) {
  .page {
    max-width: 58rem;
  }
}
