/* ==========================================================================
   Location Vacances Naturistes , Leucate LP
   Brand tokens mirror location-vacances-soleil.com (theme "palmeria")
   Accent terracotta #b34a4a, Libre Baskerville display, Open Sans body.
   Light, warm Mediterranean theme.
   ========================================================================== */

:root {
  /* Brand terracotta scale (accent, pulled from theme style.css) */
  --brand-100: #f7ecec;
  --brand-200: #eccfcf;
  --brand-300: #d99a9a;
  --brand-400: #c56d6d;
  --brand-500: #b34a4a; /* primary, links/buttons on the reference site */
  --brand-600: #9e3d3d;
  --brand-700: #843232;

  /* Warm neutrals */
  --sand-50: #faf6f0;
  --sand-100: #f4ede3;
  --sand-200: #ece2d4;

  /* Ink / greys (from theme style.css) */
  --ink: #2c2c2c;
  --ink-soft: #3e3f46;
  --muted: #6c7080;
  --muted-soft: #8a8f9c;
  --line: #e5ddd1;
  --white: #ffffff;

  /* Sea accent for hero visual only (decorative gradient, not a brand claim) */
  --sea-1: #7fb2c4;
  --sea-2: #4f8ba0;

  /* Typography */
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-body: "Open Sans", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1160px;
  --section-pad-y: 88px;
  --section-pad-y-tight: 64px;

  /* Radii / shadows */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 10px 30px rgba(60, 40, 30, 0.10);
  --shadow-elevated: 0 20px 50px rgba(60, 40, 30, 0.18);
}

/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-500); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--brand-700); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  line-height: 1.2;
}
h1 { font-size: clamp(32px, 4.8vw, 50px); line-height: 1.12; }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-600);
  background: var(--brand-100);
  border: 1px solid var(--brand-200);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ============ Buttons ============ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  text-decoration: none;
  min-height: 48px;
  white-space: nowrap;
}
.button .arrow { transition: transform 0.15s ease; }
.button:hover .arrow { transform: translateX(3px); }

.button--primary { background: var(--brand-500); color: var(--white); }
.button--primary:hover { background: var(--brand-700); text-decoration: none; color: var(--white); }

.button--outline {
  background: transparent;
  color: var(--brand-600);
  border-color: var(--brand-300);
}
.button--outline:hover { background: var(--brand-100); text-decoration: none; color: var(--brand-700); }

.button--light {
  background: var(--white);
  color: var(--brand-600);
  border-color: var(--white);
}
.button--light:hover { background: var(--sand-100); text-decoration: none; color: var(--brand-700); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--brand-600);
}
.text-link:hover .arrow { transform: translateX(3px); }
.text-link:hover { color: var(--brand-700); }

/* ============ Top nav ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px;
  height: 74px;
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.nav__brand:hover { text-decoration: none; color: var(--ink); }
.nav__brand .sun {
  width: 22px; height: 22px; flex: 0 0 auto;
  color: var(--brand-500);
}
.nav__links { display: flex; gap: 26px; list-style: none; padding: 0; margin: 0; }
.nav__links a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 600;
}
.nav__links a:hover { color: var(--brand-600); text-decoration: none; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__cta .nav__phone { color: var(--ink-soft); font-size: 15px; font-weight: 700; }
.nav__cta .nav__phone:hover { color: var(--brand-600); text-decoration: none; }
.nav__cta .button { padding: 10px 18px; font-size: 15px; min-height: 42px; }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__cta .nav__phone { display: none; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background:
    radial-gradient(680px 420px at 88% -10%, var(--brand-100), transparent 70%),
    linear-gradient(180deg, var(--sand-50) 0%, var(--white) 100%);
  color: var(--ink-soft);
  padding: 56px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { margin-bottom: 18px; }
.hero__sub {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 26px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }

/* Reservation request form (above the fold) */
.book-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px;
  max-width: 560px;
}
.book-form__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 14px;
}
.book-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.book-form label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 5px; }
.book-form input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--sand-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 12px;
  min-height: 46px;
}
.book-form input:focus { outline: none; border-color: var(--brand-400); background: var(--white); }
.book-form .button { width: 100%; margin-top: 4px; }
.book-form__note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }

