/* =================================================================
   GÎTE DE LAVIALE — Feuille de styles personnalisée
   Charte graphique :
     - Primaire  : Vert sauge / Bleu nuit profond (#3D4A3E, #7A8A7B)
     - Secondaire: Crème, blanc cassé, beige (#FBFBFA, #F4F4EE)
     - Accent    : Corail Airbnb (#FF5A5F → #E61E43)
     - Titres    : Playfair Display (serif)
     - Textes    : Inter (sans-serif)
   ================================================================= */

:root {
    --color-primary: #3D4A3E;
    --color-secondary: #7A8A7B;
    --color-text: #2A2A22;        /* texte courant : noir profond, très lisible */
    --color-text-soft: #3F4239;   /* descriptions : foncé, lisible */
    --color-cream: #FBFBFA;
    --color-soft: #F4F4EE;
    --color-coral: #FF5A5F;
    --color-coral-dark: #E61E43;
    /* Calendrier — code couleur intuitif */
    --cal-free-bg: #DCE8DD;
    --cal-free-bg-hover: #C5D9C7;
    --cal-free-text: #2F4A32;
    --cal-booked-bg: #B91C1C;
    --cal-select-bg: #3D4A3E;
    --cal-range-bg: #E8EFE9;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lifted: 0 20px 50px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(122, 138, 123, 0.25);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--color-text);     /* texte par défaut : noir profond */
    overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* Force une couleur de texte foncée et lisible partout (paragraphes,
   listes, labels) — plus aucun gris clair illisible. */
p, li, label, span:not(.cal-legend):not(.email-icon) {
    color: var(--color-text-soft);
}
h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
}

/* Scrollbar personnalisée */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--color-soft); }
::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 10px;
    border: 2px solid var(--color-soft);
}
::-webkit-scrollbar-thumb:hover { background: var(--color-primary); }

/* Sélection de texte */
::selection {
    background: var(--color-primary);
    color: var(--color-cream);
}

/* -----------------------------------------------------------------
   NAVBAR : transparente sur le hero, devient glassmorphique au scroll
   ----------------------------------------------------------------- */
#navbar {
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background 0.5s var(--ease-out-expo),
                border-color 0.5s var(--ease-out-expo),
                box-shadow 0.5s var(--ease-out-expo);
}
#navbar.scrolled {
    background: rgba(251, 251, 250, 0.80);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(235, 235, 229, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

/* Couleur du logo / liens : blanc sur hero, foncé au scroll */
.navbar-logo,
.navbar-links a {
    color: #FFFFFF;
    transition: color 0.4s ease, transform 0.3s var(--ease-spring);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
    position: relative;
}
#navbar.scrolled .navbar-logo { color: var(--color-primary); text-shadow: none; }
#navbar.scrolled .navbar-links a { color: #5C5C4D; text-shadow: none; }

/* Soulignement animé des liens */
.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s var(--ease-out-expo);
}
.navbar-links a:hover::after { width: 100%; }
.navbar-logo:hover { transform: scale(1.03); }

/* -----------------------------------------------------------------
   BOUTON HAMBURGER (mobile)
   ----------------------------------------------------------------- */
.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #FFFFFF;
    margin: 5px 0;
    transition: all 0.4s var(--ease-spring);
    border-radius: 2px;
}
#navbar.scrolled .hamburger-line { background-color: var(--color-primary); }

#menu-toggle.open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
#menu-toggle.open .hamburger-line:nth-child(2) { opacity: 0; }
#menu-toggle.open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* -----------------------------------------------------------------
   BOUTONS — effets premium (brillance + élévation)
   ----------------------------------------------------------------- */
.btn-airbnb,
button[type="submit"],
a[href="#contact"] {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.btn-airbnb::after,
button[type="submit"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s var(--ease-out-expo);
}
.btn-airbnb:hover::after,
button[type="submit"]:hover::after { left: 130%; }

.btn-airbnb:hover,
button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 90, 95, 0.35);
}
.btn-airbnb:active,
button[type="submit"]:active {
    transform: translateY(0) scale(0.98);
}

/* -----------------------------------------------------------------
   ANIMATIONS D'APPARITION
   ----------------------------------------------------------------- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmerText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes floatGentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Hero : contenu animé à l'arrivée de la page */
.hero-content .animate-fade-up {
    opacity: 0;
    animation: fadeUp 1s var(--ease-out-expo) forwards;
}
.animate-fade-up-delay-1 { animation-delay: 0.2s; }
.animate-fade-up-delay-2 { animation-delay: 0.45s; }
.animate-fade-up-delay-3 { animation-delay: 0.7s; }

/* Parallax subtil sur l'image du hero */
.hero-bg-img {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Indicateur de scroll flottant */
.scroll-indicator {
    animation: floatGentle 2.5s ease-in-out infinite;
}

/* -----------------------------------------------------------------
   ANIMATIONS AU SCROLL (reveal) — 4 variantes
   ----------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Variante : apparition par la gauche */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }

