/* ============================================================
   TRANSFERT-STRASBOURG-BADEN.FR — Feuille de style principale
   Design « Forêt & Champagne » — palette exclusive au site
   ============================================================ */

:root {
  --pine: #0E3B2E;
  --pine-2: #0B2E24;
  --pine-3: #07201A;
  --gold: #C6A15B;
  --gold-2: #E7D3A9;
  --ivory: #FAF7F0;
  --cream: #F2EBDD;
  --ink: #232220;
  --muted: #5C574E;
  --white: #FFFFFF;
  --line: rgba(14, 59, 46, 0.14);
  --shadow: 0 18px 44px rgba(7, 32, 26, 0.12);
  --radius: 18px;
  --font-head: 'Marcellus', Georgia, serif;
  --font-body: 'Manrope', 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pine); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.15; color: var(--pine); }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.32rem; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- HEADER ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: all .35s ease;
  background: linear-gradient(180deg, rgba(7,32,26,.55), transparent);
}
.header.scrolled {
  background: rgba(7, 32, 26, 0.96);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 2px 0 rgba(198,161,91,.45), 0 12px 30px rgba(0,0,0,.25);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-emblem {
  width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
  background: var(--pine);
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); color: var(--gold-2); font-size: 1.15rem; letter-spacing: 1px;
}
.brand-word { line-height: 1.12; }
.brand-word strong {
  display: block; font-family: var(--font-head); font-size: 1.16rem;
  color: var(--ivory); font-weight: 400; letter-spacing: .4px;
}
.brand-word span {
  display: block; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 2.4px;
  color: var(--gold-2);
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav-link {
  color: rgba(250,247,240,.88); font-size: 0.93rem; font-weight: 500; letter-spacing: .3px;
  position: relative; padding: 4px 0; transition: color .25s;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--gold); transition: width .3s ease;
}
.nav-link:hover { color: var(--gold-2); }
.nav-link:hover::after { width: 100%; }
.header-cta {
  background: var(--gold); color: var(--pine-3); font-weight: 700; font-size: 0.9rem;
  padding: 11px 22px; border-radius: 999px; letter-spacing: .4px;
  transition: transform .25s, box-shadow .25s;
}
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(198,161,91,.35); }

/* Sélecteur de langue */
.lang-switch { display: flex; gap: 4px; align-items: center; }
.lang-btn {
  background: transparent; border: 1px solid rgba(231,211,169,.4); color: rgba(250,247,240,.75);
  font-size: 0.72rem; font-weight: 700; letter-spacing: .5px;
  width: 34px; height: 28px; border-radius: 7px; cursor: pointer; transition: all .25s;
}
.lang-btn:hover { border-color: var(--gold-2); color: var(--gold-2); }
.lang-btn.active { background: var(--gold); border-color: var(--gold); color: var(--pine-3); }

