/* =========================================================
   Eden VTC – feuille de style
   ========================================================= */

:root {
  --navy: #0b1530;
  --navy-2: #121f42;
  --ink: #070d20;
  --gold: #c9a45c;
  --gold-2: #e4c98f;
  --cream: #f3f5f9;   /* blanc perle bleuté, rappelle le ciel du crépuscule */
  --cream-2: #e4e9f2;
  --text: #1c2440;
  --muted: #5d6680;
  --on-dark: #e9ecf5;
  --on-dark-muted: #a9b1c7;
  --line: rgba(201, 164, 92, .28);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 18px 40px -18px rgba(11, 21, 48, .35);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }

h1, h2, h3 { margin: 0; line-height: 1.15; }
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3rem);
  letter-spacing: -.01em;
}
h2 em, h1 em { font-style: italic; color: var(--gold); }
h3 { font-size: 1.08rem; font-weight: 700; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 50px;
  padding: .8em 1.6em;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 .95rem/1 var(--sans);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(201, 164, 92, .7);
}
.btn--gold:hover { box-shadow: 0 14px 30px -10px rgba(201, 164, 92, .9); }
.btn--ghost { border-color: rgba(228, 201, 143, .55); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { background: rgba(228, 201, 143, .14); border-color: var(--gold-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7em;
  margin: 0 0 .9rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- En-tête ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  background: linear-gradient(to bottom, rgba(7, 13, 32, .75), rgba(7, 13, 32, 0));
  transition: background .3s, box-shadow .3s;
}
.header.is-scrolled,
.header.is-open {
  background: rgba(11, 21, 48, .96);
  box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }

.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__name {
  font-family: "Cinzel Decorative", var(--serif); /* capitales d'inscription, comme le logo */
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  margin: 0;
}
.brand__name em { font-style: normal; color: var(--gold-2); }
.brand__tag { white-space: nowrap; margin-top: 4px; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); opacity: .85; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: .92rem; font-weight: 500; position: relative; }
.nav a:not(.nav__cta):not(.nav__phone)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--gold-2); transition: right .25s;
}
.nav a:not(.nav__cta):not(.nav__phone):hover::after { right: 0; }
.nav__phone { display: inline-flex; align-items: center; gap: .5em; color: var(--gold-2); font-weight: 700 !important; }
.nav__cta {
  padding: .6em 1.3em;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-2);
  transition: background .2s, color .2s;
}
.nav__cta:hover { background: var(--gold); color: var(--ink); }

.lang {
  display: flex; flex-shrink: 0; padding: 3px; border: 1px solid rgba(228, 201, 143, .45); border-radius: 999px;
}
.lang a {
  min-width: 34px; padding: .38em .7em; border-radius: 999px; text-align: center; text-decoration: none;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; color: #fff; transition: background .2s, color .2s;
}
.lang a:hover { color: var(--gold-2); }
.lang a[aria-current] { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink); }
.header__end { display: flex; align-items: center; gap: 14px; }
.nav { margin-left: auto; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; margin: 5px 0; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.header.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-open .burger span:nth-child(2) { opacity: 0; }
.header.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.hero__media,
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 55% 30%; }

