/* ──────────────────────────────────────────────────────────────────────────
   LEONIO Voyage · Template "Carnet Classique"
   Design : navy + or, sobre, élégant, B2B premium, mobile-first.
   Toutes les couleurs critiques utilisent --brand-primary et --brand-accent
   pour pouvoir être personnalisées par l'agence depuis l'admin.
   ────────────────────────────────────────────────────────────────────────── */

:root {
  /* Brand defaults (overridés par applyBrand) */
  --brand-primary: #0a1f3d;
  --brand-accent:  #c9a978;

  /* Typo : pilotée par l'onglet Style du carnet (applyStyle).
     --font-display = titres et chiffres vitrine, --font-body = texte courant. */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;

  /* Voile de la couverture : plus la valeur est haute, plus la photo est assombrie
     (et plus le texte ressort). Piloté par l'onglet Style. */
  --cover-veil-top:    0.35;
  --cover-veil-bottom: 0.72;
  --cover-bg-brightness: 0.7;

  /* Point focal par défaut des photos recadrées (surchargé par photo). */
  --focus-default: 50% 50%;

  /* Neutrals */
  --cream:        #faf9f7;
  --paper:        #ffffff;
  --paper-soft:   #f4f1ea;
  --ink:          #14181f;
  --ink-soft:     #3b4252;
  --silver:       #8e8c85;
  --border:       #e1dcd0;
  --border-soft:  #ede8dc;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100vh; }
body {
  font-family: var(--font-body);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 25% 12%, rgba(201, 169, 120, 0.06) 0%, transparent 38%),
    radial-gradient(circle at 78% 88%, rgba(10, 31, 61, 0.04) 0%, transparent 42%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.47  0 0 0 0 0.38  0 0 0 0.045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-attachment: fixed;
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.cover-active { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.hidden { display: none !important; }

/* ───── LOADER ───── */
.loader {
  position: fixed; inset: 0;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  z-index: 200;
}
.loader-inner { text-align: center; color: var(--brand-primary); }
.loader-inner p { margin-top: 14px; font-size: 13px; color: var(--ink-soft); letter-spacing: 0.04em; }
.spinner {
  width: 36px; height: 36px;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ───── NOT FOUND ───── */
.not-found {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: var(--cream);
}
.nf-wrap {
  max-width: 460px; text-align: center;
  padding: 40px 30px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.nf-wrap h1 {
  font-family: var(--font-display);
  font-weight: 500; font-size: 28px;
  color: var(--brand-primary);
  margin-bottom: 12px;
}
.nf-wrap p { color: var(--ink-soft); font-size: 15px; }

/* ═══════════════════════════════════════════════════════════════
   COVER (premier écran fullscreen)
   ═══════════════════════════════════════════════════════════════ */
.cover {
  position: fixed; inset: 0;
  z-index: 100;
  background: var(--brand-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
  transition: opacity 0.6s, transform 0.6s;
}
.cover.out { opacity: 0; transform: scale(1.04); pointer-events: none; }
.cover-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(var(--cover-bg-brightness));
  z-index: 0;
}
.cover-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(at 70% 30%, rgba(201, 169, 120, 0.22) 0%, transparent 55%),
    linear-gradient(180deg, rgba(10, 31, 61, var(--cover-veil-top)) 0%, rgba(6, 18, 41, var(--cover-veil-bottom)) 100%);
  z-index: 1;
}

.cover-frame {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 540px;
  padding: 48px 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(10, 31, 61, 0.18); backdrop-filter: blur(6px);
}
.cover-agency {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 22px;
}
.cover-kicker {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 18px;
}
.cover-greeting {
  font-size: 14px; opacity: 0.92;
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 300;
  margin-bottom: 14px;
}
.cover-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 8vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 auto;
}
.cover-subtitle {
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.18em; text-transform: uppercase;
  opacity: 0.85;
  font-weight: 500;
}
.cover-divider {
  display: block; margin: 28px auto 18px;
  width: 96px; height: 16px;
  color: var(--brand-accent);
}
.cover-date {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 36px;
}
.cover-open {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: #fff;
  color: var(--brand-primary);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25);
}
.cover-open:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  background: var(--brand-accent);
  color: #fff;
}
.cover-open svg { width: 16px; height: 16px; }

/* ═══════════════════════════════════════════════════════════════
   CONTENT
   ═══════════════════════════════════════════════════════════════ */
.content { animation: fadeIn 0.6s ease-out both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* TOPBAR */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 247, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.topbar-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.topbar-brand {
  display: flex; align-items: center; gap: 12px;
  min-width: 0;
}
.topbar-brand img { height: 28px; width: auto; max-width: 110px; object-fit: contain; }
.topbar-brand-text {
  display: flex; flex-direction: column;
  min-width: 0;
}
.topbar-brand-text strong {
  font-size: 13px; font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: 0.02em;
}
.topbar-brand-text span {
  font-size: 11px; color: var(--silver);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topbar-nav {
  display: flex; gap: 28px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
}
.topbar-nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.15s;
}
.topbar-nav a:hover { color: var(--brand-primary); }
.topbar-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--brand-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s;
}
.topbar-nav a:hover::after { transform: scaleX(1); }
.topbar-menu { display: none; color: var(--brand-primary); padding: 6px; }

/* HERO */
.hero {
  padding: 80px 24px 60px;
  background: var(--cream);
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--brand-accent) 50%, transparent 100%);
  opacity: 0.4;
}
.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.hero-meta {
  display: inline-flex; align-items: center; gap: 14px;
  flex-wrap: wrap; justify-content: center;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 24px;
}
.hero-meta-item:empty + .hero-meta-sep { display: none; }
.hero-meta-sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--brand-accent);
}
.hero-meta-item:empty { display: none; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--brand-primary);
  margin-bottom: 24px;
}
.hero-intro {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.hero-intro::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 5.2em;
  line-height: 0.82;
  padding: 6px 14px 0 0;
  color: var(--brand-accent);
  font-style: italic;
}
.hero-budget {
  margin-top: 22px;
  display: inline-block;
  font-size: 12px;
  padding: 8px 18px;
  background: var(--paper-soft);
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  color: var(--ink-soft);
  font-style: italic;
}

