@font-face {
  font-family: 'Inter';
  src: url('/funnel/fonts/inter-latin-400-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/funnel/fonts/inter-latin-500-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/funnel/fonts/inter-latin-600-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/funnel/fonts/inter-latin-700-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('/funnel/fonts/orbitron-latin-700-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'Orbitron';
  src: url('/funnel/fonts/orbitron-latin-800-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #03070a;
  --panel: #081017;
  --accent: #ffd000;
  --text: #e6edf3;
  --muted: #8b949e;
  --line: rgba(255, 204, 0, .42);
  --line-soft: rgba(255, 204, 0, .15);
  --display: 'Orbitron', ui-sans-serif, system-ui, sans-serif;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; }

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow-x: clip;
  background:
    radial-gradient(circle at 72% 10%, rgba(255, 208, 0, .08), transparent 24rem),
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, .055), transparent 22rem),
    linear-gradient(140deg, #020407, #071017 52%, #030609);
  color: var(--text);
}

body:has(.cookie-consent:not([hidden])) {
  padding-bottom: var(--cookie-consent-clearance, 230px);
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .018), rgba(255, 255, 255, .018) 1px, transparent 1px, transparent 5px);
  mix-blend-mode: screen;
  opacity: .35;
}

a { color: inherit; text-decoration: none; }

.site-header {
  width: min(1480px, calc(100% - 48px));
  min-height: 56px;
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(16px, 2vw, 28px);
  align-items: center;
  position: sticky;
  top: 12px;
  z-index: 30;
  padding: 10px clamp(10px, 1.2vw, 18px);
  border: 1px solid rgba(255, 208, 0, .12);
  border-radius: 0 0 18px 18px;
  background: rgba(3, 7, 10, .74);
  box-shadow: 0 18px 56px rgba(0, 0, 0, .26), inset 0 0 0 1px rgba(255, 255, 255, .025);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  backdrop-filter: blur(16px) saturate(1.12);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, backdrop-filter .2s ease;
}

.brand { display: inline-flex; align-items: center; min-width: 0; }
.brand-lockup { display: inline-flex; align-items: center; min-width: 0; filter: drop-shadow(0 0 18px rgba(255, 208, 0, .10)); }
.brand-logo-image { display: block; width: clamp(154px, 14vw, 252px); height: auto; object-fit: contain; }

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  gap: clamp(14px, 1.8vw, 30px);
  padding-inline: 14px;
  border: 1px solid rgba(255, 208, 0, .12);
  background: rgba(3, 7, 10, .70);
  box-shadow: 0 16px 44px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .025);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  font: 700 10.5px / 1 var(--display);
  text-transform: uppercase;
}

.main-nav > a,
.nav-trigger { display: inline-flex; align-items: center; gap: 7px; min-width: 0; padding: 12px 0; position: relative; color: #d7dce2; white-space: nowrap; }
.main-nav a:hover,
.main-nav a:focus-visible,
.nav-group:focus-within .nav-trigger,
.nav-group:hover .nav-trigger { color: var(--accent); }
.nav-group { position: relative; min-width: 0; }
.nav-dropdown {
  min-width: 320px;
  position: absolute;
  top: calc(100% - 2px);
  left: 50%;
  transform: translate(-50%, 8px);
  padding: 10px;
  border: 1px solid rgba(255, 208, 0, .16);
  background: rgba(3, 7, 10, .78);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .52), inset 0 0 0 1px rgba(255, 255, 255, .035);
  -webkit-backdrop-filter: blur(16px) saturate(1.12);
  backdrop-filter: blur(16px) saturate(1.12);
  display: grid;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.nav-dropdown a { padding: 11px 13px; color: #d7dce2; border: 1px solid transparent; line-height: 1.35; }
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible { color: var(--accent); border-color: var(--line-soft); background: rgba(255, 208, 0, .045); }
.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }

.appointment,
.landing-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 22px;
  border: 1px solid var(--line);
  color: var(--accent);
  background: rgba(3, 7, 10, .72);
  text-transform: uppercase;
  font: 800 11px / 1 var(--display);
  letter-spacing: .04em;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.appointment:hover { transform: translateY(-2px); border-color: var(--accent); background: rgba(3, 7, 10, .82); }

.landing-shell {
  width: min(1120px, calc(100% - 48px));
  min-height: 0;
  height: 100%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 2.4vh, 26px);
  padding: clamp(16px, 2.8vh, 32px) 0;
}

.landing-hero { width: 100%; text-align: center; }

.landing-eyebrow,
.booking-kicker {
  margin: 0 0 clamp(6px, 1vh, 12px);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.landing-hero > h1 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(1.8rem, 4.4vw, 4rem);
  line-height: 1.03;
  text-wrap: balance;
}

.landing-description {
  max-width: 720px;
  margin: clamp(8px, 1.4vh, 16px) auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.45;
}

.landing-offer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .8fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: stretch;
  text-align: left;
}

