/* =========================================================
   Kingsman Odyssey : refonte visuelle "carnet de voyage"
   Chargé après site.css. Palette : minuit, papier bleuté, laiton, tampon rouge.
   ========================================================= */
:root {
  color-scheme: light;
  --navy: #0a1a3a; --navy-2: #0f2350; --navy-3: #173068;
  --gold: #b98a1e; --gold-2: #e2b94f; --gold-soft: #f3e4b8;
  --cream: #eaf0f7; --cream-2: #f8fafd;
  --ink: #14213d; --muted: #52607a; --line: #d9e1ee;
  --stamp: #c4412b;
  --shadow-lg: 0 30px 60px -30px rgba(10,26,58,.45);
  --shadow-md: 0 16px 34px -20px rgba(10,26,58,.35);
  --radius: 10px;
}
html { scroll-padding-top: 90px; }
body { background: var(--cream-2); font-size: 16.5px; letter-spacing: .005em; }
h1, h2, h3, h4 { font-family: 'Manrope', system-ui, sans-serif; font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
.section-title { font-size: clamp(28px, 3.6vw, 44px); max-width: 22ch; }
.center .section-title, .section-title[style*="center"] { margin-inline: auto; }
.section-sub { font-size: 17px; line-height: 1.7; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: #fff; color: var(--navy); padding: 12px 18px; border-radius: 8px; font-weight: 800; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* étiquettes de section : phrase simple, pastille tampon */
.section-tag { text-transform: none; letter-spacing: 0; font-size: 14.5px; font-weight: 800; color: var(--stamp); }
.section-tag::before { width: 9px; height: 9px; border-radius: 2px; background: var(--stamp); transform: rotate(45deg); }
.section-dark .section-tag { color: var(--gold-2); }
.section-dark .section-tag::before { background: var(--gold-2); }

/* boutons */
.btn { border-radius: 10px; padding: 14px 24px; min-height: 48px; letter-spacing: 0; }
.btn-sm { min-height: 44px; }
.btn-gold { background: var(--gold-2); color: var(--navy); box-shadow: 0 2px 0 var(--gold); }
.btn-gold:hover { background: #f0c85f; box-shadow: 0 4px 0 var(--gold); transform: translateY(-2px); }
.btn-navy { background: var(--navy); box-shadow: 0 2px 0 #000; }
.btn-outline-dark { border-width: 2px; }
.btn-outline-light { border-width: 2px; }
.link-arrow { font-weight: 800; color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold-2); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.link-arrow:hover { color: var(--stamp); }

/* en-tête : minuit, filet laiton, onglet actif souligné */
.site-header { background: rgba(10,26,58,.96); backdrop-filter: blur(10px); border-bottom: 2px solid var(--gold); }
.header-inner { height: 70px; }
.main-nav a { color: #d6def0; border-radius: 0; padding: 10px 9px; position: relative; }
.main-nav a:hover { background: none; color: #fff; }
.main-nav a.active { color: #fff; }
.main-nav a.active::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: -2px; height: 3px; background: var(--gold-2); }
.lang-toggle { border-radius: 8px; }

/* hero : texte à gauche, tampon de visa, bord oblique */
.hero { min-height: 640px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), 0 100%); padding-bottom: 44px; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,26,58,.96) 12%, rgba(10,26,58,.78) 48%, rgba(10,26,58,.25)); }
.hero-inner { margin: 0; max-width: 800px; text-align: left; }
.hero-quote { text-transform: none; letter-spacing: .02em; font-size: 15px; font-style: normal; border: 2px dashed var(--gold-2); border-radius: 6px; padding: 8px 16px; transform: rotate(-1.5deg); background: rgba(10,26,58,.35); }
.hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: inherit; }
.hero .lead { margin-left: 0; font-size: 19px; max-width: 54ch; color: #d9e1f2; }
.hero-actions { justify-content: flex-start !important; }

/* recherche : billet d'embarquement */
.search-card { border-radius: 12px; border: 1px solid var(--line); margin-top: -34px; padding: 24px 28px 24px 34px; background: #fff; border-left: 8px solid var(--stamp); }
.search-card .search-title { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--stamp); }

/* chiffres : bande papier, séparateurs fins */
.stats-band { background: transparent; }
.stats-grid { border-block: 2px solid var(--navy); }
.stat { text-align: left; padding: 26px 22px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { font-family: 'Playfair Display', serif; font-size: clamp(38px, 5vw, 58px); color: var(--navy); }
.stat span { color: var(--muted); font-weight: 700; }

/* sections */
.section-dark { background-color: var(--navy); background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.3px); background-size: 24px 24px; }
.section-cream { background: var(--cream); }

/* cartes : plates, bord net, ligne laiton au survol */
.card, .step, .testimonial, .faq-item, .modal { border-radius: var(--radius); box-shadow: none; border: 1px solid var(--line); }
.card { border-top: 3px solid transparent; }
.card:hover { transform: none; box-shadow: var(--shadow-md); border-top-color: var(--gold-2); }
.card-img { aspect-ratio: 3/2; }

/* processus : un vrai parcours relié */
.steps { counter-reset: s; }
.step { border: 0; background: transparent; padding: 0 22px 0 0; }
.step .num { width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: var(--gold-2); font-family: 'Playfair Display', serif; font-size: 22px; display: grid; place-items: center; border: 4px solid var(--cream); box-shadow: 0 0 0 2px var(--navy); }
.step h3 { font-size: 20px; margin-top: 16px; }
@media (min-width: 900px) {
  .step:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 64px; right: 8px; border-top: 2px dashed var(--gold); }
}

/* atouts */
.feature .ico { border-radius: 10px; background: rgba(226,185,79,.14); border-color: rgba(226,185,79,.5); }

/* témoignage */
.testimonial { border-left: 6px solid var(--gold-2); padding: 32px 34px; }
.testimonial blockquote { font-size: 20px; line-height: 1.65; font-weight: 600; color: var(--navy); }

/* filtres et formulaires */
.pill { border-radius: 8px; min-height: 44px; border: 2px solid var(--line); }
.pill.active, .pill:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.field input, .field select, .field textarea, .newsletter-form input { border-radius: 8px; border: 2px solid var(--line); font-size: 16px; min-height: 48px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-3); box-shadow: 0 0 0 4px rgba(226,185,79,.4); }
.field label { font-weight: 800; color: var(--navy); }
.warn-box { border-radius: 8px; border-left: 6px solid var(--stamp); }
.wiz-progress { border-radius: 4px; }

