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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: color 0.3s ease, background-color 0.3s ease;
    overflow-x: hidden
}

/* ===== CSS CUSTOM PROPERTIES (VARIABLES) ===== */
:root {
    /* Light theme colors */
    --primary-color: #2563eb;
    --secondary-color: #f59e0b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-text: linear-gradient(135deg, #2563eb 0%, #f59e0b 100%)
}

/* Dark theme colors */
.theme-toggle-input:checked ~ body,
body:has(.theme-toggle-input:checked) {
    --primary-color: #3b82f6;
    --secondary-color: #fbbf24;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --border-color: #374151;
    --border-light: #4b5563;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    --gradient-secondary: linear-gradient(135deg, #fbbf24 0%, #fcd34d 100%);
    --gradient-text: linear-gradient(135deg, #3b82f6 0%, #fbbf24 100%)
}

/* ===== THEME TOGGLE ===== */
.theme-toggle-input {display: none}

.theme-toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem
}

.theme-toggle-label:hover {
    background-color: var(--bg-tertiary);
    transform: scale(1.05)
}

.theme-toggle-icon {
    font-size: 1.25rem;
    transition: transform 0.3s ease
}

.theme-toggle-input:checked + body .theme-toggle-icon,
body:has(.theme-toggle-input:checked) .theme-toggle-icon {
    transform: rotate(180deg)
}

.theme-toggle-input:checked + body .theme-toggle-icon::before,
body:has(.theme-toggle-input:checked) .theme-toggle-icon::before {
    content: '☀️'
}

.theme-toggle-icon::before {
    content: '🌙'
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--text-primary)
}

h1 {font-size: 3.5rem}
h2 {font-size: 2.25rem}
h3 {font-size: 1.5rem}
h4 {font-size: 1.25rem}
h5 {font-size: 1.125rem}
h6 {font-size: 1rem}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary)
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease
}

a:hover {
    color: var(--secondary-color)
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

/* ===== LAYOUT UTILITIES ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem
}

.section-header {
    text-align: center;
    margin-bottom: 4rem
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md)
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color)
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white
}

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

.btn-outline:hover {
    background-color: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--primary-color)
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem
}

.btn-full {
    width: 100%
}

.btn-icon {
    transition: transform 0.3s ease
}

.btn:hover .btn-icon {
    transform: translateX(4px)
}

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

.theme-toggle-input:checked ~ body .navbar,
body:has(.theme-toggle-input:checked) .navbar {
    background-color: rgba(17, 24, 39, 0.95)
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none
}

.logo-accent {
    color: var(--secondary-color)
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 120px 0 80px
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
}

.hero-content {
    max-width: 600px
}

.hero-title {
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary)
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap
}

.stat-item {
    text-align: center
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}

.hero-graphic {
    position: relative;
    width: 400px;
    height: 400px
}

.floating-card {
    position: absolute;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease
}

.floating-card:hover {
    transform: translateY(-5px)
}

.card-seo {
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    animation: float 6s ease-in-out infinite
}

.card-aeo {
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    animation: float 6s ease-in-out infinite reverse
}

.connection-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 200px;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0.3
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px) }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-muted);
    animation: bounce 2s infinite
}

.scroll-text {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em
}

.scroll-arrow {
    font-size: 1.5rem
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px) }
}

/* ===== AEO SECTION ===== */
.aeo-section {
    padding: 6rem 0;
    background-color: var(--bg-secondary)
}

.aeo-content {
    display: grid;
    gap: 4rem
}

.explanation-card {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color)
}

.explanation-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border: 1px solid var(--border-light)
}

.stat-big {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem
}

.comparison-table {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow-x: auto
}

.comparison {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem
}

.comparison th,
.comparison td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light)
}

.comparison th {
    background-color: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary)
}

.comparison td {
    color: var(--text-secondary)
}

.comparison tr:hover {
    background-color: var(--bg-secondary)
}

/* ===== AUDIT SECTION ===== */
.audit-section {
    padding: 6rem 0;
    background: var(--bg-primary)
}