.hero__content { position: relative; padding-bottom: clamp(48px, 8vh, 96px); }
.hero__content > * { max-width: 560px; }
.hero__eyebrow { text-shadow: 0 1px 3px rgba(0, 0, 0, .7); display: flex; flex-wrap: wrap; align-items: center; gap: .6em; font-size: .85rem; font-weight: 600; letter-spacing: .08em; color: var(--gold-2); margin-bottom: 1rem; }
.stars { letter-spacing: .15em; color: var(--gold); }
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  letter-spacing: -.01em;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .55), 0 4px 28px rgba(0, 0, 0, .55);
}
.hero__title em { color: var(--gold-2); }
.hero__lead { font-size: .92rem; line-height: 1.55; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .7), 0 2px 16px rgba(0, 0, 0, .6); margin-bottom: 1.6rem; }
/* Ordinateur : le texte s'arrête avant l'avant du van (≈ 36 % de la largeur de l'image) */
@media (min-width: 861px) {
  .hero__content > .hero__lead { max-width: max(320px, calc(36vw - max(var(--gutter), (100vw - 1200px) / 2 + var(--gutter)) - 24px)); }
  .hero__content > .hero__title { font-size: clamp(2rem, 3vw, 2.9rem); max-width: max(300px, calc(40vw - max(var(--gutter), (100vw - 1200px) / 2 + var(--gutter)) - 24px)); }
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__content > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero__content > :nth-child(2) { animation-delay: .12s; }
.hero__content > :nth-child(3) { animation-delay: .24s; }
.hero__content > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Bandeau confiance ---------- */
.trust { background: var(--navy); color: var(--on-dark); border-top: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 26px 18px; font-size: .85rem; color: var(--on-dark-muted); }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__item svg { width: 30px; height: 30px; color: var(--gold); }
.trust__item strong { display: block; color: #fff; font-size: .98rem; font-weight: 700; }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--dark { background: var(--navy); color: var(--on-dark); }
.section--dark h2 { color: #fff; }
.section--dark p { color: var(--on-dark-muted); }
.section--tint { background: var(--cream-2); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section__head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section__head h2 { margin-bottom: 1rem; }
.section__intro { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Cartes services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative;
  padding: 34px 30px 30px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(11, 21, 48, .06);
  box-shadow: 0 1px 2px rgba(11, 21, 48, .04);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold-2), var(--gold)); transition: width .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line); }
.card:hover::before { width: 100%; }
.card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px;
  border-radius: 50%; background: var(--navy); color: var(--gold-2);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; margin-bottom: .6rem; }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Bloc image + texte ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--reverse { grid-template-columns: .8fr 1fr; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6); }
.split__media::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; z-index: -1;
  border: 1px solid var(--gold); border-radius: var(--radius); opacity: .6;
}
.section--dark .split__media { z-index: 0; }
.split__media--tall img { aspect-ratio: 43 / 58; object-fit: cover; }
.split__text h2 { margin-bottom: 1.2rem; }
.split__text > p { font-size: 1.05rem; }

.features { list-style: none; padding: 0; margin: 1.8rem 0 2.2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
.features li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--on-dark); }
.features svg { width: 22px; height: 22px; color: var(--gold); }

.values { display: grid; gap: 26px; margin-top: 2rem; }
.value { display: flex; gap: 20px; align-items: flex-start; }
.value__num { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--gold); min-width: 46px; }
.value h3 { margin-bottom: .3rem; }
.value p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Destinations ---------- */
.dest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.dest__col { background: #fff; border-radius: var(--radius); padding: 30px; border: 1px solid rgba(11, 21, 48, .06); }
.dest__col h3 { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.dest__col h3 svg { color: var(--gold); width: 24px; height: 24px; }
.dest__col ul { list-style: none; margin: 0; padding: 0; }
.dest__col li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed rgba(11, 21, 48, .1); font-size: .95rem; }
.dest__col li:last-child { border-bottom: 0; }
.dest__col li span { font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--gold); }

/* ---------- Réservation ---------- */
.booking { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.booking__intro h2 { margin-bottom: 1.2rem; }
.steps { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 16px; }
.steps li { display: flex; align-items: center; gap: 16px; color: var(--on-dark); font-weight: 500; }
.steps span {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-2); font-family: var(--serif); font-size: 1.3rem;
}
.booking__direct { padding-top: 1.6rem; border-top: 1px solid var(--line); }
.booking__direct p { margin-bottom: .9rem; }

