/* ==========================================================================
   GÎTE L'AMMONITE — Design Premium
   Palette : tons terreux, accents dorés champagne, vignoble
   ========================================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Palette — or champagne & terroir */
    --color-cream:        #FDFAF5;
    --color-cream-warm:   #F9F3EA;
    --color-sand:         #F0E6D3;
    --color-sand-dark:    #E0D0B8;
    --color-gold:         #C9A84C;
    --color-gold-light:   #D4B96A;
    --color-gold-muted:   #BFA465;
    --color-brown:        #5C4033;
    --color-brown-dark:   #3D2B1F;
    --color-brown-deep:   #2A1D13;

    /* Accents */
    --color-vine:         #5A6E34;
    --color-burgundy:     #6B2D3E;
    --color-stone:        #8A7E72;
    --color-stone-light:  #B8AFA5;

    /* Neutres */
    --color-white:        #FFFFFF;
    --color-text:         #2A1D13;
    --color-text-light:   #6B5D50;
    --color-text-muted:   #9B8E80;
    --color-border:       #E8DFD2;

    /* Typographie */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Espacements généreux (premium = espace) */
    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 7rem;
    --space-4xl: 10rem;

    /* Tailles */
    --container-max:   1140px;
    --container-narrow: 800px;
    --header-height:   80px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition:      0.4s var(--ease-out-expo);
    --transition-slow: 0.7s var(--ease-out-expo);

    /* Ombres premium (diffuses, subtiles) */
    --shadow-sm:  0 2px 8px rgba(42, 29, 19, 0.04);
    --shadow-md:  0 4px 20px rgba(42, 29, 19, 0.07);
    --shadow-lg:  0 12px 40px rgba(42, 29, 19, 0.10);
    --shadow-xl:  0 24px 60px rgba(42, 29, 19, 0.14);
    --shadow-gold: 0 4px 30px rgba(201, 168, 76, 0.15);

    /* Rayons */
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  24px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text);
    background-color: var(--color-cream);
    overflow-x: hidden;
}

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

a {
    color: var(--color-brown);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-gold);
}

ul { list-style: none; }
address { font-style: normal; }

::selection {
    background-color: var(--color-gold);
    color: var(--color-white);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-brown-deep);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

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

/* ---------- Layout ---------- */
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--space-lg);
}

.container--narrow {
    max-width: var(--container-narrow);
}

.section {
    padding-block: var(--space-4xl);
    position: relative;
}

.section--sand {
    background-color: var(--color-cream-warm);
}

.section--dark {
    background-color: var(--color-brown-deep);
    color: var(--color-sand);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--color-cream);
}

/* ---- Section Headers Premium ---- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--color-gold-muted);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Ornement doré sous les titres de section */
.section-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: var(--space-lg) auto 0;
}

/* Séparateur ammonite-spirale entre sections */
.ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: var(--space-sm);
    color: var(--color-gold);
    opacity: 0.4;
}

/* ========================================================================
   SCROLL REVEAL ANIMATIONS
   ======================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========================================================================
   HEADER / NAVIGATION — version premium
   ======================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: background-color 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
    /* Transparent sur le hero */
    background-color: transparent;
}

.site-header.is-scrolled {
    background-color: rgba(253, 250, 245, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--color-border);
}

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-white);
    text-decoration: none;
    transition: color var(--transition);
}

.is-scrolled .logo {
    color: var(--color-brown-deep);
}

.logo:hover {
    color: var(--color-gold-light);
}

.logo-icon {
    color: var(--color-gold);
    display: flex;
    transition: transform 0.6s var(--ease-out-expo);
}

.logo:hover .logo-icon {
    transform: rotate(45deg);
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    display: block;
    line-height: 1.15;
}

.logo-tagline {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;
    transition: color var(--transition);
}

.is-scrolled .logo-tagline {
    color: var(--color-text-muted);
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    border-radius: 50px;
    transition: all var(--transition);
    letter-spacing: 0.02em;
}

.is-scrolled .nav-link {
    color: var(--color-text-light);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--color-white);
    background-color: rgba(255,255,255,0.12);
}

.is-scrolled .nav-link:hover,
.is-scrolled .nav-link.is-active {
    color: var(--color-brown-deep);
    background-color: var(--color-sand);
}

