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

:root {
    --primary-blue: #0052A3;
    --primary-dark: #003d7a;
    --accent-green: #7CB342;
    --accent-orange: #FF8C42;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
    --success-green: #7CB342;
    --spacing-unit: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 72px;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    background-image: url('public/bg-hero.webp');
    background-size: 130% 100%;
    background-position: center top;
    background-repeat: no-repeat;
}

@media (min-width: 768px) {
    body {
        background-attachment: fixed;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 2);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: visible;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 2px calc(var(--spacing-unit) * 2);
    height: 72px;
}

.nav-brand {
    order: 0;
    margin-right: auto;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

.logo-image {
    height: 48px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: calc(var(--spacing-unit) * 4);
    order: 2;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 1.5);
    border-radius: 6px;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-blue);
    background: var(--bg-light);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 12px;
    right: 12px;
    height: 2px;
    background: var(--accent-green);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

.nav-contact-btn {
    background: var(--primary-blue);
    color: white !important;
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2.5);
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--primary-blue);
}

.nav-contact-btn::after {
    display: none;
}

.nav-contact-btn:hover {
    background: white;
    color: var(--primary-blue) !important;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 82, 163, 0.25);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    order: 1;
    margin-left: auto;
}

/* Hero Section */
.hero {
    background: transparent;
    color: white;
    padding: calc(var(--spacing-unit) * 15) calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 12);
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: calc(var(--spacing-unit) * 3);
    line-height: 1.15;
    letter-spacing: -0.5px;
    perspective: 1000px;
}

.highlight-green {
    color: var(--accent-green);
    display: inline-block;
    animation: moveDepth 3s ease-in-out infinite;
}

@keyframes moveDepth {
    0%, 100% {
        transform: translateZ(0) scale(1);
        text-shadow: 0 0 10px rgba(124, 179, 66, 0.3);
    }
    25% {
        transform: translateX(10px) scale(1.05);
        text-shadow: 2px 2px 15px rgba(124, 179, 66, 0.5);
    }
    50% {
        transform: translateZ(0) scale(1);
        text-shadow: 0 0 10px rgba(124, 179, 66, 0.3);
    }
    75% {
        transform: translateX(-10px) scale(1.05);
        text-shadow: -2px 2px 15px rgba(124, 179, 66, 0.5);
    }
}

.animate-slide {
    display: inline-block;
    animation: slideMove 3s ease-in-out infinite;
}

@keyframes slideMove {
    0%, 100% {
        transform: translateY(0) scale(1);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    25% {
        transform: translateY(-10px) scale(1.05);
        text-shadow: 0 2px 15px rgba(255, 255, 255, 0.5);
    }
    50% {
        transform: translateY(0) scale(1);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
    75% {
        transform: translateY(10px) scale(1.05);
        text-shadow: 0 -2px 15px rgba(255, 255, 255, 0.5);
    }
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: calc(var(--spacing-unit) * 5);
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 4);
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: calc(var(--spacing-unit) * 1.75) calc(var(--spacing-unit) * 4);
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.3px;
    position: relative;
}

.btn-primary {
    background: var(--accent-green);
    color: white;
    overflow: hidden;
    animation: pulse 2s ease-in-out infinite;
}

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

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
    z-index: 1;
}

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

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

.btn-primary:hover {
    background: #6da038;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(124, 179, 66, 0.6);
    animation: none;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(124, 179, 66, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(124, 179, 66, 0);
    }
}

.btn-secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid white;
    position: relative;
    overflow: hidden;
}

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

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
}

.btn-large {
    padding: calc(var(--spacing-unit) * 1.75) calc(var(--spacing-unit) * 4);
    font-size: 18px;
}

.app-badges {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    justify-content: center;
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
    border-radius: 24px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 0.75);
}

.badge:hover {
    background: rgba(255, 255, 255, 0.25);
}

.hero-visual {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: float 3s ease-in-out infinite;
}

.solar-panel {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    animation: float 3s ease-in-out infinite;
}

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

/* Services Section */
.services {
    padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 8);
    background: var(--bg-light);
    position: relative;
}

