/* === SQUAT972 — Frontend CSS === */

:root {
    --primary: #f55258;
    --primary-dark: #e04444;
    --primary-light: rgba(245,82,88,0.1);
    --dark: #1a1a2e;
    --darker: #0f0f1a;
    --light: #f8f9fa;
    --white: #fff;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --border: #e0e0e0;
    --shadow: 0 2px 15px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --radius: 12px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Montserrat', var(--font);
    --max-width: 1200px;
    --transition: all 0.3s ease;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER / NAV ===== */
.site-header {
    background: var(--dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    gap: 5px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2px;
    align-items: center;
}

.nav-menu li {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.nav-menu a {
    color: #ccc;
    padding: 8px clamp(4px, 0.7vw, 14px);
    border-radius: 6px;
    font-size: clamp(10px, 1.05vw, 14px);
    font-weight: 500;
    display: inline-block;
    transition: color 0.3s ease, transform 0.3s ease;
    transform-origin: center center;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: none;
    transform: scale(1.12);
}

.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    margin-left: auto;
}

/* ===== DROPDOWN SUBMENUS ===== */
.has-dropdown {
    position: relative;
}

.has-dropdown > a::after {
    content: ' \25BE';
    font-size: 10px;
    margin-left: 4px;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    min-width: 220px;
    list-style: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    z-index: 1001;
    padding: 8px 0;
}

.has-dropdown:hover > .dropdown {
    display: block;
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: #ccc;
    font-size: 13px;
    white-space: nowrap;
    border-radius: 0;
}

.dropdown li a:hover {
    color: var(--primary);
    background: rgba(255,255,255,0.05);
}

/* ===== HERO ===== */
.hero {
    background: url('../images/fond-header-squat.jpg') center 25% / cover no-repeat;
    color: #fff;
    padding: 120px 0 100px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
    z-index: 0;
}

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

.hero h1 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 0 15px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(245,82,88,0.3);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: #fff;
    color: #fff;
}

.btn-dark {
    background: var(--dark);
    color: #fff;
}

/* ===== RED LINE SEPARATOR ===== */
.red-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* ===== PROMO GRID (SCREEN2) ===== */
.promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ===== ESPACES INTRO (SCREEN3) ===== */
.espaces-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.espaces-intro-left h2 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
}

.espaces-intro-left .red-line {
    margin-bottom: 25px;
}

.espaces-intro-left p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    text-align: justify;
}

.espaces-list {
    list-style: none;
    padding-top: 20px;
}

.espaces-list li {
    margin-bottom: 18px;
}

.espaces-list li a {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.espaces-list li a::before {
    content: '\203A';
    color: var(--primary);
    font-size: 22px;
    font-weight: 700;
}

.espaces-list li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

/* ===== VIDEO GRID (SCREEN4) ===== */
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== GALERIE (SCREEN4) ===== */
.galerie-section {
    background: url('../images/fond-galerie.jpg') center center / cover no-repeat;
    position: relative;
    padding: 60px 0;
}

.galerie-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.75);
}

.galerie-section .container {
    position: relative;
    z-index: 1;
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.galerie-item {
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/3;
}

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

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

/* ===== ABONNEMENT CARDS (SCREEN5) ===== */
.abo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.abo-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.abo-card-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.abo-card-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.85) 60%);
}

.abo-card-content {
    position: relative;
    z-index: 1;
    padding: 25px;
    color: #fff;
}

.abo-card-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.abo-price {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 15px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}

.abo-price span {
    font-size: 16px;
    font-weight: 400;
}

.abo-label {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
}

.abo-features {
    list-style: none;
    margin-bottom: 10px;
}

.abo-features li {
    padding: 5px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.abo-features li::before {
    content: '\2713 ';
    color: var(--primary);
    font-weight: bold;
    margin-right: 5px;
}

.abo-conditions {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
    line-height: 1.4;
}

.abo-card.highlight {
    box-shadow: 0 0 0 2px var(--primary);
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--light);
}

.section-dark {
    background: var(--dark);
    color: #fff;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    font-size: 18px;
}

.section-dark .section-title p {
    color: rgba(255,255,255,0.6);
}

/* ===== SPACE CARDS ===== */
.spaces-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.spaces-grid .space-card {
    width: calc(25% - 19px);
}

.space-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.space-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.space-card-body {
    padding: 20px;
}

.space-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.space-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

.space-card .btn {
    margin-top: 15px;
    font-size: 13px;
    padding: 8px 20px;
}

