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

/* Fonts Tiempos */

@font-face {
    font-family: "Tiempos";
    src: url("../fonts/TestTiemposText-Regular.otf") format("opentype");
}
  
@font-face {
    font-family: "Tiempos";
    font-weight: bold;
    src: url("../fonts/TestTiemposText-Bold.otf") format("opentype");
}

/* ---- */
/*
@font-face {
  font-family:"Tiempos";
  src:url("../fonts/TiemposTextWeb-Regular.eot");
  src:url("../fonts/TiemposTextWeb-Regular.eot?#iefix") format("embedded-opentype"),
  url("../fonts/TiemposTextWeb-Regular.woff2") format("woff2"),
  url("../fonts/TiemposTextWeb-Regular.woff") format("woff");
  font-weight:400;
  font-style:normal
}

@font-face {
  font-family:"TiemposHeadline";
  src:url("../fonts/TiemposHeadlineWeb-Regular.woff2") format("woff2"),
  url("../fonts/TiemposHeadlineWeb-Regular.woff") format("woff");
  font-weight:400;
  font-style:normal
}

@font-face {
  font-family:"TiemposHeadline";
  src:url("../fonts/TiemposHeadlineWeb-Bold.woff2") format("woff2"),
  url("../fonts/TiemposHeadlineWeb-Bold.woff") format("woff");
  font-weight:700;
  font-style:normal
}
*/

/* End Tiempos */

/* TYPOGRAPHY - Google Fonts (Montserrat 700, Source Serif Pro 400/600) */
body {
  /*  font-family: 'Source Serif Pro', serif;
    line-height: 1.6;*/
    color: #2c2c2c;
    background: #fff;
    font-weight: 400;

    /* new */
    font-family: "Tiempos",Georgia,serif;
    line-height: 1.7;
   /* color: #000; */
}

h1, h2, h3, h4, h5, h6 {
   /* font-family: 'Montserrat', sans-serif;*/
    font-family: "Tiempos",Georgia,serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

nav,
nav a,
.btn-primary,
.btn-secondary,
.btn-contact,
button,
.section-label {
   /* font-family: 'Montserrat', sans-serif; */
    font-family: "Tiempos",Georgia,serif;
    font-weight: 700;
}

/* Use Source Serif Pro 600 for emphasis */
strong,
b,
.emphasis {
    font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2d5f3f;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Header */
header {
    /* old
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;*/

    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    height: 80px;              /* hauteur fixe du header */
    padding: 0;              
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;         /* j'autorise le débordement */

    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    header {
        height: 70px;
    }
}

@media (max-width: 480px) {
    header {
        height: 65px;
    }
}

header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

    /* new */
    height: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* 1.2rem; */

    /* new */
    margin-left: -80px;
}

/* new */

/* Trait vertical */
.logo-divider {
    width: 3px;
    height: 25px; /* 45px */
    background: #000;
    
    position: relative;
    bottom: -13px;

}

/* Slogan */
.logo-tagline {
    font-size: 0.9rem; /*   font-size: 1.1rem; */
    font-weight: bold;
    color: #000;
    white-space: nowrap;

    position: relative;
    bottom: -11px;
}


/* new */

.logo-img {
    height: 150px; /* default 50px */
    width: auto;
    object-fit: contain;
}

.logo-mark {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #2d5f3f 0%, #1a3d2b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1rem;
    letter-spacing: 1px;
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d5f3f;
    letter-spacing: -0.5px;
    display: none; /* Le logo contient déjà le texte */
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;

    /* new */
    margin: 0;       /* Bootstrap met souvent du margin sur ul */
    padding: 0;      /* idem pour padding */
}

 

nav a {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700; /* 500 */
    transition: color 0.3s;
    position: relative;
}

nav a:not(.btn-contact):hover {
    color: #2d5f3f;
}

nav a:not(.btn-contact)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e85d3d;
    transition: width 0.3s;
}

nav a:not(.btn-contact):hover::after {
    width: 100%;
}

.btn-contact {
    background: #e85d3d;
    color: white !important;
    padding: 0.7rem 1.8rem;
    border-radius: 3px;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-contact:hover {
    background: #d34d2d;
}


/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
}

