/* ============================================================
   AJP — Front home
   Source de vérité : /home/debian/ajp/CLAUDE.md
   Blanc dominant · dégradé vert→jaune en signature · orange = CTA only
   Raleway (titres/UI) + Lato (corps)
   ============================================================ */

:root {
    /* Primaire — dégradé vert→jaune (image Rectangle-242) */
    --green: #94B300; --green-dark: #7E9A00; --green-soft: #AEBF03; --yellow-soft: #D7CF03; --yellow: #EBD804;
    --gradient-primary: linear-gradient(to right, #94B300, #EBD804);
    /* Secondaire / tertiaire — orange (CTA) */
    --orange-light: #FAA613; --orange: #F44708;
    --gradient-accent: linear-gradient(to right, #FAA613, #F44708);
    /* Neutres */
    --ink: #212121; --graphite: #424242; --muted: #4C4C4C; --carbon: #201A26;
    --white: #FFFFFF; --paper: #F7F7F5; --border: #CCCCCC; --border-light: #DDDDDD;
    --link: #405CB4;

    /* Typo */
    --font-head: 'Raleway', -apple-system, "Segoe UI", sans-serif;
    --font-body: 'Lato', 'Raleway', -apple-system, sans-serif;

    /* Géométrie / ombres (charte) */
    --radius-sm: 4px; --radius: 10px; --radius-lg: 12px; --radius-pill: 24px;
    --shadow-card: 2px 2px 4px 1px rgba(0,0,0,.20);
    --shadow-soft: 0 10px 30px rgba(33,33,33,.10);

    --container: 1240px;
    --topbar-h: 40px;
    --mainbar-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + var(--mainbar-h) + 10px); }
body {
    font-family: var(--font-body); color: var(--graphite); background: var(--white);
    font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; font-weight: 700; }

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

/* ---------- Eyebrow (sur-titre, tick dégradé primaire = signature) ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-head); font-size: .82rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 16px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 30px; height: 4px; border-radius: 2px; background: var(--gradient-primary); }
.eyebrow::after { background: linear-gradient(to left, var(--green), var(--yellow)); }
.eyebrow-light { color: #fff; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .55em;
    font-family: var(--font-head); font-weight: 700; font-size: .98rem;
    padding: 14px 28px; border-radius: var(--radius-pill); border: 2px solid transparent;
    cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s, color .2s;
    white-space: nowrap;
}
/* CTA en vert de marque + texte encre (le vert clair impose un texte sombre) */
.btn-accent { background: var(--green); color: var(--ink); box-shadow: 0 6px 18px rgba(148,179,0,.30); }
.btn-accent:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(148,179,0,.40); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-nav { padding: 11px 20px; font-size: .9rem; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ============================================================
   HEADER
   ============================================================ */
/* Barre de menu toujours blanche (topbar carbone) — l'ombre apparaît au scroll */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: var(--shadow-soft); }
.topbar { background: var(--carbon); color: rgba(255,255,255,.82); height: var(--topbar-h); overflow: hidden; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: var(--topbar-h); }
.topbar-claim { font-family: var(--font-head); font-size: .76rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-phone { font-size: .82rem; font-weight: 700; font-family: var(--font-head); }
.topbar-phone i { color: var(--orange-light); margin-right: 5px; }
.lang-switch { display: flex; gap: 2px; }
.lang-switch a { display: flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: .74rem; font-weight: 600; padding: 4px 8px; border-radius: 4px; color: rgba(255,255,255,.8); transition: .2s; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.active { background: var(--gradient-primary); color: var(--ink); }
.flag { width: 20px; height: 14px; flex-shrink: 0; display: block; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.18); }
.flag svg { display: block; width: 100%; height: 100%; }

.mainbar { background: var(--white); }
.mainbar-inner { display: flex; align-items: center; justify-content: space-between; height: var(--mainbar-h); }
/* Logo transparent, agrandi */
.logo img { height: 58px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-list a { position: relative; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); padding: 8px 13px; border-radius: 5px; transition: color .2s; }

/* Dropdown « Secteur d'activité » */
.has-dropdown { position: relative; }
.dropdown-caret { font-size: .7em; margin-left: 4px; transition: transform .25s ease; }
.dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 210px;
    background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius);
    box-shadow: var(--shadow-dropdown); padding: 6px; list-style: none;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 60;
}
/* filet signature en haut du menu */
.dropdown::before {
    content: ""; position: absolute; top: -1px; left: 14px; right: 14px; height: 3px;
    border-radius: 2px; background: var(--gradient-primary);
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover > .dropdown-toggle .dropdown-caret,
.has-dropdown.open > .dropdown-toggle .dropdown-caret { transform: rotate(180deg); }
.dropdown a { display: block; color: var(--ink); font-weight: 600; font-size: .9rem; padding: 10px 14px; border-radius: var(--radius-sm); white-space: nowrap; }
.dropdown a::after { display: none; }
.dropdown a:hover, .dropdown a:focus { background: var(--paper); color: var(--ink); }

/* Bouton d'appel flottant — masqué sur desktop, affiché sur mobile */
.call-fab { display: none; }
.call-fab-icon { width: 24px; height: 24px; display: block; fill: #fff; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 70vh; display: flex; align-items: center; overflow: hidden;
    background: var(--carbon) url("/wp-content/uploads/2026/10/hero-accueil-hd.webp") center/cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(32,26,38,.82) 0%, rgba(32,26,38,.5) 40%, rgba(32,26,38,.66) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; text-align: center; padding: 150px 28px 90px; }
.hero-content .eyebrow { justify-content: center; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 3.4rem); font-weight: 800; line-height: 1.06; margin-bottom: 22px; }
.hero-subtitle { color: rgba(255,255,255,.9); font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 650px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; z-index: 2; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 1.2rem; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ============================================================
   SHOWREEL — vidéo de présentation (dans le corps de page)
   ============================================================ */
.showreel-frame { max-width: 960px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.showreel-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--carbon); }
/* Le lecteur MediaElement (habillage du site actuel) occupe tout le cadre. */
.showreel-frame .mejs-container { width: 100% !important; }

