/* ===================================
   BABY AND ME - GRENOBLE
   Café + Restaurant + Aire de Jeux
   Pour enfants 0-3 ans
   =================================== */

/* VARIABLES */
:root {
    --bleu-baby: #75bbd0;
    --rose-baby: #ff98cc;
    --gris-fonce: #333333;
    --gris-moyen: #666666;
    --gris-clair: #f5f5f5;
    --blanc: #ffffff;
    --ombre-legere: 0 2px 10px rgba(0, 0, 0, 0.08);
    --ombre-moyenne: 0 4px 20px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gris-fonce);
    line-height: 1.7;
    background-color: var(--blanc);
    overflow-x: hidden;
}

/* TYPOGRAPHIE - LISIBILITÉ AMÉLIORÉE */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    /* PLUS DE TITRES BLANCS EN GROS - utiliser couleurs de la charte */
}

h1 {
    font-size: 2.5rem;
    color: var(--gris-fonce);
}

h2 {
    font-size: 2rem;
    color: var(--gris-fonce);
}

h3 {
    font-size: 1.5rem;
    color: var(--gris-moyen);
}

p {
    margin-bottom: 1rem;
    color: var(--gris-moyen);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* HEADER & NAVIGATION */
.header {
    background: var(--blanc);
    box-shadow: var(--ombre-legere);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

/* LOGO - image */
.logo {
    display: flex;
    align-items: center;
}

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

/* Logo texte pour footer */
.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-baby {
    color: var(--bleu-baby);
}

.logo-and {
    color: var(--gris-fonce);
    font-weight: 400;
}

.logo-me {
    color: var(--rose-baby);
}

/* Navigation principale */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--gris-moyen);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--bleu-baby);
    border-bottom-color: var(--bleu-baby);
}

/* Bouton mobile menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gris-fonce);
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, rgba(117, 187, 208, 0.1) 0%, rgba(255, 152, 204, 0.1) 100%);
    background-image: url('../images/background-pattern.png'), linear-gradient(135deg, rgba(117, 187, 208, 0.1) 0%, rgba(255, 152, 204, 0.1) 100%);
    background-size: 800px, cover;
    background-repeat: repeat, no-repeat;
    background-position: center, center;
    padding: 4rem 2rem;
    text-align: center;
    animation: moveBackground 180s linear infinite;
}

@keyframes moveBackground {
    0% {
        background-position: 0 0, center;
    }
    100% {
        background-position: 800px 800px, center;
    }
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--gris-fonce);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--gris-moyen);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--gris-moyen);
    font-style: italic;
    margin-bottom: 2.5rem;
}

/* BOUTONS */
.btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--bleu-baby);
    color: var(--blanc);
}

.btn-primary:hover {
    background: #5fa9be;
    transform: translateY(-2px);
    box-shadow: var(--ombre-moyenne);
}

.btn-secondary {
    background: var(--rose-baby);
    color: var(--blanc);
}

.btn-secondary:hover {
    background: #ff7ab8;
    transform: translateY(-2px);
    box-shadow: var(--ombre-moyenne);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--bleu-baby);
    color: var(--bleu-baby);
}

.btn-outline:hover {
    background: var(--bleu-baby);
    color: var(--blanc);
}

/* SECTIONS */
.section {
    padding: 4rem 2rem;
    position: relative;
}

.section-alt {
    background: var(--gris-clair);
    position: relative;
    overflow: hidden;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background-pattern.png');
    background-size: 600px;
    background-repeat: repeat;
    opacity: 0.03;
    animation: floatPattern 240s linear infinite;
    pointer-events: none;
}

@keyframes floatPattern {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(600px, 600px);
    }
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title .accent {
    color: var(--bleu-baby);
}

.section-title .subtitle {
    font-size: 1.1rem;
    color: var(--gris-moyen);
    font-weight: 400;
}

