/* ==========================================================================
   AFIM Consulting — Premium Corporate Stylesheet
   Optimized for Desktop, Tablet & Mobile (Netlify-ready)
   ========================================================================== */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* ===== Identité — Soft Blue Corporate (clair, premium, respirant) ===== */
    --navy: #173A66;          /* Bleu profond — titres, footer, accents foncés (usage modéré) */
    --deep-blue: #102A4C;     /* Bleu nuit doux — fin des dégradés, footer */
    --blue-gray: #2F6DB3;     /* Bleu secondaire — hover, dégradés d'icônes */
    --accent: #1E4E8C;        /* Bleu principal — boutons, liens, éléments actifs */
    --accent-light: #6FA8DC;  /* Bleu clair discret — accents / icônes sur fond foncé */
    --accent-dark: #173A66;   /* Bleu profond — texte/icônes d'accent sur fond clair */
    --accent-bg: #EAF2FB;     /* Bleu très clair — fonds d'icônes, tags, hovers doux */

    /* ===== Sable doré — accent premium, usage très rare ===== */
    --gold: #C8A45D;
    --gold-light: #E0C37A;

    /* ===== Neutres (le site doit rester clair à 70–80%) ===== */
    --white: #FFFFFF;
    --page-bg: #FFFFFF;
    --light-grey: #F7F9FC;        /* Fond très clair */
    --light-grey-alt: #EEF2F6;    /* Gris section alternatif */
    --grey-border: #DCE5F0;       /* Bordures légères */
    --text-dark: #1F2937;         /* Texte principal */
    --text-muted: #5B6676;        /* Texte secondaire */

    --whatsapp: #25D366;
    --whatsapp-dark: #1ebd5a;

    --shadow-sm: 0 2px 10px rgba(30, 78, 140, 0.06);
    --shadow-md: 0 12px 30px rgba(30, 78, 140, 0.10);
    --shadow-lg: 0 24px 56px rgba(23, 58, 102, 0.14);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all 0.22s ease;
    --container: 1240px;
    --header-h: 78px;
    --header-h-mobile: 68px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: 'Inter', 'Open Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-dark);
    background: var(--page-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy);
    letter-spacing: -0.01em;
}

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

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    background: var(--navy);
    color: var(--accent-light);
    padding: 10px 16px;
    border-radius: 0 0 8px 0;
    font-weight: 600;
}
.skip-link:focus {
    left: 0;
    outline: 3px solid var(--accent);
}

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px; /* net, corporate — pas trop arrondi */
    font-weight: 600;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    line-height: 1.2;
    min-height: 48px; /* touch target */
    text-decoration: none;
}

.btn i { font-size: 16px; flex-shrink: 0; }

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(30, 78, 140, 0.30);
}
.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--blue-gray);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(30, 78, 140, 0.26);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
    background: var(--whatsapp-dark);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-outline:hover,