.services-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: var(--primary-blue);
    position: relative;
    padding-bottom: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.services-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-green) 100%);
    border-radius: 3px;
}

.services h2,
.features h2,
.savings h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 6);
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(var(--spacing-unit) * 2);
}

.service-card {
    background: white;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 82, 163, 0.15);
    border-color: var(--primary-blue);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    content-visibility: auto;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}

.service-card h3,
.service-card p,
.service-link {
    padding: 0 calc(var(--spacing-unit) * 2);
}

.service-card h3:first-of-type {
    padding-top: calc(var(--spacing-unit) * 2);
}

.service-link {
    padding-bottom: calc(var(--spacing-unit) * 2);
}

.service-icon {
    font-size: 48px;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.service-card h3 {
    font-size: 16px;
    margin-bottom: calc(var(--spacing-unit) * 1);
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    font-size: 13px;
    line-height: 1.5;
    flex-grow: 1;
}

.service-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

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

.service-link:hover::after {
    transform: translateX(4px);
}


/* Features Section */
.features {
    padding: calc(var(--spacing-unit) * 5) calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 12);
    background: white;
    position: relative;
}

.features h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: var(--primary-blue);
    position: relative;
    padding-bottom: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.features h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-green) 100%);
    border-radius: 3px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--spacing-unit) * 3);
}

.feature {
    background: white;
    padding: calc(var(--spacing-unit) * 4);
    border-radius: 16px;
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

.feature:hover::before {
    transform: scaleX(1);
}

.feature:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    box-shadow: 0 12px 32px rgba(0, 82, 163, 0.15);
}

.feature-number {
    display: inline-flex;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #003d7a 100%);
    color: white;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 2);
    font-size: 22px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 82, 163, 0.2);
}

.feature:hover .feature-number {
    background: linear-gradient(135deg, var(--accent-green) 0%, #6da038 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(124, 179, 66, 0.4);
}

.feature h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.feature:hover h3 {
    color: var(--primary-blue);
}

.feature p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Savings Calculator */
.savings {
    padding: calc(var(--spacing-unit) * 12) calc(var(--spacing-unit) * 2);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: white;
}

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

.savings h2 {
    color: white;
}

.savings > .container > p {
    text-align: center;
    font-size: 18px;
    margin-bottom: calc(var(--spacing-unit) * 6);
    opacity: 0.95;
}

.savings-calculator {
    background: rgba(255, 255, 255, 0.1);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.calc-input-group {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.calc-input-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.calc-input-group input {
    width: 100%;
    padding: calc(var(--spacing-unit) * 1.25) calc(var(--spacing-unit) * 1.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
}

.calc-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.savings-calculator .btn {
    width: 100%;
}

.savings-results {
    background: rgba(255, 255, 255, 0.15);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: 12px;
    text-align: center;
    display: none;
}

.savings-results.show {
    display: block;
    animation: slideIn 0.3s ease;
}

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

.savings-results h3 {
    font-size: 24px;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.savings-results .result-item {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.savings-results .result-label {
    font-size: 14px;
    opacity: 0.9;
}

.savings-results .result-value {
    font-size: 28px;
    font-weight: 700;
    margin-top: calc(var(--spacing-unit) * 0.5);
}

/* News Section */
.news {
    padding: 0 calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
    background: white;
    position: relative;
}

.news h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: var(--primary-blue);
    position: relative;
    padding-bottom: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.news h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-green) 100%);
    border-radius: 3px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: calc(var(--spacing-unit) * 6);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 3);
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 769px) and (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1201px) {
    .news-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.news-grid-preview {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (min-width: 769px) {
    .news-grid-preview {
        grid-template-columns: repeat(4, 1fr);
    }
}

.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    padding: calc(var(--spacing-unit) * 10) 0 calc(var(--spacing-unit) * 6) 0;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.page-subtitle {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
}

.news-section {
    padding: calc(var(--spacing-unit) * 8) 0;
    background: var(--bg-light);
}

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

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 82, 163, 0.15);
}

.news-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

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

.news-card:hover .news-image img {
    transform: scale(1.08);
}

.news-content {
    padding: calc(var(--spacing-unit) * 3);
}

.news-date {
    display: inline-block;
    font-size: 13px;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    line-height: 1.4;
}

.news-content p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.news-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: var(--accent-green);
    gap: 8px;
}

/* Certifications Section */
.certifications {
    padding: calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 2);
    background: white;
    position: relative;
}