/* SECTIONS */
.section {
  padding: 90px 24px;
}
.section-alt {
  background: var(--paper-soft);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.section-head {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}
.section-head::before {
  content: '';
  display: block;
  width: 240px;
  height: 14px;
  margin: 0 auto 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 14' fill='none'%3E%3Cline x1='0' y1='7' x2='100' y2='7' stroke='%23c9a978' stroke-width='0.8'/%3E%3Cline x1='140' y1='7' x2='240' y2='7' stroke='%23c9a978' stroke-width='0.8'/%3E%3Cg transform='translate(120 7) rotate(45)'%3E%3Crect x='-5' y='-5' width='10' height='10' stroke='%23c9a978' fill='none' stroke-width='0.7'/%3E%3C/g%3E%3Ccircle cx='120' cy='7' r='1.4' fill='%23c9a978'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.85;
}
.section-eyebrow {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.1;
  color: var(--brand-primary);
  letter-spacing: -0.015em;
}
.empty-section {
  text-align: center;
  padding: 40px 20px;
  color: var(--silver);
  font-size: 14px;
  font-style: italic;
}

/* ═══════════ PROGRAMME (timeline magazine) ═══════════ */
.timeline {
  list-style: none;
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50px; top: 30px; bottom: 30px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border) 6%, var(--border) 94%, transparent);
}
.day {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 28px 0;
  align-items: start;
}
.day-marker {
  position: relative;
  text-align: right;
  padding-top: 18px;
  padding-right: 28px;
}
.day-marker::after {
  content: '';
  position: absolute;
  top: 38px;
  right: -8px;
  width: 16px; height: 16px;
  background: var(--brand-accent);
  border: 4px solid var(--cream);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 1px var(--border);
}
.section-alt .day-marker::after { border-color: var(--paper-soft); }
.day-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 64px;
  color: var(--brand-primary);
  line-height: 0.9;
  letter-spacing: -0.03em;
  font-feature-settings: 'tnum', 'lnum';
}
.day-num-prefix {
  display: inline-block;
  font-size: 0.42em;
  font-style: italic;
  font-weight: 400;
  color: var(--brand-accent);
  vertical-align: 0.55em;
  margin-right: 4px;
  letter-spacing: 0.02em;
}
.day-date {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 10px;
}
.day-body {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(10, 31, 61, 0.04);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.day:hover .day-body {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10), 0 2px 8px rgba(10, 31, 61, 0.06);
  border-color: var(--brand-accent);
}
.day-photo {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
}
.day-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.18) 100%);
}
.day-body-inner {
  padding: 26px 28px 24px;
}
.day-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 26px;
  color: var(--brand-primary);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.day-block {
  padding: 10px 0;
  border-top: 1px solid var(--border-soft);
}
.day-block:first-of-type { border-top: none; padding-top: 0; }
.db-lbl {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 4px;
}
.day-block p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.65; }
.day-highlight {
  margin-top: 16px;
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(201, 169, 120, 0.12) 0%, transparent 100%);
  border-left: 2px solid var(--brand-accent);
  font-size: 14px;
  color: var(--brand-primary);
  font-weight: 400;
  display: flex; align-items: center; gap: 10px;
  border-radius: 0 8px 8px 0;
}
.day-highlight svg { flex-shrink: 0; color: var(--brand-accent); }
.day-highlight em {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  font-weight: 400;
  color: var(--brand-primary);
}

