@charset "UTF-8";
/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #9bca3b;             /* logo green */
    --sky-blue: #0a8b9c;                  /* deeper teal */
    --sky-blue-light: #7ab8c4;            /* lighter teal */
    --secondary-color: #0a8b9c;
    --gold: #d4a55c;                      /* warm gold accent */
    --gold-light: #efd9a8;                /* soft gold */
    --dark-color: #2b3038;
    --light-color: #f4faf5;               /* very light green tint */
    --cream: #fdf9f0;                     /* ivory cream */
    --warm-bg: #fbf8f3;                   /* warm beige */
    --gray-color: #6c757d;
    --light-gray: #eef2f0;
    --white: #ffffff;
    --shadow: 0 4px 16px rgba(27, 94, 32, 0.08);
    --shadow-elevated: 0 14px 38px rgba(27, 94, 32, 0.14);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--warm-bg);
}

h1, h2, h3, h4 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* Header — mesh gradient vert / teal / or */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    color: var(--white);
    background-color: #0e4e22;
    background-image:
        radial-gradient(ellipse 50% 80% at 12% 30%, rgba(155, 202, 59, 0.42) 0%, transparent 60%),
        radial-gradient(ellipse 45% 70% at 88% 30%, rgba(10, 139, 156, 0.55) 0%, transparent 60%),
        radial-gradient(ellipse 35% 60% at 70% 80%, rgba(212, 165, 92, 0.28) 0%, transparent 55%),
        linear-gradient(135deg, #1b5e20 0%, #0a4f60 100%);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--sky-blue), var(--gold), var(--primary-light));
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    /* Élargir le header pour pousser le logo plus à gauche (LTR) / plus à droite (RTL) */
    max-width: 1400px;
    padding-left: 12px;
    padding-right: 12px;
}


.logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

#logo-img {
    height: 90px;
    width: auto;
    display: block;
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.65rem;
    letter-spacing: 0.06em;
    color: var(--white);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    #logo-img {
        height: 64px;
    }
    .brand-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 1.05rem;
    }
    #logo-img {
        height: 52px;
    }
    .logo {
        gap: 10px;
    }
}

.cabinet-name {
    display: none;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    padding: 5px 0;
    position: relative;
}

.nav-menu a:hover {
    color: var(--gold-light);
}

.nav-menu a::after {
    background-color: var(--gold-light);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    background-color: #fafafa;
    text-align: center;
}

.hero-landing {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
    color: var(--dark-color);
    overflow: hidden;
    background-color: var(--warm-bg);
}

.hero-landing::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        radial-gradient(ellipse 60% 50% at 15% 20%, rgba(155, 202, 59, 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 50% 50% at 85% 25%, rgba(10, 139, 156, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 45% 50% at 90% 85%, rgba(212, 165, 92, 0.22) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 10% 90%, rgba(155, 202, 59, 0.16) 0%, transparent 55%);
    pointer-events: none;
}

/* ===== Slideshow d'arrière-plan (hero accueil + about) ===== */
.hero-bg-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    will-change: opacity, transform;
}

/* Homepage hero — 4 slides, cycle 32s */
.hero-landing .hero-bg-slide {
    animation: hero-bg-fade-4 32s ease-in-out infinite;
}
.hero-landing .hero-bg-slide:nth-child(1) { animation-delay: 0s; opacity: 1; }
.hero-landing .hero-bg-slide:nth-child(2) { animation-delay: 8s; }
.hero-landing .hero-bg-slide:nth-child(3) { animation-delay: 16s; }
.hero-landing .hero-bg-slide:nth-child(4) { animation-delay: 24s; }

/* About hero — 4 slides, cycle 32s */
.about-hero {
    background-color: var(--primary-dark);
}
.about-hero .hero-bg-slide {
    animation: hero-bg-fade-4 32s ease-in-out infinite;
}
.about-hero .hero-bg-slide:nth-child(1) { animation-delay: 0s; opacity: 1; }
.about-hero .hero-bg-slide:nth-child(2) { animation-delay: 8s; }
.about-hero .hero-bg-slide:nth-child(3) { animation-delay: 16s; }
.about-hero .hero-bg-slide:nth-child(4) { animation-delay: 24s; }

@keyframes hero-bg-fade-4 {
    0%   { opacity: 0; transform: scale(1); }
    3%   { opacity: 1; }
    25%  { opacity: 1; transform: scale(1.08); }
    28%  { opacity: 0; transform: scale(1.08); }
    100% { opacity: 0; transform: scale(1); }
}

/* Assure que le container est au-dessus du slideshow */
.hero-landing > .container,
.about-hero > .container {
    position: relative;
    z-index: 2;
}

/* Respect des préférences utilisateur */
@media (prefers-reduced-motion: reduce) {
    .hero-bg-slide {
        animation: none !important;
    }
    .hero-landing .hero-bg-slide:nth-child(1),
    .about-hero .hero-bg-slide:nth-child(1) {
        opacity: 1;
    }
}

.hero-landing > .container {
    position: relative;
    z-index: 1;
}

.hero-landing .hero-title {
    color: var(--primary-dark);
}

.hero-landing .hero-subtitle {
    color: var(--dark-color);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
}

.hero-landing .hero-eyebrow {
    color: var(--primary-color);
    background-color: rgba(46, 125, 50, 0.08);
    border-color: rgba(46, 125, 50, 0.25);
}

.hero-landing .btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-landing .btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

@media (max-width: 768px) {
    .hero-landing {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 90px 0 50px;
        background-position: center center;
    }
}

/* Home: section "stack" — bandeau d'outils utilisés */
.home-tools {
    padding: 80px 0 90px;
    background-color: var(--warm-bg);
    overflow: hidden;
    position: relative;
}

.home-tools::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(46, 125, 50, 0.15), transparent);
}

.home-tools-header {
    text-align: center;
    margin-bottom: 50px;
}

.eyebrow-line {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.eyebrow-line::before,
.eyebrow-line::after {
    content: "";
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-light));
}

.eyebrow-line::after {
    background: linear-gradient(90deg, var(--primary-light), transparent);
}

.home-tools .section-title {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.home-tools .section-subtitle {
    max-width: 720px;
    margin: 0 auto;
    color: var(--gray-color);
    font-size: 1.05rem;
    line-height: 1.65;
}

/* Section "partenaires stratégiques" — grille statique */
.home-strategic {
    padding: 80px 0 90px;
    background-color: var(--warm-bg);
    position: relative;
}

.home-strategic::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(46, 125, 50, 0.18), transparent);
}

.strategic-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-top: 52px;
}

.strategic-card {
    background: var(--white);
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 2px 18px rgba(27, 94, 32, 0.07);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    overflow: hidden;
}

.strategic-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 48px rgba(27, 94, 32, 0.13);
    border-color: rgba(155, 202, 59, 0.4);
}

.strategic-card img {
    max-height: 58px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.strategic-card:hover img {
    transform: scale(1.06);
}

@media (max-width: 900px) {
    .strategic-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

@media (max-width: 768px) {
    .home-strategic { padding: 55px 0 65px; }
    .strategic-grid { gap: 14px; margin-top: 36px; }
    .strategic-card { padding: 16px 14px; height: 82px; }
    .strategic-card img { max-height: 46px; }
}

@media (max-width: 480px) {
    .strategic-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Section "ils nous font confiance" — double marquee */
.home-clients {
    padding: 80px 0 100px;
    background-color: var(--warm-bg);
    position: relative;
    overflow: hidden;
}

.home-clients::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(46, 125, 50, 0.12), transparent);
}

.clients-dual-marquee {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.strip-clients-reverse .strip-track {
    animation-direction: reverse;
    animation-duration: 50s;
}

@media (max-width: 768px) {
    .home-clients { padding: 55px 0 75px; }
    .clients-dual-marquee { gap: 10px; }
}

.home-strip-header {
    text-align: center;
    margin-bottom: 40px;
}

.home-strip-header .section-title {
    color: var(--primary-dark);
    font-size: 1.75rem;
    margin: 0;
}

.strip-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, black 6%, black 94%, transparent 100%);
}

