/* ============================================================
   ANABIB - MODERN CSS
   Version : 2026
   Site institutionnel EPE ANABIB SPA
============================================================ */


/* ============================================================
   01. VARIABLES
============================================================ */

:root {

    --blue-dark: #0b2d4d;
    --blue-deep: #08243d;
    --blue: #145a8d;
    --blue-light: #247bb5;
    --blue-soft: #eaf3f9;

    --steel: #607d94;
    --steel-light: #8ca1b1;

    --white: #ffffff;
    --light: #f5f8fb;
    --light-2: #edf2f6;

    --text: #263746;
    --text-light: #647789;
    --text-muted: #8795a1;

    --border: #dbe4eb;
    --border-light: #e7edf2;

    --success: #176b3a;
    --danger: #c73c3c;

    --shadow:
        0 10px 30px rgba(16, 45, 70, 0.10);

    --shadow-hover:
        0 18px 45px rgba(16, 45, 70, 0.16);

    --radius: 14px;

    --container: 1380px;

}


/* ============================================================
   02. RESET
============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}


html,
body {
    margin: 0;
    padding: 0;
}


body {

    font-family:
        "Segoe UI",
        Arial,
        Helvetica,
        sans-serif;

    background: var(--light);

    color: var(--text);

    font-size: 16px;

    line-height: 1.6;

    overflow-x: hidden;

}


img {
    display: block;
    max-width: 100%;
    height: auto;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea,
select {
    font-family: inherit;
}


button {
    cursor: pointer;
}


address {
    font-style: normal;
}


/* ============================================================
   03. CONTENEUR GLOBAL
============================================================ */

.container {

    width: 100%;

    max-width: var(--container);

    margin-left: auto;
    margin-right: auto;

    padding-left: 30px;
    padding-right: 30px;

}


/* ============================================================
   04. TOPBAR
============================================================ */

.topbar {

    width: 100%;

    background: var(--blue-dark);

    color: #dce9f3;

    font-size: 13px;

}


.topbar-inner {

    width: 100%;

    max-width: var(--container);

    min-height: 40px;

    margin: 0 auto;

    padding: 0 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}


.topbar-company {

    display: flex;

    align-items: center;

    gap: 9px;

    min-width: 0;

}


.topbar-company strong {
    color: #ffffff;
}


.topbar-dot {

    width: 7px;
    height: 7px;

    flex: 0 0 7px;

    border-radius: 50%;

    background: #5db4e8;

    box-shadow:
        0 0 0 4px rgba(93, 180, 232, .15);

}


.topbar-separator {
    opacity: .4;
}


.languages {

    display: flex;

    align-items: center;

    gap: 8px;

    white-space: nowrap;

}


.languages a {

    color: #cbd9e4;

    transition:
        color .2s ease,
        opacity .2s ease;

}


.languages a:hover,
.languages a.active {

    color: #ffffff;

}


/* ============================================================
   05. HEADER
============================================================ */

.header {

    position: relative;

    z-index: 100;

    background: #ffffff;

    border-bottom: 1px solid var(--border);

}


.header-inner {

    width: 100%;

    max-width: var(--container);

    min-height: 92px;

    margin: 0 auto;

    padding: 0 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* ============================================================
   06. BRAND
============================================================ */

.brand {

    display: flex;

    align-items: center;

    gap: 15px;

    flex: 0 0 auto;

    min-width: 0;

}


.brand-logo {

    width: auto;
    height: 68px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    margin: 0;
    padding: 0;

    background: transparent;

    border: 0;

    overflow: visible;

}


.brand-logo img {

    display: block;

    width: auto;
    height: 68px;

    max-width: 120px;
    max-height: 68px;

    margin: 0;
    padding: 0;

    border: 0;

    object-fit: contain;

    object-position: center;

}


.brand-logo-fallback {
    display: none;
}


.brand-text {

    min-width: 0;

}


.brand-name {

    color: var(--blue-dark);

    font-size: 24px;

    line-height: 1.1;

    font-weight: 800;

    letter-spacing: .4px;

    white-space: nowrap;

}


.brand-description {

    margin-top: 5px;

    color: var(--text);

    font-size: 14px;

    line-height: 1.35;

}


.brand-group {

    margin-top: 3px;

    color: var(--blue);

    font-size: 12px;

    font-weight: 600;

    line-height: 1.3;

}


/* ============================================================
   07. NAVIGATION DESKTOP
============================================================ */

.main-nav {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 3px;

    margin-left: auto;

    white-space: nowrap;

}


.main-nav a {

    position: relative;

    height: 46px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 0 11px;

    color: #43596b;

    font-size: 14px;

    font-weight: 600;

    line-height: 1;

    white-space: nowrap;

    border-radius: 8px;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;

}


.main-nav a:hover {

    color: var(--blue-dark);

    background: var(--blue-soft);

    transform: translateY(-1px);

}


.main-nav a.active {

    color: var(--blue);

    background: var(--blue-soft);

    font-weight: 700;

}


.main-nav a.active::after {

    content: "";

    position: absolute;

    left: 12px;
    right: 12px;

    bottom: 4px;

    height: 2px;

    background: var(--blue-light);

    border-radius: 2px;

}


.main-nav .nav-icon {

    width: 18px;
    min-width: 18px;

    height: 18px;

    margin-right: 6px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    color: var(--blue-light);

    font-size: 15px;

    line-height: 1;

}


.main-nav .nav-text {

    display: inline-block;

    white-space: nowrap;

    line-height: 1.2;

}


/* ============================================================
   08. BOUTON MENU MOBILE
============================================================ */

.menu-toggle {

    display: none;

    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    padding: 9px;

    border: 1px solid var(--border);

    border-radius: 10px;

    background: #ffffff;

    cursor: pointer;

}


.menu-toggle span {

    display: block;

    width: 100%;

    height: 2px;

    margin: 5px 0;

    background: var(--blue-dark);

    border-radius: 2px;

    transition: .25s ease;

}


.menu-toggle.active span:nth-child(1) {

    transform:
        translateY(7px)
        rotate(45deg);

}


.menu-toggle.active span:nth-child(2) {

    opacity: 0;

}


.menu-toggle.active span:nth-child(3) {

    transform:
        translateY(-7px)
        rotate(-45deg);

}


/* ============================================================
   09. HERO
============================================================ */

.hero {

    position: relative;

    min-height: 560px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--blue-dark),
            var(--blue)
        );

}


.hero-background {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    z-index: 0;

}


.hero-slide {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    background-position: center center;

    background-repeat: no-repeat;

    background-size: cover;

    opacity: 0;

    transform: scale(1.035);

    transition:
        opacity 1.5s ease-in-out,
        transform 7s ease;

}


.hero-slide.active {

    opacity: 1;

    transform: scale(1);

}


.hero-overlay {

    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(0, 32, 60, .84) 0%,
            rgba(0, 45, 80, .61) 45%,
            rgba(0, 45, 80, .22) 100%
        );

}


.hero::after {

    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -250px;
    top: -180px;

    border: 80px solid rgba(255,255,255,.045);

    border-radius: 50%;

    z-index: 1;

}


.hero-inner {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: var(--container);

    min-height: 560px;

    margin: 0 auto;

    padding: 0 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 60px;

}


.hero-content {

    max-width: 760px;

    color: #ffffff;

}


.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 8px 14px;

    border: 1px solid rgba(255,255,255,.22);

    border-radius: 30px;

    background: rgba(255,255,255,.08);

    backdrop-filter: blur(5px);

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: .8px;

}


.hero-badge span {

    width: 8px;
    height: 8px;

    flex: 0 0 8px;

    border-radius: 50%;

    background: #69c4ef;

}


.hero h1 {

    margin: 25px 0 20px;

    color: #ffffff;

    font-size: clamp(38px, 5vw, 64px);

    line-height: 1.06;

    letter-spacing: -1.5px;

    font-weight: 800;

}


.hero h1 strong {

    display: block;

    color: #ffffff;

    font-weight: 400;

}


.hero p {

    max-width: 690px;

    margin: 0 0 30px;

    color: #e3edf4;

    font-size: 18px;

    line-height: 1.75;

}


/* ============================================================
   10. BOUTONS GENERAUX
============================================================ */

.hero-buttons {

    display: flex;

    align-items: center;

    gap: 12px;

    flex-wrap: wrap;

}


.btn {

    min-height: 48px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding: 0 22px;

    border-radius: 9px;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;

}


.btn:hover {

    transform: translateY(-2px);

}


.btn-primary {

    background: #ffffff;

    color: var(--blue-dark);

    box-shadow:
        0 8px 20px rgba(0,0,0,.16);

}


.btn-primary:hover {

    box-shadow:
        0 12px 25px rgba(0,0,0,.22);

}


.btn-light {

    color: #ffffff;

    border: 1px solid rgba(255,255,255,.35);

    background: rgba(255,255,255,.08);

}


.btn-light:hover {

    background: rgba(255,255,255,.15);

}


/* ============================================================
   11. HERO CARD
============================================================ */

