/*
Theme Name: SOLÉA LUXURY MASTER (TERRACOTTA & COFFEE EDITION)
Author: Mickael Goldian
Version: 4.2 (EARTHY LUXE SUITE)
*/

/* =========================================
   1. VARIABLES & RESET (L'ADN DU SITE)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');

:root {
    /* Palette Couleurs Girly Chic & Organique */
    --terracotta: #C06E52;      /* Vrai Terracotta chaud / Terre cuite */
    --terracotta-dark: #9A533B; /* Terracotta profond (Hovers) */
    --sand-warm: #FAF7F2;       /* Blanc cassé / Lin (sans aucun sous-ton rose) */
    --sand-dark: #F0EBE1;       /* Beige sable naturel */
    --coffee-lux: #4A3B32;      /* Marron café / Expresso riche pour les textes */
         /* Or chaud / Laiton élégant */
    --white: #ffffff;
    
    /* Effets (Teintés Terracotta & Café) */
    --glass: rgba(255, 255, 255, 0.9);
    --shadow-card: 0 10px 30px rgba(74, 59, 50, 0.05); /* Ombre café très douce */
    --shadow-float: 0 20px 50px rgba(192, 110, 82, 0.15); /* Ombre terracotta subtile */
    --shadow-inner: inset 0 0 20px rgbƒa(74, 59, 50, 0.03);
    
    /* Animation */
    --ease-luxe: cubic-bezier(0.23, 1, 0.32, 1);
    --transition: all 0.4s var(--ease-luxe);
}

* { box-sizing: border-box; }

html { font-size: 16px; } /* On a supprimé le scroll-behavior: smooth global */

body {
    margin: 0; padding: 0;
    max-width: 100%;
    overflow-x: hidden; /* On l'applique uniquement au body, sans !important */
    font-family: var(--font-text) !important;
    background-color: var(--bg-light);
    color: var(--taupe-dark);
    line-height: 1.7;
}

/* Assure que les paddings ne s'ajoutent pas à la largeur (100% restera 100%) */
*, *::before, *::after {
    box-sizing: border-box;
}
body {
    margin: 0; padding: 0;
    font-family: 'Manrope', sans-serif;
    background-color: var(--sand-warm);
    color: var(--coffee-lux);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    color: var(--coffee-lux);
    margin-top: 0;
    line-height: 1.2;
}

/* Container Fluide mais borné */
.container {
    max-width: 1280px;
    margin: 0 auto !important;
    padding: 0 25px;
    width: 100%;
}

/* =========================================
   2. UI KIT (Boutons, Inputs, Anim)
   ========================================= */

/* Bouton Luxe Principal */
.btn-luxe {
    display: inline-block;
    background: var(--terracotta);
    color: var(--white) !important;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(192, 110, 82, 0.25);
}

.btn-luxe:hover {
    background: var(--coffee-lux);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(74, 59, 50, 0.15);
}

.btn-luxe.full-width { width: 100%; text-align: center; }

/* Champs de Formulaire (Global) */
input[type="text"], input[type="email"], textarea, select {
    width: 100%;
    padding: 18px 25px;
    border: 1px solid var(--sand-dark);
    background: var(--white);
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--coffee-lux);
    outline: none;
}

input:focus, textarea:focus {
    border-color: var(--terracotta);
    box-shadow: 0 0 0 4px rgba(192, 110, 82, 0.1);
}

/* Animation Reveal (Scroll) */
.reveal { opacity: 0; transform: translateY(40px); transition: 1s var(--ease-luxe); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* =========================================
   3. HEADER & NAV (Le "Carré" Chaleureux)
   ========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(250, 247, 242, 0.95); /* Teinte sable chaud très légèrement transparente */
    backdrop-filter: blur(12px); /* Effet verre dépoli doux */
    border-bottom: 1px solid rgba(192, 110, 82, 0.15); /* Ligne terracotta très fine */
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(74, 59, 50, 0.05); /* Ombre café délicate */
    transition: var(--transition);
}

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

/* Logo */
.site-logo img {
    max-height: 110px;
    width: auto;
    display: block;
    transition: 0.5s var(--ease-luxe);
}
.site-logo img:hover { transform: scale(1.03); }

