/* =====================================================================
   EBA — Proposition 3 : Design Moderne & Professionnel (Mode Clair)
   Identité : Tôlerie Industrielle de Précision & Découpe Laser
   Respect strict du contenu intégral d'origine de https://eba.com.tn/
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- 1. Variables Globales (Mode Clair Pro) ---------- */
:root {
    --bg: #ffffff;
    --bg-subtle: #f8fafc;
    --bg-alt: #f1f5f9;
    --surface: #ffffff;
    --surface-hover: #f8fafc;
    --surface-card: #ffffff;

    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --border-hover: #cbd5e1;
    --border-strong: #94a3b8;

    --text: #0f172a;
    --text-2: #334155;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    --red: #ef2116;
    --red-hover: #d7190e;
    --red-light: #fef2f2;
    --red-subtle: rgba(239, 33, 22, 0.08);
    --red-glow: 0 4px 20px rgba(239, 33, 22, 0.28);

    --blue: #1f57a8;
    --blue-hover: #174586;
    --blue-light: #eff6ff;

    --navy: #001029;
    --navy-light: #0b1f3d;

    --sans: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 20px 45px -10px rgba(15, 23, 42, 0.12);

    --max-w: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. Base & Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-2);
    background-color: var(--bg);
    overflow-x: hidden;
    overflow-x: clip; /* coupe tout débordement horizontal sans casser l'en-tête « sticky » */
    -webkit-font-smoothing: antialiased;
}
html {
    /* Empêche le glissement horizontal de la page sur mobile (Android / iOS) */
    overflow-x: clip;
}

body.lock { overflow: hidden; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: all 0.2s var(--ease); }

/* ==========================================================================
   Typographie Globale — Alignement Justifié pour Tous les Textes du Site
   ========================================================================== */
p,
.prose p,
.prose2 p,
.about__body p,
.about p,
.competence__text p,
.service-prose p,
.service-lead-card p,
.service-card p,
.post-card p,
.industry-card p,
.doc__main p,
.spec-card p,
.precision-showcase p,
.project-cta-card p,
.brochure-card p,
.contact p,
.contact-card p,
.legal-content p,
.service-lead-card__quote,
.service-cta-card p,
.lead {
    margin: 0 0 1.2em;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/* Exceptions naturelles préservées (Boutons, badges, crédits centré/gauche) */
.text-center,
.text-center p,
.section-title--center,
.clients-head,
.clients-head h2,
.footer__bottom-inner p,
.footer__powered,
.btn,
.btn span,
.badge,
.cta-pill,
.chip,
.drawer__subtitle,
.toast,
.field__label,
.drawer-file__hint,
.drawer-file__title {
    text-align: left;
}
.text-center,
.text-center p,
.footer__powered {
    text-align: inherit;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--sans);
    color: var(--text);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 0 0 0.6em;
}

button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--red); color: #ffffff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip { position: absolute; left: 16px; top: -60px; z-index: 9999; padding: 10px 16px; background: var(--red); color: #fff; border-radius: var(--radius-sm); font-weight: 600; }
.skip:focus { top: 16px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- 3. Boutons & Éléments Interactifs Modernes ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: var(--radius);
    transition: all 0.25s var(--ease);
    white-space: nowrap;
    cursor: pointer;
}

.btn--primary {
    background: var(--red);
    color: #ffffff;
    box-shadow: var(--red-glow);
}
.btn--primary:hover {
    background: var(--red-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 33, 22, 0.35);
}

.btn--ghost {
    background: #ffffff;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
    background: var(--bg-subtle);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn--dark {
    background: var(--navy);
    color: #ffffff;
}
.btn--dark:hover {
    background: var(--navy-light);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn--outline:hover {
    border-color: var(--red);
    color: var(--red);
}

.btn--white {
    background: #ffffff;
    color: var(--navy);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.btn--white:hover {
    background: #f8fafc;
    color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.btn--lg { padding: 15px 32px; font-size: 16px; }
.btn--sm { padding: 9px 18px; font-size: 13.5px; border-radius: var(--radius-sm); }
.btn--block { width: 100%; }

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
    vertical-align: middle;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--red);
    margin-bottom: 12px;
}
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--red);
}

/* ---------- 4. Barre Supérieure Moderne EBA Laser ---------- */
.topbar {
    background: #ffffff;
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    padding: 7px 0;
    font-size: 12.5px;
    color: #475569;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-top: 2px;
}

.topbar__left,
.topbar__right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Micro-pills (Chips) */
.topbar-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    line-height: 1.2;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.topbar-chip--link {
    cursor: pointer;
}

.topbar-chip--link:hover {
    background: #ffffff;
    border-color: rgba(203, 213, 225, 1);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px -2px rgba(15, 23, 42, 0.08);
}

.topbar-chip__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.05);
    color: #64748b;
    flex-shrink: 0;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.topbar-chip--link:hover .topbar-chip__icon {
    transform: scale(1.08);
}

.topbar-chip__label {
    color: #94a3b8;
    font-weight: 500;
    font-size: 11.5px;
}

.topbar-chip__val {
    color: #1e293b;
    letter-spacing: -0.01em;
}

/* Statut atelier ouvert (pulse vert) */
.topbar-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    animation: status-pulse 2s infinite;
    flex-shrink: 0;
    margin-left: 2px;
}

@keyframes status-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Chip Téléphone */
.topbar-chip--phone .topbar-chip__icon--red {
    background: rgba(239, 33, 22, 0.1);
    color: var(--red);
}

.topbar-chip--phone:hover {
    border-color: rgba(239, 33, 22, 0.3);
    color: var(--red);
}
.topbar-chip--phone:hover .topbar-chip__val {
    color: var(--red);
}

/* Chip WhatsApp */
.topbar-chip--wa {
    background: rgba(37, 211, 102, 0.08);
    border-color: rgba(37, 211, 102, 0.25);
    color: #0f766e;
}
.topbar-chip--wa .topbar-chip__icon--wa {
    background: #25D366;
    color: #ffffff;
}
.topbar-chip--wa .topbar-chip__val {
    color: #128C7E;
    font-weight: 700;
}
.topbar-chip--wa:hover {
    background: #25D366;
    border-color: #25D366;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.35);
}
.topbar-chip--wa:hover .topbar-chip__val {
    color: #ffffff;
}
.topbar-chip--wa:hover .topbar-chip__icon--wa {
    background: #ffffff;
    color: #25D366;
}

.topbar-wa-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #25D366;
    animation: status-pulse 1.8s infinite;
}
.topbar-chip--wa:hover .topbar-wa-pulse {
    background: #ffffff;
}

/* Chip Email */
.topbar-chip--mail:hover {
    border-color: rgba(14, 165, 233, 0.35);
}
.topbar-chip--mail:hover .topbar-chip__icon {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
}

/* Séparateur vertical fin */
.topbar__divider {
    width: 1px;
    height: 18px;
    background: rgba(226, 232, 240, 0.9);
    margin: 0 2px;
}

/* Bouton Réseau Social Facebook */
.topbar-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.95);
    color: #475569;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.topbar-social:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(24, 119, 242, 0.35);
}

@media (max-width: 1100px) {
    .topbar-chip--location {
        display: none;
    }
}

@media (max-width: 900px) {
    .topbar {
        display: none;
    }
}

/* En-tête Principal Flottant Pro */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.04);
    transition: all 0.3s var(--ease);
}
.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    min-height: 98px;
    gap: 28px;
}
.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.brand img {
    height: 84px;
    max-height: 88px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(15, 23, 42, 0.06));
    transition: transform 0.25s var(--ease);
}
.brand:hover img {
    transform: scale(1.02);
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__link {
    position: relative;
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    padding: 10px 18px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s var(--ease);
    cursor: pointer;
    background: transparent;
    border: 0;
}
.nav__link:hover {
    color: var(--red);
    background: #f8fafc;
}
.nav__link.is-active {
    color: var(--red);
    font-weight: 700;
    background: transparent;
}
.nav__link.is-active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}
.nav__chevron {
    transition: transform 0.25s var(--ease), color 0.25s var(--ease);
    color: #94a3b8;
    flex-shrink: 0;
}