.btn-outline:focus-visible {
    background: var(--navy);
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover,
.btn-outline-light:focus-visible {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
}

.btn-block { width: 100%; }

.btn-cta-header {
    padding: 11px 22px;
    font-size: 14px;
    min-height: 44px;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
    box-shadow: 0 2px 12px rgba(30, 78, 140, 0.07);
    transition: var(--transition);
    width: 100%;
}

.site-header.scrolled {
    box-shadow: 0 4px 18px rgba(30, 78, 140, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--navy);
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.logo-mark {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    box-shadow: 0 4px 12px rgba(30, 78, 140, 0.18);
    transition: box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.logo-mark-svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Subtle, restrained hover — slight lift + softer shadow */
.logo:hover {
    transform: translateY(-1px);
}

.logo:hover .logo-mark {
    box-shadow: 0 7px 18px rgba(30, 78, 140, 0.24);
}

.logo-accent {
    color: var(--accent);
    font-weight: 600;
}

/* Footer sits on dark green — keep the wordmark accent legible */
.footer-logo .logo-accent {
    color: var(--accent-light);
}

.logo-text {
    line-height: 1.05;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    display: inline-block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: 6px;
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover { color: var(--navy); }
.nav-link:hover::after,
.nav-link.active::after {
    width: 22px;
}
.nav-link.active {
    color: var(--navy);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.mobile-whatsapp {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.mobile-whatsapp:hover { background: var(--whatsapp-dark); transform: scale(1.05); }

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 8px;
    flex-shrink: 0;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: 0 14px 30px rgba(30, 78, 140, 0.10);
    border-top: 1px solid var(--grey-border);
    z-index: 999;
}

.mobile-menu.active {
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu ul {
    padding: 12px 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-link {
    display: block;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: 8px;
    border-bottom: 1px solid var(--grey-border);
    min-height: 48px;
    display: flex;
    align-items: center;
}

.mobile-link:hover, .mobile-link.active {
    background: var(--light-grey);
    color: var(--navy);
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
    border-bottom: none !important;
}

.mobile-cta { width: 100%; }

.menu-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(30, 78, 140, 0.50);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}
.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: calc(var(--header-h) + 40px) 0 80px;
    color: var(--text-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(30, 78, 140, 0.88) 0%, rgba(23, 58, 102, 0.82) 100%),
        url('assets/images/hero.jpg') center/cover no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(30, 78, 140, 0.10), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(30, 78, 140, 0.35), transparent 50%);
    z-index: 2;
}

.hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content {
    max-width: 820px;
    animation: fadeInUp 1s ease;
}

.hero-tag {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(30, 78, 140, 0.12);
    border: 1px solid rgba(30, 78, 140, 0.30);
    color: var(--accent-light);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4.6rem);
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.05rem, 2.4vw, 1.6rem);
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 22px;
    line-height: 1.3;
}

.hero-description {
    font-size: clamp(0.96rem, 1.4vw, 1.12rem);
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 36px;
    max-width: 680px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    list-style: none;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 500;
}

.trust-item i {
    color: var(--accent-light);
    font-size: 18px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(30, 78, 140, 0.35);
    border-radius: 14px;
    z-index: 3;
}
.hero-scroll span {
    display: block;
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    margin: 6px auto;
    animation: scrollDown 2s ease infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(14px); opacity: 0; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== TRUST BADGES ===== */
.trust-badges {
    background: var(--light-grey);
    padding: 60px 0;
    border-bottom: 1px solid var(--grey-border);
}

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

.badge-card {
    background: #fff;
    padding: 32px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--grey-border);
    border-top: 3px solid transparent;
}

.badge-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--grey-border);
    border-top-color: var(--accent);
}

.badge-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--accent-bg);
    color: var(--accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.badge-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
}

/* Clickable badge cards (services) */
.badge-card { display: block; }
.badge-card .badge-icon { transition: var(--transition); }
.badge-card:hover .badge-icon { transform: scale(1.06); }
.badge-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 12.5px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: var(--accent-dark);
    opacity: 0;
    transform: translateY(4px);
    transition: var(--transition);
}
.badge-link i { font-size: 11px; transition: transform 0.3s ease; }
.badge-card:hover .badge-link,
.badge-card:focus-visible .badge-link {
    opacity: 1;
    transform: translateY(0);
}
.badge-card:hover .badge-link i { transform: translateX(3px); }
@media (max-width: 720px) {
    /* Keep the cue visible on touch devices where hover is unavailable */
    .badge-link { opacity: 1; transform: none; }
}

/* ===== SECTIONS COMMON ===== */
section { padding: 100px 0; }

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 16px;
    background: var(--accent-bg);
    color: var(--accent-dark);
    border: 1px solid rgba(30, 78, 140, 0.16);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
/* Discreet gold dot — premium détail, usage léger */
.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.section-tag.light {
    background: rgba(111, 168, 220, 0.12);
    border-color: rgba(111, 168, 220, 0.28);
    color: var(--accent-light);
}

