/* ================================================================
   MATADI TRADING & COMPANY — Site Web
   CSS Principal — Mobile-First, Responsive
   Palette logo : Vert forêt #1B5E28 | Bleu royal #1A52A0 | Vert vif #2E9B3A
   Développé par BELEJ-CONSULTING
================================================================ */

/* ── 1. RESET & VARIABLES ─────────────────────────────────────── */
:root {
    /* ─── Vert forêt (swooshes extérieurs du logo) ─── */
    --green:        #1B5E28;
    --green-dark:   #123D1A;
    --green-mid:    #1F6E30;
    --green-light:  #2E9B3A;

    /* ─── Bleu royal (globe central du logo) ─── */
    --blue:         #1A52A0;
    --blue-light:   #2463B8;
    --blue-dark:    #143E7A;
    --blue-pale:    #E8F0FB;

    /* ─── Aliases sémantiques (compatibilité avec le reste du code) ─── */
    --navy:         var(--green);
    --navy-dark:    var(--green-dark);
    --navy-mid:     var(--green-mid);
    --gold:         var(--blue);
    --gold-light:   var(--blue-light);
    --gold-dark:    var(--blue-dark);

    /* ─── Neutres ─── */
    --white-off:    #F4FAF5;
    --white:        #ffffff;
    --gray-50:      #F0F7F1;
    --gray-100:     #E4F0E6;
    --gray-200:     #C8DFCb;
    --gray-400:     #7A9E7D;
    --gray-600:     #4D6B50;
    --gray-800:     #1C2C1E;
    --text-body:    #18271A;
    --text-muted:   #4D6B50;

    /* ─── Feedback ─── */
    --error:        #C0392B;
    --success:      #27AE60;

    /* ─── Typographie ─── */
    --font-sans:    'Montserrat', system-ui, -apple-system, sans-serif;
    --font-serif:   'Playfair Display', Georgia, serif;

    /* ─── Géométrie ─── */
    --radius-sm:    4px;
    --radius:       10px;
    --radius-lg:    18px;
    --radius-xl:    28px;
    --radius-pill:  100px;

    /* ─── Ombres ─── */
    --shadow-xs:    0 1px 3px rgba(0,0,0,.07);
    --shadow-sm:    0 2px 8px rgba(0,0,0,.09);
    --shadow:       0 4px 20px rgba(0,0,0,.11);
    --shadow-md:    0 8px 32px rgba(0,0,0,.15);
    --shadow-lg:    0 20px 60px rgba(0,0,0,.20);
    --shadow-blue:  0 8px 28px rgba(26,82,160,.35);
    --shadow-green: 0 8px 28px rgba(27,94,40,.30);

    /* ─── Animation ─── */
    --ease:         cubic-bezier(.4,0,.2,1);
    --transition:   0.26s var(--ease);
    --transition-slow: 0.45s var(--ease);

    /* ─── Layout ─── */
    --header-h:     72px;
    --container:    1160px;
    --gap:          clamp(16px, 4vw, 32px);
}

/* ── 2. BASE RESET ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
    font-family: var(--font-sans);
    color: var(--text-body);
    background: var(--white-off);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
address  { font-style: normal; }
ul       { list-style: none; }
button   { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

a {
    color: var(--blue);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--blue-light); }

/* Scrollbar */
::-webkit-scrollbar       { width: 7px; }
::-webkit-scrollbar-track { background: var(--green-dark); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 4px; }

/* ── 3. UTILITIES ─────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gap);
}

.section { padding-block: clamp(64px, 10vw, 108px); }

/* ── 4. BOUTONS ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 32px;
    border: 2px solid transparent;
    border-radius: var(--radius-pill);
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
}

/* Bouton principal : bleu royal, texte BLANC */
.btn-gold {
    background: var(--blue);
    color: var(--white);           /* ← BLANC — critique */
    border-color: var(--blue);
    box-shadow: var(--shadow-blue);
}
.btn-gold:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(26,82,160,.45);
}
.btn-gold:active { transform: translateY(-1px); }