/* ═══════════ HOTELS ═══════════ */
.hotels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}
.hotel-card {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.hotel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10), 0 4px 14px rgba(10, 31, 61, 0.06);
  border-color: var(--brand-accent);
}
.hotel-photo {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hotel-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 31, 61, 0.15) 100%);
}
.hotel-card:not(.has-photo)::before {
  content: '';
  display: block;
  height: 64px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Cpath d='M8 56h48M8 50h48M8 16l24-12 24 12M12 16v34M52 16v34M22 28h.5M30 28h.5M38 28h.5M22 38h.5M30 38h.5M38 38h.5' stroke='%23c9a978' stroke-width='1' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 44px 44px;
  background-color: var(--paper-soft);
  border-bottom: 1px solid var(--border-soft);
}
.hotel-body { padding: 22px 26px 24px; flex: 1; }
.hotel-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: var(--brand-primary);
  margin-bottom: 6px;
  line-height: 1.2;
}
.hotel-addr { font-size: 13px; color: var(--silver); margin-bottom: 14px; }
.hotel-meta {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 12px 0;
  border-top: 1px solid var(--border-soft);
}
.hotel-meta strong { color: var(--brand-primary); font-weight: 600; }
.hotel-meta code {
  font-family: var(--font-body);
  font-size: 11px;
  background: var(--paper-soft);
  padding: 2px 6px;
  border-radius: 4px;
}
.hotel-link { color: var(--brand-primary); font-weight: 500; }
.hotel-notes {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}
.hotel-maps {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-primary);
  border-bottom: 1px solid var(--brand-accent);
  padding-bottom: 1px;
}
.hotel-maps:hover { color: var(--brand-accent); }

/* ═══════════ TRANSPORTS ═══════════ */
.transports-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 18px;
}
.transport-card {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
}
.transport-ico {
  font-size: 28px;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-soft);
  border-radius: 14px;
}
.transport-body h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--brand-primary);
  margin-bottom: 4px;
  line-height: 1.2;
}
.transport-sub {
  font-size: 13px; color: var(--silver);
  margin-bottom: 14px;
}
.transport-sub code {
  font-family: var(--font-body);
  font-size: 12px; color: var(--brand-primary);
  background: var(--paper-soft);
  padding: 2px 6px;
  border-radius: 4px;
}
.transport-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.transport-route > div { display: flex; flex-direction: column; gap: 2px; }
.t-time {
  font-size: 14px; font-weight: 700;
  color: var(--brand-primary);
  font-feature-settings: 'tnum';
}
.t-loc {
  font-size: 12px;
  color: var(--ink-soft);
}
.transport-route svg { color: var(--brand-accent); }
.transport-pnr, .transport-notes {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 10px;
}
.transport-pnr code {
  font-family: var(--font-body);
  background: var(--paper-soft);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--brand-primary);
}