.hero-card {

    width: 280px;

    flex: 0 0 280px;

    padding: 28px;

    border: 1px solid rgba(255,255,255,.18);

    border-radius: 18px;

    background: rgba(255,255,255,.08);

    backdrop-filter: blur(12px);

    color: #ffffff;

    box-shadow:
        0 20px 50px rgba(0,0,0,.16);

}


.hero-card-icon {

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

    border-radius: 14px;

    background: rgba(255,255,255,.13);

    font-size: 26px;

}


.hero-card-title {

    margin-bottom: 8px;

    font-size: 18px;

    font-weight: 700;

}


.hero-card-text {

    color: #d8e7f1;

    font-size: 14px;

    line-height: 1.6;

}


/* ============================================================
   12. MAIN CONTENT
============================================================ */

.main-content {

    width: 100%;

    min-height: 300px;

    padding: 55px 0 70px;

    background: #ffffff;

}


.main-content > .container {

    min-height: 300px;

}


/* ============================================================
   13. FOOTER
============================================================ */

.footer {

    background: #0a2238;

    color: #c7d5df;

}


.footer-grid {

    width: 100%;

    max-width: var(--container);

    margin: 0 auto;

  padding: 0 30px 55px;

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    align-items: start;

    gap: 55px;

}


.footer-brand {

    max-width: 350px;

}


.footer-logo {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 15px;

}


.footer-logo img {

    width: 52px;
    height: 52px;

    object-fit: contain;

}


.footer-logo span {

    display: none;

}


.footer-brand h3,
.footer-column h3,
.footer-stat h3 {

    margin: 0 0 15px;

    color: #ffffff;

    font-size: 17px;

}


.footer-brand p {

    margin: 0 0 8px;

    color: #c7d5df;

    font-size: 14px;

    line-height: 1.7;

}


.footer-group {

    color: #74b9dc;

    font-size: 13px;

    font-weight: 600;

}


.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 8px;

}


.footer-column a {

    color: #b8c9d5;

    font-size: 14px;

    transition:
        color .2s ease,
        transform .2s ease;

}


.footer-column a:hover {

    color: #ffffff;

    transform: translateX(3px);

}


.visitor-number {

    margin-bottom: 7px;

    color: #ffffff;

    font-size: 35px;

    font-weight: 800;

    line-height: 1;

}


.footer-stat span {

    color: #91a8b8;

    font-size: 13px;

}


/* ============================================================
   14. FOOTER BOTTOM
============================================================ */

.footer-bottom {

    border-top:
        1px solid rgba(255,255,255,.08);

}


.footer-bottom-inner {

    width: 100%;

    max-width: var(--container);

    min-height: 65px;

    margin: 0 auto;

    padding: 0 30px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    color: #8fa5b5;

    font-size: 12px;

}


/* ============================================================
   15. RETOUR EN HAUT
============================================================ */

.back-top {

    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 200;

    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background: var(--blue);

    color: #ffffff;

    font-size: 22px;

    cursor: pointer;

    box-shadow:
        0 8px 25px rgba(0,0,0,.18);

    opacity: 0;

    visibility: hidden;

    transform: translateY(15px);

    transition:
        opacity .25s ease,
        visibility .25s ease,
        transform .25s ease;

}


.back-top.visible {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


.back-top:hover {

    background: var(--blue-dark);

}


/* ============================================================
   16. PAGE PRESENTATION - HERO
============================================================ */

.page-hero {

    position: relative;

    padding: 80px 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #0b2d4d 0%,
            #164f76 55%,
            #1f6b91 100%
        );

}


.page-hero::after {

    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -180px;
    top: -250px;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 50%;

}


.page-hero-content {

    position: relative;

    z-index: 2;

    max-width: 850px;

}


.page-hero-badge {

    display: inline-block;

    margin-bottom: 15px;

    padding: 7px 14px;

    border: 1px solid rgba(255,255,255,.25);

    border-radius: 30px;

    color: #d9edf7;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.page-hero h1 {

    margin: 0 0 15px;

    color: #ffffff;

    font-size: clamp(38px, 5vw, 64px);

    line-height: 1.05;

    font-weight: 800;

}


.page-hero p {

    margin: 0;

    color: rgba(255,255,255,.82);

    font-size: 18px;

    line-height: 1.7;

}


/* ============================================================
   17. PAGE PRESENTATION
============================================================ */

.presentation-page {

    padding: 80px 0;

    background: #f6f9fc;

}


.presentation-page .container {

    max-width: 1180px;

}


.presentation-intro,
.presentation-block {

    margin-bottom: 70px;

}


.section-label {

    margin-bottom: 12px;

    color: #2c7be2;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

}


.presentation-intro h2,
.presentation-block h2 {

    max-width: 850px;

    margin: 0 0 25px;

    color: #123b5d;

    font-size: clamp(28px, 3vw, 42px);

    line-height: 1.2;

    font-weight: 800;

}


.presentation-page p {

    color: #52697a;

    font-size: 16px;

    line-height: 1.9;

}


.presentation-page strong {

    color: #173f5f;

}


/* ============================================================
   18. POLITIQUE QUALITE
============================================================ */

.quality-banner {

    display: flex;

    align-items: center;

    gap: 25px;

    margin: 0 0 80px;

    padding: 28px 32px;

    background: #ffffff;

    border: 1px solid #dce7ef;

    border-left: 5px solid #2c7be2;

    border-radius: 14px;

    box-shadow:
        0 12px 35px rgba(18,59,93,.08);

}


.quality-banner-icon {

    flex: 0 0 55px;

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eaf3fb;

    color: #1f6fa8;

    font-size: 25px;

    font-weight: 800;

}


.quality-banner-content {

    flex: 1;

}


.quality-banner-content span {

    color: #2c7be2;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.quality-banner-content h3 {

    margin: 5px 0;

    color: #123b5d;

    font-size: 21px;

}


.quality-banner-content p {

    margin: 0;

    font-size: 14px;

}


/* ============================================================
   19. PRODUITS
============================================================ */

.products-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;

    margin-top: 35px;

}


.presentation-card {

    position: relative;

    padding: 28px;

    background: #ffffff;

    border: 1px solid #dce7ef;

    border-radius: 12px;

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.presentation-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(18,59,93,.10);

}


.presentation-card > span {

    display: block;

    margin-bottom: 18px;

    color: #8ca8bc;

    font-size: 12px;

    font-weight: 800;

}


.presentation-card h3 {

    margin: 0 0 10px;

    color: #123b5d;

    font-size: 19px;

}


.presentation-card p {

    margin: 0;

    font-size: 14px;

    line-height: 1.7;

}


/* ============================================================
   20. SERVICES
============================================================ */

.service-block {

    padding: 45px;

    background: #edf4f9;

    border-radius: 18px;

}


.service-list {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;

    margin-top: 30px;

}


.service-item {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 20px;

    background: #ffffff;

    border: 1px solid #dce7ef;

    border-radius: 10px;

}


.service-item strong {

    flex: 0 0 38px;

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #123b5d;

    color: #ffffff;

    font-size: 12px;

}


.service-item span {

    color: #52697a;

    font-size: 14px;

    line-height: 1.5;

}


/* ============================================================
   21. UNITES
============================================================ */

.units-grid {

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 15px;

    margin-top: 35px;

}


.unit-card {

    padding: 25px 20px;

    background: #ffffff;

    border: 1px solid #dce7ef;

    border-radius: 12px;

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}


.unit-card:hover {

    transform: translateY(-5px);

    box-shadow:
        0 12px 30px rgba(18,59,93,.10);

}


.unit-code {

    margin-bottom: 18px;

    color: #2c7be2;

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 1px;

}


.unit-card h3 {

    margin: 0 0 10px;

    color: #123b5d;

    font-size: 17px;

    line-height: 1.35;

}


.unit-card p {

    margin: 0;

    font-size: 13px;

}


/* ============================================================
   22. DETAILS UNITES
============================================================ */

.unit-detail {

    position: relative;

    margin-bottom: 35px;

    padding: 40px;

    background: #ffffff;

    border: 1px solid #dce7ef;

    border-radius: 16px;

    box-shadow:
        0 8px 25px rgba(18,59,93,.05);

}


.unit-detail-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 25px;

    padding-bottom: 22px;

    border-bottom: 1px solid #e5edf3;

}


.unit-detail-code {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 42px;
    height: 42px;

    margin-bottom: 12px;

    border-radius: 8px;

    background: #123b5d;

    color: #ffffff;

    font-size: 13px;

    font-weight: 800;

}


.unit-detail-header h2 {

    margin: 0;

    color: #123b5d;

    font-size: 30px;

}


.unit-location {

    padding: 10px 15px;

    background: #f1f6fa;

    border-radius: 8px;

    color: #52697a;

    font-size: 13px;

    white-space: nowrap;

}


.unit-detail h3 {

    margin: 30px 0 15px;

    color: #123b5d;

    font-size: 20px;

}


.spec-list {

    margin: 15px 0 0;

    padding-left: 22px;

}


.spec-list li {

    margin-bottom: 12px;

    color: #52697a;

    font-size: 15px;

    line-height: 1.7;

}


