/* ==========================================================================
   La Tuffière — Feuille de style principale
   Fidélité 100% avec le site officiel https://www.latuffiere.com/
   ========================================================================== */

:root {
  /* Couleurs Elementor d'origine */
  --color-primary: #009900;
  --color-primary-hover: #007A00;
  --color-secondary: #2C2418;
  --color-text: #6B5D4D;
  --color-text-dark: #2C2418;
  --color-accent: #009900;
  --color-accent-dark: #007A00;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F7F4EF;
  --color-border: #E6E0D4;
  --color-footer: #1A1810;
  --color-gold: #D4A534;

  /* Typographie Elementor d'origine */
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --max-width: 1200px;
  --radius: 3px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover { color: var(--color-accent-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 300;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 600;
}

h3 {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
}

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

strong, b {
  font-weight: 600;
  color: var(--color-text-dark);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 8px 16px;
  z-index: 9999;
}
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Eyebrows & Dividers ---------- */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.divider-line {
  width: 64px;
  height: 1px;
  background: rgba(44, 36, 24, 0.2);
  margin: 22px auto 26px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
  line-height: 1.4;
  text-align: center;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn:active { transform: translateY(0); }

/* Bouton vert standard Elementor */
.btn-accent, .btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF !important;
  border-color: var(--color-primary);
}
.btn-accent:hover, .btn-primary:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: 0 6px 18px rgba(0, 153, 0, 0.25);
}

/* Bouton blanc contour fin pour le header transparent */
.btn-light-outline {
  background-color: transparent;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.65);
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 0;
}
.btn-light-outline:hover {
  background-color: #FFFFFF;
  color: var(--color-secondary) !important;
  border-color: #FFFFFF;
}

/* Bouton header au scroll */
.site-header.is-solid .btn-light-outline {
  color: var(--color-primary) !important;
  border-color: var(--color-primary);
  background-color: transparent;
}
.site-header.is-solid .btn-light-outline:hover {
  background-color: var(--color-primary);
  color: #FFFFFF !important;
}

/* Boutons bandeau CTA final */
.btn-cta-green {
  background-color: var(--color-primary);
  color: #FFFFFF !important;
  border-color: var(--color-primary);
}
.btn-cta-green:hover {
  background-color: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}
.btn-cta-outline {
  background-color: transparent;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.btn-cta-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

/* ---------- Header (En-tête) ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
  padding: 12px 0;
}

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

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

.logo img {
  height: 52px;
  width: auto;
  max-width: 140px;
  display: block;
  object-fit: contain;
}

.main-nav {
  display: flex;
  justify-content: center;
  flex: 1;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: #FFFFFF;
  transition: width 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.site-header.is-solid .main-nav a {
  color: var(--color-secondary);
}
.site-header.is-solid .main-nav a:hover {
  color: rgba(44, 36, 24, 0.7);
}
.site-header.is-solid .main-nav a::after {
  background-color: var(--color-secondary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px;
  height: 26px;
  position: relative;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease;
}
.nav-toggle span { top: 12px; }
.nav-toggle span::before { top: -9px; }
.nav-toggle span::after { top: 9px; }

.site-header.is-solid .nav-toggle span,
.site-header.is-solid .nav-toggle span::before,
.site-header.is-solid .nav-toggle span::after {
  background: var(--color-secondary);
}

.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-9px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 72px);
    background: rgba(26, 24, 16, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 48px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .main-nav ul {
    flex-direction: column;
    gap: 28px;
  }
  .main-nav a {
    font-size: 15px;
    color: #FFFFFF !important;
  }
}

/* ---------- Hero / Diaporama plein écran ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
}

.hero-small {
  height: 50vh;
  min-height: 380px;
}

@media (max-width: 768px) {
  .hero {
    height: 62vh;
    min-height: 480px;
  }
  .hero-small {
    height: 40vh;
    min-height: 320px;
  }
}

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 1;
  transition: opacity 1.2s ease-in-out, transform 6s ease-out;
  transform: scale(1.04);
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
}

/* Dégradé doux identique à Elementor (.elementor-element-f3e6683:after) */
.hero::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 960px;
  padding: 0 24px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.2vw, 60px);
  font-weight: 300;
  color: #FFFFFF;
  line-height: 1.15;
  margin: 0 auto;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

/* Flèches latérales en verre (Glassmorphism) */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-arrow:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #FFFFFF;
}
.hero-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #FFFFFF;
  stroke-width: 2;
  fill: none;
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

@media (max-width: 768px) {
  .hero-arrow { display: none; }
}

