/* ================= VARIABLES & RESET ================= */
:root {
    --teal: #2A8BA8;        /* Bleu Canard */
    --teal-dark: #1d667d;
    --gold: #C6A87C;        /* Beige Doré */
    --gold-light: #e8dac3;
    --navy: #1a2b3c;        /* Footer */
    --grey: #f8fbfc;        /* Fond */
    --black: #1a1a1a;
    
    --font-head: 'Cinzel', serif; 
    --font-body: 'Manrope', sans-serif;

    --glass: rgba(255, 255, 255, 0.65);
    --glass-strong: rgba(255, 255, 255, 0.95); /* Opacité augmentée pour lisibilité */
    --shadow: 0 20px 40px -5px rgba(42, 139, 168, 0.15);
    --shadow-hover: 0 30px 60px -10px rgba(42, 139, 168, 0.25);
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--grey); color: var(--black); overflow-x: hidden; line-height: 1.6; }

/* ================= CURSEUR OPTIMISÉ (GPU) ================= */
.cursor { 
    width: 10px; 
    height: 10px; 
    background: var(--teal); 
    border-radius: 50%; 
    position: fixed; 
    top: 0; 
    left: 0; 
    pointer-events: none; 
    z-index: 9999; 
    will-change: transform; /* Optimisation performance */
    transform: translate(-50%, -50%); /* Centrage initial */
}

.cursor-follower { 
    width: 40px; 
    height: 40px; 
    border: 1px solid var(--teal); 
    border-radius: 50%; 
    position: fixed; 
    top: 0; 
    left: 0; 
    pointer-events: none; 
    z-index: 9998; 
    will-change: transform;
    transition: transform 0.1s ease-out, opacity 0.3s; /* On enlève left/top des transitions */
    opacity: 1;
}

.cursor-active { 
    transform: scale(1.8); 
    background: rgba(42, 139, 168, 0.1); 
    border-color: transparent; 
}

/* Cacher sur mobile et tablette tactile */
@media (max-width: 1024px) {
    .cursor, .cursor-follower { display: none !important; }
    * { cursor: auto !important; }
}
/* ================= BACKGROUND ================= */
.ambient-light { position: fixed; width: 100vw; height: 100vh; z-index: -1; top: 0; left: 0; overflow: hidden; pointer-events: none; }
.light-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; animation: moveBlob 20s infinite alternate; }
.blob-1 { width: 600px; height: 600px; background: #d0eef5; top: -10%; right: -10%; }
.blob-2 { width: 500px; height: 500px; background: #f7edd9; bottom: -10%; left: -10%; animation-delay: -5s; }
@keyframes moveBlob { from { transform: translate(0,0); } to { transform: translate(40px, 60px); } }

/* ================= NAVIGATION ================= */
.glass-nav { position: fixed; width: 100%; top: 0; padding: 15px 5%; display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.85); backdrop-filter: blur(15px); z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.5); }
.brand { font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; color: var(--teal); display: flex; align-items: center; gap: 12px; }
.nav-logo { height: 45px; width: auto; object-fit: contain; }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--black); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.nav-links a:hover { color: var(--teal); }
.btn-nav { padding: 8px 20px; border: 1px solid var(--teal); color: var(--teal) !important; border-radius: 50px; }
.btn-nav:hover { background: var(--teal); color: white !important; }