.spec-list li::marker {

    color: #2c7be2;

}


/* ============================================================
   23. PAGE CONTACT
============================================================ */

.contact-page {

    padding: 65px 0 80px;

    background: #f5f8fb;

}


/* ============================================================
   CONTACT - EN-TETE
============================================================ */

.contact-page-header {

    width: 100%;

    max-width: var(--container);

    margin: 0 auto 42px;

    padding: 0 30px;

}


.contact-page-label {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 13px;

    color: #247bb5;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    text-transform: uppercase;

}


.contact-page-label::before {

    content: "";

    width: 24px;
    height: 2px;

    background: #247bb5;

    border-radius: 2px;

}


.contact-page-header h1 {

    margin: 0 0 12px;

    color: #0b2d4d;

    font-size: clamp(32px, 4vw, 46px);

    line-height: 1.12;

    font-weight: 800;

    letter-spacing: -1px;

}


.contact-page-header p {

    max-width: 720px;

    margin: 0;

    color: #647789;

    font-size: 16px;

    line-height: 1.75;

}


/* ============================================================
   CONTACT - STRUCTURE
============================================================ */

.contact-layout {

    width: 100%;

    max-width: var(--container);

    margin: 0 auto;

    padding: 0 30px;

    display: grid;

    grid-template-columns:
        minmax(320px, .82fr)
        minmax(550px, 1.45fr);

    gap: 30px;

    align-items: stretch;

}


/* ============================================================
   CONTACT - INFORMATIONS
============================================================ */

.contact-information {

    position: relative;

    min-width: 0;

    padding: 35px;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #0b2d4d 0%,
            #145a8d 62%,
            #247bb5 100%
        );

    color: #ffffff;

    overflow: hidden;

    box-shadow:
        0 18px 45px rgba(16,45,70,.13);

}


.contact-information::before {

    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    right: -180px;
    bottom: -180px;

    border: 55px solid rgba(255,255,255,.045);

    border-radius: 50%;

}


.contact-information::after {

    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    right: -75px;
    top: -75px;

    border: 1px solid rgba(255,255,255,.10);

    border-radius: 50%;

}


.contact-information-inner {

    position: relative;

    z-index: 2;

}


.contact-information-label {

    display: block;

    margin-bottom: 10px;

    color: #8fd3f4;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

}


.contact-information h2 {

    margin: 0 0 12px;

    color: #ffffff;

    font-size: 27px;

    line-height: 1.25;

}


.contact-information-intro {

    margin: 0 0 30px;

    color: rgba(255,255,255,.75);

    font-size: 14px;

    line-height: 1.75;

}


/* ============================================================
   CONTACT - DIRECTION GENERALE
============================================================ */

.contact-main-office {

    margin-bottom: 28px;

    padding-bottom: 25px;

    border-bottom:
        1px solid rgba(255,255,255,.14);

}


.contact-main-office-title {

    display: flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 15px;

}


.contact-main-office-icon {

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(255,255,255,.11);

    color: #ffffff;

    font-size: 17px;

}


.contact-main-office-title strong {

    color: #ffffff;

    font-size: 15px;

}


.contact-main-office address {

    margin: 0 0 16px;

    color: rgba(255,255,255,.75);

    font-size: 13px;

    line-height: 1.7;

}


.contact-info-line {

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-top: 8px;

    color: rgba(255,255,255,.78);

    font-size: 13px;

    line-height: 1.5;

}


.contact-info-line span:first-child {

    width: 18px;

    flex: 0 0 18px;

    color: #8fd3f4;

    font-weight: 700;

}


.contact-info-line a {

    color: #ffffff;

    word-break: break-word;

}


.contact-info-line a:hover {

    text-decoration: underline;

}


/* ============================================================
   CONTACT - AUTRES SERVICES
============================================================ */

.contact-direct-title {

    margin: 0 0 15px;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

}


.contact-direct-item {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 12px;

}


.contact-direct-code {

    width: 40px;
    height: 40px;

    flex: 0 0 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(255,255,255,.10);

    color: #ffffff;

    font-size: 10px;

    font-weight: 800;

}


.contact-direct-text {

    min-width: 0;

}


.contact-direct-text strong {

    display: block;

    margin-bottom: 2px;

    color: #ffffff;

    font-size: 13px;

}


.contact-direct-text span {

    color: rgba(255,255,255,.62);

    font-size: 11px;

}


/* ============================================================
   CONTACT - FORMULAIRE
============================================================ */

.contact-form-card {

    min-width: 0;

    background: #ffffff;

    border: 1px solid #dce5ec;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 18px 45px rgba(16,45,70,.08);

}


/* ============================================================
   CONTACT - HEADER FORMULAIRE
============================================================ */

.contact-form-header {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 27px 32px;

    border-bottom:
        1px solid #e4ebf0;

}


.contact-form-header-icon {

    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #eaf3f9;

    color: #145a8d;

    font-size: 20px;

}


.contact-form-header h2 {

    margin: 0 0 3px;

    color: #0b2d4d;

    font-size: 20px;

}


.contact-form-header p {

    margin: 0;

    color: #7a8996;

    font-size: 12px;

}


/* ============================================================
   CONTACT - CORPS FORMULAIRE
============================================================ */

.contact-form-body {

    padding: 30px 32px;

}


.contact-form-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 21px 20px;

}


.contact-form-group {

    min-width: 0;

}


.contact-form-group.full {

    grid-column: 1 / -1;

}


/* ============================================================
   CONTACT - LABELS
============================================================ */

.contact-form-group label {

    display: block;

    margin-bottom: 7px;

    color: #344454;

    font-size: 12px;

    font-weight: 700;

}


.contact-form-group label .required {

    color: #d54848;

}


/* ============================================================
   CONTACT - CHAMPS
============================================================ */

.contact-form-group input,
.contact-form-group textarea {

    width: 100%;

    box-sizing: border-box;

    border: 1px solid #d4dee6;

    border-radius: 8px;

    background: #fbfcfd;

    color: #263746;

    font-family: inherit;

    font-size: 13px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;

}


.contact-form-group input {

    height: 45px;

    padding: 0 13px;

}


.contact-form-group textarea {

    min-height: 145px;

    padding: 12px 13px;

    resize: vertical;

    line-height: 1.6;

}


.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {

    color: #a4afb9;

}


.contact-form-group input:hover,
.contact-form-group textarea:hover {

    border-color: #bcc9d3;

}


.contact-form-group input:focus,
.contact-form-group textarea:focus {

    background: #ffffff;

    border-color: #247bb5;

    box-shadow:
        0 0 0 3px rgba(36,123,181,.10);

}


/* ============================================================
   CONTACT - COMPTEUR MESSAGE
============================================================ */

.contact-message-counter {

    margin-top: 5px;

    text-align: right;

    color: #9aa6b0;

    font-size: 10px;

}


/* ============================================================
   CONTACT - PIED FORMULAIRE
============================================================ */

.contact-form-footer-new {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 20px 32px 23px;

    background: #f8fafc;

    border-top:
        1px solid #e5ebf0;

}


.contact-form-note {

    color: #87939e;

    font-size: 11px;

}


.contact-form-note span {

    color: #d54848;

}


/* ============================================================
   CONTACT - BOUTONS
============================================================ */

.contact-form-buttons {

    display: flex;

    align-items: center;

    gap: 9px;

    flex-shrink: 0;

}


.contact-btn-reset,
.contact-btn-send {

    height: 41px;

    padding: 0 17px;

    border-radius: 7px;

    font-family: inherit;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform .18s ease,
        background .18s ease,
        box-shadow .18s ease;

}


.contact-btn-reset {

    border: 1px solid #d2dbe3;

    background: #ffffff;

    color: #52616e;

}


.contact-btn-reset:hover {

    background: #f0f4f7;

    transform: translateY(-1px);

}


.contact-btn-send {

    min-width: 160px;

    border: 0;

    background: #145a8d;

    color: #ffffff;

}


.contact-btn-send:hover {

    background: #0b2d4d;

    box-shadow:
        0 7px 18px rgba(20,90,141,.20);

    transform: translateY(-1px);

}


/* ============================================================
   CONTACT - RESULTAT
============================================================ */

.contact-message-result {

    margin: 0 32px 22px;

    padding: 12px 14px;

    border-radius: 7px;

    font-size: 12px;

}


.contact-message-result.error {

    color: #9d3030;

    background: #fff3f3;

    border: 1px solid #efcccc;

}


.contact-message-result.success {

    color: #176b3a;

    background: #f0faf4;

    border: 1px solid #c6e5d1;

}


/* ============================================================
   24. CONTACT - ANCIENNES CLASSES COMPATIBILITE
============================================================ */

/*
   Ces classes sont conservées pour éviter de casser
   une éventuelle ancienne version de contact.php.
*/


.anabib-contact {

    width: 100%;

    max-width: 1180px;

    margin: 0 auto;

    padding: 55px 20px 80px;

}


.contact-heading {

    max-width: 720px;

    margin: 0 auto 42px;

    text-align: center;

}