/* Dropdown Menu Moderne */
.has-sub { position: relative; }
.has-sub::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 18px;
}
.has-sub:hover .nav__link,
.has-sub:focus-within .nav__link {
    color: var(--red);
    background: #f8fafc;
}
.has-sub:hover .nav__chevron,
.has-sub:focus-within .nav__chevron {
    transform: rotate(180deg);
    color: var(--red);
}

.has-sub .sub {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 320px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 16px;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 200;
}
.has-sub:hover .sub,
.has-sub:focus-within .sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.sub li {
    margin: 0;
}
.sub li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 500;
    color: #334155;
    transition: all 0.15s var(--ease);
}
.sub li a:hover,
.sub li a.is-active {
    background: #f8fafc;
    color: var(--red);
    padding-left: 20px;
    font-weight: 600;
}
.sub li a::after {
    content: "→";
    font-size: 12px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.15s var(--ease);
    color: var(--red);
}
.sub li a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Bouton Devis Navbar Moderne */
.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-hover) 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 14.5px;
    padding: 12px 24px;
    border-radius: 9999px;
    box-shadow: 0 4px 16px rgba(239, 33, 22, 0.28);
    transition: all 0.25s var(--ease);
    white-space: nowrap;
    margin-left: 8px;
    cursor: pointer;
}
.nav__cta:hover {
    background: linear-gradient(135deg, var(--red-hover) 0%, #b9150b 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 33, 22, 0.4);
}
.nav__cta .icon {
    transition: transform 0.25s var(--ease);
}
.nav__cta:hover .icon {
    transform: translateX(3px);
}

/* Sélecteur de langue FR | EN */
.lang-switch {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg-subtle);
}
.lang-switch a {
    min-width: 36px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
    color: var(--text-muted);
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lang-switch a:hover { color: var(--text); }
.lang-switch a.is-active {
    background: var(--navy);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 16, 41, 0.18);
}
@media (max-width: 1024px) {
    .lang-switch { margin-left: auto; }
    .navbar__inner { gap: 12px; }
}

.burger {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    transition: all 0.25s var(--ease);
}

/* ---------- 5. Hero Section (Mode Clair Moderne) ---------- */
.hero {
    position: relative;
    padding: clamp(48px, 6vw, 84px) 0;
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-subtle) 100%);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.hero .hero__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.hero__inner { position: relative; z-index: 2; }
.hero__title {
    font-size: clamp(34px, 4.6vw, 62px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: var(--text);
    margin-bottom: 22px;
}
.hero__title-line {
    display: block;
}
@media (min-width: 640px) {
    .hero__title-line {
        white-space: nowrap;
    }
}
.hero__title-accent {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #ff4d4d 0%, var(--red) 55%, #b9150b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 14px rgba(239, 33, 22, 0.4));
}
.hero__lead {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 600px;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

/* Cadre Vidéo Moderne */
.hero__media-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 8px;
    box-shadow: var(--shadow-lg);
}
.hero__media-inner {
    position: relative;
    height: 420px;
    border-radius: calc(var(--radius-lg) - 6px);
    overflow: hidden;
    background: var(--navy);
}
.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__toggle {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s var(--ease);
}
.hero__toggle:hover { background: var(--red); }
.hero__toggle .icon-play { display: none; }
.hero__toggle.is-paused .icon-play { display: block; }
.hero__toggle.is-paused .icon-pause { display: none; }

/* Badge "Depuis 1993" */
.badge-since {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--red-light);
    border: 1px solid rgba(239, 33, 22, 0.2);
    border-radius: var(--radius-full);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}
.badge-since span { font-weight: 500; color: var(--text-muted); }

/* ----- Bannière vidéo plein écran (toute la largeur, hauteur de l'écran sous l'en-tête) ----- */
.hero--full {
    display: flex;
    align-items: center;
    min-height: calc(100vh - var(--hdr-h, 0px));
    min-height: calc(100svh - var(--hdr-h, 0px));
    padding: clamp(72px, 10vh, 120px) 0;
    background: var(--navy);
    border-bottom: 0;
    isolation: isolate;
}
.hero--full .hero__video {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero--full .hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0, 16, 41, 0.88) 0%, rgba(0, 16, 41, 0.62) 45%, rgba(0, 16, 41, 0.15) 100%),
        linear-gradient(0deg, rgba(0, 16, 41, 0.55) 0%, transparent 40%);
}
.hero--full .hero__content { width: 100%; }
.hero--full .hero__inner { max-width: 920px; }

/* Badge row & Eyebrow modernes */
.hero__badge-row {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}
.hero--full .badge-since {
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    font-size: 13px;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.hero--full .badge-since span {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 500;
}
.hero--full .badge-since strong {
    color: #ffffff;
    font-weight: 800;
}
.badge-since__dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef2116;
    box-shadow: 0 0 10px #ef2116, 0 0 4px #ff4d4d;
    animation: laserPulse 2.2s infinite ease-in-out;
}
@keyframes laserPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.65; }
}
.hero__badge-divider {
    display: inline-block;
    width: 26px;
    height: 2px;
    background: linear-gradient(90deg, #ef2116 0%, rgba(239, 33, 22, 0.2) 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(239, 33, 22, 0.8);
}
.eyebrow--hero {
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* Titre sur exactement 2 lignes */
.hero--full .hero__title {
    color: #ffffff;
    font-size: clamp(38px, 5.2vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    font-weight: 800;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
    margin-bottom: 24px;
}
.hero--full .hero__title-line--1 {
    font-weight: 700;
    color: #ffffff;
    opacity: 0.96;
}
.hero--full .hero__title-line--2 {
    font-weight: 800;
    color: #ffffff;
}
.hero--full .hero__title-accent {
    background: linear-gradient(135deg, #ffffff 0%, #ff4d4d 30%, #ef2116 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 24px rgba(239, 33, 22, 0.65));
}
.hero--full .hero__lead {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.7;
    max-width: 680px;
    margin-bottom: 36px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.hero--full .hero__actions {
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}
.hero--full .btn--primary {
    background: linear-gradient(135deg, #ef2116 0%, #d8140a 100%);
    color: #ffffff;
    padding: 14px 32px;
    border-radius: 9999px;
    font-size: 15.5px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(239, 33, 22, 0.45);
    transition: all 0.25s var(--ease);
}
.hero--full .btn--primary:hover {
    background: linear-gradient(135deg, #d8140a 0%, #b9150b 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(239, 33, 22, 0.6);
}
.hero--full .btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 14px 30px;
    border-radius: 9999px;
    font-size: 15.5px;
    font-weight: 600;
    transition: all 0.25s var(--ease);
}
.hero--full .btn--ghost:hover {
    background: #ffffff;
    color: var(--navy);
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
.hero--full .hero__toggle {
    right: clamp(16px, 3vw, 32px);
    bottom: clamp(16px, 3vw, 32px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

@media (max-width: 640px) {
    .hero--full { align-items: flex-end; padding-bottom: 96px; }
    .hero--full .hero__overlay { background: linear-gradient(0deg, rgba(0, 16, 41, 0.92) 0%, rgba(0, 16, 41, 0.55) 60%, rgba(0, 16, 41, 0.35) 100%); }
}

/* ---------- 6. Section Présentation (EBA D'industrie métallique) ---------- */
.section { padding: clamp(60px, 8vw, 96px) 0; }
.section--muted { background-color: var(--bg-subtle); border-block: 1px solid var(--border); }
.section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}
.section-title--center { text-align: center; }

/* Titre Présentation EBA sur une seule ligne */
.about__body .section-title,
.section-title--oneline {
    font-size: clamp(20px, 2.65vw, 36px);
    white-space: nowrap;
    letter-spacing: -0.02em;
}
@media (max-width: 540px) {
    .about__body .section-title,
    .section-title--oneline {
        font-size: clamp(16px, 5.2vw, 22px);
    }
}

.about__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
.about__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.12);
    isolation: isolate;
}
.about__media img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.about__media:hover img {
    transform: scale(1.03);
}
/* ---------- Sceau Circulaire Rotatif Moderne (« Depuis 1993 ») ---------- */
.stamp {
    position: absolute;
    bottom: 24px;
    left: 24px;
    width: 144px;
    height: 144px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 18px 40px -10px rgba(15, 23, 42, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 0 24px rgba(239, 33, 22, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    z-index: 5;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.stamp:hover {
    transform: scale(1.06);
    box-shadow:
        0 24px 50px -10px rgba(15, 23, 42, 0.38),
        0 0 30px rgba(239, 33, 22, 0.28);
}
.stamp__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}
.stamp__spin {
    transform-origin: 72px 72px;
    animation: stampRotate 20s linear infinite;
}
.stamp:hover .stamp__spin {
    animation-play-state: paused;
}
.stamp__text {
    font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
    font-size: 9.6px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    fill: #334155;
}
.stamp__center {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}
.stamp__label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #64748b;
    line-height: 1;
    margin-bottom: 2px;
}
.stamp__year {
    font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--red);
    text-shadow: 0 1px 8px rgba(239, 33, 22, 0.3);
}
.stamp__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--red);
    margin-top: 4px;
    box-shadow: 0 0 6px var(--red);
}

@keyframes stampRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .stamp {
        bottom: 16px;
        left: 16px;
        transform: scale(0.85);
        transform-origin: bottom left;
    }
    .stamp:hover {
        transform: scale(0.9);
    }
}

.capabilities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
    margin: 24px 0 32px;
    padding: 0;
}
.capabilities li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14.5px;
    color: var(--text);
    transition: all 0.2s var(--ease);
}
.capabilities li:hover {
    border-color: var(--red);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}
.capabilities .icon { color: var(--red); flex-shrink: 0; }

.about__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.signature strong { display: block; font-size: 17px; font-weight: 800; color: var(--text); }
.signature span { font-size: 13.5px; color: var(--red); font-weight: 600; }

/* ---------- 7. Section Compétence & Services (Modernisée Haut de Gamme) ---------- */
.competence {
    background-color: #f8fafc;
    background-image:
        radial-gradient(rgba(148, 163, 184, 0.22) 1px, transparent 1px),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 35%, #ffffff 100%);
    background-size: 24px 24px, 100% 100%;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-block: clamp(64px, 8vw, 100px);
}
.competence__head {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(32px, 5vw, 56px);
    align-items: center;
    margin-bottom: 52px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.competence__title {
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--navy);
    margin: 0;
}
.competence__title b {
    color: var(--red);
    position: relative;
    display: inline-block;
}
.competence__title b::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(239, 33, 22, 0.2);
    border-radius: 2px;
}
.competence__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}
.competence__text p {
    font-size: 16.5px;
    color: #475569;
    line-height: 1.75;
    margin: 0;
}
.competence__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(239, 33, 22, 0.28);
    transition: all 0.25s var(--ease);
}
.competence__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(239, 33, 22, 0.4);
}

