/* --- CHARTE UNIVO V3.5 (Version Finale Nettoyée) --- */
:root {
    --primary: #005F73;      /* Bleu Pétrole */
    --accent: #EE9B00;       /* Ocre Doré */
    --text: #2F3E46;         /* Gris Ardoise */
    --bg: #F7F7F5;           /* Blanc Cassé */
    --white: #FFFFFF;
    --shadow: 0 10px 30px rgba(0, 95, 115, 0.08);
    --radius: 16px;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1100px; margin: 0 auto; padding: 0 25px;
}


/* --- NAVBAR --- */
.navbar {
    background: var(--white);
    height: 80px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* LOGO */
.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
}

/* BOUTON BURGER (Caché sur PC) */
.hamburger {
    display: none;
    z-index: 2001; /* Toujours au dessus */
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}
.hamburger span {
    display: block; width: 25px; height: 3px; 
    background-color: var(--primary); border-radius: 3px;
    transition: 0.3s;
}

/* LIENS */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* Liens texte standard */
.nav-links a:not(.btn-nav) {
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-links a:not(.btn-nav):hover { color: var(--accent); }

/* Petit point Ocre au survol */
.nav-links a:not(.btn-nav)::after {
    content: ''; position: absolute; width: 6px; height: 6px;
    bottom: -10px; left: 50%; transform: translateX(-50%) scale(0);
    background: var(--accent); border-radius: 50%; transition: 0.3s;
}
.nav-links a:not(.btn-nav):hover::after {
    transform: translateX(-50%) scale(1);
}

/* Bouton Réserver */
.btn-nav {
    background: var(--accent); color: var(--white) !important;
    padding: 12px 25px !important; border-radius: 50px;
    font-weight: 700; font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(238, 155, 0, 0.3);
}
.btn-nav:hover {
    background: var(--primary); transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 95, 115, 0.2);
}


/* --- SECTIONS GÉNÉRALES --- */
.section-padding { padding: 80px 0; }
.bg-white { background: var(--white); }
.section-title { 
    text-align: center; margin-bottom: 50px; font-size: 2.2rem; 
    color: var(--primary); font-weight: 700;
}
.section-title::after {
    content: ""; display: block; width: 60px; height: 5px; background: var(--accent);
    margin: 15px auto 0; border-radius: 10px;
}


/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, var(--bg) 0%, #E8EBEB 100%);
    padding: 60px 0 100px 0; position: relative; overflow: hidden;
}
.hero-layout { 
    display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; 
}

.hero-tag {
    display: inline-block; background: #E0F2F1; color: var(--primary);
    padding: 8px 16px; border-radius: 8px; font-weight: 700; font-size: 0.85rem;
    margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.2rem; color: var(--primary); line-height: 1.1; margin-bottom: 25px; font-weight: 700;
}
.hero h1 span { 
    color: var(--accent); position: relative; white-space: nowrap; 
}
.hero h1 span::after {
    content: ""; position: absolute; bottom: 8px; left: 0; width: 100%; height: 10px;
    background: rgba(238, 155, 0, 0.2); z-index: -1; border-radius: 4px;
}

.hero p { 
    font-size: 1.1rem; margin-bottom: 35px; opacity: 0.9; max-width: 90%; 
}

.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-primary {
    background: var(--accent); color: var(--white); padding: 15px 30px;
    border-radius: 12px; font-weight: 700; font-size: 1rem; border: none; cursor: pointer;
    box-shadow: 0 4px 15px rgba(238, 155, 0, 0.3);
}
.btn-primary:hover { transform: translateY(-3px); background: #d68b00; }
.btn-outline {
    display: flex; align-items: center; gap: 10px; padding: 15px 25px;
    border: 2px solid var(--primary); border-radius: 12px; color: var(--primary); font-weight: 600;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

.hero-image-box img {
    border-radius: var(--radius); box-shadow: 20px 20px 0px var(--accent);
    transform: rotate(2deg); transition: 0.5s; width: 100%;
}
.hero-image-box:hover img { transform: rotate(0deg); }

.wave-bottom {
    position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0;
}
.wave-bottom svg { display: block; width: calc(157% + 1.3px); height: 80px; transform: rotateY(180deg); }
.wave-bottom .shape-fill { fill: var(--white); }


/* --- SERVICES --- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card {
    background: var(--white); padding: 30px; border-radius: var(--radius);
    transition: 0.3s; border: 1px solid rgba(0,0,0,0.03); position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-bottom: 5px solid var(--accent); }
.icon-box {
    width: 60px; height: 60px; background: #E0F2F1; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
    color: var(--primary); font-size: 1.5rem;
}
.card h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--primary); }


/* --- TARIFS --- */
.pricing-grid { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 40px; align-items: stretch; 
}

.price-card {
    background: var(--white); border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s;
    display: flex; flex-direction: column; border: 1px solid rgba(0,0,0,0.02); height: 100%;
}
.price-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0, 95, 115, 0.15); }

