/*
 * DEKTA Expertises : feuille de style unique (pas de framework).
 * Charte figée du brief : couleurs du logo en variables (jamais de couleur en dur ailleurs), Source Serif 4 (titres)
 * et Manrope (texte) auto-hébergées, rayons 12 / 6 / 10 / 8 px, conteneur 1240 px, sections 88 px (64 px en mobile).
 * Interdits : dégradés, ombres (sauf la pastille du hero), bordures gauches colorées, animations au défilement.
 */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-variable.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  --navy: #002750;
  --navy-deep: #0B3561;
  --navy-ink: #0F1A28;
  --green: #00592F;
  --green-soft: #8FD3A8;
  --ink: #1A2330;
  --muted: #4A5668;
  --faint: #6B7786;
  --line: #E6EAF0;
  --surface: #F4F6F9;
  --white: #FFFFFF;
  --line-strong: #C9D2DE;
  --on-navy: #C6D2DF;
  --footer-text: #AEB9C7;
  --footer-line: #243246;
  --alert: #B42318;
  --alert-bg: #FDECEA;
  --succes-bg: #E7F3EC;
  --focus-champ: rgba(0, 89, 47, 0.25);
  --ombre-pastille: 0 8px 24px rgba(0, 39, 80, 0.12);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 24px;
  --section: 88px;
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; font-weight: 500; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.5px; color: var(--navy); }
h1 { font-size: 58px; line-height: 1.08; }
h2 { font-size: 42px; line-height: 1.12; }
h3, .titre-carte { font-family: var(--sans); font-weight: 700; font-size: 21px; line-height: 1.3; color: var(--navy); letter-spacing: 0; }
strong { font-weight: 700; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 12px 18px; border-radius: 6px; font-weight: 700; }
.evitement:focus { top: 12px; color: var(--white); }
.bandeau-env { margin: 0; background: var(--navy-ink); color: var(--white); font-size: 13px; text-align: center; padding: 6px var(--gutter); }
mark.a-valider { background: var(--alert-bg); color: var(--alert); font-weight: 700; font-size: 0.85em; padding: 1px 5px; border-radius: 4px; }
.note-section { font-size: 14px; }

/* ------------------------------------------------------------------ Mise en page */
.cadre { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.cadre-texte { max-width: 868px; }
.cadre-lecture { width: 100%; max-width: 768px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section-grise { background: var(--surface); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.empile { display: flex; flex-direction: column; gap: 40px; }
.deux-colonnes { display: flex; flex-wrap: wrap; gap: 56px; }
.deux-colonnes > * { flex: 1 1 440px; min-width: 0; }
.deux-colonnes.centre { align-items: center; }
.colonne-texte { display: flex; flex-direction: column; gap: 18px; }
.colonne-texte p { color: var(--muted); line-height: 1.7; }
.titre-section { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 20px; }
.titre-section h2 { max-width: 640px; }
.titre-section p { color: var(--muted); max-width: 440px; line-height: 1.6; }
.intro-section { color: var(--muted); max-width: 860px; line-height: 1.7; margin-top: -16px; }
.texte-grand { font-size: 17px; line-height: 1.7; color: var(--muted); }
.mention { font-size: 14px; color: var(--faint); }

/* ------------------------------------------------------------------ Éléments */
.surtitre { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green); line-height: 1.4; }
.surtitre-trait::before { content: ""; width: 28px; height: 2px; background: var(--green); flex: none; }
.section-navy .surtitre { color: var(--green-soft); }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 16px 26px; border-radius: 6px; font: 700 16px/1.2 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; text-align: center; }
.btn-primaire { background: var(--navy); color: var(--white); }
.btn-primaire:hover { background: var(--navy-deep); color: var(--white); }
.btn-action { background: var(--green); color: var(--white); }
.btn-action:hover { background: var(--navy); color: var(--white); }
.btn-secondaire { border-color: var(--line-strong); color: var(--navy); background: transparent; padding: 15px 25px; }
.btn-secondaire:hover { border-color: var(--navy); color: var(--navy); }
.lien-fleche { font-weight: 700; font-size: 15px; color: var(--navy); text-decoration: none; align-self: flex-start; }
a.lien-fleche:hover { color: var(--green); text-decoration: underline; }
.puces { display: flex; flex-direction: column; gap: 12px; }
.puces li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; color: var(--ink); }
.puces li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-top: 8px; flex: none; }
.puces-deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; padding-top: 6px; }
.puces-deux li { font-size: 15px; font-weight: 600; }
.puces-clair li { color: var(--on-navy); font-size: 15px; }
.puces-clair li::before { background: var(--green-soft); }
.image-arrondie img, img.image-arrondie { border-radius: 12px; width: 100%; height: 320px; object-fit: cover; }
[data-photo-attente] { display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 12px; min-height: 200px; padding: 20px; color: var(--faint); font-size: 14px; text-align: center; }