/* Grille Moderne des Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px -8px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s var(--ease);
    position: relative;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.12), 0 0 20px rgba(239, 33, 22, 0.06);
    border-color: rgba(239, 33, 22, 0.4);
}
.service-card__media {
    display: block;
    height: 195px;
    overflow: hidden;
    position: relative;
    background: #001029;
}
.service-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover .service-card__media img {
    transform: scale(1.08);
}
.service-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 16, 41, 0.45) 0%, transparent 60%);
    pointer-events: none;
    transition: opacity 0.3s;
}
.service-card:hover .service-card__overlay {
    opacity: 0.6;
}
.service-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    color: var(--navy);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
}
.service-card__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
}

.service-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    background: #ffffff;
}
.service-card__line {
    width: 24px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    margin-bottom: 12px;
    transition: width 0.3s var(--ease);
}
.service-card:hover .service-card__line {
    width: 44px;
}
.service-card__body h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 10px;
    line-height: 1.25;
    letter-spacing: -0.01em;
    transition: color 0.2s;
}
.service-card:hover .service-card__body h3 {
    color: var(--red);
}
.service-card__body p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 22px;
    flex-grow: 1;
}

.service-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--red);
    transition: all 0.25s var(--ease);
    text-decoration: none;
}
.service-card__btn-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(239, 33, 22, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s var(--ease);
    color: var(--red);
}
.service-card:hover .service-card__btn-icon {
    background: var(--red);
    color: #ffffff;
    transform: translateX(4px);
    box-shadow: 0 4px 10px rgba(239, 33, 22, 0.35);
}

@media (max-width: 1200px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
    .competence__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 32px; }
    .service-grid { grid-template-columns: 1fr; }
}

/* ---------- 8. Section Industries Desservies ---------- */
.section-head {
    max-width: 760px;
    margin-bottom: 40px;
}
.section-head p { font-size: 17px; color: var(--text-muted); }

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
/* Cartes avec image en arrière-plan plein cadre */
.industry-tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    aspect-ratio: 4 / 5;
    min-height: 240px;
    padding: 20px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--navy);
    box-shadow: var(--shadow-sm);
    isolation: isolate;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.industry-tile img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}
.industry-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(0, 16, 41, 0.88) 0%, rgba(0, 16, 41, 0.35) 45%, rgba(0, 16, 41, 0) 70%);
    transition: background 0.35s var(--ease);
}
.industry-tile h3 {
    position: relative;
    margin: 0;
    padding-top: 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    text-transform: capitalize;
}
.industry-tile h3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: var(--red);
    transition: width 0.35s var(--ease);
}
.industry-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.industry-tile:hover img { transform: scale(1.07); }
.industry-tile:hover::after {
    background: linear-gradient(0deg, rgba(0, 16, 41, 0.92) 0%, rgba(239, 33, 22, 0.25) 60%, rgba(0, 16, 41, 0) 85%);
}
.industry-tile:hover h3::before { width: 52px; }
a.industry-tile:hover { color: #ffffff; }

@media (max-width: 480px) {
    .industry-grid { gap: 12px; }
    .industry-tile { min-height: 190px; padding: 14px; }
    .industry-tile h3 { font-size: 15px; }
}

/* ---------- 9. Section Brochure & Contact Rapide ---------- */
.section--muted.brochure-contact {
    background-color: #f8fafc;
    background-image:
        radial-gradient(rgba(148, 163, 184, 0.22) 1px, transparent 1px),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 40%, #f1f5f9 100%);
    background-size: 24px 24px, 100% 100%;
    border-block: 1px solid var(--border);
    position: relative;
}
.brochure-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(28px, 4vw, 48px);
    align-items: stretch;
}

/* Carte Brochure 3D */
.brochure-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    padding: clamp(24px, 3.5vw, 36px);
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.brochure-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 55px -12px rgba(15, 23, 42, 0.14), 0 0 24px rgba(239, 33, 22, 0.08);
}
.brochure-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.brochure-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #475569;
}
.brochure-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 6px var(--red);
}
.brochure-format {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--red);
    background: rgba(239, 33, 22, 0.08);
    padding: 5px 12px;
    border-radius: 8px;
    letter-spacing: 0.04em;
}
.brochure-card__media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 0 20px;
    flex-grow: 1;
}
.brochure-card__media img {
    max-height: 330px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 28px rgba(15, 23, 42, 0.16));
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.brochure-card:hover .brochure-card__media img {
    transform: translateY(-8px) scale(1.03);
    filter: drop-shadow(0 26px 38px rgba(239, 33, 22, 0.22));
}
.brochure-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14.5px;
    background: #ffffff;
    color: #0f172a;
    border: 1.5px solid #cbd5e1;
    transition: all 0.25s var(--ease);
}
.brochure-card__btn:hover {
    background: var(--red);
    color: #ffffff;
    border-color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 33, 22, 0.35);
}