.nav-link--cta {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-muted));
    color: var(--color-white) !important;
    padding: 0.5rem 1.4rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.nav-link--cta:hover {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    color: var(--color-white) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.is-scrolled .nav-link--cta {
    color: var(--color-white) !important;
}

/* Hamburger (mobile) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 1.5px;
    background-color: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition);
}

.is-scrolled .hamburger,
.is-scrolled .hamburger::before,
.is-scrolled .hamburger::after {
    background-color: var(--color-brown-deep);
}

.hamburger { position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after  { top: 7px; }

/* ========================================================================
   HERO — Cinématique, plein écran
   ======================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

/* Image de fond plein écran */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

/* Overlay gradient sombre pour lisibilité */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(0deg,
            rgba(42, 29, 19, 0.85) 0%,
            rgba(42, 29, 19, 0.5) 35%,
            rgba(42, 29, 19, 0.15) 60%,
            rgba(42, 29, 19, 0.08) 100%
        );
}

/* Vignette subtile */
.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(42, 29, 19, 0.25) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding-bottom: var(--space-4xl);
    padding-top: calc(var(--header-height) + var(--space-3xl));
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(201, 168, 76, 0.35);
    border-radius: 50px;
    margin-bottom: var(--space-xl);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
    background: rgba(42, 29, 19, 0.3);
}

.hero-badge svg {
    width: 13px;
    height: 13px;
}

.hero h1 {
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    line-height: 1.08;
}

.hero h1 em {
    color: var(--color-gold-light);
    font-style: italic;
    display: block;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-xl);
    max-width: 520px;
}

.hero-classification {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.08em;
    margin-bottom: var(--space-lg);
}

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

/* Petite ligne dorée décorative au dessus du texte hero */
.hero-content::before {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background: var(--color-gold);
    margin-bottom: var(--space-xl);
    opacity: 0.6;
}

/* Scroll indicator */
.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: 0.5rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* ========================================================================
   BUTTONS — Premium
   ======================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
    letter-spacing: 0.03em;
}

.btn svg {
    width: 15px;
    height: 15px;
    transition: transform var(--transition);
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-muted));
    color: var(--color-white);
    border-color: transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Variantes pour fonds clairs */
.btn-outline-dark {
    background: transparent;
    color: var(--color-brown);
    border-color: var(--color-brown);
}

.btn-outline-dark:hover {
    background-color: var(--color-brown);
    color: var(--color-cream);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-dark svg {
    width: 15px;
    height: 15px;
}

/* ========================================================================
   POINTS FORTS (Features) — Premium Cards
   ======================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.feature-card {
    text-align: center;
    padding: var(--space-2xl) var(--space-lg);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    position: relative;
    transition: all 0.5s var(--ease-out-expo);
}

/* Bordure dorée subtile au hover */
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gold);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
}

.feature-card:hover::before {
    opacity: 1;
}

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

.feature-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    position: relative;
}

/* Cercle décoratif derrière l'icône */
.feature-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    opacity: 0.15;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--color-brown-deep);
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ========================================================================
   À PROPOS (About teaser) — Premium
   ======================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4 / 5;
    background-color: var(--color-sand-dark);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cadre décoratif doré décalé */
.about-image-wrapper::after {
    content: '';
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    right: calc(-1 * var(--space-lg));
    bottom: calc(-1 * var(--space-lg));
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-xl);
    opacity: 0.25;
    z-index: -1;
    transition: all var(--transition-slow);
}

.about-image-wrapper:hover::after {
    top: var(--space-md);
    left: var(--space-md);
    opacity: 0.4;
}

.about-content .section-subtitle {
    display: block;
    margin-bottom: var(--space-sm);
}

.about-content h2 {
    margin-bottom: var(--space-lg);
}

.about-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.about-content .btn {
    margin-top: var(--space-lg);
}

/* ========================================================================
   SECTION WITH BACKGROUND IMAGE
   ======================================================================== */
.section--with-bg {
    position: relative;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.section-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(0deg,
            rgba(42, 29, 19, 0.65) 0%,
            rgba(42, 29, 19, 0.50) 40%,
            rgba(42, 29, 19, 0.45) 100%
        );
}

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

/* ========================================================================
   LOCALISATION — Premium dark section
   ======================================================================== */
.location-content {
    text-align: center;
    max-width: 700px;
    margin-inline: auto;
}

.location-content p {
    color: rgba(240, 230, 211, 0.75);
    font-size: 1.05rem;
}