/* Menu Desktop - Rendu plus chaleureux et organique */
.nav-links { display: flex; gap: 35px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links li { position: relative; }

.nav-links a {
    text-decoration: none; 
    color: var(--coffee-lux);
    font-weight: 600; 
    font-size: 0.85rem; 
    text-transform: uppercase;
    letter-spacing: 1.5px; 
    padding: 8px 15px;
    border-radius: 50px; /* Effet pilule très doux */
    transition: 0.4s ease;
    display: inline-block;
}

.nav-links a:hover { 
    color: var(--terracotta); 
    background: rgba(192, 110, 82, 0.08); /* Fond chaleureux au lieu d'une ligne dure */
}

/* Sous-Menu (Dropdown) adouci */
.nav-links .sub-menu {
    display: none; position: absolute; top: 120%; left: 0;
    background: var(--white); min-width: 240px;
    box-shadow: 0 15px 40px rgba(192, 110, 82, 0.1); /* Ombre chaude */
    padding: 15px 0; border-radius: 15px; flex-direction: column;
    z-index: 99; opacity: 0; transform: translateY(15px);
    transition: var(--transition);
    border: 1px solid var(--sand-dark);
}
.nav-links li:hover .sub-menu { display: flex; opacity: 1; transform: translateY(0); top: 100%; }

.nav-links .sub-menu a {
    padding: 12px 25px; 
    text-transform: none; 
    letter-spacing: 0.5px; 
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 0; /* On enlève la pilule pour le sous-menu */
    background: transparent;
}
.nav-links .sub-menu a:hover {
    background: var(--sand-warm);
    color: var(--terracotta);
    padding-left: 30px; /* Petit effet de glissement sympa */
}

/* =========================================
   BOUTON TÉLÉPHONE DYNAMIQUE & LUXE
   ========================================= */
.header-right { display: flex; align-items: center; gap: 20px; }

.phone-btn {
    background: linear-gradient(135deg, var(--terracotta), var(--gold)); /* Dégradé chaleureux */
    color: var(--white) !important;
    padding: 14px 30px; 
    border-radius: 50px; 
    font-weight: 700; 
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    gap: 12px;
    box-shadow: 0 8px 25px rgba(192, 110, 82, 0.35); /* Halo lumineux */
    transition: all 0.4s var(--ease-luxe);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Effet de brillance (Shine) qui traverse le bouton */
.phone-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    z-index: -1;
    transition: all 0.7s ease;
}

.phone-btn:hover { 
    transform: translateY(-3px) scale(1.02); 
    box-shadow: 0 15px 35px rgba(192, 110, 82, 0.45);
}

.phone-btn:hover::after {
    left: 150%; /* La brillance traverse au survol */
}

/* Animation douce de l'icône téléphone */
.phone-icon {
    display: inline-block;
    animation: ring-soft 3s infinite ease-in-out;
}

@keyframes ring-soft {
    0%, 100% { transform: rotate(0deg); }
    5%, 15% { transform: rotate(-10deg); }
    10%, 20% { transform: rotate(10deg); }
    25% { transform: rotate(0deg); }
}

/* Hamburger (Mobile) adouci */
.menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; padding: 10px; }
.menu-toggle .bar { width: 30px; height: 2px; background: var(--coffee-lux); transition: 0.3s; border-radius: 5px; }

/* Sous-Menu (Dropdown) */
.nav-links .sub-menu {
    display: none; position: absolute; top: 100%; left: -20px;
    background: var(--white); min-width: 220px;
    box-shadow: var(--shadow-card);
    padding: 15px 0; border-radius: 10px; flex-direction: column;
    z-index: 99; opacity: 0; transform: translateY(10px);
    transition: var(--transition);
}
.nav-links li:hover .sub-menu { display: flex; opacity: 1; transform: translateY(0); }
.nav-links .sub-menu a {
    padding: 10px 25px; text-transform: none; letter-spacing: 0.5px; display: block;
}

/* Bouton Tel Header */
.header-right { display: flex; align-items: center; gap: 20px; }
.phone-btn {
    background: var(--coffee-lux); color: white !important;
    padding: 12px 25px; border-radius: 50px; font-weight: 700; font-size: 0.85rem;
    text-decoration: none; display: flex; align-items: center; gap: 10px;
    transition: var(--transition);
}
.phone-btn:hover { background: var(--terracotta); transform: translateY(-2px); }

/* Hamburger (Mobile) */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle .bar { width: 28px; height: 2px; background: var(--coffee-lux); transition: 0.3s; }

/* =========================================
   4. INDEX (ACCUEIL)
   ========================================= */

/* Hero Index - Filtre adouci avec une touche de café */
.hero-section {
    position: relative; height: 90vh;
    background: linear-gradient(rgba(74, 59, 50, 0.3), rgba(74, 59, 50, 0.5)),
                url('https://images.pexels.com/photos/13115905/pexels-photo-13115905.jpeg') center/cover fixed;
    display: flex; align-items: center; justify-content: center; text-align: center; color: white;
}
.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem); margin-bottom: 20px;
    color: white; text-shadow: 0 10px 30px rgba(74, 59, 50, 0.4);
}

