/*
Theme Name: Casa Cosy
Description: Design hôtelier haut de gamme - Logo débordant (Desktop), Adaptatif (Tablette) et Stable (Mobile).
Author: Gemini
Version: 2.1
*/

/* --- 1. VARIABLES ET CONFIGURATION --- */
:root {
    --primary-blue: #4D6680;      /* Bleu grisé principal */
    --accent-gold: #C5A47E;       /* Doré (liserés et détails) */
    --light-beige: #D2CEC1;       /* Beige clair (fond chambres) */
    --white: #FFFFFF;        /* Blanc */
    --header-height: 100px;
    --header-sticky-height: 70px;
}

* { box-sizing: border-box; }

body { 
    font-family: 'Montserrat', sans-serif; 
    margin: 0; 
    color: var(--primary-blue); 
    line-height: 1.6;
    padding-top: var(--header-height);
}

h1, h2, h3 { 
    font-family: 'Playfair Display', serif; 
    font-weight: 800;
}
p {
    font-size: 16px;
}
main {
background-color: var(--light-beige);
min-height: 1200px;
}
.container { 
    max-width: 1300px; 
    margin: 0 auto; 
    padding: 0 30px; 
}

/* --- 2. HEADER --- */
.site-header {
    background-color: var(--primary-blue);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--accent-gold);
    transition: all 0.3s ease-in-out;
}

.site-header.sticky {
    height: var(--header-sticky-height);
    background-color: rgba(77, 102, 128, 0.98);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.header-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

/* --- 3. LOGO (DESKTOP vs MOBILE) --- */
.logo {
    position: relative;
    z-index: 10000;
    flex-shrink: 0;
}

.logo img.custom-logo {
    width: auto;
    display: block;
    transition: all 0.3s ease;
}

/* Comportement Desktop : Débordement */
@media (min-width: 1025px) {
    .logo img.custom-logo {
        max-height: 140px;
        position: absolute;
        top: -50px;
        left: 0;
        filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.3));
    }
    .site-header.sticky .logo img.custom-logo {
        max-height: 110px;
        top: -30px;
    }
}

/* Comportement Mobile : Stable dans la barre bleue */
@media (max-width: 1024px) {
    .logo img.custom-logo {
        position: relative !important;
        max-height: 110px !important;
        top: 10px !important;
        filter: none !important;
        display: block;
    }
}

/* --- 4. ÉLÉMENTS COMMUNS NAVIGATION --- */
.main-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu-list li a {
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s;
}

.btn-reserver-fixed {
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 10px 22px;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 2px;
    transition: 0.3s;
    letter-spacing: 1px;
    white-space: nowrap;
}

.btn-reserver-fixed:hover {
    background-color: var(--accent-gold);
    color: var(--white);
}

/* --- 5. CONFIGURATION DESKTOP (Large) --- */
@media (min-width: 1251px) {
    .nav-main {
        flex: 1;
        display: flex !important;
        justify-content: center;
    }
    .main-menu-list {
        display: flex;
        gap: 25px;
    }
    .main-menu-list li a {
        color: var(--white);
        font-size: 11px;
        letter-spacing: 1px;
    }
}

/* --- 6. SOLUTION ÉCRANS MOYENS (1025px à 1200px) --- */
@media (min-width: 1025px) and (max-width: 1200px) {
    .container { padding: 0 15px; }
    .nav-main {
        flex: 1;
        display: flex !important;
        justify-content: center;
    }
    .main-menu-list {
        display: flex;
        gap: 12px;
    }
    .main-menu-list li a {
        color: var(--white);
        font-size: 9px;
        letter-spacing: 0.5px;
    }
    .header-right-actions { gap: 12px !important; }
}

/* Style commun Desktop pour les éléments de droite */
@media (min-width: 1025px) {
    .main-menu-list li a:hover { color: var(--accent-gold); }
    .header-right-actions {
        display: flex;
        align-items: center;
        gap: 25px;
    }

    .desktop-lang-switch {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .desktop-lang-switch li {
        display: inline-flex !important;
        list-style: none !important;
        align-items: center;
    }
    .desktop-lang-switch li:not(:last-child)::after {
        content: "|";
        margin-left: 8px;
        color: var(--white);
        opacity: 0.5;
    }
    .desktop-lang-switch a { 
        color: var(--white); 
        text-decoration: none; 
        opacity: 0.6; 
        text-transform: lowercase;
        font-size: 13px;
    }
    .desktop-lang-switch .current-lang a { opacity: 1; font-weight: bold; }
    .mobile-menu-toggle, .mobile-lang-switch { display: none !important; }
}

/* --- 7. CONFIGURATION MOBILE & TABLETTE --- */
@media (max-width: 1024px) {
    .site-header { height: 80px; }
    body { padding-top: 80px; }
    .desktop-lang-switch { display: none; }
    .header-right-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    /* Le Burger avec Animation Croix */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 18px;
        cursor: pointer;
        z-index: 10001;
    }

    .mobile-menu-toggle span {
        width: 100%;
        height: 2px;
        background-color: var(--white);
        transition: all 0.3s ease-in-out; /* Ajout transition */
    }

    /* États de la croix quand .is-active est présent */
    .mobile-menu-toggle.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    .mobile-menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Overlay du Menu */
    .nav-main {
        display: none !important;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background-color: var(--primary-blue);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 10000;
    }
    .nav-main.is-active { display: flex !important; }
    .main-menu-list { flex-direction: column; text-align: center; gap: 25px; }
    .main-menu-list li a {
        font-size: 22px;
        color: var(--white);
        font-family: 'Playfair Display', serif;
    }

    .mobile-lang-switch {
        margin-top: 40px;
        display: flex !important;
        gap: 15px !important;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }
    .mobile-lang-switch li { display: flex !important; list-style: none !important; }
    .mobile-lang-switch li:not(:last-child)::after {
        content: "|"; margin-left: 15px; color: var(--white); opacity: 0.5;
    }
    .mobile-lang-switch a {
        color: var(--white); text-decoration: none; text-transform: uppercase; font-size: 16px;
    }
}

/* --- 8. SECTIONS & COMPOSANTS --- */
.section-padding { padding: 60px 0; text-align: center; }
.intro-section { background-color: var(--primary-blue); color: var(--white); }
.rooms-carousel-section { background-color: var(--light-beige); color: var(--primary-blue); margin-bottom: -120px}

.room-card {
    position: relative;
    height: 550px;
    background: #000;
    overflow: hidden;
    width: 100%;
}
.room-image { opacity: 0.8; height: 100%; }
.room-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.room-info {
    position: absolute; bottom: 0; width: 100%; padding: 50px 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}
.room-title { color: var(--white); text-transform: uppercase; margin-bottom: 15px; letter-spacing: 2px; }

.btn-discover {
    display: inline-block; color: var(--white); text-decoration: none;
    border: 1px solid var(--white); padding: 12px 30px;
    font-size: 11px; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s;
}
.btn-discover:hover { background: var(--white); color: var(--primary-blue); }

.swiper-rooms { width: 100%; overflow: hidden;margin-bottom:20px }
.swiper-button-next, .swiper-button-prev { 
    color: var(--accent-gold); !important; 
    background: rgba(255,255,255,0.8);
    width: 50px; height: 50px; border-radius: 50%;
}
.swiper-button-next:after, .swiper-button-prev:after { font-size: 18px; font-weight: bold; }