.form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--on-dark-muted); }
.form small { font-weight: 400; letter-spacing: 0; }
.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: 400 16px/1.4 var(--sans); /* 16px évite le zoom auto sur iOS */
  color: #fff;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  transition: border-color .2s, background .2s;
  -webkit-appearance: none;
  appearance: none;
  color-scheme: dark;
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e4c98f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}
.form select option { color: var(--text); }
.form textarea { resize: vertical; min-height: 90px; }
.form input::placeholder, .form textarea::placeholder { color: rgba(255, 255, 255, .35); }
.form input:focus,
.form select:focus,
.form textarea:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, .08); }
.form .is-invalid { border-color: #e07a6a; }
.form__error { margin: 0; color: #f0a596 !important; font-size: .9rem; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form__actions .btn { flex: 1 1 200px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--radius); border: 1px solid rgba(11, 21, 48, .07); transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px;
  border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font-size: 1.2rem; font-weight: 400; transition: transform .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* ---------- Bandeau final ---------- */
.cta-band {
  position: relative;
  padding: clamp(64px, 9vw, 100px) 0;
  color: #fff;
  background:
    linear-gradient(rgba(7, 13, 32, .82), rgba(7, 13, 32, .82)),
    url("../images/hero-1200.webp") center 60% / cover no-repeat;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 620px; }
.cta-band h2 em { color: var(--gold-2); }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: var(--on-dark-muted); padding: 72px 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer h3 { color: #fff; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--gold-2); }
.footer__text { margin-top: 1rem; max-width: 340px; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem;
}
.footer__bottom p { margin: 0; }


/* ---------- Découvrez l'Alsace ---------- */
.tours { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tour {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(11, 21, 48, .06); transition: transform .3s, box-shadow .3s;
}
.tour:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tour__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--navy); }
.tour__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.tour:hover .tour__img img { transform: scale(1.06); }
.tour__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.tour__meta { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.tour h3 { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; margin-bottom: .7rem; }
.tour__body > p:not(.tour__meta) { color: var(--muted); font-size: .95rem; }
.tour__link {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; font-size: .9rem; color: var(--navy); text-decoration: none; padding-bottom: 3px;
  border-bottom: 1px solid var(--gold);
}
.tour__link::after { content: "→"; color: var(--gold); transition: transform .2s; }
.tour__link:hover::after { transform: translateX(4px); }
.credits { text-align: center; margin: 28px 0 0; font-size: .78rem; color: var(--muted); }

/* ---------- Certification & à propos ---------- */
.section--ink { background: var(--ink); }
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert { text-align: center; padding: 30px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .02); }
.cert__badge {
  display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%;
  color: var(--gold-2); border: 1px solid var(--gold);
  background: radial-gradient(circle, rgba(201, 164, 92, .18), rgba(201, 164, 92, 0) 70%);
  box-shadow: inset 0 0 0 5px var(--ink), inset 0 0 0 6px rgba(201, 164, 92, .45);
}
.cert__badge svg { width: 34px; height: 34px; }
.cert__badge span { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: .06em; }
.cert h3 { color: #fff; margin-bottom: .5rem; }
.cert p { font-size: .9rem; margin: 0; }
.about { max-width: 820px; margin: clamp(56px, 8vw, 88px) auto 0; padding-top: clamp(48px, 7vw, 72px); border-top: 1px solid var(--line); text-align: center; }
.about .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.about h2 { margin-bottom: 1.4rem; }
.about p:not(.eyebrow) { font-size: 1.05rem; }

/* ---------- Mentions formulaire & pied de page ---------- */
.form__legal { margin: 0; font-size: .8rem; }
.form__legal a { color: var(--gold-2); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ---------- Bandeau cookies ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  display: flex; align-items: center; gap: 20px; max-width: 760px; margin: 0 auto;
  padding: 18px 22px; border-radius: var(--radius);
  background: rgba(11, 21, 48, .97); color: var(--on-dark); border: 1px solid var(--line);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  animation: rise .5s ease both;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: .88rem; line-height: 1.5; }
.cookie a { color: var(--gold-2); white-space: nowrap; }
.cookie .btn { min-height: 44px; padding: .6em 1.5em; flex-shrink: 0; }
.cookie__actions { display: flex; gap: 10px; flex-shrink: 0; }
.legal-page .cookie-reset { color: var(--navy); border-color: var(--gold); }

/* ---------- Pages légales ---------- */
.legal-page { padding: calc(var(--header-h) + 56px) 0 80px; }
.legal-page h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: .6rem; }
.legal-page .updated { color: var(--muted); font-size: .9rem; margin-bottom: 2.4rem; }
.legal-page h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 2.4rem 0 .8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.legal-page h3 { margin: 1.4rem 0 .4rem; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page ul { padding-left: 1.2rem; }
.legal-page li { margin-bottom: .4rem; }
.legal-page a { color: var(--navy); }
.legal-toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1rem; }
.legal-toc a { padding: .45em 1em; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; text-decoration: none; background: #fff; }
.legal-header .nav { display: flex; }


/* ---------- Véhicule : texte seul, centré ---------- */
.vehicle-intro .split__text { max-width: 860px; margin: 0 auto; text-align: center; }
.vehicle-intro .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.vehicle-intro .split__text > p { max-width: 640px; margin-left: auto; margin-right: auto; }
.vehicle-intro .features { grid-template-columns: repeat(3, auto); justify-content: center; gap: 16px 40px; text-align: left; }
@media (max-width: 860px) {
  .vehicle-intro .features { grid-template-columns: repeat(2, auto); }
}
@media (max-width: 640px) {
  .vehicle-intro .split__text { text-align: left; }
  .vehicle-intro .eyebrow::after { display: none; }
  .vehicle-intro .features { grid-template-columns: 1fr; justify-content: start; }
}

/* ---------- Galerie intérieur ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: clamp(48px, 7vw, 80px); }
.gallery__item { margin: 0; }
.gallery__item a { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16 / 10; background: var(--ink); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery__item a:hover img { transform: scale(1.05); }
.gallery__item figcaption { margin-top: 12px; font-size: .85rem; letter-spacing: .04em; color: var(--on-dark-muted); }
.gallery__item figcaption::before { content: ""; display: inline-block; width: 18px; height: 1px; margin-right: 10px; vertical-align: middle; background: var(--gold); }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(7, 13, 32, .92); }
.lightbox img { display: block; max-width: 94vw; max-height: 88vh; width: auto; height: auto; border-radius: 10px; }
.lightbox__close {
  position: absolute; top: -18px; right: -6px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gold); background: var(--navy); color: var(--gold-2); font-size: 1.6rem; line-height: 1; cursor: pointer;
}

/* ---------- Barre mobile ---------- */
.mobilebar { display: none; }

/* ---------- Apparition au scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Tablette
   ========================================================= */
@media (max-width: 1024px) {
  .nav { gap: 22px; }
  .nav__phone { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .booking { grid-template-columns: 1fr; }
  .booking__intro { max-width: 640px; }
  .tours { grid-template-columns: repeat(2, 1fr); }
  .certs { grid-template-columns: repeat(2, 1fr); }
}

/* Menu burger : tablette portrait et mobile */
@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .header { background: var(--navy); }
  .brand__name { font-size: 1.35rem; }
  .burger { display: block; }
  .lang { margin-left: auto; }
  .lang a { padding: .45em .75em; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 28px;
    background: rgba(11, 21, 48, .98);
    border-top: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }
  .header.is-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 16px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .07); }
  .nav a::after { display: none; }
  .nav__cta { margin-top: 18px; text-align: center; border-bottom: 1px solid var(--gold) !important; padding: 14px !important; }
  .nav__phone { display: flex; justify-content: center; border-bottom: 0 !important; }

  /* Hero : image entière sous l'en-tête, texte en dessous */
  .hero { display: block; min-height: 0; padding-top: var(--header-h); }
  .hero__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; max-height: 70vh; width: 100%; }
  .hero__media img { object-position: 62% 40%; }
  .hero__content { padding-top: 32px; padding-bottom: 48px; }
  .hero__title, .hero__lead, .hero__eyebrow { text-shadow: none; }
  .hero__content > * { max-width: 640px; }

  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 2; }
  .split__media--tall img { aspect-ratio: 4 / 3; object-position: center 70%; }
  .split__media::after { inset: 12px -12px -12px 12px; }

  .dest { grid-template-columns: 1fr 1fr; }
  .dest__col:last-child { grid-column: 1 / -1; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 640px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }

  .hero__media { aspect-ratio: 4 / 3.4; }
  .hero__actions .btn { flex: 1 1 100%; }

  .trust__item { padding: 18px 10px; gap: 10px; font-size: .78rem; }
  .trust__item svg { width: 24px; height: 24px; }
  .trust__item strong { font-size: .88rem; }

  .cards { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 26px 22px; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; }
  .card__icon { width: 52px; height: 52px; margin: 0; grid-row: span 2; }
  .card h3 { font-size: 1.4rem; margin: 4px 0 .4rem; }

  .features { grid-template-columns: 1fr; }
  .split__text .btn { width: 100%; }

  .dest { grid-template-columns: 1fr; }
  .dest__col { padding: 24px 22px; }

  .form__row { grid-template-columns: 1fr; }
  .form__row:has(input[type="date"]),
  .form__row:has(select) { grid-template-columns: 1fr 1fr; }
  .form__actions .btn { flex-basis: 100%; }

  .faq summary { padding: 18px; }
  .faq details p { padding: 0 18px 18px; }

  .cta-band__actions, .cta-band__actions .btn { width: 100%; }
  .cta-band__actions .btn { flex: 1; }

  .footer__grid { grid-template-columns: 1fr; gap: 28px; }

  .tours { grid-template-columns: 1fr; gap: 20px; }
  .tour__body { padding: 22px; }
  .certs { gap: 14px; }
  .cert { padding: 22px 14px; }
  .cert__badge { width: 68px; height: 68px; margin-bottom: 14px; }
  .cert__badge svg { width: 28px; height: 28px; }
  .cert h3 { font-size: .95rem; }
  .cert p { font-size: .82rem; }

  .cookie { flex-direction: column; align-items: stretch; gap: 14px; left: 10px; right: 10px; bottom: calc(76px + env(safe-area-inset-bottom)); padding: 16px; }
  .cookie__actions { width: 100%; }
  .cookie__actions .btn { flex: 1; }
  .legal-page { padding-bottom: 40px; }

  .mobilebar {
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(11, 21, 48, .97);
    border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .mobilebar a {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 46px; border-radius: 12px; text-decoration: none;
    font-size: .85rem; font-weight: 600; color: #fff;
    border: 1px solid rgba(228, 201, 143, .35);
  }
  .mobilebar svg { color: var(--gold-2); }
  .mobilebar__main { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--ink) !important; border: 0 !important; }
  .mobilebar__main svg { color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .legal { padding-bottom: 0; }
  .legal .cookie { bottom: calc(10px + env(safe-area-inset-bottom)); }
  .legal .header .btn { min-height: 40px; padding: .5em 1em; font-size: .82rem; }
  .legal .brand__tag { display: none; }
}