.contact-heading-label {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    height: 28px;

    padding: 0 14px;

    border-radius: 20px;

    background: #edf4fb;

    color: #1f4e79;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

}


.contact-heading h1 {

    margin: 13px 0 9px;

    color: #172b3a;

    font-size: 38px;

    font-weight: 750;

    letter-spacing: -.7px;

}


.contact-heading p {

    margin: 0;

    color: #6b7785;

    font-size: 15px;

    line-height: 1.6;

}


.contact-panel {

    max-width: 920px;

    margin: 0 auto;

    background: #ffffff;

    border: 1px solid #dfe6ed;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 18px 50px rgba(31,78,121,.10);

}


.contact-panel-head {

    display: flex;

    align-items: center;

    gap: 17px;

    padding: 25px 34px;

    background:
        linear-gradient(
            110deg,
            #173e63 0%,
            #1f4e79 55%,
            #285f8f 100%
        );

    color: #ffffff;

}


.contact-panel-symbol {

    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(255,255,255,.13);

    border: 1px solid rgba(255,255,255,.20);

}


.contact-panel-symbol span {

    font-size: 21px;

}


.contact-panel-title h2 {

    margin: 0 0 4px;

    font-size: 20px;

    font-weight: 700;

}


.contact-panel-title p {

    margin: 0;

    color: rgba(255,255,255,.75);

    font-size: 13px;

}


.contact-form-section {

    padding: 31px 34px;

    border-bottom:
        1px solid #e7edf2;

}


.contact-form-section-last {

    border-bottom: 0;

}


.contact-section-title {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 24px;

}


.contact-section-number {

    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #edf4fb;

    color: #1f4e79;

    font-size: 11px;

    font-weight: 800;

}


.contact-section-title strong {

    color: #263746;

    font-size: 15px;

    font-weight: 700;

}


.contact-section-title small {

    margin-top: 2px;

    color: #8a96a2;

    font-size: 12px;

}


.contact-fields-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px 24px;

}


.contact-field {

    min-width: 0;

}


.contact-field-full {

    grid-column: 1 / -1;

}


.contact-field label {

    display: block;

    margin-bottom: 8px;

    color: #344454;

    font-size: 13px;

    font-weight: 650;

}


.contact-field label b {

    margin-left: 3px;

    color: #d43d3d;

    font-size: 13px;

}


.contact-field input,
.contact-field textarea {

    width: 100%;

    box-sizing: border-box;

    border: 1px solid #d5dde5;

    border-radius: 8px;

    background: #fbfcfd;

    color: #243443;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;

}


.contact-field input {

    height: 46px;

    padding: 0 14px;

}


.contact-field textarea {

    min-height: 155px;

    padding: 13px 14px;

    resize: vertical;

    line-height: 1.55;

}


.contact-field input::placeholder,
.contact-field textarea::placeholder {

    color: #a5afb9;

}


.contact-field input:hover,
.contact-field textarea:hover {

    border-color: #bdc9d4;

}


.contact-field input:focus,
.contact-field textarea:focus {

    border-color: #2c7be2;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(44,123,226,.10);

}


.contact-counter {

    margin-top: 5px;

    text-align: right;

    color: #9aa5af;

    font-size: 11px;

}


.contact-form-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 22px 34px 25px;

    background: #f8fafc;

    border-top:
        1px solid #e5ebf0;

}


.contact-required {

    color: #87929d;

    font-size: 12px;

}


.contact-required span {

    color: #d43d3d;

    font-weight: 700;

}


.contact-actions {

    display: flex;

    align-items: center;

    gap: 10px;

}


.contact-reset,
.contact-submit {

    height: 42px;

    padding: 0 18px;

    border-radius: 7px;

    font-family: inherit;

    font-size: 13px;

    font-weight: 650;

    cursor: pointer;

}


.contact-reset {

    border: 1px solid #d3dbe3;

    background: #ffffff;

    color: #536170;

}


.contact-submit {

    min-width: 165px;

    border: 0;

    background: #1f4e79;

    color: #ffffff;

}


.contact-result {

    display: none;

    margin: 0 34px 25px;

    padding: 12px 14px;

    border-radius: 7px;

    font-size: 13px;

}


.contact-result.error {

    display: block;

    color: #9d2828;

    background: #fff3f3;

    border: 1px solid #f0cccc;

}


.contact-result.success {

    display: block;

    color: #176b3a;

    background: #f0faf4;

    border: 1px solid #c4e6d0;

}


/* ============================================================
   25. CONTACT - RESPONSIVE ANCIENNES CLASSES
============================================================ */

.contact-offices {

    margin-top: 70px;

}


.contact-offices-heading {

    margin-bottom: 28px;

    text-align: center;

}


.contact-offices-heading span {

    display: block;

    margin-bottom: 7px;

    color: #2c7be2;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

}


.contact-offices-heading h2 {

    margin: 0;

    color: #263746;

    font-size: 27px;

}


.contact-offices-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;

}


.office-card {

    display: grid;

    grid-template-columns:
        54px minmax(0, 1fr);

    gap: 17px;

    padding: 21px;

    background: #ffffff;

    border: 1px solid #e1e7ed;

    border-radius: 12px;

    box-shadow:
        0 5px 18px rgba(31,78,121,.055);

}


.office-code {

    width: 54px;
    height: 54px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #edf4fb;

    color: #1f4e79;

    font-size: 11px;

    font-weight: 800;

}


.office-content {

    min-width: 0;

}


.office-content h3 {

    margin: 1px 0 10px;

    color: #263746;

    font-size: 16px;

}


.office-content p {

    margin: 0 0 10px;

    color: #6e7b87;

    font-size: 13px;

    line-height: 1.6;

}


.office-content div {

    margin-top: 5px;

    color: #687581;

    font-size: 12px;

    line-height: 1.5;

}


.office-content div strong {

    color: #374754;

}


.office-content a {

    display: inline-block;

    margin-top: 9px;

    color: #1f5f91;

    font-size: 12px;

}


.office-content a:hover {

    text-decoration: underline;

}


/* ============================================================
   26. RESPONSIVE - GRAND ECRAN
============================================================ */

@media (min-width: 1440px) {

    .container,
    .topbar-inner,
    .header-inner,
    .hero-inner,
    .footer-grid,
    .footer-bottom-inner,
    .contact-page-header,
    .contact-layout {

        max-width: 1380px;

    }

}


/* ============================================================
   27. RESPONSIVE - ECRANS MOYENS
============================================================ */

@media (max-width: 1199px) {

    .header-inner {

        gap: 18px;

    }


    .brand-name {

        font-size: 21px;

    }


    .brand-description {

        font-size: 12px;

    }


    .main-nav {

        gap: 1px;

    }


    .main-nav a {

        padding-left: 8px;
        padding-right: 8px;

        font-size: 13px;

    }


    .main-nav .nav-icon {

        width: 16px;
        min-width: 16px;

        margin-right: 5px;

    }


    .hero-card {

        width: 240px;

        flex-basis: 240px;

    }


    .footer-grid {

        grid-template-columns:
            1.5fr 1fr 1fr 1fr;

        gap: 30px;

    }


    .contact-layout {

        grid-template-columns:
            minmax(300px, .85fr)
            minmax(500px, 1.25fr);

        gap: 22px;

    }


    .contact-information {

        padding: 28px;

    }


    .contact-form-body {

        padding: 27px;

    }


    .contact-form-header {

        padding: 24px 27px;

    }


    .contact-form-footer-new {

        padding-left: 27px;
        padding-right: 27px;

    }

}


/* ============================================================
   28. TABLETTE
============================================================ */

@media (max-width: 991px) {

    .container,
    .topbar-inner,
    .header-inner,
    .hero-inner,
    .footer-grid,
    .footer-bottom-inner {

        max-width: 100%;

        padding-left: 20px;
        padding-right: 20px;

    }


    /* HEADER */

    .header-inner {

        position: relative;

        min-height: 82px;

    }


    .brand-logo {

        height: 62px;

    }


    .brand-logo img {

        height: 62px;

        max-height: 62px;

    }


    .menu-toggle {

        display: block;

    }


    /* NAVIGATION MOBILE */

    .main-nav {

        position: absolute;

        top: calc(100% + 8px);

        left: 20px;
        right: 20px;

        width: auto;

        margin: 0;

        padding: 10px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        justify-content: flex-start;

        gap: 4px;

        background: #ffffff;

        border: 1px solid var(--border);

        border-radius: 12px;

        box-shadow:
            0 15px 40px rgba(16,45,70,.16);

        white-space: normal;

    }


    .main-nav.open {

        display: flex;

    }


    .main-nav a {

        width: 100%;

        height: 48px;

        justify-content: flex-start;

        padding: 0 16px;

        font-size: 14px;

    }


    .main-nav a.active::after {

        display: none;

    }


    /* HERO */

    .hero {

        min-height: 600px;

    }


    .hero-inner {

        min-height: 600px;

        padding-top: 55px;

        padding-bottom: 55px;

        flex-direction: column;

        align-items: flex-start;

        justify-content: center;

    }


    .hero-card {

        display: none;

    }


    .hero-content {

        max-width: 800px;

    }


    /* PRESENTATION */

    .products-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .units-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }


    .quality-banner {

        flex-wrap: wrap;

    }


    .quality-banner .btn {

        width: 100%;

    }


    /* CONTACT */

    .contact-page-header {

        padding-left: 20px;
        padding-right: 20px;

    }


    .contact-layout {

        padding-left: 20px;
        padding-right: 20px;

        grid-template-columns: 1fr;

    }


    .contact-information {

        min-height: auto;

    }


    .contact-offices-grid {

        grid-template-columns: 1fr;

    }

}


