/* --- 1. VARIABLES & CONFIGURATION --- */

/* josefin-sans-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 300;
  src: url('/assets/fonts/josefin/josefin-sans-v34-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* josefin-sans-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Josefin Sans';
  font-style: italic;
  font-weight: 300;
  src: url('/assets/fonts/josefin/josefin-sans-v34-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* josefin-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/josefin/josefin-sans-v34-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* josefin-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Josefin Sans';
  font-style: italic;
  font-weight: 400;
  src: url('/assets/fonts/josefin/josefin-sans-v34-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* josefin-sans-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 600;
  src: url('/assets/fonts/josefin/josefin-sans-v34-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* josefin-sans-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Josefin Sans';
  font-style: italic;
  font-weight: 600;
  src: url('/assets/fonts/josefin/josefin-sans-v34-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* josefin-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Josefin Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/fonts/josefin/josefin-sans-v34-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* josefin-sans-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Josefin Sans';
  font-style: italic;
  font-weight: 700;
  src: url('/assets/fonts/josefin/josefin-sans-v34-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/playfair/playfair-display-v40-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  src: url('/assets/fonts/playfair/playfair-display-v40-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  src: url('/assets/fonts/playfair/playfair-display-v40-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  src: url('/assets/fonts/playfair/playfair-display-v40-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/fonts/playfair/playfair-display-v40-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* playfair-display-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 700;
  src: url('/assets/fonts/playfair/playfair-display-v40-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('/assets/fonts/poppins/poppins-v24-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('/assets/fonts/poppins/poppins-v24-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('/assets/fonts/poppins/poppins-v24-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('/assets/fonts/poppins/poppins-v24-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('/assets/fonts/poppins/poppins-v24-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: italic;
  font-weight: 700;
  src: url('/assets/fonts/poppins/poppins-v24-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


:root {
    /* Palette Officielle Lou Cantou */
    --bg-site: #fdf7f0;        
    --color-primary: #5a7242;   
    --color-secondary: #b6b18d; 
    --color-dark: #2B2E2A;      
    --color-muted: #7A8077;     
    --white: #ffffff;

    /* Typographies */
    --font-main: 'Poppins', sans-serif;
    --font-titles: 'Josefin Sans', sans-serif;
    --font-attached: 'Playfair Display', serif; 

    /* Structure & Design */
    --width-full: 100%;
    --width-large: 1200px;
    --width-medium: 900px;
    --width-small: 650px;    
    --gutter: 5%;
    --radius: 4px;             
    --shadow-subtle: 0 4px 20px rgba(43, 46, 42, 0.05); 
}

/* --- 2. RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-site);
    color: var(--color-dark);
    font-family: var(--font-main);
    margin: 0;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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



/* --- 3. TYPOGRAPHIE & TITRES --- */
h1, h2, h3, h4 { 
    color: var(--color-dark);
    line-height: 1.2; 
    margin: 0 0 1.2rem 0;
}

h1 { 
    font-family: var(--font-attached);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.5rem, 7vw, 4.2rem); 
    text-transform: none; 
    letter-spacing: 0;
}

h2 { 
    font-family: var(--font-titles);
    font-size: clamp(1.8rem, 4vw, 2.4rem); 
    font-weight: 600; 
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

h3 { 
    font-family: var(--font-titles);
    font-size: 1.4rem; 
    font-weight: 600; 
    letter-spacing: -0.01em;
}

p { margin-bottom: 1.5rem; font-size: 1.05rem; font-weight: 300; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

.text-attached {
    font-family: var(--font-attached);
    font-style: italic;
}

/* --- 4. LAYOUT --- */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.w-full   { max-width: var(--width-full); }
.w-large  { max-width: var(--width-large); }
.w-medium { max-width: var(--width-medium); }
.w-small  { max-width: var(--width-small); }

/* On applique la marge sur toutes les pages */
main {
    margin-top: 12rem;
}

@media (max-width: 768px) {
    main {
        margin-top: 8rem;
    }
}

/* On remet à zéro uniquement pour la Home (pour que ton hero/parallax colle au haut de l'écran) */
.page-home main {
    margin-top: 0 !important;
}

/* --- 5. BOUTONS --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: var(--font-titles);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
    border: 1px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--white);
}

.btn:hover {
    background-color: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--white);
}

/* --- 6. SITE HEADER (DYNAMIC STICKY) --- */
/* 🟢 STYLE PAR DÉFAUT : Pour les pages internes & le header scrollé */

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

.site-header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.8rem 0;
    background-color: var(--white); 
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow-subtle);
    transition: all 0.4s ease-in-out; 
}


/* Effet de réduction de hauteur au scroll (s'applique partout) */
.site-header.is-scrolled {
    padding: 1rem 0; 
}

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

