@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;800&display=swap');

:root {
    --text-main: #0f172a; 
    --text-muted: #475569;
    --border: #e2e8f0;
    --wa-color: #25D366;
}

body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    background-color: #ffffff;
    background-image: 
        radial-gradient(circle at 85% 10%, rgba(224, 242, 254, 0.8) 0%, transparent 40%), 
        radial-gradient(circle at 10% 90%, rgba(252, 231, 243, 0.7) 0%, transparent 40%);
    background-attachment: fixed;
}

h1, h2, h3 { line-height: 1.2; margin-top: 0; }
a { text-decoration: none; }

/* ANIMATION DÉGRADÉ NACRÉ */
@keyframes gradientFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.bg-nacre {
    background: linear-gradient(270deg, #7dd3fc, #fbcfe8, #38bdf8, #f472b6);
    background-size: 300% 300%; animation: gradientFlow 6s ease infinite; color: white; border: none;
}

/* NAVBAR */
nav { display: flex; justify-content: space-between; align-items: center; padding: 20px 5%; max-width: 1200px; margin: 0 auto; }
.logo { font-size: 1.5rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.logo-icon { padding: 5px 10px; border-radius: 8px; font-size: 1.2rem; }

/* BOUTONS */
.btn { padding: 15px 30px; border-radius: 12px; font-weight: 600; cursor: pointer; transition: 0.3s; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 1rem; }
.btn-dark { box-shadow: 0 10px 25px rgba(56, 189, 248, 0.3); }
.btn-dark:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 35px rgba(244, 114, 182, 0.4); }
.btn-wa { background: white; color: var(--wa-color); border: 2px solid var(--wa-color); }
.btn-wa:hover { background: var(--wa-color); color: white; transform: translateY(-3px); box-shadow: 0 15px 35px rgba(37, 211, 102, 0.2); }

/* STRUCTURE & CHEVAUCHEMENTS */
.container { max-width: 1200px; margin: 0 auto; padding: 20px 5%; }

.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 60px 0 120px 0; align-items: center; }
.hero-surtitle { font-size: 0.9rem; font-weight: 800; color: #38bdf8; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; display: block; }
.hero h1 { font-size: 4rem; font-weight: 800; letter-spacing: -2px; margin-bottom: 20px; }
.hero p.subtitle { font-size: 1.25rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 40px; }

/* Le bloc qui chevauche le header */
.overlap-section { margin-top: -100px; position: relative; z-index: 10; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: start; }

.content-card {
    background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 24px;
    padding: 40px; box-shadow: 0 20px 50px rgba(0,0,0,0.05); margin-bottom: 30px;
}
.content-card h2 { font-size: 2rem; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.content-card p { font-size: 1.15rem; color: var(--text-muted); line-height: 1.8; margin: 0; }

/* IMAGES & GRILLES ASYMÉTRIQUES */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.profile-pic { width: 350px; height: 350px; object-fit: cover; border-radius: 30px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); z-index: 2; position: relative; border: 8px solid white; }

.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.photo-grid img { width: 100%; height: 250px; object-fit: cover; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); transition: 0.3s; }
.photo-grid img:hover { transform: scale(1.05) rotate(-2deg); }

/* BADGES DYNAMIQUES */
.badge-float {
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
    padding: 15px 25px; font-weight: 600; color: var(--text-main);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08); border: 1px solid rgba(255,255,255,0.5);
    position: absolute; display: flex; align-items: center; gap: 10px; z-index: 3;
}
.badge-1 { top: 20px; right: -20px; }
.badge-2 { bottom: 40px; left: -40px; }

/* Formes des Badges */
.shape-pill { border-radius: 50px; }
.shape-square { border-radius: 12px; }
.shape-circle { border-radius: 50%; padding: 25px; text-align: center; aspect-ratio: 1/1; justify-content: center;}

/* Animations des Badges */
@keyframes floatAnim { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
@keyframes pulseAnim { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes swingAnim { 0% { transform: rotate(0deg); } 25% { transform: rotate(5deg); } 75% { transform: rotate(-5deg); } 100% { transform: rotate(0deg); } }

.anim-float { animation: floatAnim 6s ease-in-out infinite; }
.anim-pulse { animation: pulseAnim 3s ease-in-out infinite; }
.anim-swing { animation: swingAnim 4s ease-in-out infinite; }

/* FORMULAIRES */
input, textarea, select {
    width: 100%; padding: 15px; background: #f8fafc; border: 1px solid var(--border);
    border-radius: 12px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem;
    margin-bottom: 15px; box-sizing: border-box; transition: 0.3s;
}
input:focus, textarea:focus { outline: none; border-color: #38bdf8; box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.1); background: white; }

.top-bar { text-align: center; padding: 12px; font-weight: 600; font-size: 0.95rem; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding-bottom: 60px; }
    .hero h1 { font-size: 3rem; }
    .overlap-section { margin-top: 0; grid-template-columns: 1fr; }
    .badge-float { display: none; }
}
