/* ========================================================================
   Chalet Guyane 7 — Feuille de styles principale
   Design B « Soleil & Liberté »
   ========================================================================
   Sommaire :
   1. Variables et reset
   2. Navigation
   3. Hero
   4. Composants partages (pill, btn, section, split)
   5. Bandeau statistiques
   6. Galerie / carousel
   7. Equipement
   8. Tarifs et calendrier
   9. CTA et formulaire
   10. Footer
   11. Responsive (max-width: 800px)
   ======================================================================== */


/* 1. Variables et reset
   ---------------------------------------------------------------- */
:root {
  --soleil: #f4c95d;
  --soleil-2: #fce8a7;
  --sauge: #9caf88;
  --sauge-2: #d4ddc6;
  --terra: #d97757;
  --terra-dark: #b85f42;
  --creme: #fff8ed;
  --noir: #2a2a2a;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--creme);
  color: var(--noir);
  line-height: 1.6;
}

a { color: inherit; }


/* 2. Navigation
   ---------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,248,237,0.92); backdrop-filter: blur(10px);
  padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav .brand {
  font-family: 'DM Serif Display', serif;
  font-size: 24px; color: var(--terra);
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav ul { display: flex; gap: 26px; list-style: none; }
.nav a { color: var(--noir); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a:hover, .nav a.active { color: var(--terra); }

.langs { display: flex; gap: 6px; }
.lang {
  padding: 4px 12px; border-radius: 999px;
  font-size: 11px; cursor: pointer;
  background: white; border: 1px solid rgba(0,0,0,0.08);
  font-weight: 600;
}
.lang.active { background: var(--noir); color: white; border-color: var(--noir); }


/* 3. Hero
   ---------------------------------------------------------------- */
.hero {
  position: relative; padding: 80px 40px 110px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: var(--soleil); opacity: 0.45; z-index: 0;
}
.hero::after {
  content: ''; position: absolute; bottom: -120px; left: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: var(--sauge-2); opacity: 0.6; z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1; max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 70px; align-items: center;
}
.hero h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(44px, 6.5vw, 82px);
  line-height: 1; letter-spacing: -0.02em; margin-bottom: 26px;
}
.hero h1 em { color: var(--terra); }
.hero .lead {
  font-size: 19px; color: #444;
  max-width: 480px; margin-bottom: 34px; line-height: 1.5;
}
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .photo-wrap { position: relative; }
.hero .photo-wrap img {
  width: 100%; height: 600px; object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}
.hero .badge {
  position: absolute; bottom: 40px; left: -36px;
  background: var(--soleil); color: var(--noir);
  padding: 18px 26px; border-radius: 24px;
  font-weight: 600; font-size: 13px;
  transform: rotate(-4deg);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}
.hero .badge .num {
  font-family: 'DM Serif Display', serif;
  font-size: 32px; display: block; line-height: 1; margin-bottom: 4px;
}


/* 4. Composants partages
   ---------------------------------------------------------------- */
.pill {
  display: inline-block; padding: 7px 16px;
  background: var(--soleil-2); color: var(--terra-dark);
  border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 24px;
}

.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer; border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.12); }
.btn-primary { background: var(--terra); color: white; }
.btn-ghost { background: white; color: var(--noir); border: 1px solid rgba(0,0,0,0.12); }