/* --- 9. FOOTER --- */
.site-footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 80px 0 30px;
    border-top: 2px solid var(--accent-gold);
}
.footer-grid { display: flex; justify-content: space-between; margin-bottom: 50px; }
.footer-col a { color: rgba(255,255,255,0.8); text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: var(--accent-gold); }

.footer-copyright {
    text-align: center; font-size: 11px; opacity: 0.5; padding-top: 30px;
}

@media (max-width: 768px) {
    .footer-grid { flex-direction: column; gap: 40px; text-align: center; }
    .section-padding { padding: 60px 0; }
}

/* --- FOOTER TYPE PHOTO --- */
.site-footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 50px 0 0;
    border-top: 2px solid var(--accent-gold);
}

.footer-section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    letter-spacing: 3px;
    margin-bottom: 50px;
    text-transform: uppercase;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 250px 1fr 300px; /* Structure : Infos | Carte | Newsletter */
    gap: 40px;
    align-items: start;
}

/* Colonne Contact */
.contact-info p { margin: 5px 0; font-weight: 500; }
.btn-contact-footer {
    display: inline-block;
    background: #3a4d61; /* Version plus sombre du bleu */
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    margin: 20px 0;
    letter-spacing: 1px;
}

/* Colonne Carte */
#map-casacosy {
    height: 350px;
    width: 100%;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Colonne Newsletter */
.newsletter-footer h3 { font-size: 18px; letter-spacing: 1px; }
.footer-news-form input[type="email"] {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border: none;
}
.btn-send {
    background: #5d7083;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    #map-casacosy { height: 250px; }
}
#map-casacosy {
    height: 400px;
    width: 100%;
    /* Filtre pour rendre la carte légèrement plus froide/bleutée */
    filter: grayscale(0.2) contrast(1.1) brightness(0.95);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.1);
}

/* Section des 4 boutons */
.info-buttons-section {
    background-color: var(--light-beige);
    padding: 60px 0;
    text-align: center;
}

.footer-buttons-list {
    display: flex;
    justify-content: center; /* Centre les boutons horizontalement */
    flex-wrap: wrap;       /* Permet le retour à la ligne sur mobile */
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 40px auto 0;
    max-width: 1000px;     /* Limite la largeur pour garder l'aspect centré */
}

.footer-buttons-list li {
    flex: 0 1 calc(25% - 20px); /* 4 colonnes sur desktop */
    min-width: 200px;           /* Empêche les boutons de devenir trop petits */
}