.section-title {
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    margin-bottom: 18px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-title.light { color: #fff; }

.section-divider {
    width: 64px;
    height: 3px;
    border-radius: 2px;
    margin: 18px 0;
    /* Filet bicolore : petite amorce or sable + teal corporate */
    background: linear-gradient(90deg, var(--gold) 0 18px, var(--accent) 18px);
}
.section-divider.center { margin: 18px auto; }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.section-subtitle.light { color: rgba(255, 255, 255, 0.85); }

.section-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ===== ABOUT ===== */
.about { background: #fff; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    /* Liseré net + ombre douce : bords définis et rendu cohérent sur toutes les images */
    box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(23, 58, 102, 0.08);
    z-index: 2;
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 5;
    transition: transform 0.6s ease;
}
.image-frame:hover img { transform: scale(1.05); }

.image-deco {
    position: absolute;
    top: 30px;
    left: 30px;
    right: -20px;
    bottom: -20px;
    border: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    z-index: 1;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.value-card {
    background: var(--light-grey);
    padding: 22px 14px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}
.value-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.value-card i {
    color: var(--accent);
    font-size: 26px;
    margin-bottom: 10px;
}
.value-card h4 {
    font-size: 14px;
    color: var(--navy);
}

/* ===== SERVICES ===== */
.services { background: var(--light-grey); }

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

.service-card {
    background: #fff;
    padding: 34px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--grey-border);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.5s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 78, 140, 0.35);
}
.service-card:hover::before { width: 100%; }

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-bg);
    color: var(--accent);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: #fff;
}

.service-card h3 {
    font-size: 17px;
    margin-bottom: 12px;
    color: var(--navy);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== EXPORT SECTION ===== */
.export-section {
    /* Ambiance claire et lumineuse (blanc -> bleu très clair) */
    background: linear-gradient(180deg, var(--white) 0%, var(--accent-bg) 100%);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--grey-border);
    border-bottom: 1px solid var(--grey-border);
}
/* En-tête de section recolorée pour fond clair */
.export-section .section-tag.light {
    background: var(--accent-bg);
    border-color: rgba(30, 78, 140, 0.16);
    color: var(--accent-dark);
}
.export-section .section-title.light { color: var(--navy); }
.export-section .section-subtitle.light { color: var(--text-muted); }

.export-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(111, 168, 220, 0.18), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* Trame réseau / cartographie discrète — rendu international, léger (pur CSS) */
.export-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(30, 78, 140, 0.06) 1px, transparent 1.4px);
    background-size: 28px 28px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.export-section .container { position: relative; z-index: 2; }

