/*
Theme Name: Astra Child - My Volley Spot
Template: astra
Description: Child theme for My Volley Spot
Author: Master Spot Volley
Version: 1.0.0
Text Domain: astra-child
*/

/* ==================== VARIABLES ==================== */
:root {
    --primary-blue: #2F37A5;
    --primary-blue-dark: #283593;
    --primary-blue-light: #5C6BC0;
    --secondary-gold: #FFB300;
    --secondary-gold-dark: #FF8F00;
    --accent-green: #66BB6A;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --text-dark: #212121;
    --text-light: #666666;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
    --shadow-xl: 0 16px 60px rgba(0,0,0,0.2);
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

/* ==================== SCROLL ANIMATIONS ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: var(--transition);
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: var(--transition);
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Delay classes for staggered animations */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

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

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 900;
    font-size: 1.375rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 8px rgba(57, 73, 171, 0.3));
}

.logo span {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-blue) 55%, var(--secondary-gold) 100%);
    /*background: var(--primary-blue);*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
footer .logo span {
    background: linear-gradient(90deg, var(--white) 0%, var(--white) 55%, var(--secondary-gold) 100%);
    /*background: var(--primary-blue);*/
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-logo{
    height:42px;
    width:auto;
    display:block;
    border-radius: 100px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-light));
    transition: width 0.3s ease;
}

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

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

.nav-cta {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(57, 73, 171, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(57, 73, 171, 0.4);
}

.nav-cta::after {
    display: none;
}

.mobile-toggle {
    display: none;
}

/* ==================== HERO PRO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 10rem 2.5rem 6rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 179, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-gold);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero h1 {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: white;
}

.hero .highlight {
    background: linear-gradient(135deg, var(--secondary-gold), #FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1.25rem;
}

.btn {
    padding: 1.125rem 2.5rem;
    font-weight: 700;
    font-size: 1.0625rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--secondary-gold);
    color: var(--text-dark);
    box-shadow: 0 4px 24px rgba(255, 179, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 179, 0, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Hero Visual with 3D effect */
.hero-visual {
    position: relative;
    perspective: 1200px;
}

.phone-mockup {
    width: 320px;
    height: 640px;
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border-radius: 50px;
    padding: 14px;
    box-shadow: var(--shadow-xl);
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    margin: 0 auto;
}

.phone-mockup:hover {
    transform: rotateY(-10deg) rotateX(5deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #2f37a4;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
}

.screen-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* ==================== STATS COUNTER ==================== */
.stats {
    padding: 5rem 2.5rem;
    background: var(--white);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--gray-100);
    border-radius: 24px;
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue-light));
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue-light);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    line-height: 1;
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.0625rem;
}

/* ==================== SECTION COMMUNE PRO ==================== */
.section {
    padding: 7rem 2.5rem;
    position: relative;
}

.section-white {
    background: var(--white);
}

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

.section-blue {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
}

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

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: rgba(57, 73, 171, 0.1);
    color: var(--secondary-gold);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
}

.section-blue .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--secondary-gold);
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.1875rem;
    color: var(--text-light);
    line-height: 1.7;
}

.section-blue .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.section-blue h2 {
    color: white;
}

/* ==================== FEATURES GRID PRO ==================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(57, 73, 171, 0.05), rgba(92, 107, 192, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-blue-light);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.75rem;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(57, 73, 171, 0.2));
    text-align: center;
}

.feature-title {
    font-size: 1.625rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    font-weight: 700;
}

.feature-text {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    font-size: 1.0625rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-list li {
    transform: translateX(8px);
}

.feature-list li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: 900;
    font-size: 1.375rem;
    flex-shrink: 0;
}

/* ==================== SPOT CONNECT PRO ==================== */
.qr-showcase {
    max-width: 500px;
    margin: 0 auto 4rem;
    background: var(--white);
    color: var(--text-dark);
    padding: 3.5rem;
    border-radius: 32px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.qr-icon {
    font-size: 7rem;
    margin-bottom: 1.5rem;
    animation: float 4s ease-in-out infinite;
}

.qr-showcase h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.qr-showcase p {
    color: var(--text-light);
    font-size: 1.0625rem;
}

.spot-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.step {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.step:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--secondary-gold);
    color: var(--text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 2rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(255, 179, 0, 0.4);
}

.step h4 {
    margin-bottom: 0.875rem;
    font-size: 1.375rem;
}

.step p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.0625rem;
}