/* ================= HERO ================= */
header { min-height: 100vh; display: flex; align-items: center; padding: 100px 10% 0; justify-content: space-between; }
.hero-content { max-width: 600px; z-index: 2; }
.badge { display: inline-block; padding: 5px 15px; background: var(--gold-light); color: var(--black); font-size: 0.8rem; text-transform: uppercase; border-radius: 30px; margin-bottom: 20px; letter-spacing: 1px; font-weight: 600; }
h1 { font-family: var(--font-head); font-size: 3.8rem; line-height: 1.1; margin-bottom: 20px; color: var(--teal-dark); }
.gradient-text { background: linear-gradient(135deg, var(--teal), var(--gold)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 1.1rem; color: #555; margin-bottom: 40px; max-width: 500px; }
.hero-btns { display: flex; gap: 15px; }
.btn-primary { padding: 15px 35px; background: var(--teal); color: white; border-radius: 50px; text-decoration: none; font-weight: 600; transition: 0.3s; box-shadow: var(--shadow); border: none; cursor: pointer; display: inline-block; }
.btn-primary:hover { transform: translateY(-3px); background: var(--teal-dark); }
.btn-secondary { padding: 15px 35px; border: 1px solid var(--teal); color: var(--teal); border-radius: 50px; text-decoration: none; font-weight: 600; transition: 0.3s; display: inline-block; }
.btn-secondary:hover { background: var(--teal); color: white; }
.hero-img { position: relative; width: 450px; height: 550px; display: flex; justify-content: center; align-items: center; }
.blob-frame { width: 100%; height: 100%; border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; overflow: hidden; box-shadow: var(--shadow); border: 5px solid rgba(255,255,255,0.6); animation: morph 8s ease-in-out infinite; background: #fff; }
.hero-portrait { width: 100%; height: 100%; object-fit: cover; }
@keyframes morph { 0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; } 50% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; } }

/* ================= SECTION ================= */
.section { padding: 100px 10%; }
.text-center { text-align: center; margin-bottom: 50px; }
.split-v { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.line-accent { width: 80px; height: 3px; background: var(--gold); margin: 20px 0; }
.glass-img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }

/* ================= CARDS PRESTATIONS (CORRECTIF IMAGES) ================= */
.switch-container { display: inline-flex; background: #e0e9eb; padding: 5px; border-radius: 50px; margin-top: 20px; margin-bottom: 40px; }
.switch-btn { padding: 12px 30px; border: none; background: transparent; cursor: pointer; font-family: var(--font-body); font-weight: 600; color: #777; border-radius: 40px; transition: 0.3s; font-size: 1rem; }
.switch-btn.active { background: white; color: var(--teal); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }

.cards-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
}

.card { 
    background: var(--glass-strong); 
    border-radius: 20px; /* Bordure arrondie globale */
    border: 1px solid rgba(255,255,255,0.8); 
    overflow: hidden; /* COUPE tout ce qui dépasse (important pour l'image) */
    display: flex; 
    flex-direction: column; 
    transition: all 0.4s ease; 
    padding: 0; 
}
.card.hidden { display: none; }
.card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--gold); }

/* --- STYLE DE L'IMAGE --- */
.card-img-wrapper { 
    width: 100%; 
    height: 180px; /* HAUTEUR FIXE (Format Paysage Mini) */
    overflow: hidden; 
    position: relative; 
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.card-img-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* COUPE L'IMAGE POUR REMPLIR LE CADRE SANS DEFORMER */
    object-position: center; /* Centre l'image */
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}

.card:hover .card-img-wrapper img { transform: scale(1.1); } /* Zoom doux au survol */

