@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700;800&display=swap');

/* ============================================================
   Ânes & Cévennes - Feuille de styles principale
   Mobile-first · Google Fonts: Open Sans + Playfair Display
   ============================================================ */

/* ============================================================
   1. VARIABLES CSS
   ============================================================ */

:root {
  /* Palette */
  --beige:       #F5ECD7;
  --peche:       #E8A87C;
  --peche-dark:  #D4895A;
  --peche-light: #F2C9A8;
  --vert:        #8B6340;
  --vert-dark:   #5E3F22;
  --vert-light:  #B08860;
  --brun:        #8B6340;
  --brun-dark:   #5E3F22;
  --brun-light:  #B08860;
  --blanc:       #FDFAF5;
  --gris-leger:  #EDE8E0;
  --gris-moyen:  #9E9187;
  --texte:       #2E2217;
  --texte-clair: #5C5045;

  /* Typographie */
  --font-titre:  'Raleway', sans-serif;
  --font-corps:  'Raleway', sans-serif;

  /* Tailles de police */
  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   0.875rem;  /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-md:   1.125rem;  /* 18px */
  --fs-lg:   1.375rem;  /* 22px */
  --fs-xl:   1.75rem;   /* 28px */
  --fs-2xl:  2.25rem;   /* 36px */
  --fs-3xl:  3rem;      /* 48px */
  --fs-4xl:  3.75rem;   /* 60px */

  /* Espacements */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Bordures */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Ombres */
  --shadow-sm:  0 1px 4px rgba(46, 34, 23, 0.08);
  --shadow-md:  0 4px 16px rgba(46, 34, 23, 0.12);
  --shadow-lg:  0 8px 32px rgba(46, 34, 23, 0.16);
  --shadow-xl:  0 16px 48px rgba(46, 34, 23, 0.20);

  /* Transitions */
  --transition: 0.25s ease;
  --transition-slow: 0.45s ease;

  /* Hauteur du header */
  --header-h: 70px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: 'Raleway', sans-serif !important;
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--texte);
  background-color: var(--blanc);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-variant-numeric: lining-nums tabular-nums !important;
}

body, p, nav, li, button {
  font-family: 'Raleway', sans-serif !important;
  font-weight: 400;
}


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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================================
   3. TYPOGRAPHIE
   ============================================================ */

h1, h2, h3 {
  font-family: 'Raleway', sans-serif !important;
  font-weight: 700;
  line-height: 1.25;
  color: var(--brun-dark);
}

h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--brun-dark);
}

h1 { font-size: var(--fs-2xl); }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }
em { font-style: italic; }

.lead {
  font-size: var(--fs-md);
  font-weight: 300;
  color: var(--texte-clair);
  line-height: 1.8;
}

.section-label {
  display: inline-block;
  font-family: var(--font-corps);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--peche-dark);
  margin-bottom: var(--space-sm);
}

/* ============================================================
   4. LAYOUT & CONTAINER
   ============================================================ */

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.container--narrow {
  max-width: 800px;
}

.container--wide {
  max-width: 1400px;
}

section {
  padding-block: var(--space-2xl);
}

.grid {
  display: grid;
  gap: var(--space-lg);
  align-items: stretch;
}

.flex {
  display: flex;
  gap: var(--space-md);
}

/* ============================================================
   5. HEADER
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background-color: var(--blanc);
  border-bottom: 1px solid var(--gris-leger);
  transition: box-shadow var(--transition), background-color var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.site-header.scrolled.header--transparent {
  background-color: var(--blanc);
}

.header--transparent {
  background-color: transparent;
  border-bottom-color: transparent;
}

.header--transparent .nav-link,
.header--transparent .header-phone {
  color: var(--blanc);
}

.header--transparent .logo-text {
  color: var(--blanc);
}

.site-header .container {
  height: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  height: 100%;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

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

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-titre);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--brun-dark);
}

.logo-tagline {
  font-size: var(--fs-xs);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--gris-moyen);
}

/* Navigation principale */
.site-nav {
  flex: 1;
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: nowrap;
  height: 100%;
}

.nav-link {
  display: block;
  padding: 5px 7px;
  font-size: 0.75rem;
  font-weight: 400;
  color: #2D6A2D;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background: transparent;
  color: #2D6A2D;
  border-color: #C41E3A;
  -webkit-text-stroke: 0.4px currentColor;
}