.section { padding: 110px 40px; max-width: 1240px; margin: 0 auto; }
.section h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.05; margin-bottom: 24px; letter-spacing: -0.01em;
}

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.split img { width: 100%; height: 540px; object-fit: cover; border-radius: 24px; }
.split p { font-size: 17px; color: #444; margin-bottom: 14px; }

.link-line { margin-top: 14px; }
.external-link {
  color: var(--terra); font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px;
}
.note-italic {
  font-style: italic; color: var(--terra);
  font-weight: 500; margin-top: 18px;
}


/* 5. Bandeau statistiques
   ---------------------------------------------------------------- */
.stats-row {
  background: white; padding: 36px 40px;
  display: flex; justify-content: center; gap: 56px; flex-wrap: wrap;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.stats-row .stat { text-align: center; }
.stats-row .stat .lbl { font-size: 14px; font-weight: 600; }
.stats-row .stat .sub { font-size: 12px; color: #888; margin-top: 2px; }


/* 6. Galerie / carousel
   ---------------------------------------------------------------- */
.gallery-bg {
  background: var(--creme); padding: 110px 0;
  position: relative; overflow: hidden;
}
.gallery-head {
  max-width: 1240px; margin: 0 auto 50px; padding: 0 40px;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 20px; flex-wrap: wrap;
}
.gallery-head h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(34px, 4.2vw, 50px);
  letter-spacing: -0.01em; line-height: 1.05;
}
.gallery-head .pill { margin-bottom: 14px; }
.gallery-controls { display: flex; gap: 10px; }
.gallery-arrow {
  width: 50px; height: 50px; border-radius: 999px;
  background: white; border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer; font-size: 20px; color: var(--noir);
  transition: all 0.15s; font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center;
}
.gallery-arrow:hover {
  background: var(--soleil); border-color: var(--soleil);
  transform: translateY(-2px);
}
.gallery-track {
  display: flex; gap: 24px;
  padding: 10px 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 40px;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-card {
  flex: 0 0 auto;
  width: clamp(280px, 50vw, 540px);
  scroll-snap-align: start;
  border-radius: 24px;
  overflow: hidden;
  background: var(--sauge-2);
  position: relative;
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}
.gallery-card:hover { transform: translateY(-4px); }
.gallery-card img {
  width: 100%; height: 420px; object-fit: cover; display: block;
}
.gallery-card .label {
  position: absolute; bottom: 18px; left: 18px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(6px);
  padding: 8px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--noir);
}


/* 7. Equipement
   ---------------------------------------------------------------- */
.equip-bg {
  background: var(--sauge-2);
  padding: 110px 40px;
  position: relative; overflow: hidden;
}
.equip-bg::before {
  content: ''; position: absolute; top: 60px; right: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: var(--soleil); opacity: 0.35;
}
.equip-bg-inner { max-width: 1240px; margin: 0 auto; position: relative; }
.equip-bg h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(34px, 4vw, 50px);
  text-align: center; margin-bottom: 60px; letter-spacing: -0.01em;
}
.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.equip-card {
  background: white; padding: 36px; border-radius: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.equip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.equip-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 26px; margin-bottom: 14px;
}
.equip-card ul { list-style: none; font-size: 15px; }
.equip-card li {
  padding: 7px 0; color: #555;
  padding-left: 18px; position: relative;
}
.equip-card li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--terra);
}


/* 7b. Region (alentours)
   ---------------------------------------------------------------- */
.region-head { text-align: center; margin-bottom: 56px; }
.region-head h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(34px, 4.2vw, 50px);
  margin-bottom: 18px; letter-spacing: -0.01em;
}
.region-head .lead { color: #555; font-size: 17px; max-width: 620px; margin: 0 auto; }

.region-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.region-card {
  background: white; padding: 32px; border-radius: 24px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.region-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.region-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 22px; margin-bottom: 12px; color: var(--terra);
}
.region-card p { color: #555; font-size: 15px; line-height: 1.65; }


/* 7c. Infos pratiques
   ---------------------------------------------------------------- */
.infos-bg {
  background: var(--sauge-2);
  padding: 110px 40px;
  position: relative; overflow: hidden;
}
.infos-bg::before {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: var(--soleil); opacity: 0.32;
}
.infos-inner { max-width: 1240px; margin: 0 auto; position: relative; }
.infos-head { text-align: center; margin-bottom: 60px; }
.infos-head h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -0.01em;
}
.infos-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.infos-card {
  background: white; padding: 36px; border-radius: 24px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.infos-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}
.infos-card h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px; margin-bottom: 16px; color: var(--terra);
}
.infos-card ul { list-style: none; font-size: 15px; }
.infos-card li {
  padding: 8px 0; padding-left: 18px;
  position: relative; color: #555; line-height: 1.6;
}
.infos-card li::before {
  content: ''; position: absolute; left: 0; top: 16px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terra);
}
.infos-card strong { color: var(--noir); font-weight: 600; }


