/* ============================================================
   NEWTOWT — Public / marketing components (refonte "Nouvelle Étoile")
   Issu du handoff Claude Design. Chargé UNIQUEMENT par les pages
   redesignées (landing, route detail, booking wizard) via
   public/_layout_v2.html — PAS avec kairos.css (évite les collisions
   sur .btn / .card / .alert).
   Tokens : colors_and_type.css.
   ============================================================ */

* { box-sizing: border-box; }

/* ---------- Header (marketing) ---------- */
.header {
  background: rgba(248, 242, 230, 0.95);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--c-grey-soft);
  padding: var(--sp-4) 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.header-logo img { display: block; height: 44px; width: auto; }
.header-nav { display: flex; gap: var(--sp-5); align-items: center; flex-wrap: wrap; }
.header-nav a {
  font-size: var(--fs-16);
  font-weight: var(--fw-medium);
  color: var(--c-teal);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.header-nav a:hover { border-bottom-color: var(--c-copper); }
/* Connexion button in header: cancel the nav link border-bottom underline effect */
.header-nav .btn { border-bottom: none; padding-bottom: var(--sp-3); }
.header-nav .btn:hover { border-bottom: none; }

/* Global utility classes missing from kairos.css (public layout only) */
.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: var(--sp-3) var(--sp-5);
  font-family: var(--font-sans);
  font-size: var(--fs-16);
  font-weight: var(--fw-semibold);
  border-radius: var(--r-1);
  text-decoration: none;
  text-align: center;
  transition: all var(--dur-fast) var(--ease-out);
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}
.btn-primary { background: var(--c-teal); color: #fff; border-color: var(--c-teal); }
.btn-primary:hover { background: var(--c-teal-deep); border-color: var(--c-teal-deep); }
.btn-secondary { background: transparent; color: var(--c-teal); border-color: var(--c-teal); }
.btn-secondary:hover { background: var(--c-teal); color: #fff; }
.btn-white { background: #fff; color: var(--c-teal); border-color: #fff; }
.btn-white:hover { background: var(--c-bone); border-color: var(--c-bone); }
.btn-block { display: block; width: 100%; }
.btn-lg { padding: var(--sp-4) var(--sp-6); font-size: var(--fs-18); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--c-bone) 0%, var(--c-paper) 100%);
  padding: var(--sp-9) 0 var(--sp-8);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--c-teal) 50%, transparent 100%);
  opacity: 0.3;
}
.hero-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.hero-kicker {
  font-size: var(--fs-12); font-weight: var(--fw-bold); text-transform: uppercase;
  letter-spacing: var(--tr-loose); color: var(--c-copper); margin-bottom: var(--sp-3);
}
.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: var(--fw-extrabold);
  color: var(--c-teal); line-height: var(--lh-tight); letter-spacing: var(--tr-tight);
  margin: 0 0 var(--sp-4); max-width: 800px;
}
.hero-baseline {
  font-family: var(--font-serif); font-style: italic; font-size: var(--fs-24);
  color: var(--c-copper); letter-spacing: 0.02em; margin-bottom: var(--sp-5);
}
.hero-lead {
  font-size: var(--fs-18); line-height: var(--lh-normal); color: var(--c-anthracite);
  max-width: 680px; margin-bottom: var(--sp-6);
}
.hero-search {
  background: var(--c-paper); border: 1px solid var(--c-grey-soft);
  border-radius: var(--r-2); padding: var(--sp-5);
  display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: var(--sp-4);
  max-width: 900px; box-shadow: var(--sh-card);
}
@media (max-width: 768px) { .hero-search { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field label { font-size: var(--fs-13); font-weight: var(--fw-semibold); color: var(--c-teal); }
.field input {
  padding: var(--sp-3); font-family: var(--font-sans); font-size: var(--fs-16);
  border: 1px solid var(--c-grey-soft); border-radius: var(--r-1); background: var(--c-paper);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.field input:focus { outline: none; border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(13,89,102,0.1); }

/* ---------- Sections ---------- */
.section { padding: var(--sp-8) 0; }
.section--sand { background: var(--c-sand); }
.section-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section-kicker {
  font-size: var(--fs-12); font-weight: var(--fw-bold); text-transform: uppercase;
  letter-spacing: var(--tr-loose); color: var(--c-copper); margin-bottom: var(--sp-3); display: block;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: var(--fw-bold);
  color: var(--c-teal); line-height: var(--lh-tight); margin: 0 0 var(--sp-4);
}
.section-lead {
  font-size: var(--fs-18); line-height: var(--lh-normal); color: var(--c-anthracite);
  max-width: 800px; margin-bottom: var(--sp-6);
}

/* ---------- Feature cards (landing) ---------- */
.feature-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5); margin-top: var(--sp-6);
}
.feature-card {
  background: var(--c-paper); border: 1px solid var(--c-grey-soft); border-radius: var(--r-2);
  padding: var(--sp-6); border-left: 4px solid var(--c-teal);
  transition: all var(--dur-base) var(--ease-out);
}
.feature-card:hover { border-left-color: var(--c-copper); box-shadow: var(--sh-card); transform: translateY(-2px); }
.feature-card h3 { font-size: var(--fs-20); font-weight: var(--fw-bold); color: var(--c-teal); margin: 0 0 var(--sp-3); }
.feature-card p { font-size: var(--fs-16); line-height: var(--lh-normal); color: var(--c-grey); margin: 0; }

/* ---------- Booking cards (landing) ---------- */
.booking-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: var(--sp-5); margin-top: var(--sp-6);
}
@media (max-width: 480px) { .booking-grid { grid-template-columns: 1fr; } }
.booking-card {
  background: var(--c-paper); border: 1px solid var(--c-grey-soft); border-radius: var(--r-2);
  padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-4);
  transition: all var(--dur-base) var(--ease-out);
}
.booking-card:hover { box-shadow: var(--sh-card); border-color: var(--c-teal); }
.booking-header { display: flex; justify-content: space-between; align-items: center; }
.leg-code { font-family: var(--font-mono); font-size: var(--fs-14); font-weight: var(--fw-bold); color: var(--c-copper); letter-spacing: 0.02em; }
.vessel-name { font-size: var(--fs-13); color: var(--c-grey); }
.booking-route { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-18); font-weight: var(--fw-semibold); color: var(--c-anthracite); }
.booking-route .flag { font-size: var(--fs-24); }
.booking-route .arrow { color: var(--c-teal); margin: 0 var(--sp-1); }
.booking-meta { display: flex; gap: var(--sp-4); font-size: var(--fs-14); color: var(--c-grey); }
.booking-meta .mono { font-family: var(--font-mono); color: var(--c-anthracite); }
.booking-actions { display: flex; gap: var(--sp-3); margin-top: auto; }
.booking-actions .btn { flex: 1; }

/* ---------- Capacity gauge ---------- */
.capacity-gauge { height: 12px; background: var(--c-grey-soft); border-radius: var(--r-pill); overflow: hidden; position: relative; }
.capacity-gauge--on-dark { background: rgba(255,255,255,0.2); margin: var(--sp-3) 0; }
.capacity-fill { height: 100%; background: var(--c-green); border-radius: var(--r-pill); transition: width var(--dur-base) var(--ease-out); }
.capacity-fill.warn { background: var(--c-copper); }
.capacity-fill.full { background: var(--c-danger); }
.capacity-label { font-size: var(--fs-13); color: var(--c-grey); margin-top: var(--sp-2); }

