/* ═══════════════════════════════════════════════════════════
   Les Intervilles du Rotary — Majunga 2026
   Site statique autonome. Aucune dépendance externe.
   Palette : tokens officiels Rotary (Brand Center), jamais teintés.
   ═══════════════════════════════════════════════════════════ */

/* ── Fontes officielles Rotary (auto-hébergées) ───────────── */
@font-face {
  font-family: 'Frutiger';
  src: url('fonts/FrutigerLTStd-Roman.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Frutiger';
  src: url('fonts/FrutigerLTStd-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Frutiger';
  src: url('fonts/FrutigerLTStd-Black.woff2') format('woff2');
  font-weight: 800 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Frutiger Cn';
  src: url('fonts/FrutigerLTStd-BoldCn.woff2') format('woff2');
  font-weight: 600 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Frutiger Cn';
  src: url('fonts/FrutigerLTStd-BlackCn.woff2') format('woff2');
  font-weight: 800 900; font-style: normal; font-display: swap;
}

/* ── Tokens ───────────────────────────────────────────────── */
:root {
  /* Couleurs officielles — utilisées en l'état, jamais teintées */
  --royal:   #17458F;
  --gold:    #F7A81B;
  --azure:   #0067C8;
  --deep:    #0A1E38;   /* fond média */
  --royal-d: #123A7A;   /* état actif sur royal */
  --royal-f: #10306A;   /* pied de page */
  --gold-ink:#C8891A;   /* or lisible sur fond clair */

  /* Neutres sable */
  --sand:  #FDFBF6;
  --sand2: #F1EDE3;
  --line:  #E2DDD2;
  --ink:   #3C4C5C;
  --ink2:  #55646F;
  --mute:  #8A97A4;
  --mute2: #6B7B8C;
  --white: #fff;

  --sans: 'Frutiger', 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --cond: 'Frutiger Cn', 'Frutiger', system-ui, sans-serif;

  --pad: clamp(20px, 5vw, 44px);
  --gut: clamp(28px, 4vw, 44px);
  --sec: clamp(56px, 9vw, 80px);
  --r: 6px;
  --shadow: 0 18px 40px -24px rgba(23, 69, 143, .55);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--azure); text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* Les règles de classe ci-dessous posent display:grid/flex : sans ceci,
   elles écrasent l'attribut [hidden] et les blocs de confirmation
   s'afficheraient dès le chargement. */
[hidden] { display: none !important; }

.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;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--gold); color: var(--royal); font-weight: 800;
  padding: 14px 22px;
}
.skip-link:focus { left: 0; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--pad); }

/* ── Typographie partagée ─────────────────────────────────── */
.eyebrow {
  font-family: var(--cond);
  color: var(--gold-ink);
  font-size: 12px; font-weight: 800;
  letter-spacing: .24em; text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--rule { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 26px; }
.eyebrow--rule::before {
  content: ''; height: 2px; width: clamp(34px, 8vw, 70px);
  background: var(--gold); flex: none;
  /* aligné sur la première ligne, même quand le libellé passe à la ligne */
  margin-top: .78em;
}

.h2 {
  color: var(--royal);
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.08; font-weight: 900; letter-spacing: -.03em;
  text-wrap: balance;
  margin-bottom: 22px;
}
.h2--s { font-size: clamp(26px, 3.8vw, 38px); }
.h2--light { color: var(--white); }

.p { color: var(--ink); font-size: clamp(16px, 1.6vw, 17px); line-height: 1.75; margin-bottom: 16px; text-wrap: pretty; }
.p--lead { color: var(--ink2); margin-bottom: 40px; }
.p--light { color: rgba(255, 255, 255, .7); }

.link-gold {
  display: inline-block; color: var(--royal); font-size: 15px; font-weight: 800;
  letter-spacing: .04em; border-bottom: 2px solid var(--gold); padding-bottom: 3px;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}
.link-gold:hover { color: var(--gold-ink); }

.fineprint { color: var(--mute2); font-size: 13px; margin-top: 22px; }
.fineprint--c { text-align: center; margin-top: 14px; }

/* ── Boutons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--cond);
  font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 16px 26px; border-radius: 4px; text-align: center;
  transition: background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--blue  { background: var(--royal); color: var(--white); }
.btn--blue:hover  { background: var(--gold); color: var(--royal); }
.btn--gold  { background: var(--gold); color: var(--royal); }
.btn--gold:hover  { background: var(--royal); color: var(--white); }
.btn--ghost { border: 2px solid var(--royal); color: var(--royal); padding: 14px 24px; }
.btn--ghost:hover { background: var(--royal); color: var(--white); }
.btn--outline-light { border: 1px solid rgba(255,255,255,.3); color: var(--white); padding: 13px 26px; font-size: 13px; }
.btn--outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn--full { width: 100%; }

/* ── Bandeau district ─────────────────────────────────────── */
.topbar { background: var(--royal); }
.topbar__in {
  max-width: 1240px; margin-inline: auto; padding: 12px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--cond);
  font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
}
.topbar__left  { color: var(--white); }
.topbar__right { color: var(--gold); text-align: right; }
@media (max-width: 719px) { .topbar__left { display: none; } .topbar__right { text-align: center; width: 100%; } }

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: var(--sand);                                   /* repli */
  background: color-mix(in srgb, var(--sand) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 26px -22px rgba(10, 30, 56, .5); }