/* Variante : apparition par la droite */
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.reveal-left.is-visible,
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

/* Variante : zoom */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* Délais échelonnés pour les grilles */
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* -----------------------------------------------------------------
   EFFETS DE SURVOL (cartes, équipements, galerie)
   ----------------------------------------------------------------- */
.card-hover {
    transition: transform 0.5s var(--ease-out-expo),
                box-shadow 0.5s var(--ease-out-expo);
    will-change: transform;
}
.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lifted);
}

/* Icône des cartes de logement : zoom au survol de la carte */
.card-hover:hover .card-icon {
    transform: scale(1.15) rotate(-6deg);
    background: var(--color-primary) !important;
    color: var(--color-cream) !important;
}
.card-icon {
    transition: transform 0.4s var(--ease-spring),
                background 0.4s ease,
                color 0.4s ease;
}

/* Amenity (équipement) : effet de vague */
.amenity {
    transition: transform 0.3s var(--ease-spring);
}
.amenity:hover {
    transform: translateY(-5px) scale(1.1);
}
.amenity:hover span:first-child {
    animation: floatGentle 1s ease-in-out;
}

/* -----------------------------------------------------------------
   GALERIE MAÇONNERIE (type Pinterest)
   ----------------------------------------------------------------- */
.masonry {
    column-count: 2;
    column-gap: 1rem;
}
@media (min-width: 768px) { .masonry { column-count: 3; } }
@media (min-width: 1024px) { .masonry { column-count: 4; } }

.masonry .gallery-img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    cursor: pointer;
    break-inside: avoid;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo),
                opacity 0.4s ease,
                filter 0.4s ease,
                box-shadow 0.4s ease;
}
.masonry .gallery-img:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-lifted);
}

/* Voile élégant au survol des photos de la galerie */
.gallery-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    break-inside: avoid;
}
.gallery-wrap img {
    transition: transform 0.8s var(--ease-out-expo);
}
.gallery-wrap::after {
    content: '🔍';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    background: rgba(61, 74, 62, 0.4);
    border-radius: 0.75rem;
    transition: opacity 0.4s ease;
    pointer-events: none;
}
.gallery-wrap:hover::after { opacity: 1; }
.gallery-wrap:hover img { transform: scale(1.1); }

/* -----------------------------------------------------------------
   LIGHTBOX — transition fluide
   ----------------------------------------------------------------- */
#lightbox {
    opacity: 0;
    transition: opacity 0.4s ease;
}
#lightbox:not(.hidden) {
    opacity: 1;
}
#lightbox-img {
    transform: scale(0.9);
    transition: transform 0.5s var(--ease-spring);
}
#lightbox:not(.hidden) #lightbox-img {
    transform: scale(1);
}

/* -----------------------------------------------------------------
   CALENDRIER DE RÉSERVATION (style booking / Airbnb)
   ----------------------------------------------------------------- */
.cal-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid #EBEBE5;
    background: #fff;
    color: var(--color-primary);
    transition: background 0.2s ease, transform 0.2s var(--ease-spring);
}
.cal-nav-btn:hover {
    background: #E8EFE9;
    transform: scale(1.05);
}

.cal-fields {
    background: #fff;
}
.cal-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 1rem 1.25rem;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}
@media (min-width: 640px) {
    .cal-field:first-child {
        border-right: 1px solid #EBEBE5;
    }
}
.cal-field:hover { background: #FBFBFA; }
.cal-field.is-active {
    border-bottom-color: var(--color-primary);
    background: #F4F4EE;
}
.cal-field-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-secondary) !important;
}
.cal-field-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary) !important;
}
.cal-field-value.is-placeholder {
    font-weight: 400;
    color: #8A8A7A !important;
}

.cal-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s var(--ease-spring);
    cursor: default;
    border: none;
    background: transparent;
    color: var(--color-primary);
    width: 100%;
    max-width: 3rem;
    margin: 0 auto;
}
.cal-empty { visibility: hidden; pointer-events: none; }

.cal-free {
    background: var(--cal-free-bg);
    color: var(--cal-free-text);
    cursor: pointer;
    font-weight: 600;
}
.cal-free:hover {
    background: var(--cal-free-bg-hover);
    transform: scale(1.08);
}

.cal-booked,
.cal-pending {
    color: #fff;
    cursor: not-allowed;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    font-weight: 600;
    /* Même rouge : en attente ou confirmé = indisponible pour le public */
    background: var(--cal-booked-bg);
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 3px,
        rgba(255, 255, 255, 0.16) 3px,
        rgba(255, 255, 255, 0.16) 6px
    );
}