/* Couleurs par défaut (Texte sombre sur fond blanc) */
.header-logo {
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    font-family: var(--font-titles);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.header-links a {
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.header-links a:hover,
.header-links a.active {
    color: var(--color-primary);
}

.header-links a.nav-cta {
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
}

.header-links a.nav-cta:hover,
.header-links a.nav-cta.active {
    background-color: var(--color-primary);
    color: var(--white);
    border-color: var(--color-primary);
}

/* 🌟 STYLE SPÉCIFIQUE : La Home avant le scroll (Transparent & Texte blanc) */
.site-header.header-home:not(.is-scrolled) {
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-header.header-home:not(.is-scrolled) .header-logo {
    color: var(--white);
}

.site-header.header-home:not(.is-scrolled) .header-links a {
    color: var(--white);
}

.site-header.header-home:not(.is-scrolled) .header-links a:hover {
    color: var(--color-secondary);
}

.site-header.header-home:not(.is-scrolled) .header-links a.nav-cta {
    color: var(--white);
    border-color: var(--white);
}

.site-header.header-home:not(.is-scrolled) .header-links a.nav-cta:hover {
    background-color: var(--white);
    color: var(--color-dark);
    border-color: var(--white);
}

/* ==========================================================================
   MENU BURGER - RESPONSIVE LOU CANTOU
   ========================================================================== */

/* 1. COMPORTEMENT PAR DÉFAUT (Ordinateur / Desktop) */
.burger-toggle {
    display: none; /* Caché sur grand écran */
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 100; /* Reste toujours au-dessus */
}

.burger-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #111111; /* Aligne la couleur sur ton logo/texte */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================================
   MENU BURGER - RESPONSIVE LOU CANTOU (CORRIGÉ HOME TRANSPARENTE)
   ========================================================================== */

/* 1. COMPORTEMENT PAR DÉFAUT (Ordinateur / Desktop) */
.burger-toggle {
    display: none; 
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 100;
    outline: none;
    -webkit-tap-highlight-color: transparent; /* 🌟 Supprime le bleu parasite au clic sur mobile */
}

.burger-toggle .bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #111111; /* Ta couleur sombre définie par défaut */
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* 2. ADAPTATION MOBILE & TABLETTE */
@media (max-width: 768px) {
    
    .header-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .burger-toggle {
        display: flex; 
    }

    /* 🌟 GESTION DE LA COULEUR DU BURGER SUR LA HOME AVANT SCROLL */
    .header-home:not(.is-scrolled) .burger-toggle .bar {
        background-color: #ffffff; /* Devient blanc sur le fond transparent de la home */
    }
    
    /* Si le burger est ouvert, les barres repassent en sombre pour trancher sur le fond blanc du tiroir */
    .header-home:not(.is-scrolled) .burger-toggle.is-open .bar {
        background-color: #111111; 
    }

    /* Transformation des liens en menu tiroir */
    header .header-links {
        display: none !important; 
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        
        position: fixed; /* 🌟 'fixed' évite les sauts de hauteur si le header bouge */
        top: 60px; /* À ajuster précisément selon la hauteur de ton header sur mobile */
        left: 0;
        width: 100vw;
        height: calc(100vh - 70px); /* Prend tout l'écran restant */
        background-color: #ffffff; 
        padding: 40px 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        z-index: 90;
    }

    /* 🌟 CORRECTIF MAJEUR : On force les liens à être sombres dans le tiroir blanc */
    header .header-links a {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #111111 !important; /* Forces ton sombre défini, même sur la home avant scroll ! */
        font-size: 1.2rem;
        font-weight: 500;
    }

    /* Le bouton Réserver garde sa couleur de CTA */
    header .header-links a.nav-cta {
        color: #ffffff !important; /* Si ton bouton de réservation a un fond coloré */
        background-color: #111111; /* Mets la couleur de fond de ton CTA ici */
        padding: 12px 32px;
        border-radius: 4px;
        width: 100%;
        max-width: 200px;
        text-align: center;
    }

    /* Affiche le menu quand la classe JS est active */
    header .header-links.is-open {
        display: flex !important;
    }

    /* ANIMATION DU X */
    .burger-toggle.is-open .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .burger-toggle.is-open .bar:nth-child(2) {
        opacity: 0;
    }
    .burger-toggle.is-open .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* =======================================================================
   HOMEPAGE
   ======================================================================= */
/* =======================================================================
   1. HERO IMMERSIVE
   ======================================================================= */
.hero-immersive {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #3e4736;
}

.hero-immersive::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 0;
}

.hero-immersive.has-bg::before {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%), 
                      url('/assets/img/accueil/gite-piscine-perigord-noir.webp');
    opacity: 1;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    padding-top: 5rem; 
}

.hero-tagline {
    font-family: var(--font-titles);
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--white); 
    opacity: 0.8;
    display: block;
    margin-bottom: 1.5rem;
}

.hero-immersive .hero-title {
    color: var(--white);
    margin-bottom: 2rem;
}

.hero-lead {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-weight: 300;
}

.btn-hero {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-titles);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    border: 1px solid var(--white);
    background: transparent;
    color: var(--white);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: var(--white);
    color: var(--color-dark);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    z-index: 5;
    opacity: 0.75;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
    color: var(--white);
}

.hero-scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

.scroll-label {
    font-family: var(--font-titles);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    white-space: nowrap;
}

.scroll-arrow {
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    display: block;
    width: 10px;
    height: 10px;
    transform: translateY(0) rotate(45deg);
    animation: premium-bounce 2s infinite ease-in-out;
}

@keyframes premium-bounce {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(6px) rotate(45deg); }
}

@media (max-width: 768px) {
    .hero-immersive .hero-title { font-size: 2.2rem; }
    .hero-lead { font-size: 1rem; padding: 0 1rem; }
}

/* =======================================================================
   2. STORYTELLING MAGAZINE
   ======================================================================= */
.story-section {
    background-color: var(--bg-site);
    padding: 0; 
}

.story-chapter-wrapper {
    height: 180vh; 
    position: relative;
}

.story-chapter {
    position: sticky;
    top: 0;
    height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--width-large);
    margin: 0 auto;
    padding: 0 var(--gutter);
    gap: 8%;
}

.story-chapter-wrapper.is-reversed .story-chapter {
    flex-direction: row-reverse;
}

.magazine-window {
    flex: 0 0 45%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-subtle);
    border-radius: var(--radius);
}

.magazine-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    display: block;
    will-change: transform;
}

.chapter-text {
    flex: 0 0 47%;
}

.chapter-pretitle {
    font-family: var(--font-titles);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
    display: block;
    margin-bottom: 1.2rem;
}

.chapter-title {
    font-family: var(--font-attached);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 1.8rem;
}

.chapter-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-dark);
    opacity: 0.8;
    font-weight: 300;
}

.chapter-link {
    display: inline-block;
    margin-top: 2rem;
    font-family: var(--font-titles);
    font-size: 0.85rem;
    color: var(--color-dark);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.3s ease;
}

.chapter-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-dark);
    transform: scaleX(0.25);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.chapter-link:hover { color: var(--color-muted); }
.chapter-link:hover::after { transform: scaleX(1); background-color: var(--color-muted); }

