/* ============================================
   MatelooKids — New Sections Styles
   Activités, Groupes, Actualités, Newsletter
   ============================================ */

/* ===== ACTIVITÉS SECTION ===== */
.activites {
    background: var(--sand);
    position: relative;
    padding: 60px 0;
}
.activites::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 100' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,60 C240,100 480,20 720,60 C960,100 1200,20 1440,60 L1440,100 L0,100 Z' fill='%23E0F2F1'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 5;
}
.activites-header {
    text-align: center;
    margin-bottom: 50px;
}
.activites-header .section-label {
    background: linear-gradient(135deg, var(--ocean-light), var(--seafoam));
    color: var(--white);
}
.activites-header .section-title {
    color: var(--ocean-deep);
    margin: 16px 0;
}
.activites-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}
.activites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 2;
}
.activite-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 4px 24px rgba(11,61,107,0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.activite-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(11,61,107,0.16);
    border-color: var(--ocean-light);
}
.activite-icon {
    font-size: 2.8rem;
    display: inline-block;
}
.activite-card h3 {
    color: var(--ocean-deep);
    font-size: 1.3rem;
    line-height: 1.4;
}
.activite-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
}
.btn-link {
    color: var(--ocean-light);
    font-weight: 700;
    transition: var(--transition);
    display: inline-block;
    margin-top: 8px;
}
.btn-link:hover {
    color: var(--ocean-mid);
    transform: translateX(4px);
}

/* ===== GROUPES & ÉVÉNEMENTS SECTION (style Gulli Parc) ===== */
.events {
    background: #fff;
    position: relative;
    padding: 15px 0 20px;
    overflow: visible;
    color: #fff;
    z-index: 1;
}
.events .section-inner {
    max-width: 100%;
    padding: 0 80px 0 60px;
}
.events-blob-bg {
    position: absolute;
    top: -12%;
    left: 0;
    width: 140%;
    height: 115%;
    background: url("../media/zocalo-fucsia.svg") no-repeat left center/contain;
    z-index: 0;
    pointer-events: none;
}
.events .section-inner {
    position: relative;
    z-index: 1;
}
.events-content {
    display: grid;
    grid-template-columns: 38% 62%;
    gap: 30px;
    align-items: center;
}
.events-text {
    padding-left: 0;
    padding-right: 1%;
    margin-left: 0;
    color: #fff;
}
.events-title {
    font-family: 'Fredoka One', 'Baloo 2', cursive;
    color: #fff;
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    line-height: 1.1;
    margin: 0;
}
.events-desc {
    color: #fff;
    font-size: 1.15rem;
    line-height: 1.55;
    margin: 32px 0 !important;
}
.btn-events-green {
    display: inline-block;
    background: #7AC943;
    color: #fff !important;
    border: 1px solid #7AC943;
    border-radius: 6px;
    padding: 10px 40px;
    font-weight: 500;
    line-height: 26px;
    text-align: center;
    text-decoration: none;
    transition: 0.4s;
    max-height: 48px;
}
.btn-events-green:hover {
    background: #fff;
    color: #7AC943 !important;
}
.events-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}
.events-photo {
    position: relative;
    width: 100%;
    max-width: 780px;
    height: 0;
    padding-bottom: 77.27%;
}
.events-photo::before {
    content: "";
    position: absolute;
    inset: 42% 0 32% 0;
    background-color: #0099FF;
    -webkit-mask-image: url("../media/zocalo-mask.svg");
    mask-image: url("../media/zocalo-mask.svg");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    z-index: 0;
}
.events-mascotte {
    position: absolute;
    top: -15%;
    left: -10%;
    width: 120%;
    height: 130%;
    object-fit: contain;
    z-index: 2;
}

@media (max-width: 900px) {
    .events {
        padding: 60px 0 80px;
    }
    .events-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .events-text {
        padding: 0 20px;
        text-align: center;
    }
    .events-blob-bg {
        top: -4%;
        left: -10%;
        width: 120%;
        height: 70%;
    }
    .events-title {
        margin-top: 20px;
    }
    .events-photo {
        max-width: 90%;
    }
}

/* ===== ACTUALITÉS SECTION ===== */
.actualites {
    background: var(--white);
    position: relative;
    padding: 60px 0;
}
.actualites::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 100' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,60 C240,100 480,20 720,60 C960,100 1200,20 1440,60 L1440,100 L0,100 Z' fill='%23FFF3E0'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 5;
}
.actualites-header {
    text-align: center;
    margin-bottom: 50px;
}
.actualites-header .section-label {
    background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-light));
    color: var(--white);
}
.actualites-header .section-title {
    color: var(--ocean-deep);
    margin: 16px 0;
}
.actualites-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}
.actualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    position: relative;
    z-index: 2;
}
.actualite-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(11,61,107,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(66,165,214,0.1);
}
.actualite-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(11,61,107,0.18);
}
.actualite-image {
    height: 180px;
    background: linear-gradient(135deg, var(--ocean-light), var(--seafoam));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.actualite-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}