/* Carte Formulaire Contact */
.contact-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-top: 3px solid var(--red);
    border-radius: 24px;
    padding: clamp(28px, 4vw, 40px);
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 55px -12px rgba(15, 23, 42, 0.12);
}
.contact-card__head {
    margin-bottom: 24px;
}
.contact-card__title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0;
}
.form__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}
.field {
    position: relative;
    margin-bottom: 14px;
}
.field--icon .field__icon {
    position: absolute;
    z-index: 1;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s var(--ease);
}
/* Spécificité renforcée : la règle générale « .field input » (plus bas) écrasait cet espace réservé à l'icône */
.field.field--icon input {
    padding-left: 44px;
}
.field--icon:focus-within .field__icon {
    color: var(--red);
}
.field input, .field textarea {
    width: 100%;
    padding: 13px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #0f172a;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 500;
    transition: all 0.2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}
.field input:focus, .field textarea:focus {
    outline: none;
    border-color: var(--red);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(239, 33, 22, 0.12);
}
.contact-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--red) 0%, #d8140a 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(239, 33, 22, 0.35);
    transition: all 0.25s var(--ease);
    cursor: pointer;
    border: 0;
    width: 100%;
}
.contact-card__btn:hover {
    background: linear-gradient(135deg, var(--red-hover) 0%, #b9150b 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(239, 33, 22, 0.48);
}
.contact-card__btn .icon {
    transition: transform 0.25s var(--ease);
}
.contact-card__btn:hover .icon {
    transform: translateX(4px);
}

/* ---------- 10. Section Dernières Actualités ---------- */
.section-head--row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}
.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(28px, 4vw, 40px);
}
.post-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
    position: relative;
}
.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px -12px rgba(15, 23, 42, 0.15), 0 0 20px rgba(239, 33, 22, 0.08);
    border-color: rgba(239, 33, 22, 0.28);
}
.post-card__media {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: #0f172a;
    display: block;
}
.post-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}
.post-card:hover .post-card__media img {
    transform: scale(1.06);
}
.post-card__badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0f172a;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}
.post-card__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 6px var(--red);
}
.post-card__body {
    padding: 28px 32px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}
.post-card__meta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 12px;
}
.post-card__meta .icon {
    color: #94a3b8;
}
.post-card__title {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.025em;
    color: #0f172a;
    margin: 0 0 16px;
}
.post-card__title a {
    color: inherit;
    transition: color 0.2s var(--ease);
}
.post-card:hover .post-card__title a {
    color: var(--red);
}
.post-card__footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    margin-top: auto;
}
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--red);
    transition: gap 0.25s var(--ease), color 0.2s var(--ease);
}
.link-arrow .icon {
    transition: transform 0.25s var(--ease);
}
.post-card:hover .link-arrow .icon {
    transform: translateX(5px);
}

/* ---------- 11. Clients / Ils nous font confiance (Valorisé & Logos Agrandis) ---------- */
.clients {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    border-top: 1px solid var(--border);
    padding: clamp(64px, 8vw, 96px) 0;
    position: relative;
}
.clients__head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 44px;
}
.clients__head .eyebrow {
    justify-content: center;
    margin-bottom: 12px;
}
.clients__head .section-title {
    margin-bottom: 0;
}
.clients__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(16px, 2.5vw, 24px);
    align-items: center;
}
.client-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    height: 128px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}
.client-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 0 20px rgba(239, 33, 22, 0.08);
    border-color: rgba(239, 33, 22, 0.3);
}
.client-card img {
    height: 80px;
    max-height: 85px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(0.15) opacity(0.92);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}
.client-card:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.06);
}

/* Fallback Marquee */
.marquee {
    overflow: hidden;
    padding: 24px 0 10px;
}
.marquee__track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.marquee__track img {
    height: 80px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(0.15) opacity(0.92);
    transition: all 0.3s var(--ease);
}
.marquee__track img:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.08);
}

@media (max-width: 1024px) {
    .clients__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 640px) {
    .clients__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .client-card {
        height: 105px;
        padding: 14px 18px;
    }
    .client-card img {
        height: 64px;
    }
}

/* ---------- 12. Pied de Page (Footer Moderne & Haut de Gamme) ---------- */
.site-footer {
    background: #000c1e;
    background-image: radial-gradient(rgba(239, 33, 22, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14.5px;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Bandeau Réassurance Pré-Footer */
.footer__banner {
    background: rgba(255, 255, 255, 0.025);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
}
.footer__banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}
.footer__banner-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.footer__banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 10px var(--red);
    flex-shrink: 0;
}
.footer__banner-item strong {
    display: block;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.3;
}
.footer__banner-item small {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12.5px;
}
.footer__banner-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
}

/* Grille Principale du Footer */
.footer__grid {
    display: grid;
    grid-template-columns: 1.35fr 1.35fr 1.3fr;
    gap: clamp(32px, 5vw, 64px);
    padding: 70px 0 55px;
}

/* Colonne 1 : Logo & Contact */
.footer__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 10px 18px;
    border-radius: 14px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s var(--ease);
}
.footer__logo:hover {
    transform: translateY(-2px);
}
.footer__logo img {
    height: 58px;
    max-height: 62px;
    width: auto;
    object-fit: contain;
}
.footer__contact {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
    line-height: 1.5;
}
.footer__icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(239, 33, 22, 0.12);
    border: 1px solid rgba(239, 33, 22, 0.25);
    color: var(--red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.footer__contact a {
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s var(--ease);
}
.footer__contact a:hover {
    color: #ffffff;
}
.social--labeled {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.25s var(--ease);
    width: auto;
    height: auto;
}
.social--labeled:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35);
}

/* Titres de colonnes */
.footer__title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 12px;
}
.footer__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}

/* Colonne 2 : Liens Services */
.footer__cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
}
.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer__links li {
    margin-bottom: 12px;
}
.footer__links a {
    color: rgba(255, 255, 255, 0.72);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s var(--ease);
    font-weight: 500;
}
.footer__links a::before {
    content: "›";
    color: var(--red);
    font-size: 16px;
    line-height: 1;
    opacity: 0.7;
    transition: transform 0.2s var(--ease);
}
.footer__links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}
.footer__links a:hover::before {
    transform: translateX(2px);
    opacity: 1;
}

/* Colonne 3 : Carte Newsletter */
.footer__newsletter-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}
.footer__newsletter-text {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 18px;
}
.newsletter__input-wrap {
    position: relative;
    margin-bottom: 12px;
}
.newsletter__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}
.newsletter__input-wrap input {
    width: 100%;
    padding: 13px 16px 13px 42px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.2s var(--ease);
}
.newsletter__input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
.newsletter__input-wrap input:focus {
    outline: none;
    border-color: var(--red);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(239, 33, 22, 0.2);
}
.newsletter__btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--red) 0%, #d8140a 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(239, 33, 22, 0.35);
    transition: all 0.25s var(--ease);
    border: 0;
    cursor: pointer;
}
.newsletter__btn:hover {
    background: linear-gradient(135deg, var(--red-hover) 0%, #b9150b 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(239, 33, 22, 0.5);
}
.newsletter__btn .icon {
    transition: transform 0.25s var(--ease);
}
.newsletter__btn:hover .icon {
    transform: translateX(3px);
}

/* Pied Inférieur (Copyright & Powered by) */
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.5);
}
.footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer__bottom-inner p {
    margin: 0;
}
.footer__powered a {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    transition: color 0.2s var(--ease);
}
.footer__powered a:hover {
    color: var(--red);
}

@media (max-width: 1024px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer__newsletter {
        grid-column: 1 / -1;
    }
    .footer__banner-divider {
        display: none;
    }
}
@media (max-width: 640px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer__cols {
        grid-template-columns: 1fr;
    }
    .footer__banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .footer__bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Bouton Retour en Haut */
.to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    z-index: 99;
}
.to-top:hover {
    background: var(--red);
    color: #ffffff;
    transform: translateY(-3px);
}

/* ---------- 13. Modal / Drawer Devis Express — Design Moderne & Pro (Mode Clair) ---------- */
.drawer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: stretch;
    justify-content: flex-end;
}
.drawer.is-open { display: flex; }
.drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    animation: fadeInBackdrop 0.3s ease;
}
@keyframes fadeInBackdrop {
    from { opacity: 0; }
    to { opacity: 1; }
}

