/* ============================================================
   Gîte Les Cristaux — Saint-Gervais-les-Bains
   Style moderne, minimal, chaleureux
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter:wght@300;400;500&display=swap');

/* ——— Variables ——————————————————————————————— */
:root {
  --bg:          #FAFAF8;
  --bg-warm:     #F3EFE9;
  --border:      #E5E0D8;

  --forest:      #2C3E35;
  --forest-dark: #1E2E26;
  --copper:      #B87333;
  --copper-dark: #9A612A;

  --text:        #2D2926;
  --text-mid:    #6B6560;
  --text-light:  #A09890;

  --white: #FFFFFF;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, sans-serif;

  --max:    1080px;
  --gap:    clamp(1.25rem, 4vw, 2.5rem);
  --r:      3px;
  --ease:   0.3s ease;
  --shadow: 0 1px 3px rgba(44,62,53,.05), 0 6px 20px rgba(44,62,53,.07);
  --shadow-up: 0 4px 8px rgba(44,62,53,.08), 0 14px 36px rgba(44,62,53,.13);
}

/* ——— Reset ————————————————————————————————— */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font-family: inherit; }

/* ——— Container ———————————————————————————— */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gap);
}

/* ======================================================
   NAVIGATION
   ====================================================== */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 22px 0;
  transition: padding var(--ease), background var(--ease), box-shadow var(--ease);
}

.site-nav.is-solid {
  padding: 13px 0;
  background: rgba(250,250,248,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--border);
}

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

.nav-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}

.nav-logo-main {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: white;
  transition: color var(--ease);
}

.nav-logo-sub {
  font-size: 0.6rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  transition: color var(--ease);
}

.site-nav.is-solid .nav-logo-main { color: var(--forest); }
.site-nav.is-solid .nav-logo-sub  { color: var(--text-mid); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,.85);
  transition: color var(--ease);
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

.site-nav.is-solid .nav-links a { color: var(--text); }
.nav-links a:hover            { color: white; }
.site-nav.is-solid .nav-links a:hover { color: var(--forest); }

.nav-cta {
  display: inline-block;
  padding: 9px 20px;
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.4);
  color: white !important;
  border-radius: var(--r);
  transition: background var(--ease), border-color var(--ease);
}

.nav-cta:hover { background: rgba(255,255,255,.12); border-color: white; }
.site-nav.is-solid .nav-cta { border-color: var(--forest); color: var(--forest) !important; }
.site-nav.is-solid .nav-cta:hover { background: var(--forest); color: white !important; }
.site-nav.is-solid .nav-cta::after { display: none; }

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: white;
  transition: var(--ease);
}

.site-nav.is-solid .nav-burger span { background: var(--forest); }
.nav-burger.is-open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--forest);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.nav-drawer.is-open { display: flex; }

.nav-drawer a {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 300;
  letter-spacing: 3px;
  color: white;
  text-decoration: none;
  transition: color var(--ease);
}

.nav-drawer a:hover { color: var(--copper); }

/* ======================================================
   HERO — PAGE D'ACCUEIL
   ====================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--forest) center/cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    rgba(20,30,22,.58) 0%,
    rgba(20,30,22,.32) 55%,
    rgba(20,30,22,.62) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding-top: 90px;
  max-width: 640px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.67rem;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-bottom: 18px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--copper);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.hero h1 em {
  display: block;
  font-style: italic;
  font-size: .6em;
  letter-spacing: 3px;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
}

.hero-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,.8);
  line-height: 1.85;
  max-width: 420px;
  margin-bottom: 36px;
}

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

.hero-scroll {
  position: absolute;
  z-index: 1;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.45);
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,.2);
  overflow: hidden;
  position: relative;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,.55);
  animation: scrollDown 1.9s ease-in-out infinite;
}

@keyframes scrollDown { to { top: 100%; } }

/* ======================================================
   PAGE HERO — PAGES INTÉRIEURES
   ====================================================== */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  background: var(--forest) center/cover no-repeat;
  padding-bottom: 52px;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,30,22,.3) 0%, rgba(20,30,22,.68) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  color: white;
  padding-top: 100px;
}

.breadcrumb {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
}

.breadcrumb a {
  text-decoration: none;
  color: rgba(255,255,255,.55);
  transition: color var(--ease);
}

.breadcrumb a:hover { color: white; }

.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 2px;
}