.nav-link.active:hover {
  -webkit-text-stroke: 0;
}

.nav-link.active {
  background: #2D6A2D;
  color: #ffffff !important;
  border-color: #2D6A2D;
  font-weight: 700;
}

/* Dropdown */
.nav-item {
  position: relative;
}

.nav-item--dropdown > .nav-link::after {
  content: '▾';
  margin-left: var(--space-xs);
  font-size: 1.3em;
  vertical-align: middle;
  opacity: 0.6;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-sm));
  left: 0;
  min-width: 220px;
  background-color: var(--blanc);
  border: 1px solid var(--gris-leger);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
}

.nav-item--dropdown:hover .dropdown-menu,
.nav-item--dropdown:focus-within .dropdown-menu,
.nav-item--dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--fs-sm);
  color: #2D6A2D;
  transition: background-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.dropdown-link:hover {
  background-color: transparent;
  color: #2D6A2D;
  -webkit-text-stroke: 0.4px currentColor;
  box-shadow: inset 0 0 0 2px #C41E3A;
}

/* Téléphone dans le header */
.header-phone {
  display: none;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--brun);
  white-space: nowrap;
  transition: color var(--transition);
  font-variant-numeric: lining-nums !important;
  font-feature-settings: "tnum", "lnum";
}

.header-phone:hover {
  color: var(--peche-dark);
}

.header-phone svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Sélecteur de langue */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.lang-btn {
  padding: 3px 7px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gris-moyen);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background-color var(--transition);
}

.lang-btn:hover {
  color: var(--vert);
  background-color: rgba(139, 99, 64, 0.08);
}

.lang-btn.active {
  color: var(--vert);
  background-color: rgba(139, 99, 64, 0.12);
}

.lang-divider {
  color: var(--gris-leger);
  font-size: var(--fs-xs);
  pointer-events: none;
  user-select: none;
}

/* Bouton contact dans le header */
.header-cta {
  flex-shrink: 0;
  display: none;
}

/* Menu burger (mobile) */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-sm);
  margin-left: auto;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition);
}

.burger:hover {
  background-color: var(--beige);
}

.burger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--brun-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.burger.open .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open .burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger.open .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu mobile drawer */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--blanc);
  z-index: 999;
  overflow-y: auto;
  padding: var(--space-lg);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-bottom: var(--space-xl);
}

.mobile-nav-link {
  display: block;
  padding: var(--space-md) var(--space-lg);
  font-size: var(--fs-md);
  font-weight: 400;
  color: #2D6A2D;
  border-radius: var(--radius-md);
  border-left: 3px solid transparent;
  transition: all var(--transition);
}

.mobile-nav-link:hover {
  color: #2D6A2D;
  border-left-color: #C41E3A;
  background-color: transparent;
  font-weight: 700;
}

.mobile-nav-link.active {
  color: #ffffff;
  border-left-color: #2D6A2D;
  background-color: #2D6A2D;
}

.mobile-nav-phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--brun);
  border-top: 1px solid var(--gris-leger);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
}

.mobile-nav > .mobile-nav-phone {
  order: -1;
  border-top: none;
  margin-top: 0;
  padding-top: var(--space-md);
  border-bottom: 1px solid var(--gris-leger);
  padding-bottom: var(--space-md);
}

.mobile-nav-lang {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
}

/* Offset pour le contenu sous le header fixe */
.page-content {
  padding-top: var(--header-h);
}

/* ============================================================
   6. BOUTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.7em 1.6em;
  font-family: var(--font-corps);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn:focus-visible {
  outline: 3px solid var(--peche);
  outline-offset: 2px;
}

/* Primaire - pêche */
.btn--primary {
  background-color: var(--peche);
  color: var(--blanc);
  border-color: var(--peche);
}

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

.btn--primary:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Secondaire - vert */
.btn--secondary {
  background-color: var(--vert);
  color: var(--blanc);
  border-color: var(--vert);
}