/* Services Grid */
.services-overview { padding: 100px 0; }
.service-card {
    background: var(--white); padding: 50px 30px; border-radius: 20px;
    text-align: center; border: 1px solid rgba(192, 110, 82, 0.05);
    box-shadow: var(--shadow-card); transition: var(--transition);
}
.service-card:hover { transform: translateY(-15px); border-color: var(--terracotta); }

/* Histoire & Blob */
.story-section { padding: 100px 0; background: var(--white); }
.story-container { display: flex; align-items: center; gap: 80px; }
.image-blob {
    width: 100%; max-width: 500px; aspect-ratio: 1/1.1;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    overflow: hidden; box-shadow: var(--shadow-float);
    animation: blobMorph 8s linear infinite alternate;
}
.image-blob img { width: 100%; height: 100%; object-fit: cover; }
@keyframes blobMorph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    100% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* =========================================
   9. STATS SECTION (Prestige & Animation)
   ========================================= */
.stats-section {
    background-color: var(--coffee-lux);
    padding: 100px 0;
    color: var(--sand-warm);
    position: relative;
    border-top: 1px solid rgba(192, 110, 82, 0.2); /* Liseré terracotta doux */
}

.stats-section .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    position: relative;
    padding: 20px 0;
}

.stat-item .number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 500;
    color: var(--terracotta);
    line-height: 1;
    margin-bottom: 10px;
    font-variant-numeric: tabular-nums;
}

.stat-item .symbol {
    font-size: 2.5rem;
    color: var(--gold);
    vertical-align: top;
    opacity: 0.9;
}

.stat-item .label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(192, 110, 82, 0.3), transparent);
}

@media (max-width: 768px) {
    .stats-section .container { flex-direction: column; gap: 50px; }
    .stat-item::after { display: none; }
    .stat-item .number { font-size: 4rem; }
}

/* Pépites (Cartes Index) */
.pepites-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.property-card {
    background: var(--white); border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow-card); transition: var(--transition);
}
.property-card:hover { transform: translateY(-15px); box-shadow: var(--shadow-float); }
.card-image { height: 300px; position: relative; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.property-card:hover .card-image img { transform: scale(1.1); }
.card-content { padding: 30px; }
.price { color: var(--terracotta); font-weight: 700; font-size: 1.25rem; }

/* FAQ & Partenaires */
details { margin-bottom: 20px; }
details summary {
    list-style: none; padding: 25px; background: var(--white); border-radius: 12px;
    font-weight: 600; cursor: pointer; display: flex; justify-content: space-between;
    box-shadow: var(--shadow-card);
}

/* =========================================
   5. PAGE LOCATION (SINGLE PROPERTY)
   ========================================= */
.location-page { margin-top: 60px; padding-bottom: 120px; }
.location-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; }

/* Galerie */
.location-gallery img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-card); margin-bottom: 20px; }
.gallery-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gallery-thumbs img { height: 150px; object-fit: cover; border-radius: 15px; }

/* Filtre Options */
.services-filter {
    background: var(--white); padding: 40px; border-radius: 25px;
    border: 1px solid var(--sand-dark); margin: 50px 0;
}
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 25px; }

.option-card {
    display: flex; gap: 15px; align-items: center;
    border: 2px solid var(--sand-dark); padding: 20px; border-radius: 15px;
    cursor: pointer; transition: 0.3s;
}
.option-card:hover, .option-card:has(input:checked) {
    border-color: var(--terracotta); background: rgba(192, 110, 82, 0.05);
}
.option-card input { transform: scale(1.4); accent-color: var(--terracotta); }

/* Sidebar Booking */
.location-sidebar { position: sticky; top: 130px; height: fit-content; }
.booking-widget {
    background: var(--white); padding: 40px; border-radius: 30px;
    box-shadow: var(--shadow-float); border: 1px solid var(--sand-dark);
}
.booking-widget .price-header { font-size: 2rem; color: var(--coffee-lux); font-family: 'Playfair Display'; margin-bottom: 20px; }

/* =========================================
   6. PAGE PROPRIÉTAIRE (OWNER)
   ========================================= */
.owner-hero {
    height: 60vh;
    background: linear-gradient(rgba(74, 59, 50, 0.6), rgba(74, 59, 50, 0.6)),
                url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?auto=format&fit=crop&w=1920') center/cover;
    display: flex; align-items: center; justify-content: center; text-align: center; color: white;
}