.footer-buttons-list li a {
    display: block;
    background-color: #53667a; /* Votre bleu ardoise */
    color: var(--white);
    padding: 15px 10px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.footer-buttons-list li a:hover {
    background-color: var(--accent-gold); /* Or au survol */
    color: var(--white);
}

/* --- RESPONSIVE --- */

/* Tablettes : 2 colonnes */
@media (max-width: 992px) {
    .footer-buttons-list li {
        flex: 0 1 calc(50% - 20px);
    }
}

/* Mobiles : 1 colonne */
@media (max-width: 600px) {
    .footer-buttons-list {
        gap: 10px;
    }
    .footer-buttons-list li {
        flex: 0 1 100%;
    }
}
.footer-socials {
    margin-top: 15px;
    display: flex;
    gap: 15px;
}

.footer-socials a {
    text-decoration: none;
    border: none;
}

.footer-socials .fa {
    color: var(--white); /* Icônes en blanc */
    font-size: 40px;
    transition: color 0.3s ease;
}

.footer-socials a:hover .fa {
    color: var(--accent-gold); /* Devient doré au survol */
}

/* Force l'affichage de Ninja Forms */
.nf-form-cont, .nf-form-layout {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Supprime le titre automatique qui peut créer des doublons */
.nf-form-title h3 {
    display: none !important;
}

/* ==========================================================================
   NEWSLETTER - CASA COSY (NINJA FORMS)
   ========================================================================== */

/* 1. CONTENEUR ET STRUCTURE
   -------------------------------------------------------------------------- */
.newsletter-footer .form-container-ninja {
    margin-top: 20px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Supprime les titres et labels internes générés par Ninja Forms */
.newsletter-footer .nf-form-title, 
.newsletter-footer .nf-field-label,
.newsletter-footer .nf-form-fields-required {
    display: none !important;
}

.newsletter-footer .nf-form-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* 2. CHAMP DE SAISIE (EMAIL)
   -------------------------------------------------------------------------- */
.newsletter-footer .nf-field-element input[type="email"] {
    width: 100% !important;
    height: 48px !important;
    background: var(--white) !important;
    color: #333333 !important;
    border: none !important;
    border-radius: 0 !important; /* Carré comme le bouton RÉSERVER */
    padding: 0 15px !important;
    font-size: 15px !important;
    font-family: inherit !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    margin-bottom: 5px !important;
}

/* 3. BOUTON ENVOYER (HARMONISÉ)
   -------------------------------------------------------------------------- */
.newsletter-footer .nf-field-element input[type="button"],
.newsletter-footer .nf-field-element input[type="submit"] {
    /* Couleurs & Identité */
    background-color: var(--accent-gold) !important; /* Votre doré */
    color: var(--white) !important;
    font-family: inherit !important;
    text-transform: uppercase !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    padding: 12px 35px !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    display: inline-block !important;
    width: auto !important;
    margin-top: 10px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    transition: all 0.3s ease-in-out !important;
}

/* Effet au survol (Identique aux autres boutons du site) */
.newsletter-footer .nf-field-element input[type="button"]:hover,
.newsletter-footer .nf-field-element input[type="submit"]:hover {
    background-color: #a38662 !important; /* Doré plus profond */
    transform: translateY(-2px) !important; /* Effet de lévitation */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

/* 4. MESSAGES DE RETOUR (SUCCÈS / ERREUR)
   -------------------------------------------------------------------------- */
/* Message de succès après inscription */
.newsletter-footer .nf-response-msg {
    color: var(--accent-gold) !important; /* Doré */
    font-weight: 600 !important;
    padding: 15px 0 !important;
    background: transparent !important;
    border: none !important;
}

/* Messages d'erreur */
.newsletter-footer .nf-error-msg,
.newsletter-footer .nf-error-message-inline {
    color: #ffbaba !important;
    font-size: 13px !important;
    margin-top: 5px !important;
}

/* 5. CHECKBOX RGPD (Si activée)
   -------------------------------------------------------------------------- */
.newsletter-footer .nf-field-container.checkbox-container .nf-field-label label {
    display: block !important;
    color: var(--white) !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    margin-top: 10px !important;
    font-weight: 400 !important;
}
/* --- FOOTER TYPE LA ROCHELLE --- */

.site-footer {
    background-color: #4a5a6a; /* Votre bleu actuel pour la partie haute */
    color: var(--white);
}

/* Container principal des liens légaux */
.footer-legal-nav {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centre les liens sur la ligne */
    align-items: center;
    gap: 30px; /* Espace entre les liens pour éviter la superposition */
    padding: 15px 0;
}

/* Style des liens injectés par wp_nav_menu */
.footer-legal-nav a {
    color: var(--white);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    white-space: nowrap; /* Empêche un lien de se couper en deux */
    transition: opacity 0.3s ease;
}

.footer-legal-nav a:hover {
    opacity: 0.7;
}

/* Ajout d'une puce séparatrice discrète entre les éléments */
.footer-legal-nav a:not(:last-child):after {
    content: "•";
    margin-left: 30px; /* Aligné avec le gap pour un centrage parfait */
    color: rgba(255, 255, 255, 0.3);
    pointer-events: none; /* La puce n'est pas cliquable */
}

/* Adaptabilité Mobile */
@media (max-width: 768px) {
    .footer-legal-nav {
        flex-direction: column; /* Empile les liens pour la lisibilité sur téléphone */
        gap: 15px;
    }
    .footer-legal-nav a:not(:last-child):after {
        display: none; /* Supprime les puces en mode colonne */
    }
}

/* --- ALIGNEMENT BANDEAU NOIR --- */

.footer-bottom-bar {
    background-color: #3d3d3d !important;
    width: 100% !important;
    padding: 25px 0 !important;
    margin-top: 30px;
}

/* Le conteneur Flexbox qui gère l'alignement gauche/droite */
.footer-bottom-flex {
    display: flex !important;
    justify-content: space-between !important; /* Pousse les éléments aux extrémités */
    align-items: center !important;
    width: 100%;
}

/* Style du Copyright (Gauche) */
.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: contents;
}

/* Style de la Navigation Légale (Droite) */
.footer-legal-nav {
    display: flex;
    align-items: center;
}

.footer-legal-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.footer-legal-nav a:hover {
    color: var(--accent-gold); /* Votre doré signature */
}

.footer-legal-nav .separator {
    margin: 0 15px;
    color: rgba(255, 255, 255, 0.3);
}

/* --- ADAPTATION MOBILE --- */
@media (max-width: 991px) {
    .footer-bottom-flex {
        flex-direction: column !important; /* Empile les textes sur mobile */
        text-align: center !important;
        gap: 15px;
    }
    
    .footer-legal-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* --- CENTRAGE RÉSEAUX SOCIAUX MOBILE --- */

@media (max-width: 1024px) {
    /* 1. On cible la colonne qui contient les réseaux sociaux */
    .footer-col.contact-info {
        text-align: center !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* 2. On aligne les icônes au centre */
    .footer-socials {
        display: flex !important;
        justify-content: center !important;
        gap: 20px !important; /* Espace entre les icônes */
        margin: 20px auto 0 !important;
        width: 100%;
    }

    /* 3. On s'assure que l'adresse et le bouton sont aussi centrés pour la cohérence */
    .footer-col.contact-info address,
    .footer-col.contact-info .btn-contact-footer {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* --- PAGE ACCÈS & CONTACT --- */
.contact-page-content {
    background-color: #4a5a6a; /* Votre bleu/vert sombre */
    color: var(--white);
    padding: 80px 0;
    min-height: 80vh;
}
.panel-info a {
    color:#fff !important;
}
.container-contact {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-grid {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-col {
    flex: 1;
}

/* Titres */
.contact-title {
    font-family: serif;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-align: center;
}

.contact-subtitle {
    font-size: 20px;
    text-align: center;
    margin-bottom: 30px;
}

/* Carte */
.map-large {
    height: 400px;
    width: 100%;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}

.contact-details-text {
    text-align: center;
    line-height: 1.8;
}

/* Formulaire Ninja Forms Page Contact */
.form-container-page .nf-field-element input, 
.form-container-page .nf-field-element textarea {
    background: var(--white) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 12px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
}

.form-container-page .nf-field-label label {
    color: var(--white) !important;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

/* Bouton Envoyer de la page contact */
.form-container-page .nf-field-element input[type="button"] {
    background-color: transparent !important;
    border: 1px solid var(--white) !important;
    color: var(--white) !important;
    width: auto !important;
    float: right;
    padding: 10px 40px !important;
    transition: all 0.3s;
}

.form-container-page .nf-field-element input[type="button"]:hover {
    background-color: var(--white) !important;
    color: #4a5a6a !important;
}

/* Notices Légales */
.form-legal-notice {
    font-size: 11px;
    opacity: 0.8;
    margin-top: 30px;
    clear: both;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-grid {
        flex-direction: column;
    }
}
/* --- PAGE CONTACT & ACCÈS - STYLE CADRES --- */

.contact-page-content {
    background-color: #4a5a6a; /* Votre bleu/gris sombre */
    padding: 60px 0;
    color: var(--white);
}

/* La grille qui sépare les deux boîtes */
.contact-grid {
    display: flex;
    gap: 30px;
    margin-bottom: 80px;
}

/* Style commun aux deux cadres */
.contact-box {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.05); /* Fond très légèrement plus clair */
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-title {
    font-family: serif;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 15px;
}

.map-frame {
    width: 100%;
    height: 350px;
    margin: 20px 0;
    border: 1px solid var(--white);
}

/* --- SECTION DESCRIPTION BASSE --- */

.contact-description-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.description-main-title {
    font-size: 36px;
    font-family: serif;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.transport-item {
    margin-top: 40px;
    text-align: left;
}

.transport-item h3 {
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--accent-gold);
    display: inline-block;
    padding-bottom: 5px;
}

.transport-item p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* --- AJUSTEMENT NINJA FORMS DANS LE CADRE --- */
.form-box .nf-form-content {
    width: 100%;
}

.form-box .nf-field-element input[type="button"] {
    background: transparent !important;
    border: 1px solid var(--white) !important;
    color: var(--white) !important;
    float: right;
    padding: 10px 40px !important;
    margin-top: 20px !important;
}

.form-box .nf-field-element input[type="button"]:hover {
    background: var(--white) !important;
    color: #4a5a6a !important;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-grid { flex-direction: column; }
}
/* --- PAGE CONTACT PLEINE LARGEUR --- */

.contact-page-content {
    background-color: #4a5a6a;
    padding: 0; /* On enlève le padding pour coller au header */
    color: var(--white);
}

/* La grille occupe 100% de la largeur sans marges */
.contact-full-grid {
    display: flex;
    width: 100%;
    min-height: 600px;
}

.contact-box {
    flex: 1;
    padding: 60px 10%; /* Padding interne pour respirer */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Bordure verticale entre les deux blocs */
.access-box {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.map-frame {
    width: 100%;
    height: 400px;
    margin: 30px 0;
    border: 1px solid var(--white);
}

/* --- GLOBAL PAGE CONTACT --- */
.contact-page-content {
    background-color: #4a5a6a; /* Votre bleu/vert sombre */
    color: var(--white);
    font-family: 'Montserrat', sans-serif; /* Ou votre police habituelle */
}

/* Wrapper qui colle aux bords de l'écran */
.contact-flex-wrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

/* Chaque carte prend 50% de l'écran */
.contact-card {
    flex: 1 1 50%;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
}

/* Cadre intérieur pour créer l'effet de séparation */
.contact-card-inner {
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 60px 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.contact-main-title {
    font-family: serif;
    font-size: 26px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    font-style: italic;
}

/* Carte Leaflet */
.map-container-frame {
    width: 100%;
    height: 350px;
    border: 1px solid var(--white);
    margin-bottom: 30px;
}

/* --- STYLISATION NINJA FORMS PAGE CONTACT --- */
.ninja-forms-styled-container {
    width: 100%;
    max-width: 450px; /* Pour garder un formulaire élégant */
}

.ninja-forms-styled-container .nf-field-label label {
    color: var(--white) !important;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.ninja-forms-styled-container input:not([type="button"]), 
.ninja-forms-styled-container textarea {
    background: var(--white) !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 10px !important;
}

/* Bouton Envoyer aligné à droite comme le modèle */
.ninja-forms-styled-container .nf-field-element input[type="button"] {
    background: transparent !important;
    border: 1px solid var(--white) !important;
    color: var(--white) !important;
    text-transform: uppercase;
    padding: 12px 35px !important;
    float: right;
    cursor: pointer;
    transition: 0.3s;
}

.ninja-forms-styled-container .nf-field-element input[type="button"]:hover {
    background: var(--white) !important;
    color: #4a5a6a !important;
}

/* --- SECTION BASSE --- */
.contact-bottom-description {
    padding: 100px 0;
    text-align: center;
}

.section-big-title {
    font-family: serif;
    font-size: 38px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.itinerary-item h3 {
    color: var(--accent-gold); /* Votre doré */
    letter-spacing: 3px;
    margin-top: 50px;
}

/* --- MOBILE --- */
@media (max-width: 991px) {
    .contact-card {
        flex: 1 1 100%;
    }
}

/* --- LAYOUT CONTACT STYLE SAINT-NICOLAS --- */

.contact-page-layout {
    background-color: #4a5a6a; /* Fond vert/bleu global */
    position: relative;
}

/* Bande grise supérieure */
.contact-top-bg-header {
    background-color: #3d3d3d; /* Gris anthracite */
    height: 120px;
    width: 100%;
}

/* Grille à 3 colonnes : 48% | 4% | 48% */
.contact-container-bridge {
    margin-top: -60px; /* Fait remonter les cadres sur le gris */
    padding: 0 20px;
}

.contact-grid-triple {
    display: flex;
    justify-content: space-between;
    max-width: 100%;
}

/* Cadres 1 (gauche) et 3 (droite) */
.contact-panel {
    background-color: transparent;
    flex: 0 0 48%; /* Prend un peu moins de la moitié */
}
.panel-left, .panel-right {
    background-color: #4a5a6a;
}
/* Cadre 2 : L'espace vide au milieu */
.panel-spacer {
    flex: 0 0 4%; /* Définit la largeur exacte du "vide" */
}

/* La bordure interne des cadres */
.panel-border {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 60px 40px;
    text-align: center;
    color: var(--white) !important;
    height: 100%;
}

.map-box {
    width: 100%;
    height: 350px;
    border: 1px solid var(--white);
    margin: 30px 0;
}

/* SECTION BASSE (CADRE 4) */
.contact-footer-content {
    padding: 100px 0;
    text-align: left;
    color: var(--white);
}
.contact-footer-content a {color: #fff}
.footer-title {
    font-family: serif;
    font-size: 42px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* FIX NINJA FORMS BOUTON ENVOYER */
.ninja-forms-bridge .nf-field-element input[type="button"] {
    background: transparent !important;
    border: 1px solid var(--white) !important;
    color: var(--white) !important;
    text-transform: uppercase;
    float: right;
    padding: 10px 40px !important;
    margin-top: 20px;
    transition: 0.3s;
}

.ninja-forms-bridge .nf-field-element input[type="button"]:hover {
    background: var(--white) !important;
    color: #4a5a6a !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-grid-triple { flex-direction: column; }
    .contact-panel { flex: 0 0 100%; margin-bottom: 30px; }
    .panel-spacer { display: none; }
}
/* ==========================================================================
   GALERIE CASA COSY - CSS COMPLET FINAL (MASONRY & FLEX)
   ========================================================================== */

/* 1. Conteneur principal de la page */
.gallery-solo-page {
    background-color: #4a5a6a; /* Bleu signature */
    color: var(--white);
    padding: 60px 0;
    min-height: 100vh;
}

/* 2. Menu de Navigation (Flexbox) */
.gallery-nav-flex {
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0 auto 50px auto;
    flex-wrap: wrap;
}

.gallery-nav-flex li a {
    text-decoration: none;
    color: var(--white);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    padding: 12px 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: block;
}

/* État actif (Bouton doré) */
.gallery-nav-flex li.current-menu-item a, 
.gallery-nav-flex li a:hover {
    background-color: var(--accent-gold) !important;
    border-color: var(--accent-gold) !important;
}

/* 3. Titre et Texte d'accroche (Centrage) */
.gallery-main-title {
    display: flex !important;
    justify-content: center !important;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 5vw, 42px);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 40px 0 20px 0;
}

.gallery-content p {
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    max-width: 800px;
    margin: 0 auto 50px auto !important;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* 4. Forçage du système Masonry (Casse le mode Flex de WP) */
/* Cible précisément la structure visible dans l'inspecteur */
.wp-block-gallery.has-nested-images,
figure.wp-block-gallery {
    display: block !important;       /* Désactive le flex qui aligne tout horizontalement */
    column-count: 2 !important;     /* 2 colonnes comme sur vos rendus */
    column-gap: 30px !important;
    margin: 40px auto !important;
    max-width: 1200px !important;
}

/* Gestion des images individuelles dans les colonnes */
.wp-block-gallery .wp-block-image,
figure.wp-block-image {
    display: inline-block !important; /* Permet l'empilement vertical */
    width: 100% !important;
    margin: 0 0 30px 0 !important;
    break-inside: avoid !important;   /* Empêche de couper l'image entre 2 colonnes */
}

.wp-block-image img {
    width: 100% !important;
    height: auto !important;         /* Garde le ratio pour l'effet décalé */
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 2px;
}

/* 5. Optimisation Mobile */
@media (max-width: 600px) {
    .wp-block-gallery.has-nested-images {
        column-count: 1 !important;  /* 1 colonne sur smartphone */
    }
    
    .gallery-nav-flex li {
        flex: 1 1 45%;
    }
    
    .gallery-nav-flex li a {
        padding: 10px 5px;
        font-size: 10px;
        text-align: center;
    }
}

/* =============================================================
   1. STRUCTURE & DESKTOP (ACCORDÉON)
   ============================================================= */
.chambres-page {
    padding-bottom: 20px;
}


.chambres-container {
    display: flex;
    height: 80vh;
    width: 100%;
    overflow: hidden;
    background: #4a5a6a;
}

.chambre-col {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    overflow: hidden;
    border-right: 1px solid rgba(197, 164, 126, 0.4);
    transition: flex 0.7s cubic-bezier(0.25, 1, 0.33, 1);
}

.chambre-col:last-child { border-right: none; }

@media (min-width: 1025px) {
    .chambre-col:hover { flex: 3; }
}

.chambre-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.8));
    transition: background 0.4s ease;
    z-index: 1;
}

/* Alignement inversé : le titre est en bas, les infos au-dessus */
.chambre-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column-reverse; /* Empile de bas en haut */
    justify-content: flex-start; 
    align-items: center;
    z-index: 2;
    color: #fff;
    padding: 40px 20px; /* Marge constante en bas */
    text-align: center;
}

.chambre-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    transition: transform 0.4s ease;
}

/* --- INFOS QUI APPARAISSENT AU-DESSUS --- */
.chambre-info-reveal {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.5s ease;
    width: 100%;
}

.chambre-specs {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 20px 0;
    margin: 0 0 20px 0; /* Espace entre les icônes et le titre */
        background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.chambre-specs li {
    display: flex;
    flex-direction: column;
    align-items: center;
        width: 150px;
    text-align: center;
    color: var(--white);
}

.chambre-specs i {
    font-size: 18px;
    color: #c5a47e;
    margin-bottom: 5px;
}

.chambre-specs li i {
    font-size: 22px;
    color: var(--accent-gold) !important; /* Doré signature Casa Cosy */
    margin-bottom: 10px;
    height: 30px;
    display: flex;
    align-items: center;
}

.chambre-specs li span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.btn-decouvrir {
    display: inline-block;
    padding: 8px 18px;
    text-decoration: none;
    margin-bottom: 15px;
    background-color: var(--accent-gold); /* Votre doré */
    color: var(--white);
    font-family: inherit;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    border: none;
    border-radius: 0;
    cursor: pointer ;
    width: auto;
    appearance: none;
    -webkit-appearance: none;
    transition: all 0.3s ease-in-out;
}
.btn-decouvrir:hover {
    background-color: #a38662; /* Doré plus profond */
    transform: translateY(-2px); /* Effet de lévitation */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* =============================================================
   2. INTERACTIONS (HOVER & ACTIVE)
   ============================================================= */

.chambre-col:hover .chambre-overlay,
.chambre-col.is-active .chambre-overlay {
    background: rgba(45, 55, 65, 0.5);
}

/* Le titre remonte légèrement (15px) */
.chambre-col:hover h3,
.chambre-col.is-active h3 {
    transform: translateY(-15px);
}

/* Les infos apparaissent au-dessus sans pousser le titre */
.chambre-col:hover .chambre-info-reveal,
.chambre-col.is-active .chambre-info-reveal {
    opacity: 1;
    visibility: visible;
    transform: translateY(-15px);
}

/* =============================================================
   3. RESPONSIVE MOBILE
   ============================================================= */
@media (max-width: 1024px) {
    .chambres-container {
        flex-direction: column;
        height: auto;
    }
    .chambre-col {
        height: 350px;
        flex: none;
        border-bottom: 1px solid rgba(197, 164, 126, 0.3);
    }
    .chambre-content {
        padding-bottom: 30px;
    }
}

.intro-chambres-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

/* =============================================================
   DESIGN LUXE SOMBRE - SINGLE CHAMBRE
   ============================================================= */

/* 1. Fond global et structure */
.single-chambre-dark-wrapper {
    background-color: #444441; /* Gris anthracite du modèle */
    color: var(--white);
    padding: 80px 0;
    min-height: 100vh;
    font-family: 'Playfair Display', serif;
}

.container-chambre {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.chambre-main-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Équilibre Slider / Texte */
    gap: 80px;
    align-items: start;
}

/* 2. Colonne de Gauche : Slider */
.chambre-slider-column {
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* 3. Colonne de Droite : Titre et Specs */
.chambre-info-column {
    padding-left: 20px;
}

.chambre-title-single {
    font-size: 48px;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 40px;
    font-weight: 400;
    color: var(--white);
}

/* Logos horizontaux épurés (Modèle Saint-Nicolas) */
.chambre-quick-specs {
    display: flex;
    justify-content: space-around;
    gap: 60px;
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 40px;
}

.chambre-quick-specs li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 50px;
}

.chambre-quick-specs li i {
    font-size: 30px;
    color: var(--white);
    margin-bottom: 15px;
}

.chambre-quick-specs li span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.8);
    min-width: 50px;
}

/* 4. Description et Services (Éditeur WordPress) */
.services-title {
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 25px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
}

.chambre-description-single {
    font-family: 'Arial', sans-serif; /* Pour une meilleure lisibilité des listes */
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 50px;
    color: rgba(255,255,255,0.9);
}

/* Style des listes à puces (Services) */
.chambre-description-single ul {
    list-style: none;
    padding: 0;
}

.chambre-description-single ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    text-align: left;
}

.chambre-description-single ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-gold); /* Votre doré pour les puces */
}

/* 5. Bouton RÉSERVER Blanc */
.btn-reserver-luxe {
    display: inline-block;
    background: var(--white);
    color: #444441;
    padding: 18px 70px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 4px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.4s ease;
}

.btn-reserver-luxe:hover {
    background: var(--accent-gold); /* Changement vers doré au survol */
    color: var(--white);
    transform: translateY(-3px);
}

/* 6. Adaptabilité Mobile */
@media (max-width: 1024px) {
    .chambre-main-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .chambre-info-column {
        padding-left: 0;
        text-align: center;
    }
    
    .chambre-quick-specs {
        justify-content: center;
        gap: 30px;
    }
    
    .chambre-title-single {
        font-size: 32px;
    }
}

.chambre-navigation {
    margin-top: 15px;
    text-align: center; /* Aligné avec le bouton réserver */
}

.btn-retour-liste {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.6); /* Blanc estompé pour ne pas concurrencer le bouton principal */
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.btn-retour-liste i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-retour-liste:hover {
    color: var(--accent-gold); /* Devient doré au survol */
}

.btn-retour-liste:hover i {
    transform: translateX(-5px); /* Petit effet de mouvement vers la gauche */
}

/* Version Mobile pour l'alignement */
@media (max-width: 1024px) {
    .chambre-navigation {
        text-align: center;
        margin-bottom: 10px;
    }
}


/* --- Annex Page Adjustments --- */
/* --- Stylisation du texte WordPress pour l'Annexe --- */

.annexe-content-page {
    padding: 80px 0;
}

/* On force le style sur les titres venant de l'éditeur */
.annexe-wp-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    color: var(--white);
    line-height: 1.2;
}

.annexe-wp-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--accent-gold); /* Doré pour les H2 */
    margin: 40px 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.annexe-wp-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--white);
    margin: 30px 0 15px 0;
}

/* Paragraphes */
.annexe-wp-text p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
    text-align: justify;
}

/* Listes à puces de l'éditeur */
.annexe-wp-text ul {
    list-style: none !important;
    padding: 0 !important;
    margin-bottom: 30px;
}

.annexe-wp-text ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.chambre-quick-specs li::before {
    content: "" !important;}
.annexe-wp-text ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 20px;
    line-height: 1;
}

/* Mise en gras */
.annexe-wp-text strong {
    color: var(--accent-gold);
    font-weight: 600;
}

/* --- PRACTICAL INFORMATION PAGE --- */
.infos-pratiques-wrapper {
    background-color: var(--light-beige);
    padding: 80px 0 120px 0;
}

.layout-grid-infos {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 80px;
    align-items: start;
}

/* Typography for WordPress Editor Content */
.wp-content-infos h1 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    color: #4a5a6a;
    margin-bottom: 35px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.wp-content-infos h2 {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    color: #4a5a6a;
    margin: 50px 0 25px 0;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.wp-content-infos p {
    font-size: 16px;
    line-height: 1.9;
    color: #555555;
    margin-bottom: 20px;
}

/* Sidebar Styling */
.sticky-sidebar {
    position: sticky;
    top: 130px;
}

.info-card-quick {
    background: #4a5a6a;
    padding: 40px 30px;
    color: var(--white);
    border-radius: 3px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.card-title {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 17px;
    margin-bottom: 30px;
    color: var(--accent-gold);
    text-align: center;
}

.quick-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.quick-item i {
    color: var(--accent-gold);
    font-size: 18px;
    width: 25px;
    text-align: center;
}

.quick-item p {
    margin: 0;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.9);
}

.btn-sidebar-book {
    display: block;
    background: var(--accent-gold);
    color: var(--white);
    text-align: center;
    padding: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.btn-sidebar-book:hover {
    background: var(--white);
    color: #4a5a6a;
}

/* Responsive fixes */
@media (max-width: 1024px) {
    .layout-grid-infos {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .infos-sidebar {
        order: -1;
    }
    .sticky-sidebar {
        position: static;
    }
}


/* 1. Hero Text Overlay */
.hero-section { position: relative; background-color: var(--primary-blue);}
.hero-overlay-text {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
}
.hero-overlay-text h1 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 30px;
    background-color: rgb(45 45 45 / 50%);
    border-radius: 5px;
}
.hero-overlay-text p {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 30px;
}

/* 2. Intro & Réassurance */
.intro-content-wp h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--accent-gold);
    margin: 30px 0;
}
.reassurance-bar {
    position: relative;
    display: flex;
    justify-content: space-around;
    max-width: 1300px;
    margin: 60px auto 0 auto;
    padding: 30px;
    background: #4a5a6a;
    color: #fff;
    border-radius: 4px;
}
.reassurance-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.reassurance-item i {
    font-size: 24px;
    color: var(--accent-gold); /* Votre doré */
}

/* 3. Bouton Réserver Luxe */
.btn-reserver-luxe {
    background: var(--accent-gold);
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    transition: 0.3s;
    border-radius: 2px;
}
.btn-reserver-luxe:hover { background: #4a5a6a; color: #fff; }

/* Responsive */
@media (max-width: 768px) {
    .hero-overlay-text h1 { font-size: 24px; margin-bottom: 10px}
    .hero-overlay-text p { font-size: 18px; margin-bottom: 10px}
    .reassurance-bar { 
        flex-direction: column; 
        gap: 30px; 
    }
}

/* Style pour la section Annexe sur la Home */
.annexe-slider-wrapper {
    width: 100%; /* On le centre pour ne pas qu'il soit trop massif par rapport aux cartes */
    max-height: 400px;
    margin: 30px auto 0;
    border-radius: 4px;
    overflow: hidden;
}
.annexe-slider-wrapper div#n2-ss-6 .n2-ss-slider-4 {
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}
.annexe-featured-section .section-subtitle {
    text-align: center;
    margin-top: -20px;
    margin-left: auto;
    margin-right: auto;
}
.annexe-quick-link {
    text-align: center;
    position: relative;
    top:-120px;}

@media (max-width: 768px) {
.annexe-quick-link {
    top:-80px;}}

    /* Adaptation Mobile */
@media (max-width: 1024px) {
    .reassurance-bar {
        flex-direction: column;
        gap: 30px;
        margin-left: 20px; /* Petit espacement sur les bords en mobile */
        margin-right: 20px;
        width: auto; /* Laisse le bar s'adapter à l'écran */
    }
}
.reviews-slider-container {
    padding-top: 30px;
}
.reviews-section {
background: #f9f9f9;
padding-top: 120px;
}
/* ==========================================================================
   CORRECTIF GLOBAL RESPONSIVE (CASA COSY)
   ========================================================================== */

/* 1. RÉALIGNEMENT HEADER & LOGO */
@media (max-width: 1024px) {
    .site-header { height: 70px !important; }
    body { padding-top: 70px !important; }
    
    .logo img.custom-logo {
        max-height: 70px !important;
        top: 0 !important;
        position: relative !important;
        margin: 0 auto;
    }

    /* 2. BARRE DE RÉASSURANCE (Correction Grille) */
    .reassurance-bar {
        top:60px;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        padding: 30px 15px !important;
        margin: 40px 15px !important;
        height: auto !important;
    }

    .reassurance-item {
        flex-direction: column !important;
        text-align: center !important;
        margin: 0 !important;
    }

    .reassurance-item span {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }
}

/* 3. CORRECTION SECTIONS & TEXTES (Mobile 768px et moins) */
@media (max-width: 768px) {
    .section-padding { padding: 40px 0 !important; }
    
    .hero-overlay-text h1 {
        font-size: 24px !important;
        margin-bottom: 15px !important;
    }

    .hero-overlay-text p { font-size: 16px !important; }
    /* 5. BOUTONS INFOS (Pied de page) */
    .footer-buttons-list {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .footer-buttons-list li {
        width: 100% !important;
        min-width: 0 !important;
    }

    .footer-buttons-list li a {
        font-size: 9px !important;
        padding: 10px 5px !important;
    }
}

/* 6. SMARTPHONE (425px et moins) */
@media (max-width: 425px) {
    .reassurance-bar {
        grid-template-columns: 1fr !important; /* Une seule colonne sur petit mobile */
    }

    .section-title { font-size: 22px !important; }

    .btn-reserver-luxe {
        padding: 12px 30px !important;
        font-size: 12px !important;
        letter-spacing: 2px !important;
    }
}

/* 7. AJOUT DU BOUTON BOUTIQUE FLOTTANT (Optionnel) */
.btn-float-boutique {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-gold);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.btn-float-boutique:hover {
    transform: translateY(-5px);
    background-color: var(--primary-blue);
    color: white;
}

/* Cache le texte sur mobile pour ne garder que l'icône si besoin */
@media (max-width: 768px) {
    .btn-float-boutique span { display: none; }
    .btn-float-boutique { padding: 15px; border-radius: 50%; }
}

/* =============================================================
   ACTIONS STICKY (DESKTOP & MOBILE)
   ============================================================= */

/* --- STYLE DESKTOP (Bas Droite) --- */
.casa-sticky-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column; /* Empilement vertical */
    gap: 12px;
    z-index: 9999;
}

.action-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: #4a5a6a; /* Votre bleu sombre */
    color: var(--white);
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.action-item i {
    font-size: 20px;
    color: var(--accent-gold); /* Votre doré */
}

/* Texte caché par défaut sur Desktop, apparaît au survol */
.action-item span {
    position: absolute;
    right: 65px;
    background: #4a5a6a;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.action-item:hover {
    transform: scale(1.1);
    background: var(--accent-gold);
}

.action-item:hover i {
    color: var(--white);
}

.action-item:hover span {
    opacity: 1;
    transform: translateX(0);
}

/* Mise en avant Boutique */
.action-item.highlight {
    background: var(--accent-gold);
}
.action-item.highlight i {
    color: var(--white);
}

/* --- STYLE MOBILE (Bandeau Bas) --- */
@media (max-width: 768px) {
    .casa-sticky-actions {
        bottom: 0;
        right: 0;
        left: 0;
        flex-direction: row; /* Horizontal sur mobile */
        gap: 0;
        height: 65px;
        background: #4a5a6a;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }

    .action-item {
        flex: 1;
        height: 100%;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        flex-direction: column;
    }

    .action-item span {
        position: static;
        opacity: 1;
        transform: none;
        background: transparent;
        font-size: 9px;
        padding: 0;
        margin-top: 4px;
    }

    .action-item:hover {
        transform: none;
    }

    .action-item:not(:last-child) {
        border-right: 1px solid rgba(255,255,255,0.1);
    }
    
    body {
        padding-bottom: 65px !important;
    }
}


/* 1. On retire le fond et le padding de la boîte globale */
.hero-overlay-text {
    background: none !important;
    padding: 0 !important;
    max-width: 90%;
    text-align: center;
}

/* 2. On applique l'overlay uniquement sur le H1 */
.hero-overlay-text h1 {
    display: inline-block; /* Permet à la boîte de s'ajuster à la largeur du texte */
    background: rgba(0, 0, 0, 0.5) !important; /* L'ombre noire */
    color: #fff;
    padding: 15px 30px !important; /* Espace autour du texte à l'intérieur du bandeau */
    margin-bottom: 20px !important;
    line-height: 1.4;
    box-decoration-break: clone; /* Assure un padding propre si le texte va à la ligne */
    -webkit-box-decoration-break: clone;
}

/* 3. Le bouton reste en dessous, sans fond sombre derrière lui */
.btn-reserver-luxe {
    display: table; /* Pour le centrer proprement */
    margin: 0 auto !important;
}


/* =============================================================
   PAGE TOURISME : GRILLE DE CARTES
   ============================================================= */

.tourisme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes sur Desktop */
    width: 100%;
    margin-top: 40px;
}
.tourisme-content {
    text-align: left;
}
.tourisme-card {
    position: relative;
    height: 450px; /* Hauteur des blocs */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 0.5px solid rgba(255,255,255,0.1); /* Liseré très fin */
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 55, 65, 0.4); /* Votre bleu sombre avec transparence */
    transition: all 0.5s ease;
}

.card-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.card-content h3 {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    padding: 0 20px;
    transition: transform 0.5s ease;
}

.btn-explore {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-gold); /* Votre doré */
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 4px;
    border-bottom: 1px solid var(--accent-gold);
    padding-bottom: 5px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

/* EFFETS AU SURVOL */
.tourisme-card:hover .card-bg {
    transform: scale(1.08);
}

.tourisme-card:hover .card-overlay {
    background: rgba(45, 55, 65, 0.7); /* S'assombrit pour faire ressortir le bouton */
}

.tourisme-card:hover .btn-explore {
    opacity: 1;
    transform: translateY(0);
}

.tourisme-card:hover h3 {
    transform: translateY(-10px);
}

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

@media (max-width: 768px) {
    .tourisme-grid { grid-template-columns: 1fr; } /* 1 colonne Mobile */
    .tourisme-card { height: 350px; }
    .btn-explore { opacity: 1; transform: none; } /* Toujours visible sur mobile */
}
.tourisme-intro {
    padding: 0 !important;
}
.tourisme-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.tourisme-hero .hero-overlay {
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: rgba(45, 55, 65, 0.5); /* Rappel de votre bleu sombre */
}

.tourisme-hero h1 {
    position: relative;
    z-index: 2;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.content-luxe {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #444;
}

.retour-tourisme {
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

/* Grille d'actualités */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* Carte Article */
.news-card {
    background: #fff;
    transition: transform 0.3s ease;
    border-bottom: 1px solid #eee; /* Look minimaliste */
    padding-bottom: 20px;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Recadre proprement les images */
    border-radius: 4px;
}

/* Typographie & Couleurs */
.category-badge {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #d4a373; /* Couleur de votre bouton doré */
    margin: 15px 0 10px;
}

.news-card h2 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: 10px;
}

.news-card h2 a {
    text-decoration: none;
    color: #2c3e50; /* Votre bleu sombre */
}

.news-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: bold;
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.85rem;
}
.category-badge a {
    color: #d4a373; /* Votre doré */
    text-decoration: none;
    font-weight: bold;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-badge a:hover {
    color: #2c3e50; /* Votre bleu sombre */
}

/* Force l'affichage en grille */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Style des cartes */
.news-card {
    background: #fff;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.news-card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Important pour que toutes les photos aient la même taille */
    border-radius: 4px;
}

.news-card h2 {
    font-size: 1.2rem;
    margin: 15px 0;
}

.news-card h2 a {
    text-decoration: none;
    color: #2c3e50;
}

.news-tiles-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes comme sur votre page Tourisme */
    width: 100%;
    gap: 0; /* Pas d'espace entre les images pour un look immersif */
}

.news-tile {
    position: relative;
    height: 60vh; /* Hauteur importante pour l'effet visuel */
    overflow: hidden;
}

.tile-image-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
}

.tile-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit toute la case sans déformer */
    transition: transform 0.5s ease;
}