/* Contenu */
.card-body { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.card h3 { font-family: var(--font-head); font-size: 1.4rem; color: var(--teal-dark); margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: #666; margin-bottom: 20px; flex-grow: 1; line-height: 1.6; }
.card-bottom { margin-top: auto; padding-top: 15px; border-top: 1px solid rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; }
.duration { font-size: 0.9rem; color: #888; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.duration::before { content: '⏱'; }
.price { font-size: 1.3rem; color: var(--gold); font-family: var(--font-head); font-weight: 700; }

/* ================= ENTREPRISE ================= */
.bg-white { background: rgba(255,255,255,0.5); backdrop-filter: blur(5px); }
.subtitle-ent { font-size: 1.2rem; color: var(--teal); font-weight: 600; margin-bottom: 20px; }
.benefits-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
.benefit-item { display: flex; gap: 15px; align-items: flex-start; }
.b-icon { font-size: 1.5rem; background: #eefbfb; width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; border-radius: 50%; color: var(--teal); flex-shrink: 0; }
.benefit-item h4 { font-family: var(--font-head); font-weight: 600; margin-bottom: 5px; }
.mt-btn { margin-top: 40px; }

/* ================= CONTACT ================= */
.dark-section { background: linear-gradient(to bottom, transparent, rgba(26, 43, 60, 0.05)); }
.glass-form { background: white; padding: 50px; border-radius: 25px; box-shadow: var(--shadow); max-width: 800px; margin: 0 auto; text-align: center; }
.input-group { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
input, select, textarea { width: 100%; padding: 15px; margin-bottom: 20px; border: 1px solid #eee; border-radius: 10px; background: #f9f9f9; outline: none; font-family: inherit; transition: 0.3s; }
input:focus, textarea:focus, select:focus { border-color: var(--teal); background: white; }
.btn-gold { width: 100%; padding: 15px; background: var(--gold); color: white; border: none; border-radius: 10px; font-weight: bold; cursor: pointer; transition: 0.3s; font-size: 1rem; }
.btn-gold:hover { background: #b09265; }

/* ================= FOOTER ================= */
.main-footer { background-color: var(--navy); color: #ecf0f1; padding-top: 80px; margin-top: 50px; border-top: 5px solid var(--gold); }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 5%; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; }
.footer-logo { font-family: var(--font-head); font-size: 1.8rem; color: white; margin-bottom: 20px; }
.footer-logo span { color: var(--teal); }
.footer-phone { color: white; font-weight: bold; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.footer-phone:hover { color: var(--gold); }
.location-item { display: flex; gap: 12px; margin-bottom: 15px; font-size: 0.95rem; color: #d0dbe5; line-height: 1.5; }
.social-links { display: flex; flex-direction: column; gap: 10px; }
.social-btn { color: white; text-decoration: none; padding: 8px 15px; background: rgba(255,255,255,0.1); border-radius: 5px; width: fit-content; transition: 0.3s; border-left: 3px solid transparent; }
.social-btn:hover { background: rgba(255,255,255,0.2); padding-left: 20px; }
.footer-bottom { text-align: center; padding: 25px; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 50px; font-size: 0.8rem; color: #8899a6; }

/* ================= BOUTON FLOTTANT ================= */
.floating-call { position: fixed; bottom: 30px; right: 30px; background: var(--gold); color: white; display: flex; align-items: center; gap: 10px; padding: 12px 25px 12px 15px; border-radius: 50px; text-decoration: none; box-shadow: 0 10px 25px rgba(198, 168, 124, 0.4); z-index: 9999; border: 2px solid white; transition: 0.3s; }
.floating-call:hover { transform: scale(1.05); background: #b09265; }
.call-icon svg { animation: ring 3s infinite; }
.call-text { font-weight: bold; font-family: var(--font-body); }
@keyframes ring { 0%, 20%, 100% { transform: rotate(0deg); } 5%, 15% { transform: rotate(15deg); } 10% { transform: rotate(-15deg); } }

/* ================= MOBILE & ANIMATIONS ================= */
.burger { display: none; }

@media (max-width: 768px) {
    .cursor, .cursor-follower { display: none; } 
    * { cursor: auto; }
    
    header { flex-direction: column-reverse; padding-top: 100px; text-align: center; height: auto; padding-bottom: 50px; }
    h1 { font-size: 2.5rem; }
    .hero-img { width: 100%; height: 350px; margin-bottom: 30px; }
    .split-v { grid-template-columns: 1fr; }
    .input-group { grid-template-columns: 1fr; }
    .floating-call { bottom: 20px; right: 20px; padding: 10px; } .call-text { display: none; }
    .footer-container { gap: 30px; text-align: center; } .location-item { justify-content: center; } .social-links { align-items: center; }

    /* MENU MOBILE */
    .nav-links {
        position: fixed; right: 0; top: 0; height: 100vh;
        background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        width: 100%; transform: translateX(100%); transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 90; gap: 40px;
    }
    .nav-active { transform: translateX(0%); }
    .nav-links li { opacity: 0; transform: translateX(50px); transition: 0.5s ease forwards; }
    .nav-links a { font-size: 1.5rem; color: var(--teal-dark); }

    /* BURGER ICON */
    .burger { display: block; cursor: pointer; z-index: 100; width: 30px; height: 25px; background: transparent; border: none; }
    .burger span { display: block; width: 100%; height: 3px; background-color: var(--teal); margin: 5px 0; transition: all 0.3s ease; border-radius: 2px; }

    /* CROIX ANIMATION */
    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); background-color: var(--gold); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); background-color: var(--gold); }
    
    @keyframes navLinkFade { from { opacity: 0; transform: translateX(50px); } to { opacity: 1; transform: translateX(0); } }
}

/* ANIMATIONS SCROLL */
.reveal, .reveal-up, .reveal-left { opacity: 0; transition: 1s ease-out; }
.reveal { transform: translateY(30px); } .reveal-up { transform: translateY(50px); } .reveal-left { transform: translateX(-50px); }
.is-visible { opacity: 1; transform: translate(0); }