﻿:root {
    /* Colors */
    --primary-blue: #002D62;
    --accent-gold: #F39C12;
    --secondary-blue: #0A3D7A;
    --light-blue: #E8F1FF;

    --text-main: #1A1A1A;
    --text-muted: #555555;
    --text-light: #888888;

    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-gray: #F1F3F5;
    --bg-dark-blue: #001A3A;

    --border-color: #E2E8F0;

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;

    /* Fluid Typography (Modern Approach) */
    --fs-h1: clamp(2.2rem, 8vw, 3.5rem);
    --fs-h2: clamp(1.8rem, 6vw, 2.5rem);
    --fs-h3: clamp(1.3rem, 4vw, 1.8rem);
    --fs-base: clamp(0.95rem, 2vw, 1.1rem);

    /* Spacing */
    --space-sm: clamp(1rem, 2vw, 1.5rem);
    --space-md: clamp(2rem, 4vw, 4rem);
    --space-lg: clamp(4rem, 8vw, 8rem);

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    /* Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 45, 98, 0.08);
    /* More subtle for premium feel */
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.7;
    /* Slightly more air for legibility */
    font-size: var(--fs-base);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Prevent horizontal scroll issues on mobile */
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

.flex {
    display: flex;
}

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

.justify-between {
    justify-content: space-between;
}

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

.grid {
    display: grid;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.25;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    letter-spacing: -0.02em;
}

h1 {
    font-size: var(--fs-h1);
    text-transform: uppercase;
    font-weight: 800;
}

h2 {
    font-size: var(--fs-h2);
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: var(--fs-h3);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    will-change: transform;
}

.btn-gold {
    background-color: var(--accent-gold);
    color: white;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.2);
}

.btn-gold:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

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

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

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

.btn-soft-blue {
    background-color: #eef7ff;
    color: var(--primary-blue);
    border-radius: 50px;
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    font-size: 1rem;
    gap: 12px;
    border: 1px solid rgba(0, 45, 98, 0.05);
}

.btn-soft-blue:hover {
    background-color: #e0f0ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 45, 98, 0.1);
}

/* Training Section */
.training-section {
    padding: 80px 0;
    background: #fff;
}

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

.t-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.t-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.t-card-header {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: white;
    text-align: center;
}

.t-card-header h2 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 0;
    border: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.t-card-header h2::after {
    display: none;
}

