/* ===== Corsica Spyder Tours — feuille de style ===== */

:root {
  --sea-deep: #0b4f6c;
  --sea: #146a8c;
  --terracotta: #e0743a;
  --terracotta-dark: #c25a24;
  --sand: #f6ecd9;
  --sand-light: #fbf6ec;
  --maquis: #3f6f52;
  --ink: #1f2a2e;
  --ink-soft: #4a5a5f;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(11, 79, 108, 0.15);
  --radius: 14px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--sand-light);
  line-height: 1.6;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; margin: 0 0 0.5em; line-height: 1.2; }

a { color: inherit; text-decoration: none; }

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

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 79, 108, 0.96);
  backdrop-filter: blur(6px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.brand svg { width: 34px; height: 34px; flex-shrink: 0; }

.brand img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.06);
  margin: -4px 0;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--sand-light);
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--terracotta); }

.nav-cta {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.nav-cta:hover { background: var(--terracotta-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sea-deep);
    flex-direction: column;
    padding: 16px 24px 24px;
    display: none;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: inline-block; width: fit-content; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(9,46,63,0.88) 0%, rgba(11,79,108,0.72) 32%, rgba(11,79,108,0.42) 58%, rgba(11,79,108,0.28) 100%),
    url('../images/alpilles-landscape.jpg');
  background-size: cover;
  background-position: center 60%;
  color: var(--white);
  padding: 90px 24px 70px;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  object-position: 50% center;
  -webkit-mask-image: radial-gradient(ellipse farthest-side at 50% 50%, #000 68%, transparent 100%);
  mask-image: radial-gradient(ellipse farthest-side at 50% 50%, #000 68%, transparent 100%);
}

/* ---------- Page banner (secondary pages) ---------- */
.page-banner {
  position: relative;
  padding: 64px 24px;
  color: var(--white);
  background-size: cover;
  background-position: center;
  text-align: center;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(11,79,108,0.88), rgba(20,106,140,0.78));
}

.page-banner > * { position: relative; z-index: 1; }

.page-banner .section-subtitle { color: var(--sand-light); }
.page-banner .section-title { color: var(--white); }

/* ---------- Road trip highlight (homepage) ---------- */
.roadtrip-highlight {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 24px;
  color: var(--white);
}

.roadtrip-highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(9,46,63,0.92) 0%, rgba(11,79,108,0.75) 45%, rgba(11,79,108,0.55) 100%);
}

.roadtrip-highlight-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.roadtrip-highlight .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--terracotta);
  font-weight: 700;
  margin-bottom: 10px;
}

.roadtrip-highlight h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); }
.roadtrip-highlight p { color: var(--sand-light); }

.roadtrip-highlight ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.roadtrip-highlight ul li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  color: var(--sand-light);
}

.roadtrip-highlight ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 700;
}

.roadtrip-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(4px);
}

.roadtrip-card .departures { font-size: 0.9rem; color: var(--sand-light); margin-bottom: 20px; }
.roadtrip-card .price-tag { font-size: 1.5rem; font-weight: bold; color: var(--white); margin-bottom: 4px; }

@media (max-width: 820px) { .roadtrip-highlight-inner { grid-template-columns: 1fr; } }

/* ---------- Villes traversées ---------- */
.city-list {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.departure-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.departure-list li {
  background: var(--white);
  color: var(--sea-deep);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #e6d7ba;
}

.city-list li.city-extra {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

.city-list li {
  background: var(--white);
  color: var(--sea-deep);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  border: 1px solid #e6d7ba;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 20px;
  background: linear-gradient(0deg, rgba(11,79,108,0.85), transparent);
  color: var(--white);
  font-weight: 600;
}

.gallery-grid-3 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 900px) { .gallery-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .gallery-grid, .gallery-grid-3 { grid-template-columns: 1fr; } }

/* ---------- Photo credits ---------- */
.photo-credits {
  font-size: 0.72rem;
  color: rgba(246,236,217,0.55);
  margin-top: 18px;
  line-height: 1.7;
}

.photo-credits a { color: rgba(246,236,217,0.75); }

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  text-wrap: balance;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 0.4em;
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--sand-light);
  max-width: 480px;
  margin-bottom: 1.8em;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: var(--terracotta-dark); transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline:hover { border-color: var(--white); transform: translateY(-2px); }

.hero-art { width: 100%; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-art { max-width: 320px; margin: 0 auto; }
}

/* ---------- Sections generic ---------- */
section { padding: 70px 0; }

.section-title { text-align: center; margin-bottom: 12px; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--sea-deep); }
.section-subtitle { text-align: center; color: var(--ink-soft); max-width: 620px; margin: 0 auto 48px; }

.section-alt { background: var(--sand); }

/* ---------- Tour cards ---------- */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.tour-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.tour-media { height: 180px; position: relative; }

.tour-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11,79,108,0.85);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.tour-badge-roadtrip { background: rgba(224,116,58,0.92); }

.tour-departures {
  font-size: 0.82rem;
  color: var(--maquis);
  font-weight: 600;
  margin-bottom: 14px;
}

.tour-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.tour-includes li {
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
  margin-bottom: 4px;
}

.tour-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--maquis);
  font-weight: 700;
}

.tour-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }

.tour-meta {
  display: flex;
  gap: 14px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.tour-meta span { display: flex; align-items: center; gap: 6px; }

.tour-body h3 { color: var(--sea-deep); font-size: 1.3rem; }

.tour-body p { color: var(--ink-soft); flex: 1; margin-bottom: 18px; }

.tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tour-price { font-weight: bold; color: var(--terracotta-dark); font-size: 1.15rem; }
.tour-price small { font-weight: 400; color: var(--ink-soft); font-size: 0.8rem; }
.price-from {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 2px;
}

.roadtrip-card .price-from { color: var(--sand-light); }

.price-line + .price-line { margin-top: 2px; }
.tour-footer .btn { white-space: nowrap; }
.price-tag .price-line small { font-size: 0.85rem; font-weight: 400; }

@media (max-width: 900px) { .tours-grid { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step { text-align: center; }

.step .step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--sea-deep);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: bold;
  margin: 0 auto 14px;
}

@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; } }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  max-width: 640px;
  margin: 0 auto;
}

.form-row { margin-bottom: 20px; }

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
  color: var(--sea-deep);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8cfc0;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--sand-light);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { outline: 2px solid var(--sea); }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ---------- Contact info block ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: var(--sea-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-info-card a { color: var(--sand-light); }

.contact-info-card .row { display: flex; gap: 12px; margin-bottom: 18px; align-items: flex-start; }
.contact-info-card svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; color: var(--terracotta); }

@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--sea-deep);
  color: var(--sand-light);
  padding: 40px 24px 24px;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a { color: var(--terracotta); }

.footer-links { display: flex; gap: 20px; justify-content: center; margin: 16px 0; flex-wrap: wrap; }

/* ---------- Alert / info banner ---------- */
.banner {
  background: #fdf1e2;
  border: 1px solid #f0d9ac;
  color: #7a5a1e;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9rem;
  margin-bottom: 28px;
}