.language-switcher:hover {
    background: #e8e8e8;
}

.lang-icon {
    font-size: 1.1rem;
}

.lang-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c2c2c;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 3px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    min-width: 150px;
    display: none;
    z-index: 1000;
}

.lang-dropdown.active {
    display: block;
}

.lang-option {
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.lang-option:hover {
    background: #f8f9fa;
}

.lang-option.selected {
    background: #f8f9fa;
    color: #e85d3d;
    font-weight: 500;
}

.lang-option-flag {
    font-size: 1.2rem;
}

/* Mobile Navigation */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.mobile-nav-overlay.active {
    opacity: 1;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    min-width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav.active {
    right: 0;
    display: block;
}

.mobile-nav-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.mobile-nav-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: #2c2c2c;
}

.mobile-nav-content {
    padding: 1.5rem;
}

.mobile-nav-content nav {
    display: block;
    width: 100%;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block !important;
    flex-direction: column;
    width: 100%;
}

.mobile-nav ul li {
    margin-bottom: 1rem;
    padding: 0;
    display: block;
    width: 100%;
}

.mobile-nav a {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    display: block !important;
    padding: 0.75rem 0;
    transition: color 0.3s;
    width: 100%;
    text-align: left;
}

.mobile-nav a:hover {
    color: #2d5f3f;
}

.mobile-nav .btn-contact {
    display: block !important;
    margin-top: 0.5rem;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
}

.mobile-lang-switcher {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8e8e8;
}

.mobile-lang-switcher h4 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-lang-options {
    display: flex;
    gap: 1rem;
}

.mobile-lang-btn {
    flex: 1;
    padding: 0.7rem;
    border: 2px solid #e8e8e8;
    background: white;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.mobile-lang-btn.active {
    border-color: #e85d3d;
    color: #e85d3d;
    background: #fff5f3;
}


/* Hero Section */
.hero {
    /*  background: linear-gradient(135deg, rgba(45, 95, 63, 0.95) 0%, rgba(26, 61, 43, 0.98) 100%),
                url('images/og-image.jpg');*/
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.3) 100%),
                url('../images/og-image.jpg');
    background-size: cover;
    background-position: center;
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
}

.hero-content {
    max-width: 850px;
    color: white;
    margin-left: -80px;
}

.hero-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e85d3d;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3rem; /* 4rem old */
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
}

.hero-description {
    font-size: 1.35rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: rgba(255,255,255,0.95);
    font-weight: bold; /* 300 */
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    display: inline-block;
    border-radius: 3px;
}

.btn-primary {
    background: #e85d3d;
    color: white;
}

.btn-primary:hover {
    background: #d34d2d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 93, 61, 0.3);
}

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

.btn-secondary:hover {
    background: white;
    color: #2d5f3f;
}

/* Stats Section */
.stats-section {
    background: #f8f9fa;
    padding: 5rem 3rem;
}

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

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
   /* color: #2d5f3f;*/
    margin-bottom: 0.5rem;
    line-height: 1;
  /*  font-family: 'Montserrat', sans-serif; */
    font-family: "Tiempos",Georgia,serif;
}

.stat-label {
    font-size: 1rem;
   /* color: #666;*/
    font-weight: 400;
}

/* Services Section */
section {
    padding: 7rem 3rem;
}

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

.section-header {
    max-width: 800px;
    margin-bottom: 5rem;
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e85d3d;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c2c2c;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.6;
    font-weight: 300;
}

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

.service-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.service-image {
    height: 200px;
    background: linear-gradient(135deg, #2d5f3f 0%, #1a3d2b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;

    /* new */
    width: 100%;
}


/* new */

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* garde les proportions et remplit le cadre */
    object-position: center;
    display: block;
}


/* end new */


.service-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 93, 61, 0.1) 0%, transparent 100%);
}

.service-content {
    padding: 2.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    color: #e85d3d;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
   /* font-family: 'Montserrat', sans-serif; */
    font-family: "Tiempos",Georgia,serif;
}

.service-link:hover {
    gap: 0.8rem;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2d5f3f 0%, #1a3d2b 100%);
    color: white;
    text-align: center;
    padding: 7rem 3rem;
}

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

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.7;
}