.cal-past {
    opacity: 0.4;
    background: #ECECE8 !important;
    color: #9A9A90 !important;
    cursor: not-allowed;
    text-decoration: none;
    font-weight: 500;
    box-shadow: none;
    background-image: none !important;
}
.cal-past:hover { transform: none; }

.cal-today:not(.cal-range-start):not(.cal-range-end)::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--cal-select-bg);
}

/* Plage sélectionnée (votre choix) — vert sauge marque */
.cal-in-range {
    background: var(--cal-range-bg) !important;
    border-radius: 0 !important;
    color: var(--cal-select-bg) !important;
    background-image: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
.cal-range-start,
.cal-range-end {
    background: var(--cal-select-bg) !important;
    background-image: none !important;
    color: #fff !important;
    border-radius: 9999px !important;
    font-weight: 700;
    z-index: 2;
    box-shadow: none !important;
    text-decoration: none !important;
}
.cal-range-start.cal-in-range {
    border-radius: 9999px 0 0 9999px !important;
}
.cal-range-end.cal-in-range {
    border-radius: 0 9999px 9999px 0 !important;
}
.cal-range-start.cal-range-end {
    border-radius: 9999px !important;
}
.cal-preview-range {
    background: rgba(227, 242, 229, 0.85) !important;
    border-radius: 0 !important;
    background-image: none !important;
}

.cal-summary-bar { min-height: 4.5rem; }

.cal-offline-banner {
    display: none;
    margin: 0 auto 1rem;
    max-width: 40rem;
    padding: 0.75rem 1rem;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #3F4239;
    background: #F4F4EE;
    border: 1px solid #E4E6DF;
    border-radius: 0.75rem;
}
.cal-offline-banner.is-visible,
.cal-offline-banner:not([hidden]) {
    display: block;
}
.cal-offline-banner[hidden] {
    display: none !important;
}

.cal-help-hint { margin-top: 1rem; }

.cal-alt-actions { gap: 0.75rem; }
.cal-mail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    background: #fff;
    border: 1.5px solid var(--color-primary);
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.cal-mail-btn:hover {
    background: var(--color-primary);
    color: #fff;
}
.cal-phone-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cal-phone-link:hover { color: var(--color-secondary); }

.cal-sticky-bar {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
    background: rgba(251, 251, 250, 0.96);
    border-top: 1px solid #EBEBE5;
    backdrop-filter: blur(12px);
}
.cal-sticky-primary,
.cal-sticky-phone {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 0.75rem;
    text-decoration: none;
}
.cal-sticky-primary {
    background: #fff;
    color: #3D4A3E;
    border: 1px solid #EBEBE5;
}
.cal-sticky-phone {
    background: #E8EFE9;
    color: var(--color-primary);
}
@media (max-width: 639px) {
    .cal-sticky-bar { display: flex; }
    body { padding-bottom: 4.5rem; }
}

.booking-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
    list-style: none;
    margin: 0 auto 2rem;
    padding: 0;
    max-width: 40rem;
}
.booking-steps li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-soft);
}
.booking-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--color-primary);
    color: #fff;
}
.contact-callout {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary);
}
.contact-callout a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.contact-side-intro {
    padding: 1rem 1.1rem;
    background: #F4F4EE;
    border: 1px solid #EBEBE5;
    border-radius: 1.15rem;
}
.contact-side-title {
    margin: 0 0 0.35rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #3D4A3E;
}
.contact-side-note {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    color: #5C5C4D;
    line-height: 1.45;
}
.contact-side-note a {
    font-weight: 600;
    color: #3D4A3E;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.form-lead {
    margin: 0 0 0.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid #EBEBE5;
    font-size: 0.9rem;
    color: #5C5C4D;
    line-height: 1.5;
}
.pay-flow-list {
    margin: 0.65rem 0 0;
    padding-left: 1.15rem;
    font-size: 0.88rem;
    color: #5C5C4D;
    line-height: 1.55;
}
.pay-flow-list li { margin-bottom: 0.35rem; }
.pay-flow-note {
    margin: 0.85rem 0 0 !important;
    padding-top: 0.75rem;
    border-top: 1px solid #EBEBE5;
    font-size: 0.82rem !important;
    color: #5C5C4D;
}
.cal-clear-btn {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem 0.5rem;
}
.cal-clear-btn:hover { color: var(--color-secondary); }
.cal-clear-btn.hidden { display: none; }