/* Timeline Processus */
.process-section { padding: 100px 0; background: var(--white); }
.process-steps { display: flex; gap: 30px; margin-top: 60px; }
.step-item {
    flex: 1; text-align: center; padding: 30px;
    background: var(--sand-warm); border-radius: 20px; transition: 0.3s;
}
.step-item:hover { transform: translateY(-10px); background: var(--white); box-shadow: var(--shadow-card); }
.step-number {
    width: 60px; height: 60px; background: var(--terracotta); color: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: bold; margin: 0 auto 20px;
}

/* Calculateur Revenus */
.revenue-simulator {
    background: var(--coffee-lux); color: white; padding: 80px 0; text-align: center;
}
.simulator-box {
    max-width: 600px; margin: 40px auto; background: white; padding: 40px;
    border-radius: 20px; color: var(--coffee-lux);
}

/* =========================================
   7. PAGE CONTACT


/* =========================================
   8. FOOTER
   ========================================= */
.site-footer {
    background-color: var(--coffee-lux); color: var(--sand-dark);
    padding: 100px 0 40px; font-size: 0.95rem; 
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 50px; }

.footer-col h3 { color: var(--white); margin-bottom: 30px; font-size: 1.2rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: var(--sand-dark); text-decoration: none; opacity: 0.7; transition: 0.3s; }
.footer-links a:hover { color: var(--terracotta); padding-left: 10px; opacity: 1; }

.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-icon {
    border: 1px solid rgba(255,255,255,0.2); padding: 10px 20px; border-radius: 50px;
    color: white; text-decoration: none; font-size: 0.8rem; text-transform: uppercase;
    transition: 0.4s;
}
.social-icon:hover { background: var(--terracotta); border-color: var(--terracotta);color:white!important; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); margin-top: 60px; padding-top: 30px;
    display: flex; justify-content: space-between; opacity: 0.5; font-size: 0.85rem;
}

/* =========================================
   9. RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .header-container { grid-template-columns: 1fr auto 1fr; }
    .site-logo { grid-column: 1; }
    .site-logo img { max-height: 60px; }
    
    .phone-btn { grid-column: 2; justify-self: center; font-size: 0.8rem; padding: 8px 15px; }
    .phone-text { display: none; }
    
    .menu-toggle { grid-column: 3; justify-self: end; display: flex; }

    .main-navigation {
        position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
        background: var(--white); transition: 0.4s; z-index: 999;
        display: flex; justify-content: center; padding-top: 50px;
        overflow-y: auto;
    }
    .main-navigation.is-open { left: 0; }
    .nav-links { flex-direction: column; align-items: center; gap: 30px; }

    .story-container, .location-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .process-steps { flex-direction: column; }
    .hero-content h1 { font-size: 2.8rem; }
    .contact-grid { margin-top: 20px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-info { text-align: center; }
    .detail-item { justify-content: center; }
    .footer-grid { text-align: center; }
    .social-links { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

/* =========================================
   10. NEWSLETTER LUXE
   ========================================= */
.newsletter-section {
    background-color: var(--coffee-lux);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(192, 110, 82, 0.1);
}

.newsletter-section h3 { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--sand-warm); margin-bottom: 15px; }
.newsletter-section p { color: rgba(255, 255, 255, 0.7); font-size: 1.1rem; max-width: 600px; margin: 0 auto 50px; line-height: 1.6; }

.newsletter-form { display: flex; justify-content: center; gap: 15px; max-width: 600px; margin: 0 auto; position: relative; z-index: 2; }

.newsletter-form input[type="email"] {
    padding: 20px 30px; border-radius: 50px; border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05); color: white;
    font-family: 'Manrope', sans-serif; font-size: 1rem; width: 100%; transition: 0.4s ease;
}
.newsletter-form input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.5); }
.newsletter-form input[type="email"]:focus {
    background: rgba(255, 255, 255, 0.1); border-color: var(--terracotta);
    outline: none; box-shadow: 0 0 20px rgba(192, 110, 82, 0.3);
}

.newsletter-form button {
    background: var(--terracotta); color: white; border: none; padding: 0 40px; border-radius: 50px;
    font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; cursor: pointer;
    transition: 0.4s ease; white-space: nowrap; box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.newsletter-form button:hover {
    background: white; color: var(--coffee-lux); transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .newsletter-form { flex-direction: column; padding: 0 20px; }
    .newsletter-form button { padding: 20px; width: 100%; }
    .newsletter-section h3 { font-size: 2.2rem; }
}

/* =========================================
   PAGE LOCATION LUXE (CSS ADDON)
   ========================================= */

/* 1. GALERIE MOSAÏQUE */
.gallery-mosaic { margin-top: 20px; margin-bottom: 50px; }
.mosaic-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px;
    gap: 10px; border-radius: 20px; overflow: hidden;
}
.mosaic-main { grid-column: 1 / 2; grid-row: 1 / 3; }
.mosaic-main img, .mosaic-sub img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; cursor: pointer; }
.mosaic-grid img:hover { filter: brightness(0.9); transform: scale(1.02); }