/* ===== PRODUCT CARDS ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-card-body {
    padding: 18px;
}

.product-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.product-card .category {
    font-size: 12px;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 600;
}

.product-card .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 10px;
}

/* ===== PRICING ===== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card.highlight {
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.highlight::before {
    content: 'Recommandé';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.pricing-price {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 5px;
}

.pricing-price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-light);
}

.pricing-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 25px;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid var(--light);
    font-size: 14px;
}

.pricing-features li::before {
    content: '✓ ';
    color: var(--primary);
    font-weight: bold;
}

.pricing-conditions {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 15px;
}

/* ===== BLOG ===== */
.blog-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.blog-grid .blog-card {
    width: calc(33.333% - 17px);
}

.blog-card {
    display: block;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-body {
    padding: 20px;
}

.blog-card .date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.blog-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== ARTICLE ===== */
.article {
    max-width: 800px;
    margin: 0 auto;
}

.article h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.article .meta {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 14px;
}

.article .content {
    font-size: 16px;
    line-height: 1.8;
}

.article .content h2 { font-size: 26px; margin: 30px 0 15px; }
.article .content h3 { font-size: 22px; margin: 25px 0 12px; }
.article .content p { margin-bottom: 15px; }
.article .content img { border-radius: var(--radius); margin: 20px 0; }
.article .content ul, .article .content ol { margin: 15px 0; padding-left: 25px; }
.article .content li { margin-bottom: 8px; }

/* ===== PLANNING ===== */
.planning-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.planning-table th {
    background: var(--dark);
    color: #fff;
    padding: 15px 10px;
    font-size: 14px;
    font-weight: 600;
}

.planning-table td {
    padding: 10px;
    border: 1px solid var(--border);
    vertical-align: top;
    font-size: 13px;
    min-width: 130px;
}

.planning-slot {
    background: var(--primary-light);
    border-left: 3px solid var(--primary);
    padding: 6px 8px;
    border-radius: 4px;
    margin-bottom: 5px;
}

.planning-slot .time {
    font-weight: 600;
    font-size: 12px;
}

.planning-slot .name {
    font-weight: 700;
    font-size: 13px;
    color: var(--primary);
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.contact-item {
    margin-bottom: 20px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font);
    font-size: 14px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245,82,88,0.1);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===== LIGHTBOX (galerie) ===== */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.lightbox-overlay.active { display: flex; }

.lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px; right: 30px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10000;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.3s;
    z-index: 10000;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* ===== CLASS MODAL (planning) ===== */
.class-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9998;
    align-items: center;
    justify-content: center;
}
.class-modal-overlay.active,
.class-modal-overlay.closing { display: flex; }

@keyframes modalBounceIn {
    0%   { opacity: 0; transform: scale(0.3); }
    50%  { opacity: 1; transform: scale(1.08); }
    70%  { transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes modalBounceOut {
    0%   { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.4); }
}

.class-modal-overlay.active .class-modal {
    animation: modalBounceIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.class-modal-overlay.closing .class-modal {
    animation: modalBounceOut 0.25s ease-in forwards;
}

.class-modal {
    background: #fff;
    border-radius: var(--radius);
    padding: 35px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
    position: relative;
    text-align: center;
    opacity: 0;
    transform: scale(0.3);
}

/* ===== PLANNING FILTER BAR ===== */
.planning-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    padding: 14px 0 8px;
}

.planning-filter-btn {
    padding: 5px 12px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.planning-filter-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.5);
}

.planning-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.planning-cell.filter-dimmed {
    opacity: 0.2;
}

.class-modal h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
    text-align: center;
}

.class-modal-line {
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.class-modal p {
    line-height: 1.7;
    color: var(--text);
}

.class-modal-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 28px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}
.class-modal-close:hover { color: var(--text); }

/* ===== PLANNING HEADER ===== */
.planning-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    background: #333;
    padding: 14px 25px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 8px 8px 0 0;
}

.planning-header-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.planning-header-title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(14px, 2.5vw, 26px);
    font-weight: 800;
    font-style: italic;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ===== PLANNING IMAGE-BASED ===== */
.planning-img-table {
    background: transparent;
    box-shadow: none;
    border-collapse: separate;
    border-spacing: 4px;
}

.planning-img-table th {
    background: var(--primary);
    color: #fff;
    padding: 12px 8px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px 6px 0 0;
}

.planning-img-table td {
    background: rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.08);
    vertical-align: top;
    padding: 6px;
    min-width: 140px;
}

.planning-cell {
    margin-bottom: 6px;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease, opacity 0.4s ease;
}

.planning-cell:hover {
    transform: scale(1.05);
}

.planning-time {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.planning-class-img {
    width: 100%;
    max-width: 160px;
    height: auto;
    margin: 0 auto;
    border-radius: 4px;
    display: block;
}

.planning-class-text {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(0,0,0,0.5);
    padding: 6px 4px;
    border-radius: 4px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--darker);
    color: rgba(255,255,255,0.6);
    padding: 50px 0 20px;
}

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