.strip-track {
    display: flex;
    gap: 60px;
    width: max-content;
    align-items: center;
    animation: strip-scroll 35s linear infinite;
}

.strip-marquee:hover .strip-track {
    animation-play-state: paused;
}

.strip-clients .strip-track {
    animation-duration: 60s;
    gap: 50px;
}

.strip-strategic .strip-track {
    animation-direction: reverse;
    animation-duration: 32s;
}

@keyframes strip-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .strip-track { animation: none; }
}

.strip-item {
    flex: 0 0 auto;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    transition: opacity 0.3s ease;
}

/* Strategic partners: mix wordmark + logo */
.strip-strategic .strip-item {
    height: 90px;
    padding: 0 22px;
}

.strip-strategic .strip-item span {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    color: var(--primary-dark);
    transition: color 0.3s;
    white-space: nowrap;
}

.strip-strategic .strip-item span::before {
    content: "★ ";
    color: var(--gold);
    margin-right: 6px;
}

.strip-strategic .strip-item:hover span {
    color: var(--primary-color);
}

.strip-strategic .strip-item-img {
    background: var(--white);
    border-radius: 10px;
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.strip-strategic .strip-item-img img {
    max-height: 100%;
    max-width: 150px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.strip-strategic .strip-item-img:hover img {
    transform: scale(1.05);
}

/* Clients: logos (couleur permanente) */
.strip-clients .strip-item {
    height: 90px;
    background: var(--white);
    border-radius: 10px;
    padding: 14px 22px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.strip-clients .strip-item img {
    max-height: 100%;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.strip-clients .strip-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .home-strategic { padding: 50px 0 40px; }
    .home-clients { padding: 50px 0 70px; }
    .home-strip-header { margin-bottom: 30px; }
    .home-strip-header .section-title { font-size: 1.4rem; }
    .strip-track { gap: 40px; }
    .strip-strategic .strip-item span { font-size: 1.05rem; }
    .strip-clients .strip-item { height: 70px; padding: 10px 16px; }
    .strip-clients .strip-item img { max-width: 100px; }
}

/* Coverflow 3D stage */
.partners-stage {
    position: relative;
    height: 280px;
    margin: 60px auto 30px;
    max-width: 900px;
    perspective: 1400px;
    transform-style: preserve-3d;
    overflow: visible;
}

.partner-tile {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 240px;
    height: 160px;
    transform-origin: center center;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s ease,
                filter 0.5s ease;
    backface-visibility: hidden;
    will-change: transform, opacity;
    transform: translate(-50%, -50%) translateZ(-400px);
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
}

.partner-tile.is-active {
    cursor: default;
}

.partner-tile-inner {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(27, 94, 32, 0.08), 0 2px 6px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.partner-tile-inner img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: filter 0.5s ease;
}

.partner-tile.is-active .partner-tile-inner {
    box-shadow: 0 24px 60px rgba(27, 94, 32, 0.18), 0 4px 12px rgba(0,0,0,0.06);
    border-color: rgba(155, 202, 59, 0.4);
}

.partner-tile.is-active .partner-tile-inner::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-light), var(--sky-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
}

.partner-tile-inner {
    position: relative;
}

.partner-tile-square .partner-tile-inner {
    padding: 16px;
}

.partner-tile-square .partner-tile-inner img {
    max-height: 110px;
}

/* Dots indicator */
.partners-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.partners-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.partners-dot.is-active {
    background: var(--primary-color);
    width: 26px;
    border-radius: 999px;
}

.partners-dot:hover {
    background: var(--primary-light);
}

@media (max-width: 768px) {
    .home-tools {
        padding: 50px 0 60px;
    }
    .partners-stage {
        height: 220px;
        margin-top: 40px;
    }
    .partner-tile {
        width: 180px;
        height: 130px;
    }
    .partner-tile-inner {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .partner-tile {
        transition-duration: 0.01ms;
    }
}

/* Home: section "mot du président" sans grand titre */
.home-president {
    padding: 100px 0;
    background-color: var(--warm-bg);
    position: relative;
}

.home-president::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--sky-blue) 100%);
}

.home-president-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: start;
}

.home-president-photo {
    text-align: center;
}

.home-president-photo img {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-elevated);
    border: 4px solid var(--white);
}

.home-president-identity {
    margin-top: 18px;
}

.home-president-name {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--primary-dark);
    margin: 0;
}

.home-president-role {
    color: var(--gray-color);
    font-size: 0.9rem;
    line-height: 1.45;
    margin-top: 4px;
}

.home-president-role + .home-president-role {
    margin-top: 2px;
}

.home-president-text {
    position: relative;
    padding-left: 26px;
    border-left: 3px solid;
    border-image: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 70%, transparent 100%) 1;
}

.home-president-text p {
    font-family: 'Fraunces', 'Georgia', serif;
    font-size: 1.08rem;
    line-height: 1.78;
    color: var(--dark-color);
    margin-bottom: 1.25rem;
    font-weight: 400;
    letter-spacing: -0.005em;
}

.home-president-text p:first-child {
    font-size: 1.22rem;
    line-height: 1.65;
    color: var(--primary-dark);
    font-weight: 500;
}

html:not([dir="rtl"]) .home-president-text p:first-child::first-letter {
    font-family: 'Fraunces', 'Georgia', serif;
    font-style: italic;
    font-size: 3.6rem;
    line-height: 0.9;
    color: var(--primary-color);
    float: left;
    padding: 8px 12px 0 0;
    font-weight: 600;
}

.home-president-text p:last-child {
    margin-bottom: 0;
    font-style: italic;
    color: var(--primary-dark);
    font-size: 1.05rem;
}

@media (max-width: 900px) {
    .home-president-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .home-president-photo {
        max-width: 260px;
        margin: 0 auto;
    }
    .home-president {
        padding: 60px 0;
    }
}

.hero-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 1.25rem;
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 760px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* "Pour en savoir plus, téléchargez notre brochure" — bouton moderne en glassmorphism */
.hero-brochure {
    margin-top: 90px;
    display: flex;
    justify-content: center;
}

.btn-brochure {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 14px 28px 14px 22px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.005em;
    border: 1px solid rgba(46, 125, 50, 0.28);
    box-shadow:
        0 2px 4px rgba(27, 94, 32, 0.06),
        0 8px 24px rgba(27, 94, 32, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
    overflow: hidden;
    isolation: isolate;
}

/* Halo doré au survol */
.btn-brochure::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent 30%, rgba(212, 165, 92, 0.35) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.6s ease;
    transform: translateX(-100%);
    z-index: -1;
}

.btn-brochure:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.72);
    color: var(--primary-dark);
    box-shadow:
        0 4px 8px rgba(27, 94, 32, 0.10),
        0 16px 36px rgba(27, 94, 32, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-brochure:hover::before {
    opacity: 1;
    transform: translateX(100%);
}

.btn-brochure:active {
    transform: translateY(0);
}

/* Icône PDF dans un cercle */
.btn-brochure i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e94e4e, #c62828);
    color: #fff;
    font-size: 0.95rem;
    box-shadow: 0 2px 6px rgba(198, 40, 40, 0.35);
    transition: transform 0.25s ease;
}

.btn-brochure:hover i {
    transform: scale(1.06) rotate(-3deg);
}

@media (max-width: 768px) {
    .hero-brochure {
        margin-top: 56px;
    }
    .btn-brochure {
        font-size: 0.92rem;
        padding: 12px 22px 12px 18px;
        gap: 12px;
        max-width: 92vw;
        text-align: center;
    }
    .btn-brochure i {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
        flex-shrink: 0;
    }
}

.hero-landing .container {
    text-align: center;
}

@media (max-width: 768px) {
    .hero-eyebrow {
        font-size: 0.78rem;
        letter-spacing: 0.1em;
        padding: 5px 14px;
    }
}