.markets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.market-card {
    background: #fff;
    border: 1px solid var(--grey-border);
    padding: 38px 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.market-card:hover {
    border-color: rgba(30, 78, 140, 0.35);
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.market-flag {
    width: 72px;
    height: 72px;
    background: var(--accent-bg);
    color: var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 22px;
}

.market-flag .market-icon {
    width: 40px;
    height: 40px;
    display: block;
}

.market-card h3 {
    color: var(--navy);
    font-size: 22px;
    margin-bottom: 12px;
}

.market-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.export-points {
    background: #fff;
    border: 1px solid var(--grey-border);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    padding: 36px;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 28px;
    list-style: none;
}

.check-list.two-cols {
    grid-template-columns: repeat(2, 1fr);
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-dark);
}

.check-list i {
    color: var(--accent);
    font-size: 18px;
    flex-shrink: 0;
}

.transport-negoce .check-list li { color: var(--text-dark); }

/* ===== FORMALITES ===== */
.formalites { background: #fff; }

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

.formality-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    padding: 24px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--grey-border);
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.formality-card:hover {
    transform: translateX(6px);
    border-color: rgba(30, 78, 140, 0.35);
    border-left-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.formality-card i {
    font-size: 24px;
    color: var(--accent);
    transition: var(--transition);
    flex-shrink: 0;
}

.formality-card h3 {
    font-size: 15px;
    line-height: 1.4;
    transition: var(--transition);
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.formality-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.formality-card p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
    transition: var(--transition);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.formality-note {
    background: linear-gradient(135deg, rgba(200, 164, 93, 0.08), rgba(30, 78, 140, 0.04));
    border-left: 4px solid var(--gold);
    padding: 24px 28px;
    border-radius: var(--radius-md);
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.formality-note i {
    color: var(--gold);
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.formality-note p {
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 15px;
}

/* ===== TRUST BLOCK (qualitatif) ===== */
.trust-block {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.trust-point {
    background: var(--light-grey);
    border: 1px solid var(--grey-border);
    border-radius: var(--radius-md);
    padding: 26px 22px;
    text-align: center;
    transition: var(--transition);
}
.trust-point:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.trust-point i {
    color: var(--accent);
    font-size: 28px;
    margin-bottom: 12px;
}

.trust-point h3 {
    font-size: 15px;
    color: var(--navy);
    margin: 0 0 8px;
}

.trust-point p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* ===== SECTEURS ===== */
.secteurs { background: var(--light-grey); }

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

.sector-card {
    background: #fff;
    padding: 28px 16px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--grey-border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: default;
}

.sector-card:hover {
    background: #fff;
    border-color: rgba(30, 78, 140, 0.35);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.sector-card:hover i { color: var(--accent); }

.sector-card i {
    font-size: 28px;
    color: var(--navy);
    transition: var(--transition);
}

.sector-card span {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ===== TRANSPORT & NEGOCE ===== */
.transport-negoce { background: #fff; }

.transport-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 70px;
    align-items: center;
}

.transport-grid .check-list {
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
}

.transport-visual .image-frame img {
    aspect-ratio: 4 / 3;
}

.transport-cta {
    margin-top: 48px;
    display: inline-flex;
}

/* ===== METHOD ===== */
.method {
    background: var(--light-grey);
    position: relative;
}

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

.method-step {
    background: #fff;
    padding: 36px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--grey-border);
    position: relative;
    transition: var(--transition);
}

.method-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 78, 140, 0.35);
}

.step-number {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: rgba(30, 78, 140, 0.12);
    line-height: 1;
}

.step-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: var(--accent-bg);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.method-step h3 {
    font-size: 17px;
    margin-bottom: 12px;
}

.method-step p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== WHY CHOOSE ===== */
.why-choose { background: #fff; }

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

.why-card {
    background: #fff;
    padding: 34px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--grey-border);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.why-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--accent-bg);
    color: var(--accent-dark);
    font-size: 24px;
    margin-bottom: 18px;
    transition: var(--transition);
}

.why-card:hover i {
    background: var(--accent);
    color: #fff;
}

.why-card h3 {
    font-size: 16px;
    color: var(--deep-blue);
    line-height: 1.4;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    padding: 96px 0;
    color: var(--text-dark);
    overflow: hidden;
    text-align: center;
    border-top: 1px solid var(--grey-border);
    border-bottom: 1px solid var(--grey-border);
}

.cta-bg {
    position: absolute;
    inset: 0;
    /* Bande claire et lumineuse (bleu très clair -> blanc) */
    background: linear-gradient(160deg, var(--accent-bg) 0%, var(--light-grey) 100%);
    z-index: 1;
}
/* Halo bleu doux pour la profondeur, sans assombrir */
.cta-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(111, 168, 220, 0.20), transparent 60%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--navy);
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    margin-bottom: 20px;
}

.cta-section p {
    font-size: clamp(1rem, 1.6vw, 1.1rem);
    color: var(--text-muted);
    margin-bottom: 36px;
}

/* Bouton secondaire adapté au fond clair du CTA */
.cta-section .btn-outline-light {
    color: var(--accent);
    border-color: var(--accent);
    background: #fff;
}
.cta-section .btn-outline-light:hover,
.cta-section .btn-outline-light:focus-visible {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ===== FAQ ===== */
.export-experience .check-list i { color: var(--accent-light); }

.faq { background: var(--light-grey); }

.faq-list {
    max-width: 880px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    background: transparent;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--navy);
    transition: var(--transition);
    min-height: 64px;
}

.faq-question:hover { color: var(--accent-dark); }

.faq-question span {
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.faq-question i {
    width: 32px;
    height: 32px;
    background: var(--light-grey);
    color: var(--navy);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    background: var(--accent);
    color: #fff;
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 26px 24px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===== CONTACT ===== */
.contact { background: #fff; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-info {
    background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 100%);
    color: #fff;
    padding: 40px 34px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border-top: 2px solid rgba(200, 164, 93, 0.55); /* filet or premium */
    overflow: hidden;
}

.contact-info h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    color: #fff;
    transition: var(--transition);
    min-height: 56px;
    word-break: break-word;
}

.contact-item:not(.static):hover {
    transform: translateX(6px);
}
.contact-item:not(.static):hover .contact-icon {
    background: var(--accent);
    color: var(--navy);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 18px;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2px;
}

.contact-value {
    display: block;
    font-size: 15px;
    font-weight: 500;
    word-break: break-word;
}

.quick-buttons {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-buttons .btn {
    font-size: 14px;
    padding: 13px 18px;
}

.quick-buttons .btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}
.quick-buttons .btn-outline:hover {
    background: #fff;
    color: var(--navy);
}

.contact-form-wrapper {
    background: var(--light-grey);
    padding: 40px 34px;
    border-radius: var(--radius-md);
}

.contact-form-wrapper h3 {
    font-size: 22px;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

/* Hide honeypot field totally */
.hidden-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

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

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.required { color: #dc3545; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: 1.5px solid var(--grey-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 16px; /* Prevent iOS zoom */
    color: var(--text-dark);
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(30, 78, 140, 0.12);
}

.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.03);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.btn-submit {
    margin-top: 8px;
    font-size: 16px;
}

.form-feedback {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-weight: 500;
    display: none;
}

.form-feedback.success {
    display: block;
    background: rgba(37, 211, 102, 0.12);
    color: #1a7a3e;
    border-left: 4px solid var(--whatsapp);
}

.form-feedback.error {
    display: block;
    background: rgba(220, 53, 69, 0.1);
    color: #b02a37;
    border-left: 4px solid #dc3545;
}

/* ===== MAP ===== */
.map-section { background: var(--light-grey); padding-bottom: 100px; }

.map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
    position: relative;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

.map-action {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--deep-blue); /* Bleu profond premium #102A4C */
    color: rgba(255, 255, 255, 0.78);
    padding-top: 70px;
    border-top: 1px solid rgba(200, 164, 93, 0.40); /* filet sable doré premium */
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-brand p {
    font-size: 14.5px;
    line-height: 1.75;
    margin-top: 18px;
    max-width: 340px;
}

.footer-logo {
    color: #fff;
}

.footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 34px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 14.5px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.78);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    word-break: break-word;
}