/* ==================== PMR & DISCIPLINES ==================== */
.pmr-grid,
.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.pmr-card,
.discipline-card {
    background: var(--gray-100);
    padding: 1.5rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
}

.pmr-card:hover,
.discipline-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue-light);
}

.pmr-icon,
.discipline-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.pmr-card h3,
.discipline-card h4 {
    font-size: 1.375rem;
    margin-bottom: 0.875rem;
}

.pmr-card p,
.discipline-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* ==================== PARTNERS PRO ==================== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
}

.partner-card {
    background: var(--gray-100);
    padding: 10px !important;
    border-radius: 24px;
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
}

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

.partner-logo {
    width: 140px;
    height: 140px;
    background: white;
    color: var(--white);
    border-radius: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1.75rem;
    box-shadow: 0 8px 24px rgba(57, 73, 171, 0.3);
}

.partner-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.partner-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.0625rem;
}

/* ==================== CTA / NEWSLETTER PRO ==================== */
.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-form {
    display: flex;
    gap: 1.25rem;
    margin-top: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-input {
    flex: 1;
    padding: 1.25rem 2rem;
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-size: 1.0625rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(57, 73, 171, 0.1);
}

.newsletter-btn {
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.0625rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(57, 73, 171, 0.3);
}

.newsletter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(57, 73, 171, 0.4);
}

.success-msg {
    display: none;
    margin-top: 1.5rem;
    padding: 1.25rem 2rem;
    background: rgba(102, 187, 106, 0.1);
    color: var(--accent-green);
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.0625rem;
}

.success-msg.show {
    display: block;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== FOOTER PRO ==================== */
.footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    padding: 5rem 2.5rem 2.5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin: 1.25rem 0;
    line-height: 1.7;
    font-size: 1.0625rem;
}

.social-links {
    display: flex;
    gap: 1.25rem;
    margin-top: 2rem;
}

.social-links a {
    color: white;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1.25rem;
}

.social-link:hover {
    background: var(--secondary-gold);
    border-color: var(--secondary-gold);
    transform: translateY(-5px);
    color: var(--primary-blue);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary-gold);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

/* ==================== BACK TO TOP PRO ==================== */
.back-to-top {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(57, 73, 171, 0.4);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(57, 73, 171, 0.5);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

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

    .spot-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .section {
        padding: 5rem 1.5rem;
    }

    .hero {
        padding: 8rem 1.5rem 4rem;
    }

    .phone-mockup {
        width: 280px;
        height: 560px;
    }

    .newsletter-form {
        flex-direction: column;
    }

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

    .features-grid,
    .pmr-grid,
    .disciplines-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }
}


/* Fix navbar avec barre admin WordPress */
body.admin-bar .navbar {
    top: 32px; /* Hauteur barre admin desktop */
}

/* Mobile */
@media screen and (max-width: 782px) {
    body.admin-bar .navbar {
        top: 46px; /* Hauteur barre admin mobile */
    }
}

/* Ajuster le scroll offset pour les ancres */
body.admin-bar {
    scroll-padding-top: calc(80px + 32px); /* navbar + admin bar */
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        scroll-padding-top: calc(80px + 46px);
    }
}


/* ==================== APP SLIDER ==================== */
.app-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 40px;
}

.app-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 40px;
}

.app-slider .slide.active {
    opacity: 1;
    z-index: 1;
}

/* Slider Dots (indicateurs) */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: var(--secondary-gold);
    width: 24px;
    border-radius: 4px;
}

.slider-dots .dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* ==================== MOBILE MENU ==================== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