/* Footer */
footer {
    background: #2c2c2c;
    color: #999;
    padding: 4rem 3rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;  /* grid-template-columns: 2fr 1fr 1fr 1fr; */
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #444;
}

.footer-about h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-about p {
    line-height: 1.7;
    color: #999;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: #e85d3d;
    font-style: italic;
}

.footer-section h4 {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section a {
    color: #999;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #e85d3d;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;

    /* new */
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;

    /* align-items: center; */
}

.footer-links a {
    color: #999;
    text-decoration: none;
}

.footer-links a:hover {
    color: #e85d3d;
}

/* ICONES SOCIALES */
.social-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 0.5rem;
}

.social-icons a {
    color: #ffffff;
    font-size: 0.9rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #e85d3d; /* couleur accent */
    transform: translateY(-2px);
}



/* Language visibility - CORRIGÉ POUR LE FOOTER ET MENU MOBILE */
.lang-en { 
    display: block; 
}

.lang-fr { 
    display: none !important;  /* Important pour forcer le hide */
}

body.french .lang-en { 
    display: none !important;  /* Important pour forcer le hide */
}

body.french .lang-fr { 
    display: block !important; /* Important pour forcer le show */
}

/* Spécifique pour le menu mobile - forcer la visibilité correcte */
.mobile-nav .lang-en {
    display: block !important;
}

.mobile-nav .lang-fr {
    display: none !important;
}

body.french .mobile-nav .lang-en {
    display: none !important;
}

body.french .mobile-nav .lang-fr {
    display: block !important;
}

/* S'assurer que chaque li du menu mobile n'affiche qu'un seul lien à la fois */
.mobile-nav ul li .lang-en {
    display: block !important;
}

.mobile-nav ul li .lang-fr {
    display: none !important;
}

body.french .mobile-nav ul li .lang-en {
    display: none !important;
}

body.french .mobile-nav ul li .lang-fr {
    display: block !important;
}

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

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