/* Menu mobile */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 1002; }
.menu-toggle span {
  display: block; width: 26px; height: 2.5px; margin: 5.5px 0;
  background: var(--ivory); border-radius: 2px; transition: .3s;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1060px) {
  .nav {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; height: 100dvh;
    background: var(--pine-3); flex-direction: column; justify-content: flex-start;
    gap: 4px; padding: 92px 30px 30px; transition: right .35s ease; overflow-y: auto;
    box-shadow: -20px 0 60px rgba(0,0,0,.4);
  }
  .nav.active { right: 0; }
  .nav .nav-link, .nav .header-cta { width: 100%; text-align: left; padding: 13px 4px; border-bottom: 1px solid rgba(198,161,91,.18); font-size: 1.02rem; }
  .nav .header-cta { text-align: center; border-bottom: none; margin-top: 14px; }
  .nav .lang-switch { margin-top: 22px; }
  .nav .lang-btn { width: 44px; height: 34px; font-size: .8rem; }
  .menu-toggle { display: block; }
  .drawer-close {
    position: absolute; top: 26px; right: 24px; background: none; border: none; cursor: pointer;
    color: var(--gold-2); font-size: 1.5rem; line-height: 1; padding: 6px;
  }
}
@media (min-width: 1061px) { .drawer-close { display: none; } }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 86vh; display: flex; align-items: center;
  background-size: cover; background-position: center;
  padding: 150px 0 90px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(7,32,26,.88) 0%, rgba(7,32,26,.62) 46%, rgba(7,32,26,.12) 100%);
}
.hero-inner { position: relative; max-width: 780px; }
.hero-kicker {
  display: inline-block; background: rgba(198,161,91,.16); border: 1px solid rgba(198,161,91,.55);
  color: var(--gold-2); font-size: 0.8rem; font-weight: 600; letter-spacing: 2.2px;
  text-transform: uppercase; padding: 8px 18px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { color: var(--ivory); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero-sub { color: rgba(250,247,240,.92); font-size: 1.13rem; max-width: 620px; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 42px; }
.hero-badge { color: var(--gold-2); font-size: 0.88rem; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.hero-badge::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: rgba(198,161,91,.2); display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; color: var(--gold-2); }

/* Hero compact (pages liaisons) */
.hero--page { min-height: 62vh; padding: 130px 0 66px; }

/* ---------- BOUTONS ---------- */
.btn {
  display: inline-block; padding: 15px 30px; border-radius: 999px;
  font-weight: 700; font-size: 0.98rem; letter-spacing: .3px;
  transition: transform .25s, box-shadow .25s, background .25s; cursor: pointer; border: none;
}
.btn-gold { background: var(--gold); color: var(--pine-3); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(198,161,91,.4); background: var(--gold-2); }
.btn-ghost-l { background: transparent; color: var(--ivory); border: 1.5px solid rgba(250,247,240,.55); }
.btn-ghost-l:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn-ghost-d { background: transparent; color: var(--pine); border: 1.5px solid var(--pine); }
.btn-ghost-d:hover { background: var(--pine); color: var(--ivory); }

/* ---------- SECTIONS ---------- */
.section { padding: 92px 0; }
.section--pine { background: var(--pine); }
.section--pine h2, .section--pine h3 { color: var(--ivory); }
.section--pine p { color: rgba(250,247,240,.85); }
.section--cream { background: var(--cream); }
.section--ivory { background: var(--ivory); }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-tag {
  display: inline-block; color: var(--gold); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 2.6px; text-transform: uppercase; margin-bottom: 14px;
}
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.section--pine .section-head p { color: rgba(250,247,240,.8); }

/* ---------- GRILLES & CARTES ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: 0 6px 22px rgba(7,32,26,.06); border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s; position: relative; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  background: rgba(198,161,91,.13); display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card .card-price { display: block; margin-top: 14px; color: var(--gold); font-weight: 700; font-size: 0.92rem; }

/* Cartes liaisons avec image */
.route-card { padding: 0; display: flex; flex-direction: column; }
.route-card img { height: 190px; width: 100%; object-fit: cover; }
.route-card .route-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.route-card .route-link {
  margin-top: auto; color: var(--gold); font-weight: 700; font-size: 0.92rem; letter-spacing: .3px;
}
.route-card .route-link:hover { color: var(--pine); }

/* ---------- PANNEAU TRAJET (pages liaisons) ---------- */
.route-panel {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); margin-top: -70px; position: relative; z-index: 5;
  background: var(--white);
}
.route-panel .route-photo { min-height: 330px; background-size: cover; background-position: center; }
.route-info { padding: 40px 42px; }
.route-info h2 { margin-bottom: 6px; font-size: 1.9rem; }
.route-facts { list-style: none; margin: 22px 0; display: grid; gap: 14px; }
.route-facts li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); }
.route-facts .fact-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px;
  background: var(--pine); color: var(--gold-2); display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.route-facts strong { display: block; font-size: 1.02rem; }
.route-facts span { color: var(--muted); font-size: 0.88rem; }
@media (max-width: 880px) {
  .route-panel { grid-template-columns: 1fr; margin-top: -40px; }
  .route-info { padding: 30px 26px; }
}

/* ---------- TABLEAU TARIFS ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 22px rgba(7,32,26,.07); min-width: 520px; }
.price-table th {
  background: var(--pine); color: var(--gold-2); text-align: left; padding: 15px 20px;
  font-size: 0.85rem; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600;
}
.price-table td { padding: 15px 20px; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.price-table tr:last-child td { border-bottom: none; }
.price-table td:first-child { font-weight: 700; color: var(--pine); }
.price-table .price-val { color: var(--gold); font-weight: 800; }
.price-table tr:hover td { background: rgba(198,161,91,.06); }

/* ---------- ÉTAPES ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.step-num {
  font-family: var(--font-head); font-size: 2.6rem; color: var(--gold); margin-bottom: 10px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 14px; max-width: 860px; }
.faq-list details {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 24px; transition: box-shadow .3s;
}
.faq-list details[open] { box-shadow: 0 10px 30px rgba(7,32,26,.09); border-color: rgba(198,161,91,.5); }
.faq-list summary {
  cursor: pointer; font-weight: 700; color: var(--pine); font-size: 1.02rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin-top: 12px; color: var(--muted); }

/* ---------- IMAGE ÉDITORIALE ---------- */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.editorial img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.editorial h2 { margin-bottom: 16px; }
.editorial p { color: var(--muted); margin-bottom: 13px; }
@media (max-width: 880px) { .editorial { grid-template-columns: 1fr; gap: 30px; } }

/* Bandeau inclus */
.includes-band { display: flex; flex-wrap: wrap; gap: 12px; }
.includes-band span {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-size: 0.88rem; font-weight: 600; color: var(--pine);
}
.includes-band span::before { content: "✓ "; color: var(--gold); }

