/* =========================================================
   Mastermind Expedition · Bali 2027
   Mobile d'abord : les règles de base visent le téléphone,
   les @media (min-width: …) ajoutent la mise en page ordinateur.
   ========================================================= */

/* ---------- Polices (hébergées sur le site, aucune requête externe) ----------
   Substituts libres : Jost (à la place de Coco Gothic) et Libre Baskerville
   (à la place d'ITC New Baskerville). Licences dans assets/fonts/. */
@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("assets/fonts/libre-baskerville-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("assets/fonts/libre-baskerville-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("assets/fonts/libre-baskerville-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Charte ----------
   Règle d'accessibilité : l'or ne se pose jamais en texte sur le bleu #033dff,
   ni en petit texte sur fond clair. L'or en texte se place sur --bleu. */
:root {
  --bleu: #042563;          /* bleu base */
  --bleu-vif: #033dff;      /* bleu dégradé, décor uniquement */
  --or: #bf8938;
  --encre: #0c1b3d;         /* texte courant sur fond clair */
  --encre-douce: #45506a;
  --blanc: #ffffff;
  --sable: #f5f1ea;         /* fond clair alterné */
  --ligne: #dcd6cb;
  --ligne-bleu: rgba(255, 255, 255, 0.18);
  --erreur: #b3261e;

  --font-titre: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --font-texte: "Libre Baskerville", "Baskerville", Georgia, serif;

  --gouttiere: 20px;
  --largeur: 1120px;
  --largeur-texte: 44rem;
  --rayon: 14px;
  --header-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--font-texte);
  font-size: 1rem;
  line-height: 1.7;
  /* espace pour la barre fixe mobile */
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--font-titre);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.5rem, 9vw, 4.5rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 6vw, 2.9rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.container.narrow { max-width: calc(var(--largeur-texte) + 2 * var(--gouttiere)); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--or); color: var(--bleu); padding: 10px 16px; border-radius: 8px;
  font-family: var(--font-titre); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }
.section-light :focus-visible, .section-sand :focus-visible, .form-card :focus-visible { outline-color: var(--bleu-vif); }

/* Repères [À COMPLÉTER], volontairement visibles */
.todo {
  display: inline;
  background: #fff1a8;
  color: #3b3000;
  font-family: var(--font-titre);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
p.todo { display: block; width: fit-content; max-width: 100%; padding: 0.45em 0.7em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.8em 1.6em;
  border: 0; border-radius: 999px;
  font-family: var(--font-titre); font-size: 1.05rem; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.btn-gold { background: var(--or); color: var(--bleu); }
.btn-gold:hover { background: #cc9645; box-shadow: 0 6px 20px rgba(191, 137, 56, 0.35); transform: translateY(-1px); }
.btn-small { min-height: 42px; padding: 0.5em 1.2em; font-size: 0.95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.65; cursor: wait; transform: none; box-shadow: none; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bleu);
  border-bottom: 1px solid var(--ligne-bleu);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }
.header-logo img { width: 140px; height: auto; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--blanc); border: 1px solid var(--ligne-bleu); border-radius: 999px;
  padding: 8px 14px; min-height: 42px;
  font-family: var(--font-titre); font-size: 0.95rem; cursor: pointer;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--bleu);
  border-bottom: 1px solid var(--ligne-bleu);
  padding: 8px var(--gouttiere) 24px;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.main-nav.is-open { display: block; }
.main-nav ul { list-style: none; margin-bottom: 16px; }
.main-nav li a {
  display: block; padding: 12px 0;
  color: var(--blanc); text-decoration: none;
  font-family: var(--font-titre); font-size: 1.1rem;
  border-bottom: 1px solid var(--ligne-bleu);
}
.main-nav li a:hover { color: var(--or); }
.main-nav .btn { width: 100%; }

/* ---------- Hero ----------
   Mobile : la photo de Bali en bandeau au-dessus du texte.
   Ordinateur : la photo à droite, fondue dans le bleu derrière le texte
   (le texte doré reste toujours sur du bleu plein, pour le contraste). */
.hero {
  position: relative; overflow: hidden;
  color: var(--blanc);
  background: var(--bleu);
  padding: 0 0 64px;
}
.hero-media { position: relative; aspect-ratio: 16 / 10; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 37, 99, 0) 55%, var(--bleu) 100%);
}
.hero-inner { position: relative; padding-top: 28px; }
.eyebrow {
  font-family: var(--font-titre); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--or); margin-bottom: 1.2rem;
}
.hero h1 { margin-bottom: 0.35em; max-width: 12ch; }
.hero-lead { font-size: clamp(1.15rem, 3.6vw, 1.45rem); line-height: 1.55; max-width: 32ch; margin-bottom: 1.6rem; }
.hero-facts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2rem;
  font-family: var(--font-titre); font-size: 0.98rem;
}
.hero-facts li {
  border: 1px solid rgba(191, 137, 56, 0.6); border-radius: 999px; padding: 6px 14px;
}
.hero-signature { margin: 1.8rem 0 0; font-style: italic; font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-light { background: var(--blanc); color: var(--encre); }
.section-sand { background: var(--sable); color: var(--encre); }
.section-blue { background: var(--bleu); color: var(--blanc); }

.section-kicker {
  font-family: var(--font-titre); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bleu); margin: 0 0 0.9rem;
}
.section-kicker::before {
  content: ""; display: inline-block; width: 28px; height: 2px; background: var(--or);
  vertical-align: middle; margin-right: 12px; transform: translateY(-2px);
}
.section-blue .section-kicker { color: var(--or); }
.section-intro { font-size: 1.1rem; color: var(--encre-douce); max-width: var(--largeur-texte); margin-bottom: 2rem; }