/* GRILLE */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* CARDS */
.card {
    background: var(--blanc);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--ombre-legere);
    transition: var(--transition);
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--ombre-moyenne);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.icon-bleu {
    color: var(--bleu-baby);
}

.icon-rose {
    color: var(--rose-baby);
}

.card h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--gris-fonce);
}

.card p {
    text-align: center;
    line-height: 1.8;
}

/* ÉVÉNEMENTS */
.event-card {
    background: linear-gradient(135deg, var(--bleu-baby) 0%, var(--rose-baby) 100%);
    color: var(--blanc);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--ombre-moyenne);
}

.event-date {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.event-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--blanc);
}

.event-description {
    color: rgba(255, 255, 255, 0.9);
}

/* HORAIRES */
.horaires-box {
    background: var(--gris-clair);
    border-left: 4px solid var(--bleu-baby);
    padding: 2rem;
    border-radius: 8px;
}

.horaires-box h3 {
    color: var(--gris-fonce);
    margin-bottom: 1rem;
}

.horaire-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.horaire-item:last-child {
    border-bottom: none;
}

.horaire-jour {
    font-weight: 600;
    color: var(--gris-fonce);
}

.horaire-heures {
    color: var(--gris-moyen);
}

.ferme {
    color: var(--rose-baby);
    font-weight: 600;
}

/* FORMULAIRE */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gris-fonce);
}

input,
textarea,
select {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--blanc);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--bleu-baby);
    box-shadow: 0 0 0 3px rgba(117, 187, 208, 0.1);
}

textarea {
    resize: vertical;
    min-height: 150px;
}

/* TARIFS */
.tarif-card {
    background: var(--blanc);
    border: 2px solid var(--bleu-baby);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.tarif-prix {
    font-size: 3rem;
    font-weight: 700;
    color: var(--bleu-baby);
    margin: 1rem 0;
}

.tarif-periode {
    color: var(--gris-moyen);
    font-size: 0.9rem;
}

.tarif-gratuit {
    background: linear-gradient(135deg, var(--bleu-baby), var(--rose-baby));
    color: var(--blanc);
    border: none;
}

.tarif-gratuit .tarif-prix {
    color: var(--blanc);
}

/* FOOTER */
.footer {
    background: var(--gris-fonce);
    color: var(--blanc);
    padding: 3rem 2rem 1rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h3 {
    color: var(--blanc);
    margin-bottom: 1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 0.5rem;
}

.footer a:hover {
    color: var(--bleu-baby);
}

.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);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    display: inline-block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--blanc);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--ombre-moyenne);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 3rem 1.5rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .btn-group {
        flex-direction: column;
    }

    /* Boisson du Moment responsive */
    .boisson-moment {
        padding: 2rem 1rem;
    }

    .boisson-content {
        padding: 1.5rem;
    }

    .boisson-text {
        max-width: 100%;
    }

    .boisson-badge {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1.5rem;
    }

    .boisson-image {
        margin: 1.5rem 0;
    }

    .boisson-image img {
        max-width: 280px;
    }

    .boisson-text h2 {
        font-size: 1.8rem;
    }

    .boisson-subtitle {
        font-size: 1rem;
    }

    .boisson-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .boisson-dates {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
        margin-bottom: 0;
    }

    .boisson-moment::before {
        font-size: 8rem;
        top: -2rem;
        right: -2rem;
    }
}