.btn--secondary:hover {
  background-color: var(--vert-dark);
  border-color: var(--vert-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Contour pêche */
.btn--outline-peche {
  background-color: transparent;
  color: var(--peche-dark);
  border-color: var(--peche);
}

.btn--outline-peche:hover {
  background-color: var(--peche);
  color: var(--blanc);
}

/* Contour vert */
.btn--outline-vert {
  background-color: transparent;
  color: var(--vert);
  border-color: var(--vert);
}

.btn--outline-vert:hover {
  background-color: var(--vert);
  color: var(--blanc);
}

/* Contour blanc (sur fond sombre) */
.btn--outline-blanc {
  background-color: transparent;
  color: var(--blanc);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--outline-blanc:hover {
  background-color: var(--blanc);
  color: var(--brun-dark);
}

/* Tailles */
.btn--sm {
  font-size: var(--fs-xs);
  padding: 0.5em 1.2em;
}

.btn--lg {
  font-size: var(--fs-base);
  padding: 0.9em 2em;
}

.btn--xl {
  font-size: var(--fs-md);
  padding: 1em 2.4em;
}

/* Boutons spécifiques aux 3 cards */
.s-cards .btn {
  transition: all 0.3s ease;
}

/* Card 1 - En savoir plus */
.s-cards .btn--primary {
  background: #C41E3A;
  color: #ffffff;
  border: 2px solid #C41E3A;
}
.s-cards .btn--primary:hover {
  background: #ffffff;
  color: #C41E3A;
  border: 2px solid #C41E3A;
  transform: none;
  box-shadow: none;
}

/* Card 2 - Découvrir les Cévennes */
.s-cards .btn--secondary {
  background: #E8A87C;
  color: #ffffff;
  border: 2px solid #E8A87C;
}
.s-cards .btn--secondary:hover {
  background: #ffffff;
  color: #E8A87C;
  border: 2px solid #E8A87C;
  transform: none;
  box-shadow: none;
}

/* Card 3 - Gîtes & Table d'hôtes */
.s-cards .btn--outline-vert {
  background: #2D6A2D;
  color: #ffffff;
  border: 2px solid #2D6A2D;
}
.s-cards .btn--outline-vert:hover {
  background: #ffffff;
  color: #2D6A2D;
  border: 2px solid #2D6A2D;
}

/* Bouton "Voir les tarifs" section insolite */
.s-insolite .btn--primary:hover {
  background: #ffffff;
  color: #E8A87C;
  border: 2px solid #E8A87C;
  transform: none;
  box-shadow: none;
}

/* Bouton "Nous contacter" section insolite */
.s-insolite .btn--outline-blanc {
  border: 2px solid #ffffff !important;
}
.s-insolite .btn--outline-blanc:hover {
  background-color: #ffffff !important;
  color: #2D6A2D !important;
  border-color: #2D6A2D !important;
}

/* Bouton devis hero tarifs */
.btn-devis-hero:hover {
  background: #ffffff !important;
  color: #E8A87C !important;
  border: 2px solid #E8A87C !important;
  transform: translateX(-50%);
}

/* Bouton "Contactez-nous" du hero */
.hero .btn--primary:hover {
  background: transparent;
  color: #E8A87C;
  border: 2px solid #E8A87C;
  transform: none;
  box-shadow: none;
}

/* Carrousel — suppression de tout espacement parasite */
.s-carrousel {
  margin: 0 !important;
  padding: 0 !important;
}

.carrousel {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.carrousel__slide {
  margin: 0 !important;
}

/* Section Rênes en main */
.s-reines {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

/* Bouton "Contactez-nous" section Rênes en main */
.s-reines .btn--primary {
  background: #2D6A2D;
  color: #ffffff;
  border: 2px solid #2D6A2D;
}
.s-reines .btn--primary:hover {
  background: #ffffff;
  color: #2D6A2D;
  border: 2px solid #2D6A2D;
  transform: none;
  box-shadow: none;
}

/* Boutons itinéraire section adresse */
.s-adresse .adresse-meta .btn {
  background: #C41E3A;
  color: #ffffff;
  border-color: #C41E3A;
}
.s-adresse .adresse-meta .btn:hover {
  background: #ffffff;
  color: #C41E3A;
  border-color: #C41E3A;
}

/* Tous les boutons "Contactez-nous" / "Nous contacter" → vert */
a.btn[href="contact.html"] {
  background: #2D6A2D;
  color: #ffffff;
  border-color: #2D6A2D;
}
a.btn[href="contact.html"]:hover {
  background: #ffffff;
  color: #2D6A2D;
  border-color: #2D6A2D;
  transform: none;
  box-shadow: none;
}

/* ============================================================
   7. SECTION HERO
   ============================================================ */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 350px;
  height: auto;
  padding: 0;
  overflow: hidden;
  background-color: var(--brun-dark);
}

.hero--full {
  min-height: 100svh;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: unset;
  z-index: 0;
  object-fit: cover;
  object-position: center bottom;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 20, 10, 0.35) 0%,
    rgba(30, 20, 10, 0.55) 60%,
    rgba(30, 20, 10, 0.75) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 20px;
  width: 100%;
  color: var(--blanc);
}

.hero__eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--peche-light);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-size: clamp(2rem, 6vw, var(--fs-4xl));
  font-weight: 700;
  color: var(--blanc);
  margin-bottom: var(--space-lg);
  line-height: 1.15;
  max-width: 14ch;
}

.hero__title em {
  color: var(--peche-light);
  font-style: italic;
}

.hero__subtitle {
  font-size: clamp(var(--fs-base), 2vw, var(--fs-md));
  font-weight: 300;
  color: rgba(253, 250, 245, 0.88);
  max-width: 55ch;
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.6);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s infinite;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Hero interne (pages secondaires) */
.hero--inner {
  min-height: 45vh;
}

.hero--inner .hero__title {
  font-size: clamp(1.75rem, 4vw, var(--fs-3xl));
  max-width: none;
}

/* ============================================================
   8. CARTES (CARDS)
   ============================================================ */

.card {
  background-color: var(--blanc);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: unset;
}

.card__img-wrap img,
.card img,
.feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px 8px 0 0;
  display: block;
  transition: transform var(--transition-slow);
}

