/* --- Liquid Glass Theme Setup --- */
:root {
    --primary-dark: #2F3E3B;
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    --text-main: #2C3E50;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: #Fdfbf9;
    overflow-x: hidden;
    position: relative;
}

/* --- BACKGROUND LIQUID ANIMATION --- */
/* Création de formes floues en arrière-plan */
.ambient-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    animation: float 20s infinite alternate;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: #d4e0dd; /* Vert sauge très clair */
}

.shape-2 {
    bottom: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: #eaddcf; /* Sable chaud */
    animation-delay: -5s;
}

.shape-3 {
    top: 40%;
    left: 40%;
    width: 300px;
    height: 300px;
    background: #e8f0ee; /* Bleu/Vert très pâle */
    animation-duration: 30s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(20deg); }
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
}

h1 { letter-spacing: -1px; }

/* --- NAVIGATION FLOTTANTE (PILL) --- */
.navbar {
    padding: 20px 0;
    transition: all 0.4s ease;
    background: transparent !important; /* On retire le fond par défaut */
    box-shadow: none !important;
    border: none !important;
}

/* Le conteneur interne devient la "pilule" en verre */
.navbar .container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    padding: 10px 30px;
    border-radius: 50px; /* Forme pilule */
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark) !important;
    letter-spacing: -0.5px;
}

/* Nouveau style pour le logo image dans la nav */
.nav-logo-img {
    height: 40px; /* Taille maîtrisée */
    width: auto;
    /* Force le logo en NOIR pur pour le contraste sur fond clair */
    filter: brightness(0); 
    opacity: 0.8; /* Légèrement adouci */
}

.nav-link {
    font-weight: 500;
    color: var(--text-main) !important;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
}

.btn-nav-glass {
    background: var(--primary-dark);
    color: white !important;
    border-radius: 30px;
    padding: 8px 25px;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.btn-nav-glass:hover {
    transform: scale(1.05);
}

/* --- HERO SECTION --- */
.hero-glass {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px; /* Espace pour la nav */
}

/* Image avec forme organique */
.hero-img-blob {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; /* Forme organique */
    box-shadow: var(--glass-shadow);
    transition: border-radius 10s ease-in-out infinite;
}

/* --- GLASS CARDS (Standard) --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    background: rgba(255, 255, 255, 0.45); /* Plus clair au survol */
}

.icon-glass {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #C18C7E; /* Accent terre cuite */
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* --- METHODE (Minimalist List) --- */
.step-glass {
    display: flex;
    align-items: center;
    padding: 25px;
    margin-bottom: 15px;
    background: rgba(255,255,255,0.4);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.3);
}

.step-number-glass {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-dark);
    opacity: 0.2;
    margin-right: 20px;
    font-weight: bold;
}

/* --- TARIFS (Clean Lines) --- */
.pricing-row {
    background: white;
    border-radius: 100px; /* Pill shape row */
    padding: 20px 40px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.3s;
    border: 1px solid rgba(0,0,0,0.02);
}

.pricing-row:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.price-pill {
    background: #f0f4f3;
    color: var(--primary-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
}

/* --- SCROLLING TESTIMONIALS --- */
.testimonial-scroller {
    display: flex;
    overflow-x: auto;
    padding: 20px 50px 50px 50px; /* Espace pour ombre et scroll */
    gap: 30px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
}

.testimonial-scroller::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.testimonial-card {
    min-width: 300px;
    max-width: 350px;
    background: rgba(255,255,255,0.6); /* Plus opaque que glass-card */
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    scroll-snap-align: center;
    flex-shrink: 0;
    transition: transform 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

/* --- FAQ ACCORDION GLASS --- */
.glass-accordion-item {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: background 0.3s;
}

.glass-accordion-item:hover {
    background: rgba(255, 255, 255, 0.7);
}

.glass-accordion-btn {
    background: transparent !important;
    color: var(--primary-dark) !important;
    box-shadow: none !important;
    padding: 20px 25px;
}

.accordion-body {
    padding: 0 25px 25px 25px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Custom Chevron */
.glass-accordion-btn::after {
    filter: grayscale(100%); /* Simplifie le chevron */
    opacity: 0.5;
}

/* --- FOOTER GLASS --- */
.footer-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    margin-top: 100px;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-links a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #C18C7E; /* Accent color */
    padding-left: 5px; /* Petit effet de glissement */
}

.social-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.3s;
    background: white;
}

.social-btn:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
}

.text-primary-dark {
    color: var(--primary-dark);
}

section { padding: 100px 0; }

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 991px) {
    /* Ajustement Nav Mobile */
    .navbar .container {
        padding: 10px 20px;
        border-radius: 20px; /* Moins rond sur mobile pour gagner place */
    }
    
    .navbar-collapse {
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(10px);
        margin-top: 15px;
        padding: 20px;
        border-radius: 20px;
        border: 1px solid rgba(0,0,0,0.05);
    }
    
    .nav-link {
        margin: 10px 0;
        text-align: center;
    }
    
    .btn-nav-glass {
        width: 100%;
        margin-top: 10px;
    }

    /* Ajustement Hero */
    .hero-glass {
        padding-top: 120px;
        text-align: center;
        display: block; /* Stack content */
    }
    
    .hero-glass .d-flex {
        justify-content: center; /* Centre les boutons */
    }
    
    .display-3 {
        font-size: 2.5rem; /* Réduire taille titre */
    }
    
    .hero-img-blob {
        height: 350px; /* Image moins haute */
        margin-top: 40px;
    }

    /* Sections Padding */
    section {
        padding: 60px 0;
    }

    /* Cartes */
    .glass-card {
        padding: 30px;
    }
    
    /* Prix Stacked */
    .pricing-row {
        flex-direction: column;
        text-align: center;
        border-radius: 20px;
        padding: 25px;
    }
    
    .pricing-row > div {
        margin-bottom: 15px;
    }
    
    /* Scroller Mobile Padding */
    .testimonial-scroller {
        padding: 20px; /* Moins de marge sur mobile */
        gap: 15px;
    }
    
    .testimonial-card {
        min-width: 280px; /* Un peu plus étroit */
    }
    
    /* Formes Arrière plan (Moins visibles pour perf mobile) */
    .ambient-shape {
        opacity: 0.3;
    }
}