/* Media query pour petits mobiles */
@media (max-width: 480px) {
    .boisson-moment {
        padding: 1.5rem 0.75rem;
    }

    .boisson-content {
        padding: 1rem;
        border-radius: 15px;
    }

    .boisson-badge {
        font-size: 0.8rem;
        padding: 0.35rem 0.9rem;
    }

    .boisson-image {
        margin: 1rem 0;
    }

    .boisson-image img {
        max-width: 240px;
    }

    .boisson-text h2 {
        font-size: 1.6rem;
        margin-bottom: 0.3rem;
    }

    .boisson-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .boisson-description {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .boisson-dates {
        font-size: 0.85rem;
        padding: 0.7rem 0.8rem;
    }

    .boisson-moment::before {
        font-size: 6rem;
    }
}

/* Media query tablette supprimée - grid-3 reste en 3 colonnes */

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* BOISSON DU MOMENT */
.boisson-moment {
    background: linear-gradient(135deg, rgba(255, 152, 204, 0.08) 0%, rgba(117, 187, 208, 0.08) 100%);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.boisson-moment::before {
    content: '🍁';
    position: absolute;
    font-size: 15rem;
    opacity: 0.03;
    top: -3rem;
    right: -3rem;
    pointer-events: none;
    animation: rotateMaple 20s linear infinite;
}

@keyframes rotateMaple {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

.boisson-badge {
    background: linear-gradient(135deg, var(--rose-baby) 0%, var(--bleu-baby) 100%);
    color: var(--blanc);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(255, 152, 204, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.boisson-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--blanc);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--ombre-moyenne);
}

.boisson-text {
    width: 100%;
    max-width: 800px;
    text-align: center;
}

.boisson-image {
    position: relative;
    margin: 2rem 0;
}

.boisson-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    display: block;
    margin: 0 auto;
}

.boisson-image:hover img {
    transform: scale(1.05);
}

.boisson-text h2 {
    font-size: 2.5rem;
    color: var(--gris-fonce);
    margin-bottom: 0.5rem;
}

.boisson-subtitle {
    font-size: 1.2rem;
    color: var(--rose-baby);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.boisson-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gris-moyen);
    margin-bottom: 1.5rem;
}

.boisson-dates {
    background: linear-gradient(135deg, rgba(255, 152, 204, 0.1) 0%, rgba(117, 187, 208, 0.1) 100%);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--gris-fonce);
    margin-bottom: 2rem;
    border-left: 4px solid var(--rose-baby);
}

.boisson-dates strong {
    color: var(--bleu-baby);
    font-weight: 600;
}

.boisson-text .btn {
    margin-top: 1rem;
}

/* PROMO MAPLE LATTE */
.promo-maple {
    background: linear-gradient(135deg, rgba(255, 152, 204, 0.08) 0%, rgba(117, 187, 208, 0.08) 100%);
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.promo-maple::before {
    content: '🍁';
    position: absolute;
    font-size: 15rem;
    opacity: 0.03;
    top: -3rem;
    right: -3rem;
    pointer-events: none;
    animation: rotateMaple 20s linear infinite;
}

@keyframes rotateMaple {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

.promo-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff9500 100%);
    color: var(--blanc);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.promo-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    background: var(--blanc);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--ombre-moyenne);
}

.promo-image {
    position: relative;
}

.promo-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.promo-image:hover img {
    transform: scale(1.05);
}

.promo-text h2 {
    font-size: 2.5rem;
    color: var(--gris-fonce);
    margin-bottom: 0.5rem;
}

.promo-subtitle {
    font-size: 1.2rem;
    color: var(--rose-baby);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.promo-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gris-moyen);
    margin-bottom: 1.5rem;
}

.promo-dates {
    background: linear-gradient(135deg, rgba(255, 152, 204, 0.1) 0%, rgba(117, 187, 208, 0.1) 100%);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--gris-fonce);
    margin-bottom: 2rem;
    border-left: 4px solid var(--rose-baby);
}

.promo-dates strong {
    color: var(--bleu-baby);
    font-weight: 600;
}

.promo-text .btn {
    margin-top: 1rem;
}

/* UTILITAIRES */
.text-center {
    text-align: center;
}

.text-bleu {
    color: var(--bleu-baby);
}

.text-rose {
    color: var(--rose-baby);
}

.bg-bleu-light {
    background: rgba(117, 187, 208, 0.1);
}

.bg-rose-light {
    background: rgba(255, 152, 204, 0.1);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