.actualite-emoji {
    font-size: 4rem;
    animation: float 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}
.actualite-content {
    padding: 24px;
}
.actualite-content h3 {
    color: var(--ocean-deep);
    font-size: 1.2rem;
    margin-bottom: 8px;
    line-height: 1.4;
}
.actualite-date {
    color: var(--ocean-light);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}
.actualite-content p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
}
.actualite-content .btn-link {
    color: var(--ocean-light);
    font-weight: 700;
}

/* ===== NEWSLETTER SECTION ===== */
.footer-newsletter {
    background: linear-gradient(135deg, var(--ocean-mid) 0%, var(--ocean-deep) 100%);
    padding: 40px 20px;
    color: var(--white);
}
.newsletter-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.newsletter-content h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    line-height: 1.4;
}
.newsletter-content p {
    opacity: 0.9;
    font-size: 1rem;
    line-height: 1.6;
}
.newsletter-form {
    display: flex;
    gap: 10px;
}
.newsletter-form input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Nunito', sans-serif;
    background: var(--white);
    color: var(--text-dark);
}
.newsletter-form input::placeholder {
    color: var(--text-light);
}
.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}
.newsletter-form button {
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .newsletter-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* ===== ANIMATIONS ON SCROLL ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.6s ease-out forwards;
}
.animate-on-scroll:nth-child(1) { animation-delay: 0s; }
.animate-on-scroll:nth-child(2) { animation-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { animation-delay: 0.2s; }
.animate-on-scroll:nth-child(4) { animation-delay: 0.3s; }
.animate-on-scroll:nth-child(5) { animation-delay: 0.4s; }
.animate-on-scroll:nth-child(6) { animation-delay: 0.5s; }

/* ===== SECTION LABELS ===== */
.section-label {
    display: inline-block;
    background: var(--ocean-light);
    color: var(--white);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(66,165,214,0.3);
}

.section-title {
    font-size: 2.4rem;
    color: var(--ocean-deep);
    line-height: 1.3;
    margin-bottom: 16px;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TRANCHES D'ÂGE ===== */
.ages-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--sand) 100%);
    padding: 80px 0;
}
.ages-header {
    text-align: center;
    margin-bottom: 52px;
}
.ages-header .section-label {
    background: linear-gradient(135deg, var(--ocean-mid), var(--seafoam));
    color: var(--white);
}
.ages-header .section-title {
    margin: 16px 0 12px;
}
.ages-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}
.ages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.age-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 44px 32px 36px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(11,61,107,0.08);
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.age-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(11,61,107,0.16);
    border-color: var(--ocean-light);
}
.age-card--featured {
    background: linear-gradient(160deg, var(--ocean-deep) 0%, var(--ocean-mid) 100%);
    color: var(--white);
    border-color: transparent;
    transform: scale(1.04);
}
.age-card--featured:hover {
    transform: scale(1.04) translateY(-8px);
    border-color: var(--ocean-surface);
}
.age-card--featured h3,
.age-card--featured small,
.age-card--featured p {
    color: var(--white);
}
.age-card--featured .btn-link {
    color: var(--sun);
}
.age-card--featured .btn-link:hover {
    color: var(--sun-dark);
}
.age-card-icon {
    font-size: 3.8rem;
    display: block;
    margin-bottom: 4px;
}
.age-card h3 {
    color: var(--ocean-deep);
    font-size: 1.4rem;
    line-height: 1.3;
    margin: 0;
}
.age-card small {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ocean-light);
    letter-spacing: 0.5px;
    margin-top: 2px;
}
.age-card p {
    color: var(--text-light);
    font-size: 0.97rem;
    line-height: 1.7;
}

/* Groupes layout inversé (texte gauche, visuel droite) */
.events-content--reversed {
    direction: rtl;
}
.events-content--reversed > * {
    direction: ltr;
}

@media (max-width: 900px) {
    .ages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .age-card--featured {
        transform: scale(1);
    }
    .age-card--featured:hover {
        transform: translateY(-8px);
    }
    .events-content--reversed {
        direction: ltr;
    }
}

/* ============================================
   DROPDOWN "NOS PARCS" — ouverture au survol (desktop)
   ============================================ */
@media (min-width: 769px) {
    .nav-dropdown:hover .nav-dropdown-menu {
        display: block;
    }
    .nav-dropdown:hover .nav-cta-arrow {
        transform: rotate(180deg);
    }
}

/* ============================================
   BANNIÈRE — TEXTE CENTRÉ
   ============================================ */
