/* ============================================================================
   AJP INT — feuille de style front (pages à blocs + gabarit de base).
   Charte : cf. CLAUDE.md — neutres dominants, vert #94B300 en CTA (texte encre),
   dégradé vert→jaune réservé aux détails de marque, Raleway/Lato.
   ============================================================================ */

:root {
    /* primaire */
    --green: #94B300; --green-dark: #7E9A00; --green-soft: #AEBF03;
    --yellow-soft: #D7CF03; --yellow: #EBD804;
    --gradient-primary: linear-gradient(to right, #94B300, #EBD804);
    /* secondaire / tertiaire */
    --orange-light: #FAA613; --orange: #F44708;
    --gradient-accent: linear-gradient(to right, #FAA613, #F44708);
    /* accents par famille produit - couleurs reprises telles quelles des
       vignettes /nos-produits/ (validé Arnaud, 08/09) : pilotent le CTA et
       les encarts des pages produit/catégorie via --pd-accent (cf. product.html.twig
       et category.html.twig). */
    --family-films: #F54707; --family-papiers: #007BFF; --family-coussins: #607D8B;
    --family-emballage: #8C5E3C;
    /* 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;
    --fs-display: 3rem; --fs-h1: 2.25rem; --fs-2xl: 1.875rem; --fs-xl: 1.5rem;
    --fs-lg: 1.3125rem; --fs-base: 1rem; --fs-sm: .875rem; --fs-xs: .8125rem;
    /* géométrie */
    --radius-sm: 4px; --radius: 10px; --radius-lg: 12px; --radius-pill: 24px;
    --shadow-card: 2px 2px 4px 1px rgba(0, 0, 0, .2);
    --shadow-soft: 0 10px 30px rgba(33, 33, 33, .10);
    --shadow-dropdown: 1px 4px 6px rgba(0, 0, 0, .2);
    /* header */
    --container: 1240px;
    --topbar-h: 40px; --mainbar-h: 76px;
}

/* ---------- Socle ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + var(--mainbar-h) + 10px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.55;
    color: var(--graphite);
    background: var(--white);
    padding-top: calc(var(--topbar-h) + var(--mainbar-h));
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; }
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-xl); font-weight: 700; }
h3 { font-size: var(--fs-lg); font-weight: 600; }
img { max-width: 100%; height: auto; }
a { color: var(--link); text-decoration: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 2px; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
/* Header/footer partagés avec la maquette (styles.css) : même largeur de
   conteneur partout (1240px, --container), pour que le fil du site ne
   change jamais de taille en passant d'une page à l'autre. */
.site-header .container, .site-footer .container { max-width: var(--container); padding: 0 28px; }
.container--narrow { max-width: 820px; }
.center { text-align: center; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--ink); color: var(--white); padding: .6rem 1rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--green); color: var(--ink);
    font: 700 var(--fs-base) var(--font-head);
    padding: .7rem 1.5rem; border-radius: var(--radius-pill);
    text-decoration: none; border: 2px solid transparent;
    transition: background .15s, transform .15s;
}
.btn:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn .arrow { font-weight: 400; }

/* ============================================================
   HEADER partagé avec la home (partial partials/header.html.twig).
   Barre fixe : topbar carbone (40px) + mainbar blanche (76px).
   Sélecteur de langue à drapeaux + menu déroulant « Secteurs ».
   ============================================================ */
.btn-nav { padding: 11px 20px; font-size: .9rem; }