/* Titre véhicule sur une seule ligne, taille ajustée à la largeur de la colonne */
@supports (container-type: inline-size) {
  .split__text { container-type: inline-size; }
  .one-line { white-space: nowrap; font-size: min(3rem, 8.3cqi); }
}

/* Galerie : 2 photos par ligne sur mobile */
@media (max-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery__item a { border-radius: 10px; }
  .gallery__item figcaption { margin-top: 8px; font-size: .74rem; letter-spacing: .02em; line-height: 1.35; }
  .gallery__item figcaption::before { display: none; }
  .lightbox__close { top: 8px; right: 8px; }
}

@media (max-width: 400px) {
  .brand__tag { font-size: .56rem; letter-spacing: .18em; }
}

/* Version anglaise : image avec le slogan en anglais */
html[lang="en"] .cta-band {
  background:
    linear-gradient(rgba(7, 13, 32, .82), rgba(7, 13, 32, .82)),
    url("../images/hero-en-1200.webp") center 60% / cover no-repeat;
}
html[lang="de"] .cta-band {
  background:
    linear-gradient(rgba(7, 13, 32, .82), rgba(7, 13, 32, .82)),
    url("../images/hero-de-1200.webp") center 60% / cover no-repeat;
}
html[lang="es"] .cta-band {
  background:
    linear-gradient(rgba(7, 13, 32, .82), rgba(7, 13, 32, .82)),
    url("../images/hero-es-1200.webp") center 60% / cover no-repeat;
}