.footer-col a:hover {
    color: var(--accent-light);
}

.footer-contact i {
    color: var(--accent-light);
    width: 18px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 22px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== FLOATING BUTTONS ===== */
.floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
    z-index: 998;
    animation: pulseWhatsapp 2s ease infinite;
    transition: var(--transition);
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
    transform: scale(1.1);
    background: var(--whatsapp-dark);
    color: #fff;
}

.floating-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--navy);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}
.floating-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--navy);
}
.floating-whatsapp:hover .floating-tooltip {
    opacity: 1;
    right: calc(100% + 18px);
}

@keyframes pulseWhatsapp {
    0%, 100% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45), 0 0 0 15px rgba(37, 211, 102, 0.15); }
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: var(--navy);
    color: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
    background: var(--accent);
    color: var(--navy);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== THANKS PAGE (merci.html) ===== */
.thanks-page {
    background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 100%);
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.thanks-main {
    width: 100%;
    max-width: 640px;
}

.thanks-container {
    background: #fff;
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.thanks-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, var(--whatsapp), #1ebd5a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    animation: checkPop 0.6s ease;
}

@keyframes checkPop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.thanks-container h1 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 16px;
    color: var(--navy);
}

.thanks-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

.thanks-info {
    background: var(--light-grey);
    padding: 28px 24px;
    border-radius: var(--radius-md);
    margin-bottom: 28px;
}