.footer-col h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-banner {
    width: 100%;
    margin-bottom: 30px;
}

.footer-banner img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    padding: 15px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs span {
    margin: 0 8px;
}

/* ===== PAGE BANNER ===== */
.page-banner {
    background: linear-gradient(135deg, var(--dark) 0%, #16213e 100%);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.page-banner h1 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
}

.page-banner p {
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
    font-size: 16px;
}

.planning-banner {
    margin-bottom: 20px;
}

.planning-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== CATEGORY FILTER ===== */
.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-bar a {
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border);
    color: var(--text);
}

.filter-bar a:hover,
.filter-bar a.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 14px;
}

.pagination span.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ===== 404 ===== */
.page-404 {
    text-align: center;
    padding: 100px 20px;
}

.page-404 h1 {
    font-size: 100px;
    color: var(--primary);
    font-weight: 800;
}

.page-404 p {
    font-size: 20px;
    color: var(--text-light);
    margin: 15px 0 30px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
    .nav-container {
        padding: 0 10px;
        justify-content: flex-start;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 0;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    }

    .nav-menu.open { display: flex; }
    .nav-toggle { display: block; }

    .nav-menu li {
        display: block;
        text-align: center;
    }

    .nav-menu a {
        font-size: 15px;
        padding: 12px 20px;
        display: block;
    }

    .has-dropdown > a::after {
        content: ' \25BE';
        display: inline;
        font-size: 14px;
        margin-left: 6px;
        opacity: 0.5;
        transition: transform 0.3s ease;
    }

    .has-dropdown.open > a::after {
        display: inline;
        content: ' \25B4';
    }

    .has-dropdown {
        display: block;
        width: 100%;
    }

    .dropdown {
        position: static;
        display: none;
        transform: none;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        border-radius: 8px;
        min-width: auto;
        width: 100%;
        text-align: center;
        padding: 5px 0;
        margin-top: 0;
    }

    .dropdown li a {
        padding: 8px 20px;
        font-size: 14px;
    }

    .has-dropdown.open > .dropdown {
        display: block;
    }

    .has-dropdown:hover > .dropdown {
        display: none;
    }

    .has-dropdown.open:hover > .dropdown {
        display: block;
    }

    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .hero { padding: 60px 0 50px; text-align: center; }
    .hero p { margin: 0 auto 15px; }

    .promo-grid { grid-template-columns: 1fr; }
    .espaces-intro { grid-template-columns: 1fr; gap: 30px; }
    .video-grid { grid-template-columns: 1fr; }
    .galerie-grid { grid-template-columns: repeat(2, 1fr); }
    .abo-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

    .section { padding: 50px 0; }
    .section-title h2 { font-size: 28px; }

    .contact-grid { grid-template-columns: 1fr; }

    .pricing-card.highlight { transform: none; }

    .page-banner h1 { font-size: 28px; }
    .page-banner { padding: 35px 0; }

    .spaces-grid .space-card { width: calc(50% - 13px); }
    .blog-grid .blog-card { width: calc(50% - 13px); }

    .planning-table { display: block; overflow-x: auto; }

    /* Homepage motivation grid stacks on mobile */
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 700px) {
    .planning-section .container {
        padding: 20px 5px;
    }
    .planning-header {
        gap: 8px;
        padding: 8px 10px;
    }
    .planning-header-logo {
        width: 30px;
        height: 30px;
    }
    .planning-header-title {
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    .planning-img-table {
        border-spacing: 1px;
        width: 100%;
        table-layout: fixed;
    }
    .planning-img-table th {
        padding: 4px 1px;
        font-size: 8px;
        letter-spacing: 0;
        border-radius: 3px 3px 0 0;
    }
    .planning-img-table td {
        padding: 1px;
        min-width: 0;
    }
    .planning-cell {
        margin-bottom: 1px;
    }
    .planning-time {
        font-size: 7px;
        margin-bottom: 0;
    }
    .planning-class-img {
        max-width: 100%;
        border-radius: 2px;
    }
    .planning-class-text {
        font-size: 7px;
        padding: 2px 1px;
    }
    .planning-filter-bar {
        gap: 3px;
        padding: 10px 0 6px;
    }
    .planning-filter-btn {
        padding: 4px 8px;
        font-size: 9px;
        border-width: 1px;
    }

    /* Modal mobile */
    .class-modal {
        padding: 20px 15px;
        max-width: 90%;
        width: 95%;
    }
    .class-modal h3 {
        font-size: 18px;
    }
    .class-modal p {
        font-size: 13px;
    }
    .class-modal-close {
        top: 8px;
        right: 12px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 26px; }
    .spaces-grid .space-card { width: 100%; }
    .blog-grid .blog-card { width: 100%; }
    .products-grid { grid-template-columns: 1fr 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