/* En-tête mobile : le bouton menu reste toujours visible, quelle que soit la langue */
@media (max-width: 860px) {
  .header__inner { gap: 10px; }
  .brand { min-width: 0; flex-shrink: 1; overflow: hidden; }
  .brand__tag { overflow: hidden; text-overflow: ellipsis; }
  .lang, .burger { flex-shrink: 0; }
  .burger { margin-right: -8px; }
}
@media (max-width: 420px) {
  .brand__name { font-size: 1.2rem; }
  .brand__tag { font-size: .52rem; letter-spacing: .12em; }
}
@media (max-width: 359px) {
  .brand__tag { display: none; }
}

/* Quatre langues : le menu reste sur une ligne, le sélecteur se compacte sur mobile */
.nav a { white-space: nowrap; }
@media (min-width: 861px) and (max-width: 1360px) {
  .nav { gap: 20px; }
  .nav__phone { display: none; }
}
@media (min-width: 861px) and (max-width: 1000px) {
  .header__inner { gap: 16px; }
  .nav { gap: 14px; }
  .nav a { font-size: .85rem; }
  .brand__tag { display: none; }
}
@media (max-width: 860px) {
  .lang { padding: 2px; }
  .lang a { min-width: 0; padding: .45em .5em; font-size: .68rem; letter-spacing: .04em; }
}
@media (max-width: 420px) {
  .brand__name { white-space: nowrap; }
  .header__end { gap: 8px; }
  .header__end .btn { white-space: nowrap; padding: .55em .9em; }
}
/* Pages légales sur petit écran : logo, langues et « Retour » tiennent sur une ligne */
@media (max-width: 380px) {
  .legal .header__inner { gap: 8px; }
  .legal .brand__name { font-size: 1.05rem; }
  .header__end { gap: 6px; }
  .header__end .btn { padding: .5em .75em; font-size: .8rem; }
}
@media (max-width: 340px) {
  .legal .brand__name { font-size: .95rem; }
  .header__end .lang a { padding: .45em .4em; }
}

/* Mots longs (allemand) : les cartes se rétrécissent et les titres se coupent proprement */
.certs > * { min-width: 0; }
.cert { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  html[lang="es"] .one-line { font-size: min(3rem, 7.6cqi); }
}
.booking > * { min-width: 0; }
.legal-page { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.form, .form__row > * { min-width: 0; }
.form input, .form select, .form textarea { min-width: 0; max-width: 100%; box-sizing: border-box; }

/* Bouton retour des pages légales : simple flèche dans un cercle */
.header__end .btn--back { width: 44px; height: 44px; min-height: 0; padding: 0; flex-shrink: 0; }
.btn--back svg { width: 20px; height: 20px; }
.btn--back:hover { transform: translateX(-2px); }
@media (max-width: 380px) {
  .header__end .btn--back { width: 40px; height: 40px; }
}