/* ------------------------------------------------------------------ En-tête et menu plein écran (tous écrans) */
.tete { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.tete-grille { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.tete-logo { display: block; flex: none; }
.tete-logo img { height: 52px; width: auto; }
.tete-actions { display: flex; align-items: center; gap: 22px; }
.tete-tel { font-weight: 700; font-size: 15px; color: var(--navy); text-decoration: none; white-space: nowrap; }
.tete-tel:hover { color: var(--green); text-decoration: underline; }
.langue { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 10px; border-radius: 6px; color: var(--navy); font: 700 14px/1 var(--sans); letter-spacing: .06em; text-decoration: none; }
.langue:hover { color: var(--green); text-decoration: underline; }
.menu-langue { margin: 0; }
.menu-contact .langue { color: var(--white); border: 1.5px solid rgba(255, 255, 255, .4); }
.menu-contact .langue::before { content: "FR · "; opacity: .6; }
.menu-contact .langue[hreflang="fr"]::before { content: "EN · "; }
.btn-tete { padding: 13px 22px; font-size: 15px; }
.burger { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 18px 0 14px; border: 1.5px solid var(--line-strong); border-radius: 6px; background: var(--white); color: var(--navy); font: 700 15px/1 var(--sans); cursor: pointer; }
.burger:hover { border-color: var(--navy); }
.burger-icone { display: flex; align-items: center; width: 22px; height: 16px; }
.burger-trait, .burger-trait::before, .burger-trait::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .2s, background-color .2s; }
.burger-trait::before, .burger-trait::after { content: ""; position: absolute; left: 0; }
.burger-trait::before { top: -7px; }
.burger-trait::after { top: 7px; }
.burger[aria-expanded="true"] .burger-trait { background: transparent; }
.burger[aria-expanded="true"] .burger-trait::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-trait::after { transform: translateY(-7px) rotate(-45deg); }

.menu-panneau { position: fixed; inset: 0; z-index: 90; background: var(--white); overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .25s, transform .25s, visibility 0s .25s; }
.menu-panneau[data-ouvert] { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s, visibility 0s; }
body.menu-ouvert { overflow: hidden; }
.menu-haut { border-bottom: 1px solid var(--line); }
.menu-grille { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: 48px; padding-top: 56px; padding-bottom: 56px; }
.menu-bloc { display: flex; flex-direction: column; gap: 22px; }
.menu-expertises-liste { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.menu-expertises-liste a { display: flex; gap: 20px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy); }
.menu-numero { font: 700 13px/1 var(--sans); color: var(--green); letter-spacing: 1px; flex: none; width: 24px; }
.menu-intitule { display: flex; flex-direction: column; gap: 6px; font: 500 26px/1.2 var(--serif); letter-spacing: -0.3px; }
.menu-detail { font: 500 14px/1.4 var(--sans); color: var(--faint); letter-spacing: 0; }
.menu-expertises-liste a:hover .menu-intitule, .menu-expertises-liste a[aria-current="page"] .menu-intitule { color: var(--green); }
.menu-expertises-liste a:hover { padding-left: 12px; transition: padding .2s; }
.menu-cabinet { display: flex; flex-direction: column; gap: 4px; }
.menu-liens-secondaires { display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.menu-liens-secondaires a { display: inline-block; padding: 6px 0; font: 600 16px/1.3 var(--sans); color: var(--navy); text-decoration: none; }
.menu-liens-secondaires a:hover, .menu-liens-secondaires a[aria-current="page"] { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.menu-cabinet a { display: inline-block; padding: 8px 0; font: 700 19px/1.3 var(--sans); color: var(--navy); text-decoration: none; }
.menu-cabinet a:hover, .menu-cabinet a[aria-current="page"], .menu-cabinet a[data-actif] { color: var(--green); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu-contact { background: var(--navy); color: var(--on-navy); border-radius: 12px; padding: 32px; align-self: start; }
.menu-contact .surtitre { color: var(--green-soft); }
.menu-experts { display: flex; flex-direction: column; gap: 18px; }
.menu-experts li { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.45; }
.menu-experts strong { color: var(--white); font-size: 16px; }
.menu-experts a { color: var(--white); font-weight: 700; font-size: 17px; text-decoration: none; margin-top: 4px; }
.menu-experts a:hover { color: var(--green-soft); text-decoration: underline; }
.menu-adresse { font-size: 14px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.menu-contact .btn-action:hover { background: var(--white); color: var(--navy); }

/* ------------------------------------------------------------------ Hero */
.hero { padding: 72px 0 64px; }
.hero-interieur { padding: 56px 0 64px; }
.hero-court { padding: 48px 0 56px; }
.hero-court .cadre { display: flex; flex-direction: column; gap: 20px; }
.hero-court .texte-grand { max-width: 760px; }
.hero-grille { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-texte { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero-interieur .hero-texte { gap: 24px; }
.hero h1 { max-width: 640px; }
.hero-interieur h1 { font-size: 54px; }
.chapo { font-size: 19px; line-height: 1.65; color: var(--muted); max-width: 560px; }
.sous-titre { font-size: 21px; line-height: 1.5; color: var(--navy); font-weight: 600; }
.agrements { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 8px; }
.agrements-titre { font-size: 13px; color: var(--faint); font-weight: 600; }
.agrements img { height: 44px; width: auto; }
.hero-mosaique { flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; position: relative; }
.hero-mosaique picture img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; }
.hero-mosaique .mosaique-grande { grid-column: span 2; }
.hero-mosaique .mosaique-grande img { height: 300px; }
.pastille { position: absolute; left: 20px; top: 20px; background: var(--white); border-radius: 8px; padding: 14px 18px; display: flex; flex-direction: column; gap: 3px; box-shadow: var(--ombre-pastille); font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.35; }
.pastille span { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--green); }
.hero-empile { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.hero-empile img { width: 100%; object-fit: cover; border-radius: 12px; }
.empile-haute img { height: 330px; }
.empile-basse img { height: 200px; }
.hero-telephone { flex: 1 1 360px; min-width: 0; display: flex; justify-content: center; }
.hero-telephone img { width: auto; max-height: 520px; }
.ariane ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--faint); }
.ariane li { display: flex; gap: 8px; }
.ariane li + li::before { content: "›"; }
.ariane a { color: var(--faint); text-decoration: none; }
.ariane a:hover { color: var(--green); text-decoration: underline; }
.ariane [aria-current] { color: var(--navy); font-weight: 600; }

/* ------------------------------------------------------------------ Cartes */
.carte { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.carte-corps { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.carte-corps p, .carte-texte { color: var(--muted); font-size: 15px; line-height: 1.65; }
.grille-expertises { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.carte-expertise picture img { width: 100%; height: 180px; object-fit: cover; }
.carte-expertise .carte-corps { padding: 24px; }
.carte-expertise .surtitre, .carte-article .surtitre, .carte-proovit .surtitre { font-size: 12px; letter-spacing: 1px; }
.carte-expertise .lien-fleche, .carte-article .lien-fleche { margin-top: auto; padding-top: 8px; font-size: 14px; }
a.carte:hover { border-color: var(--line-strong); color: var(--ink); }
a.carte:hover h3, a.carte:hover .titre-carte, a.carte:hover .lien-fleche { color: var(--green); }
.aussi { font-size: 15px; color: var(--muted); }
.aussi a { font-weight: 700; }
.grille-cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grille-cartes .carte picture img { width: 100%; height: 170px; object-fit: cover; }
.grille-cartes h3 { font-size: 20px; }
.carte-grise { background: var(--surface); }
.section-grise .carte-grise { background: var(--white); }
.carte-photo picture, .carte-photo img { height: 100%; }
.carte-photo img { width: 100%; min-height: 260px; object-fit: cover; }
.grille-cartes .carte-photo picture img { height: 100%; }
.encadre { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 28px 32px; display: flex; flex-direction: column; gap: 8px; }
.section-grise .encadre { background: var(--white); }
.section:not(.section-grise) .encadre { background: var(--surface); }
.encadre-titre { font-weight: 700; color: var(--navy); font-size: 17px; }
.encadre p:not(.encadre-titre) { color: var(--muted); line-height: 1.7; }
.encart { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 32px; display: flex; flex-direction: column; gap: 16px; align-self: flex-start; }
.pourquoi h2 { font-size: 38px; }
.mosaique-methode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mosaique-methode img { width: 100%; height: 170px; object-fit: cover; border-radius: 10px; }
.mosaique-methode .mosaique-grande { grid-column: span 2; }
.mosaique-methode .mosaique-grande img { height: 220px; }
.partenaires { display: flex; flex-wrap: wrap; gap: 20px; }
.carte-lmei { flex: 1 1 540px; min-width: 0; padding: 36px; gap: 14px; }
.carte-lmei img { height: 64px; width: auto; }
.carte-lmei p { color: var(--muted); line-height: 1.7; }
.carte-lmei .titre-carte { font-size: 24px; }
.carte-proovit { flex: 1 1 400px; min-width: 0; }
.carte-proovit picture img { width: 100%; height: 190px; object-fit: cover; }
.carte-proovit .carte-corps { padding: 28px; }
.carte-proovit .titre-carte { font-size: 22px; }

/* Étapes (fond bleu) */
.etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; counter-reset: none; }
.etape { background: var(--navy-deep); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.etape-numero { font-family: var(--serif); font-size: 36px; line-height: 1; color: var(--green-soft); }
.etape h3 { font-size: 19px; color: var(--white); }
.etape p { color: var(--on-navy); font-size: 15px; line-height: 1.6; }

/* Situations, experts */
.grille-situations { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 14px; }
.grille-trois { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.carte-situation { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.section:not(.section-grise) .carte-situation { background: var(--surface); border-color: var(--line); border-top-color: var(--green); }
.carte-situation h3 { font-size: 17px; }
.carte-situation p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.grille-experts { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.carte-expert { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--green); border-radius: 6px; padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.carte-expert h3 { font-size: 22px; }
.carte-expert p { color: var(--muted); line-height: 1.5; }
.tel-expert { font-weight: 800; font-size: 20px; text-decoration: none; margin-top: 8px; display: inline-flex; min-height: 44px; align-items: center; align-self: flex-start; }
.grille-experts-colonne { grid-template-columns: 1fr; gap: 14px; }
.grille-experts-colonne .carte-expert { padding: 22px 24px; gap: 6px; }
.grille-experts-colonne .carte-expert h3 { font-size: 19px; }
.grille-experts-colonne .tel-expert { margin-top: 2px; font-size: 19px; }

/* Bandeau d'appel + experts */
.section-cta { padding: var(--section) 0 72px; }
.cta { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding-bottom: var(--section); border-bottom: 1px solid var(--line); }
.cta-texte { flex: 1 1 520px; display: flex; flex-direction: column; gap: 12px; }
.cta h2 { font-size: 38px; line-height: 1.15; }
.cta p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.cta .btn { padding: 18px 30px; }
.section-cta #experts { margin-top: 48px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badges img { height: 50px; width: auto; }
.voir-aussi { padding: 28px 0 40px; }
.voir-aussi .cadre { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.voir-aussi ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.voir-aussi a { font-weight: 700; font-size: 15px; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.voir-aussi a:hover { text-decoration: underline; }

/* FAQ */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 28px/1 var(--sans); color: var(--green); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq summary h3 { font-size: 18px; }
.faq details p { color: var(--muted); line-height: 1.7; padding: 0 0 22px; max-width: 760px; }

/* Proov-it */
.grille-deux { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.carte-texte { padding: 32px; gap: 14px; }
.carte-texte p { color: var(--muted); line-height: 1.7; }
.liste-numerotee { counter-reset: geste; display: flex; flex-direction: column; gap: 12px; }
.liste-numerotee li { counter-increment: geste; display: flex; gap: 14px; color: var(--ink); line-height: 1.55; }
.liste-numerotee li::before { content: counter(geste); font-family: var(--serif); font-size: 22px; line-height: 1.1; color: var(--green); min-width: 22px; }
/* Lecteur vidéo YouTube : chargé au clic, sans habillage YouTube (bandes du lecteur rognées, masque, commandes maison). */
.lecteur-bloc { display: flex; flex-direction: column; gap: 10px; }
.lecteur { background: var(--navy-ink); border-radius: 12px; overflow: hidden; }
.lecteur-ecran { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.lecteur-cadre { position: absolute; left: 0; right: 0; top: -25%; height: 150%; pointer-events: none; }
/* Lecteur calculé à deux fois sa taille puis réduit : YouTube choisit sa qualité d'après la taille du lecteur (720p/1080p au lieu de 360p). */
.lecteur-cadre iframe, .lecteur-cadre > div { width: 200%; height: 200%; border: 0; transform: scale(.5); transform-origin: 0 0; }
.lecteur:fullscreen .lecteur-cadre iframe { width: 100%; height: 100%; transform: none; }
.lecteur:-webkit-full-screen .lecteur-cadre iframe { width: 100%; height: 100%; transform: none; }
.lecteur-masque { position: absolute; inset: 0; cursor: pointer; }
.lecteur-affiche { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; display: block; }
.lecteur-affiche img { width: 100%; height: 100%; object-fit: cover; }
.lecteur-gros-bouton { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--green); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: var(--ombre-pastille); transition: transform .2s; }
.lecteur-affiche:hover .lecteur-gros-bouton, .lecteur-affiche:focus-visible .lecteur-gros-bouton { transform: scale(1.08); background: var(--navy); }
.lecteur[data-etat] .lecteur-affiche { display: none; }
.lecteur-barre { display: flex; align-items: center; gap: 14px; padding: 10px 14px; color: var(--white); }
.lecteur-barre[hidden] { display: none; }
.lecteur-btn { flex: none; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 6px; background: transparent; color: var(--white); cursor: pointer; }
.lecteur-btn:hover { background: rgba(255, 255, 255, 0.12); }
.lecteur .icone-pause, .lecteur[data-etat="lecture"] .icone-lecture { display: none; }
.lecteur[data-etat="lecture"] .icone-pause { display: block; }
.lecteur-position { flex: 1; min-width: 0; accent-color: var(--green-soft); cursor: pointer; }
.lecteur-temps { flex: none; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--on-navy); }
.lecteur:fullscreen { display: flex; flex-direction: column; border-radius: 0; background: #000; }
.lecteur:fullscreen .lecteur-ecran { flex: 1; aspect-ratio: auto; }
.lecteur:-webkit-full-screen { display: flex; flex-direction: column; border-radius: 0; background: #000; }
.lecteur:-webkit-full-screen .lecteur-ecran { flex: 1; aspect-ratio: auto; }

/* ------------------------------------------------------------------ Actualités */
.grille-articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.grille-articles li { display: flex; }
.carte-article { width: 100%; }
.carte-article picture img { width: 100%; height: 200px; object-fit: cover; }
.carte-article .titre-carte { font-size: 20px; }
.article { padding: 48px 0 24px; }
.article-tete { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.article h1 { font-size: 44px; line-height: 1.12; }
.article .image-arrondie img { height: auto; max-height: 460px; }
.prose { padding-top: 36px; padding-bottom: 32px; font-size: 17px; line-height: 1.75; color: var(--ink); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 30px; margin-top: 40px; }
.prose h3 { margin-top: 30px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--green); }
.prose blockquote { margin-left: 0; padding: 18px 24px; background: var(--surface); border-radius: 12px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.section .prose { padding: 0; }
.section .prose h2 { font-size: 28px; }

/* ------------------------------------------------------------------ Formulaire */
.contact { align-items: flex-start; }
.contact .colonne-texte p { color: var(--ink); }
.titre-petit { font-size: 28px; margin-top: 16px; }
.formulaire { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.formulaire h2 { font-size: 32px; }
.champs-deux { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ label { font-weight: 700; font-size: 15px; color: var(--navy); }
.champ input, .champ select, .champ textarea { font: 500 16px/1.5 var(--sans); color: var(--ink); background: var(--white); border: 1.5px solid var(--line-strong); border-radius: 6px; padding: 12px 14px; min-height: 48px; width: 100%; }
.champ input[type="file"] { padding: 10px; }
.champ textarea { resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--navy); outline: 3px solid var(--focus-champ); outline-offset: 0; }
.champ-case { flex-direction: row; align-items: flex-start; gap: 12px; }
.champ-case input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--green); }
.champ-case label { font-weight: 500; color: var(--ink); font-size: 15px; }
.aide { font-size: 14px; color: var(--faint); }
.aide-erreur { color: var(--alert); font-weight: 700; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.message { padding: 14px 18px; border-radius: 8px; font-weight: 600; }
.message-succes { background: var(--succes-bg); color: var(--green); }
.message-erreur { background: var(--alert-bg); color: var(--alert); }
.formulaire .btn { align-self: flex-start; }
.liste-liens { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.liste-liens a { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }

/* ------------------------------------------------------------------ Pied de page */
.pied { background: var(--navy-ink); color: var(--footer-text); font-size: 14px; }
.pied .cadre { padding-top: 56px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 36px; }
.pied-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.pied-colonne { display: flex; flex-direction: column; gap: 12px; line-height: 1.6; }
.pied-logo { align-self: flex-start; background: var(--white); padding: 6px 10px; border-radius: 6px; }
.pied-logo img { height: 40px; width: auto; }
.pied-titre { color: var(--white); font-weight: 700; }
.pied-titre a { color: inherit; }
.pied a { color: var(--footer-text); }
.pied a:hover { color: var(--white); }
.pied-colonne ul { display: flex; flex-direction: column; gap: 4px; }
.pied-colonne li a { display: inline-block; padding: 3px 0; }
.pied-bas { border-top: 1px solid var(--footer-line); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* ------------------------------------------------------------------ Responsive */
@media (max-width: 1100px) {
  .menu-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .menu-expertises { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .tete-tel { display: none; }
  .menu-grille { grid-template-columns: 1fr; gap: 40px; padding-top: 32px; }
  .menu-intitule { font-size: 22px; }
  .menu-contact { padding: 24px; }
}
@media (max-width: 900px) {
  :root { --section: 64px; }
  h1, .hero-interieur h1 { font-size: 36px; }
  h2, .pourquoi h2, .cta h2 { font-size: 30px; }
  .article h1 { font-size: 34px; }
  .hero { padding: 48px 0 56px; }
  .hero-interieur { padding: 36px 0 56px; }
  .hero-grille, .deux-colonnes { gap: 40px; }
  .hero-texte, .hero-empile, .hero-mosaique, .deux-colonnes > * { flex-basis: 100%; }
  .chapo { font-size: 17px; }
  .sous-titre { font-size: 19px; }
  .hero-mosaique .mosaique-grande img { height: 220px; }
  .hero-mosaique picture img { height: 150px; }
  .empile-haute img { height: 240px; }
  .empile-basse img { height: 160px; }
  .image-arrondie img { height: 240px; }
  .formulaire { padding: 24px; }
  .encart { padding: 24px; }
}
@media (max-width: 560px) {
  .tete-logo img { height: 44px; }
  .tete-grille { padding-top: 12px; padding-bottom: 12px; }
  .tete-actions { gap: 10px; }
  .btn-tete { display: none; }
  .puces-deux { grid-template-columns: 1fr; }
  .grille-cartes, .grille-experts, .grille-articles, .grille-deux, .grille-trois, .grille-expertises { grid-template-columns: 1fr; }
  .pastille { left: 12px; top: 12px; padding: 10px 14px; font-size: 14px; }
  .boutons .btn { width: 100%; }
  .carte-lmei { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