/* ═══════════ PRACTICAL ═══════════ */
.practical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.practical-card {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex; align-items: flex-start; gap: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.practical-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10), 0 2px 8px rgba(10, 31, 61, 0.06);
  border-color: var(--brand-accent);
}
.pc-ico {
  font-size: 22px;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper-soft);
  border-radius: 10px;
  flex-shrink: 0;
}
.pc-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 4px;
}
.pc-val {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
}

.phrases-block {
  margin-top: 50px;
  max-width: 600px;
  margin-left: auto; margin-right: auto;
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 28px 30px;
}
.phrases-block h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: var(--brand-primary);
  margin-bottom: 18px;
  text-align: center;
}
.phrases-list { list-style: none; }
.phrases-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-soft);
}
.phrases-list li:last-child { border-bottom: none; }
.ph-fr { font-weight: 500; color: var(--ink); font-size: 14px; }
.ph-loc { color: var(--brand-accent); font-style: italic; font-weight: 500; font-size: 14px; }

/* ═══════════ RECOMMENDATIONS ═══════════ */
.reco-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.reco-group {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 26px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.reco-group:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10), 0 2px 8px rgba(10, 31, 61, 0.06);
  border-color: var(--brand-accent);
}
.reco-cat {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  color: var(--brand-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}
.reco-list { list-style: none; }
.reco-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-soft);
}
.reco-item:last-child { border-bottom: none; padding-bottom: 0; }
.reco-name {
  font-weight: 600;
  color: var(--brand-primary);
  font-size: 15px;
}
.reco-addr {
  font-size: 12.5px;
  color: var(--silver);
  margin-top: 2px;
}
.reco-notes {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 8px;
  font-style: italic;
}
.reco-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-accent);
  border-bottom: 1px solid var(--brand-accent);
}

/* ═══════════ CONTACTS ═══════════ */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 28px 30px;
  position: relative;
}
.contact-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 14px;
}
.contact-card h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--brand-primary);
  margin-bottom: 6px;
  line-height: 1.2;
}
.contact-card p { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.contact-role { color: var(--silver); font-size: 13px; font-style: italic; margin-bottom: 18px; }
.contact-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  background-size: cover; background-position: center;
  background-color: var(--paper-soft);
  margin-bottom: 18px;
  border: 3px solid var(--paper);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  color: var(--brand-primary);
}
.contact-photo.no-photo { background-color: var(--paper-soft); }
.contact-links {
  display: flex; flex-direction: column; gap: 8px;
}
.ct-link {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: var(--paper-soft);
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--brand-primary);
  transition: background 0.15s, color 0.15s;
}
.ct-link:hover { background: var(--brand-primary); color: #fff; }
.contact-247 {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #1a3a6e 100%);
  color: #fff;
  border: none;
}
.contact-247 .contact-label { color: var(--brand-accent); }
.contact-247 h4 { color: #fff; }
.contact-247 p { color: rgba(255, 255, 255, 0.8); }
.contact-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  background: var(--brand-accent);
  color: var(--brand-primary);
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}

/* ═══════════ GALLERY (mosaïque d'ambiance) ═══════════ */
.section-gallery {
  background:
    radial-gradient(at 0% 0%, rgba(201, 169, 120, 0.08) 0%, transparent 45%),
    var(--paper-soft);
  border-top: 1px solid var(--border-soft);
}
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 130px;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}
.gallery-tile {
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: zoom-in;
  background-color: var(--paper);
  border: 1px solid var(--border-soft);
}
.gallery-tile:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
  z-index: 1;
}
/* Point focal : chaque tuile peut recentrer son recadrage (réglé à la souris
   depuis la régie). Défaut = centre, comme avant. */
.gallery-tile { background-position: var(--focus, 50% 50%); }

/* Tailles choisies par l'agence (section Galerie de la régie).
   Grille 6 colonnes, rangées de 130px : les 4 formats couvrent les cas réels
   (bandeau, grande photo, vignette, photo verticale). Sans choix explicite, on
   retombe sur le motif automatique .gallery-tile-N ci-dessous (carnets legacy). */
