/* ==========================================================================
   NDE Paris 2027 — feuille de styles unique
   Valeurs reprises de l'export Claude Design ("NDE Paris 2027 — Site vitrine").
   ========================================================================== */

/* ---------- Polices (auto-hébergées, aucune requête vers Google) ---------- */
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/nunito-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url('/fonts/quicksand-latin.woff2') format('woff2');
}

/* ---------- Palette (extraite du logo et du design) ---------- */
:root {
  --navy: #1E3F55;        /* titres, boutons principaux, bandeaux sombres */
  --text: #2E4553;        /* texte courant */
  --plum: #93396C;        /* accent (gecko du logo) */
  --pink: #F2B8CB;        /* rose du logo : boutons secondaires, filets */
  --pink-hover: #E9A3BB;
  --pink-soft: #F6DCE4;   /* bandeaux roses, pied de page */
  --pink-tint: #FBF1F4;
  --blue-soft: #DCE9EF;   /* texte clair sur fond bleu nuit, pastilles */
  --surface: #F3F7F9;
  --line: #E6EEF2;
  --line-strong: #CFDDE4;
  --muted: #4F606B;       /* design : #5B6E7A, assombri pour le contraste AA sur rose */
  --amber-soft: #FBEFC9;
  --amber-ink: #7A4F05;
  --white: #FFFFFF;

  /* Couleurs des prises (logo) — fonds et filets */
  --red: #E63946;
  --teal: #2D9DAE;
  --orange: #F2A93B;
  --green: #7FC9A1;
  --sky: #A9D6EA;
  /* Mêmes teintes, assombries pour du texte sur fond blanc (contraste AA) */
  --red-ink: #C42531;
  --teal-ink: #1C7480;
  --orange-ink: #94590A;
  --green-ink: #23764A;
  --sky-ink: #24678A;

  --font-body: 'Nunito', system-ui, sans-serif;
  --font-title: 'Quicksand', 'Nunito', sans-serif;
  --radius: 24px;
  --gutter: 32px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--navy); margin: 0; }
p, ul, ol, dl, dd, figure { margin: 0; }
img { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--plum); }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 2px; }
.on-dark :focus-visible, .band-navy :focus-visible { outline-color: var(--pink); }
[id] { scroll-margin-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;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: 12px; font-weight: 800;
}
.skip-link:focus { top: 16px; color: var(--white); }

/* Contenu pas encore fourni : reste visible, entre crochets, en gris */
.todo { color: var(--muted); }

/* ---------- Mise en page ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }
.band-pink { background: var(--pink-soft); }
.band-navy { background: var(--navy); color: var(--white); }
.stack { display: flex; flex-direction: column; }

.eyebrow {
  font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--plum);
}
.band-navy .eyebrow { color: var(--pink); }
.lead { font-size: 19px; line-height: 1.6; max-width: 720px; }
.h1-xl { font-size: clamp(38px, 7vw, 60px); line-height: 1; }
.h1-l { font-size: clamp(38px, 7vw, 56px); line-height: 1; }

/* Bandeau de titre des pages intérieures */
.page-title { padding-block: 48px; display: flex; flex-direction: column; gap: 12px; }
.page-title .lead { font-size: 18px; }

/* ---------- Boutons, pastilles, cartes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 800; font-size: 16px; text-decoration: none; text-align: center;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--plum); color: var(--white); }
.btn-secondary { background: var(--pink); color: var(--navy); }
.btn-secondary:hover { background: var(--pink-hover); color: var(--navy); }
.btn-lg { min-height: 56px; font-size: 18px; padding: 0 32px; }

.pill {
  display: inline-block; background: var(--blue-soft); color: var(--navy); border-radius: 999px;
  padding: 6px 14px; font-weight: 700; font-size: 14px; white-space: nowrap;
}
.pill-pink { background: var(--pink-soft); color: var(--plum); }
.pill-amber { background: var(--amber-soft); color: var(--amber-ink); }
@media (max-width: 480px) { .pill { white-space: normal; } }

.card { background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); }
.panel { border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.panel p { font-size: 15px; line-height: 1.6; }
.panel-navy { background: var(--navy); color: var(--white); }
.panel-navy h3 { font-size: 20px; color: var(--pink); }
.panel-navy p { color: var(--blue-soft); }
.panel-pink { background: var(--pink-soft); }
.panel-pink h3 { font-size: 20px; }
.panel-line { border: 2px solid var(--line); }

/* Lien Instagram (accueil, programme, pied de page) */
/* L'icône et le texte sont deux boîtes flex centrées. Nunito place ses lettres un peu bas
   dans leur boîte : le texte remonte d'1 px (padding-bottom) pour tomber au milieu de l'icône. */