.thanks-info p {
    color: var(--text-dark);
    margin-bottom: 18px;
    font-weight: 500;
}

.thanks-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.thanks-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 8px;
    transition: var(--transition);
}
.thanks-back:hover {
    color: var(--accent-dark);
    transform: translateX(-4px);
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 1100px)
   ============================================================ */
@media (max-width: 1100px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .mobile-whatsapp { display: flex; }
    .btn-cta-header { display: none; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .badges-grid { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: repeat(3, 1fr); }
    .secteurs-grid { grid-template-columns: repeat(3, 1fr); }
    .method-grid { grid-template-columns: repeat(2, 1fr); }
    .formalites-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-block { grid-template-columns: repeat(2, 1fr); }
    .markets-grid { grid-template-columns: repeat(2, 1fr); }

    .about-grid,
    .transport-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ============================================================
   RESPONSIVE — Tablet small (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
    section { padding: 80px 0; }
    .markets-grid { grid-template-columns: 1fr; }
    .check-list { grid-template-columns: 1fr; }
    .check-list.two-cols { grid-template-columns: 1fr; }
    .transport-grid .check-list { grid-template-columns: 1fr; }
    .badges-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 720px)
   ============================================================ */
@media (max-width: 720px) {
    :root {
        --header-h: var(--header-h-mobile);
    }

    html { scroll-padding-top: var(--header-h-mobile); }

    .container { padding: 0 18px; }
    .header-inner { height: var(--header-h-mobile); }
    .mobile-menu { top: var(--header-h-mobile); }

    .logo-text { font-size: 16px; }
    .logo-mark { width: 40px; height: 40px; border-radius: 11px; }

    .hero {
        padding: calc(var(--header-h-mobile) + 30px) 0 60px;
        min-height: auto;
    }
    .hero-tag {
        font-size: 11px;
        letter-spacing: 0.8px;
        padding: 6px 14px;
        margin-bottom: 18px;
    }
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1.05rem; margin-bottom: 18px; }
    .hero-description { font-size: 0.96rem; margin-bottom: 28px; }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .hero-buttons .btn { width: 100%; }
    .hero-trust {
        flex-direction: column;
        gap: 12px;
        padding-top: 20px;
    }
    .trust-item { width: 100%; font-size: 13.5px; }
    .hero-scroll { display: none; }

    section { padding: 60px 0; }
    .section-header { margin-bottom: 36px; }
    .section-tag { font-size: 11px; letter-spacing: 1px; padding: 5px 12px; }
    .section-title { font-size: 1.6rem; line-height: 1.2; }
    .section-subtitle { font-size: 0.96rem; }

    .badges-grid,
    .services-grid,
    .secteurs-grid,
    .method-grid,
    .formalites-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .trust-block {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .why-card { padding: 26px 18px; }
    .why-card i { width: 50px; height: 50px; font-size: 22px; margin-bottom: 14px; }
    .why-card h3 { font-size: 15px; }

    .badge-card,
    .service-card,
    .method-step {
        padding: 26px 22px;
    }

    .badge-icon, .service-icon { width: 56px; height: 56px; font-size: 22px; }

    .values-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .value-card { padding: 16px 8px; }
    .value-card h4 { font-size: 12.5px; }
    .value-card i { font-size: 22px; }

    .image-deco { display: none; }
    .image-frame img { aspect-ratio: 4 / 3; }

    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-info,
    .contact-form-wrapper { padding: 28px 22px; }
    .contact-info h3,
    .contact-form-wrapper h3 { font-size: 19px; margin-bottom: 22px; }
    .contact-item { padding: 12px 0; min-height: 52px; }
    .contact-icon { width: 42px; height: 42px; font-size: 16px; }
    .quick-buttons .btn { font-size: 13.5px; padding: 12px 14px; }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .cta-buttons .btn { width: 100%; }
    .cta-section { padding: 70px 0; }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 36px;
        text-align: center;
    }
    .footer-brand p { margin: 18px auto 0; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-col a { justify-content: center; }
    .footer-contact a { justify-content: center; }
    .site-footer { padding-top: 50px; }

    .floating-whatsapp {
        width: 56px;
        height: 56px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }
    .floating-tooltip { display: none; }

    .back-to-top {
        bottom: 88px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    .market-card { padding: 30px 22px; }
    .market-card h3 { font-size: 19px; }
    .market-flag { width: 64px; height: 64px; font-size: 26px; }
    .market-flag .market-icon { width: 36px; height: 36px; }
    .export-points { padding: 26px 20px; }

    .formality-note {
        flex-direction: column;
        gap: 12px;
        padding: 22px 20px;
    }
    .formality-card { padding: 20px 18px; gap: 14px; }

    .map-wrapper iframe { height: 320px; }
    .map-action { flex-direction: column; }
    .map-action .btn { width: 100%; }

    .faq-question {
        padding: 18px 20px;
        font-size: 14.5px;
        min-height: 60px;
    }
    .faq-answer p { padding: 0 20px 22px; font-size: 14.5px; }

    .thanks-container { padding: 40px 24px; }
    .thanks-icon { width: 72px; height: 72px; font-size: 34px; }
    .thanks-buttons { flex-direction: column; }
    .thanks-buttons .btn { width: 100%; }
}

/* ============================================================
   RESPONSIVE — Small mobile (≤ 420px)
   ============================================================ */
@media (max-width: 420px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 1.7rem; }
    .hero-subtitle { font-size: 0.98rem; }
    .section-title { font-size: 1.4rem; }
    .btn { padding: 13px 20px; font-size: 14px; min-height: 46px; }
    .logo-text { font-size: 15px; }
    .logo-mark { width: 36px; height: 36px; border-radius: 10px; }
    .mobile-whatsapp { width: 40px; height: 40px; font-size: 18px; }
    .hamburger { width: 40px; height: 40px; }
    .header-actions { gap: 8px; }
}

/* ============================================================
   RESPONSIVE — Extra small (≤ 360px)
   ============================================================ */
@media (max-width: 360px) {
    .hero-title { font-size: 1.55rem; }
    .section-title { font-size: 1.3rem; }
    .badge-card h3 { font-size: 14px; }
    .service-card h3 { font-size: 16px; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .site-header,
    .floating-whatsapp,
    .back-to-top,
    .hero-scroll,
    .mobile-menu,
    .hamburger,
    .menu-backdrop { display: none !important; }
    body { color: #000; background: #fff; }
    a { color: #000; text-decoration: underline; }
}

/* ==========================================================================
   SECTOR DETAIL PAGES  (/secteurs/*.html)
   Reuses the global navy / teal corporate identity.
   ========================================================================== */

/* ----- Clickable sector cards on the homepage ----- */
.sector-card {
    position: relative;
    cursor: pointer;
    text-decoration: none;
}
.sector-card .sector-arrow {
    font-size: 13px;
    color: var(--accent-dark);
    opacity: 0;
    transform: translateY(4px);
    transition: var(--transition);
}
.sector-card:hover .sector-arrow,
.sector-card:focus-visible .sector-arrow {
    opacity: 1;
    transform: translateY(0);
    color: var(--accent);
}

/* ----- Hero ----- */
.sector-hero {
    position: relative;
    padding: calc(var(--header-h) + 72px) 0 76px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 55%, var(--blue-gray) 100%);
    color: #fff;
    overflow: hidden;
}
.sector-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 18%, rgba(30, 78, 140, 0.20), transparent 55%),
        radial-gradient(circle at 10% 90%, rgba(30, 78, 140, 0.10), transparent 50%);
    z-index: 0;
}
.sector-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 840px;
}
.sector-breadcrumb {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 26px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.sector-breadcrumb a { color: rgba(255, 255, 255, 0.8); }
.sector-breadcrumb a:hover { color: var(--accent-light); }
.sector-breadcrumb .sep { color: rgba(255, 255, 255, 0.35); }
.sector-breadcrumb .current { color: var(--accent-light); }

.sector-hero-icon {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: rgba(30, 78, 140, 0.14);
    border: 1px solid rgba(30, 78, 140, 0.32);
    color: var(--accent-light);
    font-size: 32px;
    margin-bottom: 26px;
}
.sector-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4.6vw, 3rem);
    margin-bottom: 18px;
}
.sector-hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    color: rgba(255, 255, 255, 0.86);
    max-width: 700px;
    line-height: 1.65;
    margin-bottom: 34px;
}