.card:hover .card__img-wrap img {
  transform: scale(1.05);
}

.card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background-color: var(--peche);
  color: var(--blanc);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.card__body {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__body .btn {
  margin-top: auto;
}

.card__eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--peche-dark);
  margin-bottom: var(--space-sm);
}

.card__title {
  font-family: var(--font-titre);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--brun-dark);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
  text-align: center;
}

.card__text {
  font-size: var(--fs-sm);
  color: var(--texte-clair);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  text-align: justify;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background-color: var(--beige);
  border-top: 1px solid var(--gris-leger);
}

.card__price {
  font-family: var(--font-titre);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--brun-dark);
}

.card__price span {
  font-family: var(--font-corps);
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--gris-moyen);
}

/* Card horizontale */
.card--horizontal {
  display: grid;
  grid-template-columns: 1fr;
}

.card--horizontal .card__img-wrap {
  aspect-ratio: 16/9;
}

/* Card feature (fond coloré) */
.card--feature {
  background-color: var(--beige);
  border: 1px solid var(--gris-leger);
  text-align: center;
  padding: var(--space-xl);
}

.card--feature .card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-lg);
  color: var(--vert);
}

/* ============================================================
   9. GALERIE PHOTOS
   ============================================================ */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

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

.gallery-item--large {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

.gallery-item--square {
  aspect-ratio: 1;
}

.gallery-item--portrait {
  aspect-ratio: 3/4;
}

.gallery-item--landscape {
  aspect-ratio: 4/3;
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(46, 34, 23, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.gallery-item:hover .gallery-item__overlay {
  background: rgba(46, 34, 23, 0.35);
}

.gallery-item__icon {
  color: var(--blanc);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-item:hover .gallery-item__icon {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 5, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-height: 90svh;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  color: var(--blanc);
  font-size: 2rem;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox-close:hover { opacity: 1; }

/* ============================================================
   10. CITATION STEVENSON
   ============================================================ */

.citation {
  position: relative;
  padding: var(--space-xl) var(--space-lg);
  background-color: var(--brun);
  border-radius: var(--radius-lg);
}

.citation::before {
  content: '"';
  position: absolute;
  top: -0.2em;
  left: var(--space-lg);
  font-family: var(--font-titre);
  font-size: 6rem;
  font-style: italic;
  color: rgba(253, 250, 245, 0.25);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.citation__text {
  font-family: var(--font-titre);
  font-size: clamp(var(--fs-md), 2.5vw, var(--fs-xl));
  font-style: italic;
  font-weight: 400;
  color: var(--blanc);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
  padding-top: var(--space-lg);
}

.citation__text::before,
.citation__text::after { content: none; }

.citation__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--fs-sm);
  color: rgba(253, 250, 245, 0.65);
}

.citation__author::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background-color: var(--peche-light);
  flex-shrink: 0;
}

.citation__author strong {
  color: var(--blanc);
}

/* Citation minimaliste (inline) */
.citation--inline {
  background: none;
  padding: 0;
  border-left: 3px solid var(--peche);
  padding-left: var(--space-lg);
  border-radius: 0;
}

.citation--inline::before { display: none; }

.citation--inline .citation__text {
  font-size: var(--fs-md);
  padding-top: 0;
}

/* Citation hero (sur fond sombre) */
.citation--dark {
  background-color: rgba(255,255,255,0.07);
}

.citation--dark::before,
.citation--dark .citation__text {
  color: var(--blanc);
}

.citation--dark .citation__author {
  color: rgba(255,255,255,0.55);
}

/* ============================================================
   11. SECTION STYLES
   ============================================================ */

/* Section beige */
.section--beige {
  background-color: var(--beige);
}

/* Section vert foncé */
.section--vert {
  background-color: var(--vert-dark);
  color: var(--blanc);
}

.section--vert h2,
.section--vert h3 {
  color: var(--blanc);
}

.section--vert .section-label {
  color: var(--peche-light);
}

/* Section brun */
.section--brun {
  background-color: var(--brun-dark);
  color: var(--blanc);
}

/* Titre de section centré */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.section-header h2 {
  font-size: clamp(var(--fs-xl), 3.5vw, var(--fs-3xl));
  margin-bottom: var(--space-md);
}

.section-header p {
  font-size: var(--fs-md);
  color: var(--texte-clair);
  font-weight: 300;
}

.section--vert .section-header p,
.section--brun .section-header p {
  color: rgba(255,255,255,0.7);
}

/* Séparateur décoratif */
.divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-block: var(--space-xl);
  color: var(--peche);
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--gris-leger);
}

.divider__icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ============================================================
   12. TARIFS & TABLEAU
   ============================================================ */

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  background-color: var(--blanc);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pricing-table th {
  background-color: var(--vert);
  color: var(--blanc);
  font-family: var(--font-titre);
  font-size: var(--fs-base);
  font-weight: 600;
  padding: var(--space-md) var(--space-lg);
  text-align: left;
}

.pricing-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--gris-leger);
  color: var(--texte);
  vertical-align: top;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:nth-child(even) td {
  background-color: var(--beige);
}