.audit-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start
}

.audit-offer {
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 3rem;
    position: relative;
    border: 1px solid var(--border-color)
}

.offer-badge {
    position: absolute;
    top: -12px;
    left: 2rem;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600
}

.audit-title {
    margin-bottom: 2rem;
    color: var(--text-primary)
}

.price-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem
}

.price-option {
    flex: 1;
    text-align: center;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 0.75rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease
}

.price-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px)
}

.price-free h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem
}

.price-paid h3 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem
}

.price-condition {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem
}

.price-features {
    list-style: none;
    text-align: left
}

.price-features li {
    padding: 0.25rem 0;
    color: var(--text-secondary)
}

.price-divider {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 1.125rem
}

.audit-cta {
    text-align: center
}

.testimonials {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color)
}

.testimonials h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center
}

.testimonial-grid {
    display: grid;
    gap: 1.5rem
}

.testimonial-card {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border: 1px solid var(--border-light)
}

.testimonial-rating {
    color: #fbbf24;
    margin-bottom: 1rem;
    font-size: 1.125rem
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6
}

.testimonial-author strong {
    color: var(--text-primary)
}

.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.875rem
}

/* ===== OFFERS SECTION ===== */
.offers-section {
    padding: 6rem 0;
    background: var(--bg-secondary)
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto
}

.offer-card {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease
}

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

.offer-premium {
    border-color: var(--primary-color);
    transform: scale(1.05)
}

.offer-premium .offer-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600
}

.offer-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light)
}

.offer-title {
    color: var(--text-primary);
    margin-bottom: 1rem
}

.offer-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color)
}

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

.offer-features {
    margin-bottom: 2rem
}

.offer-features ul {
    list-style: none
}

.offer-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center
}

.offer-cta {
    text-align: center
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 6rem 0;
    background: var(--bg-primary)
}

.about-content {
    max-width: 1000px;
    margin: 0 auto
}

.about-intro {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    text-align: center;
    line-height: 1.6
}

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

.expertise-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease
}

.expertise-item:hover {
    transform: translateY(-5px)
}

.expertise-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem
}

/* ===== VALUES SECTION ===== */
.values-section {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
    position: relative
}

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

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto
}

.value-card {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease
}

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

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

.value-card:nth-child(2)::before {
    background: var(--gradient-secondary)
}

.value-card:nth-child(3)::before {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%)
}

.value-card:nth-child(4)::before {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%)
}

.value-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--bg-secondary);
    border-radius: 1rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease
}

.value-card:hover .value-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1)
}

.value-card:nth-child(2):hover .value-icon {
    background: var(--secondary-color)
}

.value-card:nth-child(3):hover .value-icon {
    background: #10b981
}

.value-card:nth-child(4):hover .value-icon {
    background: #8b5cf6
}

.value-content {
    position: relative
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3
}

.value-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .values-section {
        padding: 4rem 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
        max-width: 100%;
    }
    
    .value-card {
        padding: 2rem;
    }
    
    .value-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 1rem;
    }
    
    .value-title {
        font-size: 1.25rem;
    }
    
    .value-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .value-card {
        padding: 1.5rem;
    }
    
    .value-icon {
        width: 48px;
        height: 48px;
    }
    
    .value-title {
        font-size: 1.125rem;
    }
    
    .value-description {
        font-size: 0.9rem;
    }
}

/* Animation pour l'apparition progressive */
@media (prefers-reduced-motion: no-preference) {
    .value-card {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.6s ease forwards;
    }
    
    .value-card:nth-child(1) {
        animation-delay: 0.1s;
    }
    
    .value-card:nth-child(2) {
        animation-delay: 0.2s;
    }
    
    .value-card:nth-child(3) {
        animation-delay: 0.3s;
    }
    
    .value-card:nth-child(4) {
        animation-delay: 0.4s;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dark theme adjustments */
.theme-toggle-input:checked ~ body .value-card,
body:has(.theme-toggle-input:checked) .value-card {
    background: var(--bg-secondary);
    border-color: var(--border-color);
}

.theme-toggle-input:checked ~ body .value-card:hover,
body:has(.theme-toggle-input:checked) .value-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.3), 0 8px 10px -6px rgb(0 0 0 / 0.3);
}