/* Section Président */
.president {
    padding: 100px 0;
    background-color: var(--warm-bg);
}

.president-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 3rem;
}

.president-photo {
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#president-img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.president-identity {
    margin-top: 1rem;
    text-align: center;
}

.president-name {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 0.3rem;
}

.president-role {
    font-size: 0.9rem;
    color: var(--gray-color);
    font-style: italic;
    line-height: 1.4;
}

.president-text {
    flex: 1;
}

.president-text h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.president-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.signature {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-color);
}

.signature p {
    margin-bottom: 0.5rem;
    font-style: italic;
}

/* ===== About page — new modern layout ===== */
.about-hero {
    position: relative;
    padding: 170px 0 110px;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 30%, rgba(212, 165, 92, 0.22), transparent 55%);
    pointer-events: none;
}

.about-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 0 auto;
}

.about-hero-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 22px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.about-hero h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.18;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.about-hero-year {
    font-family: 'Fraunces', 'Georgia', serif;
    font-style: italic;
    font-weight: 500;
    color: var(--secondary-color);
}

.about-hero-tagline {
    font-family: 'Fraunces', 'Georgia', serif;
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    font-style: italic;
    max-width: 720px;
    margin: 0 auto;
}

.about-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 14px;
    padding-left: 32px;
    position: relative;
}

.about-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 2px;
    background: var(--secondary-color);
}

.about-eyebrow-center {
    padding-left: 0;
}

.about-eyebrow-center::before {
    display: none;
}

/* About story */
.about-story {
    padding: 100px 0;
    background-color: var(--warm-bg);
}

.about-story-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.about-story-image {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(27, 94, 32, 0.2);
}

.about-story-image img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.about-story-image:hover img {
    transform: scale(1.04);
}

.about-story-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    border-radius: 16px;
    padding: 18px 26px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    gap: 14px;
}

.about-story-badge-num {
    font-family: 'Fraunces', 'Georgia', serif;
    font-weight: 600;
    font-size: 2.6rem;
    line-height: 1;
    color: var(--primary-color);
}

.about-story-badge-num sup {
    font-size: 1.4rem;
    color: var(--secondary-color);
    top: -0.7em;
}

.about-story-badge-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray-color);
    line-height: 1.3;
    max-width: 90px;
}

.about-story-text h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.3rem;
    line-height: 1.2;
    color: var(--primary-dark);
    margin-bottom: 1.4rem;
}

.about-story-text p {
    font-family: 'Fraunces', 'Georgia', serif;
    font-size: 1.08rem;
    line-height: 1.78;
    color: var(--dark-color);
    margin-bottom: 1.25rem;
    letter-spacing: -0.005em;
}

.about-story-text .lead-paragraph {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

html:not([dir="rtl"]) .about-story-text .lead-paragraph::first-letter {
    font-family: 'Fraunces', 'Georgia', serif;
    font-style: italic;
    font-size: 3.8rem;
    line-height: 0.9;
    color: var(--primary-color);
    float: left;
    padding: 8px 14px 0 0;
    font-weight: 600;
}

.about-story-text .lead-paragraph strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Home stats — variant on homepage (warm bg + white cards) */
.home-stats {
    padding: 90px 0;
    background-color: var(--warm-bg);
    position: relative;
}

.home-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(46, 125, 50, 0.18), transparent);
}

.home-stats .home-strip-header {
    text-align: center;
    margin-bottom: 56px;
}

.home-stats .about-stat {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .home-stats {
        padding: 60px 0;
    }
}

/* About story centered (without image) */
.about-story-text-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

html:not([dir="rtl"]) .about-story-text-centered .lead-paragraph::first-letter {
    /* Drop cap stays floated for visual rhythm even centered */
    text-align: left;
}

.about-story-text-centered .lead-paragraph,
.about-story-text-centered p {
    text-align: left; /* paragraphs left-aligned, only header is centered */
}

.about-story-text-centered h2 {
    text-align: center;
}

.about-story-text-centered .about-eyebrow-center {
    margin: 0 auto 14px;
    display: inline-block;
}

/* About timeline (frise chronologique) */
.about-timeline {
    padding: 90px 0 100px;
    background-color: var(--warm-bg);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Ligne verticale centrale */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    width: 3px;
    background: linear-gradient(180deg,
        rgba(155, 202, 59, 0) 0%,
        var(--secondary-color) 8%,
        var(--primary-color) 50%,
        var(--primary-dark) 92%,
        rgba(27, 94, 32, 0) 100%);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 30px 50px 30px 0;
    box-sizing: border-box;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding: 30px 0 30px 50px;
}

/* Marqueur (pastille avec icône) sur la ligne centrale */
.timeline-marker {
    position: absolute;
    top: 36px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 8px 22px rgba(27, 94, 32, 0.3), 0 0 0 5px var(--warm-bg);
    z-index: 2;
    transition: transform 0.4s ease;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -29px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -29px;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.1) rotate(-6deg);
}

/* Carte de chaque étape */
.timeline-card {
    background: var(--white);
    border-radius: 16px;
    padding: 26px 30px;
    box-shadow: 0 8px 24px rgba(27, 94, 32, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-item:hover .timeline-card {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(27, 94, 32, 0.15);
}

/* Petite flèche pointant vers la ligne centrale */
.timeline-item:nth-child(odd) .timeline-card::after {
    content: '';
    position: absolute;
    top: 46px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: var(--white);
    transform: rotate(45deg);
    border-right: 1px solid rgba(0, 0, 0, 0.04);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.timeline-item:nth-child(even) .timeline-card::after {
    content: '';
    position: absolute;
    top: 46px;
    left: -8px;
    width: 16px;
    height: 16px;
    background: var(--white);
    transform: rotate(45deg);
    border-left: 1px solid rgba(0, 0, 0, 0.04);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.timeline-year {
    display: inline-block;
    font-family: 'Fraunces', 'Georgia', serif;
    font-weight: 600;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.timeline-card h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.timeline-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.96rem;
    line-height: 1.65;
    color: var(--dark-color);
    margin: 0;
}

.timeline-card p strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.timeline-logo {
    display: block;
    height: 28px;
    width: auto;
    margin-top: 14px;
    opacity: 0.92;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.timeline-item:hover .timeline-logo {
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive — timeline mobile (toutes les cartes à droite, ligne à gauche) */
@media (max-width: 768px) {
    .about-timeline {
        padding: 60px 0 70px;
    }
    .timeline {
        padding-left: 18px;
    }
    .timeline::before {
        left: 22px;
        transform: none;
    }
    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding: 22px 0 22px 56px;
    }
    .timeline-item:nth-child(odd) .timeline-marker,
    .timeline-item:nth-child(even) .timeline-marker {
        left: -8px;
        right: auto;
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        top: 24px;
    }
    .timeline-item:nth-child(odd) .timeline-card::after,
    .timeline-item:nth-child(even) .timeline-card::after {
        left: -8px;
        right: auto;
        top: 30px;
        border-left: 1px solid rgba(0, 0, 0, 0.04);
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        border-right: none;
        border-top: none;
    }
    .timeline-card {
        padding: 22px 22px;
    }
    .timeline-year {
        font-size: 1.2rem;
    }
}

/* About stats */
.about-stats {
    padding: 90px 0;
    background-color: var(--white);
    position: relative;
}

.about-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.about-stats-header {
    text-align: center;
    margin-bottom: 56px;
}

.about-stats-header h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.1rem;
    color: var(--primary-dark);
    margin: 0;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-stat {
    text-align: center;
    padding: 36px 24px;
    background: var(--warm-bg);
    border-radius: 18px;
    border: 1px solid rgba(27, 94, 32, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.about-stat::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.about-stat:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(27, 94, 32, 0.12);
    border-color: rgba(155, 202, 59, 0.4);
}

.about-stat:hover::after {
    transform: scaleX(1);
}

.about-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.1), rgba(155, 202, 59, 0.2));
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 18px;
    transition: var(--transition);
}

.about-stat:hover .about-stat-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    transform: scale(1.08);
}

.about-stat-number {
    font-family: 'Fraunces', 'Georgia', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1;
    margin: 0 0 8px;
}

.about-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: var(--gray-color);
    margin: 0;
    line-height: 1.4;
}

/* About values */
.about-values {
    padding: 90px 0;
    background-color: var(--warm-bg);
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-value-card {
    background: var(--white);
    border-radius: 18px;
    padding: 36px 26px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.about-value-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(27, 94, 32, 0.14);
}

.about-value-card:hover::before {
    opacity: 1;
}

.about-value-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 22px;
    transition: var(--transition);
    box-shadow: 0 10px 24px rgba(27, 94, 32, 0.25);
}

.about-value-card:hover .about-value-icon {
    transform: rotate(-6deg) scale(1.08);
}

.about-value-card h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.about-value-card p {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--gray-color);
    margin: 0;
}