.prose { max-width: var(--largeur-texte); }
.prose-large { font-size: 1.15rem; line-height: 1.75; }
.highlight-quote {
  font-style: italic; font-size: 1.3rem; line-height: 1.6;
  border-left: 3px solid var(--or); padding-left: 1rem; margin-top: 1.6rem;
}

/* Le principe : questions numérotées */
.question-list { list-style: none; counter-reset: q; margin: 1.6rem 0 2rem; }
.question-list li {
  counter-increment: q;
  position: relative; padding: 1rem 0 1rem 3.2rem;
  border-top: 1px solid var(--ligne-bleu);
  font-size: 1.12rem; font-style: italic;
}
.question-list li:last-child { border-bottom: 1px solid var(--ligne-bleu); }
.question-list li::before {
  content: counter(q, decimal-leading-zero);
  position: absolute; left: 0; top: 1rem;
  font-family: var(--font-titre); font-style: normal; font-weight: 500; font-size: 1.1rem;
  color: var(--or);
}
.statement { font-family: var(--font-titre); font-size: 1.45rem; font-weight: 500; margin: 0; }

/* Le déroulé */
.movements { list-style: none; display: grid; gap: 16px; margin-bottom: 1.6rem; }
.movement {
  border: 1px solid var(--ligne); border-radius: var(--rayon);
  padding: 24px; background: var(--blanc);
  border-top: 4px solid var(--bleu);
}
.movement-days {
  font-family: var(--font-titre); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--encre-douce); margin-bottom: 0.4rem;
}
.movement h3 { font-size: 1.7rem; font-weight: 500; color: var(--bleu); margin-bottom: 0.5em; }
.movement p:last-child { margin-bottom: 0; }
.note { color: var(--encre-douce); font-style: italic; margin: 0; }

/* Une journée type */
.day-timeline { list-style: none; margin: 1rem 0 2rem; }
.day-timeline li {
  display: grid; grid-template-columns: 1fr; gap: 2px;
  padding: 14px 0 14px 22px; position: relative;
  border-left: 1px solid var(--ligne-bleu);
}
.day-timeline li::before {
  content: ""; position: absolute; left: -5px; top: 22px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--or);
}
.day-time {
  font-family: var(--font-titre); font-weight: 600; font-size: 0.95rem;
  color: var(--or); letter-spacing: 0.04em;
}

/* Les ateliers */
.card-grid { list-style: none; display: grid; gap: 16px; }
.card {
  background: var(--sable); border-radius: var(--rayon); padding: 24px;
}
.card h3 { color: var(--bleu); font-size: 1.25rem; }
.card p { margin: 0; color: var(--encre-douce); }

/* Les expériences */
.experience-list { list-style: none; display: grid; gap: 0; }
.experience-list li { padding: 18px 0; border-top: 1px solid var(--ligne); }
.experience-list li:last-child { border-bottom: 1px solid var(--ligne); }
.experience-list h3 { color: var(--bleu); margin-bottom: 0.25em; font-size: 1.15rem; }
.experience-list p { margin: 0; color: var(--encre-douce); }

/* Blueprint */
.check-list { list-style: none; margin-top: 1.4rem; }
.check-list li {
  position: relative; padding: 0.85rem 0 0.85rem 2.4rem; font-size: 1.1rem;
  border-top: 1px solid var(--ligne-bleu);
}
.check-list li:last-child { border-bottom: 1px solid var(--ligne-bleu); }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 1.15rem;
  width: 14px; height: 8px;
  border-left: 2px solid var(--or); border-bottom: 2px solid var(--or);
  transform: rotate(-45deg);
}