.vsl-player,
.vsl-placeholder {
  overflow: hidden;
  min-height: 0;
  border: 1px solid rgba(255, 208, 0, .3);
  border-radius: 18px;
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

.vsl-player video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
}

.vsl-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  aspect-ratio: 16 / 9;
  background: #000;
}

.vsl-player.vsl-youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
  align-self: start;
}

.vsl-placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 32px;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(255, 208, 0, .07), transparent 42%),
    repeating-linear-gradient(0deg, transparent, transparent 31px, rgba(255, 255, 255, .025) 32px),
    #050a0e;
}

.vsl-placeholder-mark {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  padding-left: 4px;
  border: 1px solid rgba(255, 208, 0, .55);
  border-radius: 50%;
  color: var(--accent);
  font-size: 1.45rem;
}

.vsl-placeholder strong { font-size: clamp(1.25rem, 3vw, 1.8rem); }
.vsl-placeholder > span:last-child { color: var(--muted); }

.booking-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 2.5vw, 32px);
  border: 1px solid rgba(230, 237, 243, .12);
  border-radius: 18px;
  background: rgba(8, 16, 23, .9);
}

.booking-panel h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.booking-panel > p:not(.booking-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.landing-cta {
  min-height: 48px;
  margin-top: clamp(16px, 2.4vh, 26px);
  padding: 13px 20px;
  background: var(--accent);
  color: #03070a;
}

.landing-cta:hover { background: #ffe04d; }
.header-appointment:focus-visible,
.landing-cta:focus-visible { outline: 3px solid var(--text); outline-offset: 4px; }

.site-footer {
  width: min(1480px, calc(100% - 48px));
  min-height: 50px;
  margin: 4px auto 10px;
  padding: 5px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  position: relative;
  z-index: 20;
  border: 1px solid rgba(255, 208, 0, .12);
  border-radius: 14px;
  background: rgba(3, 7, 10, .72);
  box-shadow: 0 14px 42px rgba(0, 0, 0, .24), inset 0 0 0 1px rgba(255, 255, 255, .025);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  color: #d7dce2;
  font-family: var(--display);
}

.footer-brand-block { display: flex; align-items: center; min-width: 0; }
.footer-brand-logo .brand-logo-image { width: clamp(118px, 10vw, 158px); }
.footer-links {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px 14px;
}
.footer-link {
  color: var(--accent);
  font: 700 9.5px / 1.2 var(--display);
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.footer-link:hover,
.footer-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.footer-appointment {
  flex-shrink: 0;
  min-height: 34px;
  padding: 0 14px;
  font-size: 9.5px;
}

.cookie-consent {
  position: fixed;
  z-index: 40;
  right: 20px;
  bottom: 20px;
  left: 20px;
  width: min(1040px, calc(100% - 40px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid rgba(255, 208, 0, .48);
  border-radius: 16px;
  background: rgba(3, 7, 10, .97);
  box-shadow: 0 24px 90px rgba(0, 0, 0, .72);
  backdrop-filter: blur(18px);
}

.cookie-consent-kicker {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cookie-consent h2,
.cookie-preferences h2 { margin: 0; font-size: clamp(1.15rem, 2.5vw, 1.6rem); }
.cookie-consent-copy > p:last-child,
.cookie-preferences form > p { margin: 8px 0 0; color: var(--muted); line-height: 1.45; }
.cookie-consent-copy a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.cookie-consent-actions,
.cookie-preferences-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.cookie-consent button,
.cookie-preferences button,
.cookie-settings {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 208, 0, .68);
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}

.cookie-consent button:hover,
.cookie-consent button:focus-visible,
.cookie-preferences button:hover,
.cookie-preferences button:focus-visible,
.cookie-settings:hover,
.cookie-settings:focus-visible { background: rgba(255, 208, 0, .12); outline: 2px solid var(--accent); outline-offset: 2px; }

.cookie-preferences {
  width: min(620px, calc(100% - 32px));
  padding: 0;
  border: 1px solid rgba(255, 208, 0, .48);
  border-radius: 16px;
  background: var(--panel);
  color: var(--text);
  box-shadow: 0 28px 100px rgba(0, 0, 0, .78);
}

.cookie-preferences::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); }
.cookie-preferences form { display: grid; gap: 20px; padding: clamp(20px, 4vw, 32px); }

.cookie-preference-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(230, 237, 243, .14);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
}

.cookie-preference-row span { display: grid; gap: 5px; }
.cookie-preference-row small { color: var(--muted); line-height: 1.4; }
.cookie-preference-row input { width: 22px; height: 22px; accent-color: var(--accent); }
.cookie-preferences-actions { justify-content: flex-end; }
.cookie-preferences-actions [data-consent-save] { background: var(--accent); color: var(--bg); }

.cookie-settings {
  position: fixed;
  z-index: 10;
  bottom: 12px;
  left: 12px;
  min-height: 34px;
  padding: 7px 10px;
  border-color: rgba(230, 237, 243, .24);
  background: rgba(3, 7, 10, .9);
  color: var(--muted);
  font-size: .68rem;
}

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 4px;
    overflow-x: visible;
    padding: 6px 10px;
  }
  .nav-dropdown { left: 0; transform: translate(0, 8px); }
  .nav-group:hover .nav-dropdown,
  .nav-group:focus-within .nav-dropdown { transform: translate(0, 0); }
}