.drawer__panel {
    position: relative;
    width: 100%;
    max-width: 620px;
    height: 100%;
    background: #ffffff;
    box-shadow: -14px 0 50px rgba(0, 0, 0, 0.22);
    padding: clamp(24px, 4vw, 38px) clamp(20px, 3.5vw, 36px);
    overflow-y: auto;
    z-index: 2;
    animation: slideInDrawer 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
@keyframes slideInDrawer {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Custom Scrollbar */
.drawer__panel::-webkit-scrollbar {
    width: 6px;
}
.drawer__panel::-webkit-scrollbar-track {
    background: #f1f5f9;
}
.drawer__panel::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}
.drawer__panel::-webkit-scrollbar-thumb:hover {
    background: var(--red);
}

/* En-tête Pro sans avatar ouvrier */
.drawer__head {
    position: relative;
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}
.drawer__head::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--red) 0%, transparent 100%);
    border-radius: 2px;
}

.drawer__head-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.drawer__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(239, 33, 22, 0.08);
    border: 1px solid rgba(239, 33, 22, 0.22);
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.drawer__badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 8px var(--red);
    animation: pulseLaserDot 2s infinite ease-in-out;
}

.drawer__close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    display: grid;
    place-items: center;
    color: #475569;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}
.drawer__close:hover {
    background: var(--red);
    border-color: var(--red);
    color: #ffffff;
    transform: rotate(90deg) scale(1.06);
}

.drawer__title-group {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.drawer__icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(239, 33, 22, 0.12) 0%, rgba(239, 33, 22, 0.04) 100%);
    border: 1px solid rgba(239, 33, 22, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(239, 33, 22, 0.1);
}

.drawer__title {
    font-size: clamp(22px, 2.4vw, 26px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}
.drawer__subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Formulaire & Champs Pro */
.drawer__form {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.field__label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #475569;
    margin-bottom: 6px;
}
.field__required {
    color: var(--red);
    margin-left: 2px;
    font-weight: 700;
}

.field__input,
.field__textarea {
    width: 100%;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    color: #0f172a;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}
.field__input:focus,
.field__textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--red);
    box-shadow: 0 0 0 3.5px rgba(239, 33, 22, 0.12);
}
.field__input::placeholder,
.field__textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
    font-size: 13px;
}
.field__textarea {
    min-height: 90px;
    resize: vertical;
}

/* Section Services ("Vous avez besoin de :") */
.field--fieldset {
    border: 0;
    padding: 0;
    margin: 8px 0 16px;
}
.field__legend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
    padding: 0;
}
.field__legend-text {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1e293b;
}
.field__legend-badge {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 999px;
}

/* Cartes Interactives de Services */
.chips {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.chip {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 13px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    margin: 0;
}
.chip:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
}
.chip input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.chip__check {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1.5px solid #cbd5e1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    transition: all 0.18s ease;
    color: #ffffff;
}
.chip__check svg {
    width: 11px;
    height: 11px;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.15s ease;
    stroke: #ffffff;
}

/* État Coché */
.chip:has(input:checked),
.chip.is-active {
    background: #fff5f5;
    border-color: var(--red);
    box-shadow: 0 3px 12px rgba(239, 33, 22, 0.12);
}
.chip:has(input:checked) .chip__check,
.chip.is-active .chip__check {
    background: var(--red);
    border-color: var(--red);
}
.chip:has(input:checked) .chip__check svg,
.chip.is-active .chip__check svg {
    opacity: 1;
    transform: scale(1);
}
.chip:has(input:checked) .chip__text,
.chip.is-active .chip__text {
    color: #0f172a;
    font-weight: 600;
}

.chip__text {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    line-height: 1.35;
}
.chip--full {
    grid-column: 1 / -1;
}

/* Champ Upload Moderne */
.drawer-file {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.drawer-file:hover {
    border-color: var(--red);
    background: #fff5f5;
}
.drawer-file__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.drawer-file__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
    min-width: 0;
}
.drawer-file__text .file__label {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.drawer-file__hint {
    font-size: 11.5px;
    color: #64748b;
}
.drawer-file__badge {
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.drawer-file:hover .drawer-file__badge {
    background: var(--red);
    border-color: var(--red);
    color: #ffffff;
}

/* Bouton Soumission Pro & Réassurance */
.drawer__submit {
    margin-top: 14px;
    padding: 15px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
    background: linear-gradient(135deg, #ef2116 0%, #dc180d 100%);
    box-shadow: 0 6px 20px rgba(239, 33, 22, 0.32);
    border: none;
    cursor: pointer;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
}
.drawer__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(239, 33, 22, 0.42);
}

.drawer__reassurance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 12px;
    color: #64748b;
    text-align: center;
    line-height: 1.4;
}
.drawer__reassurance svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Status Formulaire */
.form-status {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-top: 14px;
    display: none;
}
.form-status.is-success {
    display: block;
    background: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}
.form-status.is-error {
    display: block;
    background: #fef2f2;
    border: 1px solid var(--red);
    color: #991b1b;
}

/* ---------- 14. Pages Internes & Services (Modernes avec Bannière Image) ---------- */
.page-hero {
    position: relative;
    padding: clamp(68px, 9vw, 115px) 0 clamp(52px, 6vw, 80px);
    background: transparent;
    color: #ffffff;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.page-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-position: center center;
    filter: none;
    transition: transform 0.8s var(--ease);
}
.page-hero:hover .page-hero__bg {
    transform: scale(1.03);
}
.page-hero__overlay {
    display: none !important;
}
.page-hero__laser-line {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--red) 0%, #ff5247 30%, transparent 85%);
    box-shadow: 0 0 12px var(--red);
    z-index: 2;
}
.page-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
}
.page-hero__top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.breadcrumb-modern ol {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 7px 16px;
    background: rgba(0, 12, 32, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.breadcrumb-modern li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.breadcrumb-modern a {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s var(--ease);
}
.breadcrumb-modern a:hover {
    color: var(--red);
}
.breadcrumb-modern .sep {
    color: var(--red);
    font-weight: 700;
}
.breadcrumb-modern [aria-current="page"] {
    color: #ffffff;
    font-weight: 700;
}
.page-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    background: rgba(0, 12, 32, 0.7);
    border: 1px solid rgba(239, 33, 22, 0.6);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.page-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 10px var(--red);
    animation: pulse 2s infinite;
}
.page-hero__content {
    max-width: 800px;
    animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.page-hero__title {
    font-size: clamp(36px, 5.5vw, 62px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 12px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65), 0 0 30px rgba(0, 10, 28, 0.4);
}
.page-hero__lead {
    font-size: clamp(15.5px, 1.8vw, 18px);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}
.page-hero__badges-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
    animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(22px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(0, 12, 32, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 8px 16px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.hero-chip .icon {
    color: var(--red);
}

/* Layout Global de la Page de Service */
.service-detail-section {
    background: #ffffff;
    padding-bottom: 96px;
}
.service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: clamp(36px, 5vw, 64px);
    align-items: start;
    padding-top: clamp(48px, 6vw, 72px);
}

/* Colonne Principale (Article) */
.service-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.service-main__header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}
.service-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.service-kicker .kicker-line {
    width: 24px;
    height: 2px;
    background: var(--red);
}
.service-kicker .kicker-text {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--red);
}
.service-main__title {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

/* Chapô / Paragraphe Vedette */
.service-lead-card {
    background: linear-gradient(135deg, rgba(239, 33, 22, 0.03) 0%, rgba(248, 250, 252, 0.8) 100%);
    border: 1px solid rgba(239, 33, 22, 0.15);
    border-left: 4px solid var(--red);
    border-radius: 0 16px 16px 0;
    padding: clamp(20px, 3vw, 28px);
}
.service-lead-card p {
    font-size: clamp(16px, 1.8vw, 17.5px);
    line-height: 1.75;
    color: #1e293b;
    margin: 0;
}
.service-lead-card strong {
    color: var(--navy);
    font-weight: 700;
}

/* Figure / Image de Précision */
.service-figure {
    margin: 8px 0;
}
.service-figure__frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.1);
    background: #f1f5f9;
}
.service-figure__frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.service-figure__frame:hover img {
    transform: scale(1.04);
}
.service-figure__badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: rgba(0, 16, 41, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.service-figure__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 8px var(--red);
}

