/* BeBorne Blog - Main Stylesheet v2.0 */

:root {
    /* Couleurs principales */
    --primary-color: #1a2332;
    --primary-yellow: #F0E158;
    --primary-yellow-light: #f7e980;
    --primary-yellow-dark: #d4c63a;
    --accent-color: #F0E158;
    --dark-blue: #1a2332;
    --dark-blue-light: #2c3e50;
    --light-gray: #f8f9fa;
    --gray: #e9ecef;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --text-muted: #adb5bd;
    --success-color: #27ae60;
    --success-green: #27ae60;
    --warning-red: #e74c3c;
    --info-blue: #3498db;
    --white: #ffffff;
    --black: #000000;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.12);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-lg: 0 25px 50px rgba(0,0,0,0.15);
    --border-radius: 10px;
    --border-radius-sm: 5px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    --transition: all 0.3s ease;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    --container-xl: 1200px;
}

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

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: var(--font-weight-normal);
    line-height: 1.6;
    color: var(--text-dark);
    background: #f5f7fa;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

*:focus {
    outline: 2px solid var(--primary-yellow);
    outline-offset: 2px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

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

a:hover {
    color: var(--primary-yellow-dark);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Fix pour éviter le Layout Shift */
    aspect-ratio: attr(width) / attr(height);
}

.container {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #f4d03f 100%);
    color: var(--dark-blue);
    box-shadow: 0 10px 30px rgba(240,225,88,0.3);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-yellow-dark) 0%, #e6c200 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(240,225,88,0.4);
    color: var(--dark-blue);
    text-decoration: none;
    border-color: rgba(255,255,255,0.3);
}

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

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    color: white;
    transform: translateY(-4px) scale(1.02);
    text-decoration: none;
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.btn-third {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.btn-third:hover {
    background: rgba(255,255,255,0.2);
    color: white;
    transform: translateY(-4px) scale(1.02);
    text-decoration: none;
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: var(--spacing-xl);
    transition: var(--transition);
}

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

.top-bar {
    background: var(--dark-blue);
    color: var(--white);
    padding: var(--spacing-sm) 0;
    font-size: 0.875rem;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
}

.top-bar-item svg,
.icon-small {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.top-bar-link {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
}

.top-bar-link:hover {
    color: var(--primary-yellow-light);
    text-decoration: underline;
}

.main-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
}

.nav-brand .logo {
    font-size: 1.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--dark-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo-text {
    color: var(--dark-blue);
}

.logo-accent {
    color: var(--primary-yellow);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-lg);
}

.nav-link {
    display: flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background: var(--light-gray);
    color: var(--dark-blue);
    text-decoration: none;
}

/* Dropdown Navigation */
.nav-item {
    position: relative;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    min-width: 280px;
    padding: var(--spacing-md);
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.dropdown-link:hover {
    background: var(--light-gray);
}

.dropdown-icon {
    font-size: 1.5rem;
}

.dropdown-title {
    display: block;
    font-weight: var(--font-weight-semibold);
    color: var(--dark-blue);
}

.dropdown-desc {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
}

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

/* Bouton hamburger - masqué par défaut */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span,
.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
    margin: 2px 0;
    display: block;
}

.hero-section {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    color: var(--white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 600px; /* Fix layout shift - hauteur fixe */
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    min-height: 300px; /* Hauteur minimale fixe */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: var(--font-weight-extrabold);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    min-height: 120px; /* Hauteur fixe pour éviter le shift */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: var(--spacing-xxl);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: var(--border-radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    outline: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.hero-buttons .btn:hover .btn-icon {
    transform: scale(1.1) rotate(5deg);
}

.pulse {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 10px 30px rgba(240,225,88,0.3);
    }
    50% {
        box-shadow: 0 10px 30px rgba(240,225,88,0.5), 0 0 20px rgba(240,225,88,0.3);
    }
    100% {
        box-shadow: 0 10px 30px rgba(240,225,88,0.3);
    }
}

.stats-bar {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: var(--spacing-xl) 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    color: var(--text-light);
    font-weight: var(--font-weight-medium);
}

.articles-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.section-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
}

.article-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

/* Article Card Link - Makes entire card clickable */
.article-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.article-card-link:hover {
    text-decoration: none;
    color: inherit;
}

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

.article-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: var(--warning-red);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-xl);
    font-size: 0.875rem;
    font-weight: var(--font-weight-semibold);
    z-index: 10;
}