/* 8. Tarifs et calendrier
   ---------------------------------------------------------------- */
.prix-bg {
  background: linear-gradient(135deg, var(--soleil-2) 0%, var(--creme) 100%);
  padding: 110px 40px;
  position: relative; overflow: hidden;
}
.prix-inner { max-width: 1100px; margin: 0 auto; text-align: center; position: relative; }
.prix-inner h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 4.5vw, 54px);
  margin-bottom: 16px; letter-spacing: -0.01em;
}
.prix-inner .sub { color: #555; margin-bottom: 50px; font-size: 17px; }
.prix-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  text-align: left;
}
.prix-card {
  background: white; padding: 42px; border-radius: 24px;
  position: relative; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}
.prix-card::before {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--soleil); opacity: 0.22;
}
.prix-card .month {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--terra); font-weight: 700;
}
.prix-card .amount {
  font-family: 'DM Serif Display', serif;
  font-size: 64px; line-height: 1; margin: 14px 0 4px;
  letter-spacing: -0.02em;
}
.prix-card .week { font-size: 15px; color: #777; margin-bottom: 24px; }
.prix-card ul {
  list-style: none; font-size: 14px;
  padding-top: 18px; border-top: 1px solid rgba(0,0,0,0.08);
}
.prix-card li { padding: 6px 0; padding-left: 16px; position: relative; }
.prix-card li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terra);
}

.prix-card-promo {
  background: var(--terra); color: white; border-radius: 12px;
  padding: 12px 18px; margin: 18px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.prix-card-promo .promo-label { font-size: 13px; font-weight: 600; }
.prix-card-promo .promo-amount {
  font-family: 'DM Serif Display', serif; font-size: 24px;
}

.calendar-wrap {
  margin-top: 60px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  max-width: 1100px; margin-left: auto; margin-right: auto;
}
.calendar {
  background: white; border-radius: 24px; padding: 28px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.06);
  text-align: left;
}
.cal-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 20px;
}
.cal-month { font-family: 'DM Serif Display', serif; font-size: 24px; }
.cal-rate {
  font-size: 12px; color: var(--terra); font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow {
  text-align: center; font-size: 11px; color: #999;
  font-weight: 600; padding: 6px 0;
}
.cal-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 13px; color: var(--noir);
  background: var(--soleil-2);
}
.cal-day.empty { background: transparent; }
.cal-day.booked {
  background: rgba(0,0,0,0.08); color: rgba(0,0,0,0.4);
  text-decoration: line-through;
}
.cal-legend {
  display: flex; gap: 22px; justify-content: center;
  margin-top: 32px; font-size: 13px; color: #666;
}
.cal-legend-item { display: flex; align-items: center; gap: 8px; }
.cal-legend-swatch { width: 16px; height: 16px; border-radius: 5px; }
.cal-legend-swatch.libre { background: var(--soleil-2); }
.cal-legend-swatch.occupe { background: rgba(0,0,0,0.08); }


/* 9. CTA et formulaire
   ---------------------------------------------------------------- */
.cta {
  background: var(--terra); color: white;
  padding: 110px 40px; text-align: center;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; top: -120px; left: -60px;
  width: 320px; height: 320px; border-radius: 50%;
  background: var(--soleil); opacity: 0.32;
}
.cta::after {
  content: ''; position: absolute; bottom: -100px; right: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: var(--sauge); opacity: 0.4;
}
.cta-inner { position: relative; max-width: 900px; margin: 0 auto; }
.cta h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(38px, 4.5vw, 56px);
  margin-bottom: 22px; line-height: 1.05; letter-spacing: -0.01em;
}
.cta p { font-size: 18px; opacity: 0.94; margin-bottom: 28px; line-height: 1.55; }
.cta .btn-primary { background: white; color: var(--terra); }