@media (max-width: 768px) {
    .story-chapter-wrapper { 
        height: auto !important; 
        min-height: 90vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 5rem 1.5rem;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .story-chapter-wrapper.chapter-one {
        background-image: url('assets/img/accueil/gite-piscine-perigord-noir.webp'); 
        margin: 4rem 0 0;
    }

    .story-chapter-wrapper.chapter-two {
        background-image: url('assets/img/accueil/location-gite-interieur-moderne-dordogne.jpeg'); 
        margin: 0;
    }

    .story-chapter { 
        position: relative !important; 
        top: auto !important; 
        height: auto !important; 
        flex-direction: column; 
        padding: 3rem 2rem; 
        background: rgba(255, 255, 255, 0.72); 
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-radius: var(--radius);
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);
        width: 100%;
        max-width: 360px; 
        margin: 0 auto;
        z-index: 10;
    }
    
    .story-chapter-wrapper.is-reversed .story-chapter { flex-direction: column; }
    .magazine-window { display: none !important; } 

    .chapter-text { flex: 0 0 auto; width: 100%; text-align: center; }
    .chapter-title { font-size: 1.8rem; margin-bottom: 1rem; color: #1a1a1a; }
    .chapter-description { font-size: 0.95rem; line-height: 1.7; color: #333333; opacity: 1; }
    .chapter-pretitle { margin-bottom: 0.8rem; }

    .chapter-link {
        display: block;
        width: 100%;
        margin-top: 2.5rem;
        padding-bottom: 12px;
    }

    .chapter-link::after {
        transform: scaleX(0.9);
        transform-origin: center;
        opacity: 0.4;
    }
}

/* =======================================================================
   3. PHRASE PONT DE CONNEXION
   ======================================================================= */
.story-phrase-bridge {
    background-color: var(--bg-site);
    padding: 3rem 0;
    margin: 0;
    position: relative;
    z-index: 10;
}

.bridge-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.bridge-line {
    flex: 1;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.12);
}

.bridge-quote {
    font-family: var(--font-attached);
    font-style: italic;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.4;
    color: var(--color-dark);
    text-align: center;
    max-width: 60%;
    margin: 0;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .bridge-line { display: none; }
    .bridge-quote { max-width: 100%; font-size: 1.3rem; padding: 0 1rem; }
}

/* =======================================================================
   4. SECTION ÉDITORIALE SEO
   ======================================================================= */
.seo-editorial-section {
    background-color: var(--bg-site);
    padding: 3rem 0 6rem 0; 
}

.seo-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8%;
}

.seo-title-block {
    flex: 0 0 35%;
    position: sticky;
    top: 8rem; 
    z-index: 10;
}

.seo-tag {
    font-family: var(--font-titles);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-muted);
    display: block;
    margin-top: 0; 
    margin-bottom: 1rem;
}

.seo-heading {
    font-family: var(--font-titles);
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-dark);
}

.seo-text-block {
    flex: 0 0 57%;
    font-size: 0.95rem;
    line-height: 1.9;
    text-align: justify;
    color: var(--color-muted);
}

.seo-text-block p:first-child { margin-top: 0; }
.seo-text-block p { margin-bottom: 1.8rem; }
.seo-text-block p:last-child { margin-bottom: 0; }
.seo-text-block strong { color: var(--color-dark); font-weight: 500; }

.seo-signature-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 6rem; 
    width: 100%;
}

.seo-luxury-logo {
    width: 100%;
    max-width: 400px; 
    height: auto;
    display: block;
    opacity: 0.9; 
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .seo-editorial-section { padding: 4rem 0; }
    .seo-grid { flex-direction: column; gap: 2.5rem; padding: 0 1.5rem; }
    .seo-title-block { position: relative !important; top: auto !important; flex: 0 0 auto; width: 100%; text-align: center; }
    .seo-text-block { flex: 0 0 auto; width: 100%; text-align: justify; font-size: 0.9rem; line-height: 1.8; }
    .seo-signature-wrapper { margin-top: 3.5rem; }
    .seo-luxury-logo { max-width: 280px; }
}

/* =======================================================================
   5. CTA BOOKING LUXE
   ======================================================================= */
.booking-cta-section {
    text-align: center;
    padding: 0 0 3rem;
    position: relative;
}

.booking-cta-section::before {
    content: '';
    display: block;
    width: 300px;
    height: 1px;
    background-color: var(--color-primary);
    margin: 0 auto 3rem auto;
    opacity: 0.3;
}

.cta-title {
    font-family: var(--font-attached);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.4rem, 5vw, 3.8rem); 
    color: var(--color-dark); 
    margin-bottom: 2rem;
    max-width: 100%;       
    margin-left: auto;
    margin-right: auto;
    white-space: balance;
}

.cta-subtitle {
    max-width: 720px; 
    margin: 0 auto 4rem auto;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.9;
    color: var(--color-muted);
    letter-spacing: 0.02em;
}

.btn-cta-luxury {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    font-family: var(--font-titles);
    font-weight: 600;
    font-size: 0.75rem; 
    text-transform: uppercase;
    letter-spacing: 0.3em; 
    background-color: transparent; 
    color: var(--color-dark);
    border: 1px solid var(--color-dark); 
    border-radius: 0; 
    box-shadow: none; 
    text-decoration: none;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-cta-luxury:hover {
    background-color: var(--color-dark);
    color: var(--white);
    transform: translateY(-2px);
    letter-spacing: 0.35em; 
}

@media (max-width: 768px) {
    .booking-cta-section::before { width: 140px; }
    .cta-title { font-size: 2.2rem; }
    .cta-subtitle { font-size: 0.95rem; padding: 0 1rem; margin-bottom: 2.5rem; }
    .btn-cta-luxury { padding: 1rem 2.5rem; width: 100%; max-width: 300px; box-sizing: border-box; }
}

/* =======================================================================
   --- PAGE GITE GENERAL & PRESTATIONS ---
   ======================================================================= */

/* --- HERO SCROLL INDICATOR --- */
.page-le-gite .hero-scroll-indicator {
    color: var(--color-dark);
}

@media (max-width: 768px) {
    .page-le-gite .hero-scroll-indicator {
        position: relative;
        bottom: 0;
        left: 0;
        transform: none;
        margin-top: 3rem;
    }
}

/* --- SECTIONS GALERIES & EN-TÊTES --- */
.gallery-section {
    padding: 10rem 0 3rem;
    width: 100%;
    overflow: hidden;
    scroll-margin-top: -2rem;
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 4rem 0 2rem;
        scroll-margin-top: 2rem;
    }
}