/* Prose Textuel Standard */
.service-prose p {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    margin: 0;
}
.service-prose strong {
    color: #0f172a;
    font-weight: 700;
}

/* Grille des Atouts Techniques */
.service-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 10px 0;
}
.highlight-item {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.3s var(--ease);
}
.highlight-item:hover {
    background: #ffffff;
    border-color: rgba(239, 33, 22, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.08);
}
.highlight-item__icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(239, 33, 22, 0.1);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.highlight-item__text h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 6px;
}
.highlight-item__text p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Bloc d'Appel à l'Action (CTA Devis Projet) */
.service-cta-card {
    background: linear-gradient(135deg, #001029 0%, #001a40 100%);
    border-radius: 20px;
    padding: clamp(28px, 4vw, 40px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(0, 16, 41, 0.25);
    margin-top: 16px;
}
.service-cta-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--red) 0%, #ff4d40 40%, transparent 80%);
}
.service-cta-card__body {
    max-width: 520px;
}
.cta-pill {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--red);
    background: rgba(239, 33, 22, 0.12);
    border: 1px solid rgba(239, 33, 22, 0.3);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.service-cta-card__body h3 {
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin: 0 0 10px;
}
.service-cta-card__body p {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}
.service-cta-card__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
@media (max-width: 640px) {
    /* Sur mobile, les boutons de l'encart prennent toute la largeur et leur texte peut passer à la ligne
       (« Demander un devis pour ce secteur » était coupé par la carte) */
    .service-cta-card__body,
    .service-cta-card__actions { width: 100%; min-width: 0; }
    .service-cta-card__actions .btn {
        width: 100%;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }
}

/* Sidebar & Boîtes d'Information */
.service-sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.sidebar-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 12px 30px -8px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.sidebar-box:hover {
    box-shadow: 0 18px 38px -8px rgba(15, 23, 42, 0.1);
}
.sidebar-box__head {
    margin-bottom: 18px;
    position: relative;
}
.sidebar-box__title {
    font-size: 18px;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}
.sidebar-box__bar {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

/* Liste Navigation Nos Services */
.sidebar-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sidebar-nav-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid transparent;
    transition: all 0.25s var(--ease);
}
.sidebar-nav-list a .num {
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    background: #ffffff;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    flex-shrink: 0;
    transition: all 0.25s var(--ease);
}
.sidebar-nav-list a .title {
    flex: 1;
}
.sidebar-nav-list a .icon {
    color: #cbd5e1;
    transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}
.sidebar-nav-list a:hover {
    background: #ffffff;
    border-color: rgba(239, 33, 22, 0.25);
    color: var(--red);
    transform: translateX(4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}
.sidebar-nav-list a:hover .num {
    border-color: var(--red);
    color: var(--red);
}
.sidebar-nav-list a:hover .icon {
    color: var(--red);
    transform: translateX(3px);
}
.sidebar-nav-list a.is-active {
    background: rgba(239, 33, 22, 0.08);
    border-color: rgba(239, 33, 22, 0.25);
    border-left: 4px solid var(--red);
    color: var(--red);
    font-weight: 700;
}
.sidebar-nav-list a.is-active .num {
    background: var(--red);
    border-color: var(--red);
    color: #ffffff;
}
.sidebar-nav-list a.is-active .icon {
    color: var(--red);
}

/* Carte Brochure 3D Sidebar */
.sidebar-brochure-box {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid rgba(226, 232, 240, 0.9);
    text-align: center;
}
.sidebar-brochure-box__img {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}
.sidebar-brochure-box__img img {
    height: 160px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.15));
    transition: transform 0.4s var(--ease);
}
.sidebar-brochure-box:hover .sidebar-brochure-box__img img {
    transform: translateY(-4px) scale(1.03);
}
.brochure-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--red);
    background: rgba(239, 33, 22, 0.08);
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 8px;
}
.sidebar-brochure-box p {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 16px;
}

/* Carte Contact Direct Sidebar */
.sidebar-contact-box {
    background: #001029;
    border-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}
.sidebar-contact-box .sidebar-box__title {
    color: #ffffff;
}
.sidebar-contact-box__sub {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 16px;
    line-height: 1.5;
}
.sidebar-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.sidebar-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sidebar-contact-list .icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(239, 33, 22, 0.15);
    border: 1px solid rgba(239, 33, 22, 0.3);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sidebar-contact-list small {
    display: block;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.sidebar-contact-list a, .sidebar-contact-list span {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    transition: color 0.2s;
}
.sidebar-contact-list a:hover {
    color: var(--red);
}
.sidebar-contact-box .btn--outline {
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}
.sidebar-contact-box .btn--outline:hover {
    border-color: var(--red);
    background: var(--red);
    color: #ffffff;
}

/* ==========================================================================
   Pages Secteurs & Industries Desservies (Mode Clair & Haute Précision)
   ========================================================================== */

/* Grille des Applications Métalliques (ex. Ascenseur) */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin: 16px 0 24px;
}
.app-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.25s var(--ease);
}
.app-card:hover {
    background: #ffffff;
    border-color: rgba(239, 33, 22, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -6px rgba(15, 23, 42, 0.08);
}
.app-card__check {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(239, 33, 22, 0.1);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.app-card__title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

/* Grille des Étapes de Production (ex. Structure Métallique) */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}
.process-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px -6px rgba(15, 23, 42, 0.05);
    transition: all 0.3s var(--ease);
}
.process-step-card:hover {
    border-color: rgba(239, 33, 22, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12);
}
.process-step-card__media {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #0f172a;
}
.process-step-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.process-step-card:hover .process-step-card__media img {
    transform: scale(1.06);
}
.process-step-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(239, 33, 22, 0.4);
}
.process-step-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.process-step-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 10px;
    line-height: 1.35;
}
.process-step-card__desc {
    font-size: 13.5px;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
}

/* Grille des Spécifications Techniques (ex. Coffrage béton / Réparation) */
.spec-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}
.spec-matrix-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.25s var(--ease);
}
.spec-matrix-card:hover {
    background: #ffffff;
    border-color: rgba(239, 33, 22, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -6px rgba(15, 23, 42, 0.06);
}
.spec-matrix-card__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(239, 33, 22, 0.1);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.spec-matrix-card__label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
    margin: 0;
}

/* Bloc des Autres Industries en bas de page */
.other-industries-section {
    background: #f8fafc;
    padding: clamp(60px, 8vw, 90px) 0;
    border-top: 1px solid #e2e8f0;
}
.other-industries-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 36px;
}
.other-industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}
.other-industry-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.other-industry-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--red);
    transition: width 0.3s var(--ease);
}
.other-industry-card:hover {
    transform: translateY(-3px);
    border-color: rgba(239, 33, 22, 0.3);
    box-shadow: 0 14px 30px -8px rgba(15, 23, 42, 0.08);
}
.other-industry-card:hover::before {
    width: 100%;
}
.other-industry-card__left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.other-industry-card__no {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 4px 8px;
    border-radius: 6px;
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.other-industry-card:hover .other-industry-card__no {
    background: var(--red);
    color: #ffffff;
}
.other-industry-card__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}
.other-industry-card:hover .other-industry-card__title {
    color: var(--red);
}
.other-industry-card__arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.other-industry-card:hover .other-industry-card__arrow {
    background: var(--red);
    color: #ffffff;
    transform: translateX(4px);
}

/* ==========================================================================
   Pages Blog & Actualités (Listing & Détail Article)
   ========================================================================== */