.article-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--white);
    position: relative;
}

.article-content {
    padding: var(--spacing-xl);
}

.article-title {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.article-excerpt {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.article-date {
    color: var(--text-muted);
}

.read-more {
    color: var(--info-blue);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
}

.read-more:hover {
    color: var(--primary-yellow-dark);
    text-decoration: underline;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-yellow-light) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: var(--font-weight-extrabold);
    color: var(--dark-blue);
    margin-bottom: var(--spacing-lg);
}

.cta-text {
    font-size: 1.125rem;
    color: var(--dark-blue);
    opacity: 0.8;
    margin-bottom: var(--spacing-xl);
}

.newsletter-section {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    flex-wrap: wrap;
}

.newsletter-text h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.newsletter-text p {
    color: var(--white);
    opacity: 0.8;
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-md);
    min-width: 400px;
}

.newsletter-form input {
    flex: 1;
    padding: var(--spacing-md);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.newsletter-form button {
    background: var(--primary-yellow);
    color: var(--dark-blue);
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius);
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--primary-yellow-dark);
    transform: translateY(-1px);
}

.main-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-cta-row {
    width: 100%;
    margin-bottom: var(--spacing-xl);
}

.footer-column h4 {
    color: var(--primary-yellow);
    margin-bottom: var(--spacing-lg);
    font-size: 1.125rem;
}

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

.footer-list li {
    margin-bottom: var(--spacing-sm);
}

.footer-list a {
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    transition: var(--transition);
}

.footer-list a:hover {
    opacity: 1;
    color: var(--primary-yellow);
    text-decoration: none;
}

.footer-contact {
    font-size: 0.95rem;
}

.footer-contact p {
    margin-bottom: var(--spacing-sm);
}

.footer-badges {
    display: flex;
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.footer-badge {
    height: 40px;
    width: auto;
}

.footer-rating {
    margin-top: var(--spacing-md);
}

.footer-rating .stars {
    color: var(--primary-yellow);
    font-size: 1.1rem;
    margin-right: var(--spacing-sm);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
}

.footer-legal {
    flex: 1;
}

.footer-legal p {
    margin-bottom: var(--spacing-sm);
    opacity: 0.8;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
}

.footer-legal-links a {
    color: var(--white);
    opacity: 0.7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-links a:hover {
    opacity: 1;
    color: var(--primary-yellow);
}

.footer-legal-links .separator {
    opacity: 0.5;
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: var(--primary-yellow);
    color: var(--dark-blue);
    transform: translateY(-3px);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-yellow);
    color: var(--dark-blue);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--primary-yellow-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.back-to-top.show {
    display: flex;
}

.calculator-container {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow);
    margin: var(--spacing-xl) 0;
}

.calculator-form {
    display: grid;
    gap: var(--spacing-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-label {
    font-weight: var(--font-weight-semibold);
    color: var(--text-dark);
}

.form-input,
.form-select {
    padding: var(--spacing-md);
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(240, 225, 88, 0.1);
}

.calculator-result {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    text-align: center;
}

.result-value {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-yellow-dark);
    margin-bottom: var(--spacing-sm);
}

.result-label {
    color: var(--text-light);
    font-size: 0.875rem;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--spacing-lg);
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        min-width: auto;
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-link {
        padding: var(--spacing-md);
        border-radius: var(--border-radius);
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: var(--spacing-lg);
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .footer-cta-row {
        margin-bottom: var(--spacing-lg);
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

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

/* ============================================
   STYLES POUR LES ARTICLES LONGS
   ============================================ */

/* Article Container */
.article-container {
    background: var(--white);
    min-height: 100vh;
}

/* Article Header */
.article-header {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(to bottom, var(--light-gray), var(--white));
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    font-size: 0.875rem;
    /* color: var(--text-muted); */
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-yellow-dark);
}

.article-header .article-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
    /* color: var(--dark-blue); */
}

.article-header .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
    border-bottom: 2px solid var(--gray);
    font-size: 0.9rem;
    /* color: var(--text-muted); */
}

.article-author,
.article-date,
.article-reading-time,
.article-updated {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.article-featured-image {
    margin: var(--spacing-xl) 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Table of Contents */
.table-of-contents {
    margin: var(--spacing-xxl) auto;
    max-width: 800px;
    background: var(--light-gray);
    border-left: 4px solid var(--primary-yellow);
}

.table-of-contents h2 {
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.toc-list {
    list-style: none;
    padding: 0;
}

.toc-list li {
    margin-bottom: var(--spacing-sm);
}

.toc-list a {
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    padding: var(--spacing-xs) 0;
    transition: var(--transition);
    font-weight: var(--font-weight-medium);
}

.toc-list a:hover {
    color: var(--primary-yellow-dark);
    padding-left: var(--spacing-sm);
}

/* Article Content */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xxl) 0;
}

.contenu-articles-cards {
    margin: 1rem;
}

.content-section {
    margin-bottom: var(--spacing-xxl);
    scroll-margin-top: 100px;
}

.content-section h2 {
    font-size: 2.25rem;
    color: var(--dark-blue);
    margin-top: var(--spacing-xxl);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 3px solid var(--primary-yellow);
}

.content-section h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.content-section h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

.lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xl);
}

