/* ===================================
   AB Dance Art - Main Stylesheet
   Mobile-First Responsive Design
   =================================== */

/* ===== CSS VARIABLES ===== */
:root {
    /* Watercolor Pastel Colors */
    --color-blue: #B8D4E8;
    --color-pink: #E8B8D4;
    --color-green: #B8E8D4;
    --color-lavender: #D4B8E8;
    --color-accent: #C84B4B;
    --color-bg: #FDFBF9;
    --color-white: #FFFFFF;
    --color-text: #2C2C2C;
    --color-text-light: #666666;

    /* Typography */
    --font-script: 'Dancing Script', cursive;
    --font-body: 'Poppins', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-organic: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

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

img {
    overflow: visible;
    overflow-clip-margin: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Remove Brush Stroke */

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar-hidden {
    transform: translateY(-120%);
}

.navbar-ghost {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease, background 0.3s ease !important;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-brand .logo {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-brand .logo {
    height: 45px;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--color-pink), var(--color-lavender));
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nav-toggle:hover span {
    background: var(--color-accent);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(253, 251, 249, 0.98));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xxl) 0;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
    z-index: 1001;
    border-left: 1px solid rgba(232, 184, 212, 0.2);
}

.nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/watercolor-splash-pink.png') no-repeat top right/80%;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

.nav-menu.active {
    right: 0;
}

/* Overlay for mobile menu */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 1000;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-menu li {
    text-align: center;
    padding: var(--spacing-sm) 0;
}

.nav-link {
    font-family: var(--font-script);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-text);
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    text-transform: none;
    letter-spacing: 0.5px;
}

/* Simple Watercolor Dot Hover */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-pink);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--color-accent);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-accent);
}

.nav-link.active::after {
    width: 100%;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-pink), var(--color-lavender));
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(232, 184, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 184, 212, 0.4);
}

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

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

/* ===== SECTIONS ===== */
.section {
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow-x: hidden;
    /* Prevent horizontal layout shifts */
}

@media (max-width: 767px) {
    .section {
        padding: var(--spacing-xl) 0;
    }
}

.section-title {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xl);
    font-size: clamp(1rem, 4vw, 1.2rem);
    padding: 0 var(--spacing-md);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
    padding: var(--spacing-lg) 0;
}

.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.hero-logo-img {
    width: 240px;
    height: auto;
    filter: none !important;
    box-shadow: none !important;
    margin-bottom: 0px;
}

.hero-title {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 10vw, 4.5rem);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 5vw, 1.4rem);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
}

.hero-image {
    display: none;
    /* Hidden on mobile, shown on desktop */
}

/* ===== DISCIPLINES SECTION ===== */
.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

@media (max-width: 767px) {
    .disciplines-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: var(--spacing-md);
        padding: var(--spacing-sm) var(--spacing-md) var(--spacing-lg);
        margin-left: calc(-1 * var(--spacing-md));
        margin-right: calc(-1 * var(--spacing-md));
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
        touch-action: pan-y;
        /* Allow vertical scrolling even when touching the carousel */
        overscroll-behavior-x: contain;
        /* Prevent the page from bouncing/navigating back when swiping carousel */
    }

    .disciplines-grid::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Edge */
    }
}

/* Carousel Indicators & Controls */
.carousel-controls-wrapper {
    display: none;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
}

@media (max-width: 767px) {
    .carousel-controls-wrapper {
        display: flex;
    }
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.carousel-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(232, 184, 212, 0.4);
    border-radius: 50%;
    width: 44px;
    /* Slightly larger */
    height: 44px;
    /* Slightly larger */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-pink);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    position: relative;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

.carousel-nav::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
}

.carousel-nav:active {
    transform: scale(0.9);
    background: var(--color-pink);
    color: var(--color-white);
}

.carousel-nav svg {
    width: 20px;
    height: 20px;
}

.carousel-nav.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-blue);
    opacity: 0.3;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-blue), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dot.active {
    opacity: 1;
    background: var(--color-pink);
    transform: scale(1.3);
}

.dot.active::after {
    opacity: 0.4;
    background: radial-gradient(circle, var(--color-pink), transparent);
}