/* ---------- Main + breadcrumb (route detail) ---------- */
.main { max-width: var(--container); margin: 0 auto; padding: var(--sp-6) var(--gutter); }
.main--wizard { max-width: 960px; padding: var(--sp-7) var(--gutter); }
.breadcrumb { display: flex; align-items: center; gap: var(--sp-2); font-size: var(--fs-14); color: var(--c-grey); margin-bottom: var(--sp-5); flex-wrap: wrap; }
.breadcrumb a { color: var(--c-teal); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-separator { color: var(--c-grey-soft); }

/* ---------- Route hero ---------- */
.route-hero { display: grid; grid-template-columns: 1fr 300px; gap: var(--sp-6); margin-bottom: var(--sp-8); }
@media (max-width: 1024px) { .route-hero { grid-template-columns: 1fr; } }
.route-main { display: flex; flex-direction: column; gap: var(--sp-4); }
.route-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: var(--fw-extrabold); color: var(--c-teal); line-height: var(--lh-tight); margin: 0; display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.route-title .flag { font-size: clamp(2rem, 4vw, 3rem); }
.route-meta { display: flex; flex-wrap: wrap; gap: var(--sp-5); font-size: var(--fs-16); color: var(--c-grey); }
.route-meta-item { display: flex; flex-direction: column; gap: var(--sp-1); }
.route-meta-label { font-size: var(--fs-13); text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-grey); }
.route-meta-value { font-weight: var(--fw-semibold); color: var(--c-anthracite); }
.route-meta-value.mono { font-family: var(--font-mono); font-size: var(--fs-14); }