/* Bouton contour blanc (hero) */
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.65);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,.15);
    border-color: var(--white);
    color: var(--white);
    transform: translateY(-3px);
}

/* Bouton contour vert (sections claires) */
.btn-outline-green {
    background: transparent;
    color: var(--green);
    border-color: var(--green);
}
.btn-outline-green:hover {
    background: var(--green);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-green);
}

.btn-full { width: 100%; }
.btn-sm   { padding: 10px 22px; font-size: 0.8rem; }

/* ── 5. HEADER ────────────────────────────────────────────────── */
.header {
    position: fixed;
    inset-block-start: 0;
    inset-inline: 0;
    z-index: 900;
    height: var(--header-h);
    transition: background var(--transition), box-shadow var(--transition);
    background: transparent;
}

.header--scrolled {
    background: var(--green-dark);
    box-shadow: 0 2px 0 rgba(26,82,160,.4), 0 4px 24px rgba(0,0,0,.3);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 16px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--white);
    padding: 3px;
    box-shadow: 0 0 0 1px rgba(255,255,255,.2);
}
.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    gap: 1px;
}
.logo-main {
    font-weight: 800;
    font-size: 1rem;
    color: var(--white);
    letter-spacing: .06em;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.logo-sub {
    font-weight: 500;
    font-size: 0.68rem;
    color: rgba(255,255,255,.75);
    letter-spacing: .14em;
    text-transform: uppercase;
}

/* Nav links */
.nav-links {
    display: none;
    list-style: none;
    gap: 2px;
    align-items: center;
}

.nav-link {
    display: inline-block;
    padding: 9px 15px;
    color: rgba(255,255,255,.85);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all var(--transition);
    text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,.12);
}

/* CTA nav : fond bleu, texte BLANC */
.nav-cta {
    background: var(--blue);
    color: var(--white) !important;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-blue);
}
.nav-cta:hover {
    background: var(--blue-dark) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(26,82,160,.5);
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius);
    padding: 8px;
    transition: background var(--transition);
}
.hamburger:hover { background: rgba(255,255,255,.2); }

.ham-bar {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.hamburger.open .ham-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .ham-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .ham-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 6. HERO ──────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-h);
    clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
    margin-bottom: -3vw;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #123D1A; /* fallback pendant le chargement */
    /* Photo de port/conteneurs — remplacer l'URL par votre propre image si besoin */
    background-image: url('https://images.unsplash.com/photo-1494412574643-ff11b0a5c1c3?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center 60%;
    background-repeat: no-repeat;
}

/* Overlay vert foncé + dégradé sur la photo pour lisibilité du texte */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(160deg,
            rgba(12, 41, 18, .88)   0%,
            rgba(18, 61, 26, .82)   35%,
            rgba(27, 94, 40, .75)   65%,
            rgba(26, 82, 160, .25)  100%);
}

/* Grille géométrique discrète */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-block: 48px 80px;
    width: 100%;
}

/* Badge — fond blanc translucide, texte blanc */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.30);
    backdrop-filter: blur(6px);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 9px 20px;
    border-radius: var(--radius-pill);
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green-light);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(46,155,58,.3);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 3px rgba(46,155,58,.3); }
    50%       { opacity: .8; transform: scale(1.2); box-shadow: 0 0 0 6px rgba(46,155,58,.15); }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 6.5vw, 4.4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.hero-title .text-gold {
    color: #7EC8F0; /* bleu ciel clair — lisible sur vert foncé */
    font-style: italic;
}

.hero-break-mobile { display: none; }

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.18rem);
    color: rgba(255,255,255,.80);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.75;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 56px;
}

/* Stats — fond blanc translucide fort, chiffres BLANCS */
.hero-stats {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.20);
    border-radius: var(--radius-xl);
    padding: 24px 40px;
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 28px;
}

.stat-number {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 800;
    color: var(--white);          /* ← BLANC — lisible sur vert */
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.stat-plus {
    font-size: 0.65em;
    vertical-align: super;
    color: var(--green-light);
}
.stat-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,.65);
    letter-spacing: .07em;
    text-transform: uppercase;
    margin-top: 5px;
    font-weight: 500;
}
.stat-sep {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,.20);
    flex-shrink: 0;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.45);
    font-size: 0.65rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color var(--transition);
}
.hero-scroll:hover { color: rgba(255,255,255,.8); }