/* Page Listing Blog */
.blog-section {
    background: #ffffff;
    padding: clamp(56px, 7vw, 90px) 0 clamp(70px, 9vw, 110px);
}
.blog-featured-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08);
    margin-bottom: 56px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-featured-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 33, 22, 0.35);
    box-shadow: 0 28px 55px -14px rgba(15, 23, 42, 0.14);
}
.blog-featured-card__media {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    background: #0f172a;
}
.blog-featured-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}
.blog-featured-card:hover .blog-featured-card__media img {
    transform: scale(1.05);
}
.blog-featured-card__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(239, 33, 22, 0.4);
}
.blog-featured-card__body {
    padding: clamp(28px, 4vw, 44px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.blog-featured-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 14px;
}
.blog-featured-card__title {
    font-size: clamp(22px, 2.6vw, 32px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
    transition: color 0.2s ease;
}
.blog-featured-card:hover .blog-featured-card__title {
    color: var(--red);
}
.blog-featured-card__excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0 0 24px;
}
.blog-featured-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--red);
    transition: gap 0.2s ease;
}
.blog-featured-card:hover .blog-featured-card__btn {
    gap: 14px;
}

/* Grille des Articles Standard */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}
.blog-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.06);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 33, 22, 0.35);
    box-shadow: 0 22px 45px -10px rgba(15, 23, 42, 0.12);
}
.blog-card__media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #0f172a;
}
.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.blog-card:hover .blog-card__media img {
    transform: scale(1.06);
}
.blog-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 16, 41, 0.82);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.blog-card__body {
    padding: 24px 28px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 10px;
}
.blog-card__title {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.35;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}
.blog-card:hover .blog-card__title {
    color: var(--red);
}
.blog-card__excerpt {
    font-size: 14px;
    line-height: 1.65;
    color: #64748b;
    margin: 0 0 20px;
    flex-grow: 1;
}
.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--red);
    transition: gap 0.2s ease;
}
.blog-card:hover .blog-card__link {
    gap: 12px;
}

/* ==========================================================================
   Page Détail d'un Article Blog (Single Post)
   ========================================================================== */
.article-section {
    background: #ffffff;
    padding-bottom: 96px;
}
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: clamp(36px, 5vw, 64px);
    align-items: start;
    padding-top: clamp(48px, 6vw, 72px);
}
.article-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.article-cover {
    margin: 0 0 12px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.1);
}
.article-cover img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}
.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}
.article-body h2 {
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 800;
    color: var(--navy);
    margin: 36px 0 16px;
    position: relative;
    padding-left: 16px;
}
.article-body h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--red);
    border-radius: 2px;
}
.article-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy);
    margin: 28px 0 12px;
}
.article-body figure.media {
    margin: 28px 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    padding: 16px;
    text-align: center;
}
.article-body figure.media img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
}
.article-body figure.media figcaption {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

/* ==========================================================================
   Page Contact — Design Moderne & Épuré
   ========================================================================== */
.contact-section {
    background: #ffffff;
    padding: clamp(60px, 8vw, 96px) 0 clamp(80px, 10vw, 120px);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(36px, 5vw, 64px);
    align-items: start;
}
.contact-info-card {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    padding: clamp(28px, 4vw, 42px);
    box-shadow: 0 16px 40px -12px rgba(15, 23, 42, 0.07);
}
.contact-info-card__title {
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    line-height: 1.25;
}
.contact-info-card__desc {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.65;
    margin: 0 0 32px;
}
.contact-coords-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0 0 32px;
}
.contact-coord-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-coord-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(239, 33, 22, 0.1);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-coord-body small {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    margin-bottom: 2px;
}
.contact-coord-body strong,
.contact-coord-body a {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
    transition: color 0.2s ease;
}
.contact-coord-body a:hover {
    color: var(--red);
}
.contact-coord-body ul {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    font-size: 13.5px;
    color: #475569;
}
.contact-coord-body li {
    margin-bottom: 3px;
}

.contact-form-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 24px;
    padding: clamp(28px, 4vw, 44px);
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08);
}
.contact-form-card__head {
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e8f0;
}
.contact-map-wrapper {
    margin-top: 60px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 20px 45px -12px rgba(15, 23, 42, 0.08);
    height: 440px;
}
.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

@media (max-width: 992px) {
    /* minmax(0, 1fr) : les colonnes ne dépassent jamais la largeur de l'écran sur mobile */
    .blog-featured-card { grid-template-columns: minmax(0, 1fr); }
    .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .article-layout { grid-template-columns: minmax(0, 1fr); }
    .contact-grid > *,
    .article-layout > *,
    .blog-featured-card > * { min-width: 0; }
}

/* Rétrocompatibilité pour .ph et .ph__band */
.ph {
    position: relative;
    padding: clamp(56px, 8vw, 84px) 0 clamp(40px, 5vw, 60px);
    background: transparent;
    color: #ffffff;
    overflow: hidden;
    isolation: isolate;
    border-bottom: 3px solid var(--red);
}
.ph__band {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-position: center;
    filter: none;
    transform: none;
}
.ph::before {
    display: none;
}
.ph__crumbs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 14px;
}
.ph__crumbs a { color: #ffffff; }
.ph__crumbs a:hover { color: var(--red); }
.ph__crumbs i { font-style: normal; color: var(--red); }
.ph__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
    z-index: 1;
}
.ph__title {
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}
.ph__count { font-size: 14px; font-weight: 700; color: var(--red); }

@media (max-width: 1024px) {
    .service-layout {
        /* minmax(0, 1fr) : la colonne ne s'élargit jamais au-delà de l'écran
           (« 1fr » seul prenait la largeur minimale du contenu → défilement horizontal sur mobile) */
        grid-template-columns: minmax(0, 1fr);
    }
    .service-main,
    .service-sidebar {
        min-width: 0;
        max-width: 100%;
    }
    .service-sidebar {
        position: static;
        margin-top: 16px;
    }
}

.doc {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 48px;
    padding: 56px 0 96px;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.doc__aside {
    position: sticky;
    top: 90px;
    align-self: start;
    display: grid;
    gap: 28px;
}
.toc {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-sm);
}
.toc__title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-2);
    transition: all 0.2s var(--ease);
}
.toc a:hover, .toc a.is-active {
    background: var(--red-light);
    color: var(--red);
    font-weight: 600;
}
.toc a .mono { font-size: 11px; color: var(--text-muted); }
.toc a.is-active .mono { color: var(--red); }

.dl {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
}
.dl__title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.dl p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 14px; }
.dl__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--red);
    color: #ffffff;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    font-weight: 600;
}
.dl__btn:hover { background: var(--red-hover); color: #ffffff; }

.prose2 { font-size: 16.5px; line-height: 1.75; color: var(--text-2); }
.prose2 h2 { font-size: clamp(24px, 3vw, 36px); margin: 36px 0 16px; }
.prose2 h3 { font-size: clamp(20px, 2.2vw, 26px); margin: 28px 0 14px; }
.prose2 strong { color: var(--text); }
.prose2 figure { margin: 32px 0; }
.prose2 figure img { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 24px 0;
}
.spec {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.25s var(--ease);
}
.spec:hover {
    border-color: rgba(239, 33, 22, 0.4);
    background: #ffffff;
    box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}
.spec-icon {
    font-size: 26px;
    color: var(--red);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(239, 33, 22, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.spec-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.35;
}

.machine-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 28px 0;
}
.machine-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    box-shadow: 0 14px 34px -8px rgba(15, 23, 42, 0.08);
    transition: all 0.3s var(--ease);
    display: flex;
    flex-direction: column;
}
.machine-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12);
    border-color: rgba(239, 33, 22, 0.3);
}
.machine-card img {
    height: 52px;
    width: auto;
    object-fit: contain;
    margin-bottom: 18px;
    align-self: flex-start;
}
.machine-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 14px;
}
.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: #475569;
    font-weight: 500;
}
.checklist li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: rgba(239, 33, 22, 0.1);
    color: var(--red);
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}