.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; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-phone { font-size: .82rem; font-weight: 700; font-family: var(--font-head); color: rgba(255, 255, 255, .82); }
.topbar-phone:hover { color: var(--yellow); }
.topbar-phone i { color: var(--orange-light); margin-right: 5px; }
.lang-switch { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.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); border-bottom: 1px solid var(--border-light); }
.mainbar-inner { display: flex; align-items: center; justify-content: space-between; height: var(--mainbar-h); gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; }
.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; list-style: none; margin: 0; padding: 0; }
.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; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 60;
}
.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é desktop, affiché mobile (cf. media 768px). */
.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 de page ---------- */
.hero--page {
    position: relative; background: var(--white); border-bottom: 1px solid var(--border-light); color: var(--ink);
    padding: 4.5rem 0 3.5rem; overflow: hidden;
}
.hero--page::after {
    /* Forme arrondie signature (Rectangle-242) en filigrane, dégradé vert→jaune. */
    content: ""; position: absolute; right: -60px; bottom: -80px;
    width: 280px; height: 220px; border-radius: 140px 40px 140px 40px;
    background: linear-gradient(0.25turn, #EBD804, #94B300); opacity: .16;
    pointer-events: none;
}
.hero--img { background: var(--carbon); color: var(--white); }
.hero--img::before {
    content: ""; position: absolute; inset: 0;
    background: var(--hero-img) center / cover no-repeat; opacity: .35;
}
.hero--page .container { position: relative; }
.hero--img h1, .hero--img .breadcrumb, .hero--img .breadcrumb a { color: var(--white); }
.hero--page h1 { margin: .4rem 0 1.2rem; font-size: var(--fs-h1); }
.breadcrumb { font-size: var(--fs-xs); color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--border); }
.breadcrumb li[aria-current] { max-width: 52ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { text-decoration: underline; }
.hero--img .breadcrumb li + li::before { color: rgba(255, 255, 255, .45); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }

/* ---------- Sections & prose ---------- */
.section { padding: 3rem 0; }
.section--alt { background: var(--white); border-top: 1px solid var(--border-light); } /* fond gris refusé par le client (20/10) */
.section--flow + .section--flow { padding-top: 0; }
/* Espacement réglé bloc par bloc dans le builder (marge_haut / marge_bas, px).
   Placé après la règle --flow pour la surclasser ; réduit d'un tiers sur mobile. */
.section[data-pad-t] { padding-top: var(--pad-t); }
.section[data-pad-b] { padding-bottom: var(--pad-b); }
@media (max-width: 768px) {
    .section[data-pad-t] { padding-top: calc(var(--pad-t) * .67); }
    .section[data-pad-b] { padding-bottom: calc(var(--pad-b) * .67); }
}
.prose h2 { margin: 0 0 1rem; }
.prose p { margin: 0 0 1rem; }
/* Texte mis en forme au builder (éditeur riche / HTML libre) : intertitres,
   listes, citations, liens soulignés au fil du texte, tableaux. */
.prose h3, .split-body h3, .hero-chapo h3 { margin: 1.5rem 0 .6rem; font-size: 1.15rem; font-weight: 700; }
.prose h4, .split-body h4 { margin: 1.25rem 0 .5rem; font-size: 1rem; font-weight: 700; }
.prose ul, .prose ol, .split-body ul, .split-body ol, .hero-chapo ul, .hero-chapo ol { margin: 0 0 1rem; padding-left: 1.3rem; }
.prose li, .split-body li { margin-bottom: .35rem; }
.prose li::marker, .split-body li::marker { color: var(--green-dark, #7E9A00); }
.prose blockquote, .split-body blockquote { margin: 0 0 1rem; padding: .5rem 0 .5rem 1rem; border-left: 4px solid var(--green); color: var(--graphite); }
.prose p a, .prose li a, .split-body p a, .split-body li a, .hero-chapo a { text-decoration: underline; text-underline-offset: 3px; }
.html-libre table { width: 100%; border-collapse: collapse; margin: 0 0 1rem; font-size: var(--fs-sm); }
.html-libre th, .html-libre td { padding: .6rem .75rem; border: 1px solid var(--border-light); text-align: left; vertical-align: top; }
.html-libre th { background: var(--paper); font-family: var(--font-head); font-weight: 700; }
.html-libre img { border-radius: var(--radius); }
.html-libre iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius); }
.html-libre > :last-child, .prose > :last-child { margin-bottom: 0; }
.pd-tab-inner .html-libre { margin-bottom: 1rem; }
.eyebrow {
    display: inline-block; margin-bottom: .5rem;
    font: 700 var(--fs-xs) var(--font-head); letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted);
}
.lead { font-size: var(--fs-lg); }

/* ---------- Image + texte (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); display: block; }
/* Variante pour les visuels non recadrables (schémas, croquis techniques) :
   image entière visible sur fond papier plutôt que recadrée en 4:3. */
.split-media--contain img { aspect-ratio: auto; height: auto; object-fit: initial; border-radius: var(--radius-lg); }
/* Taille de l'image choisie dans le builder (bloc image + texte) : part de la
   largeur donnée à l'image, selon qu'elle est à gauche ou à droite. Desktop
   seulement : en dessous de 981px tout s'empile en une colonne. */
@media (min-width: 981px) {
    .split--img-petite.split--media-left  { grid-template-columns: 1fr 2fr; }
    .split--img-petite.split--media-right { grid-template-columns: 2fr 1fr; }
    .split--img-grande.split--media-left  { grid-template-columns: 2fr 1fr; }
    .split--img-grande.split--media-right { grid-template-columns: 1fr 2fr; }
    /* Largeur libre (curseur / poignée du builder) : --img-w = part de l'image. */
    .split--img-libre.split--media-left  { grid-template-columns: var(--img-w, 50%) minmax(0, 1fr); }
    .split--img-libre.split--media-right { grid-template-columns: minmax(0, 1fr) var(--img-w, 50%); }
}
.split-body h2 { margin: 0 0 1rem; }
.split-body p { margin: 0 0 1rem; }