.discipline-card {
    position: relative;
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    overflow: hidden;
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

@media (max-width: 767px) {
    .discipline-card {
        flex: 0 0 85vw;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        /* Force stop on each card for better control */
        margin: 0;
    }
}

.discipline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.discipline-card:hover .card-title {
    color: var(--color-accent);
}

.card-watercolor {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 0;
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}

.card-icon {
    width: 220px;
    height: 220px;
    margin: 0 auto var(--spacing-md) auto;
    z-index: 1;
    background: transparent;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    overflow: visible !important;
    overflow-clip-margin: 0 !important;
}

.card-title {
    font-family: var(--font-script);
    font-size: 2.1rem;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.card-description {
    color: #555555;
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.card-age {
    font-weight: 600;
    color: var(--color-accent);
    font-size: 0.8rem;
    position: relative;
    z-index: 1;
    background: rgba(200, 75, 75, 0.08);
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(200, 75, 75, 0.15);
}

/* ===== PLANNING SECTION ===== */
.planning {
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(184, 212, 232, 0.1) 100%);
}

.planning-wrapper {
    margin-top: var(--spacing-xl);
}

/* Desktop Planning Grid - Hidden on Mobile */
.planning-grid {
    display: none;
}

/* Mobile Planning Accordion */
.planning-mobile {
    display: block;
}

.day-accordion {
    background: var(--color-white);
    border-radius: 15px;
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.day-header {
    width: 100%;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-blue), var(--color-lavender));
    color: var(--color-white);
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.day-header .arrow {
    transition: transform 0.3s ease;
}

.day-header.active .arrow {
    transform: rotate(180deg);
}

.day-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.day-content.active {
    max-height: 1000px;
}

.mobile-class {
    padding: var(--spacing-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    padding-left: calc(var(--spacing-md) + 10px);
}

.mobile-class:last-child {
    border-bottom: none;
}

.mobile-class::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    border-radius: 0 5px 5px 0;
}

.mobile-class.blue::before {
    background: var(--color-blue);
}

.mobile-class.pink::before {
    background: var(--color-pink);
}

.mobile-class.green::before {
    background: var(--color-green);
}

.mobile-class.lavender::before {
    background: var(--color-lavender);
}

.mobile-class-time {
    font-weight: 600;
    color: var(--color-accent);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.mobile-class-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.mobile-class-age {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* Planning Legend */
.planning-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

.legend-color.blue {
    background: var(--color-blue);
}

.legend-color.pink {
    background: var(--color-pink);
}

.legend-color.green {
    background: var(--color-green);
}

.legend-color.lavender {
    background: var(--color-lavender);
}

/* ===== TARIFS SECTION ===== */
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

@media (max-width: 767px) {
    .tarifs-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: var(--spacing-md);
        padding: var(--spacing-sm) var(--spacing-md) var(--spacing-lg);
        margin-left: calc(-1 * var(--spacing-md));
        margin-right: calc(-1 * var(--spacing-md));
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        touch-action: pan-y;
        overscroll-behavior-x: contain;
    }

    .tarifs-grid::-webkit-scrollbar {
        display: none;
    }
}

.tarif-card {
    position: relative;
    background: var(--color-white);
    border-radius: 20px;
    padding: var(--spacing-lg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition);
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .tarif-card {
        flex: 0 0 85vw;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        margin: 0;
    }
}

.tarif-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.tarif-card.featured {
    border: 2px solid var(--color-pink);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, var(--color-pink), var(--color-lavender));
    color: var(--color-white);
    padding: 0.5rem 2.5rem;
    transform: rotate(45deg);
    font-size: 0.85rem;
    font-weight: 600;
}

.tarif-title {
    font-family: var(--font-script);
    font-size: 1.8rem;
    margin-bottom: var(--spacing-sm);
}

.tarif-price {
    margin-bottom: var(--spacing-md);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.period {
    color: var(--color-text-light);
    font-size: 1rem;
}

.tarif-features {
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.tarif-features li {
    padding: var(--spacing-xs) 0;
    position: relative;
    padding-left: 1.5rem;
}

.tarif-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.tarifs-extra {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.extra-info {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.extra-info.highlight {
    background: linear-gradient(135deg, rgba(184, 212, 232, 0.2), rgba(212, 184, 232, 0.2));
    border: 2px solid var(--color-lavender);
}

.extra-info h4 {
    font-family: var(--font-script);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(232, 184, 212, 0.1) 100%);
    position: relative;
    padding-bottom: var(--spacing-xl);
}

.contact-info-container {
    max-width: 1000px;
    margin: var(--spacing-xl) auto 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.info-item {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.info-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: transparent;
}

.contact-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.info-content h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-content p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===== ACTUALITÉS / SOCIAL SECTION ===== */
.actualites {
    background: linear-gradient(180deg, var(--color-bg) 0%, #f8f5f2 100%);
}

.social-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    max-width: 800px;
    margin: var(--spacing-xl) auto 0;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    border-radius: 20px;
    text-decoration: none;
    color: #3D3D3D;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
}

/* Instagram - Pastel version of signature gradient */
.social-card.instagram {
    background: linear-gradient(135deg,
            #D4A7C9 0%,
            /* Lavande rose */
            #E8B8D4 30%,
            /* Rose poudré */
            #F5D0C5 60%,
            /* Pêche doux */
            #F8E0B0 100%
            /* Doré pastel */
        );
}

/* Facebook - Pastel blue/lavender */
.social-card.facebook {
    background: linear-gradient(135deg,
            #A7B5D4 0%,
            /* Bleu lavande */
            #B8C5E0 50%,
            /* Bleu ciel doux */
            #C4D8C9 100%
            /* Vert menthe léger */
        );
}

.social-card-icon {
    width: 75px;
    height: 75px;
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.social-card-icon svg {
    width: 40px;
    height: 40px;
    color: #3D3D3D;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.social-card-title {
    font-family: var(--font-script);
    font-size: 2rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    text-shadow: none;
    font-weight: 500;
}

.social-card-handle {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;

}

.social-card-description {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;

}

.social-card-cta {
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 30px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.social-card:hover .social-card-cta {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(1.05);
}

/* Map Section */
.map-container {
    margin-top: var(--spacing-xl);
    text-align: center;
}

.map-title {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-lg);
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: var(--spacing-lg);
}

.map-wrapper iframe {
    display: block;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg);
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

.map-link {
    margin-top: var(--spacing-sm);
}

/* ===== FOOTER (Minimalist) ===== */
.footer {
    background: linear-gradient(135deg,
            rgba(167, 181, 212, 0.45) 0%,
            rgba(212, 167, 201, 0.45) 35%,
            rgba(232, 196, 216, 0.45) 50%,
            rgba(196, 216, 201, 0.45) 70%,
            rgba(167, 212, 184, 0.45) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #3D3D3D;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Organic Transition above footer */
.footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 40px;
    background: url('../images/watercolor-splash-pink.png') repeat-x center/auto 100%;
    filter: brightness(1.2) opacity(0.2);
    z-index: 1;
    transform: translateY(-50%) rotate(180deg);
}

.footer-minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .footer-minimal {
        flex-direction: row;
        gap: var(--spacing-xl);
    }
}

.footer-mini-logo {
    height: 50px;
    width: auto;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
}

.footer-mini-logo:hover {
    transform: scale(1.1) rotate(-5deg);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-info p {
    font-family: var(--font-script);
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.footer-credits {
    font-size: 0.85rem;
    opacity: 0.7;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* ===== TABLET STYLES (768px+) ===== */
@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

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

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

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

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
        align-items: start;
    }

    .footer-logo {
        align-items: start;
    }

    .footer-logo-img {
        margin: 0 0 var(--spacing-sm);
    }

    .footer-nav {
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .footer-social {
        text-align: right;
    }

    .social-links {
        justify-content: flex-end;
    }
}

/* ===== DESKTOP STYLES (1024px+) ===== */
@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        flex-direction: row;
        width: auto;
        height: auto;
        max-width: none;
        padding: 0;
        box-shadow: none;
        background: transparent;
        transition: none;
        z-index: auto;
    }

    .nav-menu li {
        padding: 0;
        margin-left: var(--spacing-md);
    }

    .nav-overlay {
        display: none;
    }

    .hero-image {
        display: none;
        /* Hidden as we now use a dancer background image */
        position: absolute;
        right: 10%;
        top: 50%;
        transform: translateY(-50%);
        width: 500px;
        height: auto;
    }

    .dancer-silhouette-img {
        width: 100%;
        height: auto;
        filter: drop-shadow(0 20px 40px rgba(184, 212, 232, 0.4));
        animation: dancerFloat 6s ease-in-out infinite;
    }

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

    .tarifs-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: var(--spacing-sm);
    }

    /* Show desktop planning grid */
    .planning-grid {
        display: block;
        background: var(--color-white);
        border-radius: 20px;
        overflow-x: auto;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    }

    .planning-mobile {
        display: none;
    }

    .planning-header {
        display: grid;
        grid-template-columns: 100px repeat(5, 1fr);
        background: linear-gradient(135deg, var(--color-blue), var(--color-lavender));
        color: var(--color-white);
        font-weight: 600;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    .planning-header>div {
        padding: var(--spacing-md);
        text-align: center;
        border-right: 1px solid rgba(255, 255, 255, 0.2);
    }

    .planning-header>div:last-child {
        border-right: none;
    }

    .time-slot {
        display: grid;
        grid-template-columns: 100px repeat(5, 1fr);
        min-height: 80px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .time-label {
        padding: var(--spacing-md);
        font-weight: 600;
        color: var(--color-text-light);
        display: flex;
        align-items: center;
        justify-content: center;
        border-right: 1px solid rgba(0, 0, 0, 0.05);
    }

    .slot-cell {
        padding: var(--spacing-xs);
        border-right: 1px solid rgba(0, 0, 0, 0.05);
        position: relative;
    }

    .slot-cell:last-child {
        border-right: none;
    }

    .class-block {
        padding: var(--spacing-sm);
        border-radius: 10px;
        font-size: 0.85rem;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        height: 100%;
        justify-content: center;
    }

    .class-block.blue {
        background: var(--color-blue);
    }

    .class-block.pink {
        background: var(--color-pink);
    }

    .class-block.green {
        background: var(--color-green);
    }

    .class-block.lavender {
        background: var(--color-lavender);
    }

    .class-block.double-height {
        grid-row: span 2;
    }

    .class-name {
        font-weight: 600;
        display: block;
    }

    .class-time {
        font-size: 0.75rem;
        opacity: 0.8;
        display: block;
    }

    .class-age {
        font-size: 0.75rem;
        font-style: italic;
        display: block;
    }
}

/* ===== LARGE DESKTOP (1200px+) ===== */
@media (min-width: 1200px) {
    .section-title {
        font-size: 3.5rem;
    }

    .hero-title {
        font-size: 4rem;
    }
}

/* ===== IMPROVED NAVIGATION (Glassmorphism) ===== */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.nav-link {
    position: relative;
    padding-bottom: 5px;
}

/* Watercolor Stroke Hover Effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 6px;
    background: url('../images/watercolor-splash-pink.png') center/cover;
    opacity: 0.6;
    transition: width 0.3s ease;
    border-radius: 10px;
    transform: skewX(-15deg);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--color-accent);
}

/* ===== IMPROVED HERO SECTION ===== */
.hero {
    /* Background handled in watercolor.css */
    position: relative;
}

/* Typography Improvements */
.text-highlight {
    font-family: var(--font-script);
    color: var(--color-accent);
    font-size: 1.2em;
    /* Slightly larger */
    position: relative;
    display: inline-block;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
}

/* Add a subtle underline decoration to highlighted text */
.text-highlight::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: -5px;
    right: -5px;
    height: 10px;
    background: rgba(232, 184, 212, 0.3);
    z-index: -1;
    border-radius: 20px;
    transform: rotate(-1deg);
}

/* Orbs animation - Adding floating elements */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
    animation: floatOrb 15s infinite ease-in-out;
}

.hero::before {
    width: 400px;
    height: 400px;
    background: rgba(135, 206, 235, 0.2);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.hero::after {
    width: 500px;
    height: 500px;
    background: rgba(255, 182, 193, 0.2);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

/* Remove old nav styles that conflict */
.nav-menu {
    background: transparent;
    /* Remove solid white */
}

/* Ensure mobile menu still has background */
@media (max-width: 1023px) {
    .nav-menu {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
    }
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--color-white);
    color: var(--color-accent);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-bg);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.back-to-top svg {
    width: 28px;
    height: 28px;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

@media (max-width: 767px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
    }
}

/* ===== SCROLL INDICATOR ===== */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-white);
    font-size: 0.85rem;
    opacity: 0.8;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    position: relative;
    backdrop-filter: blur(2px);
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 20px);
        opacity: 0;
    }
}

/* ===== HERO L'ENVOLÉE (PARALLAX) ===== */
.hero-envolee {
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-bg);
}

.hero-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('../images/hero-bg-watercolor-v1.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.85;
    z-index: 1;
    pointer-events: none;
    will-change: transform;
}

.hero-envolee .hero-container {
    position: relative;
    z-index: 5;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-envolee .hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.hero-logo-img {
    /* Styles handled in main hero block for consistency */
    mix-blend-mode: multiply;
}

.hero-school-name {
    font-family: var(--font-script);
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-xs);
}

.hero-envolee .hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

.hero-envolee .hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.hero-image-parallax {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60%;
    max-width: 800px;
    z-index: 3;
    pointer-events: none;
    will-change: transform;
}

.hero-image-parallax img {
    width: 100%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.hero-scroll-indicator span {
    letter-spacing: 5px;
    font-weight: 600;
    font-family: var(--font-main);
    opacity: 0.6;
}

@media (max-width: 991px) {
    .hero-envolee {
        text-align: center;
    }

    .hero-envolee .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-image-parallax {
        width: 100%;
        right: 0;
        top: 60%;
        opacity: 0.5;
    }
}

/* ===== TEAM SECTION ===== */
.team-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.team-bio-card {
    position: relative;
    padding: var(--spacing-xl);
    border-radius: 30px;
    background: var(--color-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.bio-watercolor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

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

.bio-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.bio-portrait {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--color-white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.bio-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-title h3 {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: var(--color-accent);
    margin-bottom: 5px;
}

.bio-meta {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bio-text p {
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.team-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(232, 184, 212, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay span {
    color: var(--color-white);
    font-family: var(--font-script);
    font-size: 1.8rem;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

.gallery-item:first-child {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.testimonial-card {
    position: relative;
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

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

.quote-icon {
    font-family: serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text);
}

.testimonial-footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-author {
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-info {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-layout {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .gallery-item:first-child {
        grid-column: span 2;
        aspect-ratio: 16/9;
    }

    .team-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* =========================================
   Mobile Sticky Call Button
   ========================================= */
/* =========================================
   Mobile Sticky Call Button
   ========================================= */
/* Button removed per user request */

.contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.lightbox-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.lightbox-content {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    pointer-events: auto;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: 0.3s;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--color-pink);
    transform: scale(1.1);
}

.lightbox-caption {
    color: #fff;
    font-family: var(--font-script);
    font-size: 2rem;
    margin-top: 20px;
    text-align: center;
    pointer-events: auto;
}

.gallery-item {
    cursor: pointer;
}

/* ===== ORGANIC MICRO-INTERACTIONS ===== */

/* Glassy Hover Effect for Cards */
.discipline-card,
.tarif-card,
.team-bio-card {
    transition: var(--transition-organic);
}

.discipline-card:hover,
.tarif-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(232, 184, 212, 0.2);
}

/* Pulse animation for CTA */
@keyframes pulse-soft {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(232, 184, 212, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(232, 184, 212, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(232, 184, 212, 0);
    }
}

.btn-primary {
    transition: var(--transition-organic);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: scale(1.05);
    letter-spacing: 2px;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease-out;
    pointer-events: none;
}

.btn-primary:active::after {
    transform: scale(1);
}

/* Floating Animation for icons */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.discipline-icon img {
    animation: float 4s ease-in-out infinite;
}

/* Text Selection Color */
::selection {
    background-color: var(--color-pink);
    color: var(--color-white);
}