/* ==========================================================================
   AIR Travel — design system
   Palette : vert forêt tropicale + latérite (« l'île rouge ») + sable.
   ========================================================================== */

:root {
  --ink: #12211e;
  --ink-2: #3a4a46;
  --muted: #6a7a76;
  --line: #e6e1d8;
  --line-2: #d8d1c5;

  --bg: #ffffff;
  --bg-soft: #f7f4ee;
  --bg-sand: #efe8dc;
  --bg-deep: #0c2622;
  --bg-deep-2: #12332e;

  --primary: #0f6b5c;
  --primary-600: #0b574b;
  --primary-700: #08443b;
  --primary-50: #e7f2ef;
  --primary-100: #cfe6e0;

  --accent: #e2583a;
  --accent-600: #c9452a;
  --accent-50: #fdeee9;

  --gold: #f0ad3c;
  --success: #1f8a5b;
  --success-50: #e5f5ec;
  --warning: #b7791f;
  --warning-50: #fdf3e1;
  --danger: #c43d3d;
  --danger-50: #fbeaea;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(16, 33, 30, .06);
  --shadow-sm: 0 2px 8px rgba(16, 33, 30, .06), 0 1px 2px rgba(16, 33, 30, .04);
  --shadow: 0 12px 30px -12px rgba(16, 33, 30, .18), 0 4px 10px -6px rgba(16, 33, 30, .08);
  --shadow-lg: 0 30px 60px -20px rgba(16, 33, 30, .30), 0 10px 24px -12px rgba(16, 33, 30, .12);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 76px;
  --container: 1240px;
}