body.menu-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    /* Afficher le hamburger */
    .mobile-toggle {
        display: flex !important;
        position: relative !important;
        z-index: 1001 !important;
    }

    /* Cacher les liens desktop */
    .nav-links {
        display: flex !important; /* IMPORTANT: flex pas none ! */
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background: white !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        padding: 100px 2rem 2rem !important;
        margin: 0 !important;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1) !important;
        transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55) !important;
        z-index: 1000 !important;
        gap: 0 !important;
        list-style: none !important;
    }

    /* Menu ouvert */
    .nav-links.active {
        right: 0 !important;
    }

    /* Chaque item de la liste */
    .nav-links li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    /* Chaque lien */
    .nav-link {
        display: block !important;
        width: 100% !important;
        padding: 1.25rem 0 !important;
        color: var(--text-dark) !important;
        font-size: 1.125rem !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        border-bottom: 1px solid var(--gray-200) !important;
        text-align: left !important;
    }

    /* Bouton CTA */
    .nav-cta {
        display: block !important;
        width: 100% !important;
        margin-top: 1.5rem !important;
        padding: 1rem 2rem !important;
        text-align: center !important;
        background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark)) !important;
        color: white !important;
        border-radius: 50px !important;
        text-decoration: none !important;
        border: none !important;
        box-shadow: none !important;
    }

    .nav-link::after {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .phone-mockup {
        width: 240px !important;
        height: 480px !important;
    }

    .hero h1 {
        font-size: 2rem !important;
    }
}

/* ==================== HERO MOBILE OPTIMISÉ ==================== */

@media (max-width: 768px) {
    /* Hero général */
    .hero {
        padding: 7rem 1.5rem 4rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

    .hero-badge {
        font-size: 0.8125rem;
        padding: 0.625rem 1.25rem;
        margin-bottom: 1.5rem;
    }

    /* Boutons CTA */
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        width: 100%;
        max-width: 340px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        padding: 1.125rem 2rem;
        font-size: 1.0625rem;
        font-weight: 700;
        justify-content: center;
        border-radius: 50px;
    }

    /* Bouton principal (doré) */
    .btn-primary {
        background: var(--secondary-gold);
        color: var(--text-dark);
        box-shadow: 0 6px 20px rgba(255, 179, 0, 0.4);
        border: none;
    }

    .btn-primary:active {
        transform: translateY(2px);
        box-shadow: 0 3px 12px rgba(255, 179, 0, 0.3);
    }

    /* Bouton secondaire (blanc transparent) */
    .btn-secondary {
        background: rgba(255, 255, 255, 0.18);
        color: var(--white);
        border: 2px solid rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(12px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    }

    .btn-secondary:active {
        transform: translateY(2px);
        background: rgba(255, 255, 255, 0.25);
    }

    /* Masquer les icônes → sur mobile si trop chargé */
    .btn span:last-child {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.9375rem;
    }

    .hero-cta {
        max-width: 300px;
    }

    .btn {
        padding: 1rem 1.75rem;
        font-size: 1rem;
    }
}


/* ==================== PAGES STANDARD - CSS ADDITIONNEL ==================== */

/* ==================== PAGE CONTENT GÉNÉRAL ==================== */
.page-content {
    min-height: 60vh;
    padding-top: 80px;
}

body.admin-bar .page-content {
    padding-top: calc(80px + 32px);
}

/* ==================== HERO SIMPLE (PAGES INTERNES) ==================== */
.hero-simple {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    padding: 8rem 2.5rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-simple::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-simple-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-simple h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 900;
    color: white;
}

.hero-simple p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-simple .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9375rem;
    opacity: 0.9;
}

.hero-simple .breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.hero-simple .breadcrumb a:hover {
    opacity: 0.7;
}

.hero-simple .breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* ==================== SECTION CONTENT (PAGES) ==================== */
.content-section {
    padding: 6rem 2.5rem;
    background: var(--white);
}

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

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

.content-container h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-weight: 800;
}

.content-container h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    font-weight: 700;
}

.content-container h4 {
    font-size: 1.375rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.content-container p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.content-container p strong {
    color: var(--text-dark);
    font-weight: 700;
}

.content-container ul,
.content-container ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.content-container ul li,
.content-container ol li {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.content-container ul li::marker {
    color: var(--primary-blue);
}

.content-container a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.content-container a:hover {
    border-bottom-color: var(--primary-blue);
}

.content-container blockquote {
    border-left: 4px solid var(--secondary-gold);
    background: var(--gray-100);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    border-radius: 8px;
}

.content-container blockquote p {
    font-size: 1.1875rem;
    font-style: italic;
    color: var(--text-dark);
    margin: 0;
}

.content-container .highlight-box {
    background: linear-gradient(135deg, rgba(47, 55, 165, 0.05), rgba(92, 107, 192, 0.05));
    border: 2px solid var(--primary-blue-light);
    border-radius: 16px;
    padding: 2rem;
    margin: 2.5rem 0;
}

.content-container .highlight-box h3 {
    margin-top: 0;
    color: var(--primary-blue);
}

/* ==================== CTA BOX (PAGES) ==================== */
.cta-box {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: var(--white);
    padding: 4rem 2.5rem;
    text-align: center;
    border-radius: 24px;
    margin: 4rem auto;
    max-width: 900px;
    box-shadow: var(--shadow-lg);
}

.cta-box h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.25rem;
    color: white;
}

.cta-box p {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.cta-box .btn {
    background: var(--secondary-gold);
    color: var(--text-dark);
    padding: 1.125rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(255, 179, 0, 0.4);
}

.cta-box .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 179, 0, 0.5);
}