/* About team note (quote block) */
.about-team-note {
    padding: 60px 0 90px;
    background-color: var(--warm-bg);
}

.about-team-note-inner {
    max-width: 920px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    border-radius: 22px;
    padding: 50px 56px;
    position: relative;
    box-shadow: 0 24px 48px rgba(27, 94, 32, 0.22);
    overflow: hidden;
}

.about-team-note-inner::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 202, 59, 0.18), transparent 70%);
}

.about-team-note-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.about-team-note-inner p {
    font-family: 'Fraunces', 'Georgia', serif;
    font-size: 1.18rem;
    line-height: 1.75;
    color: var(--white);
    margin: 0;
    position: relative;
    z-index: 2;
    font-weight: 400;
}

/* About responsive */
@media (max-width: 992px) {
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-story-image img {
        height: 380px;
    }
    .about-stats-grid,
    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 130px 0 70px;
    }
    .about-hero h1 {
        font-size: 2rem;
    }
    .about-hero-tagline {
        font-size: 1.05rem;
    }
    .about-story {
        padding: 60px 0;
    }
    .about-story-image img {
        height: 280px;
    }
    .about-story-badge {
        padding: 14px 18px;
        bottom: 16px;
        left: 16px;
    }
    .about-story-badge-num {
        font-size: 2rem;
    }
    .about-story-text h2 {
        font-size: 1.7rem;
    }
    .about-story-text .lead-paragraph {
        font-size: 1.12rem;
    }
    html:not([dir="rtl"]) .about-story-text .lead-paragraph::first-letter {
        font-size: 3.2rem;
    }
    .about-stats,
    .about-values {
        padding: 60px 0;
    }
    .about-stats-header h2 {
        font-size: 1.55rem;
    }
    .about-stat-number {
        font-size: 2.4rem;
    }
    .about-team-note {
        padding: 40px 0 60px;
    }
    .about-team-note-inner {
        padding: 36px 28px;
    }
    .about-team-note-inner p {
        font-size: 1rem;
    }
}

@media (max-width: 520px) {
    .about-stats-grid,
    .about-values-grid {
        grid-template-columns: 1fr;
    }
    .about-hero-eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.16em;
    }
}

/* ===== References page — modern hero + stats ===== */
.references-hero {
    position: relative;
    padding: 170px 0 110px;
    background-color: var(--primary-dark);
    background-image:
        linear-gradient(135deg, rgba(27,94,32,0.88) 0%, rgba(27,94,32,0.65) 55%, rgba(0,0,0,0.5) 100%),
        url('images/bg-slideshow/home-1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.references-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 25%, rgba(212, 165, 92, 0.2), transparent 55%);
    pointer-events: none;
}

.references-hero .container {
    position: relative;
    z-index: 2;
    max-width: 880px;
}

.references-hero h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 1.1rem;
}

.references-hero-tagline {
    font-family: 'Fraunces', 'Georgia', serif;
    font-size: 1.18rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

/* References stats */
.references-stats {
    padding: 70px 0 40px;
    background-color: var(--warm-bg);
}

.references-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}

.ref-stat-card {
    background: var(--white);
    border-radius: 18px;
    padding: 30px 22px;
    text-align: center;
    border: 1px solid rgba(27, 94, 32, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.ref-stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.ref-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(27, 94, 32, 0.12);
    border-color: rgba(155, 202, 59, 0.4);
}

.ref-stat-card:hover::after {
    transform: scaleX(1);
}

.ref-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.1), rgba(155, 202, 59, 0.18));
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 16px;
    transition: var(--transition);
}

.ref-stat-card:hover .ref-stat-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.ref-stat-card .about-stat-number {
    font-family: 'Fraunces', 'Georgia', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1;
    margin: 0 0 6px;
}

.ref-stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: var(--gray-color);
    margin: 0;
    line-height: 1.4;
}

/* References — improved domain cards */
.missions-domain-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 2px solid rgba(27, 94, 32, 0.08);
}

.missions-domain-icon {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 8px 18px rgba(27, 94, 32, 0.2);
}

.missions-domain-title-wrap {
    flex: 1;
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.missions-domain-title {
    font-family: 'Raleway', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0;
    display: inline;
}

.missions-domain-count {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(155, 202, 59, 0.15);
    padding: 4px 12px;
    border-radius: 999px;
}

/* ===== Contact page — modern layout ===== */
.contact-hero {
    position: relative;
    padding: 160px 0 100px;
    background-color: var(--primary-dark);
    background-image:
        linear-gradient(135deg, rgba(27,94,32,0.88) 0%, rgba(27,94,32,0.65) 55%, rgba(0,0,0,0.5) 100%),
        url('images/bg-slideshow/about-1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.contact-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(155, 202, 59, 0.18), transparent 55%);
    pointer-events: none;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
    max-width: 880px;
}

.contact-hero h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.1rem;
}

.contact-hero-tagline {
    font-family: 'Fraunces', 'Georgia', serif;
    font-size: 1.18rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

.contact-modern {
    padding: 90px 0 100px;
    background-color: var(--warm-bg);
}

.contact-modern-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-modern h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.9rem;
    color: var(--primary-dark);
    margin-bottom: 14px;
    line-height: 1.25;
}

.contact-intro {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--gray-color);
    margin-bottom: 32px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.contact-card-modern {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 22px 24px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.contact-card-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.contact-card-modern:hover {
    transform: translateX(4px);
    box-shadow: 0 14px 32px rgba(27, 94, 32, 0.12);
    border-color: rgba(155, 202, 59, 0.4);
}

.contact-card-modern:hover::before {
    transform: scaleY(1);
}

.contact-card-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 8px 18px rgba(27, 94, 32, 0.22);
    transition: var(--transition);
}

.contact-card-modern:hover .contact-card-icon {
    transform: rotate(-6deg) scale(1.05);
}

.contact-card-body {
    flex: 1;
    min-width: 0;
}

.contact-card-body h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 4px;
}

.contact-card-value {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.96rem;
    color: var(--dark-color);
    font-weight: 500;
    margin-bottom: 2px;
    word-break: break-word;
}

.contact-card-note {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: var(--gray-color);
}

.contact-card-arrow {
    flex: 0 0 auto;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-card-modern:hover .contact-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Availability indicator */
.contact-availability {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(155, 202, 59, 0.12);
    border: 1px solid rgba(155, 202, 59, 0.3);
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.86rem;
    color: var(--primary-dark);
    font-weight: 500;
}

.availability-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.5);
    animation: availability-pulse 2s infinite;
}

@keyframes availability-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.5); }
    70%  { box-shadow: 0 0 0 10px rgba(46, 125, 50, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); }
}

/* Contact form modern */
.contact-form-card {
    background: var(--white);
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0 18px 44px rgba(27, 94, 32, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-form-card h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.7rem;
    color: var(--primary-dark);
    margin: 8px 0 10px;
    line-height: 1.2;
}

.contact-form-intro {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--gray-color);
    margin-bottom: 28px;
}