.section--dark .section-header::after {
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.section--dark .section-subtitle {
    color: var(--color-gold);
}

.location-cities {
    display: flex;
    justify-content: center;
    gap: var(--space-3xl);
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}

.location-city {
    text-align: center;
    transition: transform var(--transition);
}

.location-city:hover {
    transform: translateY(-4px);
}

.location-city-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-cream);
    display: block;
    letter-spacing: 0.02em;
}

.location-city-distance {
    font-size: 0.8rem;
    color: var(--color-gold-muted);
    display: block;
    margin-top: var(--space-xs);
    letter-spacing: 0.05em;
}

/* Petit tiret doré au dessus de chaque ville */
.location-city::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--color-gold);
    margin: 0 auto var(--space-md);
    opacity: 0.5;
}

/* ========================================================================
   CTA — Premium
   ======================================================================== */
.cta-section {
    text-align: center;
    padding-block: var(--space-4xl);
    position: relative;
    background-color: var(--color-cream-warm);
    overflow: hidden;
}

/* Cercles décoratifs */
.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    opacity: 0.06;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    opacity: 0.06;
}

.cta-section h2 {
    margin-bottom: var(--space-md);
    position: relative;
}

.cta-section p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-xl);
    max-width: 550px;
    margin-inline: auto;
}

.cta-section .btn-primary {
    position: relative;
}

/* ========================================================================
   FOOTER — Premium
   ======================================================================== */
.site-footer {
    background-color: var(--color-brown-deep);
    color: var(--color-sand);
    padding-top: var(--space-3xl);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-cream);
    display: block;
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-size: 0.88rem;
    color: var(--color-stone-light);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.footer-address {
    font-size: 0.82rem;
    color: var(--color-stone);
    line-height: 1.9;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-cream);
    margin-bottom: var(--space-lg);
    letter-spacing: 0.03em;
}

/* Petit trait doré sous le heading footer */
.footer-heading::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--color-gold);
    margin-top: var(--space-sm);
    opacity: 0.5;
}

.footer-nav ul li,
.footer-contact ul li {
    margin-bottom: 0.6rem;
}

.footer-nav a,
.footer-contact a {
    font-size: 0.85rem;
    color: var(--color-stone-light);
    transition: all var(--transition);
    position: relative;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--color-gold-light);
}

/* Underline animé au hover */
.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: width var(--transition);
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-contact .icon {
    flex-shrink: 0;
    color: var(--color-gold-muted);
}

.footer-bottom {
    padding-block: var(--space-lg);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--color-stone);
    margin-bottom: 0;
}

.footer-bottom a {
    font-size: 0.78rem;
    color: var(--color-stone);
}

.footer-bottom a:hover {
    color: var(--color-gold-light);
}

/* ========================================================================
   PAGE HERO (sous-pages)
   ======================================================================== */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: 0;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(0deg,
            rgba(42, 29, 19, 0.8) 0%,
            rgba(42, 29, 19, 0.45) 50%,
            rgba(42, 29, 19, 0.2) 100%
        );
}

.page-hero-content {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
    text-align: center;
}

.page-hero-content h1 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.page-hero-content h1 em {
    color: var(--color-gold-light);
    font-style: italic;
}

.page-hero-content .section-subtitle {
    color: var(--color-gold);
}

.page-hero-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 550px;
    margin-inline: auto;
    margin-bottom: 0;
}

/* ========================================================================
   PROSE TEXT (bloc de texte centré)
   ======================================================================== */
.prose {
    max-width: 680px;
    margin-inline: auto;
    margin-top: var(--space-xl);
}

.prose p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--color-text-light);
}

.prose p strong {
    color: var(--color-brown-deep);
    font-weight: 600;
}

/* Prose étendu pour pages légales */
.legal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-brown-deep);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--color-sand-dark);
}

.legal-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-brown);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-content ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.legal-content li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text-light);
}