/* ---------- Booking CTA (route detail sticky) ---------- */
.booking-cta {
  background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-teal-deep) 100%);
  color: #fff; border-radius: var(--r-2); padding: var(--sp-6);
  display: flex; flex-direction: column; gap: var(--sp-4);
  box-shadow: var(--sh-lift); position: sticky; top: 80px;
}
.booking-cta-capacity { text-align: center; }
.booking-cta-available { font-size: var(--fs-40); font-weight: var(--fw-extrabold); line-height: 1; color: var(--c-green); margin-bottom: var(--sp-2); }
.booking-cta-total { font-size: var(--fs-14); opacity: 0.9; }
.co2-badge { background: rgba(135,189,41,0.15); border-left: 4px solid var(--c-green); padding: var(--sp-4); border-radius: var(--r-2); font-size: var(--fs-14); }
.co2-value { font-weight: var(--fw-bold); color: #fff; font-size: var(--fs-18); }

/* ---------- Cards + info grid (route detail) ---------- */
.card { background: var(--c-paper); border: 1px solid var(--c-grey-soft); border-radius: var(--r-2); padding: var(--sp-6); margin-bottom: var(--sp-5); }
.card-title { font-size: var(--fs-24); font-weight: var(--fw-bold); color: var(--c-teal); margin: 0 0 var(--sp-5); padding-bottom: var(--sp-3); border-bottom: 2px solid var(--c-grey-soft); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--sp-5); }
.info-item { display: flex; flex-direction: column; gap: var(--sp-2); }
.info-label { font-size: var(--fs-13); text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-grey); }
.info-value { font-size: var(--fs-18); font-weight: var(--fw-semibold); color: var(--c-anthracite); }
.map-placeholder { background: linear-gradient(135deg, #e8f4f8 0%, #d4e8f0 100%); height: 400px; border-radius: var(--r-2); display: flex; align-items: center; justify-content: center; color: var(--c-grey); font-size: var(--fs-14); border: 1px dashed var(--c-grey-soft); margin-bottom: var(--sp-5); }
.conditions-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.conditions-list li { padding-left: var(--sp-5); position: relative; line-height: var(--lh-normal); }
.conditions-list li::before { content: '▸'; position: absolute; left: 0; color: var(--c-green); font-weight: bold; }

/* ---------- Alert ---------- */
.alert { background: var(--c-sand); border-left: 4px solid var(--c-copper); padding: var(--sp-4); border-radius: var(--r-2); font-size: var(--fs-14); line-height: var(--lh-normal); margin-bottom: var(--sp-5); }
.alert strong { color: var(--c-copper); }
.alert-icon { margin-right: var(--sp-2); }
.alert--error { border-left-color: var(--c-danger); }
.alert--error strong { color: var(--c-danger); }

/* ---------- Footer ---------- */
.footer { background: var(--c-teal-deep); color: var(--c-bone); padding: var(--sp-8) 0 var(--sp-5); margin-top: var(--sp-9); }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: var(--sp-6); margin-bottom: var(--sp-6); }
@media (max-width: 1024px) and (min-width: 769px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); } }
.footer-brand img { height: 36px; width: auto; margin-bottom: var(--sp-3); }
.footer-tagline { font-family: var(--font-serif); font-style: italic; font-size: var(--fs-14); color: var(--c-horizon); margin-bottom: var(--sp-3); }
.footer h4 { font-size: var(--fs-13); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--tr-loose); color: var(--c-horizon); margin: 0 0 var(--sp-3); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-links a { font-size: var(--fs-14); color: var(--c-bone); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.footer-links a:hover { color: var(--c-green); }
.footer-addr { font-size: var(--fs-14); color: var(--c-bone); }
.footer-bottom { padding-top: var(--sp-5); border-top: 1px solid rgba(158,198,210,0.2); font-size: var(--fs-13); color: var(--c-horizon); text-align: center; }

/* ---------- Booking wizard ---------- */
.progress-steps { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; }
.progress-step { display: flex; align-items: center; gap: var(--sp-2); }
.step-number { width: 32px; height: 32px; border-radius: var(--r-pill); display: flex; align-items: center; justify-content: center; font-weight: var(--fw-bold); font-size: var(--fs-14); background: var(--c-grey-soft); color: var(--c-grey); transition: all var(--dur-fast) var(--ease-out); }
.progress-step.completed .step-number { background: var(--c-green); color: #fff; }
.progress-step.active .step-number { background: var(--c-teal); color: #fff; box-shadow: 0 0 0 4px rgba(13,89,102,0.15); }
.step-label { font-weight: var(--fw-medium); color: var(--c-grey); }
.progress-step.active .step-label { color: var(--c-teal); font-weight: var(--fw-semibold); }
.step-arrow { color: var(--c-grey-soft); margin: 0 var(--sp-1); }
.page-title { font-size: var(--fs-32); font-weight: var(--fw-extrabold); color: var(--c-teal); margin: 0 0 var(--sp-2); }
.page-subtitle { font-size: var(--fs-16); color: var(--c-grey); margin: 0 0 var(--sp-7); }

.form-section { background: var(--c-paper); border: 1px solid var(--c-grey-soft); border-radius: var(--r-2); padding: var(--sp-6); margin-bottom: var(--sp-5); }
.form-section-title { font-size: var(--fs-20); font-weight: var(--fw-bold); color: var(--c-teal); margin: 0 0 var(--sp-5); padding-bottom: var(--sp-3); border-bottom: 2px solid var(--c-grey-soft); }
.form-group { margin-bottom: var(--sp-5); }
.form-group:last-child { margin-bottom: 0; }
.form-label { display: block; font-size: var(--fs-14); font-weight: var(--fw-semibold); color: var(--c-anthracite); margin-bottom: var(--sp-2); }
.form-label.required::after { content: '*'; color: var(--c-copper); margin-left: 4px; }
.form-hint { display: block; font-size: var(--fs-13); color: var(--c-grey); margin-top: var(--sp-1); }
.form-control { width: 100%; padding: var(--sp-3); font-family: var(--font-sans); font-size: var(--fs-16); border: 2px solid var(--c-grey-soft); border-radius: var(--r-1); background: #fff; transition: border-color var(--dur-fast) var(--ease-out); }
.form-control:focus { outline: none; border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(13,89,102,0.1); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
@media (max-width: 768px) { .form-row { grid-template-columns: 1fr; } }
.radio-group { display: flex; flex-direction: column; gap: var(--sp-3); }
.radio-option { display: flex; align-items: flex-start; gap: var(--sp-3); padding: var(--sp-4); border: 2px solid var(--c-grey-soft); border-radius: var(--r-1); cursor: pointer; transition: all var(--dur-fast) var(--ease-out); }
.radio-option:hover { border-color: var(--c-teal); background: rgba(13,89,102,0.03); }
.radio-option input[type="radio"] { margin-top: 2px; width: 20px; height: 20px; accent-color: var(--c-teal); cursor: pointer; }
.radio-option:has(input:checked) { border-color: var(--c-teal); background: rgba(13,89,102,0.05); }
.radio-content { flex: 1; }
.radio-label { font-weight: var(--fw-semibold); color: var(--c-anthracite); margin-bottom: var(--sp-1); }
.radio-description { font-size: var(--fs-14); color: var(--c-grey); }
.summary-card { background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-teal-deep) 100%); color: #fff; border-radius: var(--r-2); padding: var(--sp-6); margin-bottom: var(--sp-5); box-shadow: var(--sh-lift); }
.summary-title { font-size: var(--fs-18); font-weight: var(--fw-bold); margin: 0 0 var(--sp-4); opacity: 0.9; }
.summary-route { font-size: var(--fs-24); font-weight: var(--fw-extrabold); margin-bottom: var(--sp-4); }
.summary-details { display: flex; flex-direction: column; gap: var(--sp-2); font-size: var(--fs-14); opacity: 0.9; }
.summary-detail { display: flex; justify-content: space-between; padding-bottom: var(--sp-2); border-bottom: 1px solid rgba(255,255,255,0.2); }
.summary-detail:last-child { border-bottom: none; }
.form-actions { display: flex; gap: var(--sp-3); justify-content: space-between; margin-top: var(--sp-6); }
.form-actions .btn-secondary { color: var(--c-grey); border-color: var(--c-grey-soft); background: transparent; }
.form-actions .btn-secondary:hover { border-color: var(--c-grey); color: var(--c-anthracite); }

/* ---------- Lang switch (drapeaux) ---------- */
.lang-switch-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--c-paper);
  border: 1px solid var(--c-grey-soft);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-hair);
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-13);
  font-weight: var(--fw-semibold);
  line-height: 1;
  color: var(--c-grey);
  text-decoration: none;
  border: none;
  border-radius: var(--r-pill);
  padding: 5px 10px;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.lang-switch:hover { background: var(--c-bone); color: var(--c-teal); border: none; }
.lang-switch.is-current { background: var(--c-teal); color: var(--fg-on-brand); cursor: default; }
.lang-flag { font-size: 1rem; line-height: 1; }
.lang-code { letter-spacing: var(--tr-loose); }

/* Le sélecteur reste à droite ; l'en-tête se replie proprement en mobile. */
.header-inner { flex-wrap: wrap; }
@media (max-width: 768px) {
  .lang-switch-group { order: 2; }
  .lang-switch .lang-code { display: none; }   /* drapeaux seuls en compact */
}

/* ============================================================
   Compat + utilitaires — permet aux pages publiques héritées
   (routes, about*, fleet, 404, planning_share) de rendre sous
   _layout_v2 SANS kairos.css. Reprend les classes kairos utilisées
   dans leur markup existant, mappées sur les tokens "Nouvelle Étoile".
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.kicker { display: block; font-size: var(--fs-12); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: var(--tr-loose); color: var(--c-copper); margin-bottom: var(--sp-3); }
.display { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: var(--fw-extrabold); color: var(--c-teal); line-height: var(--lh-tight); letter-spacing: var(--tr-tight); margin: 0 0 var(--sp-4); }
.baseline { font-family: var(--font-serif); font-style: italic; font-size: var(--fs-24); color: var(--c-copper); display: block; margin-bottom: var(--sp-5); }
.lead { font-size: var(--fs-20); line-height: var(--lh-normal); color: var(--c-anthracite); max-width: 760px; }

/* Boutons additionnels */
.btn-ghost { background: transparent; color: var(--c-teal); border-color: transparent; }
.btn-ghost:hover { background: rgba(13,89,102,0.06); }
.btn-danger { background: var(--c-danger); color: #fff; border-color: var(--c-danger); }
.btn-sm { padding: var(--sp-2) var(--sp-3); font-size: var(--fs-14); }
.btn-accent { background: var(--c-copper); color: #fff; border-color: var(--c-copper); }

/* Tables */
.data-table, table.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: var(--sp-3); border-bottom: 1px solid var(--border-hair); font-size: var(--fs-14); }
.data-table th { color: var(--c-grey); font-weight: var(--fw-semibold); text-transform: uppercase; font-size: var(--fs-12); letter-spacing: 0.04em; }

/* Pills / badges (réservation publique) */
.pill { display: inline-block; padding: 2px 10px; border-radius: var(--r-pill); font-size: var(--fs-13); font-weight: var(--fw-semibold); background: var(--c-sand); color: var(--c-teal); }
.pill-ok { background: rgba(135,189,41,0.18); color: var(--c-copper-deep); }
.pill-info { background: rgba(13,89,102,0.10); color: var(--c-teal); }
.pill-warn { background: rgba(180,113,72,0.16); color: var(--c-copper-deep); }

/* ============================================================
   About Anemos page — namespace .an-*
   ============================================================ */

/* Hero */
.an-hero {
  background: linear-gradient(148deg, var(--c-teal) 0%, #062f38 100%);
  padding: var(--sp-10) 0 var(--sp-9);
  position: relative; overflow: hidden;
}
.an-hero::before {
  content: ''; position: absolute; top: -120px; right: -180px;
  width: 640px; height: 640px; border-radius: 50%;
  background: rgba(135,189,41,0.05); pointer-events: none;
}
.an-hero-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: var(--sp-9);
}
@media (max-width: 860px) { .an-hero-inner { flex-direction: column; text-align: center; } }
.an-hero-body { flex: 1; max-width: 620px; }
.an-kicker {
  display: inline-block; font-size: var(--fs-12); font-weight: var(--fw-bold);
  text-transform: uppercase; letter-spacing: var(--tr-loose);
  color: var(--c-vert); margin-bottom: var(--sp-3);
}
.an-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: var(--fw-extrabold);
  color: #fff; line-height: var(--lh-tight); letter-spacing: var(--tr-tight);
  margin: 0 0 var(--sp-4);
}
.an-hero-lead {
  font-size: var(--fs-18); line-height: var(--lh-normal);
  color: rgba(255,255,255,0.82); margin-bottom: var(--sp-6); max-width: 560px;
}
/* Anemos seal */
.an-seal-wrap { flex-shrink: 0; }
@media (max-width: 860px) { .an-seal-wrap { display: none; } }
.an-seal {
  width: 220px; height: 220px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.05);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: var(--sp-2);
  position: relative;
}
.an-seal-ring {
  position: absolute; inset: 14px; border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.18);
}
.an-seal svg { width: 76px; height: 76px; color: rgba(255,255,255,0.88); }
.an-seal-name { font-size: var(--fs-13); font-weight: var(--fw-bold); letter-spacing: var(--tr-loose); text-transform: uppercase; color: rgba(255,255,255,0.9); }
.an-seal-sub { font-size: var(--fs-12); color: rgba(255,255,255,0.5); }

/* Three pillars */
.an-pillars {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5);
  margin-top: var(--sp-7);
}
@media (max-width: 720px) { .an-pillars { grid-template-columns: 1fr; } }
.an-pillar {
  background: var(--c-paper); border: 1px solid var(--c-grey-soft);
  border-radius: var(--r-2); padding: var(--sp-6); text-align: center;
  border-top: 4px solid var(--c-teal);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.an-pillar:hover { transform: translateY(-3px); box-shadow: var(--sh-card); }
.an-pillar-icon {
  width: 52px; height: 52px; border-radius: var(--r-pill);
  background: rgba(13,89,102,0.07);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp-4); color: var(--c-teal);
}
.an-pillar-icon svg { width: 26px; height: 26px; }
.an-pillar h3 { font-size: var(--fs-18); font-weight: var(--fw-bold); color: var(--c-teal); margin: 0 0 var(--sp-3); }
.an-pillar p { font-size: var(--fs-14); line-height: var(--lh-normal); color: var(--c-grey); margin: 0; }