.gallery-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    cursor: default;
    position: relative;
    z-index: 20;
}

@media (max-width: 768px) {
    .gallery-header { 
        margin: 0; 
        padding: 0 1rem; 
    }
}

.gallery-num {
    font-family: var(--font-titles);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.35em; 
    text-transform: uppercase;
    color: var(--color-secondary); 
    margin-bottom: 1rem;
    display: block;
}

.gallery-header h2 {
    font-family: var(--font-titles);
    font-size: clamp(1.3rem, 2.5vw, 1.7rem); 
    font-weight: 400; 
    text-transform: uppercase;
    letter-spacing: 0.25em; 
    color: var(--color-dark); 
    margin: 0;
    position: relative;
    padding-bottom: 1.5rem;
}

.gallery-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 1px;
    background-color: var(--color-dark);
    opacity: 0.3;
}

/* --- THEATRE 3D COVERFLOW --- */
.coverflow-wrapper {
    position: relative;
    width: 100%;
    max-width: 100vw;
    height: 480px; 
    perspective: 1200px; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    overscroll-behavior-x: none; 
}

@media (max-width: 768px) {
    .coverflow-wrapper {
        height: 360px;
    }
}

.coverflow-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.coverflow-item {
    position: absolute;
    width: clamp(280px, 65vw, 450px); 
    aspect-ratio: 16 / 11;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.6s ease, 
                filter 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coverflow-item img {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.coverflow-item img.is-loaded {
    opacity: 1;
}

.coverflow-reflection-box {
    width: 100%;
    height: 100%;
    -webkit-box-reflect: below 6px linear-gradient(transparent 55%, rgba(253, 247, 240, 0.3) 90%, rgba(253, 247, 240, 0.6));
}

@media (max-width: 768px) {
    .coverflow-reflection-box {
        -webkit-box-reflect: below 4px linear-gradient(transparent 75%, rgba(253, 247, 240, 0.2));
    }
}

.coverflow-item img, 
.coverflow-item .gallery-img,
.coverflow-item picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(43, 46, 42, 0.15); 
    border-radius: var(--radius);
    display: block;
}

/* --- LÉGENDE FIXE --- */
.coverflow-active-caption {
    font-family: var(--font-titles);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    color: var(--color-dark);
    text-transform: uppercase;
    text-align: center;
    margin-top: 1rem;
    min-height: 1.5em;
    transition: opacity 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

@media (max-width: 768px) {
    .coverflow-active-caption { 
        margin-top: 0; 
        font-size: 0.95rem; 
        letter-spacing: 0.12em; 
    }
}

.coverflow-item .item-caption {
    display: none;
}

/* --- BOUTONS NAVIGATION --- */
.coverflow-wrapper .btn-nav {
    position: absolute;
    top: 35%;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--color-dark);
    border: 1px solid rgba(43, 46, 42, 0.08);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100; 
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
}

.coverflow-wrapper .btn-nav:hover {
    background-color: var(--color-dark);
    color: var(--white);
}

.coverflow-wrapper .btn-nav.is-prev { left: var(--gutter); }
.coverflow-wrapper .btn-nav.is-next { right: var(--gutter); }

@media (max-width: 768px) {
    .coverflow-wrapper .btn-nav { 
        display: none; 
    }
}


/* --- SECTION IMMERSIVE & FEATURES --- */
.gite-features-immersive {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;    
    padding: 5rem 2rem 0 2rem; 
    box-sizing: border-box;
    scroll-margin-top: -2rem;
}

@media (max-width: 768px) {
    .gite-features-immersive { 
        padding: 3rem 1rem 0 1rem; 
    }
}

.features-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1200px;
}

.features-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 3rem; 
}

.features-num {
    font-family: var(--font-titles);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    display: block;
}

.features-title {
    font-family: var(--font-titles);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--color-dark);
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem; 
}

@media (max-width: 992px) {
    .features-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 1.5rem; 
    }
}

@media (max-width: 576px) {
    .features-grid { 
        grid-template-columns: 1fr; 
        gap: 1.2rem; 
        margin-bottom: 2.5rem; 
    }
}

.feature-card {
    background: var(--white, #ffffff);
    padding: 3rem 2rem;
    border-radius: var(--radius, 4px);
    text-align: center;
    box-shadow: 0 10px 30px rgba(43, 46, 42, 0.02);
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

@media (max-width: 768px) {
    .feature-card { 
        padding: 2rem 1.5rem; 
    }
}

.feature-card h3 {
    font-family: var(--font-titles);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--color-muted);
    line-height: 1.6;
    font-weight: 300;
    margin: 0;
}

/* =======================================================================
   --- PAGE REGION ---
   ======================================================================= */
.intro-section--region {
    padding-bottom: 0; 
}

.intro-invitation {
    font-family: var(--font-titles);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--color-muted);
    opacity: 0.85;
    margin-top: 2.5rem; 
    margin-bottom: 0;
    text-align: center;
}

.editorial-subnav {
    background-color: var(--bg-site);
    padding: 2rem 0;
    position: sticky;
    top: 4rem;
    z-index: 90;
    max-width: 100vw;
}

@media (max-width: 768px) {
    .editorial-subnav { 
        overflow-x: auto; 
        -webkit-overflow-scrolling: touch; 
        padding: 1rem 0; 
        scrollbar-width: none;
    }
    .editorial-subnav::-webkit-scrollbar {
        display: none;
    }
}

.subnav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between; 
    align-items: center;
}



.subnav-link {
    font-family: var(--font-titles);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-dark);
    text-decoration: none;
    display: inline-block;
    position: relative;
    padding: 0.7rem 0;
    transition: color 0.4s ease;
    white-space: nowrap;
}