@media (max-width: 768px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .logo-section {
        margin-left: 0;
    }

    .logo-img {
        height: 150px; 
        width: auto;

        /* new */
        margin-left: -10px;
    }

    /* new */

    .logo-divider,
    .logo-tagline {
        display: none;
    }

    /* new */

    .brand-text {
        font-size: 1rem;
    }

    .desktop-nav {
        display: none;
    }

    .language-switcher {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav-overlay {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

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

    section {
        padding: 4rem 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    /* Mobile Navigation adjustments */
    .mobile-nav {
        width: 90%;
        max-width: 350px;
    }

    .mobile-nav-header {
        padding: 1.2rem;
    }

    .mobile-nav-content {
        padding: 1.2rem;
    }

    .mobile-nav-content nav {
        display: block !important;
    }

    .mobile-nav ul {
        display: block !important;
        flex-direction: column !important;
    }

    .mobile-nav ul li {
        display: block !important;
        width: 100%;
    }

    .mobile-nav a {
        font-size: 0.95rem;
        display: block !important;
        width: 100%;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .header-container {
        padding: 0 1rem;
    }

    .logo-img {
        height: 100px;
    }

    .mobile-menu-toggle {
        padding: 3px;
    }

    .mobile-menu-toggle span {
        width: 22px;
        height: 2.5px;
    }

    .mobile-nav {
        width: 95%;
        max-width: 320px;
    }

    .mobile-nav-header {
        padding: 1rem;
    }

    .mobile-nav-header img {
        height: 35px !important;
    }

    .mobile-nav-content {
        padding: 1rem;
    }

    .mobile-nav-content nav {
        display: block !important;
    }

    .mobile-nav ul {
        display: block !important;
        flex-direction: column !important;
    }

    .mobile-nav ul li {
        display: block !important;
        width: 100%;
    }

    .mobile-nav a {
        font-size: 0.9rem;
        display: block !important;
        width: 100%;
    }

    .mobile-lang-btn {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: #e85d3d;
    color: white;
}

/* Image lazy loading placeholder */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}




/* About Page Specific Styles */



/* Page Hero */
        .page-hero {
            background: linear-gradient(135deg, #2d5f3f 0%, #1a3d2b 100%);
            color: white;
            padding: 6rem 3rem 4rem;
            text-align: center;
        }

        .page-hero-about {
           /* background: linear-gradient(135deg, #2d5f3f 0%, #1a3d2b 100%); */
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%),
                url('../images/banner1.jpg');
 
            background-size: cover;       /* remplit toute la bannière */
            background-position: center;  /* centre la zone la plus importante */
            background-repeat: no-repeat; /* empêche la répétition */
            
            color: white;
            padding: 6rem 3rem 4rem;
            text-align: center;
        }

        .page-hero-services {
           /* background: linear-gradient(135deg, #2d5f3f 0%, #1a3d2b 100%); */
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%),
                url('../images/banner3.jpg');
 
            background-size: cover;       /* remplit toute la bannière */
            background-position: center;  /* centre la zone la plus importante */
            background-repeat: no-repeat; /* empêche la répétition */
            
            color: white;
            padding: 6rem 3rem 4rem;
            text-align: center;
        }


        .page-hero-leadership-team {
           /* background: linear-gradient(135deg, #2d5f3f 0%, #1a3d2b 100%); */
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%),
                url('../images/banner2.jpg');
 
            background-size: cover;       /* remplit toute la bannière */
            background-position: center;  /* centre la zone la plus importante */
            background-repeat: no-repeat; /* empêche la répétition */
            
            color: white;
            padding: 6rem 3rem 4rem;
            text-align: center;
        }

        .hero-p {
            font-weight: bold;
            font-size: 20px;
        }

  



        .page-hero h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            letter-spacing: -1px;
        }

        .page-hero p {
            font-size: 1.3rem;
            max-width: 700px;
            margin: 0 auto;
            opacity: 0.95;
        }

        /* Content Sections */
        section {
            padding: 6rem 3rem;
        }

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

        .content-section {
            background: #fff;
        }

        .content-section-alt {
            background: #f8f9fa;
        }

        .section-header {
            max-width: 800px;
            margin-bottom: 4rem;
        }

        .section-label {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #e85d3d;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .section-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            color: #2c2c2c;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            letter-spacing: -1px;
        }

        .section-header p {
            font-size: 1.15rem;
            color: #666;
            line-height: 1.7;
        }

        /* Two Column Layout */
        .two-column {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5rem;
            align-items: center;
        }

        .column-content h3 {
            font-size: 2rem;
            color: #2d5f3f;
            margin-bottom: 1.5rem;
        }

        .column-content p {
            font-size: 1.05rem;
            line-height: 1.8;
            color: #666;
            margin-bottom: 1.5rem;
        }

        .column-image {
            width: 100%;
            height: 400px;
            background: linear-gradient(135deg, #2d5f3f 0%, #e85d3d 100%);
            border-radius: 8px;

            /*  new */
            /*  position: relative; */
            overflow: hidden; /* new - coupe tout ce qui dépasse */
        }

        /* new */

        .column-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;     /* garde les proportions et remplit le cadre */
            object-position: center;
            display: block;
        }

        /* end new */


        /* Values Grid */
        .values-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 3rem;
            margin-top: 3rem;
        }

        .value-card {
            text-align: center;
            padding: 2.5rem;
            background: white;
            border: 1px solid #e8e8e8;
            border-radius: 8px;
            transition: all 0.3s;
        }

        .value-card:hover {
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transform: translateY(-5px);
        }

        .value-icon {
            font-size: 3rem;
            margin-bottom: 1.5rem;
        }

        .value-card h3 {
            font-size: 1.3rem;
            color: #2c2c2c;
            margin-bottom: 1rem;
        }

        .value-card p {
            color: #666;
            line-height: 1.7;
        }

        

        /* Timeline */
        .timeline {
            position: relative;
            padding-left: 3rem;
            margin-top: 3rem;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(to bottom, #2d5f3f, #e85d3d);
        }

        .timeline-item {
            position: relative;
            margin-bottom: 3rem;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -3.6rem;
            top: 0.5rem;
            width: 15px;
            height: 15px;
            background: #e85d3d;
            border-radius: 50%;
            border: 3px solid white;
            box-shadow: 0 0 0 3px #e85d3d;
        }

        .timeline-year {
            font-size: 1.5rem;
            font-weight: 700;
            color: #2d5f3f;
            margin-bottom: 0.5rem;
        }

        .timeline-content h4 {
            font-size: 1.2rem;
            color: #2c2c2c;
            margin-bottom: 0.5rem;
        }

        .timeline-content p {
            color: #666;
            line-height: 1.7;
        }

        /* Stats Banner */
        .stats-banner {
            background: linear-gradient(135deg, #2d5f3f 0%, #1a3d2b 100%);
            color: white;
            padding: 5rem 3rem;
        }

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

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

        .stat-number {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            line-height: 1;
        }

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

        /* CTA Section */
        .cta-section {
            background: #f8f9fa;
            text-align: center;
            padding: 6rem 3rem;
        }

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

        .cta-section h2 {
            font-size: 2.5rem;
            font-weight: 700;
           /* color: #2c2c2c;*/
            margin-bottom: 1.5rem;
        }

        .cta-section p {
            font-size: 1.2rem;
         /*   color: #666;*/
            margin-bottom: 2.5rem;
            line-height: 1.7;
        }

        .btn-primary {
            background: #e85d3d;
            color: white;
            padding: 1rem 2.5rem;
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            transition: all 0.3s;
            display: inline-block;
            border-radius: 3px;
        }

        .btn-primary:hover {
            background: #d34d2d;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(232, 93, 61, 0.3);
        }

       
       

        /* Responsive */
        @media (max-width: 1024px) {
            .two-column {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

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

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

        @media (max-width: 768px) {
           
            .page-hero {
                padding: 4rem 2rem 3rem;
            }

            .page-hero h1 {
                font-size: 2.5rem;
            }

            .page-hero p {
                font-size: 1.1rem;
            }

            section {
                padding: 4rem 2rem;
            }

            .section-header h2 {
                font-size: 2rem;
            }

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

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

            .timeline {
                padding-left: 2rem;
            }

        
        }

/* Services */


        /* Service Detail Cards */
        .service-detail {
            background: white;
            border: 1px solid #e8e8e8;
            border-radius: 8px;
            padding: 0;
            margin-bottom: 4rem;
            overflow: hidden;
        }

        .service-detail-header {
            background: linear-gradient(135deg, #2d5f3f 0%, #1a3d2b 100%);
            color: white;
            padding: 3rem;
            display: flex;
            align-items: center;
            gap: 2rem;
        }

        .service-icon-large {
            font-size: 4rem;
            opacity: 0.9;
        }

        .service-detail-header h3 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .service-detail-header p {
            font-size: 1.2rem;
            opacity: 0.95;
        }

        .service-detail-content {
            padding: 3rem;
        }

        .service-detail-content h4 {
            font-size: 1.5rem;
            color: #2d5f3f;
            margin-bottom: 1.5rem;
            margin-top: 2rem;
        }

        .service-detail-content h4:first-child {
            margin-top: 0;
        }

        .service-detail-content p {
            color: #666;
            line-height: 1.8;
            margin-bottom: 1.5rem;
        }

        .service-detail-content ul {
            list-style: none;
            padding: 0;
            margin: 1.5rem 0;
        }

        .service-detail-content li {
            padding: 0.8rem 0;
            padding-left: 2rem;
            position: relative;
            color: #666;
            line-height: 1.7;
        }

        .service-detail-content li::before {
            content: "→";
            position: absolute;
            left: 0;
            color: #e85d3d;
            font-weight: bold;
        }

        /* Case Study Box */
        .case-study-box {
            background: #f8f9fa;
            border-left: 4px solid #e85d3d;
            padding: 2rem;
            margin: 2rem 0;
        }

        .case-study-box h5 {
            font-size: 1.1rem;
            color: #2d5f3f;
            margin-bottom: 0.5rem;
        }

        .case-study-meta {
            font-size: 0.9rem;
            color: #999;
            font-style: italic;
            margin-bottom: 1rem;
        }

        .case-study-box p {
            color: #666;
            margin-bottom: 0;
        }

        /* Process Steps */
        .process-steps {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin: 2rem 0;
        }

        .process-step {
            text-align: center;
            padding: 2rem;
            background: white;
            border: 1px solid #e8e8e8;
            border-radius: 8px;
        }

        .step-number {
            width: 50px;
            height: 50px;
            background: #e85d3d;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0 auto 1rem;
        }

        .process-step h5 {
            font-size: 1.1rem;
            color: #2c2c2c;
            margin-bottom: 0.8rem;
        }

        .process-step p {
            font-size: 0.95rem;
            color: #666;
            line-height: 1.6;
        }

        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, #2d5f3f 0%, #1a3d2b 100%);
            color: white;
            text-align: center;
            padding: 6rem 3rem;
        }

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

        .cta-section h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
        }

        .cta-section p {
            font-size: 1.2rem;
            margin-bottom: 2.5rem;
            opacity: 0.95;
            line-height: 1.7;
        }

        .btn-primary {
            background: #e85d3d;
            color: white;
            padding: 1rem 2.5rem;
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            transition: all 0.3s;
            display: inline-block;
            border-radius: 3px;
        }

        .btn-primary:hover {
            background: #d34d2d;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(232, 93, 61, 0.3);
        }

       
        @media (max-width: 768px) {
           


            .service-detail-header {
                flex-direction: column;
                text-align: center;
                padding: 2rem;
            }

            .service-detail-header h3 {
                font-size: 2rem;
            }

            .service-detail-content {
                padding: 2rem;
            }

            .process-steps {
                grid-template-columns: 1fr;
            }

          
        }


/* Team */

        /* Team Section */
        section {
            padding: 6rem 3rem;
        }

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

        .section-header {
            max-width: 800px;
            margin-bottom: 4rem;
        }

        .section-label {
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #e85d3d;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .section-header h2 {
            font-size: 2.5rem;
            font-weight: 700;
            color: #2c2c2c;
            line-height: 1.2;
            margin-bottom: 1.5rem;
            letter-spacing: -1px;
        }

        .section-header p {
            font-size: 1.15rem;
            color: #666;
            line-height: 1.7;
        }

        /* Team Member Cards */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 4rem;
            margin-bottom: 4rem;
        }

        .team-member {
            background: white;
            border: 1px solid #e8e8e8;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.3s;
        }

        .team-member:hover {
            box-shadow: 0 10px 40px rgba(0,0,0,0.1);
            transform: translateY(-5px);
        }

        .member-photo {
            width: 100%;
            height: 400px;
            background: linear-gradient(135deg, #2d5f3f 0%, #1a3d2b 100%);
            position: relative;
            overflow: hidden; /* new - coupe tout ce qui dépasse */
        }

        /* new */

        .member-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;     /* garde les proportions et remplit le cadre */
            object-position: center;
            display: block;
        }


        /* end new */

        .member-info {
            padding: 3rem;
        }

        .member-name {
            font-size: 2rem;
            font-weight: 700;
            color: #2c2c2c;
            margin-bottom: 0.5rem;
        }

        .member-title {
            font-size: 1.2rem;
            color: #e85d3d;
            margin-bottom: 1.5rem;
        }

        .member-bio {
            color: #666;
            line-height: 1.8;
            margin-bottom: 2rem;
        }

        .member-expertise {
            margin-bottom: 2rem;
        }

        .member-expertise h4 {
            font-size: 1.1rem;
            color: #2d5f3f;
            margin-bottom: 1rem;
        }

        .expertise-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
        }

        .tag {
            background: #f8f9fa;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            color: #666;
            border: 1px solid #e8e8e8;
        }

        .member-contact {
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
            padding-top: 1.5rem;
            border-top: 1px solid #e8e8e8;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            color: #666;
            text-decoration: none;
            transition: color 0.3s;
        }

        .contact-item:hover {
            color: #e85d3d;
        }

        .contact-icon {
            width: 20px;
            text-align: center;
        }

        /* Experience Highlights */
        .experience-section {
            background: #f8f9fa;
        }

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

        .experience-card {
            background: white;
            padding: 2rem;
            border-radius: 8px;
            border: 1px solid #e8e8e8;
        }

        .experience-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .experience-card h4 {
            font-size: 1.2rem;
            color: #2c2c2c;
            margin-bottom: 0.8rem;
        }

        .experience-card p {
            color: #666;
            line-height: 1.7;
        }

        /* CTA Section */
        .cta-section {
            background: linear-gradient(135deg, #2d5f3f 0%, #1a3d2b 100%);
            color: white;
            text-align: center;
            padding: 6rem 3rem;
        }

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

        .cta-section h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
        }

        .cta-section p {
            font-size: 1.2rem;
            margin-bottom: 2.5rem;
            opacity: 0.95;
            line-height: 1.7;
        }

        .btn-primary {
            background: #e85d3d;
            color: white;
            padding: 1rem 2.5rem;
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem;
            transition: all 0.3s;
            display: inline-block;
            border-radius: 3px;
        }

        .btn-primary:hover {
            background: #d34d2d;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(232, 93, 61, 0.3);
        }

      

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

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

        @media (max-width: 768px) {
           

          
            .member-info {
                padding: 2rem;
            }

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

         
        }

       


/* Partners Section */


.partners-section {
    background-color: #fff; /* background-color: #f9f9f9; */
}

.section-title {
    font-weight: 700;
    color: #2d5f3f;
    font-size: 30px;
}

.partner-logo {
    max-width: 160px;
    max-height: 50px; /* max-height: 150px; */
    object-fit: contain;
  /*  filter: grayscale(100%);*/
    opacity: 0.8;
    transition: all 0.3s ease;
}

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


/* End Partners Section */


/* New Section */


/* SECTION ROUGE */
.cta-section2 {
    background: #2d5f3f ;
    height: 420px;
    position: relative;
    color: #fff;
  /*  font-family: 'Montserrat', sans-serif; */
    font-family: "Tiempos",Georgia,serif;
}

/* CONTENU */
.cta-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    height: 100%;
    padding: 2rem;
}