/* Indicateurs de pagination en tirets (comme sur latuffiere.com) */
.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-dots button {
  height: 2.5px;
  width: 16px;
  border-radius: 2px;
  border: none;
  background-color: rgba(255, 255, 255, 0.45);
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dots button:hover {
  background-color: rgba(255, 255, 255, 0.8);
}
.hero-dots button.is-active {
  width: 32px;
  background-color: #FFFFFF;
}

/* ---------- Sections générales ---------- */
.section {
  padding: 120px 0;
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-intro {
  padding: 112px 0 96px;
}
@media (max-width: 768px) {
  .section-intro { padding: 64px 0 54px; }
}

.intro-title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 4.5vw, 63px);
  font-weight: 300;
  color: var(--color-secondary);
  line-height: 1.12;
  margin: 0 auto 20px;
  max-width: 880px;
}

.intro-lead {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Ruban 5 Photos (Full Width) ---------- */
.ribbon-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.ribbon-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: block;
}
.ribbon-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ribbon-item:hover img {
  transform: scale(1.08);
}
.ribbon-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ribbon-item:hover::after {
  opacity: 1;
}
@media (max-width: 768px) {
  .ribbon-gallery { grid-template-columns: repeat(2, 1fr); }
  .ribbon-item:last-child { grid-column: span 2; }
}

/* ---------- Disposition 2 colonnes (À propos & Table d'hôtes) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.two-col-content h2 {
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 24px;
}

.two-col-content p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--color-text);
  font-weight: 300;
  margin-bottom: 18px;
}

.two-col-img img {
  border-radius: 4px;
  box-shadow: 0 16px 36px rgba(44, 36, 24, 0.08);
  width: 100%;
  height: auto;
}

/* ---------- Section "Nos labels" (Fond photo sombre) ---------- */
.section-labels {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  padding: 144px 0;
}
@media (max-width: 768px) {
  .section-labels { padding: 80px 0; }
}

.section-labels::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(44, 36, 24, 0.86);
  z-index: 1;
}

.section-labels > .container {
  position: relative;
  z-index: 2;
}

.labels-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}
.labels-header .eyebrow {
  color: var(--color-primary);
}
.labels-header h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  color: #FFFFFF;
  font-weight: 600;
  margin-bottom: 18px;
}
.labels-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
}

.labels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) {
  .labels-grid { grid-template-columns: 1fr; gap: 24px; }
}

.label-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 44px 32px;
  text-align: center;
  border-radius: 4px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.label-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}
.label-icon {
  height: 62px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  margin-bottom: 22px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}
.label-card h3 {
  margin-bottom: 12px;
}
.label-card h3 a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 22px;
  transition: color 0.2s;
}
.label-card h3 a:hover {
  color: var(--color-primary);
}
.label-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  font-weight: 300;
}

/* ---------- Bandeau Citation ---------- */
.section-quote {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  text-align: center;
  color: #FFFFFF;
}
.section-quote::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.62);
  z-index: 1;
}
.section-quote > .container {
  position: relative;
  z-index: 2;
}
.quote-text {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 300;
  font-style: italic;
  color: #FFFFFF;
  max-width: 840px;
  margin: 0 auto;
  line-height: 1.38;
}

/* ---------- Section Témoignages & Avis Google ---------- */
.section-reviews {
  padding: 130px 0 140px;
  background: #FFFFFF;
  position: relative;
}
@media (max-width: 768px) {
  .section-reviews { padding: 72px 0 80px; }
}

.reviews-header {
  text-align: center;
  margin-bottom: 48px;
}
.reviews-header h2 {
  font-size: clamp(30px, 3.4vw, 38px);
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 14px;
}
.reviews-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}
.star-icon {
  width: 18px;
  height: 18px;
  fill: var(--color-gold);
}
.reviews-score {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--color-text);
  margin: 0;
}

/* Carrousel d'avis natif fidèle à Elfsight */
.reviews-carousel-container {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  overflow: hidden;
  padding: 12px 6px 20px;
}

.reviews-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.review-card-wrapper {
  flex: 0 0 33.333%;
  padding: 0 12px;
  box-sizing: border-box;
}
@media (max-width: 980px) {
  .review-card-wrapper { flex: 0 0 50%; }
}
@media (max-width: 640px) {
  .review-card-wrapper { flex: 0 0 100%; }
}

.review-card {
  background: #FFFFFF;
  border: 1px solid #ECE7DF;
  border-radius: 8px;
  padding: 26px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(44, 36, 24, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(44, 36, 24, 0.08);
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}
.reviewer-details {
  display: flex;
  flex-direction: column;
}
.reviewer-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-secondary);
  line-height: 1.2;
}
.review-date {
  font-size: 12px;
  color: #8C8275;
}
.google-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #70757a;
  font-size: 11px;
}
.google-g-icon {
  width: 18px;
  height: 18px;
}

.review-card-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 12px;
}
.review-card-stars svg {
  width: 15px;
  height: 15px;
  fill: var(--color-gold);
}