.view-all-photos {
    position: absolute; bottom: 20px; right: 20px;
    background: white; padding: 8px 15px; border-radius: 8px;
    text-decoration: none; color: black; font-weight: bold; font-size: 0.8rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.relative { position: relative; }

@media (max-width: 768px) {
    .mosaic-grid { display: flex; overflow-x: scroll; gap: 10px; height: 300px; scroll-snap-type: x mandatory; }
    .mosaic-main, .mosaic-sub { min-width: 90%; scroll-snap-align: center; border-radius: 10px; overflow: hidden; }
}

/* 2. CONTENU PRINCIPAL */
.location-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 60px; align-items: start; }
.property-header h1 { font-size: 2.2rem; margin: 10px 0; }
.location-meta { color: #666; font-size: 1.1rem; }
.badge-luxe { background: var(--terracotta); color: white; padding: 5px 10px; border-radius: 4px; font-size: 0.75rem; text-transform: uppercase; font-weight: bold; letter-spacing: 1px; }

.divider { border: 0; border-top: 1px solid var(--sand-dark); margin: 40px 0; }

.amenities-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px; }
.amenity { display: flex; align-items: center; gap: 10px; font-size: 1rem; color: #444; }
.amenity .icon { font-size: 1.2rem; color: var(--terracotta); }

/* 3. OPTIONS CONCIERGERIE */
.options-list { display: grid; gap: 15px; margin-top: 25px; }
.option-card {
    display: block; cursor: pointer;
    border: 1px solid var(--sand-dark); border-radius: 15px; padding: 20px;
    transition: 0.3s; position: relative; overflow: hidden;
}
.option-card:hover { border-color: var(--terracotta); background: var(--sand-warm); }
.option-card input { position: absolute; opacity: 0; }
.option-card:has(input:checked) {
    border-color: var(--terracotta);
    background: rgba(192, 110, 82, 0.05);
    box-shadow: 0 0 0 2px var(--terracotta) inset;
}
.opt-content { display: flex; align-items: center; gap: 20px; }
.opt-icon { font-size: 2rem; background: white; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 50%; box-shadow: 0 5px 15px rgba(192, 110, 82, 0.1); color: var(--terracotta); }
.opt-text { flex: 1; }
.opt-text strong { display: block; color: var(--coffee-lux); }
.opt-text span { font-size: 0.85rem; color: #888; }
.opt-price { font-weight: bold; color: var(--terracotta); text-align: right; }

/* 4. SIDEBAR BOOKING */
.sticky-widget {
    position: sticky; top: 120px;
    background: white; padding: 25px; border-radius: 20px;
    box-shadow: 0 20px 50px rgba(74, 59, 50, 0.08); border: 1px solid var(--sand-dark);
}
.booking-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; }
.current-price { font-size: 1.8rem; font-weight: bold; color: var(--coffee-lux); }
.booking-inputs { border: 1px solid var(--sand-dark); border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.date-row { display: flex; border-bottom: 1px solid var(--sand-dark); }
.date-input { flex: 1; padding: 10px; border-right: 1px solid var(--sand-dark); }
.date-input:last-child { border-right: none; }
.date-input label, .guest-input label { font-size: 0.6rem; font-weight: bold; display: block; margin-bottom: 3px; color: var(--coffee-lux); }
.date-input input { border: none; font-family: inherit; width: 100%; outline: none; font-size: 0.9rem; padding: 0; }
.guest-input { padding: 10px; }
.guest-input select { border: none; width: 100%; outline: none; font-size: 0.9rem; padding: 0; background: transparent; }

/* Bouton réservation avec dégradé organique */
.pulse-btn {
    background: linear-gradient(45deg, var(--terracotta), var(--gold));
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(192, 110, 82, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(192, 110, 82, 0); }
    100% { box-shadow: 0 0 0 0 rgba(192, 110, 82, 0); }
}

.no-charge { text-align: center; font-size: 0.8rem; color: #888; margin-top: 10px; }
.price-breakdown { margin-top: 20px; background: var(--sand-warm); padding: 15px; border-radius: 10px; }
.price-breakdown .row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.9rem; color: #555; }
.price-breakdown .total { font-weight: bold; font-size: 1.1rem; color: var(--coffee-lux); margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--sand-dark); }

@media (max-width: 992px) {
    .location-grid { grid-template-columns: 1fr; }
    .sticky-widget { position: static; margin-top: 40px; }
}
/* =========================================
   CORRECTION : SOUS-MENUS CHICS (Visibles direct)
   ========================================= */

.nav-links .sub-menu, 
.nav-links .sub-menu li {
    list-style: none !important; 
    padding: 0;
    margin: 0;
}

.nav-links .sub-menu a {
    position: relative;
    padding: 12px 25px 12px 30px; /* Plus d'espace à gauche pour la puce chic */
    text-transform: none; 
    letter-spacing: 0.5px; 
    font-size: 0.95rem;
    font-weight: 500;
    display: block;
    color: var(--coffee-lux);
    transition: all 0.3s var(--ease-luxe);
}

/* L'effet "chic" : visible directement comme un petit tiret délicat */
.nav-links .sub-menu a::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px; /* Visible tout de suite ! */
    height: 2px;
    background-color: var(--terracotta);
    opacity: 0.5; /* Légèrement doux au repos */
    transition: all 0.3s var(--ease-luxe);
}

/* Au survol : le tiret s'allonge et s'illumine */
.nav-links .sub-menu a:hover {
    padding-left: 35px;
    color: var(--terracotta);
    background: transparent;
}

.nav-links .sub-menu a:hover::before {
    width: 15px; /* S'allonge au survol */
    opacity: 1; /* Devient bien intense */
}


/* =========================================
   BOUTON TÉLÉPHONE : RE-DESIGN CHIC & ÉPURÉ
   ========================================= */
.header-right { display: flex; align-items: center; gap: 20px; }

.phone-btn {
    background-color: var(--coffee-lux); /* Fond café profond, très chic */
    color: var(--white) !important;
    padding: 12px 28px; 
    border-radius: 50px; 
    font-weight: 600; 
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-decoration: none; 
    display: inline-flex; 
    align-items: center; 
    gap: 10px;
    box-shadow: 0 8px 20px rgba(74, 59, 50, 0.15); /* Ombre douce */
    transition: all 0.4s var(--ease-luxe);
}

/* L'icône téléphone : pure, sans pastille, couleur terracotta */
.phone-icon {
    color: var(--terracotta); /* Superbe contraste sur le fond café */
    font-size: 1.5rem;
    transition: all 0.4s ease;
    /* Animation espacée : sonne discrètement toutes les 4 secondes */
    animation: elegant-ring 4s infinite ease-in-out; 
}

/* L'effet au survol du bouton */
.phone-btn:hover {
    background-color: var(--terracotta); /* Le bouton passe en terracotta */
    box-shadow: 0 10px 25px rgba(192, 110, 82, 0.3); /* L'ombre devient chaude */
    transform: translateY(-3px); /* Effet de lévitation */
}

/* Le changement de couleur de l'icône au survol */
.phone-btn:hover .phone-icon {
    color: var(--white); /* L'icône passe en blanc pour ressortir sur le terracotta */
    animation: none; /* On stoppe la vibration pour faire sérieux quand on clique */
    transform: scale(1.1) rotate(10deg); /* Petit dynamisme au passage de la souris */
}

/* Animation de sonnerie très douce et espacée */
@keyframes elegant-ring {
    0%, 80%, 100% { transform: rotate(0deg); }
    85% { transform: rotate(-12deg); }
    90% { transform: rotate(12deg); }
    95% { transform: rotate(-12deg); }
}
/* =========================================
   CALENDRIER : RE-DESIGN COMPLET (Vert/Rouge UX)
   ========================================= */

/* Structure de base du calendrier */
.ics-calendar table {
    font-family: 'Manrope', sans-serif !important;
    border-collapse: separate !important;
    border-spacing: 6px !important; /* Jolis espaces entre les cases */
    background: transparent !important;
    border: none !important;
    width: 100% !important;
}

/* Le titre du mois */
.ics-calendar-month-name,
.ics-calendar h3 {
    color: var(--coffee-lux) !important;
    font-family: 'Playfair Display', serif !important;
    font-size: 1.5rem !important;
    text-align: center !important;
    text-transform: capitalize !important;
    margin-bottom: 15px !important;
}

/* En-têtes des jours (Lun, Mar...) */
.ics-calendar th {
    color: var(--coffee-lux) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    border: none !important;
    padding-bottom: 10px !important;
    text-align: center !important;
}

/* =========================================
   JOURS DISPONIBLES (VERT SAUGE)
   ========================================= */
.ics-calendar td {
    position: relative;
    background: #EAF2EC !important; /* Vert sauge très clair et chic */
    color: var(--coffee-lux) !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    text-align: center !important;
    height: 45px !important;
    width: 45px !important;
    cursor: pointer !important;
    transition: all 0.3s var(--ease-luxe) !important;
    border: 1px solid #D5E5D9 !important; /* Liseré vert doux */
}

/* HOVER : JOUR DISPONIBLE (Affichage du ✓) */
.ics-calendar td:hover {
    background: #D5E5D9 !important; /* Le vert s'intensifie légèrement */
    color: transparent !important; /* Magie : on cache le numéro du jour */
    transform: scale(1.05) !important; /* Petit zoom engageant */
}
.ics-calendar td:hover::after {
    content: '✓'; /* La validation apparaît */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #2E7D32 !important; /* Vert foncé franc */
    font-size: 1.5rem !important;
    font-weight: bold !important;
}

/* =========================================
   JOURS OCCUPÉS (ROUGE POUDRÉ)
   ========================================= */
.ics-calendar td.has-events, 
.ics-calendar td.busy,
.ics-calendar .event {
    background: #FAEDED !important; /* Rouge/Rose très clair */
    color: #D68D8D !important; /* Numéro grisé dans les tons rouges */
    border: 1px solid #F5D6D6 !important;
    text-decoration: none !important; /* On ne barre plus, la couleur suffit */

    pointer-events: auto !important; /* Nécessaire pour activer le hover ci-dessous */
}

/* HOVER : JOUR OCCUPÉ (Affichage de la ✕) */
.ics-calendar td.has-events:hover, 
.ics-calendar td.busy:hover,
.ics-calendar .event:hover {
    background: #F5D6D6 !important; /* Le rouge s'intensifie au survol */
    color: transparent !important; /* On cache le numéro */
    transform: scale(1) !important; /* Pas de zoom pour ne pas inciter au clic */
}


/* =========================================
   JOURS PASSÉS OU VIDES (Désactivés)
   ========================================= */
.ics-calendar td.past, 
.ics-calendar td:empty {
    background: transparent !important;
    border-color: transparent !important;
    color: #ccc !important;
    pointer-events: none !important; /* Totalement inactifs */
}
/* =========================================
   AJUSTEMENT POUR LA COLONNE LATÉRALE (Sidebar)
   ========================================= */
.sticky-vip-widget .ics-calendar table {
    table-layout: fixed !important; /* Force le calendrier à rester dans la boîte */
    width: 100% !important;
}

.sticky-vip-widget .ics-calendar td {
    /* On réduit légèrement la taille des bulles pour que les 7 jours rentrent parfaitement */
    height: 35px !important; 
    width: 35px !important;
    font-size: 0.85rem !important;
}

.sticky-vip-widget .ics-calendar td:hover::after {
    font-size: 1.2rem !important; /* On réduit un peu la taille du ✓ et de la ✕ */
}
/* ============================================================================
   1. IMPORT DES NOUVELLES TYPOGRAPHIES (CHALEUR & LUXE)
   ============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
    /* Si tu as utilisé mes variables précédentes, on les met à jour ici */
    --font-title: 'Cormorant Garamond', serif;
    --font-text: 'Jost', sans-serif;
}

