/* ============================================================
   VAN BELIZE — Location de van aménagé StyleVan
   Design System « Clarté Bretonne » — Groupe Jardin
   Navy #1a2744 · Orange #f97316 · Granit #faf9f6 · Inter
   ============================================================ */

:root {
  --navy-900: #0f1b2d;
  --navy-800: #152238;
  --navy-700: #1a2744;
  --navy-600: #1e3a5f;
  --navy-500: #2a5080;
  --navy-400: #3b6cb4;
  --navy-100: #e8f0fa;

  --gray-900: #2d2d2d;
  --gray-800: #404040;
  --gray-700: #5a5a5a;
  --gray-600: #7a7671;
  --gray-500: #9e9a95;
  --gray-400: #c5c1bc;
  --gray-300: #ddd9d3;
  --gray-200: #eae6e0;
  --gray-100: #f3f0eb;
  --gray-50:  #faf9f6;

  --orange-600: #c2410c;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --orange-100: #ffedd5;
  --orange-50:  #fff7ed;

  --green-500: #22c55e;
  --green-100: #dcfce7;
  --green-700: #15803d;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --amber-700: #b45309;
  --red-500: #ef4444;
  --red-100: #fee2e2;
  --red-700: #b91c1c;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--gray-50);
  color: var(--gray-800);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy-500); text-decoration: none; }
a:hover { color: var(--navy-700); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  height: 64px;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy-700); font-size: 1.05rem; }
.nav-logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange-500); }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-links a { color: var(--gray-700); font-size: 0.9375rem; font-weight: 500; padding: 6px 2px; transition: color .15s; }
.nav-links a:hover { color: var(--navy-700); }
.nav-cta {
  background: var(--orange-500); color: #fff !important;
  padding: 10px 18px !important; border-radius: var(--radius-md);
  font-weight: 600; transition: background .15s;
}
.nav-cta:hover { background: var(--orange-400); }
.nav-burger { display: none; background: none; border: none; font-size: 1.5rem; color: var(--navy-700); cursor: pointer; padding: 6px; }

@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--gray-200);
    padding: 12px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--gray-100); }
  .nav-cta { text-align: center; margin-top: 10px; border-bottom: none !important; }
  .nav-burger { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,27,45,0.15) 0%, rgba(15,27,45,0.55) 60%, rgba(15,27,45,0.85) 100%);
}
.hero-content { position: relative; z-index: 2; padding: 120px 0 72px; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28);
  padding: 8px 16px; border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 20px;
  backdrop-filter: blur(6px);
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 16px; }
.hero h1 .accent { color: var(--orange-400); }
.hero p { font-size: 1.15rem; opacity: 0.92; max-width: 560px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--radius-md); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; cursor: pointer; border: none; transition: all .15s ease;
  text-align: center;
}
.btn-primary { background: var(--orange-500); color: #fff; }
.btn-primary:hover { background: var(--orange-400); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: rgba(255,255,255,0.16); color: #fff; border: 1px solid rgba(255,255,255,0.4); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.28); color: #fff; }
.btn-dark { background: var(--navy-700); color: #fff; }
.btn-dark:hover { background: var(--navy-600); color: #fff; }
.btn-outline { background: transparent; color: var(--navy-700); border: 1px solid var(--gray-300); }
.btn-outline:hover { background: var(--gray-100); }

.hero-stats {
  display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.22);
}
.hero-stat b { display: block; font-size: 1.7rem; font-weight: 800; }
.hero-stat span { font-size: 0.85rem; opacity: 0.85; }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-alt { background: #fff; }
.section-label {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--orange-600); background: var(--orange-50);
  padding: 6px 14px; border-radius: var(--radius-full); margin-bottom: 16px;
}
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -0.015em; color: var(--navy-900); line-height: 1.15; margin-bottom: 14px; }
.section-sub { color: var(--gray-600); font-size: 1.08rem; max-width: 640px; margin-bottom: 44px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Le van : présentation ---------- */
.van-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.van-grid img { border-radius: var(--radius-2xl); box-shadow: var(--shadow-lg); }
.van-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.van-feat {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 16px 18px;
}
.van-feat .ico { font-size: 1.4rem; }
.van-feat b { display: block; font-size: 0.95rem; color: var(--navy-900); }
.van-feat span { font-size: 0.85rem; color: var(--gray-600); }

.badges-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--radius-full);
  background: var(--gray-100); color: var(--gray-700); font-size: 0.85rem; font-weight: 600;
}
.badge.primary { background: var(--orange-50); color: var(--orange-600); }
.badge.dark { background: var(--navy-100); color: var(--navy-600); }

/* ---------- Caractéristiques ---------- */
.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.spec-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 26px; transition: box-shadow .2s ease, transform .15s ease;
}
.spec-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.spec-card .spec-ico { font-size: 1.8rem; margin-bottom: 12px; }
.spec-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy-900); margin-bottom: 10px; }
.spec-card ul { list-style: none; }
.spec-card li { font-size: 0.92rem; color: var(--gray-700); padding: 5px 0; border-bottom: 1px dashed var(--gray-200); }
.spec-card li:last-child { border-bottom: none; }
.spec-card li b { color: var(--navy-800); }