/* ======================================================
   BOUTONS
   ====================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--r);
  transition: var(--ease);
  font-weight: 500;
}

.btn-copper {
  background: var(--copper);
  color: white;
}
.btn-copper:hover {
  background: var(--copper-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(184,115,51,.35);
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,.45);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.8);
}

.btn-forest {
  background: var(--forest);
  color: white;
}
.btn-forest:hover {
  background: var(--forest-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(44,62,53,.3);
}

/* ======================================================
   SECTIONS
   ====================================================== */
.section { padding: clamp(56px, 9vw, 96px) 0; }
.section-warm { background: var(--bg-warm); }
.section-dark  { background: var(--forest); color: white; }

/* En-tête de section */
.section-hd { margin-bottom: clamp(28px, 5vw, 52px); }
.section-hd.centered { text-align: center; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--copper);
}

h2.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--forest);
  letter-spacing: .5px;
}
.section-dark h2.section-title { color: white; }

.section-sub {
  margin-top: 12px;
  font-size: 0.93rem;
  color: var(--text-mid);
  max-width: 500px;
  line-height: 1.85;
}
.section-hd.centered .section-sub { margin-left: auto; margin-right: auto; }
.section-dark .section-sub { color: rgba(255,255,255,.65); }

/* ======================================================
   SECTION INTRO
   ====================================================== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.intro-text p {
  color: var(--text-mid);
  font-size: .95rem;
  line-height: 1.9;
  margin-bottom: 14px;
}

.intro-quote {
  margin-top: 28px;
  padding: 24px 28px;
  border-left: 2px solid var(--copper);
  background: var(--bg-warm);
  border-radius: 0 var(--r) var(--r) 0;
}

.intro-quote blockquote {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 10px;
}

.intro-quote cite {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
}

.intro-image {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.intro-image img { width: 100%; height: 100%; object-fit: cover; }

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 44px;
}

.stat-cell {
  background: var(--bg);
  padding: 24px 16px;
  text-align: center;
}

.stat-number {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 5px;
  font-weight: 300;
}

.stat-label {
  font-size: 0.67rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ======================================================
   CARTES GÎTES
   ====================================================== */
.gites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gite-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: var(--ease);
}

.gite-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-up);
  border-color: transparent;
}

.gite-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.gite-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.gite-card:hover .gite-card-img img { transform: scale(1.04); }

.gite-card-body { padding: 26px 28px; }

.gite-tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--copper);
  background: rgba(184,115,51,.08);
  padding: 3px 9px;
  border-radius: 2px;
  margin-bottom: 11px;
}

.gite-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--forest);
  margin-bottom: 13px;
}

.gite-card ul {
  list-style: none;
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 2.2;
}

.gite-card ul li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.gite-card ul li::before {
  content: '';
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--copper);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color var(--ease);
}

.card-link:hover { color: var(--copper); }

/* ======================================================
   ONGLETS (PRESTATIONS)
   ====================================================== */
.tabs { max-width: 660px; margin: 0 auto; }

.tabs-nav {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.tab-btn {
  padding: 11px 26px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  position: relative;
  transition: color var(--ease);
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transition: transform var(--ease);
}

.tab-btn.is-active       { color: var(--forest); }
.tab-btn.is-active::after,
.tab-btn:hover::after    { transform: scaleX(1); }
.tab-btn:hover           { color: var(--forest); }

.tab-panel { display: none; text-align: center; }
.tab-panel.is-active { display: block; animation: tabIn .3s ease; }

@keyframes tabIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tab-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.tab-panel p {
  color: var(--text-mid);
  line-height: 1.9;
  font-size: 0.93rem;
}

/* ======================================================
   ACTIVITÉS
   ====================================================== */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.activity-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  aspect-ratio: 4/3;
  text-decoration: none;
}

.activity-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.activity-item:hover img { transform: scale(1.07); }

.activity-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,30,22,.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.activity-label {
  color: white;
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ======================================================
   GALERIE PHOTOS
   ====================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.gallery-grid .g-wide { grid-column: span 2; }

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  cursor: pointer;
  background: var(--bg-warm);
  aspect-ratio: 4/3;
}

.gallery-grid .g-wide .gallery-item { aspect-ratio: unset; height: 100%; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

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

.gallery-caption {
  position: absolute;
  inset: 0;
  background: rgba(20,30,22,.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--ease);
  color: white;
  text-align: center;
  padding: 16px;
  gap: 4px;
}

.gallery-item:hover .gallery-caption { opacity: 1; }

.gallery-caption h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
}

