/* ==========================================================
   La Calèche — Les Gîtes du Médoc
   Maquette réalisée par M.Création · Proposition de refonte
   ========================================================== */

:root {
  --wine: #6B1F2E;
  --wine-dark: #4A1520;
  --wine-soft: #8E3444;
  --gold: #C9A961;
  --gold-soft: #E5D5AC;
  --cream: #F8F3EA;
  --ivory: #FDFAF3;
  --ink: #1F1A17;
  --slate: #4A4340;
  --mute: #7D746C;
  --line: #E8DFD0;
  --olive: #4A5D3A;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', -apple-system, 'Helvetica Neue', sans-serif;

  --shadow-sm: 0 2px 12px rgba(31, 26, 23, .06);
  --shadow-md: 0 8px 32px rgba(31, 26, 23, .10);
  --shadow-lg: 0 20px 60px rgba(31, 26, 23, .15);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 400; }
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 400; }
h3 { font-size: 1.65rem; font-weight: 500; }
h4 { font-size: 1.2rem; font-weight: 500; }

p { color: var(--slate); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.eyebrow.on-dark { color: var(--gold-soft); }

.sec-head { text-align: center; margin-bottom: 60px; }
.sec-head p { max-width: 620px; margin: 18px auto 0; font-size: 1.05rem; }

.divider {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 20px auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s ease;
  border-radius: 0;
}

.btn-primary {
  background: var(--wine);
  color: var(--ivory);
  border-color: var(--wine);
}
.btn-primary:hover {
  background: var(--wine-dark);
  border-color: var(--wine-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--ivory);
}
.btn-ghost:hover {
  background: var(--ivory);
  color: var(--wine);
}

.btn-outline {
  background: transparent;
  color: var(--wine);
  border-color: var(--wine);
}
.btn-outline:hover {
  background: var(--wine);
  color: var(--ivory);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--wine);
  color: var(--ivory);
  border-color: var(--wine);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: all .35s ease;
  background: transparent;
}
.header.scrolled {
  background: rgba(253, 250, 243, .96);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(31, 26, 23, .05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ivory);
  transition: color .35s ease;
}
.header.scrolled .logo { color: var(--ink); }

.logo-mark {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  overflow: hidden;
  padding: 6px;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text .brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}
.logo-text .sub {
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: .8;
}

.nav {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav a {
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ivory);
  position: relative;
  transition: color .3s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -6px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width .3s ease;
}
.nav a:hover::after,
.nav a.active::after { width: 100%; }

.header.scrolled .nav a { color: var(--ink); }
.nav a:hover { color: var(--gold); }

.header .btn {
  padding: 12px 24px;
  font-size: .75rem;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.burger span {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--ivory);
  transition: all .3s ease;
}
.header.scrolled .burger span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--wine-dark) 0%, var(--wine) 60%, var(--wine-soft) 100%);
  color: var(--ivory);
  overflow: hidden;
}

.hero-bg { display: none; }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 169, 97, .15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(74, 21, 32, .4), transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 140px 0 100px;
  width: 100%;
}

.hero-content {
  max-width: 780px;
}