/* ---------- Galerie ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid figure { overflow: hidden; border-radius: var(--radius-lg); cursor: pointer; position: relative; background: var(--gray-100); }
.gallery-grid img { width: 100%; height: 260px; object-fit: cover; transition: transform .35s ease; }
.gallery-grid figure:hover img { transform: scale(1.04); }
.gallery-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px;
  background: linear-gradient(180deg, transparent, rgba(15,27,45,0.72));
  color: #fff; font-size: 0.82rem; font-weight: 500;
}
.photo-credit { font-size: 0.78rem; color: var(--gray-500); margin-top: 14px; text-align: center; }

/* Lightbox simple */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(15,27,45,0.92); align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.lightbox .close {
  position: absolute; top: 20px; right: 24px; background: none; border: none;
  color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1;
}

/* ---------- Tarifs ---------- */
.seasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.season-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-xl);
  padding: 28px; text-align: center; position: relative; transition: box-shadow .2s;
}
.season-card:hover { box-shadow: var(--shadow-md); }
.season-card.highlight { border-color: var(--orange-500); box-shadow: 0 0 0 3px var(--orange-100); }
.season-card .tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--orange-500); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 4px 14px; border-radius: var(--radius-full); letter-spacing: 0.04em; white-space: nowrap;
}
.season-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy-900); }
.season-card .dates { color: var(--gray-600); font-size: 0.88rem; margin: 6px 0 18px; }
.season-card .price { font-size: 2rem; font-weight: 800; color: var(--navy-900); }
.season-card .price small { font-size: 0.85rem; font-weight: 500; color: var(--gray-600); }
.season-card ul { list-style: none; margin-top: 16px; text-align: left; }
.season-card li { font-size: 0.9rem; color: var(--gray-700); padding: 5px 0; border-bottom: 1px dashed var(--gray-200); }
.season-card li:last-child { border: none; }

.tarif-table-wrap { overflow-x: auto; margin-top: 34px; }
table.tarifs { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xs); }
table.tarifs th { background: var(--navy-700); color: #fff; font-weight: 600; font-size: 0.9rem; padding: 14px 18px; text-align: left; }
table.tarifs td { padding: 13px 18px; border-bottom: 1px solid var(--gray-200); font-size: 0.93rem; }
table.tarifs tr:hover td { background: var(--gray-50); }
table.tarifs td b { color: var(--navy-800); }

.tarif-note {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--orange-50); border: 1px solid var(--orange-100);
  border-radius: var(--radius-lg); padding: 16px 20px; margin-top: 26px;
  font-size: 0.88rem; color: var(--gray-700);
}
.tarif-note .ico { font-size: 1.2rem; }