.news-tile:hover img {
    transform: scale(1.05); /* Léger zoom au survol */
}

/* Overlay sombre pour rendre le texte lisible */
.tile-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.2); /* Voile léger */
    transition: background 0.3s;
}

.news-tile:hover .tile-overlay {
    background: rgba(0, 0, 0, 0.4);
}

/* Style du titre (blanc et centré) */
.tile-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    text-transform: uppercase;
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 2px;
    width: 80%;
    margin: 0;
    pointer-events: none;
}

/* Style de l'extrait */
.card-excerpt {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
    margin: 10px 0 20px 0;
    padding: 0 30px;
    opacity: 0; /* Masqué par défaut */
    transform: translateY(20px); /* Positionné un peu plus bas */
    transition: all 0.5s ease;
    font-family: 'Playfair Display', serif; /* Pour garder l'esprit Mag */
    font-style: italic;
}

/* Apparition au hover de la carte */
.tourisme-card:hover .card-excerpt {
    opacity: 1;
    transform: translateY(0);
}

/* On ajuste le titre pour qu'il remonte un peu plus lors du hover */
.tourisme-card:hover h3 {
    transform: translateY(-5px);
}

/* Ajustement du bouton "Lire l'article" pour qu'il suive l'extrait */
.tourisme-card:hover .btn-explore {
    opacity: 1;
    transform: translateY(5px);
}