/* ============================================================
   29. MOBILE
============================================================ */

@media (max-width: 767px) {

    body {

        font-size: 15px;

    }


    /* TOPBAR */

    .topbar-inner {

        min-height: 38px;

        justify-content: center;

    }


    .topbar-company {

        font-size: 11px;

    }


    .topbar-company .topbar-separator,
    .topbar-company strong {

        display: none;

    }


    .languages {

        font-size: 11px;

    }


    /* HEADER */

    .header-inner {

        gap: 10px;

    }


    .brand {

        gap: 10px;

    }


    .brand-logo {

        height: 54px;

    }


    .brand-logo img {

        height: 54px;

        max-height: 54px;

    }


    .brand-name {

        font-size: 19px;

    }


    .brand-description {

        max-width: 220px;

        font-size: 10px;

        line-height: 1.3;

    }


    .brand-group {

        font-size: 9px;

    }


    /* HERO */

    .hero {

        min-height: 570px;

    }


    .hero-inner {

        min-height: 570px;

        padding-top: 45px;

        padding-bottom: 45px;

    }


    .hero-badge {

        font-size: 11px;

    }


    .hero h1 {

        margin-top: 20px;

        font-size:
            clamp(34px, 10vw, 48px);

        letter-spacing: -1px;

    }


    .hero p {

        font-size: 15px;

        line-height: 1.65;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }


    .btn {

        width: 100%;

    }


    /* MAIN */

    .main-content {

        padding: 35px 0 50px;

    }


    /* PRESENTATION */

    .page-hero {

        padding: 60px 0;

    }


    .presentation-page {

        padding: 55px 0;

    }


    .presentation-intro,
    .presentation-block {

        margin-bottom: 50px;

    }


    .products-grid,
    .service-list,
    .units-grid {

        grid-template-columns: 1fr;

    }


    .quality-banner {

        align-items: flex-start;

        padding: 22px;

    }


    .quality-banner-icon {

        flex-basis: 45px;

        width: 45px;
        height: 45px;

    }


    .service-block {

        padding: 28px 20px;

    }


    .unit-detail {

        padding: 25px 20px;

    }


    .unit-detail-header {

        flex-direction: column;

        gap: 15px;

    }


    .unit-location {

        white-space: normal;

    }


    /* FOOTER */

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 35px;

        padding-top: 40px;

        padding-bottom: 40px;

    }


    .footer-brand {

        max-width: none;

    }


    .footer-bottom-inner {

        min-height: 75px;

        flex-direction: column;

        justify-content: center;

        text-align: center;

        gap: 4px;

    }


    /* CONTACT */

    .contact-page {

        padding: 40px 0 55px;

    }


    .contact-page-header {

        margin-bottom: 30px;

        padding-left: 15px;
        padding-right: 15px;

    }


    .contact-page-header h1 {

        font-size: 32px;

    }


    .contact-page-header p {

        font-size: 14px;

    }


    .contact-layout {

        padding-left: 15px;
        padding-right: 15px;

        gap: 18px;

    }


    .contact-information,
    .contact-form-card {

        border-radius: 13px;

    }


    .contact-information {

        padding: 25px;

    }


    .contact-form-header {

        padding: 21px;

    }


    .contact-form-body {

        padding: 23px 20px;

    }


    .contact-form-grid {

        grid-template-columns: 1fr;

        gap: 18px;

    }


    .contact-form-group.full {

        grid-column: auto;

    }


    .contact-form-footer-new {

        flex-direction: column;

        align-items: stretch;

        padding: 18px 20px 20px;

    }


    .contact-form-buttons {

        width: 100%;

    }


    .contact-btn-reset,
    .contact-btn-send {

        flex: 1;

    }


    .contact-message-result {

        margin-left: 20px;
        margin-right: 20px;

    }


    /* ANCIEN CONTACT */

    .anabib-contact {

        padding: 35px 15px 50px;

    }


    .contact-panel {

        border-radius: 12px;

    }


    .contact-panel-head {

        padding: 20px;

    }


    .contact-panel-title h2 {

        font-size: 17px;

    }


    .contact-panel-title p {

        font-size: 11px;

    }


    .contact-form-section {

        padding: 25px 20px;

    }


    .contact-fields-grid {

        grid-template-columns: 1fr;

    }


    .contact-field-full {

        grid-column: auto;

    }


    .contact-form-footer {

        flex-direction: column;

        align-items: stretch;

        padding: 19px 20px 22px;

    }


    .contact-actions {

        width: 100%;

    }


    .contact-reset,
    .contact-submit {

        flex: 1;

    }


    .contact-result {

        margin-left: 20px;
        margin-right: 20px;

    }


    .office-card {

        grid-template-columns:
            45px minmax(0, 1fr);

        gap: 13px;

        padding: 17px;

    }


    .office-code {

        width: 45px;
        height: 45px;

    }


    /* BACK TOP */

    .back-top {

        right: 15px;

        bottom: 15px;

        width: 42px;
        height: 42px;

    }

}


/* ============================================================
   30. PETITS TELEPHONES
============================================================ */

@media (max-width: 380px) {

    .brand-description {

        display: none;

    }


    .brand-name {

        font-size: 18px;

    }


    .hero h1 {

        font-size: 32px;

    }


    .contact-information {

        padding: 21px;

    }


    .contact-form-header {

        gap: 11px;

    }


    .contact-form-header-icon {

        width: 40px;
        height: 40px;

        flex-basis: 40px;

        font-size: 17px;

    }

}


/* ============================================================
   31. ACCESSIBILITE / REDUCTION DES ANIMATIONS
============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }


    *,
    *::before,
    *::after {

        transition-duration: .01ms !important;

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

    }

}
/* ============================================================
   ANABIB - GAMMES
============================================================ */

.gammes-page {
    width: 100%;
    padding: 55px 0 75px;
    background: #f4f7fa;
}


/* HEADER */



/* ============================================================
   GAMMES - TITRE NOS PRODUITS
   ============================================================ */

.gammes-header {
    width: 100%;
    margin: 0 0 35px 0;
    padding: 42px 45px 44px;
    box-sizing: border-box;

    background: #173a5e;
    border-radius: 10px;

    position: relative;
    overflow: hidden;

    box-shadow: 0 8px 24px rgba(20, 48, 76, 0.16);
}

/* Ligne décorative à droite */

.gammes-header::after {
    content: "";
    position: absolute;
    right: -80px;
    top: -100px;

    width: 280px;
    height: 280px;

    border: 35px solid rgba(255,255,255,0.06);
    border-radius: 50%;
}

/* Contenu */

.gammes-header-content {
    position: relative;
    z-index: 2;
}

/* Petit titre */

.gammes-eyebrow {
    margin-bottom: 10px;

    color: #aebfd0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Grand titre */

.gammes-header h1 {
    margin: 0;

    color: #ffffff;

    font-size: 46px;
    line-height: 1.15;
    font-weight: 700;

    letter-spacing: -0.5px;
}

/* Texte sous le titre */

.gammes-header p {
    max-width: 720px;

    margin: 14px 0 0;

    color: #d7e2ec;

    font-size: 15px;
    line-height: 1.7;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 800px) {

    .gammes-header {
        padding: 35px 30px 37px;
    }

    .gammes-header h1 {
        font-size: 38px;
    }

}


@media (max-width: 500px) {

    .gammes-header {
        padding: 30px 22px 32px;
        border-radius: 8px;
    }

    .gammes-eyebrow {
        font-size: 10px;
    }

    .gammes-header h1 {
        font-size: 31px;
    }

    .gammes-header p {
        font-size: 13px;
    }

}



.gammes-eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 9px;

    color: #247bb5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.gammes-eyebrow:before {
    content: "";
    width: 27px;
    height: 2px;
    background: #247bb5;
}

.gammes-header h1 {
    margin: 0 0 9px;

    color: #0b2d4d;
    font-size: 40px;
    line-height: 1.15;
    font-weight: 800;
}

.gammes-header p {
    max-width: 700px;
    margin: 0;

    color: #6d7e8c;
    font-size: 14px;
    line-height: 1.7;
}


/* SELECTION */

.gammes-selection {
    max-width: 1180px;
    margin: 0 auto 28px;
    padding: 0 20px;

    display: grid;
    grid-template-columns: 310px 1fr;

    box-sizing: border-box;
}

.gammes-selection-header {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 20px 22px;

    background: #0b2d4d;
    border-radius: 11px 0 0 11px;
}

