/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    --gold: #c5a059;
    --dark: #1a1a1a;
    --light: #f9f9f9;
    --white: #ffffff;
    --grey: #777;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   NAVIGATION
   ========================================= */
header {
    height: 80px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--dark);
    text-decoration: none;
    white-space: nowrap;
}

#google_translate_element {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
}

.nav-links a.nav-btn-contact {
    background-color: #000000;
    color: #ffffff !important;
    padding: 8px 18px;
    border-radius: 3px;
    border: 1px solid #000000;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.nav-links a.nav-btn-contact:hover {
    background-color: #c5a059;
    border-color: #c5a059;
    color: #000000 !important;
}

/* ---- Menu burger (mobile) ---- */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1100;
    flex-shrink: 0;
    margin-left: 10px;
    border: 0;
    background: transparent;
    color: inherit;
}

.burger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.burger:focus-visible,
.gallery-item:focus-visible,
.modal-gallery button:focus-visible,
.day:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    height: 85vh;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../images/123424.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 0; height: 100%;
    background: rgba(0,0,0,0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
}

.hero-content span {
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.8rem;
    display: block;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
}
.hero-actions { margin-top: 20px; gap: 14px; }
.hero-actions .btn-primary,
.hero-actions .btn-secondary { margin: 0; }
.hero-actions .btn-secondary { color: #fff; border-color: #fff; }

/* =========================================
   BOUTONS
   ========================================= */
.btn-primary {
    display: inline-block;
    background: var(--gold);
    color: var(--white);
    padding: 15px 35px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 30px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #b38e47;
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 15px 35px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--white);
}

/* =========================================
   SECTIONS GÉNÉRALES
   ========================================= */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h1,
.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
}

.intro {
    padding: 80px 20px;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
    line-height: 1.8;
}

.page-section {
    padding: 60px 20px;
}

/* =========================================
   GRILLE DE CARDS
   ========================================= */
.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    padding: 50px 30px;
    background: var(--light);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.card:hover {
    background: var(--white);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: #eee;
}

.card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 25px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* =========================================
   PAGE HÉBERGEMENTS (LIGNES ALTERNÉES)
   ========================================= */
.accommodation-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.accommodation-row.reverse {
    flex-direction: row-reverse;
}

.acc-img {
    flex: 1.2;
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
}

.acc-info {
    flex: 1;
}