.hero h1 {
  color: var(--ivory);
  margin: 20px 0 28px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero-tag {
  font-size: 1.15rem;
  color: rgba(253, 250, 243, .85);
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 44px;
  line-height: 1.7;
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(253, 250, 243, .6);
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}
.hero-scroll::after {
  content: '';
  width: 1px; height: 40px;
  background: rgba(253, 250, 243, .4);
  animation: scrollHint 2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: scaleY(1); opacity: .4; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

/* ---------- Band chiffres ---------- */
.band {
  background: var(--cream);
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}
.band-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.band-item .num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 400;
  color: var(--wine);
  line-height: 1;
  margin-bottom: 10px;
}
.band-item .label {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ---------- Sections ---------- */
section { padding: 110px 0; }
section.bg-cream { background: var(--cream); }
section.bg-wine {
  background: linear-gradient(180deg, var(--wine-dark), var(--wine));
  color: var(--ivory);
}
section.bg-wine p { color: rgba(253, 250, 243, .85); }
section.bg-wine h2 { color: var(--ivory); }

/* ---------- Split (about / lieu) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split-photo {
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: var(--ivory);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  padding: 24px;
  border: 1px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.split-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(31, 26, 23, .55));
  pointer-events: none;
}
.split-photo.placeholder {
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(107, 31, 46, .04) 12px, rgba(107, 31, 46, .04) 24px),
    linear-gradient(135deg, var(--gold-soft), #E8D9B8);
  color: var(--wine);
  text-align: center;
}
.split-photo.placeholder::after {
  background: none;
  border: 1px dashed rgba(107, 31, 46, .35);
  inset: 12px;
}
.split-content h2 { margin-bottom: 24px; }
.split-content p { margin-bottom: 20px; font-size: 1.05rem; }
.split-content .sig {
  margin-top: 30px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--wine);
}

/* ---------- Gîtes grid ---------- */
.gites-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.gite-card {
  background: var(--ivory);
  border: 1px solid var(--line);
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.gite-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.gite-card .photo {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--gold);
  position: relative;
}
.gite-card .photo.placeholder {
  background:
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(107, 31, 46, .04) 10px, rgba(107, 31, 46, .04) 20px),
    linear-gradient(135deg, var(--gold-soft), #E8D9B8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wine);
  font-family: var(--serif);
  font-style: italic;
  font-size: .92rem;
  padding: 16px;
  text-align: center;
}
.gite-card .photo.placeholder::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(107, 31, 46, .3);
  pointer-events: none;
}
.gite-card .body {
  padding: 26px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.gite-card .cap {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.gite-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--wine);
}
.gite-card p {
  font-size: .92rem;
  margin-bottom: 18px;
  flex: 1;
}
.gite-card .price {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--ink);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.gite-card .price span {
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-left: 6px;
}

/* ---------- Domaine (équipements) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
  margin-top: 20px;
}
.feature {
  text-align: center;
  padding: 30px 20px;
}
.feature-icon {
  width: 68px; height: 68px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  transition: all .3s ease;
}
.feature:hover .feature-icon {
  background: var(--gold);
  color: var(--wine);
  transform: rotate(-5deg);
}
.feature h4 {
  color: var(--ivory);
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.15rem;
}
.feature p {
  font-size: .9rem;
  color: rgba(253, 250, 243, .7);
}

/* ---------- Activités (à proximité) ---------- */
.activities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.activity {
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  transition: all .3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.activity:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}
.activity-photo {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.activity-photo.placeholder {
  background:
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(107, 31, 46, .04) 10px, rgba(107, 31, 46, .04) 20px),
    linear-gradient(135deg, var(--gold-soft), #E8D9B8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wine);
  font-family: var(--serif);
  font-style: italic;
  font-size: .88rem;
  padding: 20px;
  text-align: center;
  border-bottom-color: var(--gold);
}
.activity-photo.placeholder::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(107, 31, 46, .3);
  pointer-events: none;
}
.activity-body {
  padding: 30px 28px;
}
.activity h4 {
  color: var(--wine);
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 1.3rem;
}
.activity p {
  font-size: .95rem;
}

/* ---------- Avis / témoignages ---------- */
.testis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testi {
  background: var(--ivory);
  padding: 40px 34px;
  border: 1px solid var(--line);
  position: relative;
}
.testi::before {
  content: '“';
  position: absolute;
  top: -20px; left: 24px;
  font-family: var(--serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--gold);
  opacity: .5;
}
.testi .stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 4px;
  margin-bottom: 16px;
}
.testi .quote {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 24px;
}
.testi .author {
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute);
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.testi .author strong {
  color: var(--wine);
  font-weight: 500;
}