.hero-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-content h1,
.hero-content .hero-sub {
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.hero-buttons {
    justify-content: center;
}
.hero-content h1 {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 4px 20px rgba(0, 0, 0, 0.6);
}
.hero-content .hero-sub {
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.85), 0 3px 16px rgba(0, 0, 0, 0.6);
}

/* ============================================
   BULLES INFOS — centrées sur la ligne de séparation
   ============================================ */

/* Ligne droite : supprime la vague anniversaire */
.anniversaire-gulli::before {
    display: none !important;
}
/* Permet aux bulles de déborder en dehors du hero */
.hero {
    overflow: visible;
}
/* Cache la mascotte (sinon visible avec overflow:visible) */
.wave-mascotte {
    display: none;
}
/* Bulles centrées, chevauchant la ligne de séparation */
.hero-wave-bottom {
    z-index: 20;
}
.wave-bubbles-container {
    left: 50%;
    right: auto;
    bottom: -30px;
    transform: translateX(-50%);
    gap: 18px;
}
.wave-bubble {
    width: 76px;
    gap: 7px;
    font-size: 0.6rem;
}
.bubble-circle {
    width: 60px;
    height: 60px;
    font-size: 1.45rem;
}
.wave-bubble p {
    font-size: 0.6rem;
}
@media (max-width: 768px) {
    .wave-bubbles-container {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: -22px;
        gap: 10px;
    }
    .wave-bubble {
        width: 60px;
        font-size: 0.5rem;
    }
    .bubble-circle {
        width: 46px;
        height: 46px;
        font-size: 1.1rem;
    }
    .wave-bubble p {
        font-size: 0.5rem;
    }
}

/* ============================================
   SECTION "CHOISISSEZ VOTRE PARC"
   ============================================ */
.parcs-home {
    background: linear-gradient(180deg, var(--white) 0%, #E8F4FD 45%, #D6ECFB 100%);
    padding: 90px 0 110px;
    position: relative;
}
.parcs-home .section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.parcs-home-header {
    text-align: center;
    margin-bottom: 56px;
}
.parcs-home-header .section-label {
    background: linear-gradient(135deg, var(--ocean-mid), var(--seafoam));
    color: var(--white);
}
.parcs-home-header .section-title {
    color: var(--ocean-deep);
    margin: 16px 0 12px;
}
.parcs-home-header p {
    color: var(--text-light);
    font-size: 1.08rem;
    max-width: 620px;
    margin: 0 auto;
}
.parcs-home-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.parc-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 38px 34px 34px;
    box-shadow: 0 8px 32px rgba(11, 61, 107, 0.12);
    border: 2px solid transparent;
    border-top: 6px solid var(--ocean-light);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.parc-card--lorient { border-top-color: var(--ocean-mid); }
.parc-card--pontivy { border-top-color: var(--seafoam); }
.parc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 56px rgba(11, 61, 107, 0.22);
}
.parc-card-new {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--coral);
    color: var(--white);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(255, 112, 67, 0.4);
    animation: pulse 2s ease-in-out infinite;
}
.parc-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
}
.parc-card-icon {
    font-size: 2.6rem;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #e3f2fd, var(--white));
    border: 3px solid var(--ocean-surface);
    border-radius: 50%;
}
.parc-card--pontivy .parc-card-icon {
    border-color: var(--seafoam);
}
.parc-card-tag {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ocean-mid);
}
.parc-card--pontivy .parc-card-tag { color: var(--seafoam-dark); }
.parc-card-city {
    font-family: 'Baloo 2', cursive;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--ocean-deep);
    line-height: 1.1;
    margin: 0;
}
.parc-card-addr {
    color: var(--text-light);
    font-size: 0.98rem;
    line-height: 1.7;
    font-weight: 600;
    margin: 0;
}
.parc-card-feats {
    list-style: none;
    padding: 0;
    margin: 6px 0 4px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
}
.parc-card-feats li {
    color: var(--text-dark);
    font-size: 0.92rem;
    font-weight: 600;
}
.parc-card-phone {
    margin: 0;
    font-weight: 700;
    color: var(--ocean-deep);
    font-size: 0.95rem;
}
.parc-card-phone a { color: var(--coral); }
.parc-card-phone a:hover { color: var(--coral-dark); }
.parc-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}
.parc-card-actions .btn {
    flex: 1;
    justify-content: center;
    min-width: 140px;
}

@media (max-width: 860px) {
    .parcs-home {
        padding: 60px 0 80px;
    }
    .parcs-home-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 480px;
        margin: 0 auto;
    }
    .parcs-home-header {
        margin-bottom: 36px;
    }
}
@media (max-width: 420px) {
    .parc-card-feats {
        grid-template-columns: 1fr;
    }
    .parc-card-actions .btn {
        flex: 1 1 100%;
    }
}