.contact-form-fields {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Floating-label form fields */
.form-field {
    position: relative;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 18px 14px 8px;
    border: 1.5px solid rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    color: var(--dark-color);
    background: var(--white);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.form-field textarea {
    padding-top: 22px;
    min-height: 130px;
    resize: vertical;
    font-family: 'Inter', sans-serif;
}

.form-field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%232e7d32'><path d='M6 8L0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px;
    cursor: pointer;
}

.form-field label {
    position: absolute;
    left: 14px;
    top: 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.98rem;
    color: var(--gray-color);
    pointer-events: none;
    background: var(--white);
    padding: 0 6px;
    transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease, top 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

/* Float label when field has value or focused */
.form-field input:not(:placeholder-shown) ~ label,
.form-field input:focus ~ label,
.form-field textarea:not(:placeholder-shown) ~ label,
.form-field textarea:focus ~ label,
.form-field select:valid ~ label,
.form-field select:focus ~ label {
    top: -8px;
    font-size: 0.76rem;
    color: var(--primary-color);
    font-weight: 600;
}

.contact-submit {
    margin-top: 10px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: gap 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 24px rgba(46, 125, 50, 0.22);
}

.contact-submit:hover {
    gap: 16px;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(46, 125, 50, 0.3);
}

.contact-submit i {
    transition: transform 0.3s ease;
}

.contact-submit:hover i {
    transform: translateX(2px) rotate(-10deg);
}

/* Responsive — contact + references */
@media (max-width: 992px) {
    .contact-modern-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .references-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .references-hero,
    .contact-hero {
        padding: 130px 0 70px;
    }
    .references-hero h1,
    .contact-hero h1 {
        font-size: 2rem;
    }
    .references-hero-tagline,
    .contact-hero-tagline {
        font-size: 1.02rem;
    }
    .references-stats {
        padding: 50px 0 30px;
    }
    .ref-stat-card .about-stat-number {
        font-size: 2rem;
    }
    .contact-modern {
        padding: 60px 0 70px;
    }
    .contact-info-modern h2 {
        font-size: 1.55rem;
    }
    .contact-form-card {
        padding: 28px 22px;
    }
    .missions-domain-head {
        gap: 14px;
    }
    .missions-domain-icon {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        font-size: 1.15rem;
    }
    .missions-domain-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 520px) {
    .references-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Section À propos */
.about {
    padding: 100px 0;
    background-color: var(--warm-bg);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-width: 200px;
}

.stat-item h4 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Section Services */
.services {
    padding: 100px 0;
    background-color: var(--warm-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 36px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary-light);
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--sky-blue) 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-elevated);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(155, 202, 59, 0.15), rgba(27, 166, 218, 0.12));
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* Section Équipe */
.team {
    padding: 100px 0;
    background-color: var(--warm-bg);
}

.team-container {
    margin-top: 3rem;
}

.team-president {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 40px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.team-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-light);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-president h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.team-title {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 3rem;
}

.team-member {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.team-note {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 32px 36px;
    border-radius: 12px;
    text-align: left;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-top: 1.5rem;
    border-left: 4px solid var(--primary-light);
    box-shadow: var(--shadow);
    position: relative;
}

.team-note::before {
    content: "\201C";
    position: absolute;
    top: -8px;
    left: 18px;
    font-family: 'Raleway', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary-light);
    line-height: 1;
    opacity: 0.5;
}

.team-note p {
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Section Références */
.references {
    padding: 100px 0;
    background-color: var(--warm-bg);
}

.carousel-container {
    margin-top: 3rem;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    animation: slide 25s linear infinite;
    width: max-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    flex: 0 0 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 10px;
    padding: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.client-logo:hover {
    transform: scale(1.05);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Amélioration de l'affichage des infos clients */
.carousel-info {
    text-align: center;
    margin-top: 2rem;
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
}

.carousel-info h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.carousel-info p {
    margin: 5px 0;
    font-size: 0.95rem;
    color: var(--dark-color);
}

.carousel-info p strong {
    color: var(--primary-color);
}

/* Amélioration des logos clients */
.client-logo {
    flex: 0 0 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 10px;
    padding: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.client-logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* Animation du carousel améliorée */
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.33%);
    }
}

/* Responsive pour les logos */
@media (max-width: 768px) {
    .client-logo {
        flex: 0 0 120px;
        height: 80px;
        padding: 10px;
    }
    
    .carousel-info {
        min-height: 100px;
        padding: 15px;
    }
    
    .carousel-info h4 {
        font-size: 1.1rem;
    }
    
    .carousel-info p {
        font-size: 0.9rem;
    }
}
/* Section Outils modifiée (sans carousel) */
.tools {
    padding: 100px 0;
    background-color: var(--warm-bg);
}

.tools-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 3rem;
}

.tool-single {
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tool-single:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.tool-image {
    flex: 0 0 300px;
}

.tool-image img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tool-content {
    flex: 1;
}

.tool-content h2,
.tool-content h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.tool-tagline {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.tool-description {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.tool-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 1.5rem;
}

.tool-features span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 500;
}

.tool-features i {
    color: var(--primary-light);
}

/* Style pour la carte dans contact */
.map-container {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive pour les outils */
@media (max-width: 992px) {
    .tool-single {
        flex-direction: column;
        text-align: center;
    }
    
    .tool-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
    }
    
    .tool-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tool-single {
        padding: 25px;
    }
    
    .tool-image img {
        height: 200px;
    }
}

/* Section Contact */
.contact {
    padding: 100px 0;
    background-color: var(--warm-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    flex: 0 0 60px;
}

.contact-details h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-details p {
    color: var(--gray-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    padding: 90px 0 30px;
    background-color: #0e3a18;
    background-image:
        radial-gradient(ellipse 55% 80% at 10% 0%, rgba(155, 202, 59, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 70% at 95% 100%, rgba(10, 139, 156, 0.28) 0%, transparent 65%),
        radial-gradient(ellipse 40% 50% at 75% 0%, rgba(212, 165, 92, 0.12) 0%, transparent 60%),
        linear-gradient(180deg, #14441f 0%, #0a3318 100%);
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--sky-blue), var(--gold), var(--primary-light));
}

.footer-glow {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent 0 14px, rgba(255, 255, 255, 0.015) 14px 15px);
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo img {
    height: 56px;
    width: auto;
}

.footer-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.footer-name {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
    letter-spacing: 0.02em;
}

.footer-since {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-top: 4px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 380px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 22px;
    padding-bottom: 12px;
    position: relative;
    letter-spacing: 0.04em;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--gold));
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

.footer-links a::before {
    content: "→";
    margin-right: 8px;
    color: var(--primary-light);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.25s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact i {
    color: var(--primary-light);
    width: 18px;
    flex-shrink: 0;
    margin-top: 4px;
    font-size: 0.95rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
}

.footer-credit {
    font-family: 'Raleway', sans-serif;
    font-style: italic;
    letter-spacing: 0.03em;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .footer {
        padding: 60px 0 24px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-col h4::after {
        left: 0;
        transform: none;
    }
    .footer-col h4 {
        text-align: left;
    }
    .footer-col ul {
        align-items: flex-start;
    }
    .footer-contact li {
        justify-content: flex-start;
        text-align: left;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .president-content {
        flex-direction: column;
    }
    
    .president-photo {
        flex: 0 0 auto;
        max-width: 300px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: row;
        gap: 10px;
    }

    .hero {
        padding: 110px 0 60px;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        text-align: center;
    }
    
    .stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 150px;
        padding: 20px;
    }
    
    .stat-item h4 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-president {
        padding: 20px;
    }
}

/* ============================================================ */
/* === Multipage additions ==================================== */
/* ============================================================ */

/* Active nav state */
.nav-menu a.active {
    color: var(--gold-light);
}
.nav-menu a.active::after {
    width: 100%;
    background-color: var(--gold-light);
}

/* Logo link reset */
.logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

/* Hero keywords */
.hero-keywords {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    margin-top: 2.5rem;
    padding: 0;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-keywords li {
    padding: 6px 16px;
    background-color: rgba(46, 125, 50, 0.08);
    color: var(--primary-dark);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.01em;
    transition: var(--transition);
}

.hero-keywords li:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Page header (générique pour les pages intérieures) */
.page-header {
    padding: 150px 0 90px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #0e4e22;
    background-image:
        radial-gradient(ellipse 60% 70% at 15% 30%, rgba(155, 202, 59, 0.45) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 85% 20%, rgba(10, 139, 156, 0.55) 0%, transparent 60%),
        radial-gradient(ellipse 45% 50% at 90% 80%, rgba(212, 165, 92, 0.3) 0%, transparent 55%),
        linear-gradient(135deg, #1b5e20 0%, #0a4f60 100%);
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent 0 14px, rgba(255, 255, 255, 0.02) 14px 15px);
    pointer-events: none;
}

.page-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--sky-blue), var(--gold), var(--primary-light));
}

.page-header > .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.page-tagline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    max-width: 720px;
    margin: 0 auto;
}

.page-header-service .service-header-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    opacity: 0.95;
}

/* Services hub — cartes cliquables */
.services-grid a.service-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.service-card .service-cta {
    margin-top: auto;
    padding-top: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.service-card:hover .service-cta {
    gap: 14px;
    color: var(--primary-dark);
}

/* Service detail page */
.service-detail {
    padding: 30px 0 80px;
    background-color: var(--warm-bg);
}

.service-intro {
    max-width: 850px;
    margin: 0 auto 3.5rem;
}

.service-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    color: var(--dark-color);
}

/* ===== Service hero (full-bleed image) ===== */
.service-hero {
    position: relative;
    padding: 170px 0 110px;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.service-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(155, 202, 59, 0.18), transparent 55%);
    pointer-events: none;
}