.nav__in {
  max-width: 1240px; margin-inline: auto; padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--royal); }
.brand__wheel { width: 40px; height: 40px; flex: none; color: var(--royal); }
.brand__wheel svg { width: 100%; height: 100%; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { color: var(--royal); font-size: 15px; font-weight: 900; letter-spacing: -.01em; }
.brand__sub {
  font-family: var(--cond); color: var(--mute);
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}

.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav__links > a:not(.btn) {
  color: var(--royal); font-size: 13px; font-weight: 700;
  padding: 6px 0; border-bottom: 2px solid transparent;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.nav__links > a:not(.btn):hover { border-bottom-color: var(--gold); }
.nav__cta { padding: 13px 22px; font-size: 13px; }

.burger { display: none; width: 44px; height: 44px; flex: none; position: relative; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: var(--royal);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 959px) {
  .burger { display: block; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--sand); border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 20px;
    box-shadow: 0 24px 40px -30px rgba(10, 30, 56, .7);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links > a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav__links > a:not(.btn):hover { border-bottom-color: var(--line); color: var(--gold-ink); }
  .nav__cta { margin-top: 16px; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero { padding: clamp(40px, 7vw, 56px) 0 0; }
.hero__title {
  font-family: var(--cond);
  color: var(--royal);
  font-size: clamp(56px, 13.5vw, 126px);
  line-height: .86; font-weight: 900; letter-spacing: -.03em;
  text-transform: uppercase;
  margin: 0;
}
.hero__title em { color: var(--gold); font-style: normal; }
.hero__foot {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--gut);
  margin-top: clamp(28px, 4vw, 40px); align-items: end;
}
.hero__lede { color: var(--ink); font-size: clamp(17px, 2vw, 21px); line-height: 1.6; margin: 0; text-wrap: pretty; }
.hero__cta { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 899px) {
  .hero__foot { grid-template-columns: 1fr; align-items: start; }
  .hero__cta { justify-content: flex-start; }
  .hero__cta .btn { flex: 1 1 auto; }
}

/* ── Couverture / compte à rebours ────────────────────────── */
.cover {
  position: relative; margin-top: clamp(32px, 6vw, 48px);
  height: clamp(380px, 62vw, 660px); overflow: hidden; background: var(--deep);
}
.cover__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(10,30,56,.82) 0%, rgba(10,30,56,.18) 45%, rgba(10,30,56,.35) 100%);
}
.cover__line {
  position: absolute; left: var(--pad); bottom: clamp(24px, 4vw, 40px); right: var(--pad);
  max-width: 620px; color: var(--white);
  font-size: clamp(22px, 4vw, 38px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1;
  text-wrap: pretty;
}
.cover__badge {
  position: absolute; left: var(--pad); top: clamp(20px, 3vw, 28px);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--cond); color: var(--gold);
  font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: float 2.4s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.cover__cd {
  position: absolute; top: clamp(20px, 3vw, 24px); right: var(--pad);
  background: rgba(23, 69, 143, .92); backdrop-filter: blur(6px);
  padding: clamp(12px, 2vw, 20px) clamp(14px, 2.4vw, 26px); border-radius: var(--r);
  display: flex; gap: clamp(12px, 2.2vw, 22px);
}
.cd__u { text-align: center; min-width: clamp(34px, 5vw, 46px); }
.cd__n {
  display: block; color: var(--gold);
  font-size: clamp(20px, 3.4vw, 32px); font-weight: 900; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd__l {
  display: block; font-family: var(--cond); color: rgba(255,255,255,.6);
  font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-top: 5px;
}
@media (max-width: 599px) {
  .cover__cd { left: var(--pad); right: var(--pad); justify-content: space-between; top: auto; bottom: 130px; }
  .cover__line { bottom: 20px; font-size: 20px; }
}

/* ── Placeholders photo (aucune image fournie) ────────────── */
.ph {
  position: relative; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.045) 0 2px, transparent 2px 14px),
    linear-gradient(140deg, var(--royal) 0%, var(--deep) 55%, #0d2a52 100%);
  display: grid; place-items: center; overflow: hidden;
}
.ph::after {
  content: ''; position: absolute; width: 54%; aspect-ratio: 1; border-radius: 50%;
  border: 2px dashed rgba(247, 168, 27, .3);
}
.ph__tag {
  position: relative; z-index: 1;
  font-family: var(--cond); color: rgba(255, 255, 255, .68);
  font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  text-align: center; max-width: 78%; line-height: 1.6;
}
.ph--cover { position: absolute; inset: 0; }
.ph--teaser { position: absolute; inset: 0; }
.ph--g { height: clamp(180px, 26vw, 260px); border-radius: var(--r); }

/* ── Chiffres ─────────────────────────────────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); margin-top: clamp(32px, 5vw, 48px);
}
.stat { padding: clamp(22px, 3vw, 32px) clamp(12px, 2vw, 24px); border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; padding-right: 0; }
.stat__n {
  display: block; color: var(--royal);
  font-size: clamp(34px, 6vw, 56px); font-weight: 900; line-height: 1; letter-spacing: -.03em;
}
.stat__n small { font-size: .6em; }
.stat__l {
  display: block; font-family: var(--cond); color: var(--mute);
  font-size: clamp(10px, 1.3vw, 12px); font-weight: 800; letter-spacing: .18em;
  text-transform: uppercase; margin-top: 8px;
}
@media (max-width: 719px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: 0; padding-right: 0; }
  .stat:nth-child(2n+1) { padding-left: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ── Blocs & bandes ───────────────────────────────────────── */
.block { padding-block: var(--sec); }
.block--tight { padding-top: 0; }
.band { padding-block: var(--sec); }
.band--blue { background: var(--royal); }
.band--sand { background: var(--sand2); }
.band--contact { padding-block: clamp(48px, 7vw, 70px); }

.split {
  padding-block: var(--sec);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.split--top { align-items: start; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; align-items: start; } }

.head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: clamp(28px, 4vw, 40px); flex-wrap: wrap;
}
.head .h2 { margin-bottom: 0; }
.head__note { color: var(--mute2); font-size: 13px; max-width: 320px; text-align: right; margin: 0; }
.head__note--s { text-align: right; }
.head--onblue .head__note { color: rgba(255, 255, 255, .5); }
@media (max-width: 899px) { .head__note, .head__note--s { text-align: left; max-width: none; } }

/* ── Teaser vidéo ─────────────────────────────────────────── */
.teaser { position: relative; height: clamp(240px, 38vw, 400px); border-radius: var(--r); overflow: hidden; }
.teaser__play {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%;
  background: var(--white); display: grid; place-items: center; animation: float 4s ease-in-out infinite;
}
.teaser__play::after {
  content: ''; border-left: 20px solid var(--royal);
  border-top: 13px solid transparent; border-bottom: 13px solid transparent; margin-left: 6px;
}
.teaser__tag {
  position: absolute; left: 20px; bottom: 18px;
  font-family: var(--cond); background: var(--royal); color: var(--white);
  font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 3px;
}

/* ── Épreuves (accordéon) ─────────────────────────────────── */
.acc { display: flex; flex-direction: column; gap: 1px; background: rgba(255, 255, 255, .15); }
.ep { background: var(--royal); transition: background-color .18s var(--ease); }
.ep.is-open { background: var(--royal-d); }
.ep__btn {
  width: 100%; display: flex; align-items: center; gap: clamp(12px, 2vw, 22px);
  padding: clamp(18px, 2.6vw, 24px) clamp(16px, 2.4vw, 28px); text-align: left;
}
.ep__n { color: var(--gold); font-size: 14px; font-weight: 800; min-width: 28px; flex: none; }
.ep__t { color: var(--white); font-size: clamp(16px, 2.2vw, 20px); font-weight: 900; flex: 1; }
.ep__m {
  font-family: var(--cond); color: rgba(255, 255, 255, .45);
  font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; flex: none;
}
.ep__plus {
  color: var(--gold); font-size: 22px; font-weight: 800; width: 20px; text-align: center; flex: none;
  transition: transform .22s var(--ease);
}
.ep.is-open .ep__plus { transform: rotate(45deg); }
.ep__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .28s var(--ease);
}
.ep.is-open .ep__panel { grid-template-rows: 1fr; }
.ep__inner { overflow: hidden; }
.ep__body {
  padding: 4px clamp(16px, 2.4vw, 28px) clamp(20px, 2.6vw, 26px) clamp(16px, 4vw, 50px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 3vw, 40px);
}
.ep__desc { color: rgba(255, 255, 255, .72); font-size: 15px; line-height: 1.7; }
.ep__specs { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.ep__specs > div {
  display: flex; justify-content: space-between; gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .14); padding-bottom: 8px;
}
.ep__specs > div:last-child { border-bottom: 0; padding-bottom: 0; }
.ep__specs dt { color: rgba(255, 255, 255, .5); font-size: 13px; }
.ep__specs dd { color: var(--white); font-size: 13px; font-weight: 700; margin: 0; }
.ep__specs dd.is-gold { color: var(--gold); }
@media (max-width: 799px) {
  .ep__m { display: none; }
  .ep__body { grid-template-columns: 1fr; }
}