.reviews-badge {
  text-align: center;
  margin-top: 60px;
  padding: 36px;
  background: var(--cream);
  border: 1px solid var(--line);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.reviews-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.review-mini {
  text-align: center;
}
.review-mini a {
  display: block;
  transition: transform .25s ease;
}
.review-mini a:hover { transform: translateY(-3px); }
.review-mini .platform {
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 6px;
}
.review-mini .score {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--wine);
  font-weight: 500;
}
.review-mini .count {
  font-size: .78rem;
  color: var(--mute);
  margin-top: 2px;
}
@media (max-width: 600px) {
  .reviews-badges-grid { grid-template-columns: 1fr; gap: 16px; }
}
.reviews-badge .stars {
  color: var(--gold);
  font-size: 1.6rem;
  letter-spacing: 6px;
  margin-bottom: 10px;
}
.reviews-badge strong {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--wine);
  font-weight: 500;
}
.reviews-badge span {
  display: block;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 8px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--wine);
  color: var(--ivory);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(201, 169, 97, .12), transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(74, 21, 32, .4), transparent 50%);
}
.cta-band-inner {
  position: relative;
  z-index: 2;
}
.cta-band h2 { color: var(--ivory); margin-bottom: 20px; }
.cta-band p {
  color: rgba(253, 250, 243, .85);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact-line {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.contact-line .ico {
  width: 44px; height: 44px;
  min-width: 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.1rem;
}
.contact-line .lbl {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 4px;
}
.contact-line .val {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--wine);
}
.contact-line .val a:hover { color: var(--gold); }

.contact-map {
  aspect-ratio: 1/1;
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
  background: var(--cream);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(1.1) contrast(1.02);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(253, 250, 243, .7);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer .logo { color: var(--ivory); margin-bottom: 20px; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 400;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: .92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-col p { font-size: .92rem; margin-bottom: 8px; color: rgba(253, 250, 243, .6); }

.footer-bottom {
  border-top: 1px solid rgba(253, 250, 243, .1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: rgba(253, 250, 243, .5);
}
.footer-bottom .credit {
  font-style: italic;
}
.footer-bottom .credit strong {
  color: var(--gold);
  font-weight: 400;
}

/* ---------- Sub-hero (pages secondaires) ---------- */
.subhero {
  min-height: 60vh;
  background: linear-gradient(135deg, var(--wine-dark), var(--wine));
  color: var(--ivory);
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.subhero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(201, 169, 97, .12), transparent 60%);
}
.subhero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}
.subhero h1 { color: var(--ivory); margin: 16px 0 20px; }
.subhero p {
  color: rgba(253, 250, 243, .85);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Fiche gîte détaillée (page gites) ---------- */
.gite-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--line);
}
.gite-detail:last-child { border-bottom: none; }
.gite-detail.reverse { direction: rtl; }
.gite-detail.reverse > * { direction: ltr; }

.gite-detail .photo {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--gold);
  position: relative;
}
.gite-detail .photo.placeholder {
  background:
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(107, 31, 46, .04) 12px, rgba(107, 31, 46, .04) 24px),
    linear-gradient(135deg, var(--gold-soft), #E8D9B8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wine);
  font-family: var(--serif);
  font-style: italic;
  padding: 30px;
  text-align: center;
}
.gite-detail .photo.placeholder::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(107, 31, 46, .3);
}
.gite-detail .info .cap {
  font-size: .78rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.gite-detail .info h3 {
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--wine);
  margin-bottom: 20px;
}
.gite-detail .info p { margin-bottom: 22px; font-size: 1.02rem; }
.gite-detail .info ul {
  list-style: none;
  margin-bottom: 24px;
}
.gite-detail .info li {
  padding: 6px 0 6px 22px;
  position: relative;
  font-size: .95rem;
}
.gite-detail .info li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: .8rem;
  top: 8px;
}
.gite-detail .info .price {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--wine);
  margin: 20px 0;
}
.gite-detail .info .price span {
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-left: 8px;
}

/* ---------- Tableau tarifs ---------- */
.tarif-table-wrap {
  overflow-x: auto;
  margin-top: 40px;
  border: 1px solid var(--line);
}
.tarif-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--ivory);
}
.tarif-table th,
.tarif-table td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.tarif-table th {
  background: var(--wine);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 400;
}
.tarif-table tr:last-child td { border-bottom: none; }
.tarif-table td:first-child {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--wine);
  font-weight: 500;
}
.tarif-table tbody tr:hover { background: var(--cream); }

.tarif-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}
.tarif-info .card {
  padding: 30px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
}
.tarif-info h4 {
  font-family: var(--serif);
  color: var(--wine);
  margin-bottom: 10px;
}