/* Laponie : vidéos et photos */
.video-grid { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 40px; }
.video-grid figure, .photo-grid figure { margin: 0; }
.video-grid video {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: var(--rayon); background: var(--bleu);
}
.video-grid figcaption {
  font-family: var(--font-titre); font-size: 0.9rem; line-height: 1.35; margin-top: 8px; color: var(--encre);
}
.photo-grid { list-style: none; display: grid; grid-template-columns: 1fr; gap: 12px; }
.photo-grid figure { position: relative; }
.photo-grid img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon);
  background: var(--sable);
}
.photo-grid figcaption {
  position: absolute; left: 10px; bottom: 10px;
  background: var(--bleu); color: var(--blanc);
  font-family: var(--font-titre); font-size: 0.8rem; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 999px;
}

/* Pour qui */
.two-cols { display: grid; gap: 16px; }
.fit-card { border-radius: var(--rayon); padding: 24px; background: var(--blanc); border: 1px solid var(--ligne); }
.fit-card h3 { color: var(--bleu); }
.fit-card ul { list-style: none; }
.fit-card li { position: relative; padding: 0.55rem 0 0.55rem 2rem; }
.fit-yes li::before, .fit-no li::before {
  position: absolute; left: 0; top: 0.5rem;
  font-family: var(--font-titre); font-weight: 600; font-size: 1.1rem; color: var(--bleu);
}
.fit-yes li::before { content: "✓"; }
.fit-no li::before { content: "✕"; color: var(--encre-douce); }
.fit-yes { border-top: 4px solid var(--bleu); }
.fit-no { border-top: 4px solid var(--ligne); }

/* Qui organise */
.organizers { display: grid; gap: 32px; }
.organizers-photo { margin: 0; max-width: 420px; }
.organizers-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%;
  border-radius: var(--rayon); background: var(--sable);
}
.organizers-photo figcaption {
  font-family: var(--font-titre); font-weight: 600; font-size: 1.05rem; color: var(--bleu); margin-top: 12px;
}

/* Cadre pratique */
.facts { margin: 1.2rem 0 0; }
.facts > div { padding: 16px 0; border-top: 1px solid var(--ligne-bleu); }
.facts > div:last-child { border-bottom: 1px solid var(--ligne-bleu); }
.facts dt {
  font-family: var(--font-titre); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--or); margin-bottom: 4px;
}
.facts dt .todo { letter-spacing: 0; text-transform: none; }
.facts dd { margin: 0; font-size: 1.08rem; }

/* Comment ça se passe */
.steps { list-style: none; counter-reset: etape; display: grid; gap: 16px; }
.steps li {
  counter-increment: etape;
  position: relative; padding: 24px 24px 24px 84px;
  background: var(--sable); border-radius: var(--rayon);
}
.steps li::before {
  content: counter(etape);
  position: absolute; left: 24px; top: 22px;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bleu); color: var(--or);
  font-family: var(--font-titre); font-weight: 600; font-size: 1.2rem;
}
.steps h3 { color: var(--bleu); margin-bottom: 0.3em; }
.steps p { margin-bottom: 0.6em; }
.steps p:last-child { margin-bottom: 0; }

/* ---------- Formulaire ---------- */
.form-wrap { display: grid; gap: 28px; }
.form-intro h2 { margin-bottom: 0.4em; }
.form-intro p { font-size: 1.1rem; max-width: 34rem; }
.form-card {
  background: var(--blanc); color: var(--encre);
  border-radius: var(--rayon); padding: 24px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; gap: 0; }
.field label, .field legend {
  display: block; font-family: var(--font-titre); font-weight: 600; font-size: 1rem; margin-bottom: 6px; padding: 0;
}
.field-hint { font-size: 0.9rem; color: var(--encre-douce); margin: -2px 0 8px; }
.req { color: var(--erreur); }
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%; min-height: 50px;
  font: inherit; font-size: 1rem; /* 16px minimum : évite le zoom automatique sur iPhone */
  color: var(--encre); background: var(--blanc);
  border: 1.5px solid #b9b3a8; border-radius: 10px; padding: 12px 14px;
}
textarea { resize: vertical; min-height: 96px; }
select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--bleu) 50%), linear-gradient(135deg, var(--bleu) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 40px;
}
input:focus, textarea:focus, select:focus { border-color: var(--bleu-vif); outline: 2px solid var(--bleu-vif); outline-offset: 0; }
[aria-invalid="true"] { border-color: var(--erreur) !important; }
.field-error { color: var(--erreur); font-family: var(--font-titre); font-size: 0.92rem; margin: 6px 0 0; }
.field-error:empty { display: none; }