.cert-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: calc(var(--spacing-unit) * 6);
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.cert-logo {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

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

.cert-logo img {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(20%);
    opacity: 0.9;
    transition: all 0.3s ease;
}

.cert-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.cert-logo-white {
    padding: calc(var(--spacing-unit) * 2);
}

@media (max-width: 768px) {
    .cert-logos {
        gap: calc(var(--spacing-unit) * 3);
    }

    .cert-logo img {
        height: 60px;
        max-width: 150px;
    }
}

/* CTA Final Section */
.cta-final {
    padding: calc(var(--spacing-unit) * 6) calc(var(--spacing-unit) * 2);
    background: white;
    text-align: center;
    position: relative;
}

.cta-final h2 {
    font-size: 36px;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.cta-final p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: calc(var(--spacing-unit) * 4);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 2) 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: calc(var(--spacing-unit) * 1);
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-section p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: calc(var(--spacing-unit) * 1);
}

.footer-section a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-green);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: calc(var(--spacing-unit) * 1);
    padding-bottom: calc(var(--spacing-unit) * 1);
    text-align: center;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: calc(var(--spacing-unit) * 0.5);
}

.footer-bottom p {
    opacity: 0.2;
    margin: 0;
}


/* Responsive Design */
@media (min-width: 769px) and (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .nav-menu.nav-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        z-index: 999;
        gap: 8px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-contact-btn {
        padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
        font-size: 14px;
    }

    .hero .container {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .solar-panel {
        height: 300px;
    }

    .services h2,
    .features h2,
    .savings h2,
    .news h2,
    .cta-final h2 {
        font-size: 28px;
    }

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

    .features-grid {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 2);
    }

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

    .app-badges {
        flex-direction: column;
    }

    .badge {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 calc(var(--spacing-unit) * 1.5);
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .services h2,
    .features h2,
    .savings h2,
    .news h2,
    .cta-final h2 {
        font-size: 24px;
    }

    .btn {
        font-size: 14px;
        padding: calc(var(--spacing-unit) * 1) calc(var(--spacing-unit) * 2);
    }

    .btn-large {
        padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
        font-size: 16px;
    }
}

/* Article Page Styles */
.article-page {
    background-color: var(--bg-white);
}

.article-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: white;
    padding: calc(var(--spacing-unit) * 8) 0 calc(var(--spacing-unit) * 5);
    margin-bottom: calc(var(--spacing-unit) * 5);
}

.breadcrumbs {
    font-size: 14px;
    margin-bottom: calc(var(--spacing-unit) * 2);
    opacity: 0.9;
}

.breadcrumbs a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumbs a:hover {
    opacity: 0.8;
}

.breadcrumbs span {
    color: rgba(255, 255, 255, 0.7);
}

.article-header h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.article-meta {
    display: flex;
    gap: calc(var(--spacing-unit) * 3);
    font-size: 15px;
    opacity: 0.9;
}

.article-date {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit));
}

.article-content {
    padding: calc(var(--spacing-unit) * 6) 0;
}

.article-container {
    max-width: 900px;
}

.article-image {
    width: 100%;
    margin-bottom: calc(var(--spacing-unit) * 4);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-text {
    font-size: 17px;
    line-height: 1.8;
}

.article-text .lead {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: calc(var(--spacing-unit) * 4);
    padding-left: calc(var(--spacing-unit) * 2);
    border-left: 4px solid var(--accent-green);
}

.article-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-top: calc(var(--spacing-unit) * 6);
    margin-bottom: calc(var(--spacing-unit) * 3);
    line-height: 1.3;
}

.article-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.article-text p {
    margin-bottom: calc(var(--spacing-unit) * 3);
    color: var(--text-dark);
}

.article-list {
    margin: calc(var(--spacing-unit) * 3) 0;
    padding-left: calc(var(--spacing-unit) * 4);
}

.article-list li {
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--text-dark);
}