.cal-reserve-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(to right, #3D4A3E, #5a6b59);
    border-radius: 9999px;
    transition: opacity 0.2s ease, transform 0.2s var(--ease-spring);
    white-space: nowrap;
}
.cal-reserve-btn:not(.pointer-events-none):hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* Dual month (Airbnb-like) */
.cal-months {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
.cal-month-label {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.75rem;
    font-size: 1rem;
}
.cal-month-second { display: none; }
@media (min-width: 768px) {
    .cal-months {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .cal-month-second { display: block; }
    #cal-title-1, #cal-title-2 { display: none; }
}

/* Mobile calendar / site polish */
@media (max-width: 640px) {
    .cal-cell {
        font-size: 0.8rem;
        max-width: 2.6rem;
    }
    .cal-field { padding: 0.85rem 1rem; }
    .cal-field-value { font-size: 0.9rem; }
    .cal-reserve-btn {
        width: 100%;
        white-space: normal;
        padding: 0.85rem 1rem;
    }
    .cal-clear-btn { width: 100%; text-align: center; }
    .masonry { column-count: 2; column-gap: 0.65rem; }
    .masonry .gallery-img,
    .gallery-wrap { margin-bottom: 0.65rem; border-radius: 0.5rem; }
    #navbar .max-w-7xl { padding-left: 0.85rem; padding-right: 0.85rem; }
    .navbar-logo { font-size: 0.95rem; letter-spacing: 0.02em; }
    section { scroll-margin-top: 72px; }
}

/* Galerie : apparition plus fluide */
.gallery-wrap {
    opacity: 0;
    transform: scale(0.97) translateY(12px);
    transition: opacity 0.65s var(--ease-out-expo), transform 0.65s var(--ease-out-expo);
}
.gallery-wrap.is-shown {
    opacity: 1;
    transform: scale(1) translateY(0);
}
.gallery-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: inherit;
}

.cal-legend {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 0.35rem;
    flex-shrink: 0;
}
.cal-legend-free { background: var(--cal-free-bg); box-shadow: inset 0 0 0 1px rgba(47, 74, 50, 0.2); }
.cal-legend-booked { background: var(--cal-booked-bg); }
.cal-legend-range {
    background: var(--cal-select-bg);
    border-radius: 9999px;
}

/* -----------------------------------------------------------------
   FORMULAIRE DE CONTACT — champs animés
   ----------------------------------------------------------------- */
.form-field {
    transition: border-color 0.3s ease,
                box-shadow 0.3s ease,
                transform 0.2s ease;
}
.form-field:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(122, 138, 123, 0.2);
}

/* -----------------------------------------------------------------
   ACCESSIBILITÉ : respect des préférences de mouvement réduit
   ----------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal, .reveal-left, .reveal-right, .reveal-scale {
        opacity: 1;
        transform: none;
    }
}

/* -----------------------------------------------------------------
   LIENS D'ANCRAGE : décalage pour la navbar fixe
   ----------------------------------------------------------------- */
section[id] {
    scroll-margin-top: 80px;
}

/* -----------------------------------------------------------------
   IMAGE HERO : effet Ken Burns (zoom lent)
   ----------------------------------------------------------------- */
.hero-bg-img {
    animation: kenBurns 20s ease-in-out infinite alternate;
}
@keyframes kenBurns {
    0%   { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.12) translate(-1%, -2%); }
}

/* -----------------------------------------------------------------
   BADGE / CITATION : effet glassmorphique
   ----------------------------------------------------------------- */
.glass-badge {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* -----------------------------------------------------------------
   BARRE DE PROGRESSION DE LECTURE (en haut de l'écran)
   ----------------------------------------------------------------- */
#reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--color-secondary), var(--color-coral));
    z-index: 60;
    transition: width 0.1s linear;
}

/* -----------------------------------------------------------------
   CANVAS DES BILLES — empilement propre
   - <html> : fond crème opaque (tout en bas)
   - canvas : fixed, z-index 0 (au-dessus du fond, sous le contenu)
   - <body> : transparent, position relative pour créer son contexte
   - sections : fond semi-transparent (les billes transparaissent)
   - contenu des sections : opaque, au-dessus des billes
   ----------------------------------------------------------------- */
#bubbles-canvas {
    pointer-events: none;
    z-index: 0;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
}

/* Icônes / textes / CTA : au-dessus des bulles (les bulles disparaissent dessus) */
.bubble-occlude {
    position: relative;
    z-index: 2;
    isolation: isolate;
}

/* Lignes contact : plus de gros rectangle blanc opaque */
.contact-row {
    background: transparent;
}

body {
    background: transparent;
    position: relative;
    z-index: 1;
}
html {
    background: #FBFBFA;
}

/* Sections transparentes en full-bleed : bulles sur les côtés.
   Blocs de contenu (section max-w-* ou enfant max-w-*) opaques. */
section:not(#accueil) {
    position: relative;
    background-color: transparent;
}
section#accueil {
    position: relative;
}

/* Section = elle-même le conteneur centré (gite, équipements, etc.) */
section.max-w-7xl,
section.max-w-5xl,
section.max-w-6xl,
section.max-w-4xl {
    background-color: #FBFBFA;
    border-radius: 1.25rem;
}