/* Style de l'article seul */
.single-post-container {
    background-color: var(--light-beige);
}

/* Bannière d'image */
.post-hero-image {
    position: relative;
    height: 50vh;
    width: 100%;
    overflow: hidden;
}

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

.post-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-title {
    color: #fff;
    font-size: 2.5rem;
    text-transform: uppercase;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

/* Contenu du texte */
.post-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.entry-content {
    text-align: left; /* Aligne tout le texte à gauche pour la lisibilité */
    line-height: 1.8;
    color: #444;
}

/* Correction spécifique pour vos listes d'ingrédients (puces) */
.entry-content ul, .entry-content ol {
    margin-left: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.entry-content li {
    margin-bottom: 10px;
}

.post-meta {
    font-style: italic;
    color: #999;
    margin-bottom: 40px;
    text-align: center;
}

/* Bouton Retour */
.post-footer {
    margin-top: 60px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.btn-back {
    text-decoration: none;
    color: #2c3e50;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* --- Template Tourisme Détail --- */

.tourisme-detail {
    background-color: #f9f7f4; /* Un beige très clair pour la douceur */
    color: #333;
    line-height: 1.8;
}

/* Hero Section */
.tourisme-hero {
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Overlay léger pour lisibilité */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif; /* Ou votre police de titre luxe */
    font-size: 3.5rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

/* Conteneur de contenu */
.content-luxe {
    max-width: 900px; /* Plus étroit pour une meilleure lecture */
    margin: 0 auto;
    padding: 80px 20px;
    background: #f9f9f9;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Effet flottant élégant */
    margin-top: -100px; /* Chevauchement sur le Hero pour le style */
    position: relative;
    z-index: 10;
    border-radius: 2px;
}

/* Typographie du contenu */
.content-luxe h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #4a5d6a; /* Bleu gris élégant */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.content-luxe h3 {
    font-size: 1.4rem;
    color: #8d7b68; /* Rappel de la couleur sable/dorée */
    margin-top: 30px;
}

.content-luxe p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: #555;
}

/* Mise en avant de "L'Astuce Casa Cosy" */
/* Si vous utilisez un bloc spécifique ou une classe dans l'éditeur */
.content-luxe blockquote, 
.astuce-cosy {
    background: #f0f4f7;
    border-left: 4px solid #8d7b68;
    padding: 30px;
    margin: 40px 0;
    font-style: italic;
    border-radius: 0 5px 5px 0;
}

/* Images dans le corps de texte */
.content-luxe img {
    max-width: 100%;
    height: auto;
    margin: 30px 0;
    border-radius: 3px;
}

/* Bouton Retour */
.retour-tourisme {
    margin-top: 60px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 40px;
}

.btn-retour-liste {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #8d7b68;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-retour-liste i {
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.btn-retour-liste:hover {
    color: #4a5d6a;
}

.btn-retour-liste:hover i {
    transform: translateX(-8px);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.2rem; }
    .content-luxe { margin-top: -50px; padding: 40px 20px; }
}

/* --- Global Page Tourisme --- */
.tourisme-page {
    background-color: #d6d2c4; /* La couleur beige de votre fond actuel */
}

.tourisme-intro {
    background-color: #d6d2c4;
    padding-top: 120px !important; /* Espace pour le header */
    padding-bottom: 60px !important;
    text-align: center;
}

/* On enlève les marges par défaut qui créent du blanc */
.tourisme-intro h1.gallery-main-title {
    margin-top: 0;
    font-family: 'Playfair Display', serif;
    color: #4a5d6a; /* Couleur bleu-gris des titres */
    text-transform: uppercase;
    letter-spacing: 3px;
}
.home .intro-content-wp {
    color: #fff;
    font-style: normal !important;
}

.intro-content-wp {
    max-width: 900px;
    margin: 0 auto;
    font-style: italic;
    color: #555;
}

/* Empêche le slider d'avoir une hauteur de 0px au chargement */
.n2-ss-slider {
    min-height: 450px !important; /* Ajustez selon la hauteur de vos photos */
    background-color: #f4f1ee; /* Couleur beige Casa Cosy pour le fond en attendant l'image */
}

/* On s'assure que les images du slider ne sont pas cachées par a3 */
.n2-ss-slider img.lazyload {
    display: block !important;
    opacity: 1 !important;
}

/* Container des formulaires de contact */
#nf-form-5-cont, 
#nf-form-1-cont {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Style des champs identique à la newsletter */
#nf-form-5-cont .nf-field-element input:not([type="submit"]), 
#nf-form-5-cont .nf-field-element textarea,
#nf-form-1-cont .nf-field-element input:not([type="submit"]), 
#nf-form-1-cont .nf-field-element textarea {
    width: 100% !important;
    padding: 10px !important;
    margin: 15px 0 !important;
    border: none !important;
    background-color: #ffffff !important; /* Fond blanc comme l'email newsletter */
    color: #333333 !important;
    border-radius: 0 !important;
}

/* Bouton Envoyer identique au bouton Newsletter (Beige/Sable) */
#nf-form-5-cont .nf-field-element input[type="submit"],
#nf-form-1-cont .nf-field-element input[type="submit"] {
    background: #c1a684 !important; /* Votre couleur beige sable */
    color: white !important;
    border: none !important;
    padding: 15px 40px !important;
    cursor: pointer;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    display: block !important;
    margin: 20px auto !important; /* Centré */
    transition: background 0.3s ease;
}

#nf-form-5-cont .nf-field-element input[type="submit"]:hover,
#nf-form-1-cont .nf-field-element input[type="submit"]:hover {
    background: #ac8e68 !important; /* Un peu plus sombre au survol */
}