/* ---------- Encarts (cartes avec visuel, cf. site d'origine) ---------- */
.encart-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 1.5rem; }
.encart-card {
    display: flex; flex-direction: column;
    background: var(--white); border: 1px solid var(--border-light);
    border-radius: var(--radius); overflow: hidden;
    transition: box-shadow .15s, transform .15s;
}
.encart-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.encart-media { display: block; position: relative; }
.encart-media img { width: 100%; height: 230px; object-fit: cover; display: block; }
.encart-media::after {
    /* filet signature sous le visuel, dégradé vert→jaune */
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
    background: var(--gradient-primary);
}
.encart-body { padding: 1.1rem 1.25rem 1.25rem; }
.encart-body h3 { margin: 0 0 .5rem; }
.encart-body h3 a { color: var(--ink); text-decoration: none; }
.encart-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; }
.encart-body p { margin: 0; color: var(--graphite); }
/* Variante « blog » (page Actualités) : 3 colonnes, visuel 16/9, extrait
   limité à 4 lignes, lien « Lire l'article » calé en pied de carte. Le lien
   du titre est étendu à toute la carte (::after) : une seule cible cliquable. */
.encart-grid--blog { grid-template-columns: repeat(3, 1fr); }
.encart-card--blog { position: relative; }
.encart-card--blog .encart-media img { height: auto; aspect-ratio: 16 / 9; }
.encart-card--blog .encart-body { display: flex; flex-direction: column; flex: 1; gap: .6rem; padding: 1.25rem 1.35rem 1.4rem; }
.encart-card--blog .encart-body h3 { margin: 0; font-size: 1.15rem; font-weight: 800; line-height: 1.3; }
.encart-card--blog .encart-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.encart-card--blog .encart-body h3 a:focus-visible { outline: none; }
.encart-card--blog:focus-within { outline: 3px solid var(--green); outline-offset: 2px; }
.encart-card--blog .encart-body > p {
    font-size: var(--fs-sm); line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.encart-more { margin-top: auto; padding-top: .4rem; font-family: var(--font-head); font-weight: 700; font-size: var(--fs-sm); color: var(--ink); }
.encart-more .arrow { display: inline-block; color: var(--green-dark, #7E9A00); transition: transform .15s; }
.encart-card--blog:hover .encart-more .arrow { transform: translateX(4px); }
.encart-card--blog:hover h3 a { text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .encart-card--blog:hover .encart-more .arrow { transform: none; } }

/* Liens de l'encart (produits d'une catégorie : code + descriptif court) */
/* Grille code | « : » | descriptif : la 1re colonne prend la largeur du code le
   plus long de l'encart, donc les deux-points sont alignés (subgrid). */
.encart-links { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; grid-template-columns: max-content max-content 1fr; column-gap: .45rem; }
.encart-links li {
    display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: baseline;
    margin-top: .5rem;
    color: var(--graphite); font-size: var(--fs-sm); line-height: 1.6;
}
.encart-links-txt { text-align: left; hyphens: none; } /* pas de justification : ça étirerait les descriptifs sur 2 lignes */
.encart-links-code { font: 800 .74rem var(--font-head); letter-spacing: .02em; color: var(--ink); }
.encart-links li::before { content: none; }
.encart-links a {
    display: inline-block; color: var(--pd-accent, var(--green-dark)); background: color-mix(in srgb, var(--pd-accent, var(--green)) 14%, white);
    font: 800 .74rem var(--font-head); letter-spacing: .02em; /* casse telle que saisie (« Crêpé 110g ») */
    padding: .15rem .5rem; border-radius: var(--radius-sm); text-decoration: none; justify-self: start;
}
.encart-links a:hover { background: var(--pd-accent, var(--green)); color: var(--pd-accent-text, var(--ink)); }

/* Carte « catégorie » (encart-card--prod avec liens) : photo vivante en cover,
   plus grande, plutôt que le petit visuel produit détouré sur fond papier -
   corrige l'effet "vide"/miniature relevé sur /nos-produits/. */
.encart-card--cat .encart-media { background: none; }
.encart-card--cat .encart-media img,
.encart-card--prod.encart-card--cat .encart-media img { height: 260px; object-fit: cover; padding: 0; }
.encart-card--cat .encart-body > p { font-size: var(--fs-base); color: var(--graphite); margin-bottom: .25rem; }

/* Variante « cartes produits » (style produits du bloc cartes) : même langage
   que les cartes produits de la maquette d'accueil — filet dégradé en tête,
   visuel entier sur fond papier, titre gras + code produit, flèche d'appel. */
.encart-grid--produits { grid-template-columns: repeat(3, 1fr); }
.encart-card--prod { border-radius: 0 0 var(--radius) var(--radius); }
.encart-card--prod::before { content: ""; height: 6px; flex: none; background: var(--pd-accent, var(--gradient-primary)); }
.encart-card--prod .encart-media { background: #fff; }
.encart-card--prod .encart-media img { height: 190px; object-fit: contain; padding: 1.25rem; }
.encart-card--prod .encart-media::after { display: none; }
.encart-card--prod .encart-body { position: relative; flex: 1; padding-bottom: 3.4rem; }
.encart-card--prod .encart-body h3 { font-size: 1.1rem; font-weight: 800; line-height: 1.3; margin-bottom: .25rem; }
.encart-card--prod .encart-body > p { font-size: var(--fs-sm); }
.encart-code { display: block; color: var(--pd-accent, var(--muted)); font-size: var(--fs-sm); margin-bottom: .5rem; }
.encart-go {
    position: absolute; left: 1.25rem; bottom: 1.1rem;
    width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--paper); color: var(--green-dark);
    font-weight: 700; transition: background .2s, color .2s, transform .2s;
}
.encart-card--prod:hover .encart-go { background: var(--pd-accent, var(--green)); color: var(--pd-accent-text, var(--ink)); transform: translateX(4px); }

/* ---------- Page catégorie de produits (gabarit dédié) ---------- */
.hero--category .hero-chapo { margin:1rem 0 0; max-width:62ch; }
.hero--category .hero-chapo p { margin:0 0 .6rem; font-size:1.05rem; line-height:1.5; color:var(--graphite); }
.hero--category .hero-chapo p:last-child { margin-bottom:0; }
.hero--category .hero-actions { margin-top:1.6rem; }
.btn-ghost { display:inline-flex; align-items:center; gap:.4rem; font:700 .92rem var(--font-head); color:var(--ink); padding:.7rem 0; }
.btn-ghost .arrow { transition:transform .15s; }
.btn-ghost:hover .arrow { transform:translateY(3px); }

.subnav { position:sticky; top:calc(var(--topbar-h) + var(--mainbar-h)); z-index:5; background:var(--white); border-bottom:1px solid var(--border-light); }
.subnav-inner { display:flex; gap:1.75rem; overflow-x:auto; padding:.85rem 0; }
.subnav a { flex:none; font:700 .84rem var(--font-head); color:var(--muted); white-space:nowrap; padding:.2rem 0; }
.subnav a:hover { color:var(--ink); }

.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:1.5rem; margin-bottom:1.5rem; flex-wrap:wrap; }
.section-head h2 { margin:0; }

/* Grille de références : mêmes proportions que .encart-grid--produits, avec
   des repères techniques (chips) en plus du visuel + texte. */
.ref-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:1.4rem; }
.ref-actions { margin-top:2rem; text-align:center; }
.ref-card {
    display:flex; flex-direction:column; background:var(--white);
    border:1px solid var(--border-light); border-radius:var(--radius); overflow:hidden;
    transition:box-shadow .15s, transform .15s, border-color .15s;
}
.ref-card:hover { box-shadow:var(--shadow-card); transform:translateY(-2px); border-color:var(--border); }
.ref-media { position:relative; background:var(--paper); overflow:hidden; }
.ref-media img { width:100%; height:195px; object-fit:cover; display:block; transition:transform .35s; }
.ref-card:hover .ref-media img { transform:scale(1.05); }
.ref-media::after { content:""; position:absolute; left:0; right:0; bottom:0; height:4px; background:var(--gradient-primary); }
.ref-body { padding:1.1rem 1.25rem 1.3rem; display:flex; flex-direction:column; gap:.55rem; flex:1; }
.ref-code {
    display:inline-block; font:800 .72rem var(--font-head); letter-spacing:.05em; text-transform:uppercase;
    color:var(--pd-accent, var(--green-dark)); background:color-mix(in srgb, var(--pd-accent, var(--green)) 12%, white);
    padding:.2rem .55rem; border-radius:var(--radius-sm); width:fit-content;
}
.ref-body h3 { margin:0; font-size:1.08rem; font-weight:800; }
.ref-body h3 a { color:var(--ink); text-decoration:none; }
.ref-body h3 a:hover { text-decoration:underline; text-decoration-color:var(--green); text-underline-offset:4px; }
.ref-diff { margin:0; font-size:.88rem; color:var(--graphite); flex:1; }
.ref-specs { display:flex; flex-wrap:wrap; gap:.4rem; }
.spec-chip {
    font:700 .72rem var(--font-head); padding:.28rem .6rem; border-radius:var(--radius-sm);
    background:var(--paper); color:var(--graphite); border:1px solid var(--border-light);
}
.spec-chip--sector { color:var(--green-dark); border-color:transparent; background:rgba(148, 179, 0, .13); }
.ref-link { display:inline-flex; align-items:center; gap:.4rem; margin-top:.2rem; font:700 .86rem var(--font-head); color:var(--ink); }
.ref-link .arrow { color:var(--green-dark); transition:transform .15s; }
.ref-card:hover .ref-link .arrow { transform:translateX(3px); }

/* Page catégorie (.category-page, cf. category.html.twig) : CTA devis et
   encarts (ref-card) teintés par famille via --pd-accent/--pd-accent-text
   (même accent que la fiche produit) - repli identité de marque sinon. */
.category-page .ref-actions .btn { background:var(--pd-accent, var(--green)); color:var(--pd-accent-text, var(--ink)); }
.category-page .ref-actions .btn:hover { background:var(--pd-accent, var(--green-dark)); filter:brightness(.88); }
.category-page .ref-media::after { background:var(--pd-accent, var(--gradient-primary)); }
.category-page .ref-code { color:var(--pd-accent, var(--muted)); }
.category-page .ref-body h3 a:hover { text-decoration-color:var(--pd-accent, var(--green)); }
.category-page .ref-link .arrow { color:var(--pd-accent, var(--green-dark)); }

.sector-cloud { display:flex; flex-wrap:wrap; gap:.6rem; }
.sector-tag { font:600 .86rem var(--font-body); color:var(--graphite); padding:.5rem 1rem; border-radius:var(--radius-pill); background:var(--white); border:1px solid var(--border); }

/* ---------- FAQ ---------- */
.faq { margin-top: 1.5rem; }
.faq-item {
    background: var(--white); border: 1px solid var(--border-light);
    border-radius: var(--radius); margin-bottom: .6rem; overflow: hidden;
}
.faq-item summary {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: .9rem 1.1rem; cursor: pointer; list-style: none;
    font: 600 var(--fs-base) var(--font-head); color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-sign { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq-sign::before, .faq-sign::after {
    content: ""; position: absolute; inset: 0; margin: auto;
    background: var(--green-dark); border-radius: 1px;
}
.faq-sign::before { width: 14px; height: 2px; }
.faq-sign::after { width: 2px; height: 14px; transition: transform .15s; }
.faq-item[open] .faq-sign::after { transform: scaleY(0); }
.faq-body { padding: 0 1.1rem .9rem; }
.faq-body p { margin: 0; }

/* ---------- Bandeau CTA ---------- */
.cta-band {
    background: var(--carbon); color: var(--white);
    border-radius: var(--radius-lg); padding: 2.5rem 2rem; text-align: center;
    position: relative; overflow: hidden;
}
.cta-band::before {
    /* filet supérieur signature en dégradé primaire */
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--gradient-primary);
}
.cta-band h2 { color: var(--white); margin: 0 0 .6rem; }
.cta-band .lead { color: rgba(255, 255, 255, .9); margin: 0 0 1.2rem; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Image seule / galerie / liste / vidéo ---------- */
.media-figure { margin: 0; text-align: center; }
.media-figure img { border-radius: var(--radius-lg); }
/* Taille choisie dans le builder (bloc image) ; pleine largeur sous 768px. */
.media-figure--grande, .media-figure--moyenne, .media-figure--petite { margin-left: auto; margin-right: auto; }
.media-figure--libre { max-width: var(--img-w, 100%); margin-left: auto; margin-right: auto; }
.media-figure--libre img { width: 100%; height: auto; }
.media-figure--grande  { max-width: 75%; }
.media-figure--moyenne { max-width: 50%; }
.media-figure--petite  { max-width: 33.333%; }
.media-figure--grande img, .media-figure--moyenne img, .media-figure--petite img { width: 100%; height: auto; }
@media (max-width: 768px) { .media-figure--grande, .media-figure--moyenne, .media-figure--petite, .media-figure--libre { max-width: 100%; } }
.media-figure figcaption { margin-top: .6rem; font-size: var(--fs-sm); color: var(--muted); }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius); display: block; }
/* Légende = nom du produit fini représenté (galerie « applications »). */
.gallery-item { margin: 0; }
.gallery-item figcaption {
    margin-top: .55rem; font-family: var(--font-head); font-weight: 600;
    font-size: var(--fs-sm); color: var(--graphite); line-height: 1.35;
}

/* Documents à télécharger (fiches techniques PDF) */
.doc-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; }
.doc-item a {
    display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem;
    background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius);
    text-decoration: none; color: inherit; transition: box-shadow .15s, border-color .15s;
}
.doc-item a:hover { border-color: var(--green); box-shadow: var(--shadow-card); }
.doc-ico {
    flex: 0 0 auto; padding: .3rem .5rem; border-radius: var(--radius-sm);
    background: var(--ink); color: var(--white);
    font: 700 var(--fs-xs)/1 var(--font-head); letter-spacing: .04em;
}
.doc-body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.doc-label { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.doc-desc { font-size: var(--fs-sm); color: var(--muted); }
.doc-meta { margin-left: auto; flex: 0 0 auto; font-size: var(--fs-xs); color: var(--muted); }

.block-list { padding-left: 1.2rem; }
.block-list li { margin-bottom: .4rem; }
.block-list li::marker { color: var(--green-dark); }

.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--carbon); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.video-caption { margin-top: .6rem; font-size: var(--fs-sm); color: var(--muted); text-align: center; }