.hero__visual { position: relative; }
.villa-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  border: 1px solid var(--line);
  background: var(--white);
}
.villa-card__sky {
  height: 190px;
  background:
    radial-gradient(120px 120px at 82% 30%, rgba(255, 214, 130, 0.95), rgba(255, 214, 130, 0) 70%),
    linear-gradient(180deg, #bfe0ea 0%, var(--sea-1) 55%, var(--sea-2) 100%);
  position: relative;
}
.villa-card__sky::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 42%;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.28));
}
.villa-card__tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,0.92);
  color: var(--brand-600);
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--brand-200);
}
.villa-card__body { padding: 22px; }
.villa-card__body h3 { font-size: 20px; margin: 0 0 4px; }
.villa-card__loc { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.villa-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.villa-fact {
  display: flex; align-items: center; gap: 10px;
  background: var(--sand-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
}
.villa-fact svg { width: 18px; height: 18px; color: var(--brand-500); flex: 0 0 auto; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { order: -1; }
}

/* ============ Reassurance strip / fact tiles ============ */
.stat-banner {
  background: var(--brand-500);
  color: var(--white);
  padding: 40px 0;
}
.stat-banner__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.stat { text-align: center; }
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 6px;
}
.stat__label { font-size: 13.5px; color: rgba(255,255,255,0.88); line-height: 1.45; }
@media (max-width: 720px) {
  .stat-banner__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
}

/* ============ Section base ============ */
.section { padding: var(--section-pad-y) 0; }
.section--sand { background: var(--sand-50); }
.section--tight { padding: var(--section-pad-y-tight) 0; }
.section__intro { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section__intro p { font-size: 18px; color: var(--muted); }

/* ============ Intro / problem ============ */
.intro__layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.intro__copy p { font-size: 18px; color: var(--ink-soft); }
.stat-callout {
  background: var(--brand-100);
  border: 1px solid var(--brand-200);
  border-left: 4px solid var(--brand-500);
  border-radius: var(--radius-md);
  padding: 26px;
}
.stat-callout__big {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1.05;
  font-weight: 700;
  color: var(--brand-600);
  margin-bottom: 10px;
}
.stat-callout p { margin: 0; font-size: 16px; color: var(--ink-soft); }
.stat-callout p strong { color: var(--ink); }
.stat-callout__source { font-size: 12px; color: var(--muted); margin-top: 12px; display: block; }
@media (max-width: 880px) {
  .intro__layout { grid-template-columns: 1fr; gap: 28px; }
}

/* ============ Alternating feature blocks ============ */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature + .feature { margin-top: 72px; }
.feature--reverse .feature__media { order: -1; }
.feature__copy p { color: var(--ink-soft); }
.feature__media {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.feature__bullets { list-style: none; padding: 0; margin: 22px 0 0; }
.feature__bullets li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.feature__bullets li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 18px; height: 18px;
  background: var(--brand-500);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 10 10'><path d='M2 5l2 2 4-5' stroke='white' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: center;
}
@media (max-width: 880px) {
  .feature, .feature--reverse { grid-template-columns: 1fr; gap: 28px; }
  .feature + .feature { margin-top: 48px; }
  .feature--reverse .feature__media { order: 0; }
}

/* ============ Amenities grid (inside feature__media) ============ */
.amenity-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.amenity-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
}
.amenity-list svg { width: 20px; height: 20px; color: var(--brand-500); flex: 0 0 auto; }
@media (max-width: 520px) { .amenity-list { grid-template-columns: 1fr; } }

/* ============ Outcome / reassurance cards ============ */
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.outcome {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.outcome__icon {
  width: 46px; height: 46px;
  background: var(--brand-100);
  border: 1px solid var(--brand-200);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--brand-500);
}
.outcome h3 { font-size: 20px; }
.outcome p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 880px) { .outcomes { grid-template-columns: 1fr; } }

/* ============ How to book steps ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--sand-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.step__num {
  font-family: var(--font-display);
  font-weight: 700; font-size: 22px;
  color: var(--white); background: var(--brand-500);
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* ============ FAQ ============ */
.faq { max-width: 840px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq details[open] summary { color: var(--brand-600); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 4px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--brand-500);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

/* ============ Final CTA band ============ */
.cta-band {
  background:
    radial-gradient(700px 360px at 20% 120%, rgba(255,214,130,0.18), transparent 60%),
    linear-gradient(180deg, var(--brand-500) 0%, var(--brand-700) 100%);
  color: var(--white);
  text-align: center;
  padding: 84px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.9); font-size: 18px; max-width: 620px; margin: 0 auto 28px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band__trust { margin-top: 26px; font-size: 14px; color: rgba(255,255,255,0.8); }
.cta-band__trust a { color: var(--white); text-decoration: underline; }

/* ============ Footer ============ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  padding: 64px 0 32px;
}
.footer__cols {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px 40px;
  margin-bottom: 44px;
}
.footer__brand {
  font-family: var(--font-display);
  font-weight: 700; font-size: 19px;
  color: var(--white); margin: 0 0 12px;
  display: inline-flex; align-items: center; gap: 10px;
}
.footer__brand .sun { width: 22px; height: 22px; color: var(--brand-400); }
.footer__brand-col p { font-size: 14.5px; color: rgba(255,255,255,0.62); margin: 0 0 8px; max-width: 320px; }
.footer__brand-col a { color: rgba(255,255,255,0.85); }
.footer__col h4 {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--white);
  margin: 0 0 16px;
  font-weight: 700;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { color: rgba(255,255,255,0.72); font-size: 14.5px; }
.footer__col a:hover { color: var(--white); text-decoration: none; }
.footer__legal {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 22px 0 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer__legal a { color: rgba(255,255,255,0.7); margin-left: 16px; }
.footer__legal a:hover { color: var(--white); }
@media (max-width: 880px) {
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__brand-col { grid-column: span 2; }
}
@media (max-width: 520px) {
  .footer__cols { grid-template-columns: 1fr; }
  .footer__brand-col { grid-column: span 1; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