/* ---------- Base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--primary-600); }
p { margin: 0 0 1rem; }
h1, h2, h3, h4, h5 { margin: 0 0 .6em; line-height: 1.15; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
h1, h2, .display { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
small { font-size: .85em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.5rem 0; }
::selection { background: var(--primary-100); color: var(--primary-700); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-xs); }
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-sm { padding: clamp(40px, 6vw, 72px) 0; }
.section-soft { background: var(--bg-soft); }
.section-sand { background: var(--bg-sand); }
.section-deep { background: var(--bg-deep); color: #d5e2df; }
.section-deep h2, .section-deep h3 { color: #fff; }

.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2.5rem; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; } .gap-2 { gap: 1rem; } .wrap { flex-wrap: wrap; }

/* ---------- Grids --------------------------------------------------------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } .grid { gap: 20px; } }

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  --btn-bg: var(--primary); --btn-fg: #fff; --btn-bd: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .82rem 1.4rem; min-height: 46px;
  font: 600 .95rem/1.2 var(--font-body); letter-spacing: .005em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius-pill); cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
  position: relative; overflow: hidden; isolation: isolate;
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--btn-bg) 70%, transparent); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn i { font-size: .95em; }
.btn-primary { --btn-bg: var(--primary); }
.btn-primary:hover { --btn-bg: var(--primary-600); }
.btn-accent { --btn-bg: var(--accent); }
.btn-accent:hover { --btn-bg: var(--accent-600); }
.btn-dark { --btn-bg: var(--ink); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn-outline:hover { --btn-bd: var(--ink); box-shadow: none; }
.btn-ghost-light { --btn-bg: rgba(255,255,255,.12); --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --btn-bg: rgba(255,255,255,.22); }
.btn-sm { padding: .55rem 1rem; min-height: 38px; font-size: .875rem; }
.btn-lg { padding: 1rem 1.8rem; min-height: 54px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn.is-loading::before { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--ink); }
.link-arrow i { transition: transform .25s var(--ease-out); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Header -------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background-color .35s var(--ease), box-shadow .35s, height .35s var(--ease);
}
/* Le fond flouté est porté par un pseudo-élément : un backdrop-filter sur l'en-tête
   lui-même deviendrait le bloc conteneur du menu mobile (position: fixed) et le couperait. */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: opacity .35s var(--ease);
}
.site-header.is-scrolled { --header-h: 66px; height: 66px; box-shadow: 0 1px 0 var(--line), 0 6px 20px -16px rgba(0,0,0,.4); }
.has-hero .site-header:not(.is-scrolled):not(.menu-open) { background: linear-gradient(180deg, rgba(5,20,17,.55), transparent); }
.has-hero .site-header:not(.is-scrolled):not(.menu-open)::before { opacity: 0; }
.site-header.menu-open::before { opacity: 1; background: #fff; }
.has-hero .site-header:not(.is-scrolled):not(.menu-open) .brand,
.has-hero .site-header:not(.is-scrolled):not(.menu-open) .nav-link,
.has-hero .site-header:not(.is-scrolled):not(.menu-open) .nav-toggle { color: #fff; }
.has-hero .site-header:not(.is-scrolled):not(.menu-open) .nav-link:hover,
.has-hero .site-header:not(.is-scrolled):not(.menu-open) .nav-link.is-active { color: #fff; }
.has-hero .site-header:not(.is-scrolled):not(.menu-open) .nav-link::after { background: #fff; }
.has-hero .site-header:not(.is-scrolled):not(.menu-open) .btn-outline { --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
body:not(.has-hero) main { padding-top: var(--header-h); }

.header-inner { display: flex; align-items: center; gap: 28px; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em; }
.brand:hover { color: inherit; }
.brand-mark { width: 46px; height: 46px; flex: none; border-radius: 50%; display: block; filter: drop-shadow(0 6px 14px rgba(12,38,34,.28)); transition: transform .6s var(--ease-out); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.05); }
.brand-mark svg { width: 100%; height: 100%; }
.site-header.is-scrolled .brand-mark { width: 42px; height: 42px; }
.brand b { color: var(--accent); font-weight: 800; }

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link { position: relative; padding: .5rem .85rem; font-weight: 600; font-size: .94rem; color: var(--ink-2); border-radius: var(--radius-pill); }
.nav-link::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: .25rem; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }

.user-menu { position: relative; }
.user-trigger { display: inline-flex; align-items: center; gap: .55rem; background: none; border: 0; cursor: pointer; padding: 4px 10px 4px 4px; border-radius: var(--radius-pill); color: inherit; font: inherit; font-weight: 600; }
.has-hero .site-header:not(.is-scrolled):not(.menu-open) .user-trigger { color: #fff; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-weight: 700; font-size: .9rem; flex: none; object-fit: cover; }
.avatar-lg { width: 56px; height: 56px; font-size: 1.15rem; }
.dropdown { position: absolute; right: 0; top: calc(100% + 10px); min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right; transition: all .22s var(--ease-out); }
.user-menu.is-open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a, .dropdown button { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .6rem .75rem; border-radius: var(--radius-xs); color: var(--ink-2); font: 500 .92rem var(--font-body); background: none; border: 0; cursor: pointer; text-align: left; }
.dropdown a:hover, .dropdown button:hover { background: var(--bg-soft); color: var(--ink); }
.dropdown i { width: 18px; color: var(--muted); }
.dropdown-head { padding: .6rem .75rem .8rem; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dropdown-head strong { display: block; }
.dropdown-head span { font-size: .82rem; color: var(--muted); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 12px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; content: ''; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; right: 0; }
.nav-toggle span::after { top: 7px; left: 0; right: 0; }
.menu-open .nav-toggle span { background: transparent; }
.menu-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; margin-left: auto; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px calc(28px + env(safe-area-inset-bottom));
    background: #fff; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s linear .3s;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s; }
  .main-nav .nav-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem .25rem; font-size: 1.12rem; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink) !important;
  }
  .main-nav .nav-link::before { content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .7rem; color: var(--muted); order: 2; transition: transform .25s var(--ease-out); }
  .main-nav .nav-link:hover::before { transform: translateX(3px); }
  .main-nav .nav-link.is-active { color: var(--accent) !important; }
  .main-nav .nav-link::after { display: none; }
  .menu-open .main-nav > * { animation: menuItem .45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms + 60ms); }
  .header-actions { margin-top: 22px; flex-direction: column; align-items: stretch; gap: 10px; }
  .header-actions .btn { width: 100%; }
  .header-actions .btn-outline { --btn-fg: var(--ink) !important; --btn-bd: var(--line-2) !important; }
  .user-menu .user-trigger { color: var(--ink) !important; padding: 8px 0 12px; pointer-events: none; }
  .user-menu .user-trigger .fa-chevron-down { display: none; }
  .user-menu .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 1px solid var(--line); padding: 6px; min-width: 0; }
  .user-menu .dropdown-head { display: none; }
  .user-menu .dropdown a { padding: .8rem .75rem; font-size: 1rem; }
}
@keyframes menuItem { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Hero (accueil) ----------------------------------------------- */
.hero { position: relative; min-height: min(100vh, 980px); min-height: min(100svh, 980px); display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 40px) 0 80px; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero > .container, .page-hero > .container { min-width: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(6,24,21,.82) 0%, rgba(6,24,21,.55) 45%, rgba(6,24,21,.15) 100%), linear-gradient(0deg, rgba(6,24,21,.6), transparent 40%); }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 1.25rem; }
.hero h1 em { font-style: italic; color: #ffb59f; font-weight: 500; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.86); max-width: 54ch; margin-bottom: 2.2rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.eyebrow::before { content: ''; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.hero .eyebrow { color: #ffc2ae; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 2.5rem; color: rgba(255,255,255,.85); font-size: .92rem; }
.hero-trust div { display: flex; align-items: center; gap: .6rem; }
.hero-trust strong { color: #fff; font-size: 1.05rem; }
.hero-trust .stars { color: var(--gold); }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-scroll::after { content: ''; width: 1px; height: 42px; background: linear-gradient(rgba(255,255,255,.8), transparent); animation: scrollcue 2s var(--ease) infinite; transform-origin: top; }
@media (max-height: 760px) { .hero-scroll { display: none; } }

/* Barre de recherche */
.search-bar { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 6px; align-items: stretch; background: #fff; border-radius: 22px; padding: 8px; box-shadow: var(--shadow-lg); max-width: 920px; color: var(--ink); }
.search-field { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 8px 18px; border-radius: 16px; transition: background .2s; min-width: 0; }
.search-field:hover, .search-field:focus-within { background: var(--bg-soft); }
.search-field + .search-field::before { content: ''; position: absolute; left: -3px; top: 22%; bottom: 22%; width: 1px; background: var(--line); }
.search-field label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.search-field input, .search-field select { border: 0; background: transparent; padding: 2px 0 0; font: 600 .98rem var(--font-body); color: var(--ink); outline: none; width: 100%; appearance: none; cursor: pointer; }
.search-field input { cursor: text; }
.search-field input::placeholder { color: #9aa6a3; font-weight: 500; }
.search-bar .btn { border-radius: 16px; padding-inline: 1.7rem; }
@media (max-width: 860px) {
  .search-bar { grid-template-columns: 1fr 1fr; border-radius: 20px; }
  .search-field:first-child { grid-column: 1 / -1; }
  .search-field + .search-field::before { display: none; }
  .search-bar .btn { grid-column: 1 / -1; min-height: 52px; }
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .95rem; border-radius: var(--radius-pill); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff; font-size: .88rem; font-weight: 600; backdrop-filter: blur(6px); transition: all .25s var(--ease); }
.chip:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }

/* ---------- Page hero (pages internes) ----------------------------------- */
.page-hero { position: relative; min-height: 440px; padding: calc(var(--header-h) + 70px) 0 70px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.page-hero-sm { min-height: 340px; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroIn 1.6s var(--ease-out) forwards; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,24,21,.88) 0%, rgba(6,24,21,.35) 55%, rgba(6,24,21,.45) 100%); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-bottom: .6rem; max-width: 22ch; }
.page-hero p.lead { color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 60ch; margin: 0; }
.page-hero .meta-row { color: rgba(255,255,255,.9); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .86rem; color: rgba(255,255,255,.75); margin-bottom: 1rem; }
.breadcrumbs a { color: rgba(255,255,255,.88); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs i { font-size: .6rem; opacity: .7; }

/* ---------- Section head -------------------------------------------------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head > div { max-width: 640px; }
.section-head h2 { margin-bottom: .4rem; }
.section-head h2 em { font-style: italic; color: var(--primary); font-weight: 500; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.section-head.centered { flex-direction: column; align-items: center; text-align: center; }
.section-head.centered > div { margin: 0 auto; }
.section-deep .section-head p { color: #a9bdb8; }
.section-deep .section-head h2 em { color: #ffb59f; }
@media (max-width: 720px) { .section-head { flex-direction: column; align-items: flex-start; } }

/* ---------- Cards --------------------------------------------------------- */
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s; height: 100%; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.08); }
.card-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.35), transparent 45%); opacity: .7; transition: opacity .4s; }
.card-badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .7rem; border-radius: var(--radius-pill); font-size: .76rem; font-weight: 700; background: rgba(255,255,255,.95); color: var(--ink); box-shadow: var(--shadow-xs); white-space: nowrap; }
.badge-accent { background: var(--accent); color: #fff; }
.badge-primary { background: var(--primary); color: #fff; }
.badge-soft { background: var(--primary-50); color: var(--primary-700); box-shadow: none; }
.badge-glass { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3); }
.badge .fa-star { color: var(--gold); }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-kicker { display: flex; align-items: center; gap: .45rem; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: .45rem; }
.card-kicker i { color: var(--accent); }
.card-title { font-family: var(--font-body); font-size: 1.14rem; font-weight: 700; margin-bottom: .45rem; line-height: 1.3; letter-spacing: -.01em; }
.card-title a { color: var(--ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease-out); }
.card-title a:hover { background-size: 100% 1.5px; }
.card-title a::before { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-text { color: var(--muted); font-size: .93rem; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-footer { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .84rem; color: var(--muted); }
.card-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.price { text-align: right; line-height: 1.1; }
.price small { display: block; font-size: .74rem; color: var(--muted); font-weight: 500; }
.price strong { font-size: 1.22rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.card-arrow { position: relative; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink); transition: all .3s var(--ease-out); }
.card:hover .card-arrow { background: var(--accent); color: #fff; transform: rotate(-45deg); }

.rating { display: inline-flex; align-items: center; gap: .4rem; font-size: .86rem; color: var(--ink-2); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); font-size: .78rem; }
.stars .fa-regular { color: #d9cfbf; }
.rating strong { font-weight: 700; color: var(--ink); }

/* Tuiles destinations */
.dest-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; grid-auto-flow: dense; gap: 20px; }
.dest-grid .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 1024px) { .dest-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; } }
@media (max-width: 560px) { .dest-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; } .dest-grid .tile:nth-child(1) { grid-column: auto; grid-row: auto; } }
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; isolation: isolate; min-height: 240px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease-out); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,24,21,.85) 0%, rgba(6,24,21,.1) 55%); transition: background .5s; }
.tile:hover img { transform: scale(1.08); }
.tile:hover { color: #fff; }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.tile-body .badge-glass { margin-bottom: .7rem; }
.tile h3 { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.2vw, 2rem); margin: 0 0 .3rem; }
.tile p { margin: 0; color: rgba(255,255,255,.85); font-size: .92rem; display: flex; gap: 14px; flex-wrap: wrap; }
.tile .tile-cta { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; font-weight: 600; font-size: .9rem; opacity: 0; transform: translateY(8px); transition: all .4s var(--ease-out); }
.tile:hover .tile-cta { opacity: 1; transform: none; }
@media (hover: none) { .tile .tile-cta { opacity: 1; transform: none; } }