/* Performance énergétique */
.an-perf { background: var(--c-bone); padding: var(--sp-9) 0; text-align: center; }
.an-perf-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.an-stats-row {
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-8); flex-wrap: wrap; margin-top: var(--sp-7);
}
.an-stat { max-width: 260px; text-align: center; }
.an-stat-label { font-size: var(--fs-14); color: var(--c-grey); line-height: var(--lh-normal); margin-top: var(--sp-4); display: block; }
.an-stat-label em { color: var(--c-grey); font-style: normal; font-size: var(--fs-13); }
/* Big teal circle */
.an-circle {
  width: 164px; height: 164px; border-radius: 50%;
  background: var(--c-teal); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(13,89,102,0.3);
  position: relative;
}
.an-circle::after {
  content: ''; position: absolute; bottom: -10px; left: 50%;
  transform: translateX(-50%);
  border: 11px solid transparent; border-top-color: var(--c-teal);
}
.an-circle-num { font-size: var(--fs-40); font-weight: var(--fw-extrabold); line-height: 1; }
.an-circle-unit { font-size: var(--fs-18); opacity: 0.85; }
/* 1·km badge */
.an-km-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-vert); color: #fff;
  font-size: var(--fs-12); font-weight: var(--fw-bold); letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: var(--r-1); margin-bottom: var(--sp-3);
}
.an-km-num { font-size: var(--fs-56); font-weight: var(--fw-extrabold); color: var(--c-teal); line-height: 1; }
.an-km-unit { font-size: var(--fs-20); font-weight: var(--fw-medium); color: var(--c-anthracite); }
.an-stats-divider {
  width: 1px; height: 160px;
  background: linear-gradient(180deg, transparent 0%, var(--c-grey-soft) 20%, var(--c-grey-soft) 80%, transparent 100%);
}
@media (max-width: 600px) { .an-stats-divider { display: none; } }

/* Method section */
.an-method-inner { max-width: 840px; margin: 0 auto; padding: 0 var(--gutter); }
.an-table { width: 100%; border-collapse: collapse; margin: var(--sp-5) 0; }
.an-table th, .an-table td { padding: var(--sp-4) var(--sp-5); text-align: left; border-bottom: 1px solid var(--c-grey-soft); font-size: var(--fs-14); }
.an-table th { font-size: var(--fs-13); font-weight: var(--fw-bold); text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-grey); background: var(--c-bone); }
.an-table tr:last-child td { border-bottom: none; }
.an-highlight { font-size: var(--fs-18); font-weight: var(--fw-extrabold); color: var(--c-vert); }
.an-formula {
  background: var(--c-paper); border: 1px solid var(--c-grey-soft);
  border-left: 4px solid var(--c-teal); border-radius: var(--r-2);
  padding: var(--sp-5) var(--sp-6); margin: var(--sp-5) 0;
}
.an-formula p { margin: 0 0 var(--sp-2); font-size: var(--fs-14); line-height: var(--lh-normal); }
.an-formula p:last-child { margin-bottom: 0; }
.an-formula code { font-family: var(--font-mono); font-size: var(--fs-14); background: rgba(13,89,102,0.05); padding: 2px 6px; border-radius: 3px; }
.an-example {
  background: var(--c-bone); border-radius: var(--r-2);
  padding: var(--sp-5) var(--sp-6); margin: var(--sp-5) 0;
  font-size: var(--fs-14); line-height: var(--lh-normal);
}
.an-result { font-size: var(--fs-20); font-weight: var(--fw-bold); color: var(--c-teal); margin-top: var(--sp-3); display: block; }

/* Vessel section */
.an-vessel-section { background: var(--c-bone); padding: var(--sp-9) 0; }
.an-vessel-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.an-vessel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-9); align-items: start; margin-top: var(--sp-7); }
@media (max-width: 860px) { .an-vessel-grid { grid-template-columns: 1fr; } }
.an-vessel-visual {
  background: linear-gradient(160deg, var(--c-teal) 0%, #3b8a9a 100%);
  border-radius: var(--r-2); overflow: hidden;
  aspect-ratio: 4/3; display: flex; align-items: flex-end; position: relative;
}
.an-vessel-wave {
  position: absolute; inset: 0; opacity: 0.1;
  background: radial-gradient(ellipse at 30% 70%, rgba(135,189,41,1) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 25%, rgba(255,255,255,1) 0%, transparent 40%);
}
.an-vessel-overlay { background: linear-gradient(0deg, rgba(6,47,56,0.85) 0%, transparent 65%); padding: var(--sp-5); width: 100%; }
.an-vessel-name { font-size: var(--fs-24); font-weight: var(--fw-extrabold); color: #fff; margin: 0 0 var(--sp-1); }
.an-vessel-type { font-size: var(--fs-14); color: rgba(255,255,255,0.72); }
.an-vessel-specs { display: flex; flex-direction: column; }
.an-spec { display: flex; justify-content: space-between; align-items: center; padding: var(--sp-3) 0; border-bottom: 1px solid var(--c-grey-soft); font-size: var(--fs-14); }
.an-spec:last-of-type { border-bottom: none; }
.an-spec-key { color: var(--c-grey); }
.an-spec-val { font-weight: var(--fw-semibold); color: var(--c-anthracite); }
.an-cert-line {
  margin-top: var(--sp-5); padding: var(--sp-4);
  background: rgba(135,189,41,0.08); border-left: 3px solid var(--c-vert);
  border-radius: var(--r-2); font-size: var(--fs-13); color: var(--c-grey); line-height: var(--lh-normal);
}

/* Vérification section */
.an-verif-inner { max-width: 800px; margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.an-verif-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); margin-top: var(--sp-6); text-align: left; }
@media (max-width: 640px) { .an-verif-grid { grid-template-columns: 1fr; } }
.an-verif-card { background: var(--c-paper); border: 1px solid var(--c-grey-soft); border-radius: var(--r-2); padding: var(--sp-5); }
.an-verif-card h3 { font-size: var(--fs-14); font-weight: var(--fw-bold); color: var(--c-teal); margin: 0 0 var(--sp-3); text-transform: uppercase; letter-spacing: 0.04em; }
.an-verif-card p { font-size: var(--fs-14); color: var(--c-grey); line-height: var(--lh-normal); margin: 0; }

/* CTA */
.an-cta { background: linear-gradient(135deg, var(--c-teal) 0%, var(--c-teal-deep) 100%); padding: var(--sp-9) 0; text-align: center; }
.an-cta-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.an-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: var(--fw-extrabold); margin: 0 0 var(--sp-4); }
.an-cta p { font-size: var(--fs-18); color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto var(--sp-6); }
.pill-neutral { background: var(--c-grey-soft); color: var(--c-grey); }

/* Utilitaires texte */
.text-muted { color: var(--c-grey); }
.text-sm { font-size: var(--fs-14); }
.text-xs { font-size: var(--fs-12); }
.text-center { text-align: center; }
.text-success { color: var(--c-green); }
.text-accent { color: var(--c-copper); }

/* Layout helpers */
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.gap-2 { gap: var(--sp-2); } .gap-3 { gap: var(--sp-3); } .gap-4 { gap: var(--sp-4); }
.mt-2 { margin-top: var(--sp-2); } .mt-3 { margin-top: var(--sp-3); } .mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); }
.mb-2 { margin-bottom: var(--sp-2); } .mb-3 { margin-bottom: var(--sp-3); } .mb-4 { margin-bottom: var(--sp-4); } .mb-5 { margin-bottom: var(--sp-5); }
.field-check { display: flex; align-items: center; gap: var(--sp-2); }
.alert-error { background: var(--c-sand); border-left: 4px solid var(--c-danger); }
.alert-error strong { color: var(--c-danger); }
.alert-info { border-left-color: var(--c-teal); }