.legal-content a {
    color: var(--color-gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-content a:hover {
    color: var(--color-brown-deep);
}

.legal-update {
    margin-top: var(--space-2xl) !important;
    font-size: 0.85rem !important;
    color: var(--color-text-muted) !important;
    font-style: italic;
    text-align: center;
}

/* Hero compact (pages légales, etc.) */
.page-hero--compact {
    min-height: 30vh;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    font-style: italic;
}

/* ========================================================================
   STUDIO BLOCKS (visite guidée — alternance image/texte)
   ======================================================================== */
.studio-block {
    margin-bottom: var(--space-3xl);
}

.studio-block:last-child {
    margin-bottom: 0;
}

.studio-block-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.studio-block-grid--reverse {
    direction: rtl;
}

.studio-block-grid--reverse > * {
    direction: ltr;
}

.studio-block-image .about-image {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.studio-block-image .about-image.slider {
    aspect-ratio: 1 / 1;
}

.studio-block-content h3 {
    font-size: 1.4rem;
    margin-bottom: var(--space-md);
    color: var(--color-brown-deep);
}

.studio-block-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: var(--space-lg);
}

/* Liste d'équipements avec icônes */
.equip-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.equip-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--color-text);
}

.equip-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--color-gold);
}

/* Grille d'équipements par groupes */
.equip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.equip-group h4 {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-sm);
}

/* Tags d'équipements */
.equip-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.equip-tags li {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    color: var(--color-text-light);
    transition: all var(--transition);
}

.equip-tags li:hover {
    border-color: var(--color-gold);
    color: var(--color-brown-deep);
}

.equip-tags--accent li {
    background-color: rgba(201, 168, 76, 0.08);
    border-color: rgba(201, 168, 76, 0.2);
    color: var(--color-brown);
}

.equip-tags--accent li:hover {
    background-color: rgba(201, 168, 76, 0.15);
    border-color: var(--color-gold);
}

.studio-block-content p.equip-note {
    font-size: 0.7rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* ========================================================================
   SECTION EXTÉRIEUR (réutilise .studio-block)
   ======================================================================== */

/* ========================================================================
   PAGE LOCALISATION
   ======================================================================== */
.loc-address-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.loc-address-content .section-subtitle {
    display: block;
    margin-bottom: var(--space-sm);
}

.loc-address-content h2 {
    margin-bottom: var(--space-lg);
}

.loc-address-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.loc-full-address {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: var(--space-lg);
    background-color: var(--color-cream-warm);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--color-gold);
    margin-top: var(--space-xl);
    font-size: 0.9rem;
    line-height: 1.8;
}

.loc-full-address svg {
    flex-shrink: 0;
    color: var(--color-gold);
    margin-top: 0.2rem;
}

.map-embed {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
    background-color: var(--color-sand-dark);
}

.map-embed iframe {
    width: 100%;
    height: 100%;
}

/* Cartes de proximité */
.proximity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.proximity-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--color-border);
    position: relative;
    transition: all 0.5s var(--ease-out-expo);
}

.proximity-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gold);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
}

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

.proximity-card:hover::before {
    opacity: 1;
}

.proximity-card--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.proximity-link {
    display: block;
    margin-top: var(--space-md);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-gold);
    transition: color var(--transition-base);
}

.proximity-card--link:hover .proximity-link {
    color: var(--color-brown-deep);
}

.proximity-card-distance {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gold);
    background-color: rgba(201, 168, 76, 0.08);
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    margin-bottom: var(--space-md);
}

.proximity-card h3 {
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
}

.proximity-card p {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.proximity-time {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--color-text-muted);
}

.proximity-time svg {
    flex-shrink: 0;
    color: var(--color-stone-light);
}

/* Cartes d'accès (comment venir) */
.access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.access-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--color-border);
    transition: all 0.5s var(--ease-out-expo);
}

.access-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.access-card-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    margin-bottom: var(--space-lg);
    position: relative;
}

.access-card-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid var(--color-gold);
    opacity: 0.15;
}

.access-card-icon svg {
    width: 24px;
    height: 24px;
}

.access-card h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.access-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
}

.access-card li {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.6;
    padding-left: 0.75rem;
    position: relative;
}

.access-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--color-gold);
}

.access-card li strong {
    color: var(--color-brown-deep);
}

.access-note {
    font-size: 0.82rem;
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

/* ========================================================================
   PAGE RÉSERVATION
   ======================================================================== */

/* Grille tarifs */
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    align-items: start;
}

.tarifs-grid--duo {
    grid-template-columns: repeat(2, 1fr);
    max-width: 750px;
    margin-inline: auto;
}

.tarif-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
}

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

.tarif-card--featured {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-gold);
}

.tarif-card--featured:hover {
    box-shadow: 0 8px 40px rgba(201, 168, 76, 0.25);
}

.tarif-badge {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-muted));
    color: var(--color-white);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.4rem;
}

.tarif-card-header {
    padding: var(--space-xl) var(--space-xl) 0;
}