/* ---------- CTA final ---------- */
.final-cta {
  background: linear-gradient(115deg, var(--pine-3), var(--pine) 65%);
  border-radius: var(--radius); padding: 62px 46px; text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  border: 1.5px solid rgba(198,161,91,.25); right: -140px; top: -140px;
}
.final-cta h2 { color: var(--ivory); margin-bottom: 14px; }
.final-cta p { color: rgba(250,247,240,.85); max-width: 560px; margin: 0 auto 30px; }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.contact-tile { background: var(--white); border-radius: var(--radius); padding: 34px 28px; text-align: center; border: 1px solid var(--line); box-shadow: 0 6px 22px rgba(7,32,26,.06); }
.contact-tile .tile-icon { font-size: 1.8rem; margin-bottom: 12px; }
.contact-tile h3 { margin-bottom: 8px; }
.contact-tile p { color: var(--muted); font-size: 0.93rem; }
.contact-tile a.big { display: block; font-size: 1.06rem; font-weight: 800; color: var(--pine); margin-top: 6px; }
.contact-tile a.big:hover { color: var(--gold); }

/* ---------- MENTIONS LÉGALES ---------- */
.legal-body { max-width: 840px; margin: 0 auto; }
.legal-body h2 { font-size: 1.5rem; margin: 34px 0 12px; }
.legal-body p, .legal-body li { color: var(--muted); margin-bottom: 10px; font-size: 0.97rem; }
.legal-body ul { padding-left: 22px; }

/* ---------- BANDEAU COOKIES ---------- */
.cookie-banner {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  width: min(680px, calc(100vw - 32px)); background: var(--white); z-index: 2000;
  border: 1px solid rgba(198,161,91,.55); border-radius: 16px; padding: 20px 24px;
  box-shadow: 0 20px 50px rgba(7,32,26,.25); display: none; gap: 18px; align-items: center;
  flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { flex: 1 1 300px; font-size: 0.85rem; color: var(--muted); }
.cookie-actions { display: flex; gap: 10px; }
.cookie-accept { background: var(--pine); color: var(--gold-2); border: none; padding: 10px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: .88rem; }
.cookie-accept:hover { background: var(--pine-2); }
.cookie-decline { background: transparent; color: var(--muted); border: 1px solid var(--line); padding: 10px 20px; border-radius: 999px; cursor: pointer; font-size: .88rem; font-weight: 600; }
.cookie-decline:hover { border-color: var(--gold); color: var(--pine); }

/* ---------- FOOTER ---------- */
.footer { background: var(--pine-3); color: rgba(250,247,240,.78); padding: 74px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 54px; }
.footer h4 { font-family: var(--font-head); color: var(--gold-2); font-size: 1.12rem; margin-bottom: 18px; font-weight: 400; }
.footer-brand .brand-word strong { font-size: 1.25rem; }
.footer p { font-size: 0.9rem; margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(250,247,240,.75); font-size: 0.9rem; transition: color .25s; }
.footer a:hover { color: var(--gold-2); }
.footer .managed-note {
  font-size: 0.82rem; color: rgba(231,211,169,.75); border-left: 2px solid rgba(198,161,91,.4);
  padding-left: 14px; margin-top: 18px;
}
.footer-bottom {
  border-top: 1px solid rgba(198,161,91,.18); padding: 22px 0; display: flex;
  justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 0.84rem;
}
.footer-bottom a { font-size: 0.84rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- ANIMATIONS ---------- */
.fade-in { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- MODULE DE RÉSERVATION — adaptation chromatique ---------- */
.section.booking { background: var(--cream) !important; }
.booking-header { background: var(--pine-3) !important; border-bottom: 2px solid var(--gold) !important; }
.booking-header h2 { color: var(--ivory) !important; }
.booking-container { border: 1px solid rgba(198,161,91,.5) !important; box-shadow: var(--shadow) !important; }
.estimate-box, .summary-box, .price-summary { border-color: rgba(198,161,91,.45) !important; }
.total-price { color: var(--pine) !important; }
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .section { padding: 64px 0; }
  .hero { min-height: 74vh; padding: 120px 0 60px; }
}

/* ---------- MODULE : boutons beige clair, bien visibles ---------- */
.estimate-btn,
#submitBooking.btn-primary {
  background: #EFE2C4;
  color: var(--pine-3);
  border: 2px solid var(--gold);
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(198,161,91,.35);
}
.estimate-btn::after,
#submitBooking.btn-primary::after { display: none; }
.estimate-btn:hover,
#submitBooking.btn-primary:hover {
  background: var(--gold);
  color: var(--pine-3);
  transform: translateY(-2px);
}
.stop-toggle {
  background: #EFE2C4;
  border: 1.5px solid var(--gold);
  color: var(--pine);
  font-weight: 700;
}
.stop-toggle:hover {
  background: var(--gold-2);
  border-color: var(--pine);
}
.booking-form .radio-label {
  background: #EFE2C4;
  border: 1.5px solid var(--gold);
  color: var(--pine);
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
}
.booking-form .radio-label:hover { background: var(--gold-2); }
.booking-form .radio-label:has(input:checked) {
  background: var(--pine);
  color: var(--gold-2);
  border-color: var(--pine);
}
.payment-option {
  background: #EFE2C4;
  border: 2px solid var(--gold);
}
.payment-option:hover { background: var(--gold-2); }
.payment-option.selected {
  background: var(--pine);
  color: var(--ivory);
  border-color: var(--gold);
}
.payment-option.selected .payment-option-desc { color: rgba(250,247,240,.8); }