.icon { flex: none; display: block; width: 18px; height: 18px; }
.insta-link > span, .footer-insta > span { display: block; line-height: 1; padding-bottom: 1px; }
.insta-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; line-height: 1;
  border-radius: 999px; border: 2px solid var(--pink); background: var(--white);
  color: var(--plum); font-weight: 800; font-size: 15px; text-decoration: none;
}
.insta-link:hover { background: var(--pink-tint); border-color: var(--plum); color: var(--plum); }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.footer-insta { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; line-height: 1; font-weight: 800; color: var(--navy); }
.footer-insta .icon { width: 16px; height: 16px; }

/* Prise d'escalade (forme décorative reprise du logo) */
.hold {
  display: inline-block; width: 44px; height: 36px; position: relative; flex: none;
  border-radius: 55% 45% 60% 40% / 55% 50% 50% 45%;
}
.hold::after {
  content: ""; position: absolute; left: 16px; top: 12px; width: 12px; height: 12px;
  background: var(--white); border-radius: 50%;
}
.hold-b { border-radius: 45% 55% 40% 60% / 50% 45% 55% 50%; }
.hold-c { border-radius: 60% 40% 50% 50% / 45% 55% 45% 55%; }
.hold-lg { width: 52px; height: 42px; }
.hold-lg::after { left: 20px; top: 15px; }
.hold-plain::after { content: none; }
.bg-red { background: var(--red); }
.bg-teal { background: var(--teal); }
.bg-orange { background: var(--orange); }
.bg-green { background: var(--green); }
.bg-sky { background: var(--sky); }

/* ---------- En-tête (pages intérieures) ---------- */
.site-header { border-bottom: 2px solid var(--pink); }
.site-header .wrap {
  padding-top: 12px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px;
}
.brand { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 64px; height: 64px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-title); font-weight: 700; font-size: 22px; }
.brand-tag { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--plum); }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; align-self: flex-end; }
.tab {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px;
  border-radius: 16px 16px 0 0; border: 2px solid var(--line); border-bottom: 0;
  background: var(--surface); color: var(--navy); text-decoration: none; font-weight: 800; font-size: 16px;
}
.tab:hover { background: var(--pink-soft); color: var(--navy); }
.tab[aria-current="page"] { background: var(--white); color: var(--plum); border-color: var(--pink); position: relative; top: 2px; }
.tab-cta { background: var(--navy); color: var(--white); border-color: var(--navy); }
.tab-cta:hover { background: var(--plum); color: var(--white); border-color: var(--plum); }
.tab-cta[aria-current="page"] { background: var(--plum); border-color: var(--plum); color: var(--white); }

/* Mobile : les onglets passent en grille 2 × 2 sous le logo (adaptation, le design ne couvre que l'accueil en mobile) */
@media (max-width: 640px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; width: 100%; padding-bottom: 12px; }
  .tab { justify-content: center; border-radius: 14px; border-bottom: 2px solid var(--line); font-size: 15px; padding: 0 12px; }
  .tab[aria-current="page"] { top: 0; }
  .tab-cta { border-bottom-color: var(--navy); }
  .tab-cta[aria-current="page"] { border-bottom-color: var(--plum); }
}

/* ---------- Pied de page ---------- */
.site-footer { background: var(--pink-soft); }
.site-footer .wrap { padding-block: 40px; display: flex; flex-direction: column; gap: 28px; }
.footer-main { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; }
.footer-id { display: flex; align-items: center; gap: 14px; }
.footer-id img { width: 56px; height: 56px; object-fit: contain; }
.footer-id .stack { gap: 2px; }
.footer-name { font-family: var(--font-title); font-weight: 700; font-size: 18px; color: var(--navy); }
.footer-small { font-size: 14px; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; font-weight: 700; }
.footer-nav a, .footer-legal a { display: inline-block; padding-block: 6px; }
.footer-contact { display: flex; flex-direction: column; gap: 4px; }
.footer-legal {
  display: flex; flex-wrap: wrap; gap: 4px 24px; padding-top: 20px; border-top: 1px solid var(--pink);
  font-size: 14px; color: var(--muted);
}