/* ==================== RESPONSIVE (PAGES) ==================== */
@media screen and (max-width: 782px) {
    body.admin-bar .page-content {
        padding-top: calc(80px + 46px);
    }
}

@media (max-width: 768px) {
    .hero-simple {
        padding: 6rem 1.5rem 4rem;
    }

    .hero-simple h1 {
        font-size: 2rem;
    }

    .hero-simple p {
        font-size: 1rem;
    }

    .content-section {
        padding: 4rem 1.5rem;
    }

    .content-container h2 {
        font-size: 1.75rem;
    }

    .content-container h3 {
        font-size: 1.375rem;
    }

    .content-container p,
    .content-container ul li,
    .content-container ol li {
        font-size: 1rem;
    }

    .cta-box {
        padding: 3rem 1.5rem;
        margin: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-simple h1 {
        font-size: 1.75rem;
    }

    .content-container {
        padding: 0 1rem;
    }

    .content-container blockquote {
        padding: 1rem 1.5rem;
    }
}

/* ==================== PAGES STANDARD - CSS ADDITIONNEL ==================== */
/* À COPIER-COLLER À LA FIN DE style.css */

/* ==================== HERO SIMPLE (PAGES INTERNES) ==================== */
.hero-simple {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    padding: 8rem 2.5rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-simple::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-simple-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-simple h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 900;
    color: white;
}

.hero-simple p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.hero-simple .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9375rem;
    opacity: 0.9;
}

.hero-simple .breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.hero-simple .breadcrumb a:hover {
    opacity: 0.7;
}

.hero-simple .breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

/* ==================== SECTION CONTENT (PAGES) ==================== */
.content-section {
    padding: 2rem 1.5rem;
    background: var(--white);
}

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

.content-container {
    max-width: 1100px !important;
    margin: 0 auto;
}

.content-container h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    font-weight: 800;
}

.content-container h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
    font-weight: 700;
}

.content-container h4 {
    font-size: 1.375rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.content-container p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.content-container p strong {
    color: var(--text-dark);
    font-weight: 700;
}

.content-container ul,
.content-container ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.content-container ul li,
.content-container ol li {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.content-container ul li::marker {
    color: var(--primary-blue);
}

.content-container a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.content-container a:hover {
    border-bottom-color: var(--primary-blue);
}

.content-container .highlight-box {
    background: linear-gradient(135deg, rgba(47, 55, 165, 0.05), rgba(92, 107, 192, 0.05));
    border: 2px solid var(--primary-blue-light);
    border-radius: 16px;
    padding: 2rem;
    margin: 2.5rem 0;
}

.content-container .highlight-box h3 {
    margin-top: 0;
    color: var(--primary-blue);
}

/* ==================== CTA BOX (PAGES) ==================== */
.cta-box {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    color: var(--white);
    padding: 4rem 2.5rem;
    text-align: center;
    border-radius: 24px;
    margin: 4rem auto;
    max-width: 900px;
    box-shadow: var(--shadow-lg);
}

.cta-box h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.25rem;
    color: white;
}

.cta-box p {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    color: white;
}

.cta-box .btn {
    background: var(--secondary-gold);
    color: var(--text-dark);
    padding: 1.125rem 2.5rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(255, 179, 0, 0.4);
}

.cta-box .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 179, 0, 0.5);
}

/* ==================== TEAM GRID (PAGE À PROPOS) ==================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue-light);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 900;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 24px rgba(57, 73, 171, 0.3);
}

.team-card h4 {
    font-size: 1.375rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.team-role {
    color: var(--secondary-gold);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ==================== VALUES GRID (PAGE À PROPOS) ==================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--gray-100);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.value-card h4 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ==================== RESPONSIVE (PAGES) ==================== */