.gallery-caption span {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .8;
}

/* ——— Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(14,22,16,.93);
  align-items: center;
  justify-content: center;
}

.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--r);
}

.lb-close {
  position: absolute;
  top: 18px; right: 22px;
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: var(--ease);
}

.lb-close:hover { color: white; transform: rotate(90deg); }

.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 11px 14px;
  border-radius: var(--r);
  transition: var(--ease);
}

.lb-btn:hover { background: rgba(255,255,255,.18); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }

/* ======================================================
   TARIFS
   ====================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 26px;
  background: white;
}

.pricing-card h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--forest);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 0.87rem;
  border-bottom: 1px solid var(--border);
}

.pricing-row:last-child { border-bottom: none; }
.pricing-row span   { color: var(--text-mid); }
.pricing-row strong { color: var(--forest); }

.pricing-note {
  margin-top: 11px;
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.7;
}

/* ======================================================
   BLOC CONTACT + CARTE
   ====================================================== */
.map-contact {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: 460px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.contact-panel {
  background: var(--forest);
  padding: 48px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.contact-panel h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 300;
  color: white;
}

.contact-item { display: flex; flex-direction: column; gap: 3px; }

.ci-label {
  font-size: 0.62rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

.ci-value {
  font-size: 0.92rem;
  color: white;
  text-decoration: none;
  transition: color var(--ease);
  line-height: 1.65;
}
.ci-value:hover { color: var(--copper); }

.contact-social {
  display: flex;
  gap: 10px;
}

.contact-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: 0.83rem;
  transition: var(--ease);
}

.contact-social a:hover {
  border-color: white;
  color: white;
  background: rgba(255,255,255,.1);
}

.map-panel { background: var(--bg-warm); }
.map-panel iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  min-height: 280px;
}

/* ======================================================
   FORMULAIRE DE CONTACT
   ====================================================== */
.contact-form-wrap { max-width: 640px; margin: 0 auto; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 7px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  background: white;
  font-size: 0.9rem;
  color: var(--text);
  border-radius: var(--r);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(44,62,53,.08);
}

.form-group textarea { min-height: 130px; resize: vertical; }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ======================================================
   FAQ
   ====================================================== */
.faq-list { max-width: 700px; margin: 0 auto; }

.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--forest);
  transition: color var(--ease);
}

.faq-q:hover { color: var(--copper); }

.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: var(--copper);
  transition: transform var(--ease), background var(--ease), border-color var(--ease);
  line-height: 1;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  background: var(--copper);
  color: white;
  border-color: var(--copper);
}

/* Accordion avec grid pour transition fluide */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .36s ease;
}

.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

.faq-a-inner { overflow: hidden; }

.faq-a-inner p {
  padding: 0 0 18px;
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.9;
}

/* ======================================================
   FOOTER
   ====================================================== */
footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,.65);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}

.footer-brand .logo-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: white;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.84rem;
  line-height: 1.85;
  max-width: 270px;
}

.footer-col h4 {
  font-size: 0.62rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 0.84rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color var(--ease);
}

.footer-col a:hover { color: white; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.73rem; opacity: .4; letter-spacing: .5px; }

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: 0.8rem;
  transition: var(--ease);
}

.footer-social a:hover {
  border-color: white;
  color: white;
  background: rgba(255,255,255,.08);
}

/* ======================================================
   ANIMATIONS SCROLL
   ====================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ======================================================
   RESPONSIVE
   ====================================================== */
@media (max-width: 1024px) {
  .intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .intro-image { aspect-ratio: 16/9; max-height: 360px; }
  .map-contact { grid-template-columns: 1fr; }
  .contact-panel { padding: 36px 28px; }
}

@media (max-width: 768px) {
  .nav-links  { display: none; }
  .nav-burger { display: flex; }
  .gites-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .g-wide { grid-column: span 1; }
  .gallery-item, .gallery-grid .g-wide .gallery-item { aspect-ratio: 4/3; height: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .tabs-nav { flex-direction: column; align-items: stretch; }
  .tab-btn { text-align: left; border-bottom: 1px solid var(--border); padding: 12px 16px; }
  .tab-btn::after { bottom: 0; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.4rem; }
  .hero-actions { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: flex-start; }
  .activities-grid { grid-template-columns: 1fr; }
}