.pricing-table .price-cell {
  font-family: var(--font-titre);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--brun-dark);
  white-space: nowrap;
}

/* ============================================================
   13. FORMULAIRE CONTACT
   ============================================================ */

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--texte);
  margin-bottom: var(--space-xs);
  letter-spacing: 0.02em;
}

.form-label .required {
  color: var(--peche-dark);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 0.75em 1em;
  font-size: var(--fs-base);
  font-family: var(--font-corps);
  color: var(--texte);
  background-color: var(--blanc);
  border: 1.5px solid var(--gris-leger);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-control::placeholder {
  color: var(--gris-moyen);
}

.form-control:focus {
  outline: none;
  border-color: var(--vert);
  box-shadow: 0 0 0 3px rgba(139, 99, 64, 0.15);
}

.form-control:invalid:not(:placeholder-shown) {
  border-color: #c0392b;
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B6340' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5em;
}

.form-hint {
  font-size: var(--fs-xs);
  color: var(--gris-moyen);
  margin-top: var(--space-xs);
}

.form-grid {
  display: grid;
  gap: var(--space-lg);
}

/* ============================================================
   14. BADGE & TAGS
   ============================================================ */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

.tag--peche {
  background-color: var(--peche-light);
  color: var(--brun-dark);
}

.tag--vert {
  background-color: rgba(139, 99, 64, 0.12);
  color: var(--vert-dark);
}

.tag--brun {
  background-color: var(--gris-leger);
  color: var(--brun);
}

/* Chips difficulté randonnée */
.difficulty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.difficulty-dots {
  display: flex;
  gap: 3px;
}

.difficulty-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gris-leger);
}

.difficulty-dot.filled { background-color: var(--vert); }
.difficulty--hard .difficulty-dot.filled { background-color: var(--peche-dark); }

/* ============================================================
   15. AVANTAGES / ICÔNES
   ============================================================ */

.features-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

.feature-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.feature-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: rgba(139, 99, 64, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vert);
}

.feature-item__title {
  font-family: var(--font-titre);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--brun-dark);
  margin-bottom: var(--space-xs);
}