.gammes-selection-icon {
    width: 39px;
    height: 39px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 39px;

    border-radius: 8px;

    background: rgba(255,255,255,.11);

    color: #fff;
    font-size: 19px;
}

.gammes-selection-header strong {
    display: block;

    margin-bottom: 3px;

    color: #fff;
    font-size: 13px;
}

.gammes-selection-header span {
    color: rgba(255,255,255,.62);
    font-size: 10px;
}

.gammes-selection-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;

    padding: 19px 22px;

    background: #fff;

    border: 1px solid #dce5ec;
    border-left: 0;

    border-radius: 0 11px 11px 0;
}

.gammes-field {
    min-width: 0;
}

.gammes-field label {
    display: block;

    margin-bottom: 6px;

    color: #344857;
    font-size: 11px;
    font-weight: 700;
}

.gammes-field select {
    width: 100%;
    height: 43px;

    padding: 0 11px;

    box-sizing: border-box;

    border: 1px solid #d4dee6;
    border-radius: 7px;

    background: #fbfcfd;

    color: #263746;

    font-family: inherit;
    font-size: 12px;

    outline: none;
}

.gammes-field select:focus {
    border-color: #247bb5;
    background: #fff;

    box-shadow: 0 0 0 3px rgba(36,123,181,.09);
}


/* LISTE */

.gammes-products-list {
    max-width: 1140px;
    margin: 0 auto 30px;

    padding: 25px 28px;

    box-sizing: border-box;

    background: #fff;

    border: 1px solid #dce5ec;
    border-radius: 13px;

    box-shadow: 0 8px 28px rgba(20,50,75,.05);
}

.gammes-section-title {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 20px;
}

.gammes-section-title > span {
    width: 4px;
    height: 35px;

    background: #247bb5;
    border-radius: 3px;
}

.gammes-section-title small {
    display: block;

    margin-bottom: 3px;

    color: #247bb5;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.gammes-section-title h2 {
    margin: 0;

    color: #0b2d4d;
    font-size: 20px;
}


/* CARTES PRODUITS */

.gammes-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gammes-product-card {
    display: block;

    overflow: hidden;

    background: #fff;

    border: 1px solid #dce5ec;
    border-radius: 10px;

    color: inherit;
    text-decoration: none;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.gammes-product-card:hover {
    transform: translateY(-3px);

    border-color: #b9d0df;

    box-shadow: 0 10px 25px rgba(20,50,75,.10);
}

.gammes-product-card-image {
    height: 165px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 15px;

    box-sizing: border-box;

    background: #f6f8fa;

    border-bottom: 1px solid #e4eaee;
}

.gammes-product-card-image img {
    max-width: 100%;
    max-height: 135px;

    object-fit: contain;
}

.gammes-product-card-image span {
    color: #a4b1ba;

    font-size: 17px;
    font-weight: 800;
    letter-spacing: 2px;
}

.gammes-product-card-body {
    padding: 15px;
}

.gammes-product-card-body span {
    display: block;

    margin-bottom: 5px;

    color: #247bb5;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.gammes-product-card-body strong {
    display: block;

    min-height: 34px;

    color: #263f52;

    font-size: 13px;
    line-height: 1.35;
}

.gammes-product-card-body em {
    display: block;

    margin-top: 11px;

    color: #8797a3;

    font-size: 10px;
    font-style: normal;
}


/* FICHE */

.gammes-fiche {
    max-width: 1140px;
    margin: 0 auto;

    background: #fff;

    border: 1px solid #dce5ec;
    border-radius: 14px;

    overflow: hidden;

    box-shadow: 0 10px 30px rgba(20,50,75,.07);
}

.gammes-fiche-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 25px;

    padding: 25px 29px;

    border-bottom: 1px solid #e2e8ed;
}

.gammes-fiche-header > div {
    min-width: 0;
}

.gammes-fiche-header > div > span {
    display: block;

    margin-bottom: 5px;

    color: #247bb5;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.gammes-fiche-header h2 {
    margin: 0 0 7px;

    color: #0b2d4d;

    font-size: 25px;
    font-weight: 800;
}

.gammes-description {
    color: #70818f;

    font-size: 12px;
    line-height: 1.6;
}

.gammes-download {
    display: flex;
    align-items: center;
    gap: 10px;

    min-width: 175px;

    padding: 10px 13px;

    border: 1px solid #d4e0e8;
    border-radius: 8px;

    background: #f6f9fb;

    color: #145a8d;
    text-decoration: none;
}

.gammes-download:hover {
    background: #edf5fa;
}

.gammes-download b {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: #145a8d;
    color: #fff;

    font-size: 18px;
}

.gammes-download strong,
.gammes-download small {
    display: block;
}

.gammes-download strong {
    font-size: 11px;
}

.gammes-download small {
    margin-top: 2px;

    color: #83919c;

    font-size: 9px;
}


/* CORPS */

.gammes-fiche-body {
    display: grid;
    grid-template-columns: 235px minmax(0,1fr);
    gap: 30px;

    padding: 30px;
}

.gammes-fiche-left {
    min-width: 0;
}

.gammes-fiche-image {
    height: 245px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 18px;

    box-sizing: border-box;

    background: #f6f8fa;

    border: 1px solid #e0e7ec;
    border-radius: 9px;
}

.gammes-fiche-image img {
    max-width: 100%;
    max-height: 205px;

    object-fit: contain;
}

.gammes-no-image {
    color: #a3b0b9;

    font-size: 19px;
    font-weight: 800;
    letter-spacing: 2px;
}

.gammes-info-box {
    margin-top: 9px;

    padding: 11px 13px;

    background: #fafcfd;

    border: 1px solid #e1e8ed;
    border-radius: 7px;
}

.gammes-info-box small {
    display: block;

    margin-bottom: 4px;

    color: #8a99a4;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1px;
}

.gammes-info-box strong {
    display: block;

    color: #31566d;

    font-size: 11px;
    line-height: 1.4;
}


/* DETAILS */

.gammes-details-heading {
    display: flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 17px;

    padding-bottom: 10px;

    border-bottom: 1px solid #e1e8ed;
}

.gammes-details-heading span {
    width: 4px;
    height: 20px;

    background: #247bb5;

    border-radius: 2px;
}

.gammes-details-heading h3 {
    margin: 0;

    color: #0b2d4d;

    font-size: 16px;
}

.gammes-detail-block {
    margin-bottom: 17px;
}

.gammes-detail-block h4 {
    margin: 0 0 7px;

    color: #315064;

    font-size: 12px;
}

.gammes-detail-block > div {
    padding: 11px 13px;

    background: #f8fafb;

    border-left: 3px solid #d6e6ef;

    color: #667b88;

    font-size: 11px;
    line-height: 1.65;
}

.gammes-detail-block ul,
.gammes-detail-block ol {
    margin-top: 4px;
    margin-bottom: 4px;
}

.gammes-no-details {
    padding: 15px;

    background: #f8fafb;

    border: 1px dashed #d2dde4;
    border-radius: 7px;

    color: #82919c;

    font-size: 11px;
}

.gammes-fiche-filiale {
    margin-top: 25px;
    padding-top: 16px;

    border-top: 1px solid #e2e8ed;
}

.gammes-fiche-filiale > div {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 7px;
}

.gammes-fiche-filiale > div span {
    width: 4px;
    height: 17px;

    background: #247bb5;
    border-radius: 2px;
}

.gammes-fiche-filiale strong {
    color: #0b2d4d;
    font-size: 13px;
}

.gammes-fiche-filiale > b {
    display: block;

    padding: 10px 12px;

    background: #f8fafb;

    border: 1px solid #e1e8ed;
    border-radius: 6px;

    color: #31566d;

    font-size: 11px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .gammes-selection {
        grid-template-columns: 1fr;
    }

    .gammes-selection-header {
        border-radius: 11px 11px 0 0;
    }

    .gammes-selection-content {
        border-left: 1px solid #dce5ec;
        border-top: 0;

        border-radius: 0 0 11px 11px;
    }

    .gammes-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gammes-fiche-body {
        grid-template-columns: 200px minmax(0,1fr);
    }

}