/* Highlight Boxes */
.highlight-box {
    background: linear-gradient(135deg, var(--primary-yellow-light), var(--primary-yellow));
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    margin: var(--spacing-xl) 0;
}

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

.highlight-box ul {
    list-style: none;
    padding: 0;
}

.highlight-box li {
    padding: var(--spacing-sm) 0;
    color: var(--dark-blue);
}

/* Expert Tips */
.expert-tip {
    background: var(--light-gray);
    border-left: 4px solid var(--info-blue);
    padding: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    border-radius: var(--border-radius);
}

.expert-tip h4 {
    color: var(--info-blue);
    margin-top: 0;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.stat-card {
    background: var(--white);
    padding: var(--spacing-lg);
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

/* Tables */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-xl) 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.styled-table thead {
    background: var(--dark-blue);
    color: var(--white);
}

.styled-table th,
.styled-table td {
    padding: var(--spacing-md);
    text-align: left;
}

.styled-table tbody tr {
    border-bottom: 1px solid var(--gray);
}

.styled-table tbody tr:hover {
    background: var(--light-gray);
}

.styled-table strong {
    color: var(--dark-blue);
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.feature-card h4 {
    color: var(--dark-blue);
    margin-bottom: var(--spacing-md);
}

.price-impact {
    color: var(--success-green);
    font-weight: var(--font-weight-semibold);
    margin-top: var(--spacing-sm);
}

/* Cost Breakdown */
.cost-breakdown {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    margin: var(--spacing-xl) 0;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--gray);
}

.cost-item.total {
    border-top: 3px solid var(--primary-yellow);
    border-bottom: none;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-lg);
}

.cost-label {
    flex: 1;
    color: var(--text-dark);
}

.cost-range {
    font-size: 1.25rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-yellow-dark);
}

/* Factors List */
.factors-list {
    margin: var(--spacing-xl) 0;
}

.factor-item {
    background: var(--light-gray);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-yellow);
}

.factor-item h4 {
    color: var(--dark-blue);
    margin-top: 0;
}

/* Calculator CTA */
.calculator-cta {
    background: linear-gradient(135deg, var(--dark-blue), var(--dark-blue-light));
    color: var(--white);
    padding: var(--spacing-xxl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin: var(--spacing-xxl) 0;
}

.calculator-cta h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.calculator-cta p {
    color: var(--white);
    opacity: 0.9;
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
}

/* Regional Subsides */
.regional-subsides {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin: var(--spacing-xl) 0;
}

.region-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-yellow);
}

.region-card h3 {
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
}

.subsidy-details ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-md) 0;
}

.subsidy-details li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-lg);
    position: relative;
}

.subsidy-details li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-green);
    font-weight: bold;
}

.application-info {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--gray);
    font-size: 0.9rem;
}

/* Related Articles */
.related-articles {
    background: var(--light-gray);
    padding: var(--spacing-xxl);
    border-radius: var(--border-radius-lg);
    margin: var(--spacing-xxl) 0;
}