.subnav-link::before,
.subnav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 24px; 
    height: 1px;
    background-color: rgba(43, 46, 42, 0.15);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease;
}

.subnav-link::before { top: 0; }
.subnav-link::after { bottom: 0; }

.subnav-link:hover,
.subnav-link.active {
    color: var(--color-primary);
}

.subnav-link:hover::before,
.subnav-link:hover::after,
.subnav-link.active::before,
.subnav-link.active::after {
    width: 100%; 
    background-color: var(--color-primary);
}

@media (max-width: 768px) {
    .subnav-links { 
        gap: 2rem; 
        padding-left: 1.5rem; 
        padding-right: 0; /* On gère la fin avec le after */
        justify-content: flex-start; 
    }
    /* La cale magique qui garantit la même marge à droite */
    .subnav-links::after {
        content: '';
        display: block;
        min-width: 1.5rem; /* Même valeur que le padding-left */
        height: 1px;
    }
}


.region-section {
    scroll-margin-top: 7rem;
    padding: 4rem 0; 
}

@media (max-width: 768px) {
    .region-section { padding: 2.5rem 0; }
}

.culture-header {
    margin-bottom: 4rem; 
}

@media (max-width: 768px) {
    .culture-header { margin-bottom: 2.5rem; padding: 0 1rem; }
}

.culture-header .section-subtitle {
    font-family: var(--font-titles);
    font-style: italic;
    font-size: 0.9rem;
    text-align: center;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.culture-header .section-title {
    font-family: var(--font-titles);
    font-size: 2.2rem;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.1em;
    color: var(--color-dark);
}

@media (max-width: 768px) {
    .culture-header .section-title { font-size: 1.6rem; }
}

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

.culture-row {
    display: flex;
    align-items: center;
    gap: 6rem; 
    margin-bottom: 4rem; 
}

/* L'ALCHIMIE DE L'ALTERNANCE DESKTOP */
@media (min-width: 769px) {
    /* Une ligne sur deux est inversée */
    .culture-row:nth-of-type(even) {
        flex-direction: row-reverse;
    }
    /* On inverse aussi les paddings du texte pour garder le bon espacement */
    .culture-row:nth-of-type(even) .culture-col-text {
        padding-right: 0;
        padding-left: 2rem;
    }
}

@media (max-width: 992px) {
    .culture-row { gap: 3rem; }
}

@media (max-width: 768px) {
    /* Sur mobile, tout revient sagement en colonne dans le bon sens */
    .culture-row { flex-direction: column; gap: 2rem; margin-bottom: 3.5rem; padding: 0 1.5rem; }
}

.culture-row:last-child {
    margin-bottom: 0;
}

.culture-col-image {
    flex: 1;
    max-width: 45%;
}

@media (max-width: 768px) {
    .culture-col-image { max-width: 100%; width: 100%; }
}
.image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 4; 
    border-radius: 4px; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

.image-wrapper picture {
    display: block;
    width: 100%;
    height: 100%;
}

.image-wrapper img, .luxury-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; 
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.culture-row:hover .image-wrapper img,
.culture-row:hover .luxury-img {
    transform: scale(1.05);
}

.culture-col-text {
    flex: 1;
    padding-right: 2rem;
}

@media (max-width: 768px) {
    .culture-col-text { padding-right: 0; width: 100%; }
    .culture-row.row-reverse .culture-col-text { padding-left: 0; }
}

.culture-row.row-reverse .culture-col-text {
    padding-right: 0;
    padding-left: 2rem;
}

.category-number {
    font-family: var(--font-titles);
    font-size: 0.8rem;
    color: var(--color-primary);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.8rem;
}

.category-title {
    font-family: var(--font-titles);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.category-desc {
    font-family: var(--font-base);
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-muted);
    margin-bottom: 2rem;
}

.curated-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.curated-list li {
    font-family: var(--font-base);
    font-size: 1rem;
    color: var(--color-dark);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(43, 46, 42, 0.08); 
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding-left 0.3s ease, color 0.3s ease;
}

.curated-list li:last-child { border-bottom: none; }
.curated-list li:hover { color: var(--color-primary); padding-left: 0.5rem; }

.list-tag {
    font-family: var(--font-titles);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    background-color: rgba(197, 160, 89, 0.08); 
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    font-weight: 600;
}

/* =======================================================================
   --- RAIL CAROUSEL ET PRESTATIONS DE LOISIRS ---
   ======================================================================= */
:root {
    --carousel-gap: 2rem; 
}

.sports-categories-menu {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem; 
}

@media (max-width: 768px) {
    .sports-categories-menu { margin-bottom: 2.5rem; gap: 0.6rem; padding: 0 1rem; }
}

.category-btn {
    background: transparent;
    border: 1px solid rgba(43, 46, 42, 0.15);
    padding: 0.6rem 1.2rem;
    font-family: var(--font-titles);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-dark);
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--white);
}

.sports-carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 100vw;
}

.sports-carousel-track {
    display: flex;
    flex-flow: row nowrap;
    gap: var(--carousel-gap);
    overflow-x: auto;
    align-items: stretch; 
    padding: 0 0 1.5rem 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    min-height: 480px; 
}

.sports-carousel-track::-webkit-scrollbar { display: none; }

.sports-carousel-container .btn-nav {
    position: absolute;
    top: 240px; 
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    background-color: #ffffff; 
    border: 1px solid rgba(43, 46, 42, 0.1);
    color: #2b2e2a; 
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease;
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 1200px) {
    /* Cache les flèches extérieures si l'écran est trop petit pour éviter la cassure */
    .sports-carousel-container .btn-nav { display: none !important; } 
}