.scroll-label { font-weight: 600; }

.scroll-arrow {
    width: 18px;
    height: 18px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    animation: bounce-arrow 1.8s ease-in-out infinite;
}
@keyframes bounce-arrow {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50%       { transform: rotate(45deg) translateY(6px); }
}

/* ── 7. BANDEAU EXPERTISE ─────────────────────────────────────── */
.partners-bar {
    background: linear-gradient(90deg, var(--green-dark) 0%, #183f20 50%, var(--green-dark) 100%);
    border-top: 3px solid var(--blue);
    border-bottom: 1px solid rgba(255,255,255,.08);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.partners-list {
    display: flex;
    align-items: center;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
}
.partners-list::-webkit-scrollbar { display: none; }

.partner-item {
    color: rgba(255,255,255,.72);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 16px 22px;
    white-space: nowrap;
    transition: color var(--transition);
    border-right: 1px solid rgba(255,255,255,.08);
}
.partner-item:hover { color: var(--white); }
.partner-item:last-child { border-right: none; }

.partner-sep { display: none; } /* remplacé par border-right */

/* ── 8. SECTION HEADERS ───────────────────────────────────────── */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto clamp(48px, 7vw, 72px);
}

/* Tag : fond bleu + texte blanc — bien visible */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--blue);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    box-shadow: var(--shadow-blue);
}
.section-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,.7);
    border-radius: 50%;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    color: var(--green);
    line-height: 1.15;
    margin-bottom: 8px;
    font-weight: 700;
}

/* Trait décoratif sous le titre */
.section-header .section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--green-light));
    border-radius: 2px;
    margin: 14px auto 0;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-top: 10px;
}
.section-subtitle strong { color: var(--blue); }

/* Titre aligné gauche (about) */
.about-content .section-title { text-align: left; }
.about-content .section-title::after { margin-inline-start: 0; }

/* ── 9. SERVICES ──────────────────────────────────────────────── */
.services-section { background: var(--gray-50); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-left: 4px solid transparent;
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--blue);
}

/* Featured */
.service-card--featured {
    background: linear-gradient(145deg, var(--green) 0%, var(--green-dark) 100%);
    border: 2px solid rgba(26,82,160,.5);
    border-left: 4px solid var(--blue);
    color: var(--white);
}
.service-card--featured:hover { border-left-color: var(--blue-light); }

.service-card--featured .service-title { color: var(--white); }
.service-card--featured .service-desc  { color: rgba(255,255,255,.80); }
.service-card--featured .service-features li { color: rgba(255,255,255,.78); }
.service-card--featured .service-features li::before { background: var(--green-light); }

/* Badge "Expertise clé" — fond bleu + texte BLANC */
.service-badge-featured {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--blue);
    color: var(--white);           /* ← BLANC — critique */
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-blue);
}

/* Icône */
.service-icon-wrap {
    width: 62px;
    height: 62px;
    margin-bottom: 22px;
    background: var(--blue-pale);
    border-radius: var(--radius);
    padding: 12px;
    transition: background var(--transition), transform var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-card:hover .service-icon-wrap {
    background: rgba(26,82,160,.15);
    transform: scale(1.08);
}
.service-card--featured .service-icon-wrap {
    background: rgba(255,255,255,.12);
}
.service-card--featured:hover .service-icon-wrap {
    background: rgba(255,255,255,.2);
}

.service-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 10px;
    line-height: 1.3;
}
.service-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.68;
}
.service-features {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}
.service-card--featured .service-features { border-top-color: rgba(255,255,255,.15); }

.service-features li {
    font-size: 0.82rem;
    color: var(--gray-600);
    display: flex;
    align-items: flex-start;
    gap: 9px;
    line-height: 1.45;
}
.service-features li::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    min-width: 7px;
    border-radius: 50%;
    background: var(--blue);
    margin-top: 4px;
}