.service-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.service-back-link {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px 9px 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    color: var(--white);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, gap 0.3s ease;
    margin-bottom: 36px;
}

.service-back-link:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(155, 202, 59, 0.5);
    gap: 14px;
}

.service-back-link i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.service-back-link:hover i {
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .service-back-link {
        margin-bottom: 24px;
        padding: 7px 14px 7px 12px;
        font-size: 0.8rem;
    }
}

.service-hero-icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.2rem;
    color: var(--white);
}

.service-hero h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.1rem;
    letter-spacing: 0.01em;
}

.service-hero-tagline {
    font-size: 1.18rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.93);
    max-width: 720px;
    margin: 0 auto;
}

/* ===== Service approach (image + text) ===== */
.service-approach {
    padding: 90px 0;
    background-color: var(--warm-bg);
}

.service-approach-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: center;
}

.service-approach-image {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(27, 94, 32, 0.18);
}

.service-approach-image img {
    display: block;
    width: 100%;
    height: 460px;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.service-approach-image:hover img {
    transform: scale(1.04);
}

/* Vertical slideshow inside service-approach-image (used on Formation page) */
.service-approach-slideshow {
    height: 460px;
}

.service-approach-slideshow .approach-slides-track {
    display: flex;
    flex-direction: column;
    width: 100%;
    /* Hauteur totale = nb de slides × 100% du conteneur (ex. 5 slides → 500%) */
    height: calc(var(--slide-count-plus, 5) * 100%);
    will-change: transform;
    animation: approach-vslide-5 14s cubic-bezier(0.7, 0, 0.3, 1) infinite;
    background: #1b5e20; /* fallback couleur primaire pour éviter tout flash blanc */
}

/* Animation adaptée au nombre de slides (via --slide-count-plus) */
.service-approach-slideshow[style*="--slide-count-plus:4"] .approach-slides-track {
    animation-name: approach-vslide-4;
    animation-duration: 11s;
}

.service-approach-slideshow[style*="--slide-count-plus:6"] .approach-slides-track {
    animation-name: approach-vslide-6;
    animation-duration: 17s;
}

.service-approach-slideshow[style*="--slide-count-plus:7"] .approach-slides-track {
    animation-name: approach-vslide-7;
    animation-duration: 20s;
}

.service-approach-slideshow .approach-slide {
    flex: 0 0 calc(100% / var(--slide-count-plus, 5));
    width: 100%;
    height: calc(100% / var(--slide-count-plus, 5));
    overflow: hidden;
    background: #1b5e20;
}

.service-approach-slideshow .approach-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Favorise la partie haute pour les photos portrait (visages en haut) */
    object-position: center 30%;
    transition: none;
}

.service-approach-slideshow:hover img {
    transform: none; /* pas de zoom hover sur le slideshow */
}

.service-approach-slideshow:hover .approach-slides-track {
    animation-play-state: paused;
}

/* 4 slides + 1 duplicate = 5 slides. Each slide = 20% of track (100/5).
   At each step, translate by -20% to advance one slide. */
/* 4 total slides (3 visible + 1 dup) — chaque pas = 25% du track */
@keyframes approach-vslide-4 {
    0%, 22%   { transform: translateY(0); }
    33%, 55%  { transform: translateY(-25%); }
    66%, 88%  { transform: translateY(-50%); }
    100%      { transform: translateY(-75%); }
}

/* 5 total slides (4 visible + 1 dup) — chaque pas = 20% du track */
@keyframes approach-vslide-5 {
    0%, 18%   { transform: translateY(0); }
    25%, 43%  { transform: translateY(-20%); }
    50%, 68%  { transform: translateY(-40%); }
    75%, 93%  { transform: translateY(-60%); }
    100%      { transform: translateY(-80%); }
}

/* 6 total slides (5 visible + 1 dup) — chaque pas = 16.667% du track */
@keyframes approach-vslide-6 {
    0%, 14%   { transform: translateY(0); }
    20%, 34%  { transform: translateY(-16.667%); }
    40%, 54%  { transform: translateY(-33.333%); }
    60%, 74%  { transform: translateY(-50%); }
    80%, 94%  { transform: translateY(-66.667%); }
    100%      { transform: translateY(-83.333%); }
}

/* 7 total slides (6 visible + 1 dup) — chaque pas ≈ 14.286% du track */
@keyframes approach-vslide-7 {
    0%, 11%   { transform: translateY(0); }
    17%, 28%  { transform: translateY(-14.286%); }
    33%, 45%  { transform: translateY(-28.571%); }
    50%, 62%  { transform: translateY(-42.857%); }
    67%, 78%  { transform: translateY(-57.143%); }
    83%, 95%  { transform: translateY(-71.429%); }
    100%      { transform: translateY(-85.714%); }
}

@media (prefers-reduced-motion: reduce) {
    .service-approach-slideshow .approach-slides-track {
        animation: none;
        transform: translateY(0);
    }
}

.service-approach-badge {
    position: absolute;
    bottom: -22px;
    right: -22px;
    width: 90px;
    height: 90px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 18px 38px rgba(27, 94, 32, 0.32);
    border: 4px solid var(--warm-bg);
}

.service-approach-text {
    padding-right: 10px;
}

.service-approach-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 14px;
    position: relative;
    padding-left: 32px;
}

.service-approach-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 2px;
    background: var(--secondary-color);
}

.service-approach-text h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.2rem;
    line-height: 1.2;
    color: var(--primary-dark);
    margin-bottom: 1.4rem;
}

.service-approach-text p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--dark-color);
    margin-bottom: 1.1rem;
}

/* ===== Service expertise cards ===== */
.service-expertise {
    padding: 90px 0;
    background-color: var(--white);
    position: relative;
}

.service-expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.service-expertise-header {
    text-align: center;
    margin-bottom: 56px;
}

.service-expertise-header .service-approach-eyebrow {
    padding-left: 0;
    margin-bottom: 12px;
}