.t-card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.t-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.t-card-desc {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.t-card-link {
    margin-top: auto;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.t-card-link:hover {
    gap: 12px;
}

/* Various header colors based on mockup */
.header-blue-dark {
    background: #0a3d62;
}

.header-blue-sky {
    background: #00a8e8;
}

.header-blue-mid {
    background: #3c8dbc;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 45, 98, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: white;
    width: 32px;
    height: 32px;
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Quick Navigation */
.quick-nav {
    margin-top: -25px;
    position: relative;
    z-index: 10;
}

.quick-nav-container {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.quick-nav-btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    z-index: 1000;
    padding: 0.4rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 0.3rem 0;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.identity-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centering children */
    text-align: center;
    gap: 4px;
    margin-right: 4rem;
    /* Spacing before navigation */
}

.logo-img {
    height: 100px;
    /* Slightly larger presence */
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.signature {
    font-size: 0.62rem;
    color: var(--text-light);
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-weight: 500;
    font-family: var(--font-primary);
    margin-top: 0;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-main);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

/* Hero Section */
.hero-v2 {
    height: 75vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    padding-top: 80px;
    image-rendering: -webkit-optimize-contrast;
    backface-visibility: hidden;
}

.hero-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

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

.hero-v2 h1 span {
    display: block;
    color: var(--accent-gold);
}

/* Floating Hero Cards */
.hero-cards {
    position: relative;
    margin-top: -50px;
    z-index: 10;
}

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

.h-card {
    background: white;
    padding: 1.25rem 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition-smooth);
}

.h-card:hover {
    transform: translateY(-10px);
}

.h-card i,
.h-card .icon-box {
    margin-bottom: 1rem;
    font-size: 2rem;
    color: var(--primary-blue);
}

.h-card h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
}

/* Realizations - Clean Layout */
.clean-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

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

.clean-card-header {
    padding: 1rem 1.5rem;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.clean-card-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

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

.clean-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.clean-card-body {
    padding: 1.5rem;
}

.clean-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.clean-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Partner Grid */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    align-items: center;
}

.partner-logo {
    filter: grayscale(1);
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Team Grid */
.team-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.team-img {
    height: 350px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg-gray);
}

.team-info {
    padding: 2rem;
}

.team-info h3 {
    margin-bottom: 0.3rem;
}

.team-info p {
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Animations */
[data-fade],
[data-slide] {
    opacity: 0;
    transition: opacity 1s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

[data-slide] {
    transform: translateY(30px);
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Tabs for Services Page */
.tabs-control {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.tab-btn {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--primary-blue);
}

.tab-btn.active {
    color: var(--primary-blue);
    border-bottom-color: var(--accent-gold);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Footer */
footer {
    background-color: var(--bg-dark-blue);
    color: white;
    padding: 80px 0 0;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 60px;
}

.footer-logo {
    height: 70px;
    /* Slightly larger in footer */
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 2rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (min-width: 993px) {
    #mobile-menu-toggle {
        display: none;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        position: relative;
        bottom: 0;
        margin-top: -50px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

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

    .hero-v2 {
        height: auto;
        padding: 90px 0 55px;
        /* Reduced banner */
        text-align: center;
    }

    .section {
        padding: 60px 0;
    }

    /* Tabs responsive */
    .tabs-control {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .tab-btn {
        font-size: 0.9rem;
        padding: 0.5rem;
    }
}

/* Responsive Grid Utility */
.grid-responsive {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.grid.grid-2-cols {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 2.5rem;
}

@media (max-width: 992px) {
    .grid.grid-2-cols {
        grid-template-columns: 1fr !important;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

/* Sidebar / Mobile Menu Toggle */
#mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 1.5rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

#mobile-menu-toggle:hover {
    color: var(--accent-gold);
    transform: scale(1.1);
}

#mobile-menu-toggle svg {
    width: 32px;
    height: 32px;
}

/* Sidebar Overlay Modern */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-nav-overlay.active {
    right: 0;
}

.mobile-nav-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.close-mobile-menu {
    background: var(--bg-light);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.mobile-nav-link i {
    opacity: 0.3;
    width: 18px;
    height: 18px;
}

.mobile-nav-link:hover {
    color: var(--accent-gold);
}

@media (max-width: 480px) {
    .mobile-nav-overlay {
        width: 100%;
    }

    .hero-v2 h1 {
        font-size: clamp(28px, 8vw, 32px) !important;
    }

    .section {
        padding: 40px 0;
    }
}

/* --- NEW STYLES V3 --- */

/* Hero Section Enhancements */
.hero-v2 h1 {
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 700px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* Service Cards V3 */
.h-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.h-card-v3 {
    background: white;
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Softer base shadow */
    text-align: left;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.h-card-v3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    /* Slightly thicker */
    background: var(--accent-gold);
    transition: width 0.4s ease;
}

.h-card-v3:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 45, 98, 0.12);
    /* Premium elevation shadow */
}

.h-card-v3:hover::after {
    width: 100%;
}

.h-card-v3 .icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    transition: all 0.4s ease;
}

.h-card-v3:hover .icon-box {
    background: var(--primary-blue);
    color: white;
    transform: scale(1.1);
    /* Subtle grow */
    box-shadow: 0 10px 20px rgba(0, 45, 98, 0.15);
}

.h-card-v3 h3 {
    font-size: 1.15rem;
    /* Slightly bigger */
    margin-bottom: 0.5rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.h-card-v3 p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex-grow: 1;
    /* Pushes CTA to bottom */
    margin-bottom: 1.5rem;
}

.card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.3s ease, color 0.3s ease;
    margin-top: auto;
}

.card-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.h-card-v3:hover .card-cta {
    color: var(--accent-gold);
    gap: 0.75rem;
}

.h-card-v3:hover .card-cta svg {
    transform: translateX(4px);
}

/* AdhÃ©rer Button Enhanced */
.btn-adhere-nav {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #e67e22 100%);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    /* More pill-shaped */
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.btn-adhere-nav:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

/* Impact Page - Stats */
.stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

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

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Impact Page - Results (Before/After) */
.result-box {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.result-header {
    background: var(--primary-blue);
    color: white;
    padding: 1.5rem;
}

.result-body {
    padding: 2rem;
}

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

.comp-col h4 {
    font-size: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--bg-gray);
    padding-bottom: 0.5rem;
}

.comp-col ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.comp-col.before ul li::before {
    content: '•';
    color: #e74c3c;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.comp-col.after ul li::before {
    content: '✓';
    color: #2ecc71;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Impact Page - Testimonials */
.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
    border-left: 5px solid var(--accent-gold);
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author strong {
    display: block;
    color: var(--primary-blue);
    font-size: 1rem;
}

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

/* Animations Utility */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* FAB - Floating Action Button Mobile */
.mobile-fab {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, #e67e22 100%);
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(243, 156, 18, 0.4);
    z-index: 900;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.mobile-fab i {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .mobile-fab {
        display: flex;
    }
}

/* Specific Mobile Hero Refinements */
@media (max-width: 768px) {
    .hero-v2 {
        padding-top: 80px !important;
        padding-bottom: 40px !important;
    }

    .hero-v2 h1 {
        font-size: 28px !important;
        margin-bottom: 0.5rem !important;
    }

    .logo-img {
        height: 60px !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.4 !important;
    }

    .hero-buttons {
        width: 100% !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .hero-buttons .btn {
        width: 100% !important;
        padding: 15px 2rem !important;
        border-radius: 50px !important;
        font-size: 1.1rem !important;
        justify-content: center !important;
    }
}

/* Mobile Component Refinements - Phase 2 */
@media (max-width: 768px) {

    /* 1 card per line & centered text */
    .card-grid,
    .grid-responsive,
    .grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        /* Spacement vertical généreux */
    }

    .h-card,
    .h-card-v3,
    .clean-card,
    .stat-card,
    .team-card {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
        margin-bottom: 5px;
    }

    /* Reduce horizontal padding on mobile for sector cards */
    .grid-responsive>div {
        padding: 2rem 1.25rem !important;
    }

    .h-card-v3 .icon-box {
        margin: 0 auto 1.5rem !important;
    }

    .card-cta {
        justify-content: center !important;
    }

    /* Images full width in cards */
    .clean-card-image,
    .team-img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 16/9;
    }

    /* Sticky Bottom Button */
    .sticky-bottom-action {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 15px 24px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(15px);
        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        display: flex;
        justify-content: center;
    }

    .btn-sticky {
        width: 100%;
        background: var(--primary-blue);
        color: white;
        padding: 16px;
        border-radius: 50px;
        font-weight: 700;
        text-align: center;
        box-shadow: 0 4px 15px rgba(0, 45, 98, 0.2);
    }

    /* Padding for bottom sticky */
    body {
        padding-bottom: 80px;
    }
}

/* =========================================
   MOBILE OPTIMIZATION (Mobile-First Polish)
   ========================================= */

@media (max-width: 768px) {

    /* 1. Global Layout & Spacing */
    .container {
        padding: 0 1.25rem;
        /* 20px padding */
    }

    .section {
        padding: 60px 0;
        /* consistent vertical spacing */
    }

    .grid,
    .card-grid,
    .partner-grid,
    .contact-grid,
    .form-grid,
    .footer-top {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        /* Generous spacing */
        display: grid;
    }

    /* 2. Hero Section */
    .hero-v2 {
        height: 60vh !important;
        /* Reduced height */
        min-height: 480px;
        padding-top: 80px;
        align-items: center;
        text-align: center;
    }

    .hero-v2 h1 {
        font-size: 2rem !important;
        /* 28-32px range */
        line-height: 1.25;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        /* 16px readable */
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    /* 3. Buttons (CTA) */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        /* Full width */
        padding: 1rem;
        font-size: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* 4. Cards (Services/Realizations) */
    .hero-cards {
        margin-top: -40px;
        padding: 0 1rem;
    }

    .h-card-v3,
    .clean-card,
    .team-card {
        width: 100%;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        /* Soft shadow */
    }

    .h-card-v3 {
        padding: 2rem;
    }

    /* 5. Typography & Images */
    body {
        font-size: 16px;
        /* Base size */
    }

    h2 {
        font-size: 1.75rem;
        /* ~28px */
        margin-bottom: 1.5rem;
    }

    img {
        width: 100%;
        height: auto;
    }

    /* 6. Navigation UX */
    #mobile-menu-toggle {
        display: flex;
        padding: 10px;
        /* larger touch target */
    }

    /* Gallery & Quick Nav Mobile */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 1rem;
        margin-top: 2rem;
    }

    .gallery-item {
        height: 180px;
    }

    .quick-nav-container {
        padding: 1rem;
        gap: 0.75rem;
    }

    .quick-nav-btn {
        min-width: 100%;
    }
}

/* Partner Logo Slider V3 */
.logo-slider {
    overflow: hidden;
    padding: 2rem 0;
    background: white;
    position: relative;
    margin-top: 1rem;
}

.logo-slider::before,
.logo-slider::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 15rem;
    z-index: 2;
    pointer-events: none;
}

.logo-slider::before {
    left: 0;
    top: 0;
    background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-slider::after {
    right: 0;
    top: 0;
    background: linear-gradient(to left, white 0%, rgba(255, 255, 255, 0) 100%);
}

.logo-slide-track {
    display: flex;
    width: calc(250px * 8);
    /* 4 logos * 2 sets */
    animation: scroll 20s linear infinite;
}

.logo-slide-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 4));
        /* Total width / 2 */
    }
}

.logo-slide {
    height: 120px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.logo-slide img {
    height: 70px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: none;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.logo-slide:hover img {
    filter: grayscale(0) !important;
    opacity: 1 !important;
    transform: scale(1.1);
}

/* Responsive Slider */
@media (max-width: 768px) {

    .logo-slider::before,
    .logo-slider::after {
        width: 5rem;
    }

    .logo-slide {
        width: 180px;
        padding: 0 1rem;
    }

    .logo-slide img {
        height: 50px;
    }

    .logo-slide-track {
        width: calc(180px * 6);
    }

    @keyframes scroll {
        100% {
            transform: translateX(calc(-180px * 3));
        }
    }
}

.contact-form-wrapper {
    padding: 4rem;
}

@media (max-width: 992px) {
    .contact-form-wrapper {
        padding: 2rem !important;
    }
}