/* Conteneur centré à l’intérieur (chambres, contact) */
section:not(#accueil) > .max-w-5xl,
section:not(#accueil) > .max-w-7xl,
section:not(#accueil) > .max-w-6xl,
section:not(#accueil) > .max-w-4xl,
section:not(#accueil) > .max-w-3xl,
section:not(#accueil) > .max-w-2xl {
    position: relative;
    z-index: 1;
    background-color: #FBFBFA;
    border-radius: 1.25rem;
}

section#chambres > .max-w-5xl,
section#chambres > .max-w-7xl,
section#contact > .max-w-5xl {
    background-color: #F4F4EE;
}

/* Contenu des sections : reste opaque et au-dessus des billes.
   Ne PAS forcer position:relative sur tous les enfants — ça casse
   le hero (image absolute plein écran) et la navbar fixed. */
header#navbar {
    position: fixed;
    z-index: 50;
}
footer {
    position: relative;
    z-index: 3;
}
#reading-progress {
    z-index: 60;
}
#email-modal,
#lightbox {
    z-index: 100;
}

/* Contenu des sections (hors hero) au-dessus des bulles */
section:not(#accueil) > * {
    position: relative;
    z-index: 2;
}

/* Hero immersif : image plein viewport, texte centré par-dessus */
#accueil {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #1C221D;
}
#accueil > .hero-bg-layer {
    position: absolute !important;
    inset: 0;
    z-index: 0;
}
#accueil .hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#accueil .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.4), rgba(0,0,0,0.65));
}
#accueil .hero-content {
    position: relative;
    z-index: 2;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.25rem;
    text-align: center;
    color: #fff;
}
#accueil .hero-content h1,
#accueil .hero-content p,
#accueil .hero-content span {
    color: #fff !important;
}
#accueil .hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* IMPORTANT : la galerie maçonnerie doit conserver son flux natif
   (ne pas hériter de z-index/position qui casserait column-count) */
.masonry,
.masonry .gallery-wrap,
.masonry .gallery-img {
    z-index: auto;
}

/* -----------------------------------------------------------------
   MODAL SÉLECTEUR D'EMAIL
   ----------------------------------------------------------------- */
.email-modal-card {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
    transition: opacity 0.4s var(--ease-out-expo),
                transform 0.4s var(--ease-spring);
}
#email-modal:not(.hidden) .email-modal-card {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.email-option {
    cursor: pointer;
}
.email-option:active {
    transform: scale(0.98);
}

/* Pastille ronde avec la première lettre de chaque messagerie */
.email-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-spring);
}
.email-option:hover .email-icon {
    transform: scale(1.1) rotate(-5deg);
}
/* Couleurs de marque */
#mail-gmail .email-icon   { background: linear-gradient(135deg, #EA4335, #FBBC04, #4285F4); }
#mail-outlook .email-icon { background: linear-gradient(135deg, #0078D4, #00A4EF); }
#mail-yahoo .email-icon   { background: linear-gradient(135deg, #6001D2, #9B41F4); }
#mail-default .email-icon { background: var(--color-secondary); }
#mail-copy .email-icon    { background: var(--color-primary); }

/* Honeypot invisible */
.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* =================================================================
   POLISH WAOUH (additif) — aura curseur, grain, tilt, galerie, CTA
   ================================================================= */

/* Grain atmosphérique très léger (papier / nature) */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 180px 180px;
}

/* Aura curseur sauge (desktop) */
#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;
    height: 220px;
    margin: -110px 0 0 -110px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0;
    background: radial-gradient(circle, rgba(122, 138, 123, 0.22) 0%, rgba(122, 138, 123, 0.08) 40%, transparent 70%);
    transform: translate3d(-9999px, -9999px, 0);
    transition: opacity 0.4s ease;
    will-change: transform;
}
#cursor-glow.is-active { opacity: 1; }
@media (hover: none), (pointer: coarse) {
    #cursor-glow { display: none; }
}

/* Titres de section : ligne dégradée qui s’étire au reveal */
.title-underline {
    position: relative;
    display: inline-block;
}
.title-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35em;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), transparent);
    transition: width 1s var(--ease-out-expo) 0.25s;
}
.reveal.is-visible .title-underline::after,
.reveal-left.is-visible .title-underline::after,
.reveal-right.is-visible .title-underline::after,
.reveal-scale.is-visible .title-underline::after {
    width: 72%;
}
/* Titres hors .reveal (ex. hero n’en a pas) */
h2.title-underline::after { width: 0; }
.reveal.is-visible h2.title-underline::after,
.reveal.is-visible .title-underline::after {
    width: 72%;
}

/* CTA pulse glow sauge (hero + contact) */
@keyframes sagePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(122, 138, 123, 0.35), 0 8px 24px rgba(61, 74, 62, 0.2); }
    50% { box-shadow: 0 0 0 12px rgba(122, 138, 123, 0), 0 12px 32px rgba(61, 74, 62, 0.28); }
}
.cta-pulse {
    animation: sagePulse 3.2s ease-in-out infinite;
}
.hero-content a[href="#gite"].cta-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s var(--ease-out-expo);
}
.hero-content a[href="#gite"].cta-pulse {
    position: relative;
    overflow: hidden;
}
.hero-content a[href="#gite"].cta-pulse:hover::after { left: 130%; }