.tarif-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-brown-deep);
    margin-bottom: var(--space-xs);
}

.tarif-period {
    display: block;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.tarif-card-price {
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.tarif-amount {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--color-brown-deep);
    line-height: 1;
}

.tarif-unit {
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

.tarif-features {
    padding: 0 var(--space-xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-lg);
    margin-inline: var(--space-xl);
}

.tarif-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--color-text-light);
}

.tarif-features svg {
    flex-shrink: 0;
    color: var(--color-gold);
}

.tarifs-note {
    text-align: center;
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin-top: var(--space-2xl);
    padding: var(--space-lg);
    background-color: var(--color-cream-warm);
    border-radius: var(--radius-lg);
    border-left: 3px solid var(--color-gold);
}

.tarifs-note strong {
    color: var(--color-brown-deep);
}

/* Conditions de séjour */
.conditions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.condition-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-lg);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all 0.3s var(--ease-out-expo);
}

.condition-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(201, 168, 76, 0.3);
}

.condition-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
}

.condition-icon svg {
    width: 22px;
    height: 22px;
}

.condition-item h4 {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.condition-item p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ========================================================================
   PAGE CONTACT
   ======================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact-info .section-subtitle {
    display: block;
    margin-bottom: var(--space-sm);
}

.contact-info h2 {
    margin-bottom: var(--space-md);
}

.contact-intro {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-detail {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    background-color: rgba(201, 168, 76, 0.08);
    border-radius: var(--radius-md);
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
}

.contact-detail h4 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-muted);
    margin-bottom: 0.15rem;
}

.contact-detail a,
.contact-detail address,
.contact-detail p {
    font-size: 0.92rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 0;
}

.contact-detail a:hover {
    color: var(--color-gold);
}

.contact-map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-map iframe {
    display: block;
}

/* ========================================================================
   FORMULAIRES — Premium
   ======================================================================== */
.form-premium {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.form-premium h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

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

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.35rem;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-text);
    background-color: var(--color-cream);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
    background-color: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239B8E80'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.form-actions {
    margin-top: var(--space-lg);
    text-align: center;
}

.form-actions .btn {
    width: 100%;
    justify-content: center;
}

.form-actions .btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-note {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-top: var(--space-md);
    margin-bottom: 0;
    font-style: italic;
}

.form-note a {
    color: var(--color-gold);
    font-weight: 500;
}

.form-info {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    font-weight: 500;
    color: #92400e;
    margin-bottom: var(--space-md);
}

.form-info svg {
    flex-shrink: 0;
    color: #d97706;
}