.cta-box h2 {
    font-size: 2.2rem;
    font-weight: 700;
    max-width: 420px;
    line-height: 1.2;
}

/* SÉPARATEUR CENTRAL */
.cta-divider {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 160px;
    width: 1px;
    background: rgba(255, 255, 255, 0.5);
}

/* BOUTON */
.cta-btn {
    border: 1.5px solid #fff;
    color: #fff;
    padding: 0.9rem 2.5rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 0;
    background: transparent;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;

    /* new */
    padding-bottom: 2rem;
}

/* ANIMATION AU SURVOL */
.cta-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.cta-btn:hover::before {
    transform: scaleX(1);
}

.cta-btn:hover {
    color: #fff;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .cta-section2 {
        height: auto;
        padding: 4rem 0;
    }

    .cta-divider {
        display: none;
    }

    .cta-box h2 {
        font-size: 1.8rem;
    }

    .logo-section {

    /* new */
    margin-left: 0px;
}
}


/* End New Section */



/** Contact Section 1 **/

.contact-form-page {
    padding: 6rem 0;
   /* font-family: Montserrat, sans-serif; */
    font-family: "Tiempos",Georgia,serif;
}

/* Titles */
.contact-title {
    font-size: 3rem;
    font-weight: 700;
}

.contact-intro {
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    color: #333;
}

/* Sections */
.form-section-title {
    font-weight: 700;
    margin: 2rem 0 1rem;
}

/* AIES-style fields */
.aies-form label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.aies-form .form-control {
    border-radius: 0;
    border: 1px solid #ccc;
    padding: 0.6rem;
    font-size: 0.9rem;
}

.aies-form .form-control:focus {
    border-color: #2d5f3f;
    box-shadow: none;
}

/* Separators */
.aies-form hr {
    margin: 2.5rem 0;
    border-top: 1px solid #ddd;
}

/* Error */
.error-msg {
    display: none;
    color: #c40000;
    font-size: 0.75rem;
    margin-top: 0.3rem;
}

/* Submit */
.submit-btn {
    background: #2d5f3f; /* #c40000 */
    color: #fff;
    padding: 0.7rem 2.5rem;
    border: none;
    font-weight: 700;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: #008c4d;
    color: #fff;
}


/** End Contact Section 1 **/
