/* ===========================================
   FOND ATTRACTIF - Plump Fluffy Cub's
   Pattes de chat + Bulles dorées
   Responsive & Moderne
=========================================== */

/* Variables communes */
:root {
    --primary-color: #8B5A2B;
    --primary-dark: #6f3d1f;
    --primary-light: #a06a3f;
    --accent-color: #D4AF37;
    --light-color: #faf8f5;
    --cream-color: #fef9f3;
    --warm-white: #fffcf8;
}

/* Fond dégradé chaud de base */
body {
    background: linear-gradient(160deg,
        #fffcf5 0%,
        #fef2e0 25%,
        #fde8cc 50%,
        #fef2e0 75%,
        #fffcf5 100%) !important;
    background-attachment: fixed !important;
    position: relative;
}

/* Bulles dorées décoratives dans les coins */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        /* Bulles dorées très visibles dans les coins */
        radial-gradient(ellipse 800px 800px at -5% -5%, rgba(212, 175, 55, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 700px 700px at 105% 105%, rgba(184, 134, 80, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse 600px 600px at 95% 5%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 600px 600px at 5% 95%, rgba(139, 90, 43, 0.15) 0%, transparent 50%),
        /* Accent lumineux au centre */
        radial-gradient(circle 500px at 50% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* PATTES DE CHAT - Motif principal (plus clair) */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='%23c9a87c' fill-opacity='0.15'%3E%3Cellipse cx='50' cy='58' rx='14' ry='11'/%3E%3Cellipse cx='32' cy='35' rx='8' ry='10' transform='rotate(-20 32 35)'/%3E%3Cellipse cx='50' cy='28' rx='7' ry='10'/%3E%3Cellipse cx='68' cy='35' rx='8' ry='10' transform='rotate(20 68 35)'/%3E%3Cellipse cx='24' cy='52' rx='6' ry='8' transform='rotate(-35 24 52)'/%3E%3Cellipse cx='76' cy='52' rx='6' ry='8' transform='rotate(35 76 52)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 180px 180px;
    pointer-events: none;
    z-index: 0;
}

/* Deuxième couche de pattes décalées - dorées (plus clair) */
.paw-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='%23dfc078' fill-opacity='0.12'%3E%3Cellipse cx='50' cy='58' rx='14' ry='11'/%3E%3Cellipse cx='32' cy='35' rx='8' ry='10' transform='rotate(-20 32 35)'/%3E%3Cellipse cx='50' cy='28' rx='7' ry='10'/%3E%3Cellipse cx='68' cy='35' rx='8' ry='10' transform='rotate(20 68 35)'/%3E%3Cellipse cx='24' cy='52' rx='6' ry='8' transform='rotate(-35 24 52)'/%3E%3Cellipse cx='76' cy='52' rx='6' ry='8' transform='rotate(35 76 52)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 180px 180px;
    background-position: 90px 90px;
    pointer-events: none;
    z-index: 0;
}

/* Contenu principal au-dessus du fond */
main, .container, .content, section, article, .card, .navbar {
    position: relative;
    z-index: 1;
}

/* ===========================================
   RESPONSIVE - Tablette
=========================================== */
@media (max-width: 992px) {
    body::before {
        background-image:
            radial-gradient(ellipse 500px 500px at -5% -5%, rgba(212, 175, 55, 0.18) 0%, transparent 50%),
            radial-gradient(ellipse 450px 450px at 105% 105%, rgba(184, 134, 80, 0.15) 0%, transparent 50%),
            radial-gradient(ellipse 400px 400px at 95% 5%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
            radial-gradient(ellipse 400px 400px at 5% 95%, rgba(139, 90, 43, 0.12) 0%, transparent 50%);
    }

    body::after {
        background-size: 150px 150px;
    }

    .paw-overlay {
        background-size: 150px 150px;
        background-position: 75px 75px;
    }
}

/* ===========================================
   RESPONSIVE - Mobile
=========================================== */
@media (max-width: 768px) {
    body::before {
        background-image:
            radial-gradient(ellipse 350px 350px at -10% -5%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
            radial-gradient(ellipse 300px 300px at 110% 105%, rgba(184, 134, 80, 0.12) 0%, transparent 50%),
            radial-gradient(ellipse 250px 250px at 100% 0%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
            radial-gradient(ellipse 250px 250px at 0% 100%, rgba(139, 90, 43, 0.1) 0%, transparent 50%);
    }

    body::after {
        background-size: 120px 120px;
        opacity: 0.9;
    }

    .paw-overlay {
        background-size: 120px 120px;
        background-position: 60px 60px;
        opacity: 0.85;
    }
}

/* ===========================================
   RESPONSIVE - Petit mobile
=========================================== */
@media (max-width: 480px) {
    body::before {
        background-image:
            radial-gradient(ellipse 250px 250px at -15% -5%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
            radial-gradient(ellipse 200px 200px at 115% 105%, rgba(184, 134, 80, 0.1) 0%, transparent 50%);
    }

    body::after {
        background-size: 100px 100px;
        opacity: 0.8;
    }

    .paw-overlay {
        background-size: 100px 100px;
        background-position: 50px 50px;
        opacity: 0.75;
    }
}

/* ===========================================
   Performance - Réduction mouvement
=========================================== */
@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after,
    .paw-overlay {
        animation: none;
    }
}

/* ===========================================
   BOUTON WHATSAPP FLOTTANT
=========================================== */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: white;
}

.whatsapp-float::before {
    content: 'Contactez-nous !';
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-float:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Animation pulse */
.whatsapp-float::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    animation: whatsapp-pulse 2s infinite;
    z-index: -1;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ===========================================
   BANDEAU NAISSANCE
=========================================== */
.birth-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #8B5A2B 0%, #D4AF37 50%, #8B5A2B 100%);
    background-size: 200% 100%;
    animation: banner-shimmer 3s ease infinite;
    color: white;
    padding: 12px 20px;
    text-align: center;
    z-index: 9998;
    box-shadow: 0 -4px 20px rgba(139, 90, 43, 0.3);
}

@keyframes banner-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.birth-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.birth-banner-icon {
    font-size: 1.5rem;
    animation: bounce-icon 1s ease infinite;
}

@keyframes bounce-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.birth-banner-text {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.birth-banner-text strong {
    color: #fff3cd;
}

.birth-banner-btn {
    background: white;
    color: #8B5A2B;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.birth-banner-btn:hover {
    background: transparent;
    color: white;
    transform: scale(1.05);
}

.birth-banner-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s;
    line-height: 1;
}

.birth-banner-close:hover {
    opacity: 1;
}

/* Ajustement pour le bandeau - espace en bas */
body {
    padding-bottom: 70px !important;
}

/* ===========================================
   RESPONSIVE - WhatsApp & Bandeau
=========================================== */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 90px;
        right: 15px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-float::before {
        display: none;
    }

    .birth-banner {
        padding: 10px 40px 10px 15px;
    }

    .birth-banner-content {
        gap: 10px;
    }

    .birth-banner-icon {
        font-size: 1.2rem;
    }

    .birth-banner-text {
        font-size: 0.85rem;
    }

    .birth-banner-btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }

    body {
        padding-bottom: 80px !important;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 85px;
        right: 10px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    .birth-banner-content {
        flex-direction: column;
        gap: 8px;
    }

    .birth-banner-text {
        font-size: 0.8rem;
    }

    .birth-banner-btn {
        padding: 5px 12px;
        font-size: 0.75rem;
    }

    body {
        padding-bottom: 100px !important;
    }
}