.service-expertise-header .service-approach-eyebrow::before {
    display: none;
}

.service-expertise-header h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.1rem;
    color: var(--primary-dark);
    margin: 0;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.expertise-card {
    background: var(--warm-bg);
    border-radius: 16px;
    padding: 32px 26px;
    border: 1px solid rgba(27, 94, 32, 0.07);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
}

.expertise-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(27, 94, 32, 0.14);
    border-color: rgba(155, 202, 59, 0.4);
}

.expertise-card:hover::after {
    opacity: 1;
}

.expertise-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.1), rgba(155, 202, 59, 0.18));
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 18px;
    transition: var(--transition);
}

.expertise-card:hover .expertise-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    transform: scale(1.05);
}

.expertise-card h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.expertise-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-color);
    margin: 0;
}

/* Responsive — service detail pages */
@media (max-width: 992px) {
    .service-approach-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .service-approach-image img {
        height: 380px;
    }

    .service-approach-slideshow {
        height: 380px;
    }

    .service-approach-text {
        padding-right: 0;
    }

    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 130px 0 70px;
    }

    .service-hero-icon {
        width: 72px;
        height: 72px;
        font-size: 1.8rem;
        margin-bottom: 1.1rem;
    }

    .service-hero h1 {
        font-size: 2rem;
    }

    .service-hero-tagline {
        font-size: 1.02rem;
        padding: 0 8px;
    }

    .service-approach {
        padding: 60px 0;
    }

    .service-approach-image img {
        height: 280px;
    }

    .service-approach-slideshow {
        height: 280px;
    }

    .service-approach-badge {
        width: 70px;
        height: 70px;
        font-size: 1.55rem;
        bottom: -16px;
        right: -16px;
        border-radius: 18px;
    }

    .service-approach-text h2 {
        font-size: 1.65rem;
    }

    .service-approach-text p {
        font-size: 1rem;
    }

    .service-expertise {
        padding: 60px 0;
    }

    .service-expertise-header {
        margin-bottom: 36px;
    }

    .service-expertise-header h2 {
        font-size: 1.55rem;
    }

    .expertise-card {
        padding: 26px 22px;
    }
}

@media (max-width: 520px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

.missions-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.missions-subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 2.5rem;
}

.missions-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 0 auto 4rem;
    counter-reset: mission;
}

.mission-item {
    background-color: var(--white);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 22px 28px 22px 56px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
    counter-increment: mission;
}

.mission-item::before {
    content: counter(mission, decimal-leading-zero);
    position: absolute;
    left: 20px;
    top: 22px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--primary-light);
    font-size: 0.95rem;
}

.mission-item:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.mission-client {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 4px;
}

.mission-desc {
    color: var(--dark-color);
    margin-bottom: 6px;
}

.mission-date {
    font-size: 0.85rem;
    color: var(--gray-color);
    font-style: italic;
}

/* CTA en bas de page service */
.service-cta-block {
    background-color: var(--warm-bg);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.service-cta-block h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.service-cta-block p {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

/* Form labels */
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--dark-color);
    font-size: 0.95rem;
}

/* Footer-bottom contrast */
.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Missions section on references page */
.missions-section {
    padding: 80px 0;
    background-color: var(--warm-bg);
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 3rem;
    font-size: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.missions-domains {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.missions-domain {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.missions-domain-title {
    font-size: 1.25rem;
    color: var(--primary-dark);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.missions-domain-title i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.missions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.missions-table th {
    text-align: left;
    padding: 10px 14px;
    background-color: var(--light-gray);
    color: var(--primary-dark);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.missions-table th:first-child { border-radius: 6px 0 0 6px; }
.missions-table th:last-child  { border-radius: 0 6px 6px 0; }

.missions-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--light-gray);
    vertical-align: top;
    color: var(--dark-color);
}

.missions-table tr:last-child td { border-bottom: none; }

.missions-table tr:hover td {
    background-color: rgba(46, 125, 50, 0.04);
}

.missions-table td:first-child {
    font-weight: 500;
    color: var(--primary-dark);
    width: 32%;
}

.mission-date-cell {
    white-space: nowrap;
    color: var(--gray-color);
    width: 130px;
    font-size: 0.88rem;
}

/* Responsive — multipage */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .hero-keywords {
        gap: 8px 10px;
    }
    .hero-keywords li {
        font-size: 0.82rem;
        padding: 5px 12px;
    }
    .mission-item {
        padding: 20px 20px 20px 50px;
    }
    .service-cta-block {
        padding: 30px 20px;
    }
}

/* ============================================================ */
/* === Mobile-first comprehensive responsive layer ============ */
/* ============================================================ */

/* ===== Language switcher ===== */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 3px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.12);
}

.lang-link.is-active {
    background: rgba(255, 255, 255, 0.22);
    color: var(--white);
}

.header-lang-desktop {
    /* spacing handled by container gap + space-between */
}

.nav-menu-lang {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: none;
}

.nav-menu-lang .lang-switcher {
    background: rgba(46, 125, 50, 0.06);
    border-color: rgba(46, 125, 50, 0.15);
}

.nav-menu-lang .lang-link {
    color: var(--gray-color);
    padding: 0 14px;
    font-size: 0.86rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 32px;
}

.nav-menu-lang .lang-link.is-active {
    background: var(--primary-color);
    color: var(--white);
}

.nav-menu-lang .lang-link:hover {
    color: var(--primary-dark);
    background: rgba(46, 125, 50, 0.08);
}

.nav-menu-lang .lang-link.is-active:hover {
    background: var(--primary-color);
    color: var(--white);
}

@media (max-width: 900px) {
    .header-lang-desktop {
        display: none;
    }
    .nav-menu-lang {
        display: block;
    }
}

/* ===== RTL support (Arabe) ===== */
html[dir="rtl"] body {
    font-family: 'Tajawal', 'Segoe UI Arabic', 'Geeza Pro', sans-serif;
    text-align: right;
    /* Pas de letter-spacing en arabe : casse les ligatures */
    letter-spacing: 0;
}

html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 {
    font-family: 'Tajawal', 'Segoe UI Arabic', 'Geeza Pro', sans-serif;
    letter-spacing: 0;  /* casse les ligatures */
}

/* Pas de letter-spacing nulle part en arabe (casse les ligatures) */
html[dir="rtl"] * {
    letter-spacing: 0 !important;
}

/* En RTL/AR : AUCUNE règle ::first-letter — toute règle qui targete ::first-letter
   crée une boîte pseudo-element qui casse les ligatures arabes, même avec
   "inherit !important". Les règles drop cap d'origine sont déjà scopées à
   html:not([dir="rtl"]) donc rien n'a besoin d'être surchargé ici. */

/* Text-align right pour les cards en RTL */
html[dir="rtl"] .contact-card-body,
html[dir="rtl"] .contact-card-body h3,
html[dir="rtl"] .contact-card-value,
html[dir="rtl"] .contact-card-note,
html[dir="rtl"] .home-president-text,
html[dir="rtl"] .about-story-text p,
html[dir="rtl"] .timeline-card,
html[dir="rtl"] .timeline-card h3,
html[dir="rtl"] .timeline-card p,
html[dir="rtl"] .expertise-card,
html[dir="rtl"] .about-value-card,
html[dir="rtl"] .ref-stat-label {
    text-align: right;
}

/* Trait vertical vert à droite en RTL (instead of left) */
html[dir="rtl"] .home-president-text {
    padding-left: 0;
    padding-right: 26px;
    border-left: none;
    border-right: 3px solid;
    border-image: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 70%, transparent 100%) 1;
}

/* Flèches d'arrow inversées en RTL */
html[dir="rtl"] .contact-card-arrow {
    transform: scaleX(-1);
}
html[dir="rtl"] .contact-card-modern:hover .contact-card-arrow {
    transform: scaleX(-1) translateX(-3px);
}

/* En arabe, on conserve le sens des animations marquee/coverflow (LTR par défaut) */