.services-cta {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    box-shadow: var(--shadow-green);
}
.services-cta p {
    font-size: 1.1rem;
    color: rgba(255,255,255,.88);
    font-weight: 500;
}

/* ── 10. À PROPOS ─────────────────────────────────────────────── */
.about-section {
    background: var(--white);
    overflow: hidden; /* empêche tout débordement horizontal */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(32px, 6vw, 72px);
    align-items: start;
}

/* Empêche les enfants de déborder leur cellule de grille */
.about-content,
.about-visual {
    min-width: 0;
    width: 100%;
}

.section-tag-left {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--blue);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 7px 18px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    box-shadow: var(--shadow-blue);
}

.about-text {
    font-size: 1rem;
    color: var(--gray-800);
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-text strong { color: var(--green); }

/* Tags zones */
.expertise-zones { margin: 32px 0; }

.expertise-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ztag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.76rem;
    font-weight: 600;
    background: var(--gray-50);
    color: var(--green);
    border: 1.5px solid var(--gray-200);
    letter-spacing: .03em;
    transition: all var(--transition);
}
.ztag:hover {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-green);
}

.ztag--gold {
    background: var(--blue-pale);
    border-color: rgba(26,82,160,.3);
    color: var(--blue-dark);
}
.ztag--gold:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

/* Valeurs */
.values-grid {
    display: grid;
    grid-template-columns: 1fr;   /* 1 colonne mobile-first */
    gap: 12px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1.5px solid var(--gray-100);
    transition: all var(--transition);
}
.value-item:hover {
    border-color: var(--blue);
    background: var(--blue-pale);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.value-check {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 900;
    box-shadow: var(--shadow-blue);
}
.value-body h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 2px;
}
.value-body p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Visual carte */
.about-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    width: 100%;
}

.map-illustration {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    width: 100%;
}
.map-illustration svg {
    width: 100%;
    height: auto;
    display: block;
}
.map-caption {
    text-align: center;
    font-size: 0.7rem;
    color: var(--white);
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 11px 10px;
    background: var(--green);
}

.certif-list {
    display: grid;
    grid-template-columns: 1fr;   /* 1 colonne sur mobile */
    gap: 10px;
    width: 100%;
}
.certif-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1.5px solid var(--gray-100);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green);
    transition: all var(--transition);
}
.certif-item:hover {
    border-color: var(--green);
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.certif-icon { font-size: 1.15rem; }

/* ── 11. DEMANDE DE DEVIS ─────────────────────────────────────── */
.devis-section {
    background: linear-gradient(170deg, var(--green-dark) 0%, #173d1f 100%);
    position: relative;
    overflow: hidden;
}

/* Ornement géométrique */
.devis-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    border: 60px solid rgba(26,82,160,.07);
    border-radius: 50%;
    pointer-events: none;
}
.devis-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 300px;
    height: 300px;
    border: 40px solid rgba(255,255,255,.04);
    border-radius: 50%;
    pointer-events: none;
}

.devis-section .section-tag   { background: var(--blue); color: var(--white); box-shadow: var(--shadow-blue); }
.devis-section .section-title { color: var(--white); }
.devis-section .section-title::after { background: linear-gradient(90deg, var(--blue), var(--green-light)); }
.devis-section .section-subtitle { color: rgba(255,255,255,.70); }

.devis-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 56px);
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Aside */
.devis-aside {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-top: 3px solid var(--blue);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    backdrop-filter: blur(8px);
}
.devis-aside h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.aside-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.aside-item:last-of-type { border-bottom: none; }

.aside-icon {
    font-size: 1.4rem;
    line-height: 1;
    min-width: 30px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}
.aside-item strong {
    display: block;
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 3px;
}
.aside-item p {
    font-size: 0.8rem;
    color: rgba(255,255,255,.60);
    line-height: 1.5;
}