.feature-item__text {
  font-size: var(--fs-sm);
  color: var(--texte-clair);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   16. CARD CAROUSEL — scroll horizontal < 960px
   ============================================================ */

.cards-scroll-wrap {
  position: relative;
}

.cards-scroll-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2D6A2D;
  z-index: 2;
  padding: 0;
  line-height: 1;
}
.cards-scroll-btn:hover { color: #C41E3A; }
.cards-scroll-btn--prev { left: 0; }
.cards-scroll-btn--next { right: 0; }

@media (max-width: 959px) {
  .cards-scroll-wrap {
    padding: 0 36px;
  }
  .cards-scroll-btn {
    display: grid;
    place-items: center;
  }
  .cards-scroll-track {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    display: flex !important;
    flex-wrap: nowrap !important;
  }
  .cards-scroll-track::-webkit-scrollbar { display: none; }
  .cards-scroll-track > * {
    flex-shrink: 0 !important;
    scroll-snap-align: start;
  }
  .cards-scroll-track--3col > * { flex: 0 0 300px; }
  .cards-scroll-track--4col > * { flex: 0 0 260px; }
  .cards-scroll-track--2col > * { flex: 0 0 320px; }
}

/* ============================================================
   17. SÉLECTEUR DE LANGUE — NAVBAR
   ============================================================ */

.lang-flag {
  display: block;
  width: 17px;
  height: 11px;
  border-radius: 2px;
  object-fit: cover;
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 0.5rem;
  margin-left: 0.2rem;
  border-left: 1px solid var(--gris-leger);
}

.nav-lang-btn {
  background: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  padding: 1px 2px;
  line-height: 1;
  opacity: 0.5;
  transition: opacity 0.2s, border-color 0.2s, transform 0.15s;
}

.nav-lang-btn.active {
  opacity: 1;
  border-color: #2D6A2D;
  cursor: default;
}

.nav-lang-btn:not(.active):hover {
  opacity: 1;
  border-color: #C41E3A;
  transform: scale(1.1);
}

/* Mobile : drapeaux en haut du menu hamburger */
.mobile-nav-lang {
  display: flex;
  gap: 0.5rem;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--gris-leger);
}

.mobile-lang-btn {
  background: none;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  padding: 2px 3px;
  opacity: 0.65;
  transition: opacity 0.2s, border-color 0.2s;
}

.mobile-lang-btn .lang-flag {
  width: 28px;
  height: 18px;
}

.mobile-lang-btn.active {
  opacity: 1;
  border-color: #2D6A2D;
}

.mobile-lang-btn:hover {
  opacity: 1;
  border-color: #C41E3A;
}

/* ============================================================
   18. AVIS & TÉMOIGNAGES
   ============================================================ */

.testimonial {
  background-color: var(--blanc);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gris-leger);
}

.testimonial__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: var(--peche);
  font-size: var(--fs-md);
}

.testimonial__text {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--texte-clair);
  font-style: italic;
  margin-bottom: var(--space-lg);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--beige);
  flex-shrink: 0;
}

.testimonial__name {
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--texte);
}

.testimonial__location {
  font-size: var(--fs-xs);
  color: var(--gris-moyen);
}

/* ============================================================
   17. FOOTER
   ============================================================ */

/* Bannière image pre-footer */
.footer-banner {
  position: relative;
  height: 180px;
  background-image: url('images/footer-fregere-basse.webp');
  background-size: cover;
  background-position: center 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.footer-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.footer-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 1rem 2rem;
}

.footer-banner__title {
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.3rem;
  line-height: 1.2;
}

.footer-banner__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 0.3rem;
}

.footer-banner__address {
  font-size: 0.875rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* Section info 2 colonnes */
.footer-info {
  background: #FDFAF5;
  padding: 3rem 2rem;
}

.footer-info__grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-info__col {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--texte);
}

.footer-info__col p {
  margin-bottom: 0.6rem;
}

.footer-info__col--right {
  text-align: center;
}

.footer-info__title {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--brun-dark);
  margin-bottom: 1rem;
}

.footer-info__col--right address {
  font-style: normal;
  color: var(--texte-clair);
  margin-bottom: 1rem;
  line-height: 1.7;
  font-variant-numeric: lining-nums !important;
  font-feature-settings: "tnum", "lnum";
}