body, p, span, li, input, textarea, button {
    font-family: var(--font-text) !important;
}

h1, h2, h3, h4, h5, h6, blockquote, .titre-luxe, .hero-title, .promise-title, .manifesto-title {
    font-family: var(--font-title) !important;
}

/* ============================================================================
   2. CORRECTION DES LIENS BLEUS (ANTI-DEFAULT BROWSER)
   ============================================================================ */
/* Réinitialise tous les liens du site */
a, 
a:link, 
a:visited {
    color: inherit; /* Force le lien à prendre la couleur de la div où il se trouve (blanc, café, etc.) */
    text-decoration: none; /* Enlève le soulignement affreux */
    transition: color 0.3s ease, opacity 0.3s ease;
}

/* * CORRECTION VITALE POUR LES SMARTPHONES (Surtout iPhone)
 * iOS détecte les numéros de téléphone et les dates et les force en bleu !
 * Le !important est ici obligatoire pour écraser le système Apple.
 */
a[href^="tel:"],
a[href^="mailto:"],
a[x-apple-data-detectors] {
   
    text-decoration: none !important;
}

/* ============================================================================
   3. ANIMATION SUBTILE AU SURVOL (POUR L'UX)
   ============================================================================ */
/* On ajoute un petit effet "Terracotta" quand on passe la souris sur un lien du footer ou du menu */
footer a:hover,
.menu a:hover {
    color: #C06E52 !important; /* Ta couleur Terracotta */
}
/* ============================================================================
   🛠️ CORRECTION DU HEADER (NAV DESKTOP & HEADER MOBILE)
   ============================================================================ */