/* ============================================================
   PAGE INTERNE — bandeau de titre (pages secteurs, etc.)
   ============================================================ */
.page-hero { position: relative; overflow: hidden;
    background: var(--carbon) url("/wp-content/uploads/2026/10/hero-accueil-hd.webp") center/cover no-repeat; }
.page-hero-overlay { position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(32,26,38,.86) 0%, rgba(32,26,38,.62) 100%); }
.page-hero-content { position: relative; z-index: 2; max-width: 860px;
    padding: calc(var(--topbar-h) + var(--mainbar-h) + 64px) 28px 64px; margin: 0 auto; text-align: center; }
.page-hero-content .eyebrow { justify-content: center; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 800; margin-bottom: 18px; }
.page-hero p { color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.6vw, 1.15rem); max-width: 640px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px;
    font-family: var(--font-head); font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.65); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: rgba(255,255,255,.45); }
.breadcrumb [aria-current] { color: var(--yellow); }

/* ---------- Page secteur : enjeux / réponses ---------- */
.sector-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; max-width: 980px; margin: 0 auto; }
.sector-points li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--border-light); }
.sector-points i { color: var(--green); font-size: 1.05rem; flex-shrink: 0; margin-top: 4px; }
.sector-points strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); margin-bottom: 4px; }
.sector-points p { color: var(--graphite); font-size: .96rem; }

/* ---------- Page secteur : renvoi vers les autres secteurs ---------- */
.sector-nav { border-top: 1px solid var(--border-light); padding: 34px 0; background: var(--white); }
.sector-nav-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 26px; }
.sector-nav-label { font-family: var(--font-head); font-size: .82rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sector-nav a { position: relative; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); padding: 6px 2px; }
.sector-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px;
    background: var(--gradient-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.sector-nav a:hover::after { transform: scaleX(1); }

/* ---------- Page « Secteurs d'activité » : sommaire des 4 secteurs ---------- */
.sectors-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.sector-tile {
    position: relative; display: flex; flex-direction: column; gap: 14px;
    background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius);
    padding: 32px 28px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.sector-tile::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient-primary); }
.sector-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.sector-tile-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--paper); color: var(--green); font-size: 1.3rem; }
.sector-tile h3 { font-size: 1.3rem; font-weight: 800; margin: 0; }
.sector-tile p { color: var(--graphite); font-size: .96rem; margin: 0; }
.sector-tile-go { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-top: auto; }
.sector-tile-go i { transition: transform .2s; }
.sector-tile:hover .sector-tile-go i { transform: translateX(4px); }