.choices { display: grid; gap: 8px; }
.choice {
  display: flex; align-items: flex-start; gap: 12px;
  font-family: var(--font-texte) !important; font-weight: 400 !important; font-size: 1rem !important;
  line-height: 1.5; cursor: pointer;
}
.choices .choice { border: 1.5px solid var(--ligne); border-radius: 10px; padding: 12px 14px; align-items: center; }
.choices .choice:has(input:checked) { border-color: var(--bleu); background: #eef2fb; }
.choice input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--bleu); }
.choices .choice input { margin: 0; }
.choice-consent a { color: var(--bleu); }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-legend { font-size: 0.88rem; color: var(--encre-douce); }
.form-error {
  background: #fdecea; color: #7a1712; border-left: 4px solid var(--erreur);
  padding: 12px 14px; border-radius: 8px; font-family: var(--font-titre); font-size: 0.98rem;
}
.form-success { text-align: center; padding: 40px 24px; font-size: 1.15rem; }
.form-success img { margin: 0 auto 16px; background: var(--bleu); border-radius: 50%; padding: 8px; width: 64px; height: 64px; }
.form-success p { margin: 0; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--ligne); }
.faq details:last-child { border-bottom: 1px solid var(--ligne); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0;
  font-family: var(--font-titre); font-weight: 600; font-size: 1.12rem; color: var(--bleu);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--bleu); font-weight: 400; font-size: 1.3rem; line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details > p { margin: 0 0 1em; color: var(--encre-douce); }
.faq details > p:last-child { margin-bottom: 20px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--bleu); color: var(--blanc); padding: 48px 0 40px; border-top: 1px solid var(--ligne-bleu); }
.footer-inner { display: grid; gap: 24px; }
.footer-inner > img { width: 170px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; font-family: var(--font-titre); }
.site-footer a { color: var(--blanc); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--or); }
.footer-small { font-size: 0.85rem; color: rgba(255, 255, 255, 0.72); margin: 0; }

/* ---------- Barre fixe mobile ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px var(--gouttiere) calc(12px + env(safe-area-inset-bottom));
  background: rgba(4, 37, 99, 0.96);
  border-top: 1px solid var(--ligne-bleu);
  transition: transform 0.25s ease;
}
.sticky-cta.is-hidden { transform: translateY(110%); }

/* ---------- Pages légales ---------- */
.legal { padding: 48px 0 64px; }
.legal h1 { font-size: clamp(2rem, 7vw, 2.8rem); color: var(--bleu); }
.legal h2 { font-size: 1.4rem; color: var(--bleu); margin-top: 2rem; }
.legal ul { padding-left: 1.2rem; margin-bottom: 1em; }
.legal li { margin-bottom: 0.3em; }
.legal .back { font-family: var(--font-titre); display: inline-block; margin-bottom: 1.5rem; color: var(--bleu); }
body.page-legal { padding-bottom: 0; }

/* =========================================================
   Tablette et ordinateur
   ========================================================= */
@media (min-width: 600px) {
  :root { --gouttiere: 32px; }
  .video-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .field-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-card { padding: 32px; }
  .day-timeline li { grid-template-columns: 9rem 1fr; gap: 16px; align-items: baseline; }
}

@media (min-width: 900px) {
  :root { --header-h: 76px; }
  body { padding-bottom: 0; font-size: 1.05rem; }
  .sticky-cta { display: none; }

  .header-logo img { width: 168px; }

  .hero { padding: 128px 0 136px; }
  .hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 65%; aspect-ratio: auto; }
  .hero-media::after {
    background: linear-gradient(90deg, var(--bleu) 0%, rgba(4, 37, 99, 0.92) 22%, rgba(4, 37, 99, 0.35) 60%, rgba(4, 37, 99, 0.05) 100%);
  }
  .hero-inner { padding-top: 0; }
  .hero-inner > * { max-width: 34rem; }

  .section { padding: 104px 0; }
  .movements { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card { padding: 28px; }
  .experience-list { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .experience-list li:nth-last-child(2) { border-bottom: 1px solid var(--ligne); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .two-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .fit-card { padding: 32px; }
  .organizers { grid-template-columns: 1fr 400px; gap: 72px; align-items: center; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .steps li { padding: 84px 28px 28px; }
  .steps li::before { left: 28px; top: 28px; }

  .form-wrap { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
  .form-intro { position: sticky; top: calc(var(--header-h) + 32px); }
  .form-card { padding: 40px; }

  .footer-inner { grid-template-columns: auto 1fr; align-items: center; column-gap: 48px; }
  .site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
  .footer-small { grid-column: 1 / -1; }
}

/* Menu complet dans l'en-tête : seulement quand il tient sur une ligne */
@media (min-width: 1120px) {
  .menu-toggle { display: none; }
  .main-nav {
    display: flex !important; align-items: center; gap: 24px;
    position: static; padding: 0; border: 0; background: none; max-height: none; overflow: visible;
  }
  .main-nav ul { display: flex; gap: 22px; margin: 0; }
  .main-nav li a { padding: 6px 0; border: 0; font-size: 0.98rem; white-space: nowrap; }
  .main-nav .btn { width: auto; white-space: nowrap; }
}