/* 1. RÉPARATION DE LA NAV SUR PC (Les balises <p> au lieu de <a>) */
header nav p, 
.nav-menu p, 
.main-navigation p {
    display: inline-block !important; /* Force les <p> à se mettre côte à côte */
    margin: 0 15px !important; /* Espace entre les boutons du menu */
    cursor: pointer !important; /* Remet la petite "main" pour faire comprendre que c'est cliquable */
    font-family: var(--font-text) !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}

header nav p:hover, 
.nav-menu p:hover, 
.main-navigation p:hover {
    color: var(--terracotta) !important; /* Effet de survol */
}

/* ============================================================================
   📱 RE-DESIGN DU HEADER MOBILE (Version Débuggée & Cliquable)
   ============================================================================ */
@media (max-width: 992px) {
    
    header, .site-header {
        position: fixed !important;
        display: block !important; 
        min-height: 80px !important; 
        width: 100% !important;
        padding: 0 !important;
        /* OVERFLOW: HIDDEN SUPPRIMÉ ICI POUR LAISSER LE MENU S'OUVRIR */
        z-index: 9999 !important; /* Le header passe par-dessus la vidéo de l'accueil */
    }

    /* 1. MILIEU : LE LOGO */
    header .custom-logo-link, 
    header .site-logo, 
    header img.logo {
        position: absolute !important;
        left: 50% !important;
        top: 40px !important; /* Moitié de la hauteur (80px) */
        transform: translate(-50%, -50%) !important; 
        max-width: 110px !important;
        z-index: 50 !important; /* Z-index moyen pour ne pas bloquer les boutons */
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 2. GAUCHE : LE TÉLÉPHONE (Cloué à gauche, icône pure) */
    header a[href^="tel:"],
    header .btn-telephone {
        position: absolute !important;
        left: 20px !important; 
        top: 40px !important;
        transform: translateY(-50%) !important; 
        z-index: 100 !important; /* Z-index fort pour être cliquable */
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 0 !important;
        color: transparent !important;
    }

    header a[href^="tel:"]::before,
    header .btn-telephone::before {
        content: "📞" !important; 
        font-size: 1.6rem !important;
        color: var(--coffee) !important;
        display: block !important;
        line-height: 30px !important;
        text-align: center !important;
    }

    header a[href^="tel:"] span,
    header .btn-telephone span {
        display: none !important;
    }

    /* 3. DROITE : LE MENU HAMBURGER */
    .menu-toggle, 
    .burger-icon, 
    .mobile-menu-btn, 
    .nav-toggle,
    .ast-mobile-menu-buttons {
        position: absolute !important;
        right: 20px !important; 
        top: 40px !important;
        transform: translateY(-50%) !important; 
        z-index: 99999 !important; /* Z-index MAXIMUM pour ne jamais être bloqué */
        margin: 0 !important;
        padding: 0 !important;
        cursor: pointer !important;
    }
    
}


/* ============================================================================
   🛠️ PATCH : FIX DU LOGO QUI SORT DE SON LOGEMENT
   ============================================================================ */

/* 1. SÉCURITÉ SUR ORDINATEUR (Garde le logo bien dans le flux) */
.site-header .site-logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important; 
}