.form-bg { background: var(--creme); padding: 110px 40px; }
.form-inner { max-width: 760px; margin: 0 auto; }
.form-inner h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(34px, 4vw, 50px);
  text-align: center; line-height: 1.05;
  margin-bottom: 18px; letter-spacing: -0.01em;
}
.form-inner .lead {
  text-align: center; color: #555;
  margin-bottom: 44px; font-size: 17px;
}
.form-card {
  background: white; border-radius: 28px; padding: 48px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin-bottom: 18px;
}
.form-field-full { grid-column: 1 / -1; }
.form-field label {
  display: block; font-size: 13px; font-weight: 600;
  margin-bottom: 7px; color: #333;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid rgba(0,0,0,0.12); border-radius: 14px;
  font-family: inherit; font-size: 15px;
  background: var(--creme); color: var(--noir);
  transition: border-color 0.15s, background 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--terra); background: white;
}
.form-field textarea { min-height: 130px; resize: vertical; }

.form-honeypot {
  position: absolute !important; left: -9999px;
  width: 1px; height: 1px;
}

.form-submit { display: flex; justify-content: flex-end; margin-top: 24px; }
.form-submit button {
  padding: 15px 32px; border-radius: 999px; border: none;
  background: var(--terra); color: white;
  font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.form-submit button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.12);
}

.form-banner {
  padding: 18px 24px; border-radius: 16px; margin-bottom: 28px;
  font-size: 15px; text-align: center; font-weight: 500;
}
.form-banner.ok { background: var(--sauge-2); color: #2d4a3e; }
.form-banner.err { background: #fce4dc; color: #b85f42; }


/* 10. Footer
   ---------------------------------------------------------------- */
footer {
  background: var(--noir); color: rgba(255,255,255,0.7);
  padding: 60px 40px 40px; text-align: center;
  font-size: 14px; line-height: 1.7;
}
footer .brand {
  font-family: 'DM Serif Display', serif;
  color: var(--soleil); font-size: 28px; margin-bottom: 18px;
}
.footer-contacts {
  display: flex; gap: 60px; justify-content: center; flex-wrap: wrap;
  margin-top: 32px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-contact { text-align: center; max-width: 320px; }
.footer-contact-label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--soleil); margin-bottom: 8px; font-weight: 700;
}
.footer-contact-name { color: white; font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.footer-contact-info { font-size: 13px; line-height: 1.7; }
.footer-contact-info a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-contact-info a:hover { color: var(--soleil); }


/* 11. Responsive
   ---------------------------------------------------------------- */
@media (max-width: 800px) {
  .nav ul { display: none; }
  .hero-inner,
  .split,
  .equip-grid,
  .region-grid,
  .infos-grid,
  .prix-cards { grid-template-columns: 1fr; gap: 40px; }
  .hero .photo-wrap img,
  .split img { height: 320px; }
  .hero { padding: 40px 24px 60px; }
  .section,
  .equip-bg,
  .infos-bg,
  .prix-bg,
  .cta { padding: 60px 24px; }
  .gallery-bg { padding: 60px 0; }
  .gallery-head { padding: 0 24px; margin-bottom: 30px; }
  .gallery-track { padding: 10px 24px; gap: 16px; }
  .gallery-card { width: 80vw; }
  .gallery-card img { height: 320px; }
  .hero .badge { left: 20px; }
  .form-bg { padding: 60px 20px; }
  .form-card { padding: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }
  .calendar-wrap { grid-template-columns: 1fr 1fr; gap: 20px; }
}