/* Récapitulatif prix (réservation) */
.recap-prix {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.recap-prix h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.recap-ligne {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: var(--space-xs) 0;
    font-size: 0.9rem;
    color: var(--color-text);
}

.recap-ligne small {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

.recap-ligne--reduction {
    color: #16a34a;
}

.recap-ligne--total {
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 2px solid var(--color-gold);
    font-size: 1.1rem;
    font-weight: 600;
}

.recap-error {
    margin-bottom: var(--space-lg);
}

.hidden {
    display: none !important;
}

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

/* Flatpickr — dates indisponibles */
.flatpickr-disabled-custom {
    background: #fee2e2 !important;
    text-decoration: line-through;
    opacity: 0.5;
}

.flatpickr-calendar {
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--color-gold) !important;
    border-color: var(--color-gold) !important;
}

/* Flash messages */
.flash-message {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    font-size: 0.92rem;
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

.flash-message svg {
    flex-shrink: 0;
}

.flash-message--success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.flash-message--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Form validation errors */
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #ef4444;
}

.form-group .error-list,
.form-group ul {
    list-style: none;
    padding: 0;
    margin: var(--space-xs) 0 0;
}

.form-group .error-list li,
.form-group ul li {
    color: #ef4444;
    font-size: 0.82rem;
}

/* ========================================================================
   INFO CARDS (informations pratiques)
   ======================================================================== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.info-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    background-color: var(--color-cream-warm);
}

.info-card-header svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

.info-card-header h3 {
    font-size: 1rem;
    margin: 0;
}

.info-card-body {
    padding: var(--space-lg);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-block: 0.5rem;
    font-size: 0.88rem;
}

.info-row:not(:last-child) {
    border-bottom: 1px solid var(--color-border);
}

.info-label {
    color: var(--color-text-muted);
}

.info-value {
    color: var(--color-text);
    text-align: right;
}

.info-value strong {
    color: var(--color-brown-deep);
}

/* ========================================================================
   RESPONSIVE — pages intérieures
   ======================================================================== */
@media (max-width: 1024px) {
    .studio-block-grid,
    .studio-block-grid--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .studio-block-image {
        max-width: 500px;
        margin-inline: auto;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

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

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

    .access-grid {
        grid-template-columns: 1fr;
    }

    .tarifs-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-inline: auto;
    }

    .conditions-grid {
        grid-template-columns: 1fr;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 40vh;
    }

    .equip-grid {
        grid-template-columns: 1fr;
    }

    .proximity-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================
   SLIDER / CARROUSEL
   ======================================================================== */
.slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Conteneur de chaque slide (créé par JS) */
.slider-slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
}

/* Fond flou : même image en background-cover + blur */
.slider-slide-bg {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(20px) brightness(0.7);
    z-index: 0;
}

/* Image principale : remplissage carré (cover) */
.slider-slide img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fallback si pas de JS / une seule image */
.slider-track > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex: 0 0 100%;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    color: var(--color-brown-dark);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity var(--transition-base), background var(--transition-base), transform var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slider:hover .slider-btn {
    opacity: 1;
}

.slider-btn:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn--prev {
    left: var(--space-sm);
}

.slider-btn--next {
    right: var(--space-sm);
}

.slider-dots {
    position: absolute;
    bottom: var(--space-sm);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
    transition: background var(--transition-base), transform var(--transition-base);
}

.slider-dot.is-active {
    background: var(--color-white);
    transform: scale(1.3);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
}

.slider-dot:hover:not(.is-active) {
    background: rgba(255, 255, 255, 0.8);
}

/* Mobile: boutons toujours visibles */
@media (max-width: 768px) {
    .slider-btn {
        opacity: 1;
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
}

/* ========================================================================
   LIVRET D'ACCUEIL
   ======================================================================== */

/* Navigation rapide (sommaire) */
.livret-nav {
    padding-block: var(--space-xl);
}

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

.livret-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: var(--space-md) var(--space-sm);
    border-radius: var(--radius-lg);
    background: var(--color-sand);
    color: var(--color-brown);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
    transition: all var(--transition-base);
}

.livret-nav-item svg {
    opacity: 0.6;
    transition: opacity var(--transition-base);
}

.livret-nav-item:hover {
    background: var(--color-sand-dark);
    color: var(--color-brown-deep);
    transform: translateY(-2px);
}

.livret-nav-item:hover svg {
    opacity: 1;
}

/* Blocs de contenu */
.livret-block {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--color-sand-dark);
}

.livret-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.livret-block h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-brown-deep);
    margin-bottom: var(--space-md);
}

.livret-block h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-brown);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.livret-block p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

/* Adresse et horaires */
.livret-address {
    font-size: 0.85rem !important;
    color: var(--color-text-muted) !important;
    font-style: italic;
}

.livret-hours {
    font-size: 0.82rem !important;
    color: var(--color-gold) !important;
    font-weight: 500;
}

/* Signature */
.livret-signature {
    text-align: center;
    margin-top: var(--space-lg) !important;
    font-family: var(--font-heading);
    font-size: 1.05rem !important;
    color: var(--color-brown) !important;
}

/* Tableaux */
.livret-table-wrapper {
    overflow-x: auto;
    margin-block: var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.livret-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    background: var(--color-white);
}

.livret-table thead {
    background: var(--color-brown-deep);
    color: var(--color-white);
}

.livret-table th {
    padding: 0.7rem 1rem;
    text-align: left;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.livret-table td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid var(--color-sand);
    color: var(--color-text);
}

.livret-table tbody tr:hover {
    background: var(--color-cream);
}

.livret-table-section {
    background: var(--color-sand) !important;
    font-weight: 600;
    color: var(--color-brown) !important;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Restaurants */
.livret-restaurants {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.livret-restaurant {
    padding: var(--space-lg);
    background: var(--color-sand);
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-sand-dark);
}

.livret-restaurant-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
    flex-wrap: wrap;
}

.livret-restaurant-header h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-brown-deep);
    margin: 0;
}

.livret-restaurant-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: var(--color-gold);
    color: var(--color-white);
}

.livret-restaurant-type {
    font-size: 0.82rem !important;
    color: var(--color-gold) !important;
    font-weight: 500;
    margin-bottom: var(--space-xs) !important;
}