/* ============================================================
   Route detail v2 — CMA CGM-inspired layout
   ============================================================ */

/* Hero */
.rd-hero { display: grid; grid-template-columns: 1fr 300px; gap: var(--sp-6); margin-bottom: var(--sp-6); align-items: start; }
@media (max-width: 1024px) { .rd-hero { grid-template-columns: 1fr; } }

/* Journey timeline */
.rd-journey { display: flex; flex-direction: column; gap: 0; }
.rd-journey-point { display: flex; gap: var(--sp-4); align-items: flex-start; position: relative; }
.rd-journey-point::before { content: ''; position: absolute; left: 11px; top: 28px; bottom: -28px; width: 2px; background: var(--c-grey-soft); }
.rd-journey-point:last-child::before { display: none; }
.rd-dot { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--c-teal); background: var(--c-teal); }
.rd-dot--pod { background: var(--c-copper); box-shadow: 0 0 0 2px var(--c-copper); }
.rd-journey-body { padding-bottom: var(--sp-8); flex: 1; }
.rd-journey-point:last-child .rd-journey-body { padding-bottom: 0; }
.rd-place { font-size: var(--fs-22); font-weight: var(--fw-bold); color: var(--c-teal); line-height: 1.2; }
.rd-place-meta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-2); font-size: var(--fs-14); color: var(--c-grey); }
.rd-label { font-size: var(--fs-12); text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-grey); font-weight: var(--fw-semibold); }
.rd-date { font-size: var(--fs-18); font-weight: var(--fw-semibold); color: var(--c-anthracite); margin-top: var(--sp-1); }
.rd-code { font-family: var(--font-mono); font-size: var(--fs-13); background: var(--c-grey-soft); padding: 2px 6px; border-radius: 4px; }

/* Mid-track (vessel + chips) */
.rd-track { display: flex; gap: var(--sp-4); margin: var(--sp-3) 0 var(--sp-3) 36px; align-items: center; flex-wrap: wrap; }
.rd-vessel-chip { display: flex; align-items: center; gap: var(--sp-2); background: rgba(13,89,102,.08); border: 1px solid rgba(13,89,102,.2); border-radius: 999px; padding: var(--sp-2) var(--sp-4); font-size: var(--fs-14); font-weight: var(--fw-semibold); color: var(--c-teal); }
.rd-chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.rd-chip { display: inline-flex; align-items: center; gap: var(--sp-1); background: var(--c-paper); border: 1px solid var(--c-grey-soft); border-radius: 999px; padding: var(--sp-1) var(--sp-3); font-size: var(--fs-13); color: var(--c-anthracite); font-weight: var(--fw-medium); }
.rd-chip--green { background: rgba(135,189,41,.12); border-color: rgba(135,189,41,.4); color: #3e6400; font-weight: var(--fw-bold); }
.rd-chip--price { background: rgba(13,89,102,.08); border-color: rgba(13,89,102,.3); color: var(--c-teal); font-weight: var(--fw-bold); }

/* Route map */
.rd-map-section { margin-bottom: var(--sp-6); }
.js-route-map { height: 360px; border-radius: var(--r-2); overflow: hidden; border: 1px solid var(--c-grey-soft); background: #d4e8f0; }
.route-map-marker { width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); cursor: pointer; }
.route-map-marker--pol { background: #0D5966; }
.route-map-marker--pod { background: #B47148; }

/* Tabs */
.rd-tab-bar { display: flex; gap: 0; border-bottom: 2px solid var(--c-grey-soft); margin-bottom: var(--sp-5); }
.js-tab-btn { background: transparent; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: var(--sp-3) var(--sp-6); font-family: var(--font-sans); font-size: var(--fs-16); font-weight: var(--fw-semibold); color: var(--c-grey); cursor: pointer; transition: color var(--dur-fast), border-color var(--dur-fast); }
.js-tab-btn:hover { color: var(--c-teal); }
.js-tab-btn.is-active { color: var(--c-teal); border-bottom-color: var(--c-teal); }

/* Tab panes */
.js-tab-pane { animation: fade-in .15s ease; }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Schedule tab grid */
.rd-schedule-grid { display: grid; grid-template-columns: 1fr 280px; gap: var(--sp-6); align-items: start; }
@media (max-width: 1024px) { .rd-schedule-grid { grid-template-columns: 1fr; } }

/* Sidebar info blocks */
.rd-sidebar-block { background: var(--c-paper); border: 1px solid var(--c-grey-soft); border-radius: var(--r-2); padding: var(--sp-5); margin-bottom: var(--sp-4); }
.rd-sidebar-title { font-size: var(--fs-13); text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-grey); font-weight: var(--fw-bold); margin: 0 0 var(--sp-3); display: flex; align-items: center; gap: var(--sp-2); }
.rd-sidebar-row { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-2); padding: var(--sp-2) 0; border-bottom: 1px solid var(--c-grey-soft); font-size: var(--fs-14); }
.rd-sidebar-row:last-child { border-bottom: none; }
.rd-sidebar-row dt { color: var(--c-grey); }
.rd-sidebar-row dd { font-weight: var(--fw-semibold); color: var(--c-anthracite); text-align: right; }

/* Eco-calculator tab */
.rd-eco-intro { font-size: var(--fs-16); line-height: var(--lh-normal); margin-bottom: var(--sp-5); }
.rd-eco-table { width: 100%; border-collapse: collapse; font-size: var(--fs-15); }
.rd-eco-table th { text-align: left; padding: var(--sp-3) var(--sp-4); background: var(--c-sand); font-size: var(--fs-13); text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-grey); font-weight: var(--fw-semibold); }
.rd-eco-table td { padding: var(--sp-4); border-bottom: 1px solid var(--c-grey-soft); vertical-align: middle; }
.rd-eco-table tr:last-child td { border-bottom: none; }
.rd-eco-row--towt td { background: rgba(135,189,41,.06); }
.rd-eco-row--conv td { background: rgba(0,0,0,.02); }
.rd-eco-table .td-num { text-align: right; font-family: var(--font-mono); font-weight: var(--fw-semibold); }
.rd-eco-avoided { display: inline-flex; align-items: center; gap: var(--sp-2); background: rgba(135,189,41,.15); border-radius: 999px; padding: var(--sp-1) var(--sp-3); color: #3e6400; font-weight: var(--fw-bold); font-size: var(--fs-13); }
.rd-eco-note { font-size: var(--fs-13); color: var(--c-grey); line-height: var(--lh-normal); margin-top: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--c-grey-soft); }