/* ============================================================
   FICHE PRODUIT — caractéristiques & documentation
   ============================================================ */
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: start; max-width: 1080px; margin: 0 auto; }
.specs-grid h3 { font-size: 1.2rem; margin-bottom: 6px; }
.specs-sub { margin-top: 34px; }
.doc-list { margin-top: 8px; border-top: 1px solid var(--border-light); }
.doc-list li { border-bottom: 1px solid var(--border-light); }
.doc-list a { display: flex; align-items: center; gap: 12px; padding: 14px 0;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); transition: color .2s; }
.doc-list i { color: var(--orange); font-size: 1.05rem; }
.doc-list a:hover { color: var(--link); }

/* ============================================================
   PAGE CONTACT — formulaire + coordonnées
   ============================================================ */
/* Moins de vide en haut de section que le générique .section (clamp 72-120px) :
   sur cette page précisément, le formulaire (et son repli cotation) doivent
   remonter au maximum sous la ligne de flottaison. */
#formulaire { padding-top: 1.75rem; }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start; }
.contact-title { font-size: clamp(1.6rem, 2.8vw, 2rem); margin-bottom: 28px; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.contact-form label { font-family: var(--font-head); font-size: .86rem; font-weight: 600; color: var(--ink); }
.contact-form label span { color: var(--green); }
.contact-form input:not([type="checkbox"]), .contact-form textarea {
    width: 100%; font-family: var(--font-body); font-size: .96rem; color: var(--ink);
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.contact-form textarea { resize: vertical; min-height: 90px; }
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(148,179,0,.25); }

/* Consentement RGPD */
.consent { display: flex; align-items: flex-start; gap: 10px; }
.consent input { width: 17px; height: 17px; margin-top: 3px; flex-shrink: 0; accent-color: var(--green); }
.consent label { font-family: var(--font-body); font-weight: 400; font-size: .9rem; color: var(--graphite); }

.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-note { font-size: .9rem; color: var(--muted); }

/* Coordonnées (encart) */
.contact-aside { position: relative; background: var(--paper); border: 1px solid var(--border-light);
    border-radius: var(--radius); padding: 34px 30px; overflow: hidden; }
/* filet signature en haut de l'encart */
.contact-aside::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient-primary); }
.contact-aside h3 { font-size: 1.25rem; margin-bottom: 24px; }
.contact-details li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border-light); }
.contact-details li:first-child { padding-top: 0; }
.contact-details i { color: var(--orange-light); font-size: 1.05rem; flex-shrink: 0; margin-top: 4px; }
.contact-details strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--ink); margin-bottom: 3px; }
.contact-details p { color: var(--graphite); font-size: .96rem; }
.contact-details a { color: var(--link); }
.contact-details a:hover { text-decoration: underline; }
.contact-reassurance { margin-top: 22px; font-size: .92rem; color: var(--muted); }

/* ============================================================
   CHIFFRES CLÉS
   ============================================================ */
.capacity { border-bottom: 1px solid var(--border-light); background: var(--white); }
.capacity-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.cap { padding: 54px 30px; border-left: 1px solid var(--border-light); }
.cap:first-child { border-left: 0; }
.cap-fig { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 3.2rem); color: var(--ink); line-height: 1; }
.cap-unit { display: block; margin-top: 10px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--green); }
.cap-desc { display: block; margin-top: 4px; color: var(--muted); font-size: .92rem; }

/* ============================================================
   SECTIONS génériques
   ============================================================ */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-paper { background: var(--white); border-top: 1px solid var(--border-light); } /* fond gris refusé par le client (20/10) : blanc partout */
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.section-intro { color: var(--muted); font-size: 1.1rem; margin-top: 16px; }

/* ---------- FLOW (séquence de production) ---------- */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.flow::before { content: ""; position: absolute; top: 14px; left: 8%; right: 8%; height: 3px; background: var(--gradient-primary); }
.flow-step { position: relative; padding: 44px 30px 8px; border-left: 1px solid var(--border-light); }
.flow-step:first-child { border-left: 0; }
.flow-step::before { content: ""; position: absolute; top: 8px; left: 30px; width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
.flow-index { font-family: var(--font-head); font-size: .9rem; font-weight: 800; letter-spacing: .08em; color: var(--green); }
.flow-step h3 { font-size: 1.35rem; margin: 10px 0; }
.flow-step p { color: var(--graphite); }

/* ---------- SPLIT (texte / image) ---------- */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media img { width: 100%; height: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.split-text h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 22px; }
.split-text > p { color: var(--graphite); font-size: 1.06rem; margin-bottom: 16px; }
.split-text .btn { margin-top: 14px; }

.datasheet { margin-top: 8px; border-top: 1px solid var(--border-light); }
.datasheet li { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--border-light); }
.ds-key { color: var(--graphite); }
.ds-val { font-family: var(--font-head); font-weight: 700; color: var(--ink); white-space: nowrap; }