@media (max-width: 780px) {
  .site-header,
  .site-footer { width: calc(100% - 24px); }
  .site-header { min-height: 54px; margin-top: 8px; gap: 8px; }
  .brand-logo-image { width: clamp(132px, 38vw, 180px); }
  .landing-shell {
    width: calc(100% - 24px);
    gap: clamp(10px, 1.6vh, 16px);
    padding: clamp(10px, 1.8vh, 18px) 0;
  }
  .cookie-consent { grid-template-columns: 1fr; gap: 14px; }
  .cookie-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-consent-actions [data-consent-action="customize"] { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .site-header { width: min(100% - 28px, 1480px); }
  .appointment { display: none; }
  .footer-appointment { display: inline-flex; }
  .site-header { gap: 10px; padding-inline: 10px; align-items: start; }
  .main-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 8px;
    width: 100%;
    max-width: 100%;
    font-size: 9px;
    line-height: 1.18;
    position: relative;
    overflow: visible;
  }
  .nav-group { position: relative; min-width: 0; display: grid; }
  .main-nav > a,
  .nav-trigger { width: 100%; justify-content: center; text-align: center; white-space: normal; padding: 9px 3px; gap: 4px; }
  .nav-dropdown { display: none; left: 0; right: 0; width: min(100%, 320px); min-width: 0; transform: translate(0, 8px); }
  .nav-group:hover .nav-dropdown,
  .nav-group:focus-within .nav-dropdown { display: grid; transform: translate(0, 0); }
}

@media (max-width: 600px) {
  .landing-offer-grid { grid-template-columns: 1fr; gap: clamp(8px, 1.4vh, 14px); }
  .site-footer { margin-top: 2px; margin-bottom: 8px; padding: 4px 8px; gap: 5px 10px; }
  .footer-brand-logo .brand-logo-image { width: 112px; }
  .footer-links { flex: 1 1 230px; gap: 5px 9px; }
  .footer-link { font-size: 8.5px; }
  .footer-appointment { min-height: 30px; padding-inline: 10px; font-size: 8.5px; }
  .vsl-player, .vsl-placeholder { aspect-ratio: 16 / 8.2; }
  .vsl-player video,
  .vsl-player iframe { min-height: 0; }
  .booking-panel { padding: clamp(13px, 3.4vw, 20px); text-align: center; }
  .booking-panel h2 { font-size: clamp(1.15rem, 5vw, 1.55rem); }
  .booking-panel > p:not(.booking-kicker) { margin-top: 7px; font-size: .84rem; line-height: 1.35; }
  .booking-kicker { margin-bottom: 5px; font-size: .66rem; }
  .landing-cta { width: 100%; min-height: 42px; margin-top: 10px; padding: 10px 16px; }
}

@media (max-width: 460px) {
  .site-header,
  .site-footer { width: min(100% - 20px, 1480px); }
  .brand-logo-image { width: 156px; }
}

@media (max-width: 430px) {
  .landing-hero > h1 { font-size: clamp(1.55rem, 8.3vw, 2.15rem); }
  .landing-description { font-size: .9rem; line-height: 1.35; }
  .cookie-consent { right: 10px; bottom: 10px; left: 10px; width: calc(100% - 20px); padding: 13px; gap: 9px; }
  .cookie-consent h2 { font-size: 1rem; }
  .cookie-consent-copy > p:last-child { margin-top: 5px; font-size: .76rem; line-height: 1.28; }
  .cookie-consent-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .cookie-consent-actions [data-consent-action="customize"] { grid-column: auto; }
  .cookie-consent button { min-height: 38px; padding: 7px 3px; font-size: .66rem; }
  .cookie-preference-row { padding: 14px; }
}

@media (max-width: 380px) {
  .appointment-label { display: none; }
  .header-appointment::before { content: 'RDV'; }
}

@media (max-height: 700px) {
  .landing-shell { justify-content: flex-start; }
  .landing-eyebrow { display: none; }
}

@media (max-width: 780px) and (max-height: 620px) {
  .site-header { min-height: 50px; }
  .landing-shell { padding-block: 7px; gap: 7px; }
  .landing-description { margin-top: 4px; font-size: .82rem; }
  .vsl-player, .vsl-placeholder { aspect-ratio: 16 / 6.8; }
  .vsl-placeholder { padding: 12px; gap: 4px; }
  .vsl-placeholder-mark { width: 42px; height: 42px; font-size: 1rem; }
  .vsl-placeholder > span:last-child,
  .booking-panel > p:not(.booking-kicker) { display: none; }
  .booking-panel { padding: 10px; }
  .landing-cta { min-height: 38px; margin-top: 7px; }
}