.sports-carousel-container .btn-nav.is-hidden { opacity: 0 !important; pointer-events: none !important; }
.sports-carousel-container .btn-nav:hover { background-color: #2b2e2a; color: #ffffff; border-color: #2b2e2a; }
.sports-carousel-container .btn-nav.is-prev { left: -6rem; }
.sports-carousel-container .btn-nav.is-next { right: -6rem; }

.sport-card {
    flex: 0 0 calc((100% - (2 * var(--carousel-gap))) / 3);
    min-width: 320px; 
    scroll-snap-align: start;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-subtle);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

@media (max-width: 992px) {
    .sport-card { flex: 0 0 calc((100% - var(--carousel-gap)) / 2); }
}

@media (max-width: 650px) {
    .sport-card { flex: 0 0 85vw; min-width: 270px; }
}

.sport-card.is-hidden { display: none !important; }
.sport-card:hover { transform: translateY(-8px); box-shadow: 0 12px 30px rgba(43, 46, 42, 0.08); }

.sport-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    flex-shrink: 0;
}

.sport-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.sport-card:hover .sport-img-wrapper img { transform: scale(1.05); }

.sport-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(43, 46, 42, 0.85) 0%, rgba(43, 46, 42, 0.3) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    box-sizing: border-box;
    z-index: 1;
}

.sport-title-inside {
    font-family: var(--font-titles);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

.sport-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(253, 247, 240, 0.95);
    color: var(--color-primary);
    font-family: var(--font-titles);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.4rem 0.8rem;
    border-radius: 2px;
    z-index: 2;
}

.sport-content {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sport-desc {
    font-family: var(--font-main);
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-muted);
    text-align: justify;
    margin-bottom: 2rem;
    flex-grow: 1; 
}

.sport-booking-link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-titles);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-dark);
    padding: 0.8rem 0;
    border-top: 1px solid rgba(43, 46, 42, 0.08);
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.sport-booking-link::after { content: '→'; font-size: 1rem; transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1); }
.sport-card:hover .sport-booking-link { color: var(--color-primary); }
.sport-card:hover .sport-booking-link::after { transform: translateX(6px); }

.sport-booking-multi {
    display: flex;
    flex-direction: column;
    margin-top: auto;
    border-top: 1px solid rgba(43, 46, 42, 0.08);
    flex-shrink: 0;
}

.multi-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-titles);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-dark);
    text-decoration: none;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(43, 46, 42, 0.04);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.multi-link-item:last-child { border-bottom: none; padding-bottom: 0; }
.multi-link-item span { font-size: 0.9rem; transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1); }
.multi-link-item:hover { color: var(--color-primary); padding-left: 0.4rem; }
.multi-link-item:hover span { transform: translateX(4px); }

/* Animation globale pour l'effet de fondu/remontée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 1. Photos des 3 sections culturelles (effet de bas en haut au scroll) */
@media (max-width: 768px) {
    .culture-col-image .image-wrapper {
        opacity: 0;
        transform: translateY(25px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        will-change: opacity, transform;
    }

    .culture-col-image .image-wrapper.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* 2. Éviter le carré blanc sur les cartes du carrousel d'activités */
    .sport-card .sport-img-wrapper img {
        opacity: 0;
        transition: opacity 0.4s ease-in-out;
    }

    .sport-card .sport-img-wrapper img.is-loaded {
        opacity: 1;
    }
}

/* =======================================================================
   --- GASTRONOMIE & TERROIR ---
   ====================================================================== */
.gastro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 1fr; 
    gap: 2rem;
    margin-top: 0; 
}

@media (max-width: 576px) {
    .gastro-grid { grid-template-columns: 1fr; gap: 1.2rem; padding: 0 1rem; }
}

.gastro-card {
    padding: 1.5rem; 
    border: 1px solid rgba(43, 46, 42, 0.1);
    transition: opacity 0.25s ease, transform 0.25s ease;
    opacity: 1;
    transform: scale(1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gastro-card.is-hidden { display: none !important; opacity: 0; transform: scale(0.95); }

.gastro-name {
    margin-top: 0;
    margin-bottom: 0.25rem;
    font-family: var(--font-titles);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-dark);
}

.gastro-card .loc {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    display: block;
    margin-bottom: 0;
}

.category-label {
    display: inline-block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.container.w-medium {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.luxury-market-list {
    list-style: none;
    padding: 0;
    margin: 0; 
}

.luxury-market-list {
    list-style: none;
    padding: 0;
    margin: 0; 
}

.luxury-market-list li {
    display: flex;
    align-items: baseline;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(43, 46, 42, 0.08);
}

@media (max-width: 768px) {
    .luxury-market-list li { 
        flex-direction: column; 
        gap: 0.8rem; 
        padding: 1.5rem 0; 
        align-items: center; 
    }
}

.luxury-market-list li:last-child { 
    border-bottom: none; 
}

.luxury-market-list li.multi-line {
    align-items: baseline;
}

.luxury-market-list li.multi-line .market-date-block {
    padding-top: 0;
}

.market-date-block {
    width: 140px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .market-date-block { 
        width: 100%; 
        text-align: center; 
    }
}

.market-date-block .day-name {
    font-family: var(--font-titles);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--color-primary);
}

.market-info-group {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem; 
    width: 100%;
}

.market-info-block {
    flex-grow: 1;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .market-info-block { 
        flex-direction: column; 
        gap: 0.3rem; 
        align-items: center; 
    }
}

.market-info-block .market-town-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--color-text);
    font-family: var(--font-titles);
    text-align: inherit;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .market-info-block .market-town-title { 
        text-align: center; 
    }
}

.market-note {
    font-family: var(--font-titles);
    font-size: 0.85rem;
    color: #8c8a85;
    font-style: italic;
    text-align: right;
}

@media (max-width: 768px) {
    .market-note { 
        text-align: center; 
    }
}

/* =======================================================================
   --- PAGE CONTACT ---
   ======================================================================= */

.intro-section--contact {
    padding-bottom: 4rem;
}

.intro-lead-text {
    text-align: justify;
}