/* ── Programme (onglets) ──────────────────────────────────── */
.tabs { display: flex; }
.tab {
  flex: 1; padding: clamp(12px, 2vw, 18px) 10px; text-align: center;
  font-family: var(--cond);
  font-size: clamp(11px, 1.5vw, 13px); font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mute); background: transparent; border-bottom: 3px solid var(--line);
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.tab b { display: block; font-weight: 800; }
.tab span { display: block; font-size: .88em; opacity: .8; font-weight: 700; }
.tab[aria-selected="true"] { background: var(--royal); color: var(--white); border-bottom-color: var(--gold); }
.tabs__body { padding-top: clamp(24px, 3.4vw, 34px); min-height: 300px; }

.sched > li {
  display: grid; grid-template-columns: 90px 1fr 200px; gap: clamp(14px, 2.4vw, 28px);
  border-bottom: 1px solid var(--line); padding: 20px 0;
}
.sched__h { color: var(--gold-ink); font-size: 15px; font-weight: 800; }
.sched__t { color: var(--royal); font-size: clamp(16px, 2vw, 18px); font-weight: 900; margin-bottom: 4px; }
.sched__d { color: var(--ink2); font-size: 15px; }
.sched__l { color: var(--mute); font-size: 13px; font-weight: 700; text-align: right; }
@media (max-width: 799px) {
  .sched > li { grid-template-columns: 68px 1fr; gap: 14px; }
  .sched__l { grid-column: 2; text-align: left; margin-top: 2px; }
}