/* ---- CTA de conversion (encart hero) ---- */
.rd-cta-card {
  background: var(--c-paper); border: 1px solid var(--c-grey-soft);
  border-radius: var(--r-2); padding: var(--sp-5); box-shadow: var(--sh-card);
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.rd-cta-card .rd-cta-eco { margin-top: var(--sp-2); }

/* ---- CTA sticky mobile (< 768px) ---- */
.rd-cta-sticky { display: none; }
@media (max-width: 767px) {
  .rd-cta-card .rd-cta-quote { display: none; } /* évite le doublon avec la barre fixe */
  .rd-cta-sticky {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: var(--sp-3) var(--sp-4);
    background: var(--c-paper); border-top: 1px solid var(--c-grey-soft);
    box-shadow: 0 -4px 16px -8px rgba(13, 89, 102, 0.3);
  }
}

/* ---- Bloc « Qualité à bord » ---- */
.rd-quality-card { background: var(--c-sand); border-color: transparent; }
.rd-quality-head { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.rd-quality-icon { width: 40px; height: 40px; color: var(--c-teal); flex: none; }
.rd-quality-title { font-family: var(--font-serif); font-weight: var(--fw-regular); font-size: var(--fs-24); color: var(--c-teal); margin: 0; }
.rd-quality-body { font-size: var(--fs-16); line-height: var(--lh-normal); color: var(--c-anthracite); margin: 0 0 var(--sp-4); }
.rd-quality-link { color: var(--c-teal); font-weight: var(--fw-semibold); text-decoration: none; }
.rd-quality-link:hover { text-decoration: underline; }

/* ---- Éco-calculateur : estimateur par lot ---- */
.rd-eco-lot {
  margin-top: var(--sp-5); padding: var(--sp-5);
  background: var(--c-bone); border: 1px solid var(--c-grey-soft); border-radius: var(--r-2);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4) var(--sp-6);
}
.rd-eco-lot-input { display: flex; flex-direction: column; gap: var(--sp-1); }
.rd-eco-lot-input label { font-size: var(--fs-13); font-weight: var(--fw-semibold); color: var(--c-teal); }
.rd-eco-lot-input input {
  width: 120px; padding: var(--sp-2) var(--sp-3); font-size: var(--fs-16);
  border: 1px solid var(--c-grey-soft); border-radius: var(--r-2); background: var(--c-paper);
  color: var(--c-anthracite); font-family: var(--font-mono);
}
.rd-eco-lot-input input:focus { outline: none; border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(13,89,102,0.1); }
.rd-eco-lot-result { font-size: var(--fs-16); color: var(--c-anthracite); margin: 0; }
.rd-eco-lot-result strong { font-family: var(--font-mono); font-size: var(--fs-20); color: var(--c-teal); }

/* ---- Dataviz « équivalences » (composant partagé) ---- */
.eco-equiv { position: relative; overflow: hidden; margin-top: var(--sp-5); padding: var(--sp-6); background: var(--c-sand); border-radius: var(--r-2); }
.eco-equiv-motif { position: absolute; bottom: -18%; right: -8%; width: clamp(200px, 30vw, 360px); color: var(--c-teal); opacity: 0.06; }
.eco-equiv-title { position: relative; z-index: 1; font-family: var(--font-serif); font-weight: var(--fw-regular); font-size: var(--fs-20); color: var(--c-teal); margin: 0 0 var(--sp-5); }
.eco-equiv-caption { position: relative; z-index: 1; font-size: var(--fs-14); line-height: var(--lh-normal); color: var(--c-grey); margin: calc(-1 * var(--sp-3)) 0 var(--sp-5); max-width: 640px; }
.eco-equiv-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
@media (max-width: 640px) { .eco-equiv-grid { grid-template-columns: 1fr; } }
.eco-equiv-card {
  background: var(--c-paper); border: 1px solid rgba(13,89,102,0.12); border-radius: var(--r-2);
  padding: var(--sp-5); text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
}
.eco-equiv-icon { width: 44px; height: 44px; color: var(--c-green); }
.eco-equiv-num { font-family: var(--font-mono); font-size: var(--fs-32); font-weight: var(--fw-extrabold); color: var(--c-teal); line-height: 1; }
.eco-equiv-label { font-size: var(--fs-13); color: var(--c-anthracite); line-height: var(--lh-tight); }

/* ============================================================
   /preuves — page de preuve opposable (méthode / vérif / registre)
   ============================================================ */
.prf-list { list-style: none; padding: 0; margin: var(--sp-5) 0; display: flex; flex-direction: column; gap: var(--sp-4); }
.prf-list li { position: relative; padding-left: var(--sp-6); font-size: var(--fs-15); line-height: var(--lh-normal); color: var(--c-anthracite); }
.prf-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--c-green); }
.prf-subtitle { font-size: var(--fs-18); font-weight: var(--fw-bold); color: var(--c-teal); margin: var(--sp-7) 0 var(--sp-4); }

.prf-faq { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-5); }
.prf-faq-item { background: var(--c-paper); border: 1px solid rgba(13,89,102,0.14); border-radius: var(--r-2); padding: var(--sp-4) var(--sp-5); }
.prf-faq-item summary { cursor: pointer; font-weight: var(--fw-bold); color: var(--c-teal); font-size: var(--fs-16); list-style: none; }
.prf-faq-item summary::-webkit-details-marker { display: none; }
.prf-faq-item summary::after { content: "+"; float: right; color: var(--c-grey); font-weight: var(--fw-regular); }
.prf-faq-item[open] summary::after { content: "−"; }
.prf-faq-item p { margin: var(--sp-3) 0 0; font-size: var(--fs-14); line-height: var(--lh-normal); color: var(--c-anthracite); }

