/* ==========================================================================
   COGEFLANDRE — Revised Premium Stylesheet (Corporate Redesign)
   Palette, Fonts, Circular Pictos, Grid layouts and Mobile Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. DESIGN SYSTEM VARIABLES
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&family=Roboto+Condensed:wght@300;400;700&display=swap');

:root {
    /* Exact colors from original identity */
    --primary-color: #133454;       /* Original Corporate Dark Navy (#133454) */
    --primary-light: #80a6c6;       /* Accent active medium blue (#80a6c6) */
    --primary-dark: #0a1d2f;
    --secondary-color: #9C1C18;     /* Crimson Red accent from logo 'F' */
    --secondary-light: #B82520;
    --accent-color: #80a6c6;        /* Sky blue highlight (#80a6c6) */
    --accent-light: #a6c4df;        /* Lighter tint of #80a6c6 */
    
    /* Backgrounds - Dominante de blanc & épuré */
    --white: #ffffff;               /* Pure white color */
    --bg-light: #ffffff;            /* Pure white background */
    --bg-white: #ffffff;
    --bg-beige: #f8fafc;            /* Soft cool gray-blue background for section alternate */
    --bg-beige-warm: #FAF8F5;       /* Refined light ivory background */
    --bg-beige-light: #ffffff;
    --bg-header: #ffffff;           /* Clean white headers */
    --bg-dark: #133454;
    
    /* Text Colors */
    --text-dark: #333333;           /* Charcoal dark gray */
    --text-muted: #5e6b75;          /* Cool medium slate gray */
    --text-light: #FCFBFA;
    --text-light-muted: #A3B5C9;
    
    /* Typography */
    --font-heading: 'Open Sans', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Borders & Spacings */
    --border-color: #eef1f4;
    --border-color-light: #e6f1f8;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 59, 92, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 59, 92, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 59, 92, 0.1);
    
    /* Radii & Transitions */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --section-padding: clamp(3.5rem, 6vw, 6rem);
}

/* --------------------------------------------------------------------------
   02. BASE RESETS & HELPER CLASSES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.text-center { text-align: center; }
.text-white { color: var(--text-light); }

/* Headings & Badges */
.section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-light);
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    margin-bottom: 16px;
}

.section-badge.badge-white {
    color: var(--accent-light);
    background-color: rgba(255, 255, 255, 0.1);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 48px auto;
    text-wrap: pretty;
    line-height: 1.6;
}

.section-divider {
    width: 60px;
    height: 2px;
    background-color: var(--primary-light);
    margin: 16px auto 0 auto;
    border-radius: 1px;
}

/* Scroll Animation classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   03. BUTTONS & CTAS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

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

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

.btn-secondary {
    background-color: var(--bg-beige);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

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

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

.btn-outline:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   04. TOP BAR & STICKY HEADER
   -------------------------------------------------------------------------- */

/* -- Dark Navy Banner (Top Bar) -- */
.top-bar {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: none;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 28px;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.85);
}

.top-bar-info svg {
    opacity: 0.7;
}

.top-bar-info a {
    color: rgba(255, 255, 255, 0.85);
}

.top-bar-info a:hover {
    color: var(--white);
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-client-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--radius-sm);
    letter-spacing: 0.3px;
    transition: var(--transition-fast);
}

.top-bar-client-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.7);
}

.top-bar-links .separator {
    opacity: 0.3;
    color: var(--white);
}

/* -- White Header Nav Bar -- */
.main-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 14px 0;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    max-height: 58px;
    width: auto;
}

/* Nav menu: items + Contact CTA grouped on the right */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin-right: 28px;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: var(--transition-smooth);
}

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

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

/* Contact CTA button inside the nav */
.nav-contact-btn {
    padding: 9px 24px !important;
    font-size: 0.82rem !important;
    border-radius: var(--radius-full) !important;
    text-transform: none !important;
    letter-spacing: 0.3px !important;
    font-weight: 700 !important;
}

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

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    cursor: pointer;
    z-index: 110;
    background: none;
    border: none;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
}


/* --------------------------------------------------------------------------
   05. HERO SECTION (SPLIT LAYOUT WITH TEAM PHOTO) - LIGHT & CLASSY THEME
   -------------------------------------------------------------------------- */
.hero-section {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 60%, var(--bg-beige-light) 100%);
    color: var(--text-dark);
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    color: var(--primary-light);
    font-style: italic;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 40px;
    text-wrap: pretty;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-visual {
    position: relative;
}

.team-photo-container {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(0, 59, 92, 0.08);
    border: 1px solid var(--border-color);
    position: relative;
}

.team-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Decorative dots to replicate classic slide designs */
.slider-dots-decorator {
    position: absolute;
    bottom: -16px;
    left: 24px;
    display: flex;
    gap: 8px;
    z-index: 5;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(0, 59, 92, 0.15);
}