.footer-info__phone,
.footer-info__email {
  display: block;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 0.4rem;
  transition: color 0.2s ease;
  font-variant-numeric: lining-nums !important;
  font-feature-settings: "tnum", "lnum";
}

.footer-info__phone { color: #2D6A2D; }
.footer-info__email { color: #2D6A2D; }

.footer-info__phone:hover,
.footer-info__email:hover {
  color: var(--brun-dark);
  text-decoration: underline;
}

/* Footer barre basse */
.footer-bottom-bar {
  background: #2D6A2D;
  color: #fff;
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
}

.footer-bottom-bar p {
  margin: 0;
  color: #fff;
}

@media (max-width: 768px) {
  .footer-info__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ============================================================
   18. UTILITAIRES
   ============================================================ */

.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-vert    { color: var(--vert); }
.text-peche   { color: var(--peche-dark); }
.text-brun    { color: var(--brun); }
.text-blanc   { color: var(--blanc); }
.text-muted   { color: var(--gris-moyen); }
.text-sm      { font-size: var(--fs-sm); }
.text-lg      { font-size: var(--fs-lg); }
.font-titre   { font-family: var(--font-titre); }
.italic       { font-style: italic; }
.uppercase    { text-transform: uppercase; letter-spacing: 0.08em; }

.bg-beige  { background-color: var(--beige); }
.bg-blanc  { background-color: var(--blanc); }
.bg-vert   { background-color: var(--vert); }
.bg-peche  { background-color: var(--peche); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.visually-hidden { @extend .sr-only; }

.mt-auto { margin-top: auto; }
.mb-0    { margin-bottom: 0; }

.rounded    { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.overflow-hidden { overflow: hidden; }

/* Animation d'apparition */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   19. RESPONSIVE - TABLETTE (≥ 640px)
   ============================================================ */

@media (min-width: 640px) {
  :root { --header-h: 72px; }

  h1 { font-size: var(--fs-3xl); }
  h2 { font-size: var(--fs-2xl); }
  h3 { font-size: var(--fs-xl); }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item--large {
    grid-column: span 3;
  }

  .card--horizontal {
    grid-template-columns: 280px 1fr;
  }

  .card--horizontal .card__img-wrap {
    aspect-ratio: auto;
    height: 100%;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid .form-group--full {
    grid-column: span 2;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .citation {
    padding: var(--space-2xl) var(--space-xl);
  }
}

/* ============================================================
   19b. GRILLES — seuil carousel (≥ 960px)
   ============================================================ */

@media (min-width: 960px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ============================================================
   20. RESPONSIVE - DESKTOP (≥ 1024px)
   ============================================================ */

/* Navbar compacte dynamique (quand les items débordent) */
.site-header.header--compact .site-nav      { display: none !important; }
.site-header.header--compact .header-contact { display: none !important; }
.site-header.header--compact .burger        { display: flex !important; }
.site-header.header--compact ~ .mobile-nav.open { display: flex !important; flex-direction: column; }

@media (min-width: 1024px) {
  :root { --header-h: 54px; }

  /* Header desktop */
  .site-nav {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .header-cta {
    display: block;
  }

  .burger {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

  /* Grilles */
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-main {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
  }

  section {
    padding-block: var(--space-3xl);
  }
}

/* ============================================================
   21. RESPONSIVE - GRAND ÉCRAN (≥ 1280px)
   ============================================================ */

@media (min-width: 1280px) {
  .header-phone {
    display: flex;
  }

  .gallery {
    grid-template-columns: repeat(5, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .nav-link {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
}

/* ============================================================
   22. ACCESSIBILITÉ & PRÉFÉRENCES
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero__scroll { animation: none; }
}

@media (prefers-color-scheme: dark) {
  /* Optionnel : mode sombre non activé par défaut */
}

/* Focus visible amélioré */
:focus-visible {
  outline: 3px solid var(--vert);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Sélection de texte */
::selection {
  background-color: var(--peche-light);
  color: var(--brun-dark);
}

/* ============================================================
   23. COULEURS GLOBALES LIENS TÉLÉPHONE ET EMAIL
   ============================================================ */

a[href^="tel:"] {
  color: #2D6A2D !important;
}

a[href^="mailto:"] {
  color: #2D6A2D !important;
}

a[href^="tel:"]:hover,
a[href^="mailto:"]:hover {
  color: #C41E3A !important;
}