/* ==========================================================================
   Accueil
   ========================================================================== */
.hero { padding: 48px var(--gutter) 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.hero-logo { width: 100%; max-width: 520px; height: auto; }
.hero h1 { font-size: 40px; line-height: 1.05; }
.hero-place { font-family: var(--font-title); font-weight: 700; font-size: 22px; color: var(--plum); }
.hero-text { font-size: 18px; line-height: 1.6; max-width: 620px; }

.tiles { padding-top: 24px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.tile {
  flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: 28px;
  border-radius: var(--radius); border: 2px solid var(--line); background: var(--white); text-decoration: none; color: inherit;
}
.tile:hover { border-color: var(--pink); background: var(--pink-tint); color: inherit; }
.tile-title { font-family: var(--font-title); font-weight: 700; font-size: 24px; color: var(--navy); }
.tile-text { font-size: 15px; line-height: 1.5; }
.tile-arrow { font-weight: 800; color: var(--plum); margin-top: auto; }
.tile-cta, .tile-cta:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.tile-cta:hover { border-color: var(--pink); }
.tile-cta .tile-title { color: var(--white); }
.tile-cta .tile-text { color: var(--blue-soft); }
.tile-cta .tile-arrow { color: var(--pink); }

.mosaic { padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 16px; }
.mosaic figure { flex: 1 1 240px; height: 440px; position: relative; border-radius: var(--radius); overflow: hidden; }
.mosaic figure.wide { flex: 1.7 1 380px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mosaic figcaption {
  position: absolute; left: 14px; bottom: 14px; background: var(--white); color: var(--navy);
  border-radius: 999px; padding: 6px 14px; font-weight: 800; font-size: 14px;
}
@media (max-width: 640px) { .mosaic figure { height: 320px; } }

.facts { padding-block: 32px; display: flex; flex-wrap: wrap; gap: 24px; }
.fact { flex: 1 1 200px; display: flex; flex-direction: column; gap: 6px; }
.fact-value { font-family: var(--font-title); font-weight: 700; font-size: 34px; color: var(--navy); }
.fact-label { font-weight: 700; color: var(--plum); }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-head h2 { font-size: 36px; }
.section-head a { font-weight: 800; }
.brief { padding-top: 64px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 28px; }
.signup-band { padding-top: 48px; padding-bottom: 80px; }
.days-brief { display: flex; flex-wrap: wrap; gap: 16px; }
.day-card { flex: 1 1 180px; padding: 24px; display: flex; flex-direction: column; gap: 10px; border-top-width: 8px; }
.day-card h3 { font-size: 19px; }
.day-card .when { font-weight: 800; }

.cta-photo { background: var(--navy); border-radius: 32px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: stretch; color: var(--white); }
.cta-photo-media { flex: 1 1 320px; min-height: 340px; position: relative; }
.cta-photo-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cta-photo-body { flex: 2 1 420px; padding: 48px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.cta-photo-body h2 { font-size: 34px; color: var(--white); }
.cta-photo-body p { font-size: 17px; line-height: 1.6; color: var(--blue-soft); }
.cta-photo-body .btn { align-self: flex-start; }
@media (max-width: 640px) {
  .cta-photo-body { padding: 32px 24px; }
  .cta-photo-body h2 { font-size: 28px; }
  .cta-photo-media { min-height: 260px; }
}

/* ==========================================================================
   Programme
   ========================================================================== */
.programme-title { padding-block: 56px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.programme-title > .stack { flex: 1 1 480px; gap: 16px; min-width: 0; }
.note-box { flex: 0 1 300px; background: var(--white); border-radius: 20px; padding: 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.note-box strong { font-weight: 800; color: var(--plum); }
.note-box p { font-size: 15px; line-height: 1.55; }
.banner-photo { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }

.timeline { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 24px; }
.day { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: stretch; }
.date {
  flex: 0 0 180px; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column;
  justify-content: center; gap: 4px; color: var(--white);
}
.date.on-light { color: var(--navy); }
.date .d { font-family: var(--font-title); font-weight: 700; font-size: 44px; line-height: 1; }
/* design : 16px ; 19px pour que le blanc sur rouge / turquoise passe le contraste AA "grand texte" */
.date .m { font-weight: 800; font-size: 19px; letter-spacing: 0.06em; text-transform: uppercase; }
.slot {
  flex: 1 1 420px; min-width: 0; border: 2px solid var(--line); border-radius: var(--radius);
  padding: 28px 32px; display: flex; flex-direction: column; gap: 12px;
}
.slot-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.slot h2 { font-size: 28px; }
.slot ul { padding-left: 20px; line-height: 1.6; font-size: 16px; }
.slot > a { font-weight: 800; }
@media (max-width: 640px) {
  .date { flex: 1 1 100%; flex-direction: row; align-items: baseline; gap: 10px; padding: 16px 24px; }
  .date .d { font-size: 36px; }
  .slot { padding: 24px 20px; }
  .slot h2 { font-size: 24px; }
}

.cta-band {
  background: var(--navy); border-radius: 32px; padding: 40px 48px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 24px 48px; color: var(--white);
}
.cta-band > .stack { flex: 1 1 420px; gap: 8px; min-width: 0; }
.cta-band h2 { font-size: 30px; color: var(--white); }
.cta-band p { font-size: 16px; line-height: 1.6; color: var(--blue-soft); }
@media (max-width: 640px) { .cta-band { padding: 32px 24px; } .cta-band h2 { font-size: 26px; } }

/* ==========================================================================
   Compétition
   ========================================================================== */
.comp-hero { padding-block: 56px; display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; }
.comp-hero > .stack { flex: 1 1 480px; min-width: 0; gap: 20px; }
.comp-hero h1 { color: var(--white); }
.comp-hero .lead { color: var(--blue-soft); }
.comp-hero img { flex: 0 1 380px; min-width: 260px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); display: block; }
@media (max-width: 640px) { .comp-hero img { min-width: 0; flex-basis: 100%; } }
.anchors { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }
.anchor {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--white); border: 2px solid var(--line); text-decoration: none; font-weight: 800; font-size: 15px; color: var(--navy);
}
.anchor:hover { border-color: var(--pink); }

.rules-split { padding-block: 64px; display: flex; flex-wrap: wrap; gap: 32px 64px; }
.rules-intro { flex: 1 1 280px; display: flex; flex-direction: column; gap: 16px; }
.rules-intro h2 { font-size: 36px; }
.rules-intro > p { font-size: 17px; line-height: 1.6; }
.keep { background: var(--white); border-radius: 20px; padding: 20px 24px; display: flex; flex-direction: column; gap: 6px; }
.keep strong { font-weight: 800; color: var(--plum); }
.keep p { font-size: 15px; line-height: 1.55; }

.rules { border-radius: var(--radius); padding: 12px 28px; }
.rules-white { flex: 2 1 480px; background: var(--white); }
.rules-line { border: 2px solid var(--line); }
.rule { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rule:last-child { border-bottom: 0; }
.rule dt { flex: 0 0 150px; }
.rule dd { flex: 1 1 320px; line-height: 1.55; font-size: 16px; }
.rules-pink .pill { background: var(--pink-soft); color: var(--plum); }
@media (max-width: 640px) { .rules { padding: 8px 20px; } }

.comp-section { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 32px; }
.comp-section.first { padding-top: 72px; }
.comp-section header { display: flex; flex-direction: column; gap: 12px; }
.comp-section h2 { font-size: 40px; }
.comp-section header p { font-size: 17px; line-height: 1.6; max-width: 760px; }
.qualif-grid { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.qualif-grid .rules { flex: 2 1 520px; min-width: 0; }
.qualif-aside { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
.qualif-aside img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.panel-navy strong { color: var(--white); }

.recap { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 24px; }
.recap h2 { font-size: 32px; }
.table-box { overflow-x: auto; border: 2px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 640px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; line-height: 1.5; }
tbody tr:last-child > * { border-bottom: 0; }
th { font-family: var(--font-title); color: var(--navy); font-size: 16px; }
thead tr { background: var(--surface); }

.closing { padding-top: 48px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 24px; }
.closing .panel-pink { flex: 2 1 480px; padding: 32px; }
.closing .panel-pink h2 { font-size: 28px; }
.closing .panel-pink p { font-size: 16px; }
.closing .panel-navy { flex: 1 1 300px; padding: 32px; justify-content: center; gap: 16px; }
.closing .panel-navy h2 { font-size: 24px; color: var(--white); }
.closing .btn { align-self: flex-start; }

/* ==========================================================================
   Inscription
   ========================================================================== */
.signup { padding-top: 56px; padding-bottom: 80px; display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: flex-start; }
.signup-aside { flex: 1 1 300px; display: flex; flex-direction: column; gap: 32px; }
.signup-aside > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.signup-aside h2 { font-size: 26px; }
.signup-aside .panel-line h3 { font-size: 18px; }
.steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step .n {
  flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--pink); color: var(--navy);
  font-family: var(--font-title); font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center;
}
.step strong { color: var(--navy); }
.step span:not(.n) { font-size: 15px; line-height: 1.5; }

.form-card { flex: 2 1 520px; min-width: 0; border: 2px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 24px; }
.form-card h2 { font-size: 26px; }
.form-card .hint { font-size: 14px; color: var(--muted); line-height: 1.5; }
.consent { background: var(--surface); border-radius: 16px; padding: 16px 20px; font-size: 14px; line-height: 1.55; }
.tally-frame { display: block; width: 100%; min-height: 600px; border: 0; margin: 0; }
.form-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  min-height: 320px; padding: 32px 24px; background: #EEF3F6; border: 2px dashed #9DB4C2; border-radius: var(--radius); color: var(--navy);
}
.form-placeholder strong { font-weight: 800; font-size: 17px; }
.form-placeholder p { font-size: 15px; line-height: 1.55; max-width: 440px; }
@media (max-width: 640px) { .form-card { padding: 24px 16px; } }

/* ==========================================================================
   Hébergement
   ========================================================================== */
.lodging { padding-top: 56px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; }
.lodging-info { flex: 1 1 320px; display: flex; flex-direction: column; gap: 24px; }
.lodging-info h2 { font-size: 30px; }
.lodging-info .stack { gap: 12px; }
.lodging-info .stack p { font-size: 16px; line-height: 1.6; }
.lodging-info .pill, .lodging-info .btn { align-self: flex-start; }
.mini-steps { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.mini-steps li { display: flex; gap: 14px; align-items: flex-start; }
.mini-steps .n {
  flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--pink); color: var(--navy);
  font-family: var(--font-title); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.mini-steps p { font-size: 15px; line-height: 1.55; }
.mini-steps strong { color: var(--navy); }

.lodging-card { flex: 1 1 420px; min-width: 0; border: 2px dashed var(--line-strong); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.lodging-card-top { height: 120px; background: var(--pink-soft); display: flex; align-items: center; justify-content: center; gap: 18px; }
.lodging-card-body { padding: 28px 32px; display: flex; flex-direction: column; gap: 16px; }
.lodging-card-body h2 { font-size: 26px; color: var(--muted); }
.spec { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec:last-child { border-bottom: 0; }
.spec dt { flex: 0 0 140px; font-weight: 800; color: var(--navy); font-size: 15px; }
.spec dd { flex: 1 1 240px; font-size: 15px; color: var(--muted); }
@media (max-width: 640px) { .lodging-card-body { padding: 24px 20px; } }

.idf { padding-top: 32px; padding-bottom: 80px; }
.idf .cta-band { border-radius: var(--radius); padding: 32px 40px; gap: 16px 40px; }
.idf .cta-band > .stack { flex-basis: 400px; }
.idf .cta-band h2 { font-size: 24px; }
.idf .cta-band p { font-size: 15px; }
@media (max-width: 640px) { .idf .cta-band { padding: 28px 24px; } }

/* ==========================================================================
   Pages texte (mentions légales, confidentialité, 404)
   ========================================================================== */
.prose { max-width: 760px; padding-top: 48px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 16px; font-size: 16px; line-height: 1.65; }
.prose h2 { font-size: 26px; margin-top: 24px; }
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 4px; }
.prose .updated { font-size: 14px; color: var(--muted); }

/* ---------- Mobile : gouttières réduites ---------- */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .hero { padding-top: 32px; }
  .rules-intro h2, .comp-section h2 { font-size: 32px; }
  .section-head h2 { font-size: 30px; }
}