/* ---------- Fiche produit (structure reprise de mdv-group.com) ----------
   Deux colonnes 50/50 : texte + onglets à gauche, colonne de photos légendées
   à droite. Onglets sans JavaScript (radios masquées + :checked). */
.product-detail { padding: 2rem 0 3.5rem; }
.product-detail .breadcrumb { margin-bottom: 1.25rem; }
.pd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.pd-col { min-width: 0; }
/* Colonne photos « collante » sur desktop : l'image reste visible pendant
   qu'on fait défiler les onglets, jusqu'à la fin des deux colonnes (elle
   repart ensuite avec la page, avant la section Documents). Désactivé quand
   les colonnes s'empilent (≤ 980px). */
@media (min-width: 981px) {
    .pd-col--images { position: sticky; top: calc(var(--topbar-h) + var(--mainbar-h) + 1.25rem); }
}
.pd-col--text h1 { margin: 0 0 .75rem; font-size: var(--fs-h1); }
.pd-lead { margin: 0 0 1.5rem; font-size: var(--fs-lg); line-height: 1.45; color: var(--graphite); }

/* Barre d'onglets : l'onglet actif prend le vert de marque, texte encre. */
.pd-tabs { position: relative; }
.pd-tab-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pd-tab-nav { display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 0; list-style: none; }
.pd-tab-nav li { margin: 0; }
.pd-tab-nav label {
    display: block; padding: .55rem 1.1rem; cursor: pointer;
    background: var(--border-light); color: var(--graphite);
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    font: 700 var(--fs-sm)/1.4 var(--font-head);
}
.pd-tab-nav label:hover { background: #E4E4E0; color: var(--ink); }
.pd-tab-wrapper { background: var(--white); border: 1px solid var(--border-light); border-radius: 0 var(--radius) var(--radius) var(--radius); }
.pd-tab { display: none; }
.pd-tab-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pd-tab-inner { padding: 1.5rem; }
.pd-tab-inner > :first-child { margin-top: 0; }
.pd-tab-inner > :last-child { margin-bottom: 0; }
.pd-tab-inner h3 { margin: 1.5rem 0 .6rem; font-size: var(--fs-base); }
.pd-tab-inner p { margin: 0 0 1rem; }
.pd-tab-inner ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.pd-tab-inner li { margin-bottom: .35rem; }
.pd-tab-inner li::marker { color: var(--green-dark); }

#pdtab-info:checked ~ .pd-tab-nav label[for="pdtab-info"],
#pdtab-specs:checked ~ .pd-tab-nav label[for="pdtab-specs"],
#pdtab-secteurs:checked ~ .pd-tab-nav label[for="pdtab-secteurs"],
#pdtab-docs:checked ~ .pd-tab-nav label[for="pdtab-docs"] { background: var(--pd-accent, var(--green)); color: var(--pd-accent-text, var(--ink)); }
#pdtab-info:checked ~ .pd-tab-wrapper .pd-tab--info,
#pdtab-specs:checked ~ .pd-tab-wrapper .pd-tab--specs,
#pdtab-secteurs:checked ~ .pd-tab-wrapper .pd-tab--secteurs,
#pdtab-docs:checked ~ .pd-tab-wrapper .pd-tab--docs { display: block; }
/* Focus clavier : l'anneau se voit sur l'onglet, la radio étant masquée. */
#pdtab-info:focus-visible ~ .pd-tab-nav label[for="pdtab-info"],
#pdtab-specs:focus-visible ~ .pd-tab-nav label[for="pdtab-specs"],
#pdtab-secteurs:focus-visible ~ .pd-tab-nav label[for="pdtab-secteurs"],
#pdtab-docs:focus-visible ~ .pd-tab-nav label[for="pdtab-docs"] { outline: 2px solid var(--green-dark); outline-offset: -2px; }

/* Sous-onglets (ex. plusieurs technologies dans l'onglet Secteurs) : pilules
   discrètes, plus légères que la barre d'onglets principale. */
.pd-subtab-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.pd-subtab-nav li { margin: 0; }
.pd-subtab-nav label {
    display: block; padding: .4rem .9rem; cursor: pointer;
    background: var(--white); border: 1px solid var(--border); color: var(--graphite);
    border-radius: var(--radius-pill);
    font: 700 var(--fs-xs)/1.4 var(--font-head);
}
.pd-subtab-nav label:hover { border-color: var(--green); color: var(--ink); }
.pd-subtab { display: none; }
.pd-subtab-wrapper > :first-child { margin-top: 0; }

/* Documents (fiches techniques) : section pleine largeur SOUS les colonnes, pas
   un onglet - tout doit rester visible sans clic. */
.pd-docs { margin: 2.5rem 0 0; }
.pd-docs h2 { font-size: var(--fs-xl); margin: 0 0 1rem; }
.pd-docs .data-table.downloads { margin-bottom: 1.5rem; }
.pd-docs .tech-table-wrap:last-child { margin-bottom: 0; }

/* Tableau technique (grille grammage/référence × finition, cellules PDF ou texte) */
.tech-table-wrap {
    overflow-x: auto; margin: 0 0 1.5rem; padding: 2px;
    border: 2px solid var(--pd-accent, var(--green)); border-radius: var(--radius);
}
.tech-table-wrap:last-child { margin-bottom: 0; }
.tech-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.tech-table th, .tech-table td { border: 1px solid var(--border-light); padding: .5rem .75rem; text-align: center; white-space: nowrap; }
.tech-table thead th { background: var(--paper); font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.tech-table tbody th { background: var(--paper); font-weight: 600; text-align: left; white-space: nowrap; }
.tech-table td a { color: var(--link); text-decoration: none; }
.tech-table td a:hover { text-decoration: underline; }
.tech-table tbody tr:hover { background: rgba(148, 179, 0, .06); }

/* Secteurs d'application : cartes titre + texte, 2 colonnes desktop. */
.sector-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin: 0 0 1.5rem; }
.sector-card h3, .sector-card h4 { margin: 0 0 .4rem; font-size: var(--fs-base); }
.sector-card p { margin: 0; }
@media (max-width: 700px) { .sector-grid { grid-template-columns: 1fr; } }

/* Tableaux (caractéristiques, documents) : lignes libellé / valeur. */
.data-table { display: table; width: 100%; }
.data-row { display: table-row; }
.data-row > div { display: table-cell; padding: .5rem 0; border-bottom: 1px solid var(--border-light); }
.data-row:last-child > div { border-bottom: 0; }
/* Même police/couleur que l'onglet Info (retour client 20/10 : la police des caractéristiques détonnait) */
.data-row .label { font-family: var(--font-body); font-weight: 700; color: var(--ink); width: 35%; vertical-align: top; }
.data-row .value { text-align: left; color: var(--graphite); padding-left: 1rem; word-break: break-word; }
@media (max-width: 560px) { .data-row, .data-row > div { display: block; width: auto; padding: 0; } .data-row .label { padding-top: .5rem; } .data-row .value { padding: .15rem 0 .5rem; } }
.data-table.downloads .label { width: 70%; font-weight: 600; }
.data-table.downloads .value { text-align: left; white-space: nowrap; }
.data-table.downloads a { color: var(--link); text-decoration: none; }
.data-table.downloads a:hover { text-decoration: underline; }

/* Colonne de photos : une seule diapo affichée à la fois, pilotée par des
   radios masquées + CSS (:checked) — même procédé zéro-JS que les onglets.
   AUCUNE ancre : l'URL n'est jamais modifiée quand on change de photo.
   Les règles « radio coché → diapo/vignette correspondante » sont générées
   dans le gabarit (product.html.twig) pour le nombre exact de photos. */
.pd-gallery { position: relative; }
.pd-img-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pd-slides { position: relative; border-radius: var(--radius); }
.pd-slide { display: none; margin: 0; }
.pd-gallery--solo .pd-slide { display: block; }   /* une seule photo : pas de radio, on l'affiche */
.pd-slide-media { position: relative; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
/* Photo affichée à 100 % : pleine largeur de la colonne, proportions
   d'origine, jamais rognée (plus de cadrage forcé en 4/3 + cover). */
.pd-slide-media img { width: 100%; height: auto; display: block; }
.pd-slide .caption {
    display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
    margin-top: .45rem; font-size: var(--fs-sm); line-height: 1.4; color: var(--muted);
}
.pd-count { flex: 0 0 auto; font-size: var(--fs-xs); color: var(--border); }
.pd-gallery--solo .pd-count { display: none; }

/* Flèches (labels) posées sur la photo : changent la radio cochée, sans ancre. */
.pd-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
    background: rgba(255, 255, 255, .92); color: var(--ink);
    font: 700 1.4rem/1 var(--font-head); user-select: none;
    box-shadow: var(--shadow-soft);
}
.pd-nav:hover { background: var(--green); }
.pd-nav--prev { left: .6rem; }
.pd-nav--next { right: .6rem; }

/* Vignettes (labels) sous la photo. */
.pd-thumbs {
    display: flex; flex-wrap: wrap; gap: .5rem; margin: .75rem 0 0; padding: 0; list-style: none;
}
.pd-thumbs li { margin: 0; }
.pd-thumb { display: block; border: 1px solid var(--border-light); border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; }
.pd-thumb:hover { border-color: var(--green); }
.pd-thumb img { display: block; width: 62px; height: 48px; object-fit: cover; }

/* Bandeau CTA administrable, sous la galerie (bloc « cta » de la fiche produit).
   Couleur du bouton pilotée par --pd-accent/--pd-accent-text (accent de
   famille produit posé sur <article class="product-detail">, cf.
   product.html.twig) - repli dégradé/vert de marque si aucune famille. */
/* Encart « Un besoin spécifique ? » : sans fond (demande client 20/10),
   contenu aligné à droite sur le bord de l'image ; seul le filet coloré
   du produit reste en haut. */
.pd-cta {
    margin-top: 1.5rem; padding: 1.2rem 0 0;
    text-align: right;
    border-top: 3px solid var(--pd-accent, transparent);
    border-image: var(--pd-accent, var(--gradient-primary)) 1;
}
.pd-cta h2 { margin: 0 0 .4rem; font-size: var(--fs-xl); }
.pd-cta p { margin: 0 0 1rem; color: var(--graphite); font-weight: 700; }
.pd-cta > :last-child { margin-bottom: 0; }
.pd-cta .btn { background: var(--pd-accent, var(--green)); color: var(--pd-accent-text, var(--ink)); }
.pd-cta .btn:hover { background: var(--pd-accent, var(--green-dark)); filter: brightness(.88); }

/* Section texte pleine largeur, sous les deux colonnes (bloc « texte_large »). */
.pd-free { margin: 2.5rem 0 0; }
.pd-free h2 { font-size: var(--fs-xl); margin: 0 0 .8rem; }

/* ============================================================
   FOOTER partagé avec la home (partial partials/footer.html.twig).
   ============================================================ */
.site-footer { background: var(--carbon); color: rgba(255, 255, 255, .72); padding: 44px 0 0; margin-top: 3rem; }
.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; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 11px; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--yellow); }
.footer-links a { font-size: .96rem; }
.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; }
/* Label d'engagement (vrai logo FSC) sous l'adresse - centré, sans encart. */
.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; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .split { grid-template-columns: 1fr; gap: 1.5rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .encart-grid { grid-template-columns: 1fr; }
    .encart-grid--produits { grid-template-columns: repeat(2, 1fr); }
    .ref-grid { grid-template-columns: repeat(2, 1fr); }
    .specs-grid { grid-template-columns: repeat(2, 1fr); }
    .encart-grid--blog { grid-template-columns: repeat(2, 1fr); }
    /* Fiche produit : les deux colonnes s'empilent (texte puis photos). */
    .pd-row { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 560px) {
    .encart-grid--produits { grid-template-columns: 1fr; }
    .ref-grid { grid-template-columns: 1fr; }
    .encart-grid--blog { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .specs-grid { grid-template-columns: 1fr; }
    .pd-tab-nav label { padding: .5rem .8rem; }
    .data-row > div { display: block; border-bottom: 0; }
    .data-row { display: block; padding-bottom: .5rem; border-bottom: 1px solid var(--border-light); }
    .data-row .value { text-align: left; padding-left: 0; }
}

@media (max-width: 768px) {
    h1, .hero--page h1 { font-size: 1.75rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }

    /* Topbar : claim + numéro masqués, langues seules à droite. */
    .topbar-claim { display: none; }
    .topbar-phone { display: none; }
    .topbar-inner { justify-content: flex-end; }

    /* Bouton d'appel flottant (pastille verte, 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); }

    /* Menu mobile : panneau latéral blanc (piloté par main.js). */
    .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; }
}

@media (max-width: 480px) {
    .lang-switch .lc { display: none; }   /* drapeaux seuls sur très petit écran */
    .call-fab { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}

/* ---------- Sobriété d'animation ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

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