.related-articles h3 {
    text-align: center;
    color: var(--dark-blue);
    margin-bottom: var(--spacing-xl);
}

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

.related-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    display: block;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    text-decoration: none;
}

.related-card h4 {
    color: var(--dark-blue);
    margin-bottom: var(--spacing-sm);
}

.related-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Articles */
@media (max-width: 768px) {
    .article-header .article-title {
        font-size: 2rem;
    }
    
    .content-section h2 {
        font-size: 1.75rem;
    }
    
    .content-section h3 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1.125rem;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .regional-subsides {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .styled-table {
        font-size: 0.875rem;
    }
    
    .styled-table th,
    .styled-table td {
        padding: var(--spacing-sm);
    }
}
/* ============================================
   CATEGORY INDEX PAGES
   ============================================ */

.category-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4d2e 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 4rem;
    text-align: center;
}

.category-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.category-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.category-stats .stat {
    text-align: center;
}

.category-stats .stat strong {
    display: block;
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.category-stats .stat span {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 3rem;
    margin-top: 4rem;
    text-align: center;
}

.newsletter-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 2rem auto 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-privacy {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 1rem;
}

/* Vehicle Selector Tool */
.vehicle-selector-section {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 3rem;
    margin: 4rem 0;
    border: 2px solid #e9ecef;
}

.vehicle-selector-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.vehicle-selector-section > p {
    text-align: center;
    color: #6c757d;
    margin-bottom: 2rem;
}

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

.selector-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.selector-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.selector-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.selector-options label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.selector-options label:hover {
    background: #f8f9fa;
}

.selector-options input[type="radio"] {
    cursor: pointer;
}

.vehicle-selector-section .btn {
    display: block;
    margin: 2rem auto 0;
    max-width: 300px;
}

/* Installation Checklist */
.installation-checklist {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 3rem;
    margin: 4rem 0;
    border: 2px solid #e9ecef;
}

.installation-checklist h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.checklist-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.checklist-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

.checklist-item ul {
    list-style: none;
    padding: 0;
}

.checklist-item ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.checklist-item ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* Savings Calculator */
.savings-calculator {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4d2e 100%);
    color: white;
    border-radius: 12px;
    padding: 3rem;
    margin: 4rem 0;
}

.savings-calculator h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.savings-calculator > p {
    text-align: center;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.calculator-input {
    position: relative;
}

.calculator-input label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.calculator-input input {
    width: 100%;
    padding: 1rem;
    padding-right: 4rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    font-size: 1.1rem;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: border-color 0.3s ease;
}

.calculator-input input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255,255,255,0.15);
}