/* Tilt 3D soft — perspective sur le parent */
.tilt-parent {
    perspective: 900px;
}
.card-tilt {
    transform-style: preserve-3d;
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
}
.card-tilt:hover {
    /* translateY conservé via JS ; ici fallback soft */
    box-shadow: var(--shadow-lifted);
}

/* Galerie : apparition échelonnée */
.gallery-wrap {
    opacity: 0;
    transform: scale(0.96) translateY(16px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
.gallery-wrap.is-shown {
    opacity: 1;
    transform: scale(1) translateY(0);
}
.gallery-wrap .gallery-img {
    margin-bottom: 0;
}

/* Jour libre cliquable (calendrier → contact) */
.cal-free {
    cursor: pointer;
}
.cal-free:active {
    transform: scale(0.96);
}

/* Parallax mouse sur le contenu hero */
.hero-content {
    will-change: transform;
    transition: transform 0.15s linear;
}

@media (prefers-reduced-motion: reduce) {
    body::before { display: none; }
    #cursor-glow { display: none; }
    .cta-pulse { animation: none; }
    .gallery-wrap {
        opacity: 1;
        transform: none;
    }
    .title-underline::after { width: 72% !important; transition: none; }
}

/* =================================================================
   UI PASS — hero, nav mobile, micro-interactions, galerie
   ================================================================= */

/* Nav : lien section active */
.navbar-links a.is-active {
    color: #fff;
}
#navbar.scrolled .navbar-links a.is-active {
    color: var(--color-primary);
    font-weight: 600;
}
.navbar-links a.is-active::after { width: 100%; }

/* Menu mobile plus premium */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s var(--ease-out-expo), opacity 0.3s ease;
    display: block !important;
    pointer-events: none;
}
#mobile-menu.is-open {
    max-height: 420px;
    opacity: 1;
    pointer-events: auto;
}
#mobile-menu.hidden {
    display: none !important;
}
#mobile-menu nav a {
    transition: background 0.2s ease, padding-left 0.2s ease, color 0.2s ease;
    border-radius: 0.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}
#mobile-menu nav a:active,
#mobile-menu nav a:hover {
    background: #E8EFE9;
    padding-left: 1rem;
}

/* Hero : profondeur + CTA plus présent */
#accueil .hero-content h1 {
    letter-spacing: -0.02em;
}
#accueil .hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,0.28) 45%,
        rgba(0,0,0,0.62) 100%
    );
}
#accueil .cta-pulse {
    box-shadow: 0 8px 32px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.15);
    letter-spacing: 0.01em;
}
#accueil .cta-pulse:hover {
    background: rgba(255,255,255,0.28) !important;
    transform: translateY(-2px);
}

/* Cartes / boutons : press tactile */
.card-hover:active {
    transform: translateY(-4px) scale(0.985);
}
button[type="submit"]:active,
.cal-reserve-btn:active,
a[href="#contact"]:active {
    transform: scale(0.97);
}

/* Formulaire mobile plus aéré */
@media (max-width: 640px) {
    #contact-form {
        padding: 1.35rem !important;
    }
    #contact-form .form-field {
        padding-top: 0.9rem;
        padding-bottom: 0.9rem;
        font-size: 1rem;
    }
    #accueil .hero-content {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    #accueil .hero-content h1 {
        font-size: clamp(1.85rem, 8vw, 2.4rem);
        margin-bottom: 0.85rem !important;
    }
    #accueil .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.25rem !important;
    }
    .booking-cal {
        border-radius: 1.25rem;
    }
    footer {
        padding-bottom: 2.5rem;
    }
}

/* Galerie lightbox un cran plus fluide */
#lightbox-img {
    transition: transform 0.55s var(--ease-spring), opacity 0.25s ease;
}
.gallery-wrap::after {
    font-size: 1.25rem;
    backdrop-filter: blur(2px);
}

/* Footer — fond sombre, texte blanc (contraste lisible) */
.site-footer {
    background: #141916;
    color: #ffffff;
}
.site-footer-title {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    color: #ffffff;
    margin: 0 0 0.75rem;
}
.site-footer-text {
    margin: 0;
    line-height: 1.6;
    color: #f0f2ef;
    font-size: 0.9rem;
}
.site-footer-nav a,
.site-footer-platforms,
.site-footer-platforms a,
.site-footer-bottom {
    color: #ffffff;
}
.site-footer-nav a {
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.2s ease;
}
.site-footer-nav a:hover {
    opacity: 0.8;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #ffffff;
}
.site-footer-platforms {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    line-height: 1.55;
    font-size: 0.9rem;
    color: #f0f2ef;
}
.site-footer-platforms a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: #ffffff;
}
.site-footer-platforms a:hover {
    color: #ffffff;
    opacity: 0.85;
}
.site-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
    color: #e8ebe6;
}
footer a {
    position: relative;
}
footer a:hover {
    color: #fff;
}