/* ── Clubs ────────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  border: 1px solid var(--line); background: var(--white); border-radius: 999px;
  padding: 11px 20px; color: var(--royal); font-size: 14px; font-weight: 700;
}
.chips__free {
  border: 1px dashed var(--gold-ink) !important;
  background: rgba(247, 168, 27, .12) !important;
  color: var(--gold-ink) !important; font-weight: 800 !important;
}

/* ── Hôtels ───────────────────────────────────────────────── */
.hotels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 1023px) { .hotels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .hotels { grid-template-columns: 1fr; } }

.hotel { position: relative; display: block; cursor: pointer; }
.hotel input { position: absolute; opacity: 0; pointer-events: none; }
.hotel__in {
  background: var(--white); border: 2px solid var(--line); border-radius: var(--r);
  padding: clamp(18px, 2.4vw, 26px); height: 100%;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.hotel:hover .hotel__in { border-color: #C9D3E2; }
.hotel input:checked + .hotel__in { border-color: var(--royal); box-shadow: var(--shadow); }
.hotel input:focus-visible + .hotel__in { outline: 3px solid var(--gold); outline-offset: 3px; }
.hotel__ph { height: 150px; border-radius: 4px; overflow: hidden; margin-bottom: 20px; }
.hotel__row { display: flex; align-items: flex-start; gap: 14px; }
.hotel__dot {
  width: 18px; height: 18px; border-radius: 50%; flex: none; margin-top: 3px;
  border: 2px solid #C3CBD3; background: var(--white); transition: border-width .15s var(--ease), border-color .15s var(--ease);
}
.hotel input:checked + .hotel__in .hotel__dot { border: 5px solid var(--royal); }
.hotel__n { color: var(--royal); font-size: 19px; font-weight: 900; margin-bottom: 4px; }
.hotel__k {
  font-family: var(--cond); color: var(--mute);
  font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px;
}
.hotel__d { color: var(--ink2); font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.hotel__p { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.hotel__p b { color: var(--royal); font-size: 22px; font-weight: 900; }
.hotel__p span { color: var(--mute); font-size: 13px; }

/* ── Inscription ──────────────────────────────────────────── */
.insc { display: grid; grid-template-columns: 1.25fr .75fr; gap: var(--gut); align-items: start; }
@media (max-width: 899px) { .insc { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(22px, 3.4vw, 38px);
}
.step {
  font-family: var(--cond); color: var(--royal);
  font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  padding-bottom: 18px; border-bottom: 2px solid var(--royal); margin-bottom: 28px;
}
.step--2 { margin-top: 40px; }
.step--flat { border: 0; padding: 0; margin-bottom: 18px; }
.step--light { color: var(--white); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid2--steppers { margin-top: 34px; }
@media (max-width: 599px) { .grid2 { grid-template-columns: 1fr; gap: 22px; } }

.field { display: block; }
.field__l {
  display: block; font-family: var(--cond); color: var(--mute);
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px;
}
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 2px solid var(--line); background: transparent;
  padding: 8px 0; font-size: 16px; color: var(--royal); outline: none;
  transition: border-color .18s var(--ease);
  border-radius: 0;
}
.field textarea {
  border: 2px solid var(--line); border-radius: 4px; padding: 12px 14px;
  line-height: 1.55; resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--royal); }
.field input::placeholder, .field textarea::placeholder { color: #B7C1CB; }
.field input:user-invalid { border-color: #E02927; }

.stepper { display: flex; align-items: center; gap: clamp(10px, 2vw, 18px); flex-wrap: wrap; margin-top: 12px; }
.stepper__b {
  width: 42px; height: 42px; flex: none; border: 2px solid var(--royal); border-radius: 4px;
  color: var(--royal); font-size: 22px; font-weight: 800; display: grid; place-items: center;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.stepper__b:hover { background: var(--royal); color: var(--white); }
.stepper__b:disabled { opacity: .35; pointer-events: none; }
.stepper__v {
  color: var(--royal); font-size: 30px; font-weight: 900; min-width: 44px; text-align: center;
  font-variant-numeric: tabular-nums;
}
.stepper__hint { color: var(--mute); font-size: 13px; }

.opts { display: flex; flex-direction: column; gap: 20px; }
.opt { display: flex; align-items: center; gap: 18px; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__sw {
  width: 46px; height: 26px; flex: none; border-radius: 999px; background: #D6DEE6; padding: 3px;
  display: flex; justify-content: flex-start; transition: background-color .2s var(--ease);
}
.opt__sw::after { content: ''; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform .2s var(--ease); }
.opt input:checked + .opt__sw { background: var(--royal); }
.opt input:checked + .opt__sw::after { transform: translateX(20px); }
.opt input:focus-visible + .opt__sw { outline: 3px solid var(--gold); outline-offset: 3px; }
.opt__txt { flex: 1; }
.opt__t { color: var(--royal); font-size: 16px; font-weight: 900; }
.opt__d { color: var(--mute); font-size: 13px; }
.opt__p { color: var(--royal); font-size: 14px; font-weight: 800; flex: none; text-align: right; }
@media (max-width: 479px) {
  .opt { flex-wrap: wrap; }
  .opt__p { width: 100%; text-align: left; padding-left: 64px; }
}

.devis {
  background: var(--royal); border-radius: var(--r); padding: clamp(22px, 3vw, 34px);
  position: sticky; top: 96px;
}
@media (max-width: 899px) { .devis { position: static; } }
.devis__t {
  font-family: var(--cond); color: var(--gold);
  font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 24px;
}
.devis__lines { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.devis__lines > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.devis__lines dt { color: var(--white); font-size: 15px; font-weight: 700; }
.devis__lines dt small { display: block; color: rgba(255,255,255,.5); font-size: 12px; font-weight: 400; }
.devis__lines dd { color: var(--white); font-size: 15px; font-weight: 800; white-space: nowrap; margin: 0; }
.devis__hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .2); margin: 24px 0 20px; }
.devis__tl {
  font-family: var(--cond); color: rgba(255, 255, 255, .6);
  font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 6px;
}
.devis__total { color: var(--gold); font-size: clamp(28px, 4vw, 34px); font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.devis__pp { color: rgba(255, 255, 255, .6); font-size: 13px; margin-top: 6px; }
.devis .btn { margin-top: 26px; }
.devis__note { color: rgba(255, 255, 255, .45); font-size: 12px; text-align: center; margin-top: 14px; line-height: 1.5; }

.done {
  background: var(--royal); border-radius: var(--r); padding: clamp(34px, 6vw, 60px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.done__check {
  width: 76px; height: 76px; border-radius: 50%; border: 4px solid var(--gold); color: var(--gold);
  font-size: 34px; font-weight: 800; display: grid; place-items: center; margin-bottom: 28px;
}
.done__t { color: var(--white); font-size: clamp(26px, 4vw, 34px); font-weight: 900; letter-spacing: -.02em; margin-bottom: 14px; }
.done__p { color: rgba(255, 255, 255, .75); font-size: 17px; line-height: 1.7; max-width: 520px; margin-bottom: 30px; }
.done__stats { display: flex; gap: clamp(24px, 5vw, 40px); margin-bottom: 34px; flex-wrap: wrap; justify-content: center; }
.done__stats > div { display: flex; flex-direction: column; }
.done__stats span:first-child { color: var(--gold); font-size: 26px; font-weight: 900; }
.done__stats span:last-child {
  font-family: var(--cond); color: rgba(255, 255, 255, .5);
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-top: 4px;
}

/* ── Galerie ──────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: var(--sec); }
@media (max-width: 799px) { .gallery { grid-template-columns: 1fr; } }

/* ── Sponsors ─────────────────────────────────────────────── */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
@media (max-width: 899px) { .packs { grid-template-columns: 1fr; } }
.pack { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(22px, 3vw, 32px); position: relative; }
.pack--hero { background: var(--royal); border-color: var(--royal); }
.pack__flag {
  position: absolute; top: -12px; left: 32px;
  font-family: var(--cond); background: var(--gold); color: var(--royal);
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 3px;
}
.pack__k { font-family: var(--cond); color: var(--mute); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.pack--hero .pack__k { color: rgba(255, 255, 255, .6); }
.pack__p { color: var(--royal); font-size: 30px; font-weight: 900; margin: 10px 0 22px; letter-spacing: -.02em; }
.pack--hero .pack__p { color: var(--gold); }
.pack__l { display: flex; flex-direction: column; gap: 11px; }
.pack__l li { color: var(--ink2); font-size: 14px; padding-left: 18px; position: relative; }
.pack__l li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.pack--hero .pack__l li { color: rgba(255, 255, 255, .8); }
.packs__foot { margin-top: 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.packs__foot p { color: var(--mute2); font-size: 13px; margin: 0; }

/* ── Infos pratiques ──────────────────────────────────────── */
.infos { display: flex; flex-direction: column; gap: 24px; }
.infos > div { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.infos > div:last-child { border-bottom: 0; padding-bottom: 0; }
.infos dt { color: var(--royal); font-size: 16px; font-weight: 900; margin-bottom: 6px; }
.infos dd { color: var(--ink2); font-size: 15px; line-height: 1.65; margin: 0; }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; }
.faq__i { border-top: 1px solid var(--line); }
.faq__i:last-child { border-bottom: 1px solid var(--line); }
.faq__b { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 0; text-align: left; }
.faq__q { color: var(--royal); font-size: 16px; font-weight: 900; flex: 1; }
.faq__s { color: var(--gold-ink); font-size: 20px; font-weight: 800; flex: none; transition: transform .22s var(--ease); }
.faq__i.is-open .faq__s { transform: rotate(45deg); }
.faq__p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s var(--ease); }
.faq__i.is-open .faq__p { grid-template-rows: 1fr; }
.faq__p > div { overflow: hidden; }
.faq__a { color: var(--ink2); font-size: 15px; line-height: 1.7; padding-bottom: 20px; }

/* ── Boîte à idées ────────────────────────────────────────── */
.idees { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--gut); align-items: start; }
@media (max-width: 899px) { .idees { grid-template-columns: 1fr; } }
.card--idee { position: relative; }
.card--idee .field { margin-bottom: 22px; }
.roles { margin-bottom: 22px; }
.roles__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rchip {
  padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 800;
  border: 2px solid var(--line); background: var(--white); color: var(--mute);
  transition: all .16s var(--ease);
}
.rchip:hover { border-color: #C9D3E2; }
.rchip.is-on { border-color: var(--royal); background: var(--royal); color: var(--white); }

.idee-done {
  position: absolute; inset: 0; background: var(--white); border-radius: var(--r);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(24px, 4vw, 40px);
}
.idee-done__check {
  width: 62px; height: 62px; border-radius: 50%; background: var(--gold); color: var(--royal);
  font-size: 30px; font-weight: 800; display: grid; place-items: center; margin-bottom: 22px;
}
.idee-done__t { color: var(--royal); font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.idee-done__p { color: var(--ink2); font-size: 15px; line-height: 1.6; margin-bottom: 24px; }

.mur__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.mur__head--onblue { margin-top: clamp(32px, 5vw, 44px); }
.mur__list { display: flex; flex-direction: column; gap: 12px; }
.idee {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 24px; display: flex; align-items: flex-start; gap: 20px;
}
.idee__vote {
  width: 54px; flex: none; border-radius: 4px; border: 2px solid var(--line); background: var(--white);
  color: var(--mute); padding: 10px 0;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-size: 15px; font-weight: 800; line-height: 1; transition: all .16s var(--ease);
}
.idee__vote:hover { border-color: #C9D3E2; }
.idee__vote.is-on { border-color: var(--royal); background: var(--royal); color: var(--gold); }
.idee__txt { flex: 1; }
.idee__t { color: var(--royal); font-size: 16px; font-weight: 700; line-height: 1.55; margin-bottom: 8px; }
.idee__a {
  font-family: var(--cond); color: var(--mute);
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.idee__tag {
  flex: none; font-family: var(--cond);
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
  color: var(--gold-ink); background: rgba(247, 168, 27, .16);
}
.idee__tag.is-kept { color: var(--royal); background: rgba(23, 69, 143, .1); }
@media (max-width: 599px) {
  .idee { flex-wrap: wrap; }
  .idee__tag { order: 3; margin-left: 74px; }
}

/* ── Concours logo ────────────────────────────────────────── */
.rules {
  display: flex; flex-wrap: wrap; gap: 26px;
  margin: 30px 0 40px; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 26px;
}
.rules > div { flex: 1; min-width: 180px; }
.rules__k {
  font-family: var(--cond); color: var(--gold);
  font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px;
}
.rules__v { color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.6; }

.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
@media (max-width: 1023px) { .logos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 519px)  { .logos { grid-template-columns: 1fr; } }
.logo-c { background: var(--white); border-radius: var(--r); overflow: hidden; border: 3px solid transparent; transition: border-color .16s var(--ease); }
.logo-c.is-on { border-color: var(--gold); }
.logo-c__ph { height: 210px; background: var(--sand2); position: relative; }
.logo-c__ph .ph { background: repeating-linear-gradient(135deg, rgba(23,69,143,.05) 0 2px, transparent 2px 14px), var(--sand2); }
.logo-c__ph .ph::after { border-color: rgba(23, 69, 143, .18); }
.logo-c__ph .ph__tag { color: var(--mute); }
.logo-c__rank {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  font-family: var(--cond); background: var(--royal); color: var(--gold);
  font-size: 11px; font-weight: 800; letter-spacing: .12em; padding: 6px 11px; border-radius: 3px;
}
.logo-c__b { padding: 20px 22px 22px; }
.logo-c__t { color: var(--royal); font-size: 17px; font-weight: 900; margin-bottom: 4px; }
.logo-c__a {
  font-family: var(--cond); color: var(--mute);
  font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px;
}
.logo-c__v {
  width: 100%; border: 2px solid var(--line); background: var(--white); color: var(--royal);
  padding: 12px 0; border-radius: 4px; text-align: center;
  font-family: var(--cond); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  transition: all .16s var(--ease);
}
.logo-c__v:hover { border-color: #C9D3E2; }
.logo-c__v.is-on { border-color: var(--royal); background: var(--royal); color: var(--gold); }

.cta-box {
  background: rgba(255, 255, 255, .07); border: 1px dashed rgba(247, 168, 27, .6); border-radius: var(--r);
  padding: clamp(22px, 3vw, 30px) clamp(22px, 3.4vw, 34px);
  display: flex; align-items: center; gap: clamp(20px, 3vw, 34px); flex-wrap: wrap;
}
.cta-box > div { flex: 1; min-width: 260px; }
.cta-box__t { color: var(--white); font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.cta-box__p { color: rgba(255, 255, 255, .62); font-size: 15px; line-height: 1.6; }

/* ── Newsletter & réseaux ─────────────────────────────────── */
.nl { display: flex; gap: 12px; align-items: stretch; max-width: 520px; margin-top: 30px; flex-wrap: wrap; }
.nl input {
  flex: 1 1 220px; border: 2px solid var(--royal); border-radius: 4px; background: var(--white);
  padding: 15px 18px; font-size: 16px; color: var(--royal); outline: none;
}
.nl input::placeholder { color: #B7C1CB; }
.nl input:focus { border-color: var(--gold-ink); }
.nl .btn { white-space: nowrap; }

.nl-done {
  border: 2px solid var(--royal); border-radius: var(--r); padding: 26px 30px; max-width: 520px;
  display: flex; align-items: center; gap: 20px; margin-top: 30px;
}
.nl-done__check {
  width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--gold); color: var(--royal);
  font-size: 22px; font-weight: 800; display: grid; place-items: center;
}
.nl-done__t { color: var(--royal); font-size: 18px; font-weight: 900; margin-bottom: 4px; }
.nl-done__p { color: var(--ink2); font-size: 14px; line-height: 1.55; }

.socials { display: flex; flex-direction: column; gap: 14px; }
.social {
  border-radius: var(--r); padding: 26px 28px; display: flex; align-items: center; gap: 22px;
  transition: background-color .18s var(--ease);
}
.social--fb { background: var(--royal); }
.social--fb:hover { background: var(--royal-d); }
.social--ig { background: var(--deep); }
.social--ig:hover { background: var(--royal); }
.social__ico {
  width: 52px; height: 52px; flex: none; border-radius: var(--r); background: var(--white); color: var(--royal);
  font-size: 28px; font-weight: 800; display: grid; place-items: center; font-family: Georgia, serif;
}
.social__ico--ig {
  background: transparent; border: 3px solid var(--white); border-radius: 14px;
}
.social__ico--ig::after { content: ''; width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--white); }
.social__txt { flex: 1; display: flex; flex-direction: column; }
.social__txt b { color: var(--white); font-size: 19px; font-weight: 900; margin-bottom: 3px; }
.social__txt span { color: rgba(255, 255, 255, .6); font-size: 13px; }
.social__go {
  font-family: var(--cond); color: var(--gold); flex: none;
  font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
@media (max-width: 519px) { .social { flex-wrap: wrap; gap: 14px; } .social__go { width: 100%; } }

.hashtag {
  border: 1px dashed var(--gold-ink); background: rgba(247, 168, 27, .12); border-radius: var(--r);
  padding: 20px 24px; color: var(--gold-ink); font-size: 14px; line-height: 1.6; font-weight: 700;
}
.hashtag b { font-weight: 900; }

/* ── Contact ──────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 899px) { .contact { grid-template-columns: 1fr; } }
.coords { display: flex; flex-direction: column; gap: 16px; }
.coords > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .18); padding-bottom: 14px;
}
.coords > div:last-child { border-bottom: 0; padding-bottom: 0; }
.coords dt {
  font-family: var(--cond); color: rgba(255, 255, 255, .55);
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.coords dd { margin: 0; }
.coords a { color: var(--gold); font-size: 15px; font-weight: 700; word-break: break-word; }
.coords a:hover { color: var(--white); }

/* ── Pied de page ─────────────────────────────────────────── */
.foot { background: var(--royal-f); }
.foot__in {
  padding-block: 32px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.foot p { color: rgba(255, 255, 255, .5); font-size: 13px; }
.foot__demo { color: rgba(255, 255, 255, .35) !important; font-size: 12px !important; }

/* ── Apparition au chargement ─────────────────────────────── */
.reveal { animation: rise .7s var(--ease) both; animation-delay: var(--d, 0s); }
/* Décalages en classes (pas en style inline) pour garder une CSP stricte,
   sans 'unsafe-inline' sur style-src. */
.reveal--1 { --d: .06s; }
.reveal--2 { --d: .12s; }
.reveal--3 { --d: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ── Impression ───────────────────────────────────────────── */
@media print {
  .nav, .cover__cd, .burger, .btn, .devis .btn { display: none !important; }
  body { background: #fff; }
  .band--blue, .band--sand, .pack--hero, .devis { background: #fff !important; color: #000 !important; }
}