/* ---------- Rail (carrousel horizontal) ---------------------------------- */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 28px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 26px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (max-width: 1024px) { .rail { grid-auto-columns: calc((100% - 28px) / 2); } }
@media (max-width: 640px) { .rail { grid-auto-columns: 84%; gap: 16px; } }
.rail-nav { display: flex; gap: 10px; }
.rail-btn { width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: all .25s var(--ease); }
.rail-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.rail-btn:disabled { opacity: .35; cursor: default; }
.section-deep .rail-btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.section-deep .rail-btn:hover:not(:disabled) { background: #fff; color: var(--ink); }

/* ---------- Features ------------------------------------------------------ */
.feature { padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: all .4s var(--ease-out); height: 100%; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 1.1rem; background: var(--primary-50); color: var(--primary); transition: transform .5s var(--ease-out); }
.feature:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }
.feature:nth-child(2) .feature-icon { background: var(--accent-50); color: var(--accent); }
.feature:nth-child(3) .feature-icon { background: #fdf3e1; color: #b7791f; }
.feature:nth-child(4) .feature-icon { background: #ece8f7; color: #5b4bb5; }
.feature h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Split / about ------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.media-stack { position: relative; padding: 0 0 60px 0; }
.media-stack .main-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); }
.media-stack .main-img img { width: 100%; height: 100%; object-fit: cover; }
.media-stack .float-img { position: absolute; right: -6%; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.media-stack .float-img img { width: 100%; height: 100%; object-fit: cover; }
.media-stack .float-card { position: absolute; left: -24px; top: 40px; background: #fff; border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; animation: floaty 6s ease-in-out infinite; }
.media-stack .float-card strong { font-size: 1.5rem; font-family: var(--font-display); display: block; line-height: 1; }
.media-stack .float-card span { font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) { .media-stack .float-card { left: 10px; } .media-stack .float-img { right: 0; } }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .68rem; background: var(--primary-50); color: var(--primary); margin-top: 2px; }

/* ---------- Stats --------------------------------------------------------- */
.stats-band { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.stats-band .bg { position: absolute; inset: 0; z-index: -2; }
.stats-band .bg img { width: 100%; height: 120%; object-fit: cover; }
.stats-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,68,59,.92), rgba(12,38,34,.86)); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 10px; }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; line-height: 1; margin-bottom: .5rem; color: #fff; }
.stat span { color: rgba(255,255,255,.75); font-size: .95rem; }