.inline-link {
    color: inherit;
    text-decoration: underline;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.inline-link:hover {
    color: var(--color-primary); 
}

.contact-direct-links {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .contact-direct-links {
        flex-direction: column;
        gap: 1.2rem;
    }
}

.contact-direct-link {
    font-family: var(--font-titles);
    font-size: 1rem;
    letter-spacing: 0.05em;
    color: var(--color-dark);
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 1px dashed rgba(43, 46, 42, 0.2);
}

.contact-direct-link span {
    color: var(--color-muted);
    font-weight: 300;
}

.contact-direct-link:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.contact-links-separator {
    color: var(--color-muted);
    opacity: 0.4;
    font-weight: 300;
}

@media (max-width: 768px) {
    .contact-links-separator {
        display: none;
    }
}

.contact-form-section {
    position: relative;
    margin: 0 0 4rem 0;
    scroll-margin-top: 2rem;
}

.contact-form-section::before {
    content: '';
    display: block;
    width: 100px;
    height: 1px;
    background-color: var(--color-primary);
    margin: 0 auto 4rem auto;
    opacity: 0.2;
}

.form-header {
    margin-bottom: 4rem;
    text-align: center;
}

.form-section-title {
    font-family: var(--font-titles);
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.form-section-intro {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-muted);
    max-width: 800px;
    margin: 0 auto;
}

.luxury-form {
    margin-top: 0;
}

/* Anti-spam Honeypot */
.form-honeypot {
    display: none;
}

.form-group {
    margin-bottom: 2.2rem;
    display: flex;
    flex-direction: column;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

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

@media (max-width: 768px) {
    .form-row-grid,
    .form-row-grid--3-cols {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.form-label {
    font-family: var(--font-titles);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-dark);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.luxury-form input[type="text"],
.luxury-form input[type="email"],
.luxury-form input[type="tel"],
.luxury-form textarea {
    width: 100%;
    padding: 0.5rem 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(43, 46, 42, 0.15);
    border-radius: 0;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--color-dark);
    transition: border-color 0.4s ease;
    outline: none;
    box-sizing: border-box;
}

.luxury-form input:focus,
.luxury-form textarea:focus {
    border-bottom-color: var(--color-primary);
}

.luxury-form textarea {
    resize: vertical;
}

.form-submit-wrapper {
    margin-top: 3.5rem;
    text-align: center;
}

/* Mention RGPD et lien avec hover */
.form-privacy-notice {
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.form-privacy-link {
    color: var(--color-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.form-privacy-link:hover {
    color: var(--color-primary);
    opacity: 0.8;
}

.form-submit-wrapper .btn-cta-luxury {
    cursor: pointer;
    width: 100%;
    max-width: 350px;
}

/* =======================================================================
   --- PAGE RESERVATION ---
   ======================================================================= */

.intro-section--reservation {
    padding-bottom: 4rem;
}

/* --- OPTIMISATION LUXE DES INPUTS DATE NATIFS --- */

/* 1. On applique le même style de ligne épurée */
.luxury-form input[type="date"] {
    width: 100%;
    padding: 0.5rem 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(43, 46, 42, 0.15);
    border-radius: 0;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--color-dark);
    outline: none;
    
    /* Pour iOS/Safari : force le même rendu */
    -webkit-appearance: none;
    appearance: none; 
    min-height: 2.2rem; 
}

/* 2. On rend le picto calendrier natif presque invisible (il s'affiche subtilement au survol) */
.luxury-form input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.15;
    cursor: pointer;
    transition: opacity 0.3s ease;
    /* Optionnel : si tu veux le décaler complètement à droite */
    position: absolute;
    right: 0;
}

.luxury-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 0.8;
}

/* 3. Astuce pour que le texte du placeholder (JJ/MM/AAAA) soit discret et gris comme le reste */
.luxury-form input[type="date"]::-webkit-datetime-edit {
    color: var(--color-dark);
}

.luxury-form input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

/* Si le champ est vide (non rempli), on adoucit la couleur du texte par défaut */
.luxury-form input[type="date"]:invalid::-webkit-datetime-edit {
    color: var(--color-muted);
    opacity: 0.6;
}
.luxury-form select {
    width: 100%;
    padding: 0.5rem 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(43, 46, 42, 0.15);
    border-radius: 0;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--color-dark);
    outline: none;
    cursor: pointer;
    /* Correction pour le linter : on met les deux */
    -webkit-appearance: none; 
    appearance: none; 
}

.form-success-message {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--color-bg-alt, #f9f8f6);
    border-radius: 12px;
}

.confirmation-notice-box {
    margin: 2rem auto;
    max-width: 600px;
    padding: 1.5rem;
    background: #ffffff;
    border-left: 4px solid var(--color-primary, #1b365d);
    font-size: 0.95rem;
    color: #444;
}

.success-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* =======================================================================
   --- PAGE TARIFS (STYLE EDITORIAL & PRESTIGE) ---
   ======================================================================= */


/* Section des prestations */
.rates-amenities {
padding-top: 4rem;
padding-bottom: 6rem;
}

.rates-amenities h2 {
    font-family: var(--font-titles);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--color-dark)
}

.amenities-intro {
    text-align: center;
    color: var(--color-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Grille de cartes */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 12fr);
    gap: 2.5rem;
}

.amenity-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(43, 46, 42, 0.03);
    transition: transform 0.3s ease;
}

.amenity-card:hover {
    transform: translateY(-4px);
}

.amenity-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.amenity-card p {
    margin: 0;
    font-size: 1rem;
    color: var(--color-dark);
    opacity: 0.85;
}


/* --- ADAPTATION MOBILE --- */
@media (max-width: 768px) {

    .rates-hero {
        margin-bottom: 3rem;
    }

    .rates-subtitle {
        font-size: 1.1rem;
    }

    .rates-amenities {
        margin-bottom: 4rem;
    }

    .amenities-grid {
        grid-template-columns: 1fr; /* Une seule colonne sur mobile */
        gap: 1.5rem;
    }

    .amenity-card {
        padding: 2rem;
    }

}

/* =======================================================================
   --- PAGES LÉGALES ---
   ======================================================================= */

/* Titre principal utilisant Playfair Display Italic */
.legal-page h1 {
    color: var(--color-dark);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(43, 46, 42, 0.1);
    padding-bottom: 2rem;
}

/* Chapeau / Intro de la page */
.legal-lead {
    font-size: 1.2rem;
    color: var(--color-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
}

/* Sections et sous-titres en Josefin Sans */
.legal-page section {
    margin-bottom: 3rem;
}

.legal-page h2 {
    font-size: 1.5rem;
    color: var(--color-dark); /* On reste sobre, pas de vert ici pour garder le côté officiel */
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}

/* Texte courant et listes */
.legal-page p {
    color: var(--color-dark);
    opacity: 0.85;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.legal-page ul {
    margin: 0 0 1.5rem 0;
    padding-left: 1.5rem;
    text-align: justify;
}

.legal-page li {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--color-dark);
    opacity: 0.85;
    margin-bottom: 0.6rem;
    line-height: 1.6;
    text-align: justify;
}

.legal-page a {
    text-decoration: underline;
    text-underline-offset: 3px; /* Optionnel : aère légèrement le trait sous le texte */
    color: inherit; /* Conserve la couleur du texte ou applique ta couleur d'accent */
}

.legal-page a:hover {
    opacity: 0.8; /* Légère interaction au survol */
}

.legal-page strong {
    font-weight: 500;
    color: var(--color-dark);
}

/* --- ADAPTATION MOBILE --- */
@media (max-width: 768px) {
    .legal-page {
        padding-bottom: 3rem;
    }
    
    .legal-page h1 {
        padding-bottom: 1.5rem;
        margin-bottom: 1rem;
    }

    .legal-lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .legal-page section {
        margin-bottom: 2rem;
    }

    .legal-page h2 {
        font-size: 1.3rem;
        margin-top: 2rem;
    }
}

/* =======================================================================
   --- SITE FOOTER (VERSION HAUTE COUTURE) ---
   ======================================================================= */
.site-footer {
    background-color: var(--white);
    color: var(--color-dark);
    padding: 2rem 0 0;
    border-top: 1px solid rgba(43, 46, 42, 0.08);
    font-size: 0.9rem;
}

/* Grille principale asymétrique */
.footer-main-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
    margin-bottom: 2rem;
}

/* 🌟 RESPONSIVE GRILLE */
@media (max-width: 768px) {
    .footer-main-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
        margin-bottom: 3rem;
    }
}