/* /verify — fiche de vérification publique (sans PII) */
.vrf-wrap { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.vrf-form { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin: var(--sp-5) 0; }
.vrf-form input[type="text"] { flex: 1 1 280px; padding: var(--sp-4); border: 1px solid var(--c-grey-soft); border-radius: var(--r-2); font-size: var(--fs-16); font-family: var(--font-mono); }
.vrf-card { background: var(--c-paper); border: 1px solid rgba(13,89,102,0.14); border-top: 3px solid var(--c-green); border-radius: var(--r-2); padding: var(--sp-6); margin: var(--sp-5) 0; }
.vrf-hero-num { font-family: var(--font-serif); font-size: clamp(2rem, 5vw, 3rem); color: var(--c-green); line-height: 1; margin: var(--sp-2) 0; }
.vrf-table { width: 100%; border-collapse: collapse; margin-top: var(--sp-4); }
.vrf-table th, .vrf-table td { padding: var(--sp-3) var(--sp-4); text-align: left; border-bottom: 1px solid var(--c-grey-soft); font-size: var(--fs-14); }
.vrf-table th { color: var(--c-grey); font-weight: var(--fw-bold); width: 42%; }
.vrf-table td { font-family: var(--font-mono); color: var(--c-anthracite); }
.vrf-table tr:last-child th, .vrf-table tr:last-child td { border-bottom: none; }
.vrf-notfound { background: var(--c-sand); border-left: 6px solid var(--c-copper); padding: var(--sp-5); margin: var(--sp-5) 0; font-size: var(--fs-15); }

/* ============================================================
   Landing v1 — "Nouvelle Étoile" (refonte accueil)
   ============================================================ */

/* ---- Motif rose des vents (filigrane discret) ---- */
.windrose-motif {
  position: absolute; pointer-events: none; z-index: 0;
  width: clamp(280px, 38vw, 520px); height: auto;
  color: var(--c-green); opacity: 0.06;
}
.hero--rose .windrose-motif { top: -8%; right: -6%; }
.hero--rose .hero-inner { position: relative; z-index: 1; }

/* ---- Micro-preuve sous le formulaire hero ---- */
.hero-proof {
  margin-top: var(--sp-5); font-size: var(--fs-14); color: var(--c-grey);
  max-width: 680px; line-height: var(--lh-normal);
}
.hero-proof em { font-style: normal; font-weight: var(--fw-semibold); color: var(--c-teal); }

/* ---- Image héros pleine largeur ---- */
.hero-figure { margin: 0; }
.hero-figure img {
  width: 100%; height: clamp(240px, 46vh, 520px);
  object-fit: cover; display: block;
}

/* ---- Bandeau de preuve ---- */
.proofstrip { background: var(--c-bone); border-bottom: 1px solid var(--border-hair); }
.proofstrip-inner {
  max-width: var(--container); margin: 0 auto;
  padding: var(--sp-4) var(--gutter);
  text-align: center; font-size: var(--fs-14); font-weight: var(--fw-semibold);
  letter-spacing: 0.01em; color: var(--c-teal); line-height: var(--lh-normal);
}

/* ---- Cartes "Pourquoi" : accroche + lien ---- */
.feature-lede {
  font-size: var(--fs-16); font-weight: var(--fw-semibold);
  color: var(--c-teal); margin: 0 0 var(--sp-3) !important;
}
.feature-card .feature-link {
  display: inline-block; margin-top: var(--sp-4);
  font-size: var(--fs-14); font-weight: var(--fw-semibold);
  color: var(--c-teal); border-bottom: 1px solid transparent;
}
.feature-card .feature-link:hover { color: var(--c-copper); border-bottom-color: var(--c-copper); }

/* ---- Badge CO₂ évité / palette (sur carte de leg) ---- */
.co2-badge {
  display: flex; align-items: center; gap: var(--sp-2);
  background: rgba(135, 189, 41, 0.12);
  border: 1px solid rgba(135, 189, 41, 0.35);
  border-radius: var(--r-2); padding: var(--sp-2) var(--sp-3);
  position: relative; overflow: hidden;
}
.co2-badge-rose { width: 22px; height: 22px; color: var(--c-green); flex: none; opacity: 0.8; }
.co2-badge-val {
  font-family: var(--font-mono); font-weight: var(--fw-bold);
  font-size: var(--fs-18); color: #3e6400; line-height: 1;
}
.co2-badge-label {
  font-size: var(--fs-12); color: var(--c-grey); font-weight: var(--fw-semibold);
  text-transform: uppercase; letter-spacing: var(--tr-loose); line-height: 1.2;
}

/* Aligne le CTA en bas des cartes de leg (hauteurs inégales) */
.booking-card > .btn-block:last-child { margin-top: auto; }

/* ---- CTA pied de section traversées ---- */
.sched-cta { text-align: center; margin-top: var(--sp-7); }

/* ---- Tuiles marchandises sensibles ---- */
.verticals-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--sp-4); margin-top: var(--sp-6);
}
.vertical-tile {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  gap: var(--sp-2); min-height: 140px; padding: var(--sp-5);
  border-radius: var(--r-2); border: 1px solid var(--c-grey-soft);
  background: var(--c-paper); border-bottom: none;
}
.vertical-tile.is-active {
  border-left: 4px solid var(--c-green); color: var(--c-teal);
  transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.vertical-tile.is-active:hover {
  box-shadow: var(--sh-card); transform: translateY(-2px); border-bottom: none;
}
.vertical-tile.is-soon { background: var(--c-bone); border-style: dashed; opacity: 0.85; }
.vertical-name { font-size: var(--fs-20); font-weight: var(--fw-bold); color: var(--c-teal); }
.vertical-tile.is-soon .vertical-name { color: var(--c-grey); }
.vertical-soon {
  font-size: var(--fs-12); font-weight: var(--fw-bold); text-transform: uppercase;
  letter-spacing: var(--tr-loose); color: var(--c-copper);
  background: rgba(180, 113, 72, 0.12); border-radius: var(--r-pill);
  padding: 2px var(--sp-3);
}

/* ---- Bandeau de clôture (fond nuit, premium) ---- */
.closing-band {
  background: var(--c-night); color: var(--fg-on-dark);
  position: relative; overflow: hidden; padding: var(--sp-9) 0;
}
.closing-band .windrose-motif { color: var(--c-green); opacity: 0.08; bottom: -14%; left: -4%; }
.closing-inner {
  position: relative; z-index: 1;
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  text-align: center;
}
.closing-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: var(--fw-bold);
  color: #fff; margin: 0 0 var(--sp-6); line-height: var(--lh-snug);
}
.closing-actions { display: flex; gap: var(--sp-4); justify-content: center; flex-wrap: wrap; }
.btn-on-dark { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn-on-dark:hover { background: #fff; color: var(--c-night); border-color: #fff; }

@media (max-width: 480px) {
  .verticals-grid { grid-template-columns: 1fr 1fr; }
  .closing-actions .btn { width: 100%; }
}

/* ── Wizard de réservation (CONV) ───────────────────────────────────────── */
.wizard-counter { font-size: var(--fs-13); font-weight: var(--fw-semibold); color: var(--c-teal); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 var(--sp-4); }

/* Étape 1 — cartes traversées */
.bk-route-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--sp-4); }
.bk-route-card { background: var(--c-paper); border: 1px solid var(--c-grey-soft); border-radius: var(--r-2); padding: var(--sp-5); transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out); }
.bk-route-card:hover { border-color: var(--c-teal); box-shadow: var(--sh-lift); }
.bk-route-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-3); margin-bottom: var(--sp-3); }
.bk-leg-code { font-weight: var(--fw-bold); color: var(--c-teal); }
.bk-vessel { font-size: var(--fs-13); color: var(--c-grey); }
.bk-route-line { font-size: var(--fs-20); font-weight: var(--fw-bold); margin-bottom: var(--sp-3); }
.bk-arrow { color: var(--c-copper); margin: 0 var(--sp-2); }
.bk-route-meta { display: flex; gap: var(--sp-4); flex-wrap: wrap; font-size: var(--fs-13); color: var(--c-grey); margin-bottom: var(--sp-4); }
.bk-route-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* CTA flottant en bas de l'écran < 768 px (parcours utilisable au pouce) */
@media (max-width: 768px) {
  .wizard-actions {
    position: sticky; bottom: 0; z-index: 20;
    background: var(--c-paper, #fff);
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
    padding: var(--sp-3) var(--gutter);
    border-top: 1px solid var(--c-grey-soft);
    box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
  }
  .wizard-actions .btn { flex: 1 1 auto; }
}

/* ─────────────── Composant « équivalences CO₂ » (co2-equivalences.js) ───────────────
   Réutilisable : fiche route, /impact, certificat, kit B2B2C. Charte NEWTOWT. */
.co2eq {
  position: relative; overflow: hidden;
  background: var(--c-sand); border-radius: var(--r-3);
  padding: var(--sp-6) var(--sp-6) var(--sp-5);
  box-shadow: 0 10px 30px rgba(9, 63, 72, 0.12);
}
.co2eq__compass {
  position: absolute; right: -40px; top: -40px; width: 220px; height: 220px;
  opacity: 0.06; color: var(--c-teal); pointer-events: none;
}
.co2eq__kicker {
  font-size: var(--fs-12); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-teal-soft); font-weight: var(--fw-bold, 700); margin: 0 0 var(--sp-1);
}
.co2eq__headline {
  font-family: var(--font-serif); color: var(--c-teal);
  font-size: clamp(2rem, 5vw, 2.6rem); line-height: var(--lh-tight); margin: 0 0 2px;
}
.co2eq__unit {
  font-size: var(--fs-18); color: var(--c-teal-soft);
  font-family: var(--font-sans); font-weight: 700;
}
.co2eq__sub { font-size: var(--fs-14); color: var(--c-anthracite); margin: 0 0 var(--sp-5); }

.co2eq__control { margin: 0 0 var(--sp-5); }
.co2eq__control label {
  display: block; font-size: var(--fs-13); font-weight: 700;
  color: var(--c-teal-deep); margin: 0 0 var(--sp-2);
}
.co2eq__row { display: flex; align-items: center; gap: var(--sp-4); }
.co2eq__range {
  -webkit-appearance: none; appearance: none; flex: 1; height: 6px; border-radius: 6px;
  background: linear-gradient(90deg,
    var(--c-green) 0%, var(--c-green) var(--co2eq-fill, 30%),
    #d8cdb6 var(--co2eq-fill, 30%), #d8cdb6 100%);
  outline: none;
}
.co2eq__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-teal); border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.25); cursor: pointer;
}
.co2eq__range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: var(--c-teal);
  border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,0.25); cursor: pointer;
}
.co2eq__numwrap {
  display: flex; align-items: center; gap: var(--sp-1);
  background: var(--c-paper); border: 1px solid var(--border-hair);
  border-radius: var(--r-3); padding: var(--sp-1) var(--sp-3);
}
.co2eq__numwrap input {
  width: 74px; border: none; outline: none; font-family: var(--font-sans); font-weight: 800;
  font-size: var(--fs-18); color: var(--c-teal); text-align: right; background: transparent;
}
.co2eq__numwrap span { font-size: var(--fs-13); color: var(--c-grey); font-weight: 700; }