.gt-pano { grid-column: span 6; grid-row: span 2; }  /* panorama  ~4:1  */
.gt-lg   { grid-column: span 4; grid-row: span 2; }  /* grand     ~3:1  */
.gt-md   { grid-column: span 2; grid-row: span 2; }  /* standard  ~1.4:1 */
.gt-tall { grid-column: span 2; grid-row: span 3; }  /* portrait  ~1:1.05 */

@media (max-width: 720px) {
  .gt-pano { grid-column: span 2; grid-row: span 1; }
  .gt-lg   { grid-column: span 2; grid-row: span 2; }
  .gt-md   { grid-column: span 1; grid-row: span 1; }
  .gt-tall { grid-column: span 1; grid-row: span 2; }
}

/* Tailles asymétriques pour effet magazine (repli automatique) */
.gallery-tile-0 { grid-column: span 4; grid-row: span 2; }
.gallery-tile-1 { grid-column: span 2; grid-row: span 1; }
.gallery-tile-2 { grid-column: span 2; grid-row: span 1; }
.gallery-tile-3 { grid-column: span 3; grid-row: span 2; }
.gallery-tile-4 { grid-column: span 3; grid-row: span 1; }
.gallery-tile-5 { grid-column: span 3; grid-row: span 1; }
.gallery-tile-6 { grid-column: span 2; grid-row: span 1; }
.gallery-tile-7 { grid-column: span 4; grid-row: span 1; }

@media (max-width: 720px) {
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 110px;
  }
  .gallery-tile-0, .gallery-tile-3 { grid-column: span 2; grid-row: span 2; }
  .gallery-tile-1, .gallery-tile-2, .gallery-tile-4, .gallery-tile-5, .gallery-tile-6 { grid-column: span 1; grid-row: span 1; }
  .gallery-tile-7 { grid-column: span 2; }
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--brand-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: 50px 24px 36px;
}
.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-agency { display: flex; align-items: center; gap: 16px; }
.footer-agency img { height: 36px; max-width: 140px; object-fit: contain; filter: brightness(1.2); }
.footer-brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  color: #fff;
}
.footer-meta {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 4px;
}
.footer-leonio {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.75;
}
.footer-leonio a {
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 14px;
  border-radius: 10px;
  transition: transform 0.2s;
  display: block;
}
.footer-leonio a:hover { transform: translateY(-2px); }
.footer-logo-leonio {
  height: 18px;
  width: auto;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 880px) {
  .topbar-nav { display: none; }
  .topbar-nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-soft);
    gap: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
  .topbar-menu { display: block; }
  .section { padding: 60px 18px; }
  .section-head { margin-bottom: 36px; }
  .hero { padding: 56px 18px 44px; }
  .day { grid-template-columns: 72px 1fr; gap: 14px; padding: 22px 0; }
  .timeline::before { left: 36px; top: 22px; bottom: 22px; }
  .day-marker { padding-right: 18px; padding-top: 10px; }
  .day-marker::after { width: 12px; height: 12px; top: 24px; right: -6px; }
  .day-num { font-size: 42px; }
  .day-num-prefix { font-size: 0.5em; vertical-align: 0.5em; }
  .day-date { font-size: 9.5px; margin-top: 6px; letter-spacing: 0.14em; }
  .day-photo { height: 160px; }
  .day-body-inner { padding: 20px 22px; }
  .day-title { font-size: 22px; }
  .hotel-photo { height: 160px; }
  .hotel-body { padding: 20px 22px; }
  .hero-intro::first-letter { font-size: 4.4em; padding: 4px 10px 0 0; }
  .section-head::before { width: 180px; }
  .transport-card { grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 20px; }
  .transport-ico { width: 44px; height: 44px; font-size: 22px; border-radius: 12px; }
  .transport-route { grid-template-columns: 1fr 24px 1fr; gap: 10px; }
  .t-time { font-size: 13px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .cover-frame { padding: 36px 22px; }
  .topbar-inner { padding: 12px 16px; gap: 12px; }
  .topbar-brand img { height: 24px; max-width: 90px; }
  .topbar-brand-text strong { font-size: 12px; }
  .topbar-brand-text span { font-size: 10px; }
  .hero-meta { gap: 8px; font-size: 10px; }
  .hotel-card, .reco-group, .contact-card { padding: 22px 22px; }
}