.demo-notice {
    margin-top: 26px;
    padding: 18px;
    background: rgba(26,82,160,.15);
    border: 1px solid rgba(26,82,160,.4);
    border-radius: var(--radius);
    font-size: 0.82rem;
    color: rgba(255,255,255,.75);
    line-height: 1.6;
}
.demo-notice strong {
    display: block;
    color: #7EC8F0;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

/* Formulaire */
.devis-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: clamp(28px, 5vw, 48px);
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--blue);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.form-group:last-child { margin-bottom: 0; }

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--green);
    letter-spacing: .03em;
    text-transform: uppercase;
}
.required { color: var(--blue); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.93rem;
    color: var(--text-body);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    line-height: 1.5;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(26,82,160,.10);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B5E28' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-group input.input-error,
.form-group select.input-error,
.form-group textarea.input-error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(192,57,43,.10);
}
.form-group input.input-valid,
.form-group select.input-valid,
.form-group textarea.input-valid {
    border-color: var(--success);
}

.form-error {
    font-size: 0.78rem;
    color: var(--error);
    display: none;
}
.form-error:not(:empty) { display: flex; gap: 4px; align-items: center; }

/* Checkbox */
.form-check-group { margin-bottom: 20px; }

.check-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.83rem !important;
    color: var(--text-muted) !important;
    font-weight: 400 !important;
    line-height: 1.6;
}
.check-label input[type="checkbox"] {
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--blue);
    cursor: pointer;
    margin-top: 2px;
}

.spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 12. CONTACT ──────────────────────────────────────────────── */
.contact-section { background: var(--gray-50); }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 48px);
    align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-card-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--white);
    border: 1.5px solid var(--gray-100);
    border-left: 4px solid var(--green);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    transition: all var(--transition);
}
.contact-card-item:hover {
    border-left-color: var(--blue);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.ccontact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--gray-50);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px;
    border: 1.5px solid var(--gray-100);
}

.contact-card-item h4 {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.contact-card-item a {
    color: var(--green);
    font-size: 0.93rem;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}
.contact-card-item a:hover { color: var(--blue); }
.contact-card-item p { font-size: 0.9rem; color: var(--gray-800); line-height: 1.55; }
.contact-note { font-size: 0.75rem !important; color: var(--text-muted) !important; margin-top: 4px; }

.contact-map-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1.5px solid var(--gray-200);
    position: relative;
}
.contact-map-wrap iframe {
    display: block;
    width: 100%;
    height: 380px;
}
.map-pin-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--green-dark);
    color: rgba(255,255,255,.85);
    text-align: center;
    padding: 12px 16px;
    font-size: 0.8rem;
    border-top: 3px solid var(--blue);
}
.map-pin-label strong { color: #7EC8F0; }

/* ── 13. FOOTER ───────────────────────────────────────────────── */
.footer {
    background: var(--green-dark);
    color: rgba(255,255,255,.7);
    border-top: 4px solid var(--blue);
}

.footer-top { padding-block: clamp(48px, 7vw, 80px); }

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}

.footer-brand { max-width: 300px; }

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    line-height: 1.1;
}
.footer-logo-main {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: .06em;
    text-transform: uppercase;
}
.footer-logo-sub {
    font-size: 0.68rem;
    font-weight: 500;
    color: rgba(255,255,255,.55);
    letter-spacing: .16em;
    text-transform: uppercase;
}

.footer-tagline {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(255,255,255,.55);
    margin-bottom: 22px;
}

.footer-social { display: flex; gap: 8px; }

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.65);
    transition: all var(--transition);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.1);
}
.social-btn:hover {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-blue);
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,.90);
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.footer-col ul { display: flex; flex-direction: column; gap: 8px; }

.footer-col ul li,
.footer-col ul a {
    font-size: 0.85rem;
    color: rgba(255,255,255,.55);
    transition: color var(--transition);
    text-decoration: none;
    line-height: 1.5;
}
.footer-col ul a:hover { color: var(--white); }

.footer-cta-btn { display: inline-flex; margin-top: 20px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px 0;
}
.footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(255,255,255,.40);
}
.footer-copy strong { color: rgba(255,255,255,.60); }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,.30);
}
.footer-links a,
.footer-link-btn {
    color: rgba(255,255,255,.40);
    text-decoration: none;
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    transition: color var(--transition);
    padding: 0;
}
.footer-links a:hover,
.footer-link-btn:hover { color: var(--white); }