.card-header {
    background: var(--primary); padding: 30px; text-align: center; color: var(--white);
    min-height: 130px; display: flex; flex-direction: column; justify-content: center;
}
.card-header h3 { font-size: 1.3rem; margin-bottom: 5px; font-weight: 700; text-transform: uppercase; }
.price { font-size: 2.8rem; font-weight: 800; line-height: 1; }
.currency { font-size: 1.2rem; vertical-align: super; opacity: 0.8; }

.card-body {
    padding: 30px; display: flex; flex-direction: column; flex-grow: 1; 
}
.ideal-text {
    text-align: center; font-size: 0.9rem; color: #777; font-style: italic;
    margin-bottom: 20px; padding-bottom: 20px; border-bottom: 2px dashed #eee;
    min-height: 70px; display: flex; flex-direction: column; justify-content: center;
}
.ideal-text strong {
    color: var(--primary); font-style: normal; text-transform: uppercase; font-size: 0.75rem; display: block; margin-bottom: 5px;
}
.card-body ul { margin-bottom: 30px; flex-grow: 1; }
.card-body ul li {
    margin-bottom: 12px; display: flex; align-items: start; font-size: 0.95rem; color: var(--text);
}
.card-body ul li i { color: var(--accent); min-width: 25px; margin-top: 5px; }

.btn-card {
    display: block; width: 100%; padding: 15px; border-radius: 50px;
    text-align: center; font-weight: 700; transition: 0.3s;
    background: #f4f4f4; color: var(--text); margin-top: auto; 
}
.btn-card:hover { background: var(--primary); color: var(--white); }

/* Best Seller */
.price-card.featured {
    transform: scale(1.05); box-shadow: 0 20px 50px rgba(238, 155, 0, 0.2);
    z-index: 2; border: 2px solid var(--accent);
}
.price-card.featured .card-header { background: var(--accent); }
.featured .btn-card { background: var(--accent); color: var(--white); }
.featured .btn-card:hover { background: #d68b00; }
.ribbon {
    position: absolute; top: 20px; right: -35px; transform: rotate(45deg);
    background: #fff; color: var(--accent); padding: 5px 40px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


/* --- OPTIONS --- */
.options-container { margin-top: 70px; text-align: center; padding-top: 50px; border-top: 2px dashed #ddd; }
.options-title { font-size: 1.8rem; color: var(--primary); margin-bottom: 30px; }
.options-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.option-item {
    background: var(--white); padding: 20px; border-radius: 12px;
    display: flex; align-items: center; gap: 15px; text-align: left;
    border-left: 5px solid var(--accent); box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex: 1 1 300px; max-width: 350px;
}
.opt-icon { font-size: 1.8rem; }
.opt-content h4 { color: var(--primary); margin-bottom: 2px; }
.opt-price { font-weight: 700; color: var(--accent); }
.opt-content p { font-size: 0.85rem; color: #666; }


/* --- PARRAINAGE & À PROPOS --- */
.referral-banner {
    background: var(--primary); color: var(--white); text-align: center; padding: 60px 20px; margin-top: 60px;
}
.referral-banner h3 { margin-bottom: 10px; font-size: 1.8rem; color: var(--accent); }

.about-section { padding: 80px 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; align-items: center; }
.about-photo img {
    border-radius: 50%; width: 220px; height: 220px; object-fit: cover; margin: 0 auto;
    border: 5px solid var(--bg); box-shadow: var(--shadow);
}
.about-text h2 { font-size: 2rem; color: var(--primary); margin-bottom: 15px; }
.signature {
    font-family: 'Brush Script MT', cursive; font-size: 1.5rem; color: var(--accent); margin-top: 15px;
}


/* --- CONTACT --- */
.contact-section { padding: 80px 0; background: var(--bg); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card {
    background: var(--white); padding: 40px; border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.05);
}
.contact-card h3 { color: var(--primary); margin-bottom: 20px; font-size: 1.5rem; }

/* STYLE FORMULAIRE UNIVO */
.form-row { display: flex; gap: 15px; }
.form-row .form-group { flex: 1; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--primary); margin-bottom: 5px; margin-left: 5px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 15px; background: #FAFAFA; border: 1px solid #E0E0E0;
    border-radius: 10px; font-family: 'Montserrat', sans-serif; font-size: 0.95rem; color: var(--text); transition: 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--accent); background: var(--white);
    box-shadow: 0 4px 10px rgba(238, 155, 0, 0.1);
}
.btn-block { width: 100%; border: none; cursor: pointer; margin-top: 10px; padding: 15px; font-size: 1rem; }


/* --- FAQ --- */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: var(--bg); padding: 30px; border-radius: 12px; margin-bottom: 20px;
    border-left: 5px solid var(--accent);
}
.faq-item h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; }
.faq-item p { color: var(--text); font-size: 0.95rem; line-height: 1.6; }