/* Gestion des proportions des colonnes */
.brand-block {
    flex: 1 1 35%; /* Laisse de l'espace pour la marque */
}

.links-block {
    flex: 0 0 15%;
}

.contact-block {
    flex: 0 1 auto; /* S'adapte à la longueur du mail et du téléphone sans casser */
}

/* 🌟 RESPONSIVE COLONNES */
@media (max-width: 768px) {
    .brand-block, .links-block, .contact-block {
        flex: 1 1 100%;
        width: 100%;
    }
}

/* Typographie des éléments du footer */
.footer-logo {
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-dark);
}

.footer-tagline {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--color-muted);
    max-width: 320px;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .footer-tagline {
        margin: 0 auto;
    }
}

/* Étiquettes de colonnes */
.footer-label {
    font-family: var(--font-titles);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-dark);
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .footer-label {
        margin-bottom: 1rem;
    }
}

/* Liens de navigation du footer */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a {
    color: var(--color-muted);
    font-weight: 300;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.footer-nav a:hover {
    color: var(--color-primary);
    transform: translateX(3px);
}

/* Contacts */
.footer-author {
    color: var(--color-dark);
    font-weight: 400;
    margin-bottom: 0.6rem;
}

/* Liens contact (Mail & Téléphone) */
.footer-contact-link {
    display: block; /* Force l'un sous l'autre sans casser la grille */
    color: var(--color-muted);
    font-weight: 300;
    width: fit-content;
    border-bottom: 1px solid rgba(122, 128, 119, 0.3);
    padding-bottom: 2px;
    margin-bottom: 0.5rem;
    white-space: nowrap; /* Empêche le numéro de passer à la ligne */
    transition: color 0.3s ease, border-color 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

@media (max-width: 768px) {
    .footer-contact-link {
        margin-left: auto;
        margin-right: auto; /* Centre les liens sur mobile */
    }
}

/* --- Barre de copyright tout en bas --- */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(43, 46, 42, 0.04);
    padding: 1.5rem 0;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright, .footer-legal {
    margin: 0;
}

.footer-copyright, .footer-legal a {
    font-size: 0.75rem;
    color: var(--color-muted);
    opacity: 0.7;
    letter-spacing: 0.05em;
}

.footer-legal a {
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-primary);
    opacity: 1;
}

@media (max-width: 768px) {
    .footer-bottom-bar {
        flex-direction: column-reverse;
        gap: 1.2rem;
        padding: 2rem 0;
        text-align: center;
    }

    .footer-legal-links {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }
}

/* --- BANDEAU COOKIES --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--color-dark, #2b2e2a); /* Fond sombre */
    color: #ffffff;
    padding: 1.5rem 2rem;
    z-index: 9999; /* Passe au-dessus du footer */
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 1;
}

/* Gestion du masquage/affichage via JS */
.cookie-banner.is-hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

/* Mise en page interne */
.cookie-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* --- TON CODE DEJA EXISTANT (Garde-le tel quel en dessous) --- */
.cookie-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-cookie {
    font-family: var(--font-titles);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.8rem 1.8rem;
    border: 1px solid #ffffff;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 160px;
    text-align: center;
}

/* Style pour le bouton Accepter (Plein) */
.btn-cookie--accept {
    background-color: #ffffff;
    color: var(--color-dark, #2b2e2a);
}

.btn-cookie--accept:hover {
    background-color: transparent;
    color: #ffffff;
}

/* Style pour le bouton Refuser (Transparent / Plus discret) */
.btn-cookie--deny {
    background-color: transparent;
    color: #ffffff;
}

.btn-cookie--deny:hover {
    background-color: #ffffff;
    color: var(--color-dark, #2b2e2a);
}

@media (min-width: 769px) {
    .cookie-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
    .cookie-actions {
        width: auto;
        flex-shrink: 0;
    }
    .btn-cookie {
        flex: initial;
    }
}