.capacity {
    display: block;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.acc-info h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.acc-info ul {
    list-style: none;
    margin: 25px 0;
}

.acc-info ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.acc-info ul li i {
    color: var(--gold);
    margin-right: 15px;
    font-size: 0.9rem;
}

/* =========================================
   CTA & FOOTER
   ========================================= */
.cta {
    background: var(--dark);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.cta-btns a {
    margin: 5px;
}

footer {
    padding: 50px 0;
    text-align: center;
    background: var(--white);
    border-top: 1px solid #eee;
    color: var(--grey);
}

.footer-social {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 40px;
    font-size: 0.85rem;
    color: #525252;
}

.footer-social a {
    color: #555;
    text-decoration: none;
    margin: 0 12px;
    font-size: 1.8rem;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: #000;
    transform: translateY(-2px);
}

.footer-social-links {
    margin-bottom: 20px;
}

/* =========================================
   SERVICES ACCUEIL
   ========================================= */
.services-accueil {
    padding: 60px 20px;
    text-align: center;
    background: #f4f7f6;
    margin-top: 50px;
    border-radius: 15px;
}

.services-accueil > div {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
}

.services-accueil span {
    margin: 10px 20px;
}

/* =========================================
   PAGE DISPONIBILITES
   ========================================= */
.hero-dispo {
    height: 60vh;
    background: url('../images/EOBA9765.JPG') center/cover no-repeat;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.hero-dispo h1 {
    font-family: 'Playfair Display';
    font-size: 3rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.5);
    padding: 20px 40px;
    border-radius: 5px;
    position: relative;
    z-index: 2;
}

.logement-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: -30px auto 40px;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
    padding: 0 15px;
}

.chambre-btn {
    background: white;
    border: 1px solid #eee;
    padding: 12px 20px;
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.chambre-btn.active {
    background: var(--gold);
    color: white;
    border-color: var(--gold);
}

.calendar-section {
    background: #f9f9f9;
    padding: 40px 0;
}
.booking-policy { text-align: center; color: var(--grey); font-size: 0.85rem; margin: 12px auto 0; max-width: 760px; }

.price-grid {
    max-width: 1000px;
    margin: 0 auto 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.price-card {
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.price-card span {
    display: block;
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 3px;
}

.s-low { background: #5ae1ff; color: #333; }
.s-mid { background: #ffc355; color: #333; }
.s-high { background: #ff8e38; color: #fff; }
.s-vhigh { background: #ff485a; color: #fff; }
.booked { background: #808080 !important; color: #fff !important; cursor: not-allowed; }

.calendar-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.months-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.calendar-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.calendar-month {
    text-align: center;
    font-family: 'Playfair Display';
    font-size: 1.4rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.day-name {
    text-align: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: #bbb;
    padding-bottom: 10px;
}

.day {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    border: 0;
    font-family: inherit;
    padding: 0;
}

.day.avail { background: #f9f9f9; color: #444; border: 1px solid #eee; }
.day.booked { background: var(--dark); color: rgba(255,255,255,0.2); text-decoration: line-through; }
.day:disabled { cursor: not-allowed; opacity: 1; }
.day.empty { visibility: hidden; }

.day.selected {
    border: 3px solid var(--gold);
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--gold);
    font-weight: 700;
    z-index: 2;
}

.day.in-range {
    opacity: 0.7;
    border: 2px solid var(--gold);
}

.btn-nav-cal {
    background: white;
    border: 1px solid #ddd;
    padding: 10px 20px;
    cursor: pointer;
    font-family: 'Montserrat';
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-nav-cal:hover { background: var(--gold); color: white; border-color: var(--gold); }

.price-calculator {
    max-width: 600px;
    margin: 30px auto;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: none;
}

.price-calculator.active {
    display: block;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    gap: 10px;
}

.price-row.total {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--gold);
    border-top: 2px solid var(--gold);
    margin-top: 10px;
    padding-top: 15px;
}

.reset-btn {
    background: #999;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    font-family: 'Montserrat';
}

.occupancy-container {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.progress-bar-bg {
    width: 100%;
    height: 12px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ffcc00, #ff0000);
    transition: width 0.8s ease-out;
}

.urgency-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-reserve {
    background: var(--gold);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-reserve:hover {
    background: #b38e47;
    transform: translateY(-2px);
}

/* =========================================
   PAGE CONTACT
   ========================================= */
.contact-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.instagram-feed-section {
    flex: 1;
    min-width: 280px;
    background: #f9f9f9;
    padding: 40px;
    border: 1px solid #eee;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.instagram-feed-section h3 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: #222;
}

.instagram-cta {
    text-align: center;
    margin-top: 30px;
    width: 100%;
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.instagram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.contact-form-container {
    flex: 1;
    min-width: 280px;
    padding: 40px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

.contact-form-container i.fa-paper-plane {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.contact-form-container h3 {
    font-family: 'Playfair Display';
    margin-bottom: 15px;
}

.contact-form-container form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.contact-form-container form input,
.contact-form-container form select,
.contact-form-container form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: 'Montserrat';
    margin-bottom: 15px;
    font-size: 1rem;
}

.contact-form-container form textarea {
    resize: vertical;
}

.contact-form-container form button {
    width: 100%;
    padding: 15px;
    background: var(--gold);
    color: white;
    border: none;
    border-radius: 3px;
    font-family: 'Montserrat';
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-form-container form button:hover {
    background: #b38e47;
}

.map-container {
    width: 100%;
    height: 400px;
    border: 0;
    margin-top: 50px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================
   GALERIE D'IMAGES
   ========================================= */
.acc-img-gallery {
    flex: 1.2;
    height: 450px;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 5px;
    height: 100%;
    width: 100%;
    opacity: 1;
    transition: opacity 0.4s ease;
    position: relative;
    z-index: 2;
    pointer-events: auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 0;
    padding: 0;
    background: transparent;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 10;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.acc-img-gallery::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.acc-img-gallery::before,
.acc-img-gallery::after { display: none; }

.accommodation-row.reverse .acc-img-gallery::before {
    background-image: url('../images/image_terrasse_villa.webp');
}

.accommodation-row:not(.reverse) .acc-img-gallery::before {
    background-image: url('../images/gite.webp');
}

.acc-img-gallery::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    background: rgba(197, 160, 89, 0.9);
    width: 80px; height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

.acc-img-gallery:hover::after {
    opacity: 1;
}

/* =========================================
   MODAL GALERIE
   ========================================= */
.modal-gallery {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.95);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.modal-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 30px; right: 50px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10001;
    background: transparent;
    border: 0;
}

.modal-close:hover { color: var(--gold); }

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 20px 15px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 10001;
}

.modal-nav:hover { background: var(--gold); color: white; }
.modal-prev { left: 30px; }
.modal-next { right: 30px; }

.modal-caption {
    color: white;
    text-align: center;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    margin-top: 20px;
    max-width: 80%;
}

/* =========================================
   GOOGLE TRANSLATE
   ========================================= */
.goog-te-gadget-simple {
    background-color: transparent !important;
    border: 1px solid #eee !important;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.8rem !important;
    cursor: pointer;
}

.goog-te-gadget-icon { display: none !important; }
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0px !important; }

.goog-te-combo {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    background: white;
}

.elfsight-app-lazy {
    width: 100%;
    max-width: 500px;
    flex-grow: 1;
}

/* =========================================
   RESPONSIVE TABLETTE (max 992px)
   ========================================= */
@media (max-width: 992px) {
    .accommodation-row, .accommodation-row.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .acc-img {
        width: 100%;
        height: 350px;
    }

    .acc-img-gallery {
        width: 100%;
        height: 350px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .modal-nav {
        font-size: 1.5rem;
        padding: 15px 10px;
    }

    .modal-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }
}

/* =========================================
   RESPONSIVE MOBILE (max 768px)
   ========================================= */
@media (max-width: 768px) {

    /* --- Navigation mobile --- */
    #google_translate_element {
        display: none;
    }

    /* Quand le traducteur est dans le menu ouvert, l'afficher */
    #nav-links #google_translate_element {
        display: flex;
        padding: 14px 0;
        border-top: 1px solid #f0f0f0;
        width: 100%;
    }

    .burger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 30px 30px;
        gap: 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 14px 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        font-size: 0.9rem;
    }

    .nav-links a.nav-btn-contact {
        margin-top: 15px;
        text-align: center;
        border-radius: 3px;
        border-bottom: none;
    }

    /* Google Translate dans le menu mobile */
    .nav-links .mobile-translate {
        display: flex;
        align-items: center;
        padding: 14px 0;
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
    }

    .nav-links .mobile-translate .goog-te-combo {
        width: 100%;
        padding: 8px;
        font-size: 0.85rem;
    }

    /* --- Hero --- */
    .hero {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 1.9rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-dispo h1 {
        font-size: 1.8rem;
        padding: 15px 20px;
    }

    /* --- Titres --- */
    .section-title h1,
    .section-title h2 {
        font-size: 1.8rem;
    }

    .acc-info h3 {
        font-size: 1.6rem;
    }

    /* --- Hébergements --- */
    .acc-img-gallery {
        width: 100%;
        height: 280px;
    }

    .gallery-grid {
        opacity: 1;
    }

    .acc-img-gallery::before,
    .acc-img-gallery::after {
        display: none;
    }

    /* --- Calendrier --- */
    .months-grid {
        grid-template-columns: 1fr;
    }

    .days-grid {
        gap: 3px;
    }

    .day {
        font-size: 0.7rem;
    }

    .calendar-nav-wrapper {
        gap: 10px;
    }

    .btn-nav-cal {
        padding: 8px 14px;
        font-size: 0.65rem;
    }

    .chambre-btn {
        padding: 10px 14px;
        font-size: 0.7rem;
    }

    /* --- Simulateur --- */
    .price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .price-row.total {
        flex-direction: row;
        align-items: center;
    }

    .price-calculator {
        padding: 20px 15px;
    }

    /* --- Contact --- */
    .contact-wrapper {
        flex-direction: column;
    }

    .instagram-feed-section,
    .contact-form-container {
        padding: 25px 20px;
    }

    /* --- CTA --- */
    .cta {
        padding: 60px 20px;
    }

    .cta h2 {
        font-size: 1.7rem;
    }

    .cta-btns {
        flex-direction: column;
        align-items: center;
    }

    /* --- Modal --- */
    .modal-nav {
        padding: 10px 8px;
        font-size: 1.2rem;
    }

    .modal-prev { left: 5px; }
    .modal-next { right: 5px; }

    .modal-caption {
        font-size: 0.85rem;
        padding: 10px;
    }

    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 35px;
    }

    /* --- Boutons --- */
    .btn-primary, .btn-secondary {
        padding: 12px 25px;
        font-size: 0.75rem;
    }

    .btn-reserve {
        padding: 12px 25px;
        font-size: 0.85rem;
    }
}

/* =========================================
   RESPONSIVE PETIT MOBILE (max 480px)
   ========================================= */
@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-dispo h1 {
        font-size: 1.4rem;
    }

    .logement-nav {
        gap: 6px;
    }

    .chambre-btn {
        padding: 8px 10px;
        font-size: 0.65rem;
    }

    .price-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .acc-img-gallery {
        height: 220px;
    }

    .section-title h1,
    .section-title h2 {
        font-size: 1.5rem;
    }
}

/* =========================================
   AFFICHAGE RESPONSIVE RENFORCÉ
   ========================================= */
html { overflow-x: clip; }
body { min-width: 320px; }
img, iframe { max-width: 100%; }
button, input, select, textarea { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }

.hero-content h1,
.hero-dispo h1,
.cta h2,
.section-title h1,
.section-title h2 { text-wrap: balance; }
.hero-content p,
.section-title p,
.acc-info p,
.cta p { text-wrap: pretty; }

.page-section.container { padding: clamp(38px, 6vw, 76px) 20px; }
.section-title { margin-bottom: clamp(30px, 5vw, 50px); }
.intro { padding-top: clamp(44px, 7vw, 80px); padding-bottom: clamp(44px, 7vw, 80px); }
.card, .calendar-card, .price-calculator, .occupancy-container,
.instagram-feed-section, .contact-form-container {
    border-radius: 14px;
}
.acc-img, .acc-img-gallery { border-radius: 12px; }
.gallery-item:focus-visible { position: relative; z-index: 12; }

@media (min-width: 769px) and (max-width: 1120px) {
    header { height: 76px; }
    nav { position: relative; }
    .burger { display: flex; }
    #google_translate_element { display: none; }
    #nav-links #google_translate_element { display: flex; width: 100%; padding-top: 14px; border-top: 1px solid #eee; }
    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        width: min(380px, calc(100vw - 40px));
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        padding: 14px 24px 22px;
        background: var(--white);
        border: 1px solid #eee;
        border-radius: 12px;
        box-shadow: 0 18px 40px rgba(0,0,0,.14);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        white-space: normal;
    }
    .nav-links.open { display: flex; }
    .nav-links a { width: 100%; padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
    .nav-links a.nav-btn-contact { margin-top: 14px; text-align: center; }
}

@media (max-width: 768px) {
    :root { scroll-padding-top: 72px; }
    header { height: 72px; }
    header nav.container { padding-inline: 18px; }
    .logo { font-size: clamp(1.25rem, 5vw, 1.55rem); letter-spacing: 1px; }
    .nav-links {
        top: 72px;
        max-height: calc(100dvh - 72px);
        overflow-y: auto;
        padding: 12px 22px max(24px, env(safe-area-inset-bottom));
    }
    .hero { min-height: 560px; height: min(78svh, 760px); padding: 70px 0 54px; }
    .hero-content { width: min(100%, 680px); }
    .hero-content h1 { font-size: clamp(2rem, 8vw, 3rem); line-height: 1.12; }
    .hero-content p { max-width: 36rem; margin-inline: auto; line-height: 1.65; }
    .hero-actions { width: min(100%, 420px); margin: 22px auto 0; }
    .hero-actions a { width: 100%; text-align: center; }
    .hero-dispo { min-height: 300px; height: 42svh; padding: 28px 18px; }
    .hero-dispo h1 { max-width: 100%; font-size: clamp(1.65rem, 7vw, 2.4rem); padding: 16px 22px; }
    .page-section.container { padding: 42px 18px; }
    .section-title h1, .section-title h2 { font-size: clamp(1.7rem, 6.5vw, 2.25rem); line-height: 1.2; }
    .section-title p { max-width: 42rem; margin-inline: auto; }
    .grid-features { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; margin-top: 28px; }
    .card { padding: 32px 24px; }
    .accommodation-row, .accommodation-row.reverse { gap: 22px; margin-bottom: 58px; }
    .acc-img, .acc-img-gallery { height: clamp(250px, 62vw, 390px); }
    .acc-info { width: 100%; }
    .acc-info h3 { font-size: clamp(1.55rem, 6vw, 2rem); }
    .cta { padding: 58px 20px; }
    .cta h2 { font-size: clamp(1.65rem, 6vw, 2.1rem); line-height: 1.2; }
    .cta-btns { gap: 12px; }
    .cta-btns a { max-width: 100%; overflow-wrap: anywhere; }
    .calendar-section { padding: 26px 0; }
    .calendar-section > .container { padding-inline: 16px; }
    .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
    .price-card { padding: 10px 6px; font-size: .85rem; }
    .price-card span { font-size: .62rem; }
    .months-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .calendar-card { padding: 16px 12px; }
    .calendar-month { font-size: 1.25rem; }
    .days-grid { gap: clamp(2px, 1vw, 5px); }
    .day { min-height: 36px; font-size: clamp(.68rem, 2.5vw, .82rem); }
    .day-name { font-size: .67rem; }
    .calendar-nav-wrapper { gap: 10px; margin-bottom: 18px; }
    .btn-nav-cal { min-height: 44px; padding: 9px 12px; font-size: .68rem; letter-spacing: .4px; }
    .logement-nav { margin: -18px auto 28px; gap: 8px; padding-inline: 14px; }
    .chambre-btn { min-height: 44px; padding: 10px 12px; font-size: .68rem; }
    .price-calculator { padding: 20px 16px; }
    .price-row { flex-direction: row; align-items: flex-start; font-size: .9rem; }
    .price-row > :last-child { text-align: right; }
    .price-row.total { font-size: 1.1rem; }
    .occupancy-container { margin-top: 28px; padding: 20px 16px; }
    .contact-wrapper { gap: 20px; }
    .instagram-feed-section, .contact-form-container { min-width: 0; padding: 26px 20px; }
    .map-container { height: clamp(280px, 72vw, 380px); margin-top: 28px; }
    footer, .footer-social { padding: 30px 0; }
    .footer-social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
    .footer-social a { margin: 0; }
}

@media (max-width: 480px) {
    .container { padding-inline: 16px; }
    .hero { min-height: 520px; height: 76svh; }
    .hero-content h1 { font-size: clamp(1.85rem, 9vw, 2.35rem); }
    .hero-content p { font-size: .98rem; }
    .section-title { margin-bottom: 28px; }
    .intro-text { margin-bottom: 28px; font-size: .96rem; }
    .services-accueil { margin: 28px 16px 0; padding: 34px 20px; }
    .gallery-grid { gap: 4px; }
    .acc-img-gallery { height: clamp(210px, 66vw, 280px); }
    .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .day { min-height: 34px; }
    .price-row { font-size: .82rem; }
    .price-row.total { font-size: 1rem; }
    .modal-content { max-width: 96vw; max-height: 72svh; }
    .modal-caption { max-width: 94%; }
    .modal-close { top: 10px; right: 12px; }
    .contact-form-container form input,
    .contact-form-container form select,
    .contact-form-container form textarea { min-height: 48px; }
}

@media (max-width: 360px) {
    .logo { font-size: 1.18rem; }
    .calendar-section > .container { padding-inline: 12px; }
    .calendar-card { padding-inline: 8px; }
    .day { min-height: 31px; }
    .btn-nav-cal { padding-inline: 8px; font-size: .62rem; }
    .chambre-btn { padding-inline: 9px; font-size: .62rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