.split {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(24px, 4vw, 44px);
    align-items: center;
    margin: 36px 0;
    padding: clamp(24px, 3vw, 36px);
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 20px;
}
.split--reverse {
    grid-template-columns: 1fr 1.1fr;
}
.split-body h2 {
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.split-body h2 .title-icon {
    color: var(--red);
    font-size: 28px;
}
.split-body p {
    font-size: 15.5px;
    line-height: 1.75;
    color: #334155;
    margin: 0 0 14px;
}
.split-body p:last-child {
    margin-bottom: 0;
}
.split-media {
    margin: 0;
}
.split-media img {
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.1);
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
@media (max-width: 768px) {
    .split, .split--reverse {
        grid-template-columns: 1fr;
    }
}

/* Contact page */
.contact2 {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    padding: 56px var(--gutter);
    max-width: var(--max-w);
    margin-inline: auto;
}
.contact2__info, .contact2__form {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(24px, 4vw, 40px);
    box-shadow: var(--shadow-sm);
}
.contact2__h { font-size: 22px; margin-bottom: 24px; }
.facts div { margin-bottom: 20px; }
.facts dt { font-size: 12.5px; font-weight: 700; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 16px; color: var(--text); font-weight: 600; }
.facts ul { list-style: none; padding: 0; margin: 6px 0 0; font-size: 14px; font-weight: normal; color: var(--text-2); }
.facts li { margin-bottom: 4px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 14px; }

.map2 { height: 420px; border-top: 1px solid var(--border); overflow: hidden; }
.map2 iframe { width: 100%; height: 100%; border: 0; }

/* ---------- 15. Switcher de Version Debug ---------- */
.switch3 {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 5px 8px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 4px;
}
.switch3 a {
    font-size: 11.5px;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-weight: 600;
}
.switch3 a:hover { color: var(--text); }
.switch3 a.is-on {
    background: var(--red);
    color: #ffffff;
}

/* ---------- 16. Responsive & Media Queries ---------- */
@media (max-width: 1024px) {
    /* Le flou (backdrop-filter) de l'en-tête rendait le menu « fixe » relatif à l'en-tête
       au lieu de l'écran : le panneau débordait et décalait toute la page. */
    .site-header {
        background: #ffffff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .burger {
        display: flex;
        position: relative;
        z-index: 160; /* au-dessus du panneau pour pouvoir le refermer */
    }
    .burger[aria-expanded="true"] { background: #ffffff; }
    .burger span { transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
    .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    body.nav-open::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 99; /* sous l'en-tête (100) qui contient le panneau du menu */
        background: rgba(15, 23, 42, 0.45);
        animation: navFade 0.25s ease;
    }
    @keyframes navFade { from { opacity: 0; } to { opacity: 1; } }
    .brand img { height: 68px; }
    .nav {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 340px;
        background: #ffffff;
        box-shadow: -10px 0 40px rgba(15, 23, 42, 0.15);
        padding: 80px 24px 40px;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 150;
    }
    .nav.is-open {
        transform: translateX(0);
    }
    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .nav__link {
        width: 100%;
        justify-content: space-between;
        padding: 12px 16px;
        font-size: 16px;
        border-radius: 10px;
    }
    .has-sub .sub {
        position: static;
        min-width: 0;
        box-shadow: none;
        border: 0;
        padding: 4px 0 8px 16px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .has-sub.is-open .sub {
        display: block;
    }
    .nav__cta {
        margin: 20px 0 0;
        width: 100%;
        justify-content: center;
    }
    .hero .hero__grid { grid-template-columns: 1fr; }
    .hero__media-card { max-width: 620px; margin: 0 auto; width: 100%; }
    .about__grid { grid-template-columns: 1fr; }
    .competence__head { grid-template-columns: 1fr; gap: 20px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .doc { grid-template-columns: 1fr; }
    .doc__aside { position: static; }
    .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .topbar { display: none; }
    .service-grid { grid-template-columns: 1fr; }
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .capabilities { grid-template-columns: 1fr; }
    .brochure-contact__grid { grid-template-columns: 1fr; }
    .post-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
    .form__grid, .grid2, .chips { grid-template-columns: 1fr; }
    .contact2 { grid-template-columns: 1fr; }
}

/* ---------- 18. Animations Fluides au Défilement (Scroll Reveal) ---------- */
.reveal,
.reveal-up,
.reveal-fade,
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-card {
    opacity: 0;
    will-change: opacity, transform;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal,
.reveal-up,
.reveal-fade {
    transform: translateY(32px);
}
.reveal-left {
    transform: translateX(-36px);
}
.reveal-right {
    transform: translateX(36px);
}
.reveal-scale {
    transform: scale(0.94);
}
.reveal-card {
    transform: translateY(28px);
}
@media (max-width: 1024px) {
    /* Sur mobile, les blocs arrivent par le bas plutôt que par les côtés :
       un décalage horizontal faisait dépasser la page et permettait de la faire glisser */
    .reveal-left,
    .reveal-right {
        transform: translateY(28px);
    }
}

/* Une fois visible à l'écran */
.is-revealed,
.is-visible {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* Délais en cascade (Stagger) pour les cartes et grilles */
.reveal-stagger > *:nth-child(1) { transition-delay: 0.04s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.22s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.28s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.34s; }
.reveal-stagger > *:nth-child(7) { transition-delay: 0.40s; }
.reveal-stagger > *:nth-child(8) { transition-delay: 0.46s; }
.reveal-stagger > *:nth-child(9) { transition-delay: 0.52s; }
.reveal-stagger > *:nth-child(10) { transition-delay: 0.58s; }
.reveal-stagger > *:nth-child(11) { transition-delay: 0.64s; }
.reveal-stagger > *:nth-child(12) { transition-delay: 0.70s; }

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-up, .reveal-fade, .reveal-left, .reveal-right, .reveal-scale, .reveal-card {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ==================== 19. BOUTON FLOTTANT & INTÉGRATION WHATSAPP ==================== */
.floating-whatsapp {
    position: fixed;
    bottom: 84px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.12);
    z-index: 98;
    text-decoration: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.18);
    color: #ffffff;
}

.floating-whatsapp__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.floating-whatsapp__icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.floating-whatsapp:hover .floating-whatsapp__icon {
    transform: scale(1.08) rotate(-6deg);
}

.floating-whatsapp__pulse {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.65);
    animation: wa-pulse 2.2s infinite;
    pointer-events: none;
}

@keyframes wa-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.floating-whatsapp__tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: #0b1728;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-whatsapp__tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #0b1728;
}

.floating-whatsapp:hover .floating-whatsapp__tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 78px;
        right: 18px;
        width: 48px;
        height: 48px;
    }
    .floating-whatsapp__icon {
        width: 24px;
        height: 24px;
    }
    .floating-whatsapp__icon svg {
        width: 24px;
        height: 24px;
    }
    .floating-whatsapp__tooltip {
        display: none;
    }
}

/* WhatsApp dans la barre supérieure */
.topbar__wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #25D366 !important;
    font-weight: 600;
    transition: color 0.2s ease;
}
.topbar__wa:hover {
    color: #1ebe5d !important;
}
.icon-whatsapp {
    fill: currentColor;
}

/* WhatsApp dans le Footer */
.footer__icon-box--wa {
    background: rgba(37, 211, 102, 0.12) !important;
    color: #25D366 !important;
}

.footer__socials {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.social--wa {
    border-color: rgba(37, 211, 102, 0.25) !important;
    color: #25D366 !important;
}
.social--wa:hover {
    background: #25D366 !important;
    border-color: #25D366 !important;
    color: #ffffff !important;
}
.social--wa:hover svg {
    color: #ffffff !important;
}

/* Page Contact — Coordonnées WhatsApp */
.contact-coord-item--wa {
    border-color: rgba(37, 211, 102, 0.25) !important;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.04) 0%, rgba(37, 211, 102, 0.01) 100%) !important;
}
.contact-coord-icon--wa {
    background: rgba(37, 211, 102, 0.12) !important;
    color: #25D366 !important;
}
.coord-badge--wa {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #128C7E;
    background: rgba(37, 211, 102, 0.14);
    padding: 2px 8px;
    border-radius: 10px;
    margin-top: 4px;
}
.coord-badge--wa::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #25D366;
    animation: wa-dot 1.5s infinite;
}
@keyframes wa-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.7); }
}