.co2eq__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.co2eq__tile {
  background: var(--c-paper); border-radius: var(--r-3); padding: var(--sp-4);
  text-align: center; border: 1px solid var(--border-hair);
}
.co2eq__ic {
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin: 0 auto var(--sp-3);
  background: rgba(135, 189, 41, 0.22); color: var(--c-teal-deep);
}
.co2eq__ic svg { width: 24px; height: 24px; }
.co2eq__big { font-family: var(--font-sans); font-weight: 800; font-size: var(--fs-32); color: var(--c-teal); line-height: 1; }
.co2eq__lbl { font-size: var(--fs-13); font-weight: 700; color: var(--c-anthracite); margin: var(--sp-1) 0; }
.co2eq__hyp { font-size: var(--fs-12); color: var(--c-grey); line-height: var(--lh-snug); }

.co2eq__foot {
  display: flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-5);
  padding-top: var(--sp-4); border-top: 1px solid var(--border-hair);
}
.co2eq__qr { flex: 0 0 auto; width: 46px; height: 46px; }
.co2eq__foot p { margin: 0; font-size: var(--fs-13); color: var(--c-teal-deep); }
.co2eq__foot p b { color: var(--c-teal); }

@media (max-width: 560px) {
  .co2eq__grid { grid-template-columns: 1fr; }
  .co2eq__row { flex-wrap: wrap; }
}

/* ─────────────── Récits d'origine café (/solutions/cafe, kit B2B2C) ─────────────── */
.cafe-stories {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5);
  margin-top: var(--sp-6);
}
.cafe-story { display: flex; flex-direction: column; margin-bottom: 0; }
.cafe-story__title {
  font-family: var(--font-serif); color: var(--c-teal);
  font-size: var(--fs-20); margin: 0 0 var(--sp-3);
}
.cafe-story__body {
  font-size: var(--fs-14); line-height: var(--lh-normal);
  color: var(--c-anthracite); margin: 0 0 var(--sp-4);
}
.cafe-story__short {
  margin: auto 0 0; padding-top: var(--sp-4); border-top: 1px solid var(--border-hair);
  font-size: var(--fs-13); color: var(--c-grey); line-height: var(--lh-snug);
}
.cafe-story__short .pill { margin-right: var(--sp-2); }
@media (max-width: 860px) {
  .cafe-stories { grid-template-columns: 1fr; }
}

/* ==== P5 — Preuve sociale : compteurs réels, presse, témoignages, logos ==== */
.social-counters {
  display: flex; gap: var(--sp-6); flex-wrap: wrap;
  justify-content: center; margin-top: var(--sp-6);
}
.social-counter { text-align: center; min-width: 200px; }
.social-counter-val {
  display: block; font-family: var(--font-serif, "DM Serif Display", serif);
  font-size: var(--fs-48, 3rem); line-height: 1.1; color: var(--c-teal);
}
.social-counter-label {
  display: block; margin-top: var(--sp-2);
  font-size: var(--fs-14); color: var(--c-grey); letter-spacing: 0.01em;
}
.social-counters-note {
  margin-top: var(--sp-5); text-align: center;
  font-size: var(--fs-13, 0.8125rem); color: var(--c-grey);
}
.press-strip { background: var(--c-bone); border-block: 1px solid var(--border-hair); }
.press-strip-inner {
  max-width: var(--container); margin: 0 auto;
  padding: var(--sp-4) var(--gutter);
  display: flex; gap: var(--sp-4) var(--sp-6); flex-wrap: wrap;
  align-items: baseline; justify-content: center;
}
.press-strip-label {
  font-size: var(--fs-13, 0.8125rem); text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--c-grey); font-weight: var(--fw-semibold);
}
.press-strip-item {
  font-size: var(--fs-14); font-weight: var(--fw-semibold);
  color: var(--c-teal); text-decoration: none; white-space: nowrap;
}
.press-strip-item:hover { text-decoration: underline; }
.testimonial-card { font-style: normal; margin: 0; }
.testimonial-quote { font-size: var(--fs-16); line-height: var(--lh-loose, 1.6); }
.testimonial-author { margin-top: var(--sp-3); font-size: var(--fs-14); color: var(--c-grey); }
.clientlogos {
  display: flex; gap: var(--sp-6); flex-wrap: wrap;
  align-items: center; justify-content: center; margin-top: var(--sp-5);
}
.clientlogos-item { max-height: 44px; width: auto; filter: grayscale(1); opacity: 0.85; }
.clientlogos-item:hover { filter: none; opacity: 1; }

/* ==== P5 — Photothèque presse ==== */
.press-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.press-gallery figure { margin: 0; }
.press-gallery img {
  width: 100%; height: 180px; object-fit: cover; display: block;
  border-radius: var(--radius-md, 12px);
}
.press-gallery figcaption { font-size: var(--fs-13, 0.8125rem); color: var(--c-grey); margin-top: var(--sp-2); }
@media (max-width: 860px) {
  .press-gallery { grid-template-columns: 1fr; }
  .social-counters { gap: var(--sp-5); }
}

/* ==== Bandeau actualité (landing, sous le bandeau de preuve) ==== */
.newsband { padding: 0; overflow: hidden; margin-bottom: 0; }
.newsband.has-media {
  display: grid; grid-template-columns: minmax(240px, 5fr) 7fr;
  align-items: stretch;
}
.newsband-img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }
.newsband-body {
  padding: var(--sp-6); display: flex; flex-direction: column;
  align-items: flex-start; gap: var(--sp-3);
}
.newsband-body .section-kicker { margin-bottom: 0; }
a.newsband-kicker:hover { color: var(--c-teal); }
.newsband-date { margin: 0; font-size: var(--fs-13); color: var(--c-grey); }
.newsband-title {
  margin: 0; font-size: var(--fs-24); font-weight: var(--fw-bold);
  color: var(--c-teal); line-height: var(--lh-snug);
}
.newsband-lead { margin: 0; font-size: var(--fs-16); line-height: var(--lh-normal); color: var(--c-anthracite); }
.newsband-cta { margin-top: var(--sp-2); }
@media (max-width: 768px) {
  .newsband.has-media { grid-template-columns: 1fr; }
  .newsband-img { min-height: 0; height: 200px; }
}

/* ---- Tuile verticale : sous-ligne (ex. fret industriel → devis direct) ---- */
.vertical-sub { font-size: var(--fs-13); font-weight: var(--fw-semibold); color: var(--c-grey); }

/* ---- Note de méthode sous la grille des traversées ---- */
.sched-method-note { margin-top: var(--sp-4); max-width: 800px; }
.sched-method-note a { color: var(--c-teal); text-decoration: underline; }

/* ---- Note sous les CTA du bandeau de clôture (fond nuit) ---- */
.closing-note { margin: var(--sp-5) 0 0; font-size: var(--fs-14); color: rgba(255, 255, 255, 0.85); }
.closing-note a { color: #fff; text-decoration: underline; }

/* ==== Façade vidéo YouTube (click-to-load, poster local, RGPD) ==== */
.yt-facade {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  border-radius: var(--radius-md, 12px); overflow: hidden; cursor: pointer;
  background: var(--c-night, #0b2530);
}
.yt-facade img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  display: block; opacity: 0.92;
}
.yt-facade:hover img, .yt-facade:focus-visible img { opacity: 1; }
.yt-facade-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--c-teal, #0d5966); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1; padding-left: 5px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease;
}
.yt-facade:hover .yt-facade-play,
.yt-facade:focus-visible .yt-facade-play { transform: translate(-50%, -50%) scale(1.06); }
.yt-facade-note {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-13); color: #fff; text-align: left;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}
.yt-embed {
  width: 100%; aspect-ratio: 16 / 9; border: 0;
  border-radius: var(--radius-md, 12px); display: block;
}