/* ── 14. MODAL ────────────────────────────────────────────────── */
.modal[hidden] { display: none !important; }

.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 1000;
    padding: 16px;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12,41,18,.88);
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.modal-box {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 720px;
    max-height: 90svh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: modal-in .25s var(--ease);
}
@keyframes modal-in {
    from { opacity: 0; transform: translateY(24px) scale(.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 30px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    flex-shrink: 0;
    border-bottom: 3px solid var(--blue);
}
.modal-header h2 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--white);
}
.modal-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.2);
    color: var(--white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition);
    line-height: 1;
}
.modal-close-btn:hover { background: rgba(255,255,255,.30); }

.modal-body {
    padding: 30px;
    overflow-y: auto;
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.72;
}
.modal-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--green);
    margin: 22px 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal-body h3::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 3px;
    background: var(--blue);
    border-radius: 2px;
}
.modal-body h3:first-child { margin-top: 0; }
.modal-body p  { margin-bottom: 8px; color: var(--gray-800); }
.modal-body a  { color: var(--blue); }
.modal-body a:hover { color: var(--blue-dark); }

/* ── 15. TOAST ────────────────────────────────────────────────── */
.toast-notif {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: var(--green-dark);
    color: var(--white);
    padding: 16px 28px;
    border-radius: var(--radius-lg);
    font-size: 0.88rem;
    font-weight: 500;
    max-width: min(90vw, 520px);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,.14);
    border-top: 3px solid var(--blue);
    z-index: 2000;
    opacity: 0;
    transition: all .4s var(--ease);
    pointer-events: none;
}
.toast-notif.toast--show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.toast-notif.toast--success { border-top-color: var(--success); }
.toast-notif.toast--error   { border-top-color: var(--error); }

/* ── 16. ANIMATIONS SCROLL ────────────────────────────────────── */
[data-aos] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-aos].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── 16b. RESPONSIVE — PETIT ÉCRAN (≥ 480px) ─────────────────── */
@media (min-width: 480px) {
    .certif-list  { grid-template-columns: 1fr 1fr; }
    .values-grid  { grid-template-columns: 1fr 1fr; }
}

/* ── 17. RESPONSIVE — TABLETTE ────────────────────────────────── */
@media (min-width: 640px) {
    .form-row { grid-template-columns: 1fr 1fr; }
    .contact-map-wrap iframe { height: 430px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── 18. RESPONSIVE — DESKTOP ─────────────────────────────────── */
@media (min-width: 900px) {
    .hamburger  { display: none; }
    .nav-links  { display: flex; }

    .hero-break-mobile { display: inline; }

    .about-grid     { grid-template-columns: 1.25fr 0.75fr; }
    .devis-layout   { grid-template-columns: 320px 1fr; }
    .contact-layout { grid-template-columns: 1fr 1.4fr; }

    .footer-grid {
        grid-template-columns: 1.3fr 1fr 1fr 1fr;
        gap: 28px;
    }
    .footer-bottom .container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ── 19. MENU MOBILE ──────────────────────────────────────────── */
@media (max-width: 899px) {
    .nav-links {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--green-dark);
        border-bottom: 3px solid var(--blue);
        padding: 16px;
        flex-direction: column;
        gap: 4px;
        transform: translateY(-110%);
        opacity: 0;
        transition: transform .3s var(--ease), opacity .3s var(--ease);
        pointer-events: none;
        z-index: 850;
        box-shadow: var(--shadow-md);
    }
    .nav-links.nav-open {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-link {
        text-align: left;
        width: 100%;
        padding: 13px 18px;
        font-size: 0.9rem;
        border-radius: var(--radius);
    }
    .nav-cta {
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }
}

/* ── 20. PRINT ────────────────────────────────────────────────── */
@media print {
    .header, .hero-scroll, .devis-section,
    .modal, .toast-notif, .partners-bar { display: none !important; }
    body { background: white; color: black; }
    section { page-break-inside: avoid; }
}

/* ── 21. ACCESSIBILITÉ ────────────────────────────────────────── */
:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
    border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
    [data-aos] { opacity: 1; transform: none; }
}