.certifications {
    text-align: center
}

.certifications h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 2rem
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto
}

.cert-item {
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.3s ease
}

.cert-item:hover {
    background: var(--primary-color);
    color: white
}

/* ===== BLOG SECTION ===== */
.blog-section {
    padding: 6rem 0;
    background: var(--bg-secondary)
}

.blog-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem
}

.featured-article {
    background: var(--bg-primary);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease
}

.featured-article:hover {
    transform: translateY(-5px)
}

.article-image {
    width: 100%;
    height: 250px;
    overflow: hidden
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease
}

.featured-article:hover .article-image img {
    transform: scale(1.05)
}

.article-content {
    padding: 2rem
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem
}

.article-category {
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase
}

.article-date {
    color: var(--text-muted);
    font-size: 0.875rem
}

.article-title {
    margin-bottom: 1rem
}

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

.article-title a:hover {
    color: var(--primary-color)
}

.article-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem
}

.article-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease
}

.article-link:hover {
    color: var(--secondary-color)
}

.articles-sidebar {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: fit-content
}

.articles-sidebar h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center
}

.sidebar-article {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    transition: transform 0.3s ease
}

.sidebar-article:hover {
    transform: translateX(5px)
}

.sidebar-article:last-child {
    border-bottom: none
}

.sidebar-article-image {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 0.5rem;
    overflow: hidden
}

.sidebar-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.sidebar-article-content {
    flex: 1
}

.sidebar-article-title {
    font-size: 1rem;
    line-height: 1.3;
    margin: 0.5rem 0
}

.sidebar-article-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease
}

.sidebar-article-title a:hover {
    color: var(--primary-color)
}

.blog-cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 6rem 0;
    background: var(--bg-primary)
}

.faq-content {
    max-width: 800px;
    margin: 0 auto
}

.faq-item {
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden
}

.faq-toggle {
    display: none
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 0
}

.faq-question:hover {
    background-color: var(--bg-tertiary)
}

.faq-question h3 {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin: 0
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease
}

.faq-toggle:checked + .faq-question .faq-icon {
    transform: rotate(45deg)
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--bg-primary)
}

.faq-toggle:checked ~ .faq-answer {
    max-height: 200px;
    padding: 1.5rem
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 6rem 0;
    background: var(--bg-secondary)
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start
}

.contact-info {
    padding-right: 2rem
}

.contact-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6
}

.contact-details {
    margin-bottom: 3rem
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem
}

.contact-text h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem
}

.contact-text a,
.contact-text p {
    color: var(--text-secondary);
    margin: 0
}

.contact-text a:hover {
    color: var(--primary-color)
}

.social-links h3 {
    color: var(--text-primary);
    margin-bottom: 1rem
}

.social-icons {
    display: flex;
    gap: 1rem
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px)
}

.contact-form {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color)
}

.form-group {
    margin-bottom: 1.5rem
}

.form-label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1)
}

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

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem
}

.form-check {
    margin-top: 0.25rem;
    flex-shrink: 0
}

.form-check-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0
}

.error-messages, .success-message {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.error-messages {
    background-color: #fee2e2;
    border: 1px solid #ef4444;
}

.success-message {
    background-color: #d1fae5;
    border: 1px solid #10b981;
}

.error-messages h2, .success-message h2 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.error-messages ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.error-messages li {
    color: #ef4444;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #1f2937;
    margin-bottom: 1.5rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1rem
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem
}

.footer-brand {
    max-width: 400px
}

.footer-logo {
    margin-bottom: 1rem
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem
}

.footer-title {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin-bottom: 1rem
}

.footer-list {
    list-style: none
}

.footer-list li {
    margin-bottom: 0.5rem
}

.footer-list a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem
}