/* ----- Content sections ----- */
.sector-detail-section { padding: 84px 0; }
.sector-detail-section.alt { background: var(--light-grey); }

.sector-block-head { max-width: 780px; margin-bottom: 40px; }
.sector-block-head .section-tag { margin-bottom: 14px; }
.sector-block-head .section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0; }
.sector-block-head .section-divider { margin-top: 18px; }

.sector-lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.85;
    max-width: 840px;
}
.sector-lead + .sector-lead { margin-top: 18px; }

/* ----- "Enjeux fréquents" grid ----- */
.enjeux-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.enjeu-card {
    background: #fff;
    border: 1px solid var(--grey-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.enjeu-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 78, 140, 0.45);
}
.enjeu-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--accent-bg);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}
.enjeu-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.enjeu-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

/* ----- "Comment AFIM vous accompagne" ----- */
.accompagnement-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 34px;
}
.acc-item { display: flex; gap: 16px; align-items: flex-start; }
.acc-ico {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--navy);
    color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.acc-item strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 4px;
}
.acc-item span { color: var(--text-muted); font-size: 0.93rem; line-height: 1.6; }

/* ----- "Ce que vous gagnez" ----- */
.gains-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.gain-item {
    display: flex;
    gap: 14px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--grey-border);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.gain-item:hover { border-color: rgba(30, 78, 140, 0.45); box-shadow: var(--shadow-md); }