/* Sections : cascade reveal un peu plus douce */
.reveal {
    transform: translateY(36px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
@media (prefers-reduced-motion: reduce) {
    #mobile-menu { transition: none; max-height: none; }
    #accueil .cta-pulse:hover { transform: none; }
}

/* -----------------------------------------------------------------
   GRILLE TARIFS (tableau + 2 formules)
   ----------------------------------------------------------------- */
.tarif-board {
    background: #fff;
    border: 1px solid #EBEBE5;
    border-radius: 1.5rem;
    padding: 1.5rem 1.25rem 1.75rem;
    box-shadow: 0 1px 3px rgba(45, 55, 46, 0.05);
}
@media (min-width: 640px) {
    .tarif-board { padding: 2rem; }
}
.tarif-keyfacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}
@media (min-width: 700px) {
    .tarif-keyfacts { grid-template-columns: repeat(4, 1fr); }
}
.tarif-keyfact {
    background: #F7F8F5;
    border: 1px solid #E4E6DF;
    border-radius: 1rem;
    padding: 0.85rem 0.75rem;
    text-align: center;
}
.tarif-keyfact-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7A7A6E;
    margin-bottom: 0.25rem;
}
.tarif-keyfact strong {
    display: block;
    font-size: 1.05rem;
    color: var(--color-primary);
    line-height: 1.25;
}
.tarif-keyfact-sub {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.72rem;
    color: #5C5C4D;
    line-height: 1.35;
}
.tarif-howto {
    list-style: none;
    margin: 0 0 1.35rem;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    background: linear-gradient(165deg, #E8EFE9 0%, #F4F4EE 100%);
    border: 1px solid #7A8A7B;
    border-radius: 1.15rem;
}
@media (min-width: 640px) {
    .tarif-howto {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.75rem 1rem;
    }
}
.tarif-howto li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-soft);
}
.tarif-howto-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.45rem;
    height: 1.45rem;
    flex-shrink: 0;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--color-primary);
    color: #fff;
}
.tarif-table-intro {
    margin: 0 0 0.85rem;
    font-size: 0.9rem;
    color: #5C5C4D;
    text-align: center;
}
.tarif-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.25rem;
}
.tarif-included {
    border: 1px solid #7A8A7B;
    border-radius: 1.15rem;
    padding: 1.25rem 1.2rem 1.35rem;
    background: linear-gradient(165deg, #E8EFE9 0%, #F4F4EE 100%);
    margin-bottom: 1.5rem;
}
.tarif-hours {
    margin: 0 0 1.5rem;
    padding: 1rem 1.15rem;
    background: #F7F8F5;
    border: 1px solid #E4E6DF;
    border-radius: 1rem;
    color: var(--color-text-soft);
    font-size: 0.9rem;
    line-height: 1.5;
}
.tarif-hours > p:first-child {
    margin: 0 0 0.5rem;
    color: var(--color-primary);
}
.tarif-hours ul {
    margin: 0 0 0.65rem;
    padding-left: 1.1rem;
}
.tarif-hours li { margin: 0.2rem 0; }
.tarif-hours-ex {
    margin: 0;
    font-size: 0.82rem;
}
.tarif-included-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0.85rem;
}
@media (min-width: 560px) {
    .tarif-included-list {
        grid-template-columns: 1fr 1fr;
        column-gap: 1rem;
    }
}
.tarif-formula-eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3F4A40;
    margin-bottom: 0.4rem;
}
.tarif-formula-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #3D4A3E;
    margin: 0 0 0.65rem;
}
.tarif-formula-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.85rem;
    color: #3D4A3E;
    line-height: 1.55;
}
.tarif-formula-list li {
    padding: 0.2rem 0 0.2rem 1.15rem;
    position: relative;
}
.tarif-formula-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #3D4A3E;
}
.tarif-formula-from {
    font-size: 0.9rem;
    color: #5C5C4D;
    margin: 0;
}
.tarif-formula-from strong {
    color: #3D4A3E;
    font-size: 1.05rem;
}

/* Sous-onglets durée */
.tarif-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}
.tarif-tab {
    appearance: none;
    border: 1px solid #EBEBE5;
    background: #FBFBFA;
    color: #5C5C4D;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.tarif-tab:hover {
    border-color: #7A8A7B;
    color: #3D4A3E;
}
.tarif-tab.is-active {
    background: #3D4A3E;
    border-color: #3D4A3E;
    color: #fff;
}
.tarif-tab:focus-visible {
    outline: 2px solid #5A6B59;
    outline-offset: 2px;
}
.tarif-panel-lead {
    font-size: 0.85rem;
    color: #5C5C4D;
    margin: 0 0 0.75rem;
}
.tarif-panel[hidden] {
    display: none;
}