.review-body {
  font-size: 13.5px;
  line-height: 1.68;
  color: var(--color-text);
  font-weight: 300;
  flex-grow: 1;
}
.review-body p {
  margin-bottom: 8px;
}

.review-read-more {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  color: var(--color-primary);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 4px;
}
.review-read-more:hover {
  text-decoration: underline;
}

.review-card-footer {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #F2EFE9;
}
.review-card-footer a {
  font-size: 12px;
  color: #8C8275;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.review-card-footer a:hover {
  color: var(--color-primary);
}

/* Contrôles du carrousel d'avis */
.reviews-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}
.reviews-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #E2DCD2;
  background: #FFFFFF;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.reviews-arrow:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: #FAFAF7;
}
.reviews-arrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.reviews-dots {
  display: flex;
  gap: 8px;
}
.reviews-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background-color: #D9D2C7;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}
.reviews-dots button.is-active {
  background-color: var(--color-primary);
  transform: scale(1.3);
}

/* ---------- Bandeau CTA final ---------- */
.section-cta {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  text-align: center;
  color: #FFFFFF;
}
@media (max-width: 768px) {
  .section-cta { padding: 80px 0; }
}

.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(44, 36, 24, 0.86);
  z-index: 1;
}

.section-cta > .container {
  position: relative;
  z-index: 2;
}

.section-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.section-cta p {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

/* ---------- Footer (Pied de page sombre) ---------- */
.site-footer {
  background-color: var(--color-footer);
  color: #FFFFFF;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
@media (max-width: 840px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer-col p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.footer-logo {
  max-width: 140px;
  height: auto;
  filter: brightness(1.05);
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.footer-nav ul,
.footer-contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav li,
.footer-contact li {
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}
.footer-nav a:hover {
  color: var(--color-primary);
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}
.footer-contact a:hover {
  color: var(--color-primary);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all 0.25s ease;
}
.social-links a:hover {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}
.social-links svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* ---------- Modale (Disponibilités Tourinsoft) ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 8, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 24px;
}
.modal.is-open { display: flex; }

.modal-box {
  background: #FFFFFF;
  border-radius: 6px;
  max-width: 660px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  position: relative;
  padding: 28px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-secondary);
}
.modal-box h2 {
  font-size: 26px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 4px;
}
.modal-box .modal-sub {
  font-size: 13px;
  color: #8A7D6C;
  margin-bottom: 20px;
}
.dispo-iframe {
  width: 100%;
  height: 560px;
  border: 1px solid #ECE7DF;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}
.dispo-loader {
  position: absolute;
  inset: 28px;
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  z-index: 2;
  border-radius: 4px;
}
.dispo-loader.is-hidden { display: none; }
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #E6E0D4;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  margin: 0 auto 12px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Grille galerie & Lightbox ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-grid button {
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-grid button:hover img {
  transform: scale(1.06);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 8, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 40px 20px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-height: 88vh;
  max-width: 100%;
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Page Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
}
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info-list { list-style: none; margin: 0; padding: 0; }
.contact-info-list li {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-info-list .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}
.contact-info-list strong {
  display: block;
  color: var(--color-secondary);
  font-size: 15px;
  margin-bottom: 2px;
}

form.contact-form { display: grid; gap: 18px; }
form.contact-form label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 6px;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--color-secondary);
  background: #FFFFFF;
}
form.contact-form textarea { min-height: 140px; resize: vertical; }

.map-embed {
  border: 0;
  width: 100%;
  height: 340px;
  border-radius: var(--radius);
  margin-top: 32px;
}

/* ---------- Autres grilles & utilitaires ---------- */
.grid { display: grid; gap: 32px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; } }

.card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(44, 36, 24, 0.08);
}
.card img.card-icon {
  height: 58px;
  width: auto;
  margin: 0 auto 16px;
  object-fit: contain;
}

.feature-list {
  columns: 2;
  column-gap: 40px;
  padding-left: 1.2em;
  margin: 0 0 1.5em;
}
.feature-list li { margin-bottom: 0.5em; break-inside: avoid; }
@media (max-width: 600px) { .feature-list { columns: 1; } }

details.rooms {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
}
details.rooms summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--color-secondary);
}
details.rooms ul { columns: 2; margin-top: 16px; }
@media (max-width: 600px) { details.rooms ul { columns: 1; } }

.doc-preview {
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

/* Animations au scroll */
[data-animate] {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}
[data-animate='fade-up'] { transform: translateY(32px); }
[data-animate='fade-left'] { transform: translateX(-40px); }
[data-animate='fade-right'] { transform: translateX(40px); }
[data-animate='zoom-in'] { transform: scale(0.92); }
[data-animate].is-visible { opacity: 1; transform: translateY(0) translateX(0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  [data-animate], .hero-slide, .site-header {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