@media screen and (max-width: 782px) {
    body.admin-bar .page-content {
        padding-top: calc(80px + 46px);
    }
}

@media (max-width: 768px) {
    .hero-simple {
        padding: 6rem 1.5rem 4rem;
    }

    .hero-simple h1 {
        font-size: 2rem;
    }

    .hero-simple p {
        font-size: 1rem;
    }

    .content-section {
        padding: 4rem 1.5rem;
    }

    .content-container h2 {
        font-size: 1.75rem;
    }

    .content-container h3 {
        font-size: 1.375rem;
    }

    .content-container p,
    .content-container ul li,
    .content-container ol li {
        font-size: 1rem;
    }

    .cta-box {
        padding: 3rem 1.5rem;
        margin: 3rem 1rem;
    }

    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-simple h1 {
        font-size: 1.75rem;
    }

    .content-container {
        padding: 0 1rem;
    }

    .team-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}

/* ==================== BLOG SYSTEM - CSS COMPLET ==================== */
/* À COPIER-COLLER À LA FIN DE /wp-content/themes/astra-child/style.css */

/* ==================== BLOG GRID & CARDS ==================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

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

.blog-thumbnail {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
}

.blog-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-category {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--primary-blue);
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-read-more {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.blog-read-more:hover {
    gap: 0.75rem;
}

/* ==================== BLOG LAYOUT (GRID + SIDEBAR) ==================== */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    margin-top: 3rem;
}

/* ==================== SIDEBAR ==================== */
.blog-sidebar {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    margin-bottom: 2rem;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-blue);
}

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    margin-bottom: 1rem;
}

.sidebar-list a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    justify-content: space-between;
}

.sidebar-list a:hover {
    color: var(--primary-blue);
}

/* ==================== PAGINATION ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 4rem;
}

.pagination a,
.pagination span {
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    background: white;
    border: 2px solid var(--gray-200);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.pagination .current {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* ==================== NO POSTS MESSAGE ==================== */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-light);
}

.no-posts h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* ==================== ARTICLE SINGLE ==================== */
.article-header {
    text-align: center;
    padding: 3rem 0 2rem;
}

.article-category {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.article-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-light);
    font-size: 0.9375rem;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-featured-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    margin: 3rem 0;
    box-shadow: var(--shadow-lg);
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-light);
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

.article-content ul,
.article-content ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
}

.article-content blockquote {
    border-left: 4px solid var(--secondary-gold);
    background: var(--gray-100);
    padding: 1.5rem 2rem;
    margin: 2.5rem 0;
    border-radius: 8px;
    font-style: italic;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--gray-200);
}

.tag {
    background: var(--gray-100);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-blue);
    color: white;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--gray-100);
    padding: 2.5rem;
    border-radius: 20px;
    margin-top: 4rem;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.author-bio {
    color: var(--text-light);
    line-height: 1.7;
}

.related-posts {
    margin-top: 5rem;
}

.related-posts h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 3rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 5rem;
}