/* Drawer mobile RTL : glisse depuis la gauche (uniquement sur viewport mobile) */
@media (max-width: 900px) {
    html[dir="rtl"] .nav-menu {
        right: auto;
        left: 0;
        transform: translateX(-100%);
        box-shadow: 20px 0 40px rgba(0, 0, 0, 0.18);
    }
    html[dir="rtl"] .nav-menu.is-open {
        transform: translateX(0);
    }
}

html[dir="rtl"] .service-back-link i {
    transform: scaleX(-1);
}

html[dir="rtl"] .service-back-link:hover i {
    transform: scaleX(-1) translateX(-3px);
}

html[dir="rtl"] .service-cta i,
html[dir="rtl"] .contact-card-arrow {
    transform: scaleX(-1);
}

html[dir="rtl"] .timeline::before {
    left: auto;
    right: 50%;
    transform: translateX(50%);
}

html[dir="rtl"] .timeline-item:nth-child(odd) {
    padding: 30px 0 30px 50px;
}
html[dir="rtl"] .timeline-item:nth-child(even) {
    margin-left: 0;
    margin-right: 50%;
    padding: 30px 50px 30px 0;
}
html[dir="rtl"] .timeline-item:nth-child(odd) .timeline-marker {
    right: auto;
    left: -29px;
}
html[dir="rtl"] .timeline-item:nth-child(even) .timeline-marker {
    left: auto;
    right: -29px;
}

@media (max-width: 768px) {
    /* Timeline AR mobile : ligne verticale à droite, marker centré dessus, card à gauche */
    html[dir="rtl"] .timeline {
        padding: 20px 0;
    }
    html[dir="rtl"] .timeline::before {
        left: auto;
        right: 22px;
        transform: none;
    }
    /* Force la spécificité avec :nth-child pour battre la règle desktop */
    html[dir="rtl"] .timeline-item:nth-child(odd),
    html[dir="rtl"] .timeline-item:nth-child(even) {
        width: 100%;
        margin: 0 !important;
        padding: 22px 64px 22px 0 !important;
    }
    /* Marker (48px) centré sur la ligne (à right: 22px) :
       right CSS = 22 (line position) - 24 (half marker) = -2px depuis bord droit de l'item */
    html[dir="rtl"] .timeline-item:nth-child(odd) .timeline-marker,
    html[dir="rtl"] .timeline-item:nth-child(even) .timeline-marker {
        left: auto;
        right: -2px;
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        top: 22px;
    }
    /* Flèche de la card pointe vers la droite (vers la ligne) */
    html[dir="rtl"] .timeline-item:nth-child(odd) .timeline-card::after,
    html[dir="rtl"] .timeline-item:nth-child(even) .timeline-card::after {
        left: auto;
        right: -8px;
        top: 30px;
        border-left: none;
        border-bottom: none;
        border-right: 1px solid rgba(0, 0, 0, 0.04);
        border-top: 1px solid rgba(0, 0, 0, 0.04);
    }
}

/* Hamburger button — design original 3 barres */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1100;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Backdrop semi-transparent quand menu ouvert */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 41, 17, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1040;
    cursor: pointer;
}

.nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
}

body.nav-locked {
    overflow: hidden;
}

/* Header du drawer mobile avec bouton fermer */
.nav-menu-header {
    display: none;
}

.nav-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.05rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 0;
}

.nav-close:hover {
    background-color: rgba(46, 125, 50, 0.08);
    color: var(--primary-color);
}

.nav-close:active {
    background-color: rgba(46, 125, 50, 0.12);
}

.nav-menu-brand {
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary-color);
}

@media (max-width: 900px) {
    /* Nav becomes hamburger */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        height: 100dvh;
        width: min(86%, 340px);
        background: var(--white);
        box-shadow: -20px 0 40px rgba(0, 0, 0, 0.18);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
        padding: 24px 28px 30px;
        overflow-y: auto;
        z-index: 1050;
    }

    .nav-menu.is-open {
        transform: translateX(0);
    }

    .nav-menu-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 24px;
        margin-bottom: 14px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-menu a {
        display: block;
        padding: 18px 0;
        font-size: 1.05rem;
        color: var(--dark-color);
    }

    .nav-menu a:hover {
        color: var(--primary-color);
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a.active {
        color: var(--primary-color);
        font-weight: 600;
    }

    /* Logo compact */
    .cabinet-name {
        font-size: 1.15rem;
    }
    #logo-img {
        height: 40px;
    }
}

@media (max-width: 768px) {
    /* Section padding compact */
    .hero {
        padding: 110px 0 60px;
    }
    .hero-landing {
        padding: 90px 0 50px;
        min-height: 100vh;
        min-height: 100dvh;
        background-position: center center;
    }
    .hero-title {
        font-size: 1.9rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    /* Section spacing */
    .about, .president, .team, .services, .references,
    .tools, .contact, .missions-section, .service-detail {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* About / president layouts already stack via grid auto */
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .president-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .president-photo {
        max-width: 240px;
        margin: 0 auto;
    }

    .president-text h2 {
        font-size: 1.6rem;
        text-align: center;
    }

    .stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        width: 100%;
        min-width: 0;
    }

    /* Services grid → single column */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Service detail */
    .service-intro p {
        font-size: 1rem;
    }
    .service-cta-block .btn {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 8px auto;
    }

    /* Carousel */
    .carousel-container {
        padding: 20px;
    }
    .client-logo {
        min-width: 100px;
        height: 70px;
    }
    .client-logo img {
        max-width: 80px;
        max-height: 50px;
    }

    /* Missions table → stacked cards */
    .missions-domain {
        padding: 1.25rem;
    }
    .missions-domain-title {
        font-size: 1.1rem;
    }
    .missions-table {
        display: block;
    }
    .missions-table thead {
        display: none;
    }
    .missions-table tbody,
    .missions-table tr {
        display: block;
    }
    .missions-table tr {
        margin-bottom: 1rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--light-gray);
    }
    .missions-table tr:last-child {
        margin-bottom: 0;
        border-bottom: none;
    }
    .missions-table td {
        display: block;
        padding: 4px 0;
        border-bottom: none;
        width: auto !important;
    }
    .missions-table td:first-child {
        font-size: 1rem;
        font-weight: 600;
        width: auto !important;
        padding-bottom: 6px;
    }
    .missions-table td:nth-child(2)::before {
        content: "Mission\00A0: ";
        font-weight: 600;
        color: var(--primary-dark);
    }
    .mission-date-cell {
        width: auto !important;
        margin-top: 4px;
        font-size: 0.85rem;
        font-style: italic;
    }
    .mission-date-cell::before {
        content: "P\00E9riode\00A0: ";
        font-weight: 600;
        color: var(--primary-dark);
        font-style: normal;
    }
    .missions-table tr:hover td {
        background-color: transparent;
    }

    /* Tools — already stack via 992px breakpoint */
    .tool-single {
        padding: 22px;
    }
    .tool-content h2,
    .tool-content h3 {
        font-size: 1.4rem;
    }
    .tool-image img {
        height: 160px;
    }

    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-item {
        padding: 18px;
    }

    /* Forms */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* prevent iOS zoom on focus */
        padding: 12px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 15px;
    }
    .footer-content {
        gap: 30px;
    }
    .footer-logo,
    .footer-links,
    .footer-contact {
        text-align: left;
    }

    /* Service header icon */
    .service-header-icon {
        font-size: 2.2rem;
    }

    /* Tagline */
    .page-tagline {
        font-size: 0.95rem;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    .hero-title {
        font-size: 1.65rem;
    }
    .page-header h1 {
        font-size: 1.75rem;
    }
    .cabinet-name {
        font-size: 1rem;
    }
    #logo-img {
        height: 36px;
    }
    .logo {
        gap: 10px;
    }
    .missions-domain-title {
        font-size: 1rem;
        gap: 6px;
    }
    .stat-item h4 {
        font-size: 2rem;
    }
}
