/* ============================================================
   Vacances Kalamata — Juillet 2026
   Style : Méditerranéen chic · Mobile-first (iPhone)
   ============================================================ */

:root {
  /* Palette mer Égée */
  --aegean-deep: #0a3d56;
  --aegean: #15688f;
  --aegean-light: #2a89b8;
  --foam: #eaf4f8;
  --foam-soft: #f6fbfd;
  --sand: #f4ecdd;
  --gold: #c9a227;
  --gold-soft: #dcc06a;
  --terracotta: #c8714e;
  --ink: #1f2d35;
  --ink-soft: #4a5a64;
  --line: #dfe7eb;
  --white: #ffffff;

  --maxw: 920px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px -12px rgba(10, 61, 86, 0.28);
  --shadow-soft: 0 4px 18px -8px rgba(10, 61, 86, 0.22);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--foam-soft);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--aegean); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 11px 22px;
}
.nav__brand { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; white-space: nowrap; }
.nav__links {
  margin-left: auto;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav__links::-webkit-scrollbar { display: none; }
.nav__links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.nav__links a:hover, .nav__links a:focus { background: var(--foam); color: var(--aegean-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(10,61,86,0.15) 0%, rgba(10,61,86,0.55) 60%, rgba(10,61,86,0.85) 100%),
    radial-gradient(120% 90% at 70% 10%, #54b0d4 0%, #1f7aa6 38%, #0a3d56 100%);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10,61,86,0.10) 0%, rgba(10,61,86,0.45) 55%, rgba(8,48,68,0.88) 100%);
}
.hero__content { position: relative; z-index: 2; padding-bottom: 56px; padding-top: 90px; }
.hero__flag { font-size: 2.4rem; line-height: 1; }
.hero__title {
  font-size: clamp(2.6rem, 11vw, 4.6rem);
  margin: 0.18em 0 0.1em;
  font-weight: 600;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.hero__sub { font-size: clamp(1.05rem, 4.4vw, 1.4rem); font-weight: 500; opacity: 0.96; margin: 0; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
}
.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 1.4rem;
  opacity: 0.8;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { margin-bottom: 30px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 8px;
}
.section-head h2 { font-size: clamp(1.8rem, 6.5vw, 2.6rem); margin: 0 0 10px; color: var(--aegean-deep); }
.section-head p { color: var(--ink-soft); max-width: 60ch; margin: 0; }

.alt { background: linear-gradient(180deg, var(--foam) 0%, #ffffff 100%); }
.alt-sand { background: linear-gradient(180deg, var(--sand) 0%, #fbf6ec 100%); }

/* ---------- City intro ---------- */
.city-grid { display: grid; gap: 22px; }
.city-lead { font-size: 1.18rem; color: var(--ink); }
.city-lead .drop {
  float: left;
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: 0.8;
  padding: 8px 10px 0 0;
  color: var(--aegean);
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 8px;
}
.fact {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-soft);
}
.fact__ico { font-size: 1.5rem; }
.fact__k { font-weight: 700; color: var(--aegean-deep); margin-top: 4px; }
.fact__v { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Budget ---------- */
.budget-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 24px;
}
.stat {
  background: linear-gradient(150deg, var(--aegean) 0%, var(--aegean-deep) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.stat--gold { background: linear-gradient(150deg, var(--gold-soft) 0%, var(--gold) 100%); color: #3a2f08; }
.stat__big { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; line-height: 1; }
.stat__lab { font-size: 0.95rem; opacity: 0.92; margin-top: 6px; }

.cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.bcard {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}
.bcard__ico { font-size: 1.5rem; flex: 0 0 auto; }
.bcard__body { flex: 1 1 auto; min-width: 0; }
.bcard__name { font-weight: 600; }
.bcard__per { font-size: 0.85rem; color: var(--ink-soft); }
.bcard__tot { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--aegean-deep); white-space: nowrap; }
.bcard--total { background: var(--aegean-deep); color: var(--white); border-color: var(--aegean-deep); }
.bcard--total .bcard__tot, .bcard--total .bcard__per { color: var(--white); }
.bcard--total .bcard__per { opacity: 0.8; }

/* ---------- Callouts ---------- */
.callout {
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin: 14px 0;
  border-left: 4px solid var(--gold);
  background: #fff8e6;
  font-size: 0.97rem;
}
.callout--warn { border-left-color: var(--terracotta); background: #fdeee8; }
.callout--info { border-left-color: var(--aegean-light); background: var(--foam); }
.callout strong { color: var(--aegean-deep); }
.callout__title { font-weight: 700; display: block; margin-bottom: 4px; }

/* ---------- Transport timeline ---------- */
.legs { display: grid; gap: 14px; }
.leg {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}
.leg__head { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--aegean-deep); margin-bottom: 8px; }
.leg__head .tag {
  margin-left: auto;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--foam);
  color: var(--aegean);
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 700;
}
.leg ul { margin: 0; padding-left: 1.1em; }
.leg li { margin: 3px 0; }
.route {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--aegean-deep);
  margin-bottom: 6px;
}
.route .arrow { color: var(--gold); }

/* ---------- Stay cards ---------- */
.stays { display: grid; gap: 18px; }
.stay {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.stay--pick { border: 2px solid var(--gold); box-shadow: var(--shadow); }
.stay__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: radial-gradient(120% 120% at 30% 20%, #57b1d3, #15688f 70%, #0a3d56);
}
.stay__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stay__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: #3a2f08;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 11px;
  border-radius: 999px;
  z-index: 2;
}
.stay__status {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 5px 11px;
  border-radius: 999px;
  z-index: 2;
}
.stay__body { padding: 18px 20px; }
.stay__title { font-size: 1.25rem; margin: 0 0 4px; color: var(--aegean-deep); }
.stay__price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 12px; flex-wrap: wrap; }
.stay__price b { font-family: var(--font-display); font-size: 1.6rem; color: var(--aegean-deep); }
.stay__price span { color: var(--ink-soft); font-size: 0.9rem; }
.stay__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pill { background: var(--foam); color: var(--aegean-deep); font-size: 0.82rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.pros-cons { display: grid; gap: 6px; font-size: 0.92rem; margin-bottom: 14px; }
.pros-cons .pro::before { content: "✓ "; color: #2e8b57; font-weight: 700; }
.pros-cons .con::before { content: "✕ "; color: var(--terracotta); font-weight: 700; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--aegean);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.95rem;
  transition: transform 0.15s, background 0.2s;
}
.btn:hover { background: var(--aegean-deep); transform: translateY(-1px); }
.stay--muted { opacity: 0.78; }

/* ---------- Day-by-day timeline ---------- */
.timeline { position: relative; }
.day {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
}
.day__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.day__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--aegean);
  padding: 4px 11px;
  border-radius: 999px;
}
.day__title { font-size: 1.2rem; margin: 0; color: var(--aegean-deep); }
.day ul { margin: 0; padding-left: 0; list-style: none; }
.day li { position: relative; padding-left: 26px; margin: 7px 0; }
.day li .t { font-weight: 700; color: var(--aegean); }
.day li::before {
  content: "";
  position: absolute;
  left: 6px; top: 11px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- Activities table → cards ---------- */
.acts { display: grid; grid-template-columns: 1fr; gap: 12px; }
.act {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}
.act__name { font-weight: 700; color: var(--aegean-deep); }
.act__note { font-size: 0.88rem; color: var(--ink-soft); grid-column: 1 / -1; }
.act__tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-items: start; }
.tagm { font-size: 0.78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tagm--free { background: #e3f4ea; color: #2e7d4f; }
.tagm--paid { background: var(--foam); color: var(--aegean); }
.tagm--dist { background: var(--sand); color: #8a6d2f; }

/* ---------- Checklist ---------- */
.check { display: grid; gap: 10px; }
.check__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  box-shadow: var(--shadow-soft);
}
.check__box {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 7px;
  border: 2px solid var(--line);
  margin-top: 2px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: var(--white);
}
.check__item--done .check__box { background: #2e8b57; border-color: #2e8b57; }
.check__item--done .check__box::after { content: "✓"; }
.check__item--done .check__txt { color: var(--ink-soft); }
.check__txt { font-size: 0.96rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--aegean-deep);
  color: rgba(255,255,255,0.86);
  text-align: center;
  padding: 46px 22px calc(46px + env(safe-area-inset-bottom));
}
.footer__title { font-family: var(--font-display); font-size: 1.6rem; color: var(--white); margin: 0 0 8px; }
.footer p { margin: 4px 0; font-size: 0.92rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero__cue { animation: none; }
}

/* ---------- Responsive (tablet / desktop) ---------- */
@media (min-width: 720px) {
  body { font-size: 18px; }
  section { padding: 84px 0; }
  .city-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
  .facts { margin-top: 0; }
  .budget-hero { grid-template-columns: 1fr 1fr; }
  .stays { grid-template-columns: 1fr 1fr; }
  .stay--pick { grid-column: 1 / -1; }
  .stay--pick .stay__body { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; align-items: start; }
  .stay--pick .stay__title, .stay--pick .stay__price { grid-column: 1 / -1; }
  .acts { grid-template-columns: 1fr 1fr; }
}