/* ===== POPUP CHOIX DU PARC ===== */
.park-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 61, 107, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.park-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.park-modal {
    position: relative;
    width: 100%;
    max-width: 1040px;
    max-height: 92vh;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.park-modal-overlay.open .park-modal {
    transform: translateY(0) scale(1);
}

.park-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #0099ff;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(171, 71, 188, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}
.park-modal-close:hover {
    background: #0077cc;
    transform: rotate(90deg);
}

.park-modal-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    max-height: 92vh;
}

.park-modal-left {
    padding: 40px 36px 32px;
    overflow-y: auto;
}

.park-modal-title {
    font-family: 'Chewy', cursive;
    font-weight: 400;
    color: #0099ff;
    font-size: 2rem;
    letter-spacing: 0;
    margin-bottom: 24px;
}

.park-search-row {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}
.park-search-row input {
    flex: 1;
    padding: 14px 18px;
    border: 1.5px solid #e6e1d8;
    border-radius: 12px;
    background: #faf7f1;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.park-search-row input:focus {
    border-color: var(--ocean-light);
    background: var(--white);
}
.park-search-btn {
    width: 50px;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #FF6422;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.park-search-btn:hover {
    background: white;
    border-color: #FF6422;
    color: #FF6422;
    transform: scale(1.05);
}

.park-locate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 6px 0 24px;
    color: #0099ff;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: color 0.2s ease;
}
.park-locate:hover {
    color: #0077cc;
    text-decoration: underline;
}
.park-locate-icon {
    font-size: 1.05rem;
}

.park-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.park-card {
    border: 1.5px solid #ece6da;
    border-radius: 14px;
    padding: 20px 22px;
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.park-card:hover {
    border-color: var(--ocean-light);
    box-shadow: 0 6px 20px rgba(66, 165, 214, 0.18);
    transform: translateY(-2px);
}
.park-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.park-card-header h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.2rem;
    color: #1a1a1a;
    margin: 0;
}
.park-card-flag {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}
.park-card-badge {
    margin-left: auto;
    background: #FFC107;
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.park-card-address {
    color: #1a1a1a;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 8px;
}
.park-card-phone {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 10px;
}
.park-card-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 14px;
}
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.status-open {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}
.status-closed {
    background: var(--coral);
    box-shadow: 0 0 0 3px rgba(255, 112, 67, 0.2);
}
.park-card-btn {
    display: inline-block;
    background: #FF6422;
    color: var(--white);
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 22px;
    border-radius: 10px;
    border: 2px solid transparent;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
}
.park-card-btn:hover {
    background: white;
    border-color: #FF6422;
    color: #FF6422;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.park-modal-right {
    position: relative;
    background: #e8efe4;
    min-height: 100%;
}
.park-modal-map {
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: none;
    display: block;
}

/* Marqueurs Leaflet personnalisés MatelooKids */
.park-map-marker {
    background: transparent;
    border: none;
}
.park-map-marker-inner {
    width: 32px;
    height: 32px;
    border-radius: 50% 50% 50% 0;
    background: var(--purple-fun);
    border: 3px solid var(--white);
    box-shadow: 0 4px 14px rgba(11, 61, 107, 0.35);
    transform: rotate(-45deg);
    transition: transform 0.2s ease, background 0.2s ease;
}
.park-map-marker:hover .park-map-marker-inner {
    background: var(--coral);
    transform: rotate(-45deg) scale(1.15);
}

.park-map-popup {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-dark);
}
.park-map-popup strong {
    font-family: 'Baloo 2', cursive;
    color: var(--ocean-deep);
    font-size: 1rem;
}
.park-map-popup a {
    display: inline-block;
    margin-top: 6px;
    color: var(--seafoam-dark);
    font-weight: 700;
}
.park-map-popup a:hover {
    text-decoration: underline;
}
.leaflet-container {
    font-family: 'Nunito', sans-serif !important;
}

/* Empêche le scroll de la page quand la modale est ouverte */
body.modal-open {
    overflow: hidden;
}

@media (max-width: 860px) {
    .park-modal-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 220px minmax(0, 1fr);
        height: 92vh;
    }
    .park-modal-right {
        order: -1;
    }
    .park-modal-map {
        min-height: 220px;
        max-height: 220px;
    }
    .park-modal-left {
        padding: 28px 22px 24px;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .park-modal-title {
        font-size: 1.6rem;
    }
}
@media (max-width: 480px) {
    .park-modal-overlay {
        padding: 0;
    }
    .park-modal {
        max-height: 100vh;
        height: 100vh;
        border-radius: 0;
    }
    .park-modal-grid {
        max-height: 100vh;
        height: 100vh;
    }
}