@media (max-width: 700px) {

    .gammes-header h1 {
        font-size: 33px;
    }

    .gammes-selection,
    .gammes-header {
        padding-left: 15px;
        padding-right: 15px;
    }

    .gammes-selection-content {
        grid-template-columns: 1fr;
    }

    .gammes-products-list {
        margin-left: 15px;
        margin-right: 15px;
        padding: 20px;
    }

    .gammes-products-grid {
        grid-template-columns: 1fr;
    }

    .gammes-fiche {
        margin-left: 15px;
        margin-right: 15px;
    }

    .gammes-fiche-header {
        flex-direction: column;
        align-items: stretch;
    }

    .gammes-download {
        width: 100%;
    }

    .gammes-fiche-body {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .gammes-fiche-image {
        height: 230px;
    }

}


@media (max-width: 450px) {

    .gammes-page {
        padding-top: 40px;
    }

    .gammes-header h1 {
        font-size: 29px;
    }

    .gammes-header p {
        font-size: 13px;
    }

    .gammes-selection-content {
        padding: 16px;
    }

    .gammes-products-list {
        padding: 16px;
    }

    .gammes-fiche-header {
        padding: 20px;
    }

    .gammes-fiche-header h2 {
        font-size: 21px;
    }

}

/* =========================================================
   TITRES DES UNITES - GRAND FORMAT
========================================================= */

.filiale-detail-header h2 {
    margin: 0;

    color: #173a5e;

    font-size: 44px;
    line-height: 1.15;

    font-weight: 750;
    letter-spacing: -0.5px;
}


/* Tablette */
@media (max-width: 1000px) {

    .filiale-detail-header h2 {
        font-size: 38px;
    }
}


/* Mobile */
@media (max-width: 650px) {

    .filiale-detail-header h2 {
        font-size: 31px;
        line-height: 1.2;
    }
}
css
/* =========================================================
   TITRE UNITÉ : UNITÉ ALTUMET / UNITÉ PAF / etc.
========================================================= */

.filiale-detail-header .section-label {
    margin-bottom: 12px;

    color: #2c7be5;

    font-size: 20px;
    line-height: 1.2;

    font-weight: 800;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/* Tablette */
@media (max-width: 1000px) {

    .filiale-detail-header .section-label {
        font-size: 19px;
    }
}


/* Mobile */
@media (max-width: 650px) {

    .filiale-detail-header .section-label {
        font-size: 17px;
    }
}

/* =========================================================
   TITRE PRINCIPAL DE L'UNITE
   Exemple : UNITÉ IRRAGRIS
========================================================= */

.filiale-detail-header .section-label {
    margin: 0 0 8px;

    color: #173a5e;

    font-size: 38px;
    line-height: 1.15;

    font-weight: 800;

    letter-spacing: 0;
    text-transform: uppercase;
}


/* =========================================================
   NOM COMPLET DE L'UNITE
   Exemple : Tubes et Matériels d'Irrigation par Aspersion
========================================================= */

.filiale-detail-header h2 {
    margin: 0;

    color: #52677b;

    font-size: 22px;
    line-height: 1.4;

    font-weight: 500;
}


/* =========================================================
   TABLETTE
========================================================= */

@media (max-width: 1000px) {

    .filiale-detail-header .section-label {
        font-size: 34px;
    }

    .filiale-detail-header h2 {
        font-size: 21px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .filiale-detail-header .section-label {
        font-size: 29px;
    }

    .filiale-detail-header h2 {
        font-size: 19px;
    }
}

/* ============================================================
   TOP BAR
============================================================ */

.topbar {
    width: 100%;
    background: #1f4e79;
    color: #ffffff;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.topbar .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
    box-sizing: border-box;
}

.topbar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ------------------------------------------------------------
   GAUCHE
------------------------------------------------------------ */

.topbar-company {
    display: flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    flex-shrink: 0;
}

.topbar-company strong {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.topbar-dot {
    width: 7px;
    height: 7px;
    background: #ffffff;
    border-radius: 50%;
    display: inline-block;
}

.topbar-separator {
    opacity: 0.55;
    margin: 0 2px;
}

/* ------------------------------------------------------------
   DROITE
------------------------------------------------------------ */

.topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin-left: auto;
    white-space: nowrap;
}

/* ------------------------------------------------------------
   RESEAUX SOCIAUX
------------------------------------------------------------ */

.social-links {
    display: flex;
    align-items: center;
    gap: 7px;
}

.social-title {
    margin-right: 5px;
    font-weight: 500;
}

.social-link {
    width: 27px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.45);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.social-link:hover {
    background: #ffffff;
    color: #1f4e79;
    transform: translateY(-1px);
}

/* ------------------------------------------------------------
   LANGUES
------------------------------------------------------------ */

.languages {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 15px;
    border-left: 1px solid rgba(255,255,255,0.25);
}

.languages a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

.languages a:hover,
.languages a.active {
    opacity: 1;
}

.languages span {
    opacity: 0.45;
}


/* ============================================================
   TABLETTE
============================================================ */

@media (max-width: 900px) {

    .topbar-inner {
        padding: 0 18px;
    }

    .topbar-right {
        gap: 12px;
    }

    .social-title {
        display: none;
    }

}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 650px) {

    .topbar-inner {
        min-height: auto;
        padding: 8px 15px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 7px 15px;
    }

    .topbar-company {
        width: 100%;
        justify-content: center;
        font-size: 11px;
    }

    .topbar-right {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        gap: 15px;
    }

    .social-links {
        gap: 5px;
    }

    .social-link {
        width: 25px;
        height: 25px;
    }

    .languages {
        padding-left: 12px;
    }

}
/* ============================================================
   BLOCS ACCUEIL
============================================================ */

.home-section:last-of-type {
    margin-bottom: 0 !important;
}

.home-section:last-of-type .home-section-box {
    margin-bottom: 0 !important;
}

footer.footer {
    margin-top: 0 !important;
}

/* Premier bloc */
.home-section:first-of-type {
    padding-bottom: 25px;
}

/* Bloc suivant */
.home-section + .home-section {
    padding-top: 25px;
}

/* Cadre intérieur */
.home-section > .container {
    width: 100% !important;
    max-width: 1400px !important;

    margin-left: auto !important;
    margin-right: auto !important;

    padding-left: 30px;
    padding-right: 30px;

    box-sizing: border-box;
}

/* Cadre blanc */
.home-section-box {
    width: 100%;
    box-sizing: border-box;
}


/* =========================================================
   CONTENEUR
========================================================= */

.home-section > .container {
    width: 100%;
    max-width: 1400px;

    margin: 0 auto;

    padding-left: 30px;
    padding-right: 30px;

    box-sizing: border-box;
}


/* =========================================================
   CADRE PRINCIPAL
========================================================= */

.home-section-box {
    width: 100%;

    background: #ffffff;

    border: 1px solid #e2e8f0;
    border-radius: 14px;

    padding: 45px;

    box-sizing: border-box;

    box-shadow: 0 8px 30px rgba(31, 78, 121, 0.08);
}


/* =========================================================
   EN-TETE
========================================================= */

.home-section-header {
    text-align: center;

    max-width: 950px;

    margin: 0 auto 40px;
}

.home-section-label {
    display: inline-block;

    margin-bottom: 12px;
    padding: 6px 14px;

    border-radius: 30px;

    background: #edf4fb;
    color: #1f4e79;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1px;
}

.home-section-header h2 {
    margin: 0;

    color: #1f2937;

    font-size: 30px;
    line-height: 1.3;

    font-weight: 700;
}

.home-section-header p {
    margin: 16px auto 0;

    max-width: 800px;

    color: #64748b;

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   PRODUITS
========================================================= */

.home-products-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

    width: 100%;
}

.home-product-card {
    display: flex;

    align-items: flex-start;

    gap: 16px;

    min-height: 120px;

    padding: 22px;

    background: #ffffff;

    border: 1px solid #e5eaf0;

    border-radius: 10px;

    box-sizing: border-box;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.home-product-card:hover {
    transform: translateY(-4px);

    border-color: #c8d8e8;

    box-shadow:
        0 10px 25px rgba(31, 78, 121, 0.10);
}

.product-number {
    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #1f4e79;
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;
}

.home-product-card h3 {
    margin: 2px 0 8px;

    color: #1f4e79;

    font-size: 17px;
    font-weight: 700;
}

.home-product-card p {
    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.6;
}


.home-section-organization {
    background-color: #f5f7fa !important;
}


/* =========================================================
   UNITES
========================================================= */

.home-units-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 16px;

    width: 100%;
}

.home-unit-card {
    position: relative;

    min-height: 180px;

    padding: 25px 20px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;

    border-radius: 10px;

    box-sizing: border-box;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.home-unit-card:hover {
    transform: translateY(-4px);

    background: #ffffff;

    box-shadow:
        0 10px 25px rgba(31, 78, 121, 0.10);
}

.unit-code {
    display: inline-block;

    margin-bottom: 18px;

    padding: 5px 10px;

    border-radius: 5px;

    background: #1f4e79;
    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.5px;
}

.home-unit-card h3 {
    margin: 0 0 18px;

    color: #1f2937;

    font-size: 16px;

    line-height: 1.45;

    font-weight: 700;
}

.unit-location {
    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 20px;

    padding-top: 12px;

    border-top: 1px solid #e2e8f0;

    color: #64748b;

    font-size: 12px;
}


/* =========================================================
   RESPONSIVE - TABLETTE
========================================================= */

@media (max-width: 1100px) {

    .home-section > .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .home-section-box {
        padding: 35px;
    }

    .home-units-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   RESPONSIVE - PETIT ECRAN
========================================================= */

@media (max-width: 850px) {

    .home-products-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .home-units-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .home-section-header h2 {
        font-size: 26px;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 600px) {

    .home-section {
        padding: 45px 0;
    }

    .home-section > .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .home-section-box {
        padding: 25px 18px;

        border-radius: 10px;
    }

    .home-products-grid {
        grid-template-columns: 1fr;
    }

    .home-units-grid {
        grid-template-columns: 1fr;
    }

    .home-section-header {
        margin-bottom: 30px;
    }

    .home-section-header h2 {
        font-size: 23px;
    }

    .home-section-header p {
        font-size: 14px;
    }

    .home-product-card {
        min-height: auto;
    }

    .home-unit-card {
        min-height: 170px;
    }

}
.home-unit-card {
    text-align: center;
}

.home-unit-card .unit-code,
.home-unit-card h3,
.home-unit-card .unit-location {
    text-align: center;
}
/* ============================================================
   TITRES DES BLOCS + ESPACE ENTRE LES BLOCS
============================================================ */

/* Titres principaux : NOS PRODUITS & SERVICES / NOTRE ORGANISATION */
.home-section-header h2 {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Réduire l'espace entre les deux grands blocs */

.home-section {
    margin-top: 0;
}

.home-section + .home-section {
    margin-top: 0;
}
.home-section {
    padding-top: 35px;
    padding-bottom: 35px;
}

.home-section + .home-section {
    padding-top: 0;
}

/* Garder le texte descriptif correctement espacé */
.home-section-header p {
    margin-bottom: 25px;
}


 /* ============================================================
    ACCUEIL : COLLAGE DU DERNIER CADRE AU FOOTER
 ============================================================ */

body {
    margin: 0 !important;
}

.site {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.home-section-organization {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.home-section-organization > .container {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.home-section-organization .home-section-box {
    margin-bottom: 0 !important;
}

.home-section-organization .home-units-grid {
    margin-bottom: 0 !important;
}

.main-content {
    margin: 0 !important;
    padding: 0 !important;
}

.footer {
    margin-top: 0 !important;
    padding-top: 0 !important;
    }
    
    /* ============================================================
   SUPPRESSION DE L'ESPACE AVANT LE FOOTER
============================================================ */

.home-section-organization {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.home-section-organization .home-section-box {
    margin-bottom: 0 !important;
}

.main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.footer {
    margin-top: 0 !important;
}

/* ============================================================
   REFERENCES - ACCUEIL
============================================================ */

.references-home {
    width: 100%;
    background: #f5f7fa;
    padding: 45px 0 50px 0;
}

.references-home-header {
    text-align: center;
    margin-bottom: 30px;
}

.references-home-header h2 {
    font-size: 32px;
    margin: 10px 0 12px 0;
}

.references-home-header p {
    margin: 0;
}


/* ============================================================
   BLOCS
============================================================ */

.reference-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 25px;
    margin-bottom: 20px;
    box-shadow: 0 6px 22px rgba(31,78,121,.07);
    overflow: hidden;
}

.reference-block-title {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #1f4e79;
    font-size: 19px;
    font-weight: 700;

    margin-bottom: 18px;
}

.reference-icon {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #1f4e79;
    color: #ffffff;

    border-radius: 50%;

    font-size: 15px;
}


/* ============================================================
   DEFILEMENT HORIZONTAL
============================================================ */

.reference-track {
    display: flex;
    gap: 15px;

    overflow-x: auto;

    padding: 5px 3px 12px 3px;

    scrollbar-width: thin;
}

.reference-track::-webkit-scrollbar {
    height: 6px;
}

.reference-track::-webkit-scrollbar-thumb {
    background: #b8c7d9;
    border-radius: 10px;
}


/* ============================================================
   CARTE
============================================================ */

.reference-card {
    flex: 0 0 220px;

    min-height: 85px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 16px;

    background: #f8fafc;

    border: 1px solid #e1e8f0;
    border-radius: 10px;

    box-sizing: border-box;

    transition: all .25s ease;
}

.reference-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 18px rgba(31,78,121,.12);
    border-color: #2c7be2;
}

.reference-card strong {
    color: #1f4e79;
    font-size: 16px;
    margin-bottom: 6px;
}

.reference-card span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}


/* ============================================================
   MOBILE
============================================================ */

@media (max-width: 600px) {

    .references-home {
        padding: 35px 0 40px 0;
    }

    .references-home-header h2 {
        font-size: 26px;
    }

    .reference-block {
        padding: 18px;
    }

    .reference-card {
        flex-basis: 200px;
    }

}

/* =========================================================
   NOS REFERENCES
========================================================= */

.references-home {
    width: 100%;
    background: #f5f7fa;
    padding: 45px 0 50px 0;
}

.references-home-header {
    text-align: center;
    margin-bottom: 30px;
}

.references-home-header h2 {
    font-size: 32px;
    line-height: 1.25;
    margin: 10px 0 12px 0;
}

.references-home-header p {
    margin: 0;
}


/* ---------------------------------------------------------
   BLOC
--------------------------------------------------------- */

.reference-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 22px 25px;
    margin-bottom: 20px;
    box-shadow: 0 6px 22px rgba(31,78,121,.07);
    overflow: hidden;
}

.reference-block-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1f4e79;
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 18px;
}

.reference-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1f4e79;
    color: #ffffff;
    border-radius: 50%;
    font-size: 15px;
}


/* ---------------------------------------------------------
   DEFILEMENT AUTOMATIQUE
--------------------------------------------------------- */

.reference-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.reference-track {
    display: flex;
    width: max-content;
    gap: 15px;
    animation: referencesScroll 35s linear infinite;
}

.reference-track-reverse {
    animation-name: referencesScrollReverse;
    animation-duration: 40s;
}

.reference-track:hover {
    animation-play-state: paused;
}


/* ---------------------------------------------------------
   CARTES
--------------------------------------------------------- */

.reference-card {
    flex: 0 0 220px;
    min-height: 85px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 16px;

    background: #f8fafc;
    border: 1px solid #e1e8f0;
    border-radius: 10px;

    box-sizing: border-box;

    transition: all .25s ease;
}

.reference-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 18px rgba(31,78,121,.12);
    border-color: #2c7be2;
}

.reference-card strong {
    color: #1f4e79;
    font-size: 16px;
    margin-bottom: 6px;
}

.reference-card span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}


/* ---------------------------------------------------------
   REFERENCES CLIENTS
--------------------------------------------------------- */

.reference-clients-track {
    animation-duration: 32s;
}

.reference-client-card {
    flex: 0 0 240px;
    min-height: 105px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 18px;

    background: #ffffff;
    border: 1px solid #dbe4ee;
    border-radius: 12px;

    text-align: center;
    box-sizing: border-box;

    transition: all .25s ease;
}

.reference-client-card:hover {
    transform: translateY(-4px);
    border-color: #2c7be2;
    box-shadow: 0 8px 20px rgba(31,78,121,.12);
}

.reference-client-name {
    color: #1f4e79;
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 8px;
}

.reference-client-card span {
    color: #64748b;
    font-size: 13px;
}


/* ---------------------------------------------------------
   ANIMATIONS
--------------------------------------------------------- */

@keyframes referencesScroll {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

}

@keyframes referencesScrollReverse {

    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }

}


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 600px) {

    .references-home {
        padding: 35px 0 40px 0;
    }

    .references-home-header h2 {
        font-size: 26px;
    }

    .reference-block {
        padding: 18px;
    }

    .reference-card {
        flex-basis: 200px;
    }

    .reference-client-card {
        flex-basis: 210px;
    }

}

