/* ============================================
   BABY AND ME - Design Coloré & Dynamique
   Charte: Bleu #75bbd0 + Rose #ff98cc
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bleu: #75bbd0;
    --rose: #ff98cc;
    --bleu-fonce: #4a9bb0;
    --rose-fonce: #ff7ab8;
    --blanc: #ffffff;
    --noir: #1a1a1a;
    --gris: #6c757d;
    --gris-clair: #f8f9fa;
    --bg-gradient: linear-gradient(135deg, #e8f4f8 0%, #fce8f3 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--noir);
    background: white;
    line-height: 1.6;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 28px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--noir);
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bleu), var(--rose));
    transition: 0.3s;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--bleu);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 26px;
    height: 3px;
    background: var(--noir);
    border-radius: 3px;
    transition: 0.3s;
}

/* HERO */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10rem 2rem 4rem 2rem;
    background: white url('../images/pattern-baby.png');
    background-size: 1000px 1000px;
    position: relative;
    overflow: hidden;
    animation: movePattern 60s linear infinite;
}

@keyframes movePattern {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 1000px 1000px;
    }
}

.hero::before {
    display: none;
}

.hero::after {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.825rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero .gradient-text {
    background: linear-gradient(90deg, var(--bleu), var(--rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.4rem;
    color: var(--gris);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.05rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--bleu), var(--bleu-fonce));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(117, 187, 208, 0.4);
}

.btn-outline {
    background: white;
    border: 2px solid var(--rose);
    color: var(--rose);
}

.btn-outline:hover {
    background: var(--rose);
    color: white;
}

/* SECTIONS */
section {
    padding: 6rem 2rem;
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-head {
    text-align: center;
    margin-bottom: 4rem;
}

.section-head h2 {
    font-size: 2.55rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--bleu), var(--rose));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-head p {
    font-size: 1.2rem;
    color: var(--gris);
}

/* BANDE STATS */
.stats {
    background: linear-gradient(135deg, var(--bleu) 0%, var(--rose) 100%);
    padding: 4rem 2rem;
}

.stats-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
    color: white;
}

.stat {
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.stat:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.15);
}

.stat h3 {
    font-size: 2.55rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* GRILLE CARDS */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
    border-left: 5px solid var(--bleu);
}

.card:nth-child(even) {
    border-left-color: var(--rose);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-gradient);
    border-radius: 15px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--bleu);
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.275rem;
    margin-bottom: 1rem;
    color: var(--noir);
}

.card p {
    color: var(--gris);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d3436 100%);
    color: white;
    padding: 5rem 2rem 2rem 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--rose);
}

.footer-col p,
.footer-col a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: 0.3s;
}

.footer-col a:hover {
    color: var(--bleu);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* WHATSAPP */
.whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp a {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    transition: 0.3s;
    animation: pulse 2s infinite;
}

.whatsapp a:hover {
    transform: scale(1.15);
}

.whatsapp svg {
    width: 35px;
    height: 35px;
    fill: white;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 8px 35px rgba(37, 211, 102, 0.8);
    }
}

/* SECTIONS COLORÉES */
.section-colored {
    background: white;
}

.section-blue {
    background: white;
}

.section-rose {
    background: white url('../images/pattern-baby.png');
    background-size: 1000px 1000px;
    animation: movePattern 60s linear infinite;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 85px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: white;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: 0.3s;
    }
    
    nav ul.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2.38rem;
    }
    
    .hero p {
        font-size: 1.15rem;
    }
    
    .stats-grid,
    .grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section-head h2 {
        font-size: 1.87rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