.gain-item i { color: var(--accent-dark); font-size: 20px; flex-shrink: 0; }
.gain-item span { font-weight: 500; color: var(--text-dark); font-size: 0.97rem; }

/* ----- Bottom CTA block ----- */
.sector-bottom-cta {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, var(--deep-blue) 100%);
    color: #fff;
    text-align: center;
    padding: 86px 0;
    overflow: hidden;
}
.sector-bottom-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(30, 78, 140, 0.16), transparent 60%);
    z-index: 0;
}
.sector-bottom-cta .container { position: relative; z-index: 1; }
.sector-bottom-cta h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 18px;
}
.sector-bottom-cta p {
    color: rgba(255, 255, 255, 0.88);
    max-width: 660px;
    margin: 0 auto 34px;
    font-size: 1.05rem;
    line-height: 1.7;
}
.sector-bottom-cta-actions {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.sector-back-link {
    color: var(--accent-light);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.sector-back-link:hover { color: #fff; }

/* ----- Responsive ----- */
@media (max-width: 900px) {
    .enjeux-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .sector-hero { padding: calc(var(--header-h-mobile) + 48px) 0 56px; }
    .sector-detail-section { padding: 58px 0; }
    .sector-bottom-cta { padding: 64px 0; }
    .enjeux-grid,
    .accompagnement-list,
    .gains-grid { grid-template-columns: 1fr; }
}