/* ---------- Testimonials -------------------------------------------------- */
.testimonial { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; height: 100%; transition: background .3s, transform .4s var(--ease-out); }
.testimonial:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.testimonial .quote-icon { font-size: 1.8rem; color: var(--accent); margin-bottom: 1rem; }
.testimonial blockquote { margin: 0 0 1.5rem; font-size: 1.04rem; line-height: 1.7; color: #e5eeec; flex: 1; }
.testimonial footer { display: flex; align-items: center; gap: 14px; }
.testimonial footer strong { color: #fff; display: block; }
.testimonial footer span { font-size: .85rem; color: #93aaa4; }
.testimonial .avatar { background: var(--accent); }
.section-soft .testimonial, .testimonial.light { background: #fff; border-color: var(--line); }
.testimonial.light blockquote { color: var(--ink-2); }
.testimonial.light footer strong { color: var(--ink); }
.testimonial.light footer span { color: var(--muted); }

/* ---------- Newsletter / CTA --------------------------------------------- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(40px, 6vw, 72px); color: #fff; isolation: isolate; }
.cta-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(201,69,42,.94), rgba(226,88,58,.75) 50%, rgba(12,38,34,.45)); }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 50ch; }
.newsletter-form { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: var(--radius-pill); max-width: 520px; margin-top: 1.6rem; box-shadow: var(--shadow-lg); }
.newsletter-form input { flex: 1; border: 0; outline: none; padding: 0 18px; font: 500 1rem var(--font-body); min-width: 0; border-radius: var(--radius-pill); color: var(--ink); }
.newsletter-msg { margin-top: .9rem; font-weight: 600; min-height: 1.4em; }
.newsletter-msg.is-error { color: #ffe1d9; }
@media (max-width: 520px) { .newsletter-form { flex-direction: column; border-radius: 20px; } .newsletter-form input { padding: 14px 16px; } }

/* ---------- Footer -------------------------------------------------------- */
.site-footer { background: var(--bg-deep); color: #a9bdb8; padding: 80px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.site-footer a { color: #a9bdb8; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .75rem; }
.footer-contact i { color: var(--accent); margin-top: .3rem; width: 16px; }
.socials { display: flex; gap: 10px; margin-top: 1.4rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); color: #fff; transition: all .3s var(--ease); }
.socials a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }
.footer-bottom { margin-top: 64px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Listing (catalogue) ------------------------------------------ */
.listing { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 1024px) { .listing { grid-template-columns: 1fr; } }
.filters { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.filters h3 { font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.filter-group { padding: 18px 0; border-top: 1px solid var(--line); }
.filter-group:first-of-type { border-top: 0; padding-top: 0; }
.filter-group > label, .filter-title { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .7rem; }
.check { display: flex; align-items: center; gap: .65rem; padding: .35rem 0; cursor: pointer; font-size: .94rem; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
.range-value { display: flex; justify-content: space-between; font-size: .88rem; color: var(--muted); margin-top: .4rem; }
.range-value strong { color: var(--ink); }
input[type=range] { width: 100%; accent-color: var(--primary); }
.filters-toggle { display: none; }
.filters-backdrop { display: none; }
@media (max-width: 1024px) {
  .filters-toggle { display: inline-flex; }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(380px, 92vw); z-index: 200; border-radius: 0; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease-out); box-shadow: var(--shadow-lg); padding-top: 28px; }
  .filters.is-open { transform: none; }
  .filters-backdrop { display: block; position: fixed; inset: 0; z-index: 199; background: rgba(6,24,21,.5); opacity: 0; visibility: hidden; transition: all .3s; }
  .filters-backdrop.is-open { opacity: 1; visibility: visible; }
}
.filters-close { display: none; }
@media (max-width: 1024px) { .filters-close { display: grid; } }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; }
.results-bar .count { color: var(--muted); }
.results-bar .count strong { color: var(--ink); }
.select-inline { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); }
.select-inline select { border: 1px solid var(--line-2); border-radius: var(--radius-pill); padding: .5rem 2.2rem .5rem 1rem; font: 600 .9rem var(--font-body); color: var(--ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2312211e' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; cursor: pointer; }
.results { transition: opacity .3s var(--ease); }
.results.is-loading { opacity: .35; pointer-events: none; }
.results .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1240px) { .results .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .results .grid-3 { grid-template-columns: 1fr; } }
.anim-in { animation: cardIn .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }

.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; display: inline-grid; place-items: center; font-weight: 600; border: 1px solid var(--line); color: var(--ink); background: #fff; transition: all .2s; }
.pagination a:hover { border-color: var(--ink); }
.pagination .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .is-disabled { opacity: .4; }

.empty-state { text-align: center; padding: 64px 24px; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--bg-soft); }
.empty-state .icon { width: 72px; height: 72px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; background: #fff; color: var(--muted); box-shadow: var(--shadow-sm); }
.empty-state h3 { margin-bottom: .4rem; }
.empty-state p { color: var(--muted); }

/* ---------- Pages détail -------------------------------------------------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
@media (max-width: 1024px) { .detail { grid-template-columns: 1fr; } }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: .95rem; }
.meta-row span { display: inline-flex; align-items: center; gap: .45rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 2.4rem; }
@media (max-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.fact { padding: 18px; border-radius: var(--radius-sm); background: var(--bg-soft); }
.fact i { color: var(--accent); font-size: 1.1rem; margin-bottom: .6rem; display: block; }
.fact small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.fact strong { font-size: 1.02rem; }
.prose { font-size: 1.06rem; line-height: 1.8; color: var(--ink-2); }
.prose h2 { font-size: 1.6rem; margin: 2.2rem 0 .8rem; color: var(--ink); }
.prose h3 { margin: 1.8rem 0 .6rem; }
.prose p { margin-bottom: 1.2rem; }
.prose ul { padding-left: 1.2rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose > p:first-of-type::first-letter { font-family: var(--font-display); float: left; font-size: 3.6rem; line-height: .9; padding: .35rem .6rem 0 0; color: var(--primary); }
.prose.no-dropcap > p:first-of-type::first-letter { all: unset; }
.block-title { font-size: 1.45rem; margin: 2.6rem 0 1.2rem; }
.highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 640px) { .highlights { grid-template-columns: 1fr; } }
.highlights li { display: flex; gap: .8rem; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; font-weight: 500; }
.highlights li i { color: var(--primary); margin-top: .25rem; }

.booking-card { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.booking-card .price-big { display: flex; align-items: baseline; gap: .5rem; margin-bottom: .3rem; }
.booking-card .price-big strong { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.booking-card .price-big span { color: var(--muted); }
.booking-card ul { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .65rem; font-size: .93rem; color: var(--ink-2); }
.booking-card ul i { color: var(--success); width: 20px; }
.booking-card .help { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.mini-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 1.2rem 0; }
.mini-form .field { margin: 0; }
.mini-form .field:first-child:last-child { grid-column: 1 / -1; }

.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--bg-soft); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Formulaires --------------------------------------------------- */
.field { margin-bottom: 18px; }
.field > label, .field legend { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; }
.field .required-mark { color: var(--accent); margin-left: 2px; }
.input, .field input[type=text], .field input[type=email], .field input[type=password], .field input[type=tel], .field input[type=number], .field input[type=date], .field input[type=search], .field input[type=url], .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; min-height: 50px;
  font: 500 1rem var(--font-body); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background .2s; outline: none; appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #bdb4a5; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-50); }
.field input::placeholder, .field textarea::placeholder { color: #a3ada9; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--danger); background: #fffafa; }
.field .help { font-size: .82rem; color: var(--muted); margin-top: .35rem; }
.form-errors { list-style: none; padding: 0; margin: .4rem 0 0; color: var(--danger); font-size: .85rem; font-weight: 500; }
.form-errors li { display: flex; gap: .4rem; align-items: center; }
.form-errors li::before { content: '\f06a'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .8rem; }
.form-errors-global { padding: 12px 16px; background: var(--danger-50); border-radius: var(--radius-sm); margin-bottom: 18px; }
.field-check { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: 18px; font-size: .92rem; }
.field-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); flex: none; }
.field-check label { margin: 0; font-weight: 500; color: var(--ink-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 3rem !important; }
.password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 10px; }
.password-toggle:hover { color: var(--ink); background: var(--bg-soft); }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.stepper button { width: 48px; height: 48px; border: 0; background: var(--bg-soft); font-size: 1.1rem; cursor: pointer; color: var(--ink); transition: background .2s; }
.stepper button:hover { background: var(--bg-sand); }
.stepper input { border: 0 !important; text-align: center; box-shadow: none !important; min-height: 48px !important; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- Panneaux ------------------------------------------------------ */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.panel-soft { background: var(--bg-soft); border-color: transparent; }
.panel h2 { font-size: 1.6rem; }
.summary-list { list-style: none; padding: 0; margin: 0; }
.summary-list li { display: flex; justify-content: space-between; gap: 16px; padding: .7rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.summary-list li span:first-child { color: var(--muted); }
.summary-list li strong { text-align: right; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1rem; margin-top: .5rem; }
.summary-total strong { font-size: 1.7rem; letter-spacing: -.02em; }
.summary-item { display: flex; gap: 14px; align-items: center; margin-bottom: 1.2rem; }
.summary-item img { width: 88px; height: 70px; object-fit: cover; border-radius: var(--radius-xs); flex: none; }
.summary-item h3 { font-size: 1.05rem; margin: 0 0 .2rem; }

/* ---------- Statuts ------------------------------------------------------- */
.status { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .75rem; border-radius: var(--radius-pill); font-size: .8rem; font-weight: 700; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pending { background: var(--warning-50); color: var(--warning); }
.status-confirmed { background: var(--success-50); color: var(--success); }
.status-cancelled { background: #eef0ef; color: #6b7472; }

/* ---------- Alertes / toasts --------------------------------------------- */
.toasts { position: fixed; z-index: 300; top: calc(var(--header-h) + 14px); right: 20px; display: grid; gap: 10px; width: min(420px, calc(100vw - 40px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-lg); border-left: 4px solid var(--success); animation: toastIn .5s var(--ease-out) both; }
.toast.is-leaving { animation: toastOut .35s var(--ease) forwards; }
.toast-icon { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--success-50); color: var(--success); font-size: .85rem; }
.toast p { margin: 0; flex: 1; font-size: .93rem; font-weight: 500; padding-top: 3px; }
.toast button { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 4px; }
.toast-error { border-left-color: var(--danger); }
.toast-error .toast-icon { background: var(--danger-50); color: var(--danger); }
.toast-warning, .toast-info { border-left-color: var(--warning); }
.toast-warning .toast-icon, .toast-info .toast-icon { background: var(--warning-50); color: var(--warning); }
.alert { display: flex; gap: 12px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .94rem; margin-bottom: 1.2rem; }
.alert-error { background: var(--danger-50); color: #8a2525; }
.alert-info { background: var(--primary-50); color: var(--primary-700); }
.alert-success { background: var(--success-50); color: #146240; }

/* ---------- Auth ---------------------------------------------------------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
@media (max-width: 960px) { .auth { grid-template-columns: 1fr; } .auth-visual { display: none !important; } }
.auth-visual { position: relative; color: #fff; display: flex; align-items: flex-end; padding: 56px; isolation: isolate; overflow: hidden; }
.auth-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 30s ease-in-out infinite alternate; }
.auth-visual::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,24,21,.9), rgba(6,24,21,.2) 60%); }
.auth-visual blockquote { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.25; margin: 0 0 1rem; max-width: 22ch; }
.auth-visual .brand { position: absolute; top: 40px; left: 56px; color: #fff; }
.site-footer .brand-mark, .auth-visual .brand-mark { filter: none; }
.auth-main { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(20px, 6vw, 88px); background: #fff; }
.auth-main .brand { margin-bottom: 2.5rem; }
@media (min-width: 961px) { .auth-main .brand { display: none; } }
.auth-box { width: 100%; max-width: 440px; margin: 0 auto; }
.auth-box h1 { font-size: clamp(2rem, 3vw, 2.5rem); margin-bottom: .4rem; }
.auth-box .lead { color: var(--muted); margin-bottom: 2rem; }
.auth-foot { text-align: center; margin-top: 1.6rem; color: var(--muted); font-size: .94rem; }
.auth-foot a { font-weight: 700; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; margin: 1.4rem 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- Compte -------------------------------------------------------- */
.account-head { display: flex; align-items: center; gap: 18px; margin-bottom: 2rem; flex-wrap: wrap; }
.account-head h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 0; }
.account-head p { margin: 0; color: var(--muted); }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 2rem; overflow-x: auto; }
.tabs a { padding: .9rem 1.1rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.is-active { color: var(--ink); border-color: var(--accent); }
.booking-row { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 14px; transition: box-shadow .3s, transform .3s var(--ease-out); }
.booking-row:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.booking-row img { width: 120px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); }
.booking-row h3 { font-size: 1.08rem; margin: 0 0 .3rem; }
.booking-row .card-meta { margin-bottom: .4rem; }
.booking-row .actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
@media (max-width: 680px) { .booking-row { grid-template-columns: 80px 1fr; } .booking-row img { width: 80px; height: 80px; } .booking-row .actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; } }

/* ---------- Confirmation -------------------------------------------------- */
.success-mark { width: 88px; height: 88px; margin: 0 auto 1.5rem; border-radius: 50%; background: var(--success-50); display: grid; place-items: center; }
.success-mark svg { width: 48px; height: 48px; stroke: var(--success); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.success-mark circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .8s var(--ease-out) .1s forwards; }
.success-mark path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease-out) .7s forwards; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 18px; }
.steps li { position: relative; padding-left: 52px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--primary-50); color: var(--primary); }
.steps strong { display: block; }
.steps span { color: var(--muted); font-size: .93rem; }

/* ---------- Blog ---------------------------------------------------------- */
.post-card .card-media { aspect-ratio: 16 / 10; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .84rem; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.pill { padding: .55rem 1.1rem; border-radius: var(--radius-pill); border: 1.5px solid var(--line-2); font-weight: 600; font-size: .9rem; color: var(--ink-2); background: #fff; transition: all .2s; }
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 8; margin: -120px 0 48px; box-shadow: var(--shadow-lg); position: relative; z-index: 2; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.aside-box { padding: 24px; border-radius: var(--radius); background: var(--bg-soft); margin-bottom: 20px; }
.aside-box h4 { margin-bottom: 1rem; }
.mini-post { display: flex; gap: 12px; align-items: center; padding: 10px 0; color: var(--ink); }
.mini-post img { width: 70px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; }
.mini-post strong { font-size: .92rem; line-height: 1.35; display: block; }
.mini-post small { color: var(--muted); }
.mini-post:hover strong { color: var(--accent); }

/* ---------- FAQ (details) ------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); font-size: 1.2rem; font-weight: 500; transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--accent); color: #fff; }
.faq .faq-body { padding: 0 22px 20px; color: var(--ink-2); animation: fadeDown .35s var(--ease-out); }

/* ---------- Contact ------------------------------------------------------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -64px; position: relative; z-index: 3; }
@media (max-width: 960px) { .contact-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }
.contact-card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; gap: 14px; align-items: flex-start; transition: transform .35s var(--ease-out); }
.contact-card:hover { transform: translateY(-4px); }
.contact-card .feature-icon { width: 46px; height: 46px; font-size: 1.05rem; margin: 0; flex: none; }
.contact-card small { display: block; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.contact-card a, .contact-card span { color: var(--ink); font-weight: 600; word-break: break-word; }

/* ---------- Back to top --------------------------------------------------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .35s var(--ease-out); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }

/* ---------- Reveal animations -------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); will-change: opacity, transform; }
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.hero-content > * { animation: heroText 1s var(--ease-out) 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; }
.hero-content > *:nth-child(5) { animation-delay: .48s; }
.hero-content > *:nth-child(6) { animation-delay: .6s; }
.page-hero .container > * { animation: heroText .9s var(--ease-out) both; }
.page-hero .container > *:nth-child(2) { animation-delay: .1s; }
.page-hero .container > *:nth-child(3) { animation-delay: .2s; }
.page-hero .container > *:nth-child(4) { animation-delay: .3s; }

@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
@keyframes heroIn { to { transform: scale(1); } }
@keyframes heroText { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes scrollcue { 0% { transform: scaleY(0); opacity: 1; } 70% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Pages d'erreur ------------------------------------------------ */
.err { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 40px) 0 64px; color: #fff; text-align: center; overflow: hidden; isolation: isolate; }
.err-bg { position: absolute; inset: 0; z-index: -2; }
.err-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 30s ease-in-out infinite alternate; }
.err::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 35%, rgba(12,38,34,.55), rgba(6,24,21,.92) 70%); }
.err-inner { max-width: 820px; }
.err-code { display: flex; justify-content: center; align-items: center; gap: clamp(4px, 1.5vw, 16px); font-family: var(--font-display); font-weight: 600; font-size: clamp(7rem, 22vw, 13rem); line-height: .9; letter-spacing: -.04em; margin-bottom: 1.2rem; }
.err-code > span { display: inline-block; animation: errDigit .9s var(--ease-out) both; text-shadow: 0 20px 60px rgba(0,0,0,.35); }
.err-code > span:nth-child(2) { animation-delay: .12s; }
.err-code > span:nth-child(3) { animation-delay: .24s; }
.err-compass { width: .78em; height: .78em; color: #fff; }
.err-compass svg { width: 100%; height: 100%; filter: drop-shadow(0 16px 40px rgba(0,0,0,.35)); }
.err-needle { transform-origin: 50px 50px; animation: errNeedle 4.5s var(--ease) infinite; }
.err h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: .8rem; animation: heroText .9s var(--ease-out) .3s both; }
.err .eyebrow { color: #ffc2ae; animation: heroText .9s var(--ease-out) .2s both; }
.err-text { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 56ch; margin: 0 auto 2rem; animation: heroText .9s var(--ease-out) .4s both; }
.err-search { display: flex; align-items: center; gap: 8px; max-width: 620px; margin: 0 auto 2rem; padding: 7px 7px 7px 20px; background: #fff; border-radius: var(--radius-pill); box-shadow: var(--shadow-lg); color: var(--muted); animation: heroText .9s var(--ease-out) .5s both; }
.err-search input { flex: 1; min-width: 0; border: 0; outline: none; font: 500 1rem var(--font-body); color: var(--ink); background: transparent; padding: 10px 4px; }
.err-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 2.4rem; text-align: left; }
@media (max-width: 860px) { .err-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .err-links { grid-template-columns: 1fr; } .err-search { flex-wrap: wrap; border-radius: 20px; padding: 10px; } .err-search .btn { width: 100%; } }
.err-link { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); color: #fff; transition: all .3s var(--ease-out); animation: heroText .8s var(--ease-out) both; animation-delay: calc(.6s + var(--i) * 80ms); }
.err-link:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }
.err-link strong { display: block; font-size: .95rem; }
.err-link small { display: block; font-size: .78rem; opacity: .75; }
.err-link-icon { width: 38px; height: 38px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(226,88,58,.9); color: #fff; }
.err-link-arrow { margin-left: auto; font-size: .8rem; opacity: .6; transition: transform .3s var(--ease-out); }
.err-link:hover .err-link-arrow { transform: translateX(3px); opacity: 1; }
.err-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; animation: heroText .9s var(--ease-out) .9s both; }
.err-flight { position: absolute; left: 0; top: 18%; width: 100%; height: 40%; z-index: -1; pointer-events: none; }
@media (max-width: 760px) { .err-flight { opacity: .5; } }
@media (prefers-reduced-motion: reduce) { .err-plane { display: none; } }

@keyframes errDigit { from { opacity: 0; transform: translateY(40px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes errNeedle { 0% { transform: rotate(-35deg); } 25% { transform: rotate(40deg); } 45% { transform: rotate(-20deg); } 65% { transform: rotate(18deg); } 80% { transform: rotate(-6deg); } 100% { transform: rotate(-35deg); } }

/* ---------- Impression ---------------------------------------------------- */
@media print {
  .site-header, .site-footer, .to-top, .toasts, .btn, form { display: none !important; }
  body:not(.has-hero) main { padding-top: 0; }
  .page-hero { min-height: 0; color: var(--ink); padding: 0 0 20px; }
  .page-hero::before, .page-hero-media { display: none; }
  .page-hero h1 { color: var(--ink); }
}