.article-list li strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.highlight-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--accent-green);
    padding: calc(var(--spacing-unit) * 4);
    border-radius: 8px;
    margin: calc(var(--spacing-unit) * 5) 0;
}

.highlight-box h3 {
    color: var(--primary-blue);
    font-size: 22px;
    margin-top: 0;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.highlight-box ul {
    margin: calc(var(--spacing-unit) * 2) 0;
    padding-left: calc(var(--spacing-unit) * 3);
}

.highlight-box li {
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.reference-links {
    margin-top: calc(var(--spacing-unit) * 5);
    padding-top: calc(var(--spacing-unit) * 3);
    border-top: 1px solid var(--border-color);
}

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

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

.related-articles {
    background-color: var(--bg-light);
    padding: calc(var(--spacing-unit) * 8) 0;
}

.related-articles h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: calc(var(--spacing-unit) * 5);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: calc(var(--spacing-unit) * 4);
}

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

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

.related-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.related-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: calc(var(--spacing-unit) * 2);
    line-height: 1.4;
}

.related-card .related-date {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin: 0 calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 2);
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 32px;
    }

    .article-text {
        font-size: 16px;
    }

    .article-text .lead {
        font-size: 18px;
    }

    .article-text h2 {
        font-size: 26px;
    }

    .article-text h3 {
        font-size: 20px;
    }

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

    .highlight-box {
        padding: calc(var(--spacing-unit) * 3);
    }
}

/* Contact Selection Page */
.contact-selection {
    padding: calc(var(--spacing-unit) * 15) calc(var(--spacing-unit) * 2);
    background: var(--bg-light);
    text-align: center;
}

.contact-selection h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.selection-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: calc(var(--spacing-unit) * 8);
}

.selection-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--spacing-unit) * 4);
    max-width: 800px;
    margin: 0 auto;
}

.selection-card {
    background: white;
    padding: calc(var(--spacing-unit) * 6);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.selection-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 82, 163, 0.15);
    border-color: var(--primary-blue);
}

.selection-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: calc(var(--spacing-unit) * 3);
    color: white;
    transition: all 0.3s ease;
}

.selection-card:hover .selection-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--accent-green) 0%, #6da038 100%);
}

.selection-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.selection-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.selection-button {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--spacing-unit));
    color: var(--accent-green);
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.selection-card:hover .selection-button {
    gap: calc(var(--spacing-unit) * 2);
}

@media (max-width: 768px) {
    .selection-cards {
        grid-template-columns: 1fr;
    }

    .contact-selection h1 {
        font-size: 32px;
    }
}

/* Contact Page */
.contact-page {
    padding: calc(var(--spacing-unit) * 8) 0;
    background: var(--bg-light);
}

.contact-page h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.contact-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: calc(var(--spacing-unit) * 6);
}

.contact-form-wrapper {
    background: white;
    padding: calc(var(--spacing-unit) * 5);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 3);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: calc(var(--spacing-unit));
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: calc(var(--spacing-unit) * 1.5);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 82, 163, 0.1);
}

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

.contact-info {
    background: white;
    padding: calc(var(--spacing-unit) * 4);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    align-self: start;
}

.contact-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.contact-info-item {
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.contact-info-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.contact-info-item a,
.contact-info-item p {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--primary-blue);
}

.contact-benefits {
    margin-top: calc(var(--spacing-unit) * 4);
    padding-top: calc(var(--spacing-unit) * 3);
    border-top: 1px solid var(--border-color);
}

.contact-benefits h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.contact-benefits ul {
    list-style: none;
    padding: 0;
}

.contact-benefits li {
    padding-left: calc(var(--spacing-unit) * 3);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    position: relative;
    font-size: 15px;
    color: var(--text-dark);
}

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