/* =========================================================
   REFERENCES CLIENTS / PROJETS
========================================================= */

.reference-clients-track {
    animation-duration: 38s;
}

.reference-client-card {
    flex: 0 0 240px;
    min-height: 145px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: #ffffff;
    border: 1px solid #dbe4ee;
    border-radius: 12px;

    text-align: center;
    box-sizing: border-box;

    transition: all .25s ease;
}

.reference-client-card:hover {
    transform: translateY(-5px);
    border-color: #2c7be2;
    box-shadow: 0 8px 20px rgba(31,78,121,.14);
}


/* ICONE */

.reference-client-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 10px;

    background: #f1f5f9;
    border: 1px solid #dbe4ee;
    border-radius: 50%;

    font-size: 25px;
}


/* NOM */

.reference-client-name {
    color: #1f4e79;
    font-size: 18px;
    font-weight: 800;

    margin-bottom: 7px;
}


/* DESCRIPTION */

.reference-client-card span {
    color: #64748b;
    font-size: 12px;
    line-height: 1.4;
}


/* MOBILE */

@media (max-width: 600px) {

    .reference-client-card {
        flex-basis: 210px;
        min-height: 140px;
    }

}


/* ============================================================
   SUPPRIMER L'ESPACE ENTRE LE DERNIER BLOC ET LE FOOTER
============================================================ */

.home-section-organization {
    margin-bottom: 0 !important;
    padding-bottom: 35px !important;
}

.home-section-organization .home-section-box {
    margin-bottom: 0 !important;
}

.main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 0 !important;
}

.footer {
    margin-top: 0 !important;
}

/* =========================================================
   SUPPRESSION DE L'ESPACE BLANC DANS LE FOOTER
========================================================= */

.footer {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.footer-grid {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


.cotest {
    color: #1f4e79;
    padding: 8px 10px;
}