.site-header .site-logo img {
    max-height: 80px !important; /* On le limite un poil pour qu'il respire dans le header */
    width: auto !important;
    object-fit: contain !important; /* Force l'image à rester dans sa boîte sans se déformer */
}

/* ============================================================================
   🛠️ CORRECTION DÉFINITIVE : LOGO MOBILE (Évite la disparition)
   ============================================================================ */
@media (max-width: 992px) {
    /* 1. Le conteneur reste bien au centre absolu */
    .site-header .site-logo {
        position: absolute !important;
        left: 50% !important;
        top: 40px !important; /* Centré dans ton header de 80px */
        transform: translate(-50%, -50%) !important;
        display: block !important; 
        z-index: 50 !important;
    }

    /* 2. La balise lien (<a>) prend la forme de son contenu */
    .site-header .site-logo a,
    .site-header .custom-logo-link {
        display: inline-block !important;
    }

    /* 3. L'image a une taille FIXE pour ne jamais s'écraser à 0px */
    .site-header .site-logo img,
    .site-header .custom-logo {
        display: block !important;
        height: 55px !important; /* On force une hauteur stricte (plus de pourcentage) */
        width: auto !important;
        max-width: 140px !important; /* Empêche de mordre sur les boutons à côté */
        object-fit: contain !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}