.form-message {
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    margin-top: calc(var(--spacing-unit) * 2);
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn-primary-light {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-primary-light:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 82, 163, 0.3);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-page h1 {
        font-size: 32px;
    }

    .contact-form-wrapper {
        padding: calc(var(--spacing-unit) * 3);
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(var(--spacing-unit) * 4);
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.about-section {
    padding: calc(var(--spacing-unit) * 8) 0;
    background: linear-gradient(180deg, rgba(0, 82, 163, 0.02) 0%, rgba(124, 179, 66, 0.02) 100%);
}

.article-author {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 3);
    padding: calc(var(--spacing-unit) * 3);
    background: linear-gradient(135deg, rgba(0, 82, 163, 0.05) 0%, rgba(124, 179, 66, 0.05) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
    margin: calc(var(--spacing-unit) * 4) 0;
}

.article-author-avatar {
    width: 110px;
    height: 140px;
    border-radius: 16px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 52, 103, 0.2);
}

.article-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.article-author-content h4 {
    margin: 0 0 calc(var(--spacing-unit) * 1) 0;
    color: var(--primary-blue);
    font-size: 16px;
    font-weight: 600;
}

.article-author-content p {
    margin: 0;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

@media (max-width: 640px) {
    .article-author {
        flex-direction: column;
        text-align: center;
        border-left: none;
        border-top: 4px solid var(--primary-blue);
    }

    .article-author-avatar {
        width: 80px;
        height: 80px;
    }
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: calc(var(--spacing-unit));
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}


/* ── SPLIT WORD ANIMATION ─────────────────────────── */
.word-anim {
    display: inline-block;
    opacity: 0;
    animation-duration: 0.7s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Directions d'arrivée */
@keyframes from-left {
    from { opacity: 0; transform: translateX(-80px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes from-right {
    from { opacity: 0; transform: translateX(80px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes from-top {
    from { opacity: 0; transform: translateY(-60px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes from-bottom {
    from { opacity: 0; transform: translateY(60px); }
    to   { opacity: 1; transform: translateY(0); }
}

.word-left   { animation-name: from-left; }
.word-right  { animation-name: from-right; }
.word-top    { animation-name: from-top; }
.word-bottom { animation-name: from-bottom; }

/* Délais en cascade */
.word-anim:nth-child(1) { animation-delay: 0.1s; }
.word-anim:nth-child(2) { animation-delay: 0.3s; }
.word-anim:nth-child(3) { animation-delay: 0.5s; }
.word-anim:nth-child(4) { animation-delay: 0.7s; }
.word-anim:nth-child(5) { animation-delay: 0.9s; }

section[id], div[id] { scroll-margin-top: 80px; }

/* ═══════════════════════════════════════════════════
   OPTIMISATION MOBILE COMPLÈTE
   ═══════════════════════════════════════════════════ */

/* ── Général mobile ──────────────────────────────── */
@media (max-width: 768px) {

    /* Body */
    body {
        padding-top: 64px;
        font-size: 15px;
    }

    /* Navbar */
    .navbar .container {
        height: 64px;
        padding: 0 16px;
    }

    .logo-image {
        height: 36px;
    }

    /* Hero — réduit le padding énorme */
    .hero {
        padding: 40px 16px 48px;
        min-height: auto;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 28px !important;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .app-badges {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .badge {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Services */
    .services {
        padding: 40px 16px 40px;
    }

    .services h2,
    .features h2,
    .news h2,
    .cta-final h2 {
        font-size: 24px !important;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        border-radius: 12px;
    }

    .service-image {
        height: 180px;
    }

    /* Features */
    .features {
        padding: 40px 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .feature {
        padding: 16px;
    }

    .feature-number {
        font-size: 28px;
        min-width: 36px;
    }

    /* About section */
    .about-section {
        padding: 32px 16px;
    }

    .article-author {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px 16px;
    }

    .article-author-avatar {
        width: 90px !important;
        height: 115px !important;
        margin: 0 auto;
    }

    /* News */
    .news {
        padding: 40px 16px 32px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-card {
        border-radius: 12px;
    }

    /* Certifications */
    .certifications {
        padding: 24px 16px;
    }

    .cert-logos {
        gap: 16px;
        justify-content: center;
    }

    .cert-logo img {
        height: 44px;
        max-width: 120px;
    }

    /* CTA final */
    .cta-final {
        padding: 40px 16px;
    }

    .cta-final h2 {
        font-size: 22px !important;
        margin-bottom: 12px;
    }

    .cta-final p {
        font-size: 15px;
        margin-bottom: 20px;
    }

    /* Footer */
    .footer {
        padding: 32px 16px 16px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-section h4 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .footer-bottom {
        font-size: 12px;
        padding: 12px 0;
    }

    /* Section titles */
    .services-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    /* Scroll fix on mobile */
    section[id] {
        scroll-margin-top: 72px;
    }
}

/* ── Très petit écran (iPhone SE etc.) ──────────── */
@media (max-width: 380px) {

    .hero-content h1 {
        font-size: 24px !important;
    }

    .btn {
        font-size: 14px;
        padding: 10px 16px;
    }

    .services h2,
    .features h2,
    .news h2,
    .cta-final h2 {
        font-size: 20px !important;
    }

    .cert-logo img {
        height: 36px;
        max-width: 90px;
    }
}

/* ── Tablette ────────────────────────────────────── */
@media (min-width: 769px) and (max-width: 1024px) {

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .hero-content h1 {
        font-size: 42px;
    }

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

/* ── Pages articles mobile ───────────────────────── */
@media (max-width: 768px) {

    .article-header {
        padding: 32px 16px 24px;
    }

    .article-header h1 {
        font-size: 24px !important;
        line-height: 1.3;
    }

    .article-content {
        padding: 24px 16px;
    }

    .article-text {
        font-size: 15px;
    }

    .article-text h2 {
        font-size: 20px !important;
    }

    .article-text h3 {
        font-size: 18px !important;
    }

    /* Contact selection */
    .contact-selection {
        padding: 40px 16px;
    }

    .contact-selection h1 {
        font-size: 26px;
    }

    .selection-cards {
        flex-direction: column;
        gap: 16px;
    }

    .selection-card {
        width: 100%;
        padding: 24px 16px;
    }

    /* Contact form */
    .contact-page {
        padding: 24px 16px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

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

    /* Contact professionnel */
    .contact-professionnel {
        padding: 24px 16px;
    }

    /* Buttons pleine largeur sur mobile */
    .submit-btn,
    .btn.btn-large {
        width: 100%;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════
   NOUVELLES SECTIONS SEO
   ═══════════════════════════════════════════════ */

/* Stats */
.stats-section {
    background: var(--primary-blue);
    padding: calc(var(--spacing-unit) * 6) calc(var(--spacing-unit) * 2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item { color: white; }

.stat-number {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    color: var(--accent-green);
    margin-bottom: 8px;
}

.stat-number span {
    font-size: 28px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    font-weight: 500;
}

/* How section */
.how-section {
    padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 2);
    background: var(--bg-light);
}

.section-title-centered {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.section-subtitle-centered {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.how-steps {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.how-step {
    flex: 1;
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
}

.how-step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    margin: 0 auto 12px;
}

.how-step-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.how-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.how-step p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.how-step-arrow {
    font-size: 24px;
    color: var(--accent-green);
    padding-top: 60px;
    flex-shrink: 0;
    font-weight: 700;
}

.how-cta { text-align: center; }

/* Testimonials */
.testimonials-section {
    padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 2);
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--border-color);
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.testimonial-stars {
    color: #F5A623;
    font-size: 18px;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-dark);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
}

.testimonial-author span {
    font-size: 12px;
    color: var(--text-light);
}

/* Requisitos */
.requisitos-section {
    padding: calc(var(--spacing-unit) * 10) calc(var(--spacing-unit) * 2);
    background: var(--bg-light);
}

.requisitos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.requisitos-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 16px;
    line-height: 1.2;
}

.requisitos-content p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.7;
}

.requisitos-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.requisitos-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--text-dark);
}

.req-check { flex-shrink: 0; }

.requisitos-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.req-badge {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
}

.req-badge-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.req-badge-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.req-badge-text span {
    font-size: 12px;
    color: var(--text-light);
}

/* Mobile stats */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .stat-number { font-size: 36px; }
    .how-steps {
        flex-direction: column;
        gap: 16px;
    }
    .how-step-arrow { display: none; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .requisitos-grid { grid-template-columns: 1fr; gap: 32px; }
    .requisitos-visual { grid-template-columns: 1fr; }
    .section-title-centered { font-size: 24px; }
    .section-subtitle-centered { font-size: 15px; }
}