/* ---------- SERVICE ---------- */
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; max-width: 920px; margin: 0 auto; }
.service-list li { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border-light); font-size: 1.06rem; color: var(--ink); }
.service-list i { color: var(--green); font-size: .95rem; flex-shrink: 0; }

/* ---------- PRODUITS ---------- */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
    position: relative; display: block; background: var(--white);
    border: 1px solid var(--border-light); border-top: 4px solid var(--accent, var(--green));
    border-radius: 0 0 var(--radius) var(--radius); padding: 24px 22px 108px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.product-cat { display: block; font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.product-title { font-size: 1.15rem; font-weight: 800; line-height: 1.3; margin: 0; }
.product-code { display: block; color: var(--graphite); font-size: .94rem; font-weight: 400; margin-top: 4px; }
.product-go { position: absolute; left: 22px; bottom: 20px; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--paper); color: var(--accent, var(--green)); border: 2px solid transparent; transition: .2s; }
.product-go img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card:hover .product-go { border-color: var(--accent, var(--green)); transform: translateX(4px); }

/* ============================================================
   CTA — forme signature dégradé + bouton orange
   ============================================================ */
.cta { padding: clamp(64px, 8vw, 96px) 0; background: var(--white); border-top: 1px solid var(--border-light); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; overflow: hidden; }
.cta-shape { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 280px; opacity: .9; pointer-events: none; z-index: 0; }
.cta-text { position: relative; z-index: 1; }
.cta-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-text p { color: var(--muted); font-size: 1.1rem; margin-top: 8px; }
.cta-inner .btn { position: relative; z-index: 1; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--carbon); color: rgba(255,255,255,.72); padding: 44px 0 0; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 52px; }
.footer-logo { background: #fff; padding: 16px 22px; border-radius: var(--radius-sm); height: 88px; width: auto; margin-bottom: 22px; }
.site-footer address { font-style: normal; }
.site-footer address p { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; font-size: .96rem; }
.site-footer address i { color: var(--orange-light); margin-top: 5px; width: 1.25em; text-align: center; flex-shrink: 0; }
.site-footer .foot-capital { padding-left: calc(1.25em + 12px); }
.footer-col .footer-title { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.02rem; margin-bottom: 18px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: .96rem; transition: color .2s; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0; font-size: .84rem; color: rgba(255,255,255,.45); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.footer-contact { display: table; } /* largeur = contenu (adresse), pas toute la colonne */
.footer-badges { display: flex; justify-content: center; margin: .8rem 0 0; padding: 0; list-style: none; }
.footer-badge { display: block; }
.footer-badge img { height: 72px; width: auto; display: block; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-scroll { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .capacity-inner { grid-template-columns: repeat(2, 1fr); }
    .cap:nth-child(3) { border-left: 0; }
    .cap:nth-child(n+3) { border-top: 1px solid var(--border-light); }
}
@media (max-width: 768px) {
    .topbar-claim { display: none; }
    .topbar-phone { display: none; }   /* numéro masqué sur mobile uniquement */
    .topbar-inner { justify-content: flex-end; }
    /* Bouton d'appel flottant — pastille ronde (CTA vert, icône encre — cf. charte) */
    .call-fab {
        display: inline-flex; align-items: center; justify-content: center;
        position: fixed; right: 16px; bottom: 16px; z-index: 90;
        width: 56px; height: 56px; border-radius: 50%;
        background: var(--green); color: var(--ink);
        box-shadow: 0 6px 18px rgba(0,0,0,.22);
        transition: background .2s ease, transform .2s ease;
    }
    .call-fab:hover, .call-fab:focus-visible { background: var(--green-dark); transform: translateY(-2px); }
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed; top: calc(var(--topbar-h) + var(--mainbar-h)); right: 0;
        width: min(84vw, 360px); height: calc(100vh - var(--topbar-h) - var(--mainbar-h));
        background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 22px;
        box-shadow: -12px 0 32px rgba(0,0,0,.14); transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
    }
    .main-nav.open { transform: translateX(0); }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list a, .site-header.scrolled .nav-list a { color: var(--ink); padding: 15px 8px; border-bottom: 1px solid var(--border-light); border-radius: 0; }
    /* Dropdown en accordéon sur mobile */
    .has-dropdown { position: static; }
    .dropdown-toggle { display: flex; align-items: center; justify-content: space-between; }
    .dropdown {
        position: static; min-width: 0; border: 0; border-radius: 0; box-shadow: none; padding: 0;
        opacity: 1; visibility: hidden; transform: none; max-height: 0; overflow: hidden;
        transition: max-height .3s ease, visibility .3s;
    }
    .dropdown::before { display: none; }
    .has-dropdown.open > .dropdown { visibility: visible; max-height: 320px; }
    .dropdown a { padding-left: 24px; font-size: .9rem; background: var(--paper); }
    .dropdown li:last-child a { border-bottom: 1px solid var(--border-light); }
    .btn-nav { margin-top: 18px; justify-content: center; }
    .flow { grid-template-columns: 1fr; }
    .flow::before { display: none; }
    .flow-step { border-left: 0; border-top: 1px solid var(--border-light); padding: 36px 0 8px; }
    .flow-step:first-child { border-top: 0; }
    .flow-step::before { left: 0; }
    .split-grid { grid-template-columns: 1fr; gap: 32px; }
    #equipement .split-media, #rd .split-media { order: -1; }
    .service-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .sector-points { grid-template-columns: 1fr; }
    .sectors-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .specs-grid { grid-template-columns: 1fr; gap: 34px; }
    .cta-shape { display: none; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    /* --- Optimisations mobile générales --- */
    .container { padding: 0 18px; }
    .section { padding: clamp(48px, 11vw, 72px) 0; }
    .section-head { margin-bottom: 36px; }
    .hero { min-height: 78vh; }
    .hero-content { padding: 140px 18px 72px; }
    .hero h1 { margin-bottom: 16px; }
    .hero-subtitle { margin-bottom: 28px; }
    /* CTA hero empilés et pleine largeur dès la tablette */
    .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    /* CTA bas de page pleine largeur */
    .cta-inner .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
    .lang-switch .lc { display: none; }   /* drapeaux seuls sur très petit écran */
    .contact-form { grid-template-columns: 1fr; }
    .form-actions .btn { width: 100%; justify-content: center; }
    .products-grid, .capacity-inner { grid-template-columns: 1fr; }
    .cap { border-left: 0; border-top: 1px solid var(--border-light); }
    .cap:first-child { border-top: 0; }
    .hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.4rem); }
    .hero-subtitle { font-size: 1rem; }
    /* La pastille d'appel ne masque pas la flèche de scroll du hero */
    .call-fab { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

/* ─── Messages du formulaire de contact (succès / erreurs serveur) ─── */
.form-alert{grid-column:1/-1;border-radius:10px;padding:1rem 1.25rem;font-size:.9375rem;line-height:1.55;margin-bottom:.5rem}
.form-alert--ok{background:#F4F8E3;border:1px solid #94B300;color:#212121}
.form-alert--error{background:#FDF1EF;border:1px solid #C0392B;color:#212121}
.form-alert ul{margin:.25rem 0 0 1.1rem;padding:0}
/* Champ piège anti-robots : hors écran, jamais visible ni focusable au clavier. */
.cf-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* reCAPTCHA v3 : badge flottant masqué (il recouvrait la pastille d'appel),
   remplacé par la mention Google obligatoire sous le bouton d'envoi. */
.grecaptcha-badge { visibility: hidden; }
.form-recaptcha { margin: 0; font-size: var(--fs-xs, .8125rem); color: var(--muted); line-height: 1.55; }
.form-recaptcha a { color: var(--link); }

/* ─── Zone « cotation » du formulaire de contact ───
   Repli <details> facultatif : les clients qui connaissent leur cotation
   renseignent les caractéristiques de leurs bobines (mère / fille / autres). */
.cotation-zone { border: 1px solid var(--border-light); border-radius: var(--radius); background: var(--paper); }
.cotation-zone summary {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px; cursor: pointer; list-style: none;
    font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--ink);
}
.cotation-zone summary::-webkit-details-marker { display: none; }
.cotation-zone summary i { color: var(--green); font-size: .9rem; }
.cotation-zone summary::after {
    content: '\f067'; /* plus Font Awesome (« (+) » demandé par le client) */
    font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .8rem;
    margin-left: auto; color: var(--green);
}
.cotation-zone[open] summary::after { content: '\f068'; /* minus */ }
.cotation-zone summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: var(--radius); }
.cotation-body { display: flex; flex-direction: column; gap: 22px; padding: 4px 18px 20px; }
.cotation-hint { margin: 0; font-size: .875rem; line-height: 1.55; color: var(--muted); }
.cotation-fieldset { border: 0; padding: 0; margin: 0; }
.cotation-fieldset legend { font-family: var(--font-head); font-size: .9rem; font-weight: 700; color: var(--ink); padding: 0; }
/* Filet signature discret sous le titre de section (dégradé de marque). */
.cotation-fieldset legend::after { content: ''; display: block; width: 34px; height: 3px; margin-top: 5px; border-radius: 2px; background: var(--gradient-primary); }
/* Bobine mère / bobine fille côte à côte (2 colonnes), empilées en mobile. */
.cotation-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; align-items: start; }
.cotation-duo .cotation-grid { grid-template-columns: repeat(2, 1fr); }
/* Séparateur pointillé entre bobine mère et bobine fille : points ronds espacés,
   teintés du dégradé primaire (comme les tirets sous les légendes). Vertical côte
   à côte, horizontal une fois empilées. Masque radial = points sur le dégradé. */
.cotation-duo > .cotation-fieldset + .cotation-fieldset { position: relative; padding-left: 26px; }
.cotation-duo > .cotation-fieldset + .cotation-fieldset::before {
    content: ''; position: absolute; left: -2px; top: 0; bottom: 0; width: 4px;
    background: linear-gradient(to bottom, var(--green), var(--yellow));
    -webkit-mask: radial-gradient(circle, #000 1.6px, transparent 2px) center top / 4px 12px repeat-y;
            mask: radial-gradient(circle, #000 1.6px, transparent 2px) center top / 4px 12px repeat-y;
}
@media (max-width: 992px) {
    .cotation-duo { grid-template-columns: 1fr; row-gap: 40px; }
    .cotation-duo > .cotation-fieldset + .cotation-fieldset { padding-left: 0; }
    .cotation-duo > .cotation-fieldset + .cotation-fieldset::before { content: none; }
    /* Empilé : le trait est accroché sous la bobine mère (dans un fieldset, le
       positionnement absolu part sous la légende, d'où ce choix). */
    .cotation-duo > .cotation-fieldset:first-child { position: relative; }
    .cotation-duo > .cotation-fieldset:first-child::after {
        content: ''; position: absolute; left: 0; right: 0; bottom: -22px; height: 4px;
        background: var(--gradient-primary);
        -webkit-mask: radial-gradient(circle, #000 1.6px, transparent 2px) left center / 12px 4px repeat-x;
                mask: radial-gradient(circle, #000 1.6px, transparent 2px) left center / 12px 4px repeat-x;
    }
}}
/* Sélecteur plus spécifique que .cotation-grid : il faut redire le repli mobile. */
@media (max-width: 480px) { .cotation-duo .cotation-grid { grid-template-columns: 1fr; } }
/* Grille à 2 rangées virtuelles (libellés / champs) partagées par toute la
   ligne via subgrid : un libellé plus long (ex. « Quantité (nombre de
   feuilles) ») qui passe sur 2 lignes ne désaligne plus les champs voisins
   d'une même rangée, quel que soit le nombre de colonnes (repli mobile inclus). */
.cotation-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; gap: 14px 16px; margin-top: 14px; }
.cotation-grid .field { display: grid; grid-template-rows: subgrid; grid-row: span 2; gap: 7px; }
.cotation-grid .field label { font-weight: 600; font-size: .8125rem; }
/* Champs communs (matière / épaisseur / emballage) : 3 colonnes. */
.cotation-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 992px) { .cotation-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cotation-grid { grid-template-columns: 1fr; } }

/* ---------- Texte courant justifié (demande client 23/10/2026) ---------- */
main p, main li { text-align: justify; }
.hero-content p, .page-hero-content p, .section-head p { text-align-last: center; }
@media (max-width: 768px) { main p, main li { hyphens: auto; -webkit-hyphens: auto; } }