.calculator-input .input-unit {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.calculator-result {
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.calculator-result h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.result-amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.result-detail {
    font-size: 0.9rem;
    opacity: 0.8;
}

.savings-calculator .btn {
    display: block;
    margin: 0 auto;
    max-width: 350px;
}

/* Regional Subsidies */
.regional-subsidies {
    margin: 4rem 0;
}

.regional-subsidies h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.region-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.region-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.region-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.region-card ul {
    text-align: left;
    margin: 1.5rem 0;
    list-style: none;
    padding: 0;
}

.region-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
}

.region-card ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.region-card .btn {
    margin-top: 1rem;
}

/* Mobile Responsive for Category Pages */
@media (max-width: 768px) {
    .category-hero h1 {
        font-size: 2rem;
    }
    
    .category-intro {
        font-size: 1rem;
    }
    
    .category-stats {
        gap: 1.5rem;
    }
    
    .category-stats .stat strong {
        font-size: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input[type="email"] {
        min-width: 100%;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .result-amount {
        font-size: 2.5rem;
    }
    
    .selector-grid {
        grid-template-columns: 1fr;
    }
    
    .checklist-grid {
        grid-template-columns: 1fr;
    }
    
    .regions-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SUBSIDES PAGE SPECIFIC STYLES
   ============================================ */

/* Article Header - Background icons now handled individually per page */

/* Quick CTA Bar */
.quick-cta-bar {
    background: var(--primary-yellow);
    padding: 20px;
    margin: -30px 20px 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 10;
}

.quick-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.quick-cta-text {
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.cta-button {
    background: var(--dark-blue);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 35, 50, 0.3);
}

/* Article Content Specific */
.article-content h2 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin: 40px 0 20px;
    padding-top: 20px;
    border-top: 3px solid var(--primary-yellow);
}

.article-content h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.article-content ul, .article-content ol {
    margin: 20px 0 20px 30px;
}

.article-content li {
    margin-bottom: 10px;
}

/* Info Boxes */
.info-box {
    background: var(--light-gray);
    border-left: 5px solid var(--primary-yellow);
    padding: 25px;
    margin: 30px 0;
    border-radius: 10px;
}

.info-box.warning {
    border-left-color: var(--warning-red);
    background: #fee;
}

.info-box.success {
    border-left-color: var(--success-green);
    background: #efd;
}

.info-box-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Comparison Table */
.comparison-table {
    overflow-x: auto;
    margin: 30px 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
}

.comparison-table th {
    background: var(--dark-blue);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.comparison-table tr:hover {
    background: var(--light-gray);
}

.badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-active {
    background: var(--success-green);
    color: white;
}

.badge-ended {
    background: var(--warning-red);
    color: white;
}

/* Calculator Section */
.calculator-section {
    background: linear-gradient(135deg, var(--primary-yellow), #ffd93d);
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
    text-align: center;
}

.calculator-title {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 30px;
}

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

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-blue);
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
}

.calculate-btn {
    background: var(--dark-blue);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calculate-btn:hover {
    transform: scale(1.05);
}

.calculator-result {
    margin-top: 30px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    display: none;
}

.calculator-result.show {
    display: block;
}

.result-amount {
    font-size: 3rem;
    color: var(--success-green);
    font-weight: 700;
    margin-bottom: 10px;
}

/* Products Section */
.products-section {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 20px;
    margin: 40px 0;
}

.products-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

.product-image {
    font-size: 4rem;
    margin-bottom: 15px;
}

.product-name {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.product-price {
    color: var(--success-green);
    font-size: 1.3rem;
    font-weight: 700;
}

.amazon-link {
    background: #FF9900;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9rem;
    text-decoration: none;
}

/* Sidebar CTA */
.sidebar-cta {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-yellow);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    width: 250px;
    z-index: 100;
}

@media (max-width: 1200px) {
    .sidebar-cta {
        display: none;
    }
}

/* ============================================
   IMPROVED NEWSLETTER & FOOTER & HERO & CARDS
   ============================================ */

/* Newsletter Section Improved */
.newsletter-section-improved {
    background: linear-gradient(135deg, var(--primary-color) 0%, #111e35 100%);
    padding: 4rem 0;
    margin-top: 6rem;
}

.newsletter-content-improved {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    border: 1px solid rgba(255,255,255,0.2);
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.newsletter-icon svg {
    width: 40px;
    height: 40px;
    color: var(--dark-blue);
}

.newsletter-text-improved h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.newsletter-text-improved p {
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.newsletter-form-improved {
    display: flex;
    gap: 1rem;
    min-width: 400px;
}

.newsletter-form-improved input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--border-radius);
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-form-improved input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form-improved input:focus {
    outline: none;
    border-color: var(--primary-yellow);
    background: rgba(255,255,255,0.25);
}

.btn-newsletter {
    padding: 1rem 2rem;
    background: var(--primary-yellow);
    color: var(--dark-blue);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-newsletter svg {
    width: 20px;
    height: 20px;
}

.btn-newsletter:hover {
    background: var(--primary-yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.newsletter-privacy {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Footer CTA Styles */
.footer-cta-column {
    background: linear-gradient(135deg, rgba(240,225,88,0.1) 0%, rgba(240,225,88,0.05) 100%);
    border-radius: var(--border-radius);
    padding: 2rem !important;
    border: 1px solid rgba(240,225,88,0.2);
}

.footer-cta-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-cta-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.footer-cta-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-footer-primary,
.btn-footer-secondary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-footer-primary {
    background: var(--primary-yellow);
    color: var(--dark-blue);
}

.btn-footer-primary:hover {
   
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(240,225,88,0.3);
    color: var(--dark-blue);
}

.btn-footer-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: rgba(255,255,255,0.2);
}

.btn-footer-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--primary-yellow);
    transform: translateX(5px);
}

.btn-footer-primary svg,
.btn-footer-secondary svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-guarantee {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;

}

.footer-guarantee svg {
    width: 24px;
    height: 24px;
    color: var(--success-color);
    flex-shrink: 0;
}

.footer-trust {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-rating .stars {
    color: var(--primary-yellow);
    font-size: 1.1rem;
}

.footer-rating .rating-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Improved Cards with Better Padding */
.article-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.article-card-content {
    padding: 2rem; /* Augmenté de 1.5rem à 2rem */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card h2 {
    margin: 1.5rem 0 1rem; /* Plus d'espace */
    font-size: 1.5rem;
    line-height: 1.3;
}

.article-card-excerpt {
    margin: 1rem 0 1.5rem; /* Plus d'espace */
    line-height: 1.7;
    color: var(--text-light);
    flex: 1;
}

.article-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0; /* Plus d'espace */
}

.article-card .btn {
    margin-top: auto;
}

/* Category Cards */
.category-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem; /* Augmenté */
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-card:hover {
    border-color: var(--primary-yellow);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.category-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    padding: 0 1rem; /* Padding interne */
}

/* Stats Cards */
.stat-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem; /* Augmenté */
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

/* Improved Hero Section */
.hero-section-improved {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    position: relative;
    overflow: hidden;
    padding: 8rem 0 6rem;
}

.hero-section-improved::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%23F0E158" fill-opacity="0.1" d="M321.39 56.44c58-10.79 114.16-30.13 172-41.86 82.39-16.72 168.19-17.73 250.45-.39C823.78 31 906.67 72 985.66 92.83c70.05 18.48 146.53 26.09 214.34 3V0H0v27.35a600.21 600.21 0 00321.39 29.09z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content-improved {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(240,225,88,0.2);
    border: 1px solid var(--primary-yellow);
    color: var(--primary-yellow);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.hero-title-improved {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-improved {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-buttons-improved {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn-primary {
    padding: 1.25rem 3rem;
    background: var(--primary-yellow);
    color: var(--dark-blue);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(240,225,88,0.3);
}

.hero-btn-primary:hover {
    background: var(--primary-yellow-dark);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(240,225,88,0.4);
}

.hero-btn-secondary {
    padding: 1.25rem 3rem;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-btn-secondary:hover {
    background: white;
    color: var(--dark-blue);
    transform: translateY(-3px);
}

.hero-stats-improved {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-yellow);
    display: block;
    margin-bottom: 0.5rem;
}

.hero-stat-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 992px) {
    .newsletter-content-improved {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
    }
    
    .newsletter-icon {
        margin: 0 auto;
    }
    
    .newsletter-form-improved {
        min-width: auto;
        flex-direction: column;
    }
    
    .hero-title-improved {
        font-size: 2.5rem;
    }
    
    .hero-stats-improved {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .article-card-content {
        padding: 1.5rem;
    }
    
    .category-card {
        padding: 2rem;
    }
    
    .hero-section-improved {
        padding: 5rem 0 3rem;
    }
    
    .hero-title-improved {
        font-size: 2rem;
    }
    
    .hero-subtitle-improved {
        font-size: 1.1rem;
    }
    
    .hero-buttons-improved {
        flex-direction: column;
    }
    
    .hero-stats-improved {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ========================================
   HEADER MOBILE - ORGANISATION SUR UNE LIGNE
   ======================================== */

/* Top Bar - Une seule ligne sur mobile */
@media (max-width: 768px) {
    .top-bar {
        padding: 0.5rem 0;
    }
    
    .top-bar-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }
    
    .top-bar-left {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex: 1;
    }
    
    .top-bar-item {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }
    
    .top-bar-text {
        display: none; /* Masquer le texte sur mobile, garder seulement les icônes */
    }
    
    .top-bar-right {
        flex-shrink: 0;
    }
    
    .top-bar-link {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.75rem;
    }
    
    .top-bar-email {
        display: none; /* Masquer l'email sur mobile */
    }
}

@media (max-width: 480px) {
    .top-bar {
        display: none; /* Masquer complètement la top bar sur très petit écran */
    }
}

/* Main Header - Logo + Boutons sur une ligne */
@media (max-width: 768px) {
    .main-header {
        position: sticky;
        top: 0;
        z-index: 100;
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
    }
    
    /* Styles supprimés - gérés plus bas */

    .main-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.75rem 0;
        position: relative;
    }
    
    .container {
        position: relative;
    }

    .nav-brand {
        flex-shrink: 0;
    }

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

    .nav-cta {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .nav-cta .btn-primary {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: linear-gradient(135deg, #F0E158, #ffd93d);
        color: var(--dark-blue);
        text-decoration: none;
        border-radius: 25px;
        font-weight: 600;
        transition: all 0.3s ease;
        white-space: nowrap;
        font-size: 0.8rem;
    }

    .nav-cta .btn-primary:hover {
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(240, 225, 88, 0.4);
    }

    .btn-icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .btn-text {
        font-size: 0.8rem;
    }

    /* Navigation Toggle */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 36px;
        height: 36px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 101;
        border-radius: 4px;
        transition: background-color 0.2s ease;
        position: relative;
    }

    .nav-toggle:hover {
        background-color: rgba(0, 0, 0, 0.05);
    }

    .hamburger-line {
        width: 20px;
        height: 2px;
        background: var(--dark-blue);
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
        display: block;
    }

    .hamburger-line:nth-child(2) {
        margin: 3px 0;
    }

    /* Styles du menu mobile actif */
    .nav-menu.active {
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    }

    .nav-list {
        flex-direction: column;
        padding: 1.5rem 1rem;
        gap: 0.5rem;
        list-style: none;
        margin: 0;
    }

    .nav-link {
        display: flex;
        align-items: center;
        padding: 0.875rem 1rem;
        color: var(--text-dark);
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-weight: 500;
        font-size: 0.95rem;
    }

    .nav-link:hover,
    .nav-link.active {
        background: var(--light-gray);
        color: var(--dark-blue);
        text-decoration: none;
    }

    /* Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-gray);
        margin: 0.5rem 0;
        padding: 0.5rem;
        border-radius: 8px;
    }

    .dropdown-toggle::after {
        content: '▼';
        margin-left: 0.5rem;
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }

    .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .dropdown-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem;
        color: var(--text-dark);
        text-decoration: none;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .dropdown-link:hover {
        background: rgba(0, 0, 0, 0.05);
        color: var(--dark-blue);
    }

    .dropdown-icon {
        font-size: 1.25rem;
        width: 24px;
        text-align: center;
    }

    .dropdown-title {
        display: block;
        font-weight: 600;
        margin-bottom: 0.25rem;
        font-size: 0.9rem;
    }

    .dropdown-desc {
        display: block;
        font-size: 0.75rem;
        color: var(--text-muted);
    }
}

@media (max-width: 480px) {
    .main-nav {
        padding: 0.5rem 0;
    }
    
    .nav-brand .logo-image {
        height: 30px;
    }
    
    .nav-cta .btn-primary {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .btn-text {
        display: none; /* Masquer le texte sur très petit écran */
    }
    
    .nav-cta .btn-primary {
        padding: 0.4rem;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        justify-content: center;
    }
    
    .nav-cta {
        gap: 0.5rem;
    }
    
    .nav-toggle {
        width: 32px;
        height: 32px;
    }
    
    .hamburger-line {
        width: 18px;
        height: 2px;
    }
}

/* Body scroll lock when nav is open */
body.nav-open {
    overflow: hidden;
}

/* Menu mobile - styles de base */
.nav-menu {
    display: flex;
    align-items: center;
}

/* ========================================
   MENU MOBILE OVERLAY
   ======================================== */

/* Menu mobile overlay - masqué par défaut */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem;
    border-bottom: 1px solid #eee;
    background: var(--primary-yellow);
}

.mobile-menu-header h3 {
    margin: 0;
    color: var(--dark-blue);
    font-size: 1.25rem;
    font-weight: 600;
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.mobile-menu-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
    color: var(--dark-blue);
}

.mobile-menu-nav {
    padding: 1rem 0;
}

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

.mobile-menu-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-menu-link:hover {
    background: var(--light-gray);
    color: var(--dark-blue);
    text-decoration: none;
}

.mobile-menu-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.mobile-menu-title {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.mobile-menu-desc {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

.mobile-menu-cta {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.mobile-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-yellow);
    color: var(--dark-blue);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.mobile-menu-btn:hover {
    background: #e6d147;
    color: var(--dark-blue);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(240, 225, 88, 0.3);
}

.mobile-menu-btn .btn-icon {
    width: 20px;
    height: 20px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none; /* Masquer le menu desktop sur mobile */
    }
}

@media (min-width: 769px) {
    .nav-toggle {
        display: none; /* Masquer le bouton hamburger sur desktop */
    }
    
    .mobile-menu {
        display: none !important; /* Masquer le menu mobile sur desktop */
    }
}

/* Animation pour le header sticky */
.main-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

/* Amélioration de l'accessibilité */
.nav-toggle:focus {
    outline: 2px solid var(--primary-yellow);
    outline-offset: 2px;
}

.nav-link:focus {
    outline: 2px solid var(--primary-yellow);
    outline-offset: 2px;
}

.btn-primary:focus {
    outline: 2px solid var(--dark-blue);
    outline-offset: 2px;
}

/* ========================================
   AMÉLIORATIONS FOOTER MOBILE
   ======================================== */

/* Footer CTA - Mobile optimisé */
@media (max-width: 768px) {
    .footer-cta-row {
        margin-bottom: 2rem;
    }
    
    .footer-cta-column h4 {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .footer-cta-subtitle {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .btn-footer-primary,
    .btn-footer-secondary {
        width: 100%;
        justify-content: center;
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
        text-align: center;
    }
    
    .footer-guarantee {
        justify-content: center;
        margin-top: 1rem;
        padding: 0.75rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        font-size: 0.9rem;
    }
    
    .footer-trust {
        margin-top: 1rem;
        text-align: center;
    }
    
    .footer-rating {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .stars {
        font-size: 1.2rem;
        color: var(--primary-yellow);
    }
    
    .rating-text {
        font-size: 0.85rem;
        opacity: 0.8;
    }
}

/* Footer Grid - Mobile optimisé */
@media (max-width: 768px) {
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .footer-column h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .footer-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .footer-list li {
        margin-bottom: 0.5rem;
    }
    
    .footer-list a {
        font-size: 0.9rem;
        padding: 0.5rem;
        display: block;
        border-radius: 4px;
        transition: background-color 0.2s ease;
    }
    
    .footer-list a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 480px) {
    .footer-list {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .footer-cta-column h4 {
        font-size: 1.3rem;
    }
    
    .btn-footer-primary,
    .btn-footer-secondary {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .footer-guarantee {
        font-size: 0.85rem;
        padding: 0.5rem;
    }
}

/* Footer Bottom - Mobile optimisé */
@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-legal {
        order: 2;
    }
    
    .footer-social {
        order: 1;
        justify-content: center;
    }
    
    .footer-legal-links {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    
    .separator {
        display: none;
    }
    
    .footer-legal-links a {
        padding: 0.5rem;
        display: block;
        border-radius: 4px;
        transition: background-color 0.2s ease;
    }
    
    .footer-legal-links a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Newsletter - Mobile optimisé */
@media (max-width: 768px) {
    .newsletter-section-improved {
        padding: 2rem 0;
    }
    
    .newsletter-content-improved {
        text-align: center;
    }
    
    .newsletter-text-improved h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    .newsletter-text-improved p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .newsletter-form-improved {
        flex-direction: column;
        gap: 1rem;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .newsletter-form-improved input {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .btn-newsletter {
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .newsletter-privacy {
        font-size: 0.8rem;
        margin-top: 1rem;
    }
}

/* ========================================
   BOUTONS HERO MOBILE - CORRECTION
   ======================================== */

@media (max-width: 768px) {
    .hero-buttons-improved {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
        text-align: center;
    }
    
    .hero-btn-primary {
        background: var(--primary-yellow) !important;
        color: var(--dark-blue) !important;
        border: none !important;
    }
    
    .hero-btn-secondary {
        background: transparent !important;
        color: white !important;
        border: 2px solid white !important;
    }
    
    .hero-btn-primary:hover {
        background: var(--primary-yellow-dark) !important;
        transform: translateY(-2px) !important;
    }
    
    .hero-btn-secondary:hover {
        background: white !important;
        color: var(--dark-blue) !important;
        transform: translateY(-2px) !important;
    }
}

@media (max-width: 480px) {
    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