/* en-têtes de pages internes */
.page-hero { background: var(--navy); border-bottom: 4px solid var(--gold); }
.page-hero::after { background: radial-gradient(circle, rgba(196,65,43,.28), transparent 65%); }

/* appel à l'action et pied de page */
.cta-band { border-radius: 14px; border-left: 10px solid var(--stamp); background: var(--navy); }
.site-footer { background: #061128; border-top: 4px solid var(--gold); }
.wa-float { bottom: 24px; }

/* mobile : cibles confortables, hero compact */
@media (max-width: 760px) {
  .hero { min-height: 560px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%); }
  .stat { border-left: 0; border-top: 1px solid var(--line); padding: 18px 8px; }
  .section-title { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* classe .container (auparavant fournie par Tailwind) */
.container { width: min(1180px, 92vw); margin-inline: auto; }

/* vidéo de présentation */
.video-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.video-frame { margin: 0; border-radius: 12px; overflow: hidden; background: var(--navy); border: 1px solid var(--line); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; background: var(--navy); }
@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr; } }
.video-transcript { max-width: 820px; margin: 28px auto 0; border: 1px solid var(--line); border-radius: 10px; background: var(--card, #fff); padding: 4px 22px; }
.video-transcript summary { cursor: pointer; font-weight: 800; color: var(--navy); padding: 14px 0; min-height: 44px; }
.video-transcript p { margin: 0 0 12px; color: var(--muted); }