.tarif-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 1rem;
    border: 1px solid #EBEBE5;
}
.tarif-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    min-width: 280px;
}
.tarif-table th,
.tarif-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid #EBEBE5;
}
.tarif-table thead th {
    background: #F4F4EE;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3F4A40;
}
.tarif-table tbody th {
    font-weight: 600;
    color: #3D4A3E;
}
.tarif-table tbody td {
    color: #5C5C4D;
}
.tarif-table tbody td strong {
    color: #3D4A3E;
    font-size: 1.05rem;
}
.tarif-row-best {
    background: #E8EFE9;
}
.tarif-min,
.tarif-week,
.tarif-chip {
    display: inline-block;
    margin-left: 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff !important;
    background: #5A6B59;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    vertical-align: middle;
    border: none;
    box-shadow: none;
}
.tarif-chip {
    background: #7A8A7B;
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 600;
}
@media (max-width: 639px) {
    .tarif-hide-sm { display: none; }
}
.tarif-notes {
    margin-top: 1.35rem;
    font-size: 0.88rem;
    color: #5C5C4D;
    line-height: 1.55;
}
.tarif-notes p { margin: 0 0 0.55rem; }
.tarif-notes-small {
    font-size: 0.78rem;
    color: #7A7A6E;
}
.tarif-cta {
    margin-top: 1.5rem;
    text-align: center;
}

/* Paiement — cartes virement / Airbnb */
.pay-methods {
    background: #fff;
    border: 1px solid #EBEBE5;
    border-radius: 1.5rem;
    padding: 1.35rem 1.25rem 1.5rem;
    box-shadow: 0 1px 3px rgba(45, 55, 46, 0.05);
}
.pay-methods-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3F4A40;
    text-align: center;
    margin: 0 0 1rem;
}
.pay-methods-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}
@media (min-width: 640px) {
    .pay-methods-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
}
.pay-method-card {
    border: 1px solid #EBEBE5;
    border-radius: 1.1rem;
    padding: 1.1rem 1.15rem;
    background: #FBFBFA;
}
.pay-method-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: #3D4A3E;
    margin: 0 0 0.4rem;
}
.pay-method-card p {
    font-size: 0.88rem;
    color: #5C5C4D;
    line-height: 1.5;
    margin: 0;
}
.pay-method-link {
    display: inline-flex;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #FF5A5F;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.pay-method-link:hover { opacity: 0.85; }

/* Ancienne grille (compat si référencée) */
.price-chart { display: none; }
.cal-packages,
.cal-package-grid,
.cal-package { display: none; }
.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;
}

/* -----------------------------------------------------------------
   CARROUSEL AUTO (rotation des photos)
   Défile tout seul, idéal sur mobile. Pause au survol.
   ----------------------------------------------------------------- */
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-soft);
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}
.carousel.is-dragging {
    cursor: grabbing;
}
.carousel-track {
    display: flex;
    transition: transform 0.7s var(--ease-out-expo);
}
.carousel-track img {
    min-width: 100%;
    height: 280px;
    object-fit: cover;
    pointer-events: none;
}
@media (min-width: 768px) {
    .carousel-track img { height: 420px; }
}
.carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
}
.carousel-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* -----------------------------------------------------------------
   SÉLECTEUR DE LANGUE
   ----------------------------------------------------------------- */
.lang-switcher {
    backdrop-filter: blur(8px);
}
.lang-btn {
    font-size: 1.1rem;
    line-height: 1;
    padding: 2px 5px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.55;
    transition: opacity 0.25s ease, transform 0.25s ease;
    border: none;
    background: none;
}
.lang-btn:hover { opacity: 0.85; transform: scale(1.15); }
.lang-btn.active { opacity: 1; transform: scale(1.15); }

/* Compteur de visiteurs */
.viewer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0.375rem 0.75rem;
    background: #E8EFE9;
    border: 1px solid rgba(122, 138, 123, 0.3);
    border-radius: 9999px;
    color: #3D4A3E;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.25;
}
.viewer-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: #10b981;
    flex-shrink: 0;
}
.viewer-count-num {
    font-weight: 700;
    color: #3D4A3E;
    font-variant-numeric: tabular-nums;
}
.viewer-count-label {
    color: #3D4A3E;
}
#navbar.scrolled .lang-switcher {
    background: rgba(244,244,238,0.9);
    border-color: rgba(235,235,229,0.8);
}

/* Liste région : icône + texte (évite les grands trous sur PC) */
.region-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.region-list-icon {
    flex-shrink: 0;
    line-height: 1.4;
}
.region-list-item > span:last-child {
    flex: 1;
    min-width: 0;
    line-height: 1.5;
}