.livret-restaurant p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
    line-height: 1.6;
}

/* Info text dans les cards */
.info-text {
    color: var(--color-text-light);
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: var(--space-xs);
}

/* Responsive livret */
@media (max-width: 768px) {
    .livret-nav-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.4rem;
    }

    .livret-nav-item {
        padding: var(--space-sm) 0.3rem;
        font-size: 0.7rem;
    }

    .livret-nav-item svg {
        width: 18px;
        height: 18px;
    }

    .livret-table {
        font-size: 0.78rem;
    }

    .livret-table th,
    .livret-table td {
        padding: 0.5rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .livret-nav-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================================================
   TOURISME — Pages satellites
   ======================================================================== */

/* Grille de cards */
.tourisme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

/* Card tourisme */
.tourisme-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.tourisme-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-sand);
}

.tourisme-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.tourisme-card:hover .tourisme-card-image img {
    transform: scale(1.05);
}

.tourisme-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-sand-dark) 100%);
    color: var(--color-text-muted);
    opacity: 0.4;
}

.tourisme-card-content {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tourisme-card-meta {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.tourisme-card-distance,
.tourisme-card-temps {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.tourisme-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-brown-deep);
    margin-bottom: var(--space-xs);
}

.tourisme-card-content p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
    flex: 1;
}

.tourisme-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: var(--space-sm);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-gold);
    transition: gap var(--transition-base);
}

.tourisme-card:hover .tourisme-card-link {
    gap: 0.6rem;
}

/* Page détail */
.tourisme-show-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-2xl);
    align-items: start;
}

.tourisme-show-content {
    min-width: 0;
}

.tourisme-info-box {
    background: var(--color-sand);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    position: sticky;
    top: calc(var(--header-height, 80px) + var(--space-lg));
}

.tourisme-info-box h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-brown-deep);
    margin-bottom: var(--space-md);
}

.tourisme-info-btn {
    width: 100%;
    justify-content: center;
    margin-top: var(--space-sm);
}

.tourisme-info-hr {
    border: none;
    border-top: 1px solid var(--color-sand-dark);
    margin-block: var(--space-md);
}

/* Fil d'Ariane */
.breadcrumb-nav {
    padding-block: var(--space-md);
    background: var(--color-sand);
    border-bottom: 1px solid var(--color-sand-dark);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    list-style: none;
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.breadcrumb li:not(:last-child)::after {
    content: '›';
    margin-left: 0.3rem;
    opacity: 0.5;
}

.breadcrumb a {
    color: var(--color-brown);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--color-gold);
}

/* Responsive tourisme */
@media (max-width: 1024px) {
    .tourisme-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tourisme-show-grid {
        grid-template-columns: 1fr;
    }

    .tourisme-info-box {
        position: static;
    }
}

@media (max-width: 768px) {
    .tourisme-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================
   PLACEHOLDER IMAGES
   ======================================================================== */
.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    background: linear-gradient(145deg, var(--color-sand-dark) 0%, var(--color-sand) 50%, var(--color-sand-dark) 100%);
    color: var(--color-text-muted);
    font-size: 0.82rem;
    text-align: center;
    padding: var(--space-xl);
}

.img-placeholder svg {
    opacity: 0.25;
    width: 48px;
    height: 48px;
}

/* ========================================================================
   RESPONSIVE
   ======================================================================== */

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

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

    .about-image-wrapper {
        max-width: 500px;
        margin-inline: auto;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .location-cities {
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
        --space-3xl: 5rem;
        --space-4xl: 6rem;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        background-color: var(--color-cream);
        box-shadow: var(--shadow-xl);
        padding: calc(var(--header-height) + var(--space-2xl)) var(--space-xl) var(--space-xl);
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 5;
    }

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

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.8rem 1rem;
        border-radius: var(--radius-md);
        color: var(--color-text-light);
    }

    .nav-link:hover,
    .nav-link.is-active {
        color: var(--color-brown-deep);
        background-color: var(--color-sand);
    }

    .nav-link--cta {
        text-align: center;
        margin-top: var(--space-md);
    }

    .hero {
        min-height: 100svh;
    }

    .hero-content {
        padding-bottom: 6rem;
    }

    .hero-scroll { display: none; }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .location-cities {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .location-city::before {
        display: none;
    }

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

    .footer-bottom .container {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