/* --- FOOTER --- */
footer { background: var(--text); color: var(--white); padding: 50px 0; text-align: center; border-top: 5px solid var(--accent);}
.socials a { color: var(--white); font-size: 1.5rem; margin: 0 10px; transition: 0.3s; }
.socials a:hover { color: var(--accent); }


/* --- BOUTON FLOTTANT MOBILE --- */
.floating-btn {
    display: none; position: fixed; bottom: 20px; right: 20px;
    background: var(--accent); color: var(--white); padding: 15px 30px;
    border-radius: 50px; font-weight: 700; box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 9999; text-transform: uppercase; font-size: 0.9rem; animation: popIn 0.5s ease-out;
}
@keyframes popIn { from { transform: scale(0); } to { transform: scale(1); } }
@media (max-width: 768px) { .floating-btn { display: block; } }


/* ========================================= */
/* RESPONSIVE DESIGN (MOBILE) - CORRIGÉ      */
/* ========================================= */

@media (max-width: 768px) {
    
    /* 1. NAVBAR & MENU BURGER */
    .hamburger { display: flex; } /* On affiche le bouton */
    
    .nav-links {
        position: absolute;
        top: 80px; left: 0; width: 100%;
        background-color: #ffffff; /* Fond blanc opaque */
        border-bottom: 3px solid var(--accent);
        
        flex-direction: column; align-items: center; gap: 0;
        
        /* Caché par défaut */
        display: none; 
        z-index: 2000;
        box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    }

    .nav-links.active {
        display: flex; padding-bottom: 30px; animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-links li { width: 100%; text-align: center; border-bottom: 1px solid #f0f0f0; }
    .nav-links li a { display: block; padding: 15px 0; }
    
    /* On cache le petit point sur mobile */
    .nav-links a:not(.btn-nav)::after { display: none; }

    /* LE BOUTON RÉSERVER (Centré) */
    .btn-nav { 
        display: block;           /* Force le bloc */
        width: 80%;               /* Largeur */
        margin: 20px auto;        /* "auto" = centrage horizontal magique */
        text-align: center; 
    }


    /* 2. HERO (Accueil) ALIGNÉ & CENTRÉ */
    .hero-layout { 
        display: flex; flex-direction: column; text-align: center; 
    }
    
    .hero-text {
        width: 100%; margin: 0; padding: 0 15px; margin-bottom: 30px;
    }
    
    .hero h1 { font-size: 2rem; line-height: 1.2; }
    
    /* Boutons empilés et centrés */
    .hero-buttons {
        flex-direction: column; align-items: center; gap: 15px; width: 100%;
    }
    .hero-buttons .btn-primary, .hero-buttons .btn-outline {
        width: 100%; max-width: 300px; justify-content: center;
    }
    
    .hero-image-box { width: 100%; height: 250px; margin-top: 10px; }


    /* 3. RESTE DU SITE */
    .contact-layout, .about-grid { display: flex; flex-direction: column; gap: 40px; }
    .price-card.featured { transform: scale(1); border-width: 1px; } 
    .form-row { flex-direction: column; gap: 0; }
}