.footer-legal {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease
}

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

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.875rem
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center
    }
    
    .hero-visual {
        order: -1
    }
    
    .hero-graphic {
        width: 300px;
        height: 300px
    }
    
    .audit-content {
        grid-template-columns: 1fr;
        gap: 3rem
    }
    
    .blog-content {
        grid-template-columns: 1fr;
        gap: 2rem
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none
    }
    
    .nav-toggle {
        display: flex
    }
    
    .hero-title {
        font-size: 2.5rem
    }
    
    .section-title {
        font-size: 2rem
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center
    }
    
    .hero-stats {
        justify-content: center
    }
    
    .price-container {
        flex-direction: column;
        gap: 1rem
    }
    
    .price-divider {
        transform: rotate(90deg)
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
        max-width: 500px
    }
    
    .offer-premium {
        transform: none
    }
    
    .expertise-grid {
        grid-template-columns: 1fr
    }
    
    .stats-grid {
        grid-template-columns: 1fr
    }
    
    .footer-links {
        grid-template-columns: 1fr
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center
    }
}

@media (max-width: 480px) {
    .section-container {
        padding: 0 0.75rem
    }
    
    .hero-title {
        font-size: 2rem
    }
    
    .hero-subtitle {
        font-size: 1rem
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem
    }
    
    .floating-card {
        padding: 1rem
    }
    
    .card-seo,
    .card-aeo {
        position: static;
        margin: 1rem
    }
    
    .connection-line {
        display: none
    }
    
    .contact-info {
        padding-right: 0
    }
    
    .contact-form {
        padding: 1.5rem
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important
    }
    
    .scroll-indicator {
        animation: none
    }
    
    .floating-card {
        animation: none
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-color: #000000;
        --text-secondary: #000000
    }
    
    .theme-toggle-input:checked ~ body,
    body:has(.theme-toggle-input:checked) {
        --border-color: #ffffff;
        --text-secondary: #ffffff
    }
}

/* Print styles */
@media print {
    .navbar,
    .theme-toggle-label,
    .nav-toggle,
    .scroll-indicator,
    .contact-form,
    .footer {
        display: none
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0
    }
    
    .section-container {
        padding: 0
    }
}

/* ===== CORRECTION API OBSOLÈTES - TITRES DANS SECTIONS ===== */
/* Spécification explicite des tailles de police pour les titres dans les éléments sémantiques */
/* Correction pour l'avertissement Google Tag Manager concernant les API obsolètes */

/* Titres dans les sections */
section h1,
article h1,
aside h1,
nav h1 {
    font-size: 3.5rem !important;
    font-weight: 800;
    line-height: 1.1;
}

section h2,
article h2,
aside h2,
nav h2 {
    font-size: 2.25rem !important;
    font-weight: 700;
    line-height: 1.2;
}

section h3,
article h3,
aside h3,
nav h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

/* Corrections spécifiques pour vos classes existantes */
.hero-section .hero-title {
    font-size: 3.5rem !important;
    font-weight: 800;
    line-height: 1.1;
}

.aeo-section .section-title {
    font-size: 2.5rem !important;
    font-weight: 700;
    line-height: 1.2;
}

/* Floating cards dans hero */
.floating-card h2 {
    font-size: 1.25rem !important;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
}

/* Responsive - maintenir les tailles sur mobile */
@media (max-width: 768px) {
    section h1,
    article h1,
    aside h1,
    nav h1,
    .hero-section .hero-title {
        font-size: 2.5rem !important;
    }
    
    section h2,
    article h2,
    aside h2,
    nav h2,
    .aeo-section .section-title {
        font-size: 2rem !important;
    }
    
    .floating-card h2 {
        font-size: 1.125rem !important;
    }
}

@media (max-width: 480px) {
    section h1,
    article h1,
    aside h1,
    nav h1,
    .hero-section .hero-title {
        font-size: 2rem !important;
    }
    
    section h2,
    article h2,
    aside h2,
    nav h2,
    .aeo-section .section-title {
        font-size: 1.75rem !important;
    }
}