.post-nav-item {
    padding: 2rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-nav-item:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.post-nav-label {
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.post-nav-title {
    color: var(--text-dark);
    font-size: 1.125rem;
    font-weight: 700;
}

.post-nav-item.next {
    text-align: right;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .article-author {
        flex-direction: column;
        text-align: center;
    }
    
    .post-nav {
        grid-template-columns: 1fr;
    }
    
    .post-nav-item.next {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .blog-content {
        padding: 1.5rem;
    }
    
    .blog-thumbnail {
        height: 200px;
    }
}

/* ==================== FIX BADGE CATÉGORIE ==================== */
/* À AJOUTER DANS style.css (après le CSS blog existant) */

/* Force le badge à s'ajuster à la taille du texte */
.blog-category {
    display: inline-block !important;
    width: auto !important;
    max-width: fit-content !important;
    background: var(--primary-blue) !important;
    color: white !important;
    padding: 0.375rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
}

/* Pour les articles complets */
.article-category {
    display: inline-block !important;
    width: auto !important;
    max-width: fit-content !important;
    background: var(--primary-blue) !important;
    color: white !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 20px !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    margin-bottom: 1.5rem !important;
}



/* ==================== CSS POUR EFFETS JS MODERNES ==================== */
/* À AJOUTER À LA FIN DE style.css */

/* ==================== CUSTOM CURSOR (OPTIONNEL) ==================== */
.custom-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.6;
}

.custom-cursor.hover {
    transform: scale(1.5);
    background: rgba(47, 55, 165, 0.1);
}

.custom-cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
}

body.has-custom-cursor {
    cursor: none;
}

body.has-custom-cursor a,
body.has-custom-cursor button {
    cursor: none;
}

/* ==================== LOADING STATES ==================== */
.is-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== FORM STATES ==================== */
input.error,
textarea.error,
select.error {
    border-color: #ef4444 !important;
    animation: shake 0.4s ease;
}

input.success,
textarea.success,
select.success {
    border-color: #10b981 !important;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== CARD HOVER EFFECTS ==================== */
.feature-card,
.partner-card,
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.feature-card:hover,
.partner-card:hover,
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

/* Effet 3D pour cartes (géré par JS) */
.feature-card.tilt-active,
.partner-card.tilt-active,
.blog-card.tilt-active {
    transition: transform 0.1s ease;
}

/* ==================== IMAGE LAZY LOADING ==================== */
img[data-src] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img.loaded {
    opacity: 1;
}

/* ==================== SMOOTH SCROLL BEHAVIOR ==================== */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==================== NAVBAR TRANSITIONS ==================== */
.navbar {
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

/* Auto-hide navbar (si activé dans JS) */
.navbar.hide {
    transform: translateY(-100%);
}

/* ==================== ENHANCED PARALLAX ==================== */
.hero::before,
.hero::after,
.hero-simple::before {
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* ==================== BUTTON RIPPLE EFFECT ==================== */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* ==================== STATS COUNTER ANIMATION ==================== */
.stat-number {
    font-variant-numeric: tabular-nums;
    transition: color 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
}

/* ==================== ENHANCED MOBILE MENU ==================== */
.nav-links {
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.nav-overlay {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-toggle span {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==================== SCROLL INDICATOR (OPTIONNEL) ==================== */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-gold));
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ==================== BACK TO TOP ENHANCED ==================== */
.back-to-top {
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    z-index: -1;
    transition: transform 0.3s ease;
}

.back-to-top:hover::before {
    transform: scale(1.1);
}

/* ==================== TOOLTIP (OPTIONNEL) ==================== */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 0.5rem 1rem;
    background: var(--text-dark);
    color: white;
    font-size: 0.875rem;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
}

/* ==================== PERFORMANCE OPTIMIZATIONS ==================== */
/* Force GPU acceleration */
.navbar,
.feature-card,
.partner-card,
.blog-card,
.stat-card,
.btn,
.back-to-top {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Optimize animations */
@media (prefers-reduced-motion: no-preference) {
    .fade-in,
    .slide-left,
    .slide-right,
    .scale-in {
        will-change: transform, opacity;
    }
}

/* Remove will-change after animation */
.fade-in.visible,
.slide-left.visible,
.slide-right.visible,
.scale-in.visible {
    will-change: auto;
}

/* ==================== PRINT STYLES ==================== */
@media print {
    .navbar,
    .back-to-top,
    .mobile-toggle,
    .newsletter-form,
    .cta-box,
    .custom-cursor,
    .custom-cursor-dot {
        display: none !important;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}

/* ==================== DARK MODE SUPPORT (PRÉPARATION) ==================== */
@media (prefers-color-scheme: dark) {
    /* À développer si besoin */
}

/* ==================== ACCESSIBILITY IMPROVEMENTS ==================== */
/* Focus visible pour navigation clavier */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 10000;
}

.skip-to-content:focus {
    top: 0;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==================== RESPONSIVE OPTIMIZATIONS ==================== */
@media (max-width: 768px) {
    /* Désactiver cursor custom sur mobile */
    .custom-cursor,
    .custom-cursor-dot {
        display: none !important;
    }
    
    /* Désactiver effets 3D sur mobile */
    .feature-card,
    .partner-card,
    .blog-card {
        transform: none !important;
    }
}

/* ==================== HIGH CONTRAST MODE ==================== */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
        --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
        --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
    }
    
    .btn,
    .nav-link,
    a {
        text-decoration: underline;
    }
}