/* Labels et Erreurs */
#nf-form-5-cont .nf-field-label label,
#nf-form-1-cont .nf-field-label label {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

#nf-form-5-cont .nf-error-msg, 
#nf-form-1-cont .nf-error-msg {
    color: #f4d3c9 !important; /* Terre cuite très clair pour lisibilité */
    font-size: 12px;
    margin-top: 5px;
}
/* --- Global & Espacements --- */
.histoire-header { text-align: center; padding: 80px 20px 40px; }
.histoire-header h1 { font-family: 'Playfair Display', serif; color: #4a5a6a; font-size: 2.4rem; max-width: 800px; margin: 0 auto; }
.subtitle { color: #c5a47e; text-transform: uppercase; letter-spacing: 3px; font-weight: bold; font-size: 0.9rem; display: block; margin-bottom: 10px; }

.section-philosophie { max-width: 800px; margin: 0 auto 40px; text-align: center; font-size: 1.1rem; line-height: 1.8; color: #555; }

.separator-dots { text-align: center; color: #c5a47e; letter-spacing: 10px; margin-bottom: 60px; font-size: 20px; }

/* --- Piliers --- */
.piliers-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1100px; margin: 0 auto 100px; padding: 0 20px; }
.pilier-card { text-align: center; padding: 30px; background: #fff; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); border: 1px solid rgba(197, 164, 126, 0.1); }
.pilier-icon { color: #c5a47e; font-size: 24px; margin-bottom: 15px; }
.pilier-card h3 { font-family: 'Playfair Display', serif; color: #4a5a6a; font-size: 1.2rem; margin-bottom: 15px; }

/* --- Équipage --- */
.equipage-container { max-width: 1000px; margin: 100px auto; padding: 0 20px; }
.section-title { text-align: center; font-family: 'Playfair Display', serif; margin-bottom: 70px; color: #4a5a6a; font-size: 2rem; }

.member-row { display: flex; align-items: center; gap: 60px; margin-bottom: 120px; }
.member-row.reverse { flex-direction: row-reverse; }

.member-image { flex: 0.7; }
.member-image img { width: 100%; border-radius: 5px; box-shadow: 20px 20px 0px #c5a47e; object-fit: cover; }

.member-text { flex: 1.3; }
.member-text h2 { color: #4a5a6a; font-family: 'Playfair Display', serif; margin: 10px 0; font-size: 1.8rem; }
.role { color: #c5a47e; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; font-size: 0.8rem; }
.talent { margin-top: 15px; font-style: italic; color: var(--primary-blue); background: var(--accent-gold); padding: 10px 15px; border-radius: 4px; }

/* --- Section Engagements (Look Témoignage) --- */
.section-engagements { background: #fdfcfb; padding: 80px 20px; text-align: center; border-top: 1px solid #eee; margin-top: 50px; border-radius: 10px}
.testimonial-header i { color: #c5a47e; font-size: 40px; margin-bottom: 20px; opacity: 0.3; }
.testimonial-header h2 { font-family: 'Playfair Display', serif; color: #4a5a6a; margin-bottom: 50px; font-size: 2rem; }

.engagements-quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1100px; margin: 0 auto; }
.quote-item h3 { color: #c5a47e; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 15px; }
.quote-item p { font-style: italic; color: #666; font-size: 0.95rem; line-height: 1.7; position: relative; }

/* Mobile */
@media (max-width: 768px) {
    .piliers-container, .engagements-quote-grid { grid-template-columns: 1fr; }
    .member-row, .member-row.reverse { flex-direction: column; text-align: center; gap: 40px; }
    .member-image img { box-shadow: 10px 10px 0px #c5a47e; }
    .histoire-header h1 { font-size: 1.8rem; }
}