/* ---------- Formulaire contact ---------- */
.form {
  display: grid;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form label {
  display: block;
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .25s ease;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form textarea { resize: vertical; min-height: 140px; }
.form button { margin-top: 10px; justify-self: start; }

/* ---------- Animations au défilement ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .9s cubic-bezier(0.16, 1, 0.3, 1),
    transform .9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-left { transform: translateX(-40px); }
.reveal-left.in { transform: none; }
.reveal-right { transform: translateX(40px); }
.reveal-right.in { transform: none; }

/* Stagger sur cards */
.gites-grid .gite-card.reveal:nth-child(2),
.activities .activity.reveal:nth-child(2),
.testis .testi.reveal:nth-child(2),
.features .feature.reveal:nth-child(2),
.band-grid .band-item.reveal:nth-child(2) {
  transition-delay: .08s;
}
.gites-grid .gite-card.reveal:nth-child(3),
.activities .activity.reveal:nth-child(3),
.testis .testi.reveal:nth-child(3),
.features .feature.reveal:nth-child(3),
.band-grid .band-item.reveal:nth-child(3) {
  transition-delay: .16s;
}
.gites-grid .gite-card.reveal:nth-child(4),
.activities .activity.reveal:nth-child(4),
.features .feature.reveal:nth-child(4),
.band-grid .band-item.reveal:nth-child(4) {
  transition-delay: .24s;
}
.gites-grid .gite-card.reveal:nth-child(5),
.activities .activity.reveal:nth-child(5) {
  transition-delay: .08s;
}
.gites-grid .gite-card.reveal:nth-child(6),
.activities .activity.reveal:nth-child(6) {
  transition-delay: .16s;
}
.gites-grid .gite-card.reveal:nth-child(7) { transition-delay: .24s; }
.gites-grid .gite-card.reveal:nth-child(8) { transition-delay: .32s; }

/* Respect prefer-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Effet parallax léger sur hero ---------- */
.hero h1 em {
  display: inline-block;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero.in-view h1 em {
  animation: heroEm 8s ease-in-out infinite alternate;
}
@keyframes heroEm {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

/* ---------- Effet nav underline plus fluide ---------- */
.nav a::after {
  transition: width .35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Bouton primary : effet ripple discret ---------- */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  background: rgba(253, 250, 243, .18);
  transform: translate(-50%, -50%);
  transition: width .5s ease, height .5s ease;
  pointer-events: none;
}
.btn:hover::before {
  width: 300px;
  height: 300px;
}
.btn-outline::before,
.btn-ghost::before {
  background: rgba(107, 31, 46, .1);
}

/* ---------- Lightbox galerie gîte ---------- */
.gite-detail .photo {
  cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease;
}
.gite-detail .photo:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.gite-detail .photo::after {
  content: '⛶ Voir la galerie';
  position: absolute;
  bottom: 18px;
  right: 18px;
  background: var(--wine);
  color: var(--ivory);
  padding: 8px 14px;
  font-family: var(--sans);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 2;
}
.gite-detail .photo:hover::after { opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(31, 26, 23, .92);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: all .35s ease;
  overflow-y: auto;
  padding: 60px 20px;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lightbox-close {
  position: fixed;
  top: 24px; right: 30px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--gold);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: all .25s ease;
  z-index: 210;
}
.lightbox-close:hover {
  background: var(--gold);
  color: var(--wine);
  transform: rotate(90deg);
}

.lightbox-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.lightbox-title {
  text-align: center;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.lightbox-sub {
  text-align: center;
  color: var(--gold);
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.lightbox-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
}
.lightbox-grid .lb-photo:first-child {
  grid-row: 1 / 3;
  aspect-ratio: unset;
}

.lb-photo {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(201, 169, 97, .3);
  position: relative;
}
.lb-photo.placeholder {
  background:
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(201, 169, 97, .06) 12px, rgba(201, 169, 97, .06) 24px),
    linear-gradient(135deg, rgba(201, 169, 97, .35), rgba(232, 217, 184, .35));
  color: var(--gold-soft);
  font-family: var(--serif);
  font-style: italic;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.lb-photo.placeholder::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(201, 169, 97, .25);
}

.lightbox-note {
  text-align: center;
  color: rgba(253, 250, 243, .55);
  font-family: var(--serif);
  font-style: italic;
  margin-top: 40px;
  font-size: .95rem;
  padding: 0 20px;
}
.lightbox-note strong {
  color: var(--gold);
  font-weight: 500;
  font-style: normal;
  font-family: var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .78rem;
}

@media (max-width: 900px) {
  .lightbox-grid { grid-template-columns: 1fr 1fr; }
  .lightbox-grid .lb-photo:first-child { grid-row: auto; aspect-ratio: 4/3; grid-column: 1 / -1; }
  .lightbox-title { font-size: 1.8rem; }
  .gite-detail .photo::after { opacity: 1; bottom: 12px; right: 12px; font-size: .62rem; padding: 6px 10px; }
}

/* ---------- Mobile nav overlay ---------- */
.mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--wine-dark);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .35s ease;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav ul {
  list-style: none;
  text-align: center;
}
.mobile-nav li { margin: 18px 0; }
.mobile-nav a {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--ivory);
  font-weight: 400;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .btn {
  margin-top: 30px;
  font-family: var(--sans);
  font-size: .82rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  .gites-grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .activities { grid-template-columns: repeat(2, 1fr); }
  .testis { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .band-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .tarif-info { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  section { padding: 80px 0; }
  .nav, .header .btn { display: none; }
  .burger { display: flex; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-photo { aspect-ratio: 4/3; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .gite-detail { grid-template-columns: 1fr; gap: 30px; }
  .gite-detail.reverse { direction: ltr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-scroll { display: none; }
  .hero-inner { padding: 120px 0 80px; }
}

@media (max-width: 600px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .gites-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .activities { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .band-grid { grid-template-columns: 1fr 1fr; }
  .band-item .num { font-size: 2.2rem; }
  .logo-text .brand { font-size: 1.1rem; }
  .logo-text .sub { font-size: .62rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
}