.slider-dot.active {
    background-color: var(--primary-light);
}

/* --------------------------------------------------------------------------
   06. REASSURANCE SECTION (TRUST INDICATORS)
   -------------------------------------------------------------------------- */
.trust-section {
    padding: 40px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.trust-item {
    text-align: center;
    padding: 16px 12px;
}

.trust-item h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.trust-item h3::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-light);
    margin: 8px auto 0;
}

.trust-item p {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 8px;
}

/* --------------------------------------------------------------------------
   07. EXPERTISES SECTION (PREMIUM 5-COLUMN CARD GRID LAYOUT)
   -------------------------------------------------------------------------- */
.expertises-section {
    padding: var(--section-padding) 0;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #FAF8F5 80%);
    background-color: #FAF8F5;
    border-bottom: 1px solid var(--border-color);
}

.expertises-badge {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.expertises-section .section-title {
    font-family: var(--font-body);
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.expertises-section .section-subtitle {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 auto 48px auto;
    font-weight: 400;
    line-height: 1.6;
    max-width: 640px;
}

.expertises-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 54px;
}

.expertise-card {
    position: relative;
    overflow: hidden;
    background-color: #fffefc; /* Fond blanc chaud */
    border-radius: 12px; /* Angle un peu plus raffiné */
    padding: 40px 30px;
    box-shadow: 0 4px 16px rgba(19, 52, 84, 0.02), 0 1px 2px rgba(19, 52, 84, 0.01); /* Ombre courte et diffuse */
    border: 1px solid rgba(19, 52, 84, 0.025); /* Bord 1px à très faible opacité */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.expertise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(19, 52, 84, 0.04), 0 2px 4px rgba(19, 52, 84, 0.02);
    border-color: rgba(128, 166, 198, 0.2);
}

.expertise-icon-box {
    width: 100%;
    height: 90px; /* Picto mieux calé (aligné verticalement dans une boîte fixe) */
    background-color: transparent;
    border: none;
    padding: 0;
    margin-bottom: 24px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: var(--transition-smooth);
}

.expertise-card:hover .expertise-icon-box {
    transform: scale(1.05);
}

.expertise-picto-img {
    width: 90px; /* Picto un peu plus grand */
    height: 90px;
    object-fit: contain;
}

.expertise-icon-box svg {
    width: 56px; /* Picto un peu plus grand */
    height: 56px;
    stroke-width: 1.5;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.expertise-card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.25; /* Titre plus dense */
    letter-spacing: -0.3px; /* Titre plus dense */
}

.expertise-card p {
    font-size: 0.84rem;
    color: var(--text-muted);
    opacity: 0.75; /* Texte descriptif un ton plus discret */
    line-height: 1.6;
    margin: 0 0 16px 0;
    font-weight: 400;
}

.expertise-link {
    margin-top: auto;
    padding-top: 16px;
    font-size: 0.78rem;
    font-weight: 600; /* Lien "En savoir plus" vraiment secondaire */
    color: var(--text-muted);
    opacity: 0.6; /* Lien "En savoir plus" vraiment secondaire */
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.expertise-card:hover .expertise-link {
    color: var(--primary-light);
    opacity: 1;
    transform: translateX(4px);
}

.expertises-actions .btn-capsule-dark {
    background-color: var(--primary-light);
}

.expertises-actions .btn-capsule-dark:hover {
    background-color: var(--primary-color);
}

/* --------------------------------------------------------------------------
   08. SECTEURS D'ACTIVITE SECTION
   -------------------------------------------------------------------------- */
.secteurs-section {
    padding: var(--section-padding) 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.secteurs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.sector-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 30px 20px;
    text-align: center;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.sector-card:hover {
    background-color: var(--bg-beige);
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.sector-icon {
    width: 36px;
    height: 36px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.sector-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    line-height: 1.35;
}

.secteurs-footer-text {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-top: 32px;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   09. CHIFFRES CLES SECTION (PRECISE & CREDIBLE VISUAL)
   -------------------------------------------------------------------------- */
.stats-section {
    padding: var(--section-padding) 0;
    background-color: var(--white);
    color: var(--text-dark);
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-section .section-title {
    color: var(--primary-color);
}

/* --- Peps stats layout --- */
.stats-grid-peps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-peps {
    text-align: center;
    padding: 24px 16px;
    position: relative;
}

.stat-peps::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-light);
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.stat-peps:hover::after {
    width: 60px;
    opacity: 1;
}

.stat-peps-number {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 300;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -2px;
    transition: var(--transition-smooth);
}

.stat-peps:hover .stat-peps-number {
    color: var(--primary-color);
    transform: scale(1.05);
}

.stat-peps-prefix {
    font-weight: 300;
    letter-spacing: -2px;
}

.stat-peps-label {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.3px;
}

/* --------------------------------------------------------------------------
   10. ACTUS & PORTAL SECTION (INTEGRATED COMPLEMENT)
   -------------------------------------------------------------------------- */
.resources-section {
    padding: var(--section-padding) 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

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

.resources-icon-wrapper {
    margin-bottom: 20px;
}

.resources-picto {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin: 0 auto; /* Center the block image */
}

.resources-badge {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.resources-title-new {
    font-family: var(--font-body);
    font-size: clamp(1.4rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.resources-text-new {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.6;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.btn-capsule-white {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    text-transform: none; /* Override parent uppercase rule */
}

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

.btn-capsule-dark {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
    text-transform: none; /* Override parent uppercase rule */
}

.btn-capsule-dark:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   11. CONTACT & ACCESS DETAILS
   -------------------------------------------------------------------------- */
.contact-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-light);
}

.contact-container {
    max-width: 1040px;
}

.contact-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 60px 48px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 48px;
    background-image: radial-gradient(circle at 100% 0%, rgba(128, 166, 198, 0.04) 0%, transparent 40%);
}

.contact-main {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.contact-text {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-actions .btn {
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 700;
}

.contact-actions .btn-outline.secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-width: 1px;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    border-top: 1px solid var(--border-color);
    padding-top: 48px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-item .info-icon {
    width: 44px;
    height: 44px;
    background-color: var(--bg-beige);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-item .info-icon svg {
    stroke-width: 1.75px;
}

.contact-info-item .info-content h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.contact-info-item .info-content p {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 6px;
}

.contact-info-item .info-content .contact-clickable {
    color: var(--text-dark);
    font-weight: 600;
    transition: var(--transition-fast);
}

.contact-info-item .info-content .contact-clickable:hover {
    color: var(--primary-light);
}

.contact-info-item .info-content .info-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
    display: inline-block;
    transition: var(--transition-fast);
}

.contact-info-item .info-content .info-link:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* --- Modal styles --- */
.booking-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.booking-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(19, 52, 84, 0.4);
    backdrop-filter: blur(4px);
}

.modal-container {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1010;
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-modal.show .modal-container {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition-fast);
    line-height: 1;
}

.modal-close-btn:hover {
    color: var(--primary-color);
}

.modal-header {
    margin-bottom: 28px;
    text-align: center;
}

.modal-header h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.modal-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.modal-form {
    position: relative;
}

@media (max-width: 991px) {
    .contact-card {
        padding: 40px 24px;
        gap: 36px;
    }
    
    .contact-details-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 36px;
    }
}

/* Form Container Styling */
.form-card {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.form-header {
    margin-bottom: 24px;
}

.form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.form-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-group-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    background-color: var(--white);
    border-color: var(--primary-light);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23536271' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin-top: 6px;
}

.checkbox-group input {
    margin-top: 3px;
    width: auto;
}

.checkbox-group label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.4;
    cursor: pointer;
}

.error-message {
    display: none;
    font-size: 0.75rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 2px;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: var(--secondary-color);
    background-color: rgba(156, 28, 24, 0.02);
}

.form-group.has-error .error-message {
    display: block;
}

.submit-btn-wrapper {
    margin-top: 20px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    background-color: var(--primary-light);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    border: none;
}

.btn-submit:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: var(--radius-full);
    animation: spin-anim 0.8s linear infinite;
}

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

.form-success-alert {
    position: absolute;
    inset: 0;
    background-color: var(--white);
    padding: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 10;
    transform: translateY(100%);
    transition: var(--transition-smooth);
}

.form-success-alert.show-success {
    transform: translateY(0);
}

.success-icon-badge {
    width: 60px;
    height: 60px;
    background-color: rgba(16, 185, 129, 0.08);
    color: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.form-success-alert h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.form-success-alert p {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 320px;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.main-footer {
    background-color: var(--white);
    color: var(--text-muted);
    padding: 60px 0 0 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-link {
    margin-bottom: 20px;
}

.footer-logo-img {
    max-height: 48px;
    width: auto;
}

.footer-brand-desc {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.footer-links-col h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-col a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links-col a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-legal-links a {
    color: var(--text-muted);
}

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

.footer-legal-links .separator {
    color: var(--border-color);
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */

@media (max-width: 1199px) {
    .expertises-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .secteurs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid-revised {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .expertises-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

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

    .top-bar-info {
        gap: 16px;
    }

    .top-bar-info span:first-child {
        display: none; /* Hide address on mobile, keep phone */
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-white);
        box-shadow: -10px 0 40px rgba(0, 59, 92, 0.15);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 105;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
        margin-right: 0;
        margin-bottom: 32px;
    }
    
    .nav-menu a {
        font-size: 1.15rem;
    }

    .nav-contact-btn {
        align-self: flex-start;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .secteurs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid-revised {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .secteurs-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-revised {
        grid-template-columns: 1fr;
    }
    
    .form-group-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .expertises-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-card {
        padding: 24px;
    }
}