/* ---------- Agenda / Réservation ---------- */
.booking-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; }
.calendar-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-xl);
  padding: 26px; box-shadow: var(--shadow-xs);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-head b { font-size: 1.15rem; color: var(--navy-900); }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button {
  width: 38px; height: 38px; border-radius: var(--radius-md);
  border: 1px solid var(--gray-300); background: #fff; color: var(--navy-700);
  font-size: 1.1rem; cursor: pointer; transition: all .15s;
}
.cal-nav button:hover { background: var(--gray-100); }
.cal-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 0.78rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; margin-bottom: 8px; }
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md); font-size: 0.9rem; cursor: pointer;
  color: var(--gray-800); border: 1px solid transparent; transition: all .12s;
  background: #fff;
}
.cal-day:hover { background: var(--gray-100); border-color: var(--gray-300); }
.cal-day.empty { background: transparent; cursor: default; }
.cal-day.other-month { color: var(--gray-400); }
.cal-day.booked { background: var(--gray-200); color: var(--gray-500); cursor: not-allowed; text-decoration: line-through; }
.cal-day.start { background: var(--orange-500); color: #fff; border-radius: var(--radius-md); font-weight: 700; }
.cal-day.end { background: var(--orange-500); color: #fff; border-radius: var(--radius-md); font-weight: 700; }
.cal-day.in-range { background: var(--orange-100); border-radius: 0; }
.cal-legend { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; font-size: 0.82rem; color: var(--gray-600); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }

.booking-form-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-xl);
  padding: 26px; box-shadow: var(--shadow-sm); position: sticky; top: 84px;
}
.booking-form-card h3 { font-size: 1.2rem; color: var(--navy-900); margin-bottom: 6px; }
.booking-form-card .sub { color: var(--gray-600); font-size: 0.88rem; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.input, .select, .textarea {
  width: 100%; height: 44px; border: 1px solid var(--gray-300); border-radius: var(--radius-md);
  padding: 0 14px; font-size: 0.9375rem; font-family: var(--font); background: #fff; color: var(--gray-800);
  transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 84px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(249,115,22,0.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quote-box {
  background: var(--navy-50, #f4f7fc); border: 1px solid var(--navy-100);
  border-radius: var(--radius-lg); padding: 18px 20px; margin: 22px 0;
}
.quote-box .q-line { display: flex; justify-content: space-between; font-size: 0.92rem; padding: 4px 0; color: var(--gray-700); }
.quote-box .q-line.total { border-top: 1px solid var(--gray-300); margin-top: 8px; padding-top: 10px; font-weight: 800; color: var(--navy-900); font-size: 1.1rem; }
.quote-box .empty { color: var(--gray-500); font-size: 0.9rem; }
.send-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1fb457; color: #fff; }
.form-msg { font-size: 0.82rem; color: var(--gray-500); margin-top: 12px; line-height: 1.5; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.contact-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 26px; text-align: center;
}
.contact-card .ico { font-size: 1.9rem; margin-bottom: 10px; }
.contact-card b { display: block; color: var(--navy-900); margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 0.93rem; color: var(--gray-700); }

/* ---------- Footer ---------- */
footer { background: var(--navy-700); color: rgba(255,255,255,0.75); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { font-size: 0.9rem; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.65); }

/* ---------- Pages légales ---------- */
.legal-page { padding: 130px 0 60px; }
.legal-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-xl);
  padding: 44px; max-width: 860px; margin: 0 auto; box-shadow: var(--shadow-xs);
}
.legal-card h1 { font-size: 2rem; font-weight: 800; color: var(--navy-900); margin-bottom: 8px; }
.legal-card .updated { color: var(--gray-500); font-size: 0.85rem; margin-bottom: 32px; }
.legal-card h2 { font-size: 1.25rem; margin-top: 30px; margin-bottom: 10px; }
.legal-card p, .legal-card li { font-size: 0.94rem; color: var(--gray-700); margin-bottom: 10px; }
.legal-card ul, .legal-card ol { padding-left: 22px; margin-bottom: 14px; }
.legal-card strong { color: var(--navy-800); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .van-grid, .booking-grid { grid-template-columns: 1fr; }
  .booking-form-card { position: static; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .seasons { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .seasons { grid-template-columns: 1fr; }
  .gallery-grid img { height: 220px; }
  .hero-stats { gap: 22px; }
  .form-row, .send-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal-card { padding: 26px 20px; }
}