/* =====================================================================
   CONSTRUCTION AJPC INC. — main.css
   Un site signé ganolyk (ganolyk.ca) — interface noir et blanc, photos en couleur
   Sections : 1. Variables · 2. Base · 3. Utilitaires · 4. En-tête
   5. Boutons · 6. Héros · 7. Composants ADN (fonds, cartes, tuiles,
   badges, section sombre) · 8. Sections de page · 9. Réalisations et
   galerie · 10. Blogue · 11. Formulaire · 12. Pied de page
   13. Animations · 14. Réactif
   ===================================================================== */

/* ---------- 1. Variables ---------- */
/* Manrope (variable, sous-ensemble latin) hébergée sur le site — aucun appel à Google Fonts */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../fonts/manrope-latin-wght.woff2") format("woff2"); }
:root {
  --noir: #0B0B0C;
  --sombre: #111214;
  --sombre-2: #1A1B1F;
  --dore: #E9E9E6;
  --dore-doux: #BDBDB8;
  --bronze: #111113;
  --pierre: #F3F3F1;
  --pierre-2: #E8E8E5;
  --blanc: #FFFFFF;
  --titre: #1A1A1A;
  --texte: #4B5563;
  --texte-doux: #6B7280;
  --ligne: #E3E3E0;
  --succes: #2F7D4F;
  --erreur: #B3261E;

  --police: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --rayon: 8px;
  --rayon-lg: 12px;
  --ombre: 0 10px 30px rgba(0, 0, 0, .06);
  --ombre-forte: 0 22px 44px rgba(0, 0, 0, .12);
  --largeur: 1200px;
  --gouttiere: clamp(20px, 5vw, 48px);
  --espace-section: clamp(64px, 9vw, 120px);
  --entete-h: 76px;
  --transition: .22s ease;
  --hex: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--noir); }
body {
  margin: 0;
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.7;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { color: var(--titre); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--bronze); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg, video { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.2em; }
strong { color: var(--titre); font-weight: 700; }
:focus-visible { outline: 3px solid var(--dore); outline-offset: 3px; border-radius: 3px; }
.skip-link { position: absolute; left: 12px; top: -200px; z-index: 1000; margin: 0; background: var(--dore); color: var(--noir); padding: 10px 16px; border-radius: var(--rayon); font-weight: 700; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- 3. Utilitaires ---------- */
.container { width: min(100% - 2 * var(--gouttiere), var(--largeur)); margin-inline: auto; }
.container--etroit { width: min(100% - 2 * var(--gouttiere), 820px); margin-inline: auto; }
.surtitre { display: block; color: var(--bronze); font-weight: 700; font-size: .95rem; margin-bottom: .6em; }
.intro { font-size: 1.12rem; max-width: 62ch; }
.centre { text-align: center; }
.centre .intro { margin-inline: auto; }
.grille { display: grid; gap: 22px; }
.grille--2 { grid-template-columns: 1fr; }
.grille--3 { grid-template-columns: 1fr; }
.grille--4 { grid-template-columns: 1fr 1fr; }
.entete-section { margin-bottom: clamp(28px, 4vw, 48px); max-width: 720px; }
.entete-section--centre { margin-inline: auto; text-align: center; }
.liste-check { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.liste-check li { display: flex; gap: 10px; align-items: flex-start; }
.liste-check .icon { color: var(--bronze); width: 22px; height: 22px; margin-top: .15em; }
.fil { font-size: .9rem; color: var(--texte-doux); margin: 0 0 18px; }
.fil ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fil li + li::before { content: "/"; margin-right: 6px; color: var(--ligne); }
.fil a { color: var(--texte-doux); }
.section-dark .fil, .section-dark .fil a { color: rgba(255, 255, 255, .6); }

/* ---------- 4. En-tête ---------- */
.entete { position: sticky; top: 0; z-index: 900; background: rgba(11, 11, 12, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .08); transition: height var(--transition); }
.entete__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--entete-h); transition: height var(--transition); }
.entete.est-compact .entete__in { height: 62px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 42px; width: auto; transition: height var(--transition); }
.entete.est-compact .logo img { height: 36px; }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav > ul > li { position: relative; }
.nav a, .nav button { color: rgba(255, 255, 255, .86); font: inherit; font-weight: 600; font-size: .95rem; padding: 10px 12px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; position: relative; border-radius: 6px; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; background: var(--dore); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.nav a:hover, .nav a[aria-current="page"], .nav button:hover { color: #fff; text-decoration: none; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav button .icon { width: 16px; height: 16px; transition: transform var(--transition); }
.nav button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav > ul > li.a-sous-menu { position: relative; }
.mega { position: absolute; left: 0; top: 100%; padding-top: 8px; display: none; z-index: 20; min-width: 330px; }
.mega[data-open="true"] { display: block; }
.mega__in { background: var(--noir); border: 1px solid rgba(255, 255, 255, .3); border-top: 2px solid var(--dore); border-radius: 0 0 var(--rayon-lg) var(--rayon-lg); box-shadow: 0 24px 50px rgba(0, 0, 0, .45); padding: 8px; display: grid; gap: 2px; }
.mega__item { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--rayon); color: #fff; font-weight: 700; font-size: .98rem; white-space: nowrap; transition: background var(--transition); }
.mega__item::after { display: none; }
.mega__item:hover, .mega__item:focus-visible { background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; }
.mega__item .tuile { --tuile-fond: #1C1C1F; width: 40px; height: 36px; }
.mega__item .tuile .icon { width: 20px; height: 20px; color: var(--dore); }
.mega__bas { margin-top: 4px; padding: 10px 12px 6px; border-top: 1px solid rgba(255, 255, 255, .08); }
.mega__bas .lien-fleche { color: var(--dore); font-size: .92rem; }
.nav .mega__bas a { padding: 0; }
.nav .mega__bas a::after { display: none; }
.entete__actions { display: flex; align-items: center; gap: 10px; }
.entete__tel { display: none; color: #fff; font-weight: 700; align-items: center; gap: 8px; }
.entete__tel .icon { color: var(--dore); width: 20px; height: 20px; }
.entete__tel:hover { text-decoration: none; color: var(--dore); }
.entete .btn--primaire { display: none; }
.burger { width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .18); background: none; border-radius: var(--rayon); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: #fff; }
.burger .icon { width: 24px; height: 24px; }
.burger .icon--fermer { display: none; }
.burger[aria-expanded="true"] .icon--menu { display: none; }
.burger[aria-expanded="true"] .icon--fermer { display: block; }

/* Menu mobile plein écran */
.menu-mobile { position: fixed; inset: 0; z-index: 950; background: var(--noir); color: #fff; display: none; flex-direction: column; padding: 84px var(--gouttiere) 28px; overflow-y: auto; background-image: radial-gradient(70% 40% at 100% 0%, rgba(255, 255, 255, .16), transparent 70%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='62' height='108' viewBox='0 0 62 108'%3E%3Cpath d='M31 0 62 18v36L31 72 0 54V18zM31 72v36M0 54l-31 18M62 54l31 18' fill='none' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E"); }
.menu-mobile[data-open="true"] { display: flex; }
.menu-mobile a { color: #fff; }
.menu-mobile__tel { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; font-weight: 800; margin-bottom: 22px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--rayon-lg); }
.menu-mobile__tel .icon { width: 26px; height: 26px; color: var(--dore); }
.menu-mobile ul { list-style: none; padding: 0; margin: 0; }
.menu-mobile > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .18); }
.menu-mobile > ul > li > a, .menu-mobile summary { display: block; padding: 16px 0; font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.menu-mobile > ul > li > a::before, .menu-mobile summary::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 14px; background: var(--dore); clip-path: var(--hex); vertical-align: middle; }
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile summary { display: flex; justify-content: space-between; align-items: center; }
.menu-mobile summary .icon { width: 20px; height: 20px; transition: transform var(--transition); }
.menu-mobile details[open] summary .icon { transform: rotate(180deg); }
.menu-mobile details ul { padding: 0 0 12px 12px; }
.menu-mobile details a { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: rgba(255, 255, 255, .85); font-weight: 600; font-size: 1rem; }
.menu-mobile details a .icon { width: 20px; height: 20px; color: var(--dore); flex: none; }
.menu-mobile__bas { margin-top: auto; padding-top: 24px; display: grid; gap: 12px; }
.menu-mobile__reseaux { display: flex; gap: 12px; }
.menu-mobile__reseaux a { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.menu-mobile__reseaux .icon { width: 20px; height: 20px; }
body.menu-ouvert { overflow: hidden; }

/* ---------- 5. Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: var(--rayon); font-weight: 700; font-size: 1rem; line-height: 1.2; border: 1px solid transparent; cursor: pointer; transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition); text-decoration: none; min-height: 48px; font-family: inherit; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn .icon { width: 20px; height: 20px; transition: transform var(--transition); }
.btn:hover .icon--fleche { transform: translateX(4px); }
.btn--primaire { background: var(--dore); color: var(--noir); }
.btn--primaire:hover { background: #FFFFFF; color: var(--noir); box-shadow: 0 10px 24px rgba(255, 255, 255, .3); }
.btn--sombre { background: var(--sombre); color: #fff; }
.btn--sombre:hover { background: var(--noir); color: #fff; }
.btn--sombre .icon--fleche { color: var(--dore); }
.btn--contour { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .38); }
.btn--contour:hover { border-color: #fff; color: #fff; }
.btn--contour-sombre { background: transparent; color: var(--titre); border-color: rgba(26, 26, 26, .28); }
.btn--contour-sombre:hover { border-color: var(--titre); color: var(--titre); }
.btn--large { width: 100%; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--bronze); }
.lien-fleche .icon { width: 18px; height: 18px; transition: transform var(--transition); }
.lien-fleche:hover { text-decoration: none; }
.lien-fleche:hover .icon { transform: translateX(4px); }
.groupe-btn { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 6. Héros ---------- */
.hero { position: relative; background: var(--noir); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='62' height='108' viewBox='0 0 62 108'%3E%3Cpath d='M31 0 62 18v36L31 72 0 54V18zM31 72v36M0 54l-31 18M62 54l31 18' fill='none' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E"); z-index: -1; }
.hero__in { display: grid; gap: 40px; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); align-items: center; }
.hero__texte h1 { color: #fff; margin-bottom: .55em; }
.hero__texte .intro { color: rgba(255, 255, 255, .78); margin-bottom: 1.6em; }
.hero__bandeau { display: inline-flex; width: auto; max-width: 100%; box-sizing: border-box; flex-wrap: nowrap; line-height: 1.3; align-items: center; gap: 10px; text-align: left; vertical-align: middle; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .35); color: #fff; border-radius: 999px; padding: 8px 16px 8px 10px; font-weight: 600; font-size: .9rem; margin-bottom: 22px; }
.hero__bandeau .icon { width: 18px; height: 18px; color: var(--dore); flex: none; }
.hero__bandeau .icon--fleche { margin-left: 2px; }
.hero__bandeau > span { display: inline; font-size: .9rem; font-weight: 600; }
.hero__bandeau-court { display: none; }
.hero__preuves { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__visuel { position: relative; }

/* Mosaïque hexagonale */
.mosaique { position: relative; width: min(100%, 560px); aspect-ratio: 1 / .96; margin-inline: auto; }
.hex { position: absolute; clip-path: var(--hex); background: var(--sombre-2); overflow: hidden; }
.hex img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .6s ease; }
.hex:hover img { transform: scale(1.1); }
.hex--1 { left: 4%; top: 10%; width: 62%; aspect-ratio: 1 / .88; }
.hex--2 { left: 60%; top: 0; width: 36%; aspect-ratio: 1 / .88; }
.hex--3 { left: 60%; top: 50%; width: 36%; aspect-ratio: 1 / .88; }
.hex--4 { left: 16%; top: 70%; width: 30%; aspect-ratio: 1 / .88; }
.hex--contour { clip-path: none; background: none; }
.hex--contour svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mosaique .hex--contour { left: -2%; top: 74%; width: 16%; aspect-ratio: 1 / .88; opacity: .5; }
.hero .flottant { position: absolute; pointer-events: none; z-index: -1; fill: none; stroke: var(--dore); stroke-opacity: .16; }
.hero .flottant--a { width: 140px; right: 6%; top: 8%; }
.hero .flottant--b { width: 90px; left: 4%; bottom: 10%; }

/* Vidéo d'accueil plein écran, sans texte (comme l'ancien site) */
.video-accueil { position: relative; background: var(--noir); height: calc(100vh - var(--entete-h)); height: calc(100svh - var(--entete-h)); max-height: 1080px; overflow: hidden; }
.video-accueil video { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--noir); }
.video-accueil__affiche { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.video-accueil__defiler { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(11, 11, 12, .35); backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff; z-index: 2; }
.video-accueil__defiler:hover { border-color: var(--dore); color: var(--dore); }
.video-accueil__defiler .icon { width: 22px; height: 22px; animation: rebond 2.2s ease-in-out infinite; }
.video-accueil__lecture { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--dore); background: rgba(11, 11, 12, .55); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 3; backdrop-filter: blur(4px); }
.video-accueil__lecture:hover { background: var(--dore); color: var(--noir); }
.video-accueil__lecture .icon { width: 36px; height: 36px; }
.video-accueil__lecture[hidden] { display: none; }
.video-accueil::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, transparent, rgba(11, 11, 12, .85)); pointer-events: none; }
@media (max-width: 899px) { .video-accueil { display: none; } }

/* Avis Google (vrais avis fournis par le client, data-avis.js) */
.avis-liste { display: grid; gap: 18px; }
.avis-carte .carte__in { gap: 12px; }
.avis-carte__tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.avis-carte__auteur { font-weight: 800; color: var(--titre); }
.avis-carte__date { font-size: .85rem; color: var(--texte-doux); }
.avis-carte__texte { font-size: .98rem; }
.avis-carte__source { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--bronze); margin-top: auto; }
.avis-carte__source .icon { width: 16px; height: 16px; }

/* (ancien héros vidéo avec texte — non utilisé) */
.hero--video { min-height: calc(100svh - var(--entete-h)); display: flex; align-items: center; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; background: var(--noir); }
.hero--video::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(11, 11, 12, .88) 0%, rgba(11, 11, 12, .62) 48%, rgba(11, 11, 12, .28) 100%), linear-gradient(180deg, rgba(11, 11, 12, .25) 0%, rgba(11, 11, 12, .05) 40%, rgba(11, 11, 12, .85) 100%); }
.hero--video::before { z-index: -1; }
.hero--video .hero__in { grid-template-columns: 1fr; max-width: 860px; padding: clamp(80px, 12vh, 150px) 0 clamp(110px, 14vh, 170px); width: 100%; }
.hero--video .hero__texte .intro { max-width: 58ch; }
.hero__defiler { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: rgba(255, 255, 255, .72); font-size: .82rem; font-weight: 600; letter-spacing: .04em; display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; z-index: 2; }
.hero__defiler:hover { color: #fff; text-decoration: none; }
.hero__defiler .icon { width: 24px; height: 24px; color: var(--dore); animation: rebond 2.2s ease-in-out infinite; }
@keyframes rebond { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }
.hero--video .flottant { opacity: .7; }

/* Mosaïque déplacée en tête de la section Services */
.services-entete { display: grid; gap: 32px; align-items: center; margin-bottom: clamp(32px, 5vw, 56px); }
.services-entete .entete-section { margin-bottom: 0; }
.services-entete .mosaique { width: min(100%, 520px); }
.services-entete .hex { background: var(--pierre-2); }

/* Héros de page intérieure */
.hero-page { position: relative; background: var(--noir); color: #fff; overflow: hidden; isolation: isolate; }
.hero-page::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 12, .95) 0%, rgba(11, 11, 12, .82) 45%, rgba(11, 11, 12, .5) 100%); z-index: -1; }
.hero-page__img { position: absolute; inset: 0; z-index: -2; }
.hero-page__img img { width: 100%; height: 100%; object-fit: cover; }
.hero-page__in { padding: clamp(40px, 6vw, 80px) 0 clamp(44px, 6vw, 80px); max-width: 760px; }
.hero-page h1 { color: #fff; }
.hero-page .intro { color: rgba(255, 255, 255, .8); }
.hero-page .hero__preuves { margin-top: 22px; }
.hero-page .groupe-btn { margin-top: 26px; }
.hero-page--court .hero-page__in { padding: clamp(36px, 5vw, 60px) 0; }

/* ---------- 7. Composants ADN ---------- */
.section { padding: var(--espace-section) 0; position: relative; background: var(--blanc); }
.section--pierre { background-color: var(--pierre); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='62' height='108' viewBox='0 0 62 108'%3E%3Cpath d='M31 0 62 18v36L31 72 0 54V18zM31 72v36M0 54l-31 18M62 54l31 18' fill='none' stroke='%23111214' stroke-opacity='.045'/%3E%3C/svg%3E"); }
.section--blanc { background: var(--blanc); }
.section--diagonales { background-image: repeating-linear-gradient(135deg, rgba(17, 18, 20, .035) 0 1px, transparent 1px 22px); }
.section-dark { background-color: var(--sombre); color: rgba(255, 255, 255, .8); position: relative; overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='62' height='108' viewBox='0 0 62 108'%3E%3Cpath d='M31 0 62 18v36L31 72 0 54V18zM31 72v36M0 54l-31 18M62 54l31 18' fill='none' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E"); pointer-events: none; }
.section-dark > * { position: relative; }
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark strong { color: #fff; }
.section-dark .surtitre { color: var(--dore); }
.section-dark a { color: var(--dore); }
.section--compact { padding: clamp(40px, 6vw, 72px) 0; }

/* Cartes signature : coin coupé + halo doré au survol */
.carte { position: relative; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .06)); transition: transform var(--transition), filter var(--transition); height: 100%; }
.carte::after, .tuile-sombre::after, .chiffre::after, .pourquoi::after { content: ""; position: absolute; top: 0; right: 0; width: 26px; height: 26px; background: linear-gradient(45deg, #2A2A2D 0%, #6B6B70 48%, transparent 50%); filter: drop-shadow(-1px 2px 2px rgba(0, 0, 0, .22)); z-index: 2; pointer-events: none; }
.tuile-sombre, .chiffre, .pourquoi { clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); }
.tuile-sombre::after, .chiffre::after { background: linear-gradient(45deg, #8C8C90 0%, #E9E9E6 48%, transparent 50%); }
.tuile-sombre, .chiffre { position: relative; }
.carte:hover { transform: translateY(-4px); filter: drop-shadow(0 18px 34px rgba(0, 0, 0, .12)); }
.carte__in { position: relative; background: var(--blanc); border-radius: var(--rayon); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%); padding: 28px 26px 26px; height: 100%; display: flex; flex-direction: column; gap: 14px; transition: box-shadow var(--transition); box-shadow: inset 0 0 0 1px var(--ligne); }
.carte:hover .carte__in { box-shadow: inset 0 0 0 1px rgba(10, 10, 11, .55); }
.carte--lien { color: inherit; display: block; }
.carte--lien:hover { text-decoration: none; }
.carte__entete { display: flex; align-items: center; gap: 16px; }
.carte__entete h3 { margin: 0; }
.carte__role { display: block; color: var(--bronze); font-weight: 700; font-size: .9rem; margin-top: 2px; }
.carte p { margin: 0; }
.carte .lien-fleche { margin-top: auto; }
.carte--photo .carte__in { padding: 0; gap: 0; }
.carte--photo .carte__img { aspect-ratio: 4 / 3; overflow: hidden; }
.carte--photo .carte__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.carte--photo:hover .carte__img img { transform: scale(1.06); }
.carte--photo .carte__corps { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.carte--sombre .carte__in { background: var(--sombre-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); }
.carte--sombre h3 { color: #fff; }

/* Tuiles hexagonales */
.tuile { --tuile-fond: #F6F6F4; width: 62px; height: 56px; flex: none; position: relative; clip-path: var(--hex); background: rgba(10, 10, 11, .28); display: grid; place-items: center; }
.tuile::before { content: ""; position: absolute; inset: 1px 1.5px; clip-path: var(--hex); background: var(--tuile-fond); }
.tuile .icon { position: relative; width: 28px; height: 28px; color: var(--bronze); }
.tuile--grande { width: 78px; height: 70px; }
.tuile--grande .icon { width: 34px; height: 34px; }
.section-dark .tuile, .carte--sombre .tuile, .tuile--sombre { --tuile-fond: #232218; }
.section-dark .tuile .icon, .carte--sombre .tuile .icon, .tuile--sombre .icon { color: var(--dore); }

/* Puces à crochet (badges) */
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 9px; border-radius: 999px; background: var(--pierre); color: var(--titre); font-weight: 700; font-size: .88rem; line-height: 1.2; white-space: nowrap; }
.badge .icon { width: 18px; height: 18px; color: var(--bronze); }
.badge--sombre, .section-dark .badge, .hero .badge, .hero-page .badge { background: rgba(255, 255, 255, .07); color: #fff; border: 1px solid rgba(255, 255, 255, .12); }
.badge--sombre .icon, .section-dark .badge .icon, .hero .badge .icon, .hero-page .badge .icon { color: var(--dore); }
.badges { display: flex; flex-wrap: wrap; gap: 10px; }

/* Bloc chiffres */
.chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chiffre { border-radius: var(--rayon); padding: 22px 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.chiffre__val { display: block; font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; color: #fff; line-height: 1; letter-spacing: -.02em; }
.chiffre__val small { font-size: .55em; color: var(--dore); margin-left: 2px; }
.chiffre__lib { display: block; margin-top: 8px; font-size: .92rem; color: rgba(255, 255, 255, .7); }

/* Section sombre « Pourquoi AJPC » : tuiles sombres à crochet */
.tuiles-sombres { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
.tuile-sombre { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--rayon); padding: 18px 18px 18px 16px; display: flex; gap: 12px; align-items: flex-start; }
.tuile-sombre .icon { width: 22px; height: 22px; color: var(--dore); flex: none; margin-top: .2em; }
.tuile-sombre strong { display: block; color: #fff; margin-bottom: 4px; }
.tuile-sombre p { margin: 0; font-size: .95rem; }

/* Bande partenaires */
.partenaires { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.partenaire { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--titre); }
.partenaire .icon { width: 22px; height: 22px; color: var(--bronze); }
.partenaire small { display: block; font-weight: 500; color: var(--texte-doux); font-size: .82rem; }

/* Étapes (processus, séquence réelle) */
.etapes { counter-reset: etape; display: grid; gap: 18px; list-style: none; padding: 0; margin: 0; }
.etape { position: relative; padding-left: 64px; }
.etape::before { counter-increment: etape; content: counter(etape); position: absolute; left: 0; top: 0; width: 48px; height: 44px; clip-path: var(--hex); background: var(--dore); color: var(--noir); font-weight: 800; display: grid; place-items: center; font-size: 1.05rem; }
.etape h3 { margin-bottom: .3em; }

/* Bloc image + texte */
.duo { display: grid; gap: 32px; align-items: center; }
.duo__img { border-radius: var(--rayon-lg); overflow: hidden; box-shadow: var(--ombre-forte); }
.duo__img img { width: 100%; height: 100%; object-fit: cover; }
.duo__img--hex { border-radius: 0; box-shadow: none; clip-path: var(--hex); aspect-ratio: 1 / .88; }
.duo__img--hex img { height: 100%; }

/* Équipe */
.equipe { display: grid; gap: 22px; }
.membre .carte__in { align-items: flex-start; }
.membre .carte__entete { flex-direction: column; align-items: flex-start; gap: 18px; }
.membre__photo { width: min(100%, 300px); aspect-ratio: 1 / .88; clip-path: var(--hex); overflow: hidden; background: var(--pierre); }
.membre__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Vidéos intégrées */
.videos { display: grid; gap: 18px; }
.video { position: relative; border-radius: var(--rayon-lg); overflow: hidden; background: var(--sombre-2); aspect-ratio: 16 / 9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video--attente { display: grid; place-items: center; color: rgba(255, 255, 255, .7); text-align: center; padding: 24px; }
.video--attente .icon { width: 44px; height: 44px; color: var(--dore); margin-bottom: 10px; }

/* Bandeau calendrier */
.bandeau { background: var(--noir); color: #fff; border-top: 1px solid rgba(255, 255, 255, .45); border-bottom: 1px solid rgba(255, 255, 255, .45); }
.bandeau__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; padding: 14px 0; text-align: center; }
.bandeau__texte { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; color: rgba(255, 255, 255, .9); }
.bandeau__texte .icon { width: 18px; height: 18px; color: var(--dore); flex: none; }
.bandeau strong { color: #fff; font-size: .95rem; font-weight: 700; }
.bandeau .btn { padding: 9px 16px; min-height: 40px; font-size: .92rem; background: transparent; color: var(--dore); border-color: rgba(255, 255, 255, .6); }
.bandeau .btn:hover { background: var(--dore); color: var(--noir); }

/* CTA final */
.cta-final { background: var(--noir); color: #fff; position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 50%, rgba(255, 255, 255, .18), transparent 70%); }
.cta-final__in { position: relative; padding: clamp(56px, 8vw, 96px) 0; display: grid; gap: 24px; }
.cta-final h2 { color: #fff; margin-bottom: .3em; }
.cta-final p { color: rgba(255, 255, 255, .78); max-width: 56ch; }
.cta-final .groupe-btn { align-items: center; }
.cta-final .tel { color: #fff; font-weight: 800; font-size: 1.15rem; display: inline-flex; align-items: center; gap: 10px; }
.cta-final .tel .icon { color: var(--dore); width: 22px; height: 22px; }

/* Barre mobile collée en bas */
.barre-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px var(--gouttiere) calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 11, 12, .94); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, .1); transform: translateY(110%); transition: transform .3s ease; }
.barre-mobile.est-visible { transform: none; }
.barre-mobile .btn { padding: 12px 10px; min-height: 46px; font-size: .95rem; }
body { padding-bottom: 0; }

/* ---------- 8. Sections de page ---------- */
.services-grille { display: grid; gap: 20px; }
.secteurs-liste { display: grid; gap: 12px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 420px) { .secteurs-liste { grid-template-columns: 1fr 1fr; } }
.secteurs-liste a { display: flex; align-items: center; gap: 10px; padding: 13px 14px; font-size: .95rem; line-height: 1.25; background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); color: var(--titre); font-weight: 700; transition: border-color var(--transition), transform var(--transition); }
.secteurs-liste a:hover { text-decoration: none; border-color: var(--dore); transform: translateY(-2px); }
.secteurs-liste .icon { width: 20px; height: 20px; color: var(--bronze); }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 0 20px; transition: border-color var(--transition); }
.faq details[open] { border-color: var(--dore); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--titre); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; color: var(--bronze); flex: none; transition: transform var(--transition); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .faq__rep { padding: 0 0 20px; }
.article-corps { max-width: 72ch; }
.article-corps h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 1.6em; }
.article-corps h3 { margin-top: 1.4em; }
.article-corps ul li { margin-bottom: .4em; }
.encadre { background: var(--pierre); border-left: 4px solid var(--dore); padding: 18px 22px; border-radius: 0 var(--rayon) var(--rayon) 0; margin: 1.6em 0; }
.encadre p { margin: 0; }
.coordonnees { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.coordonnees li { display: flex; gap: 14px; align-items: flex-start; }
.coordonnees .icon { width: 24px; height: 24px; color: var(--bronze); flex: none; margin-top: .15em; }
.coordonnees strong { display: block; }
.coordonnees a { color: var(--titre); font-weight: 600; }
.carte-google { border-radius: var(--rayon-lg); overflow: hidden; border: 1px solid var(--ligne); aspect-ratio: 4 / 3; }
.carte-google iframe { width: 100%; height: 100%; border: 0; display: block; }
.a-confirmer { background: #FFF6D6; color: #6b4e00; border: 1px dashed #d9b64a; padding: 2px 8px; border-radius: 6px; font-size: .85rem; font-weight: 700; }
.liste-postes { display: grid; gap: 16px; }
.avis-plateformes { display: grid; gap: 16px; }
.avis-plateforme .carte__in { text-align: center; align-items: center; }
.avis-plateforme .grand { font-size: 2.4rem; font-weight: 800; color: var(--titre); line-height: 1; display: inline-flex; align-items: center; gap: 6px; }
.avis-plateforme .grand .icon { width: 26px; height: 26px; color: var(--dore); fill: var(--dore); }
.etoiles { display: inline-flex; gap: 2px; color: var(--dore); }
.etoiles .icon { width: 18px; height: 18px; fill: var(--dore); }
.hero__bandeau:hover { background: rgba(255, 255, 255, .22); text-decoration: none; color: #fff; }
.hero__bandeau .icon--fleche { margin-left: 2px; transition: transform var(--transition); }
.hero__bandeau:hover .icon--fleche { transform: translateX(4px); }

/* ---------- 9. Réalisations et galerie ---------- */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filtre { border: 1px solid var(--ligne); background: var(--blanc); border-radius: 999px; padding: 10px 18px; min-height: 44px; font: inherit; font-weight: 700; font-size: .9rem; color: var(--titre); cursor: pointer; transition: all var(--transition); }
.filtre[aria-pressed="true"], .filtre:hover { background: var(--noir); color: #fff; border-color: var(--noir); }
.realisations-grille { display: grid; gap: 20px; }
.realisation__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: var(--texte-doux); font-weight: 600; }
.galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.galerie button, .galerie a { display: block; border: 0; padding: 0; background: var(--pierre); border-radius: var(--rayon); overflow: hidden; aspect-ratio: 1; cursor: zoom-in; width: 100%; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.galerie button:hover img { transform: scale(1.05); }
.galerie--projet { margin-top: 28px; }
.visionneuse { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 96vh; }
.visionneuse::backdrop { background: rgba(0, 0, 0, .92); }
.visionneuse img { max-width: min(96vw, 1400px); max-height: 88vh; width: auto; height: auto; margin: 0 auto; border-radius: var(--rayon); }
.visionneuse__barre { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.visionneuse__barre button { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; }
.visionneuse__barre .icon { width: 22px; height: 22px; }
.projet-entete { display: grid; gap: 24px; }
.projet-infos { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.projet-infos li { display: flex; gap: 10px; align-items: baseline; }
.projet-infos strong { min-width: 110px; }
.message-vide { background: var(--pierre); border-radius: var(--rayon-lg); padding: 32px; text-align: center; }

/* ---------- 10. Blogue ---------- */
.article-entete { display: grid; gap: 14px; margin-bottom: 26px; }
.article-meta { color: var(--texte-doux); font-weight: 600; font-size: .9rem; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.article-img { border-radius: var(--rayon-lg); overflow: hidden; margin: 8px 0 32px; box-shadow: var(--ombre); aspect-ratio: 16 / 9; background: var(--pierre); }
.article-img img { width: 100%; height: 100%; object-fit: cover; }
.article-etiquettes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.illustration { width: 100%; height: 100%; display: block; }

/* ---------- 11. Formulaire ---------- */
.formulaire { display: grid; gap: 18px; }
.champ { display: grid; gap: 6px; }
.champ label { font-weight: 700; color: var(--titre); font-size: .95rem; }
.champ label small { font-weight: 500; color: var(--texte-doux); }
.champ input, .champ select, .champ textarea { width: 100%; font: inherit; padding: 13px 14px; border: 1px solid #CFC9BE; border-radius: var(--rayon); background: var(--blanc); color: var(--titre); min-height: 48px; transition: border-color var(--transition), box-shadow var(--transition); }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--noir); box-shadow: 0 0 0 3px rgba(10, 10, 11, .12); }
.champ textarea { min-height: 150px; resize: vertical; }
.champ.est-invalide input, .champ.est-invalide select, .champ.est-invalide textarea { border-color: var(--erreur); }
.champ__erreur { color: var(--erreur); font-size: .88rem; font-weight: 600; min-height: 1.2em; }
.champ--fichier input { padding: 10px; }
.champ--consentement { display: flex; gap: 12px; align-items: flex-start; }
.champ--consentement input { width: 20px; height: 20px; min-height: 0; margin-top: 3px; flex: none; }
.champ--consentement label { font-weight: 500; font-size: .92rem; color: var(--texte); }
.formulaire__ligne { display: grid; gap: 18px; }
.champ--choix fieldset { border: 0; padding: 0; margin: 0; }
.champ--choix legend { font-weight: 700; color: var(--titre); font-size: .95rem; padding: 0; margin-bottom: 8px; }
.champ--choix legend small { font-weight: 500; color: var(--texte-doux); }
.pastilles { display: flex; flex-wrap: wrap; gap: 8px; }
.pastille { position: relative; }
.pastille input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pastille span { display: inline-flex; align-items: center; gap: 6px; padding: 11px 16px; min-height: 42px; border: 1px solid #CFC9BE; border-radius: 999px; background: var(--blanc); font-weight: 600; font-size: .92rem; color: var(--titre); transition: all var(--transition); line-height: 1.2; }
.pastille input:checked + span { background: var(--noir); border-color: var(--noir); color: #fff; }
.pastille input:focus-visible + span { outline: 3px solid var(--dore); outline-offset: 2px; }
.pastille input:checked + span::before { content: ""; width: 8px; height: 8px; background: var(--dore); clip-path: var(--hex); }
.champ--choix.est-invalide .pastille span { border-color: var(--erreur); }
.formulaire__bloc { padding: 22px 0 6px; border-top: 1px solid var(--ligne); }
.formulaire__bloc h3 { font-size: 1.05rem; margin-bottom: 4px; }
.formulaire__bloc > p { font-size: .92rem; color: var(--texte-doux); margin-bottom: 16px; }
.pourquoi { background: var(--noir); color: rgba(255, 255, 255, .8); border-radius: var(--rayon-lg); padding: 28px 26px; margin-top: 28px; border: 1px solid rgba(255, 255, 255, .28); position: relative; overflow: hidden; }
.pourquoi::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 100% 0%, rgba(255, 255, 255, .18), transparent 70%); pointer-events: none; }
.pourquoi > * { position: relative; }
.pourquoi h3 { color: #fff; }
.pourquoi .surtitre { color: var(--dore); }
.pourquoi p { font-size: .97rem; }
.pot-de-miel { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.formulaire__etat { border-radius: var(--rayon); padding: 14px 16px; font-weight: 600; display: none; }
.formulaire__etat.est-succes { display: block; background: #E6F4EA; color: #1d5a35; }
.formulaire__etat.est-erreur { display: block; background: #FDECEA; color: #8f1d17; }
.btn .roue { display: none; width: 18px; height: 18px; border: 2px solid rgba(0, 0, 0, .25); border-top-color: var(--noir); border-radius: 50%; animation: tourner .8s linear infinite; }
.btn.est-chargement .roue { display: inline-block; }
.btn.est-chargement .icon--fleche { display: none; }
@keyframes tourner { to { transform: rotate(360deg); } }
.contact-grille { display: grid; gap: 40px; }

/* ---------- 12. Pied de page ---------- */
.pied { background: var(--noir); color: rgba(255, 255, 255, .72); padding: clamp(48px, 6vw, 72px) 0 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.pied__grille { display: grid; gap: 32px; }
.pied h3 { color: #fff; font-size: 1rem; margin-bottom: 14px; letter-spacing: 0; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pied a { color: rgba(255, 255, 255, .72); }
.pied a:hover { color: var(--dore); text-decoration: none; }
.pied__marque img { height: 40px; width: auto; margin-bottom: 18px; }
.pied__marque p { font-size: .95rem; }
.pied__coord { display: grid; gap: 10px; }
.pied__coord a, .pied__coord span { display: flex; gap: 10px; align-items: flex-start; }
.pied__coord .icon { width: 20px; height: 20px; color: var(--dore); flex: none; margin-top: .2em; }
.pied__reseaux { display: flex; gap: 10px; margin-top: 18px; }
.pied__reseaux a { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.pied__reseaux a:hover { border-color: var(--dore); }
.pied__reseaux .icon { width: 18px; height: 18px; }
.pied__bas { margin-top: clamp(32px, 5vw, 56px); padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; font-size: .88rem; }
.pied__bas p { margin: 0; }
.pied__bas nav { display: flex; gap: 16px; }
.pied__rbq { font-weight: 600; color: rgba(255, 255, 255, .85); }


/* ---------- 13. Animations ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.est-visible { opacity: 1; transform: none; }
.reveal--2 { transition-delay: 80ms; }
.reveal--3 { transition-delay: 160ms; }
.reveal--4 { transition-delay: 240ms; }
.reveal--5 { transition-delay: 320ms; }
.reveal--6 { transition-delay: 400ms; }
@keyframes flotter { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(4deg); } }
.hero .flottant, .mosaique .hex--contour { animation: flotter 28s ease-in-out infinite; }
.hero .flottant--b { animation-duration: 36s; animation-direction: reverse; }
.hex--2 { animation: flotter 32s ease-in-out infinite; }
.hex--3 { animation: flotter 38s ease-in-out infinite reverse; }
.hex--4 { animation: flotter 34s ease-in-out infinite; animation-delay: -10s; }
@keyframes entree-hero { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__texte > * { animation: entree-hero .7s ease both; }
.hero__texte > *:nth-child(2) { animation-delay: .08s; }
.hero__texte > *:nth-child(3) { animation-delay: .16s; }
.hero__texte > *:nth-child(4) { animation-delay: .24s; }
.hero__texte > *:nth-child(5) { animation-delay: .32s; }
.mosaique .hex { animation-name: entree-hero, flotter; animation-duration: .8s, 32s; animation-timing-function: ease, ease-in-out; animation-iteration-count: 1, infinite; animation-fill-mode: both, none; animation-direction: normal, normal; }
.mosaique .hex--1 { animation: entree-hero .8s ease both; animation-delay: .2s; }
.mosaique .hex--2 { animation-delay: .35s, 0s; }
.mosaique .hex--3 { animation-delay: .45s, 0s; animation-direction: normal, reverse; }
.mosaique .hex--4 { animation-delay: .55s, 0s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 14. Réactif ---------- */
@media (max-width: 479px) {
  .hero__bandeau-long { display: none; }
  .hero__bandeau-court { display: inline; }
  .hero .groupe-btn .btn, .hero-page .groupe-btn .btn, .cta-final .groupe-btn .btn { flex: 1 1 100%; }
  .badge { white-space: normal; text-align: left; line-height: 1.25; }
  .badge .icon { flex: none; }
  h1 { font-size: 2rem; }
  .chiffre__val { font-size: 1.75rem; }
}
@media (min-width: 640px) {
  .grille--2 { grid-template-columns: 1fr 1fr; }
  .grille--3 { grid-template-columns: repeat(2, 1fr); }
  .services-grille { grid-template-columns: repeat(2, 1fr); }
  .realisations-grille { grid-template-columns: repeat(2, 1fr); }
  .galerie { grid-template-columns: repeat(3, 1fr); }
  .formulaire__ligne { grid-template-columns: 1fr 1fr; }
  .chiffres { grid-template-columns: repeat(4, 1fr); }
  .tuiles-sombres { grid-template-columns: repeat(2, 1fr); }
  .videos { grid-template-columns: repeat(2, 1fr); }
  .avis-plateformes { grid-template-columns: repeat(2, 1fr); }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .equipe { grid-template-columns: 1fr 1fr; }
  .avis-liste { grid-template-columns: repeat(2, 1fr); }
  .secteurs-liste { grid-template-columns: repeat(3, 1fr); }
  .secteurs-liste--2 { grid-template-columns: repeat(2, 1fr); }
  .barre-mobile { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .hero__in { grid-template-columns: 1.05fr .95fr; gap: 48px; }
  .avis-liste { grid-template-columns: repeat(3, 1fr); }
  .grille--3 { grid-template-columns: repeat(3, 1fr); }
  .grille--4 { grid-template-columns: repeat(4, 1fr); }
  .services-grille { grid-template-columns: repeat(3, 1fr); }
  .realisations-grille { grid-template-columns: repeat(3, 1fr); }
  .galerie { grid-template-columns: repeat(4, 1fr); }
  .tuiles-sombres { grid-template-columns: repeat(3, 1fr); }
  .avis-plateformes { grid-template-columns: repeat(4, 1fr); }
  .duo { grid-template-columns: 1fr 1fr; gap: 56px; }
  .duo--inverse .duo__img { order: 2; }
  .contact-grille { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .projet-entete { grid-template-columns: 1.2fr .8fr; align-items: start; }
  .pied__grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .cta-final__in { grid-template-columns: 1.2fr .8fr; align-items: center; }
  .barre-mobile { display: none; }
  .secteurs-liste { grid-template-columns: repeat(4, 1fr); }
  .secteurs-liste--2 { grid-template-columns: repeat(2, 1fr); }
  .secteurs-liste--1 { grid-template-columns: 1fr; }
  .entete__tel { display: inline-flex; }
  .entete .btn--primaire { display: inline-flex; padding: 11px 18px; min-height: 44px; }
  .burger { display: none; }
  .nav { display: block; }
}
@media (min-width: 1200px) {
  .nav ul { gap: 8px; }
  .secteurs-liste { grid-template-columns: repeat(5, 1fr); }
  .secteurs-liste--2 { grid-template-columns: repeat(2, 1fr); }
  .secteurs-liste--1 { grid-template-columns: 1fr; }
}
@media print {
  .entete, .pied, .barre-mobile, .menu-mobile, .cta-final { display: none; }
}

/* Sprite d'icônes : aucune place dans la page */
svg.sprite-icones { position: absolute; width: 0; height: 0; overflow: hidden; margin: 0; }

/* ---------- Gestion des témoins (Loi 25) ---------- */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 980; background: var(--noir); color: rgba(255, 255, 255, .82); border-top: 1px solid rgba(255, 255, 255, .45); box-shadow: 0 -16px 40px rgba(0, 0, 0, .35); transform: translateY(110%); transition: transform .4s ease; padding-bottom: env(safe-area-inset-bottom); }
.consent.est-visible { transform: none; }
.consent__in { width: min(100% - 2 * var(--gouttiere), var(--largeur)); margin-inline: auto; display: grid; gap: 14px; padding: 18px 0; }
.consent__texte strong { color: #fff; display: block; margin-bottom: 4px; }
.consent__texte p { margin: 0; font-size: .92rem; line-height: 1.5; }
.consent__texte a { color: var(--dore); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.consent__actions .btn { padding: 10px 16px; min-height: 42px; font-size: .92rem; }
.consent__lien { background: none; border: 0; color: rgba(255, 255, 255, .8); font: inherit; font-weight: 700; font-size: .92rem; text-decoration: underline; cursor: pointer; padding: 8px 4px; }
.consent__lien:hover { color: var(--dore); }
body.consent-ouvert { overflow: hidden; }
.consent-panneau { position: fixed; inset: 0; z-index: 990; background: rgba(11, 11, 12, .7); backdrop-filter: blur(4px); display: grid; place-items: center; padding: var(--gouttiere); }
.consent-panneau[hidden] { display: none; }
.consent-panneau__boite { background: var(--blanc); color: var(--texte); border-radius: var(--rayon-lg); width: min(100%, 620px); max-height: 90vh; overflow: auto; padding: 26px 24px 24px; border-top: 3px solid var(--dore); }
.consent-panneau__tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.consent-panneau__tete h2 { font-size: 1.3rem; margin: 0; }
.consent-panneau__fermer { width: 40px; height: 40px; border: 1px solid var(--ligne); border-radius: 50%; background: var(--blanc); cursor: pointer; display: grid; place-items: center; color: var(--titre); }
.consent-panneau__fermer .icon { width: 20px; height: 20px; }
.consent-panneau__boite > p { font-size: .95rem; }
.consent-panneau__liste { display: grid; gap: 10px; margin: 18px 0 22px; }
.consent-cat { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--ligne); border-radius: var(--rayon); cursor: pointer; }
.consent-cat__texte strong { display: block; color: var(--titre); }
.consent-cat__texte span { font-size: .88rem; color: var(--texte-doux); }
.interrupteur { position: relative; flex: none; width: 48px; height: 28px; }
.interrupteur input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.interrupteur__piste { position: absolute; inset: 0; border-radius: 999px; background: #CFC9BE; transition: background var(--transition); }
.interrupteur__piste::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform var(--transition); }
.interrupteur input:checked + .interrupteur__piste { background: var(--dore); }
.interrupteur input:checked + .interrupteur__piste::after { transform: translateX(20px); }
.interrupteur input:disabled + .interrupteur__piste { background: var(--bronze); opacity: .6; }
.interrupteur input:focus-visible + .interrupteur__piste { outline: 3px solid var(--dore); outline-offset: 2px; }
.consent-panneau__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.lien-temoins { background: none; border: 0; padding: 0; font: inherit; color: rgba(255, 255, 255, .72); cursor: pointer; }
.lien-temoins:hover { color: var(--dore); }
/* Google Maps bloqué tant que le contenu tiers n'est pas autorisé */
.carte-google { position: relative; }
.carte-google__attente { position: absolute; inset: 0; background: var(--pierre); display: grid; place-items: center; text-align: center; padding: 22px; }
.carte-google__attente .icon { width: 36px; height: 36px; color: var(--bronze); margin: 0 auto 8px; }
.carte-google__attente p { font-size: .92rem; color: var(--texte); margin: 0 0 12px; max-width: 34ch; }
.carte-google__attente .groupe-btn { justify-content: center; }
.carte-google__attente .btn { padding: 10px 16px; min-height: 42px; font-size: .92rem; }
.carte-google.est-autorise .carte-google__attente { display: none; }
@media (min-width: 900px) {
  .consent__in { grid-template-columns: 1fr auto; align-items: center; gap: 28px; }
}


/* =====================================================================
   ADAPTATION CONSTRUCTION AJPC — noir et blanc
   ===================================================================== */
:focus-visible { outline-color: var(--noir); }
.entete :focus-visible, .hero :focus-visible, .hero-page :focus-visible, .section-dark :focus-visible,
.cta-final :focus-visible, .pied :focus-visible, .menu-mobile :focus-visible, .bandeau :focus-visible,
.consent :focus-visible, .barre-mobile :focus-visible { outline-color: #fff; }
.skip-link { background: #fff; }

/* Bouton principal : noir sur fond clair, blanc sur fond sombre */
.btn--primaire { background: var(--noir); color: #fff; }
.btn--primaire:hover { background: #2B2C30; color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .22); }
.entete .btn--primaire, .hero .btn--primaire, .hero-page .btn--primaire, .section-dark .btn--primaire,
.cta-final .btn--primaire, .menu-mobile .btn--primaire, .barre-mobile .btn--primaire, .consent .btn--primaire,
.pourquoi .btn--primaire, .video-accueil .btn--primaire { background: #fff; color: var(--noir); }
.entete .btn--primaire:hover, .hero .btn--primaire:hover, .hero-page .btn--primaire:hover, .section-dark .btn--primaire:hover,
.cta-final .btn--primaire:hover, .menu-mobile .btn--primaire:hover, .barre-mobile .btn--primaire:hover, .consent .btn--primaire:hover { background: #D9D9D6; color: var(--noir); box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }

/* Étapes : hexagones sans numéros (consigne du client) */
.etape::before { content: ""; background: var(--noir); }
.etape::after { content: ""; position: absolute; left: 17px; top: 15px; width: 14px; height: 13px; clip-path: var(--hex); background: #fff; }
.section-dark .etape::before { background: #fff; }
.section-dark .etape::after { background: var(--noir); }

.secteurs-liste a:hover { border-color: var(--noir); }
.faq details[open] { border-color: var(--noir); }
.encadre { border-left-color: var(--noir); }
.pastille input:focus-visible + span { outline-color: var(--noir); }
.pastille input:checked + span::before { background: var(--noir); }
.pastille input:checked + span { border-color: var(--noir); }
.interrupteur input:checked + .interrupteur__piste { background: var(--noir); }
.interrupteur input:focus-visible + .interrupteur__piste { outline-color: var(--noir); }
.hero__bandeau--urgence { background: #fff; color: var(--noir); border-color: #fff; }
.hero__bandeau--urgence .icon { color: var(--noir); }
.hero__bandeau--urgence:hover { background: #E4E4E1; color: var(--noir); }

/* Ouverture plein écran : photo + logo (gabarit vidéo d’accueil) */
.video-accueil__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: approche 22s ease-out both; }
@keyframes approche { from { transform: scale(1.12); } to { transform: scale(1); } }
.video-accueil::after { content: ""; position: absolute; inset: 0; height: auto; background: radial-gradient(60% 55% at 50% 48%, rgba(10,10,11,.62), rgba(10,10,11,.38) 70%), linear-gradient(180deg, rgba(10,10,11,.2) 60%, rgba(10,10,11,.9)); z-index: 1; }
.video-accueil__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); width: min(46vw, 560px); z-index: 2; filter: drop-shadow(0 8px 30px rgba(0,0,0,.55)); animation: logo-entree 1.4s .2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes logo-entree { from { opacity: 0; transform: translate(-50%, -48%); } to { opacity: 1; transform: translate(-50%, -54%); } }
.video-accueil__slogan { position: absolute; left: 0; right: 0; bottom: 84px; z-index: 2; text-align: center; color: #fff; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .9rem; opacity: .9; }

/* Coupe technique (drain français et imperméabilisation) */
.coupe { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon-lg); padding: clamp(20px, 3vw, 34px); display: grid; gap: 26px; align-items: center; box-shadow: var(--ombre); }
.coupe svg { width: 100%; height: auto; }
.coupe__legende { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: .95rem; }
.coupe__legende li { display: flex; gap: 12px; align-items: flex-start; }
.coupe__legende b { flex: none; width: 26px; height: 24px; clip-path: var(--hex); background: var(--noir); color: #fff; font-size: .74rem; display: grid; place-items: center; margin-top: .1em; }
@media (min-width: 900px) { .coupe { grid-template-columns: 1.35fr 1fr; gap: 40px; } }

/* Tuiles « Qu'est-ce qui vous amène ? » */
.diagnostic { display: grid; gap: 10px; margin-top: 26px; }
.diag { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.22); border-radius: var(--rayon); color: #fff; font-weight: 700; font-size: .96rem; transition: background var(--transition), color var(--transition), border-color var(--transition); }
.diag:hover { background: #fff; color: var(--noir); border-color: #fff; text-decoration: none; }
.diag .icon { width: 22px; height: 22px; flex: none; }
.diag .icon--fleche { width: 18px; height: 18px; margin-left: auto; opacity: .7; }
.diagnostic__titre { display: block; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); margin: 30px 0 0; }

/* Photo « duo » en hexagone : bordure neutre */
.duo__img--hex img { background: var(--pierre-2); }

/* Tableau (blogue) */
.tableau { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .96rem; }
.tableau th, .tableau td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.tableau th { font-weight: 800; color: var(--titre); border-bottom: 2px solid var(--noir); font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 639px) { .tableau, .tableau tbody, .tableau tr, .tableau td { display: block; width: 100%; } .tableau thead { display: none; } .tableau tr { border-bottom: 1px solid var(--ligne); padding: 8px 0; } .tableau td { border: 0; padding: 4px 0; } }

/* Signature ganolyk — composant figé, identique sur chaque site client. */
.ganolyk-credit{display:inline-flex;margin:0}
.ganolyk-credit a{display:inline-flex;align-items:center;gap:9px;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:12px;font-weight:500;letter-spacing:.01em;line-height:1;
  text-transform:none;text-decoration:none;
  color:rgba(255,255,255,.55);transition:color .2s ease}
.ganolyk-credit span{white-space:nowrap}
.ganolyk-credit img{height:20px;width:auto;display:block;opacity:.94;transition:opacity .2s ease}
.ganolyk-credit a:hover{color:rgba(255,255,255,.92)}
.ganolyk-credit a:hover img{opacity:1}
@media (max-width:480px){
  .ganolyk-credit a{gap:8px;font-size:11.5px}
  .ganolyk-credit img{height:18px}
}

/* Bouton flottant Urgence 24/7 (bureau) — la barre mobile le remplace sur téléphone */
.urgence-flottante { position: fixed; right: 24px; bottom: 24px; z-index: 850; display: none; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px; background: var(--noir); color: #fff; font-weight: 800; border: 2px solid rgba(255,255,255,.55); box-shadow: 0 18px 40px rgba(0,0,0,.35); transition: transform var(--transition), opacity var(--transition); }
.urgence-flottante:hover { text-decoration: none; color: #fff; transform: translateY(-3px); }
.urgence-flottante .icon { width: 24px; height: 24px; }
.urgence-flottante.est-cache { opacity: 0; transform: translateY(16px); pointer-events: none; }
@media (min-width: 900px) { .urgence-flottante { display: inline-flex; } }

/* ROC — l'assistant */
.roc-lanceur { position: fixed; right: 16px; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 860; width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--noir); background: #fff; color: var(--noir); display: grid; place-items: center; cursor: pointer; box-shadow: 0 16px 36px rgba(0,0,0,.25); transition: transform var(--transition), opacity var(--transition); }
.roc-lanceur:hover { transform: translateY(-3px); }
.roc-lanceur svg { width: 26px; height: 26px; }
.roc-lanceur__etiquette { position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); background: var(--noir); color: #fff; font-size: .82rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; white-space: nowrap; pointer-events: none; }
.roc-lanceur.est-cache { opacity: 0; pointer-events: none; }
@media (min-width: 900px) { .roc-lanceur { right: 24px; bottom: 96px; } }
.roc { position: fixed; right: 16px; bottom: 16px; z-index: 990; width: min(calc(100vw - 32px), 392px); max-height: min(78vh, 640px); background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon-lg); box-shadow: 0 28px 70px rgba(0,0,0,.3); display: none; flex-direction: column; overflow: hidden; font-size: 16px; }
.roc[data-open="true"] { display: flex; }
.roc__entete { background: var(--noir); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 12px; flex: none; }
.roc__avatar { width: 42px; height: 38px; clip-path: var(--hex); background: #fff; color: var(--noir); display: grid; place-items: center; flex: none; font-weight: 800; font-size: .76rem; letter-spacing: .04em; }
.roc__ident { flex: 1; min-width: 0; }
.roc__ident b { display: block; font-size: 1rem; color: #fff; }
.roc__ident span { display: block; font-size: .78rem; color: rgba(255,255,255,.62); }
.roc__fermer { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.26); background: none; color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; }
.roc__fermer .icon { width: 18px; height: 18px; }
.roc__fil { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; background: var(--pierre); }
.roc__msg { max-width: 88%; padding: 12px 15px; border-radius: 14px; font-size: .95rem; line-height: 1.6; color: var(--texte); }
.roc__msg p { margin: 0 0 .7em; } .roc__msg p:last-child { margin-bottom: 0; }
.roc__msg ul { margin: .3em 0 .7em; padding-left: 1.15em; } .roc__msg li { margin-bottom: .3em; }
.roc__msg--bot { background: #fff; border: 1px solid var(--ligne); align-self: flex-start; border-bottom-left-radius: 4px; }
.roc__msg--moi { background: var(--noir); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.roc__msg a { color: var(--noir); font-weight: 700; text-decoration: underline; }
.roc__choix { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 14px; background: var(--pierre); flex: none; }
.roc__choix button { font: inherit; font-size: .86rem; font-weight: 700; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--ligne); background: #fff; color: var(--titre); cursor: pointer; }
.roc__choix button:hover { background: var(--noir); color: #fff; border-color: var(--noir); }
.roc__bas { border-top: 1px solid var(--ligne); padding: 10px; display: flex; gap: 8px; background: #fff; flex: none; margin: 0; }
.roc__bas input { flex: 1; min-width: 0; font: inherit; font-size: 16px; border: 1px solid var(--ligne); border-radius: 999px; padding: 11px 16px; color: var(--titre); }
.roc__bas input:focus { outline: none; border-color: var(--noir); }
.roc__bas button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--noir); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; }
.roc__bas button .icon { width: 20px; height: 20px; }
.roc__pied { font-size: .72rem; color: var(--texte-doux); text-align: center; padding: 0 12px 10px; background: #fff; flex: none; line-height: 1.5; margin: 0; }
.roc__ecrit { display: flex; gap: 4px; align-items: center; }
.roc__ecrit i { width: 7px; height: 7px; border-radius: 50%; background: #BDBDB8; animation: pointille 1.2s infinite; }
.roc__ecrit i:nth-child(2) { animation-delay: .18s; } .roc__ecrit i:nth-child(3) { animation-delay: .36s; }
@keyframes pointille { 0%,60%,100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-4px); } }
.roc__formulaire { display: grid; gap: 8px; background: #fff; border: 1px solid var(--ligne); border-radius: 12px; padding: 14px; align-self: stretch; max-width: none; }
.roc__formulaire input, .roc__formulaire textarea { font: inherit; font-size: 16px; border: 1px solid var(--ligne); border-radius: 8px; padding: 10px 12px; width: 100%; }
.roc__formulaire textarea { min-height: 70px; resize: vertical; }
.roc__formulaire button { font: inherit; font-weight: 800; background: var(--noir); color: #fff; border: 0; border-radius: 8px; padding: 12px; cursor: pointer; }
@media (max-width: 559px) { .roc { right: 0; left: 0; bottom: 0; width: 100%; max-height: 88vh; border-radius: var(--rayon-lg) var(--rayon-lg) 0 0; } }

/* En-tête : jamais de retour à la ligne */
.nav a, .nav button, .entete__tel, .entete .btn { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1279px) {
  .entete__tel { font-size: 0; gap: 0; }
  .entete__tel .icon { width: 22px; height: 22px; }
  .nav a, .nav button { padding: 10px 9px; font-size: .92rem; }
}
@media (min-width: 900px) and (max-width: 1059px) {
  .nav a, .nav button { padding: 10px 6px; font-size: .88rem; }
  .entete .btn--primaire .icon--fleche { display: none; }
}

/* =====================================================================
   SANS HEXAGONES — AJPC fait des fissures, pas des alvéoles
   ===================================================================== */
:root { --hex: inset(0 round 12px); }
.section--pierre { background-image: none; }
.menu-mobile { background-image: none; }
.menu-mobile > ul > li > a::before, .menu-mobile summary::before { width: 14px; height: 2px; border-radius: 2px; }
/* Motif signature : une fissure qui traverse les sections sombres */
.hero::before, .section-dark::before, .cta-final::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 900' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23ffffff' stroke-linejoin='bevel' stroke-linecap='round'%3E%3Cpath stroke-opacity='.10' stroke-width='2' d='M560 0l-38 64 22 30-51 78 18 41-62 88 26 36-58 94 20 47-66 97 24 52-49 83 14 36-40 74'/%3E%3Cpath stroke-opacity='.07' stroke-width='1.4' d='M493 172l-44 22-18 38M438 337l38 30 10 44M380 521l-52 12-26 40M334 721l40 26'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: min(46vw, 620px) 100%; background-position: right 4% top;
}
.cta-final::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .8; }
.tuile { width: 56px; height: 56px; border-radius: 12px; }
.tuile::before { inset: 1px; border-radius: 11px; }
.mega__item .tuile { width: 38px; height: 38px; }
.etape::before { width: 46px; height: 46px; border-radius: 12px; }
.etape::after { left: 13px; top: 13px; width: 20px; height: 20px; clip-path: none; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M11 1 8 7l4 3-5 5 2 4' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.section-dark .etape::after { filter: invert(1); }
.pastille input:checked + span::before { border-radius: 50%; }
.roc__avatar { border-radius: 50%; width: 40px; height: 40px; }
.coupe__legende b { border-radius: 50%; width: 24px; height: 24px; }
.duo__img--hex { clip-path: none; border-radius: var(--rayon-lg); aspect-ratio: auto; }

/* Composition de photos : grande + moyenne + petite */
.collage { position: relative; width: min(100%, 580px); aspect-ratio: 1 / 1.02; margin-inline: auto; }
.collage__img { position: absolute; margin: 0; overflow: hidden; border-radius: 16px; background: var(--sombre-2); box-shadow: 0 30px 60px rgba(0,0,0,.45); outline: 1px solid rgba(255,255,255,.16); outline-offset: -1px; animation: surgir .9s cubic-bezier(.2,.8,.2,1) both; }
.collage__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.collage__img:hover img { transform: scale(1.06); }
.collage__img--grand { left: 0; top: 7%; width: 64%; aspect-ratio: 4 / 5; z-index: 1; animation-delay: .15s; }
.collage__img--moyen { right: 0; top: 0; width: 44%; aspect-ratio: 1; z-index: 2; animation-delay: .35s; }
.collage__img--petit { right: 6%; bottom: 0; width: 42%; aspect-ratio: 4 / 3; z-index: 3; animation-delay: .55s; border: 5px solid var(--noir); }
.collage__fissure { position: absolute; left: 52%; top: -4%; width: 22%; height: 108%; z-index: 4; pointer-events: none; overflow: visible; }
.collage__fissure path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: bevel; stroke-dasharray: 900; stroke-dashoffset: 900; animation: tracer 2.4s .9s ease forwards; }
.collage__etiquette { position: absolute; left: 4%; bottom: 3%; z-index: 5; background: #fff; color: var(--noir); border-radius: 999px; padding: 9px 16px; font-weight: 800; font-size: .85rem; box-shadow: 0 14px 30px rgba(0,0,0,.35); display: inline-flex; align-items: center; gap: 8px; animation: surgir .8s 1s cubic-bezier(.2,.8,.2,1) both; }
.collage__etiquette .icon { width: 18px; height: 18px; }
@keyframes surgir { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes tracer { to { stroke-dashoffset: 0; } }

/* Duo : une grande photo et une petite qui la chevauche */
.duo-collage { position: relative; padding: 0 0 12% 0; }
.duo-collage__grand { border-radius: var(--rayon-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--ombre-forte); }
.duo-collage__petit { position: absolute; right: -2%; bottom: 0; width: 46%; aspect-ratio: 1; border-radius: var(--rayon-lg); overflow: hidden; border: 6px solid #fff; box-shadow: var(--ombre-forte); }
.section--pierre .duo-collage__petit { border-color: var(--pierre); }
.duo-collage img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 559px) { .duo-collage__petit { width: 44%; right: 0; } }
@media (prefers-reduced-motion: reduce) { .collage__img, .collage__etiquette { animation: none; } .collage__fissure path { animation: none; stroke-dashoffset: 0; } }
.hero__texte h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); }
.pied__facebook { display: inline-flex !important; align-items: center; gap: 10px; width: auto !important; height: auto !important; border: 0 !important; border-radius: 0 !important; font-weight: 700; color: #fff; }
.pied__facebook .fb, .menu-mobile__reseaux .fb { width: 28px; height: 28px; flex: none; }
.coupe__legende b { width: 10px; height: 10px; margin-top: .55em; border-radius: 50%; }
/* Liens sur deux lignes : boîte cliquable pleine (pied de page, fil d'Ariane) */
.pied li a, .fil a { display: inline-block; }
.champ--consentement a { display: inline-block; }
.menu-mobile summary { justify-content: flex-start; }
.menu-mobile summary .icon { margin-left: auto; }
@media (max-width: 559px) {
  .roc__choix { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .roc__choix::-webkit-scrollbar { display: none; }
  .roc__choix button { flex: none; }
}

/* =====================================================================
   Témoins — petite carte flottante + voyant (vert / rouge)
   ===================================================================== */
.consent { left: 20px; right: auto; bottom: 20px; width: min(340px, calc(100vw - 32px)); border: 1px solid rgba(255,255,255,.14); border-top: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 18px 18px 14px; box-shadow: 0 24px 60px rgba(0,0,0,.45); transform: translateY(calc(100% + 40px)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.consent.est-visible { transform: none; }
.consent__tete { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.consent__tete strong { color: #fff; font-size: 1rem; }
.consent__texte { margin: 0 0 14px; font-size: .9rem; line-height: 1.5; color: rgba(255,255,255,.78); }
.consent__texte a { color: #fff; text-decoration: underline; }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent__oui, .consent__non { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; border-radius: 999px; font: inherit; font-weight: 800; font-size: .92rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.consent__oui { background: #fff; color: var(--noir); border: 1px solid #fff; }
.consent__oui:hover { background: #E4E4E1; }
.consent__non { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.consent__non:hover { border-color: #fff; }
.consent__lien { display: block; margin: 10px auto 0; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.6); }
/* Le voyant */
.voyant { position: relative; width: 11px; height: 11px; border-radius: 50%; flex: none; background: #8C8C90; }
.voyant--vert { background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.22); }
.voyant--rouge { background: #EF4444; box-shadow: 0 0 0 3px rgba(239,68,68,.22); }
.voyant--attente { background: #F5B301; box-shadow: 0 0 10px rgba(245,179,1,.8); }
.voyant--attente::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(245,179,1,.7); animation: voyant-pulse 1.6s ease-out infinite; }
@keyframes voyant-pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
/* Après le choix : un petit rond discret qui reste en bas à gauche */
.consent-voyant { position: fixed; left: 16px; bottom: 16px; z-index: 840; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(11,11,12,.88); backdrop-filter: blur(8px); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,.3); padding: 0; }
.consent-voyant[hidden] { display: none; }
.consent-voyant.est-accepte .voyant { background: #22C55E; box-shadow: 0 0 8px rgba(34,197,94,.9); }
.consent-voyant.est-refuse .voyant { background: #EF4444; box-shadow: 0 0 8px rgba(239,68,68,.9); }
.consent-voyant__etiquette { position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap; background: var(--noir); color: #fff; font-size: .78rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.consent-voyant:hover .consent-voyant__etiquette, .consent-voyant:focus-visible .consent-voyant__etiquette { opacity: 1; }
@media (max-width: 899px) {
  .consent { left: 12px; right: 12px; width: auto; bottom: 12px; }
  .consent-voyant { bottom: calc(84px + env(safe-area-inset-bottom)); left: 12px; width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .voyant--attente::after { animation: none; } }

/* Logo AJPC plus présent dans l'en-tête */
:root { --entete-h: 84px; }
.logo img { height: 62px; }
.entete.est-compact .logo img { height: 50px; }
@media (max-width: 899px) { :root { --entete-h: 72px; } .logo img { height: 54px; } .entete.est-compact .logo img { height: 46px; } }

/* ROC : la conversation garde toujours sa place */
.roc__fil { min-height: 240px; }
.roc__choix { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-top: 10px; border-top: 1px solid var(--ligne); background: #fff; }
.roc__choix::-webkit-scrollbar { display: none; }
.roc__choix button { flex: none; }
.roc { max-height: min(82vh, 680px); height: min(82vh, 680px); }

/* =====================================================================
   Fissures de fond — une vraie fissure, en alternance gauche / droite
   ===================================================================== */
.hero::before, .section-dark::before, .cta-final::after { background-image: none !important; }
main > section.section, main > section.hero, main > section.cta-final { background-repeat: no-repeat; background-size: clamp(120px, 16vw, 250px) 100%; }
main > section.section:nth-of-type(odd), main > section.hero:nth-of-type(odd), main > section.cta-final:nth-of-type(odd) { background-position: left clamp(0px, 3vw, 60px) top; }
main > section.section:nth-of-type(even), main > section.hero:nth-of-type(even), main > section.cta-final:nth-of-type(even) { background-position: right clamp(0px, 3vw, 60px) top; }
main > section.section:nth-of-type(odd) { background-image: url("../images/fissure-g-foncee.svg"); }
main > section.section:nth-of-type(even) { background-image: url("../images/fissure-d-foncee.svg"); }
main > section.section-dark:nth-of-type(odd), main > section.hero:nth-of-type(odd), main > section.cta-final:nth-of-type(odd) { background-image: url("../images/fissure-g-claire.svg"); }
main > section.section-dark:nth-of-type(even), main > section.hero:nth-of-type(even), main > section.cta-final:nth-of-type(even) { background-image: url("../images/fissure-d-claire.svg"); }

/* Ouverture : la fissure, zoom lent vers la fissure */
.video-accueil__photo { object-position: 62% 50%; transform-origin: 64% 58%; animation: zoom-fissure 26s ease-out both; }
@keyframes zoom-fissure { from { transform: scale(1); } to { transform: scale(1.18); } }
.video-accueil::after { background: linear-gradient(90deg, rgba(10,10,11,.72) 0%, rgba(10,10,11,.35) 45%, rgba(10,10,11,.1) 70%), linear-gradient(180deg, rgba(10,10,11,.15) 60%, rgba(10,10,11,.9)); }
.video-accueil__logo { left: 24%; width: min(34vw, 460px); }
.video-accueil__slogan { text-align: left; left: max(20px, calc((100vw - var(--largeur)) / 2)); right: auto; }
@media (max-width: 899px) {
  .video-accueil { display: block !important; height: 62svh; min-height: 380px; }
  .video-accueil__logo { left: 50%; top: 40%; width: min(70vw, 340px); }
  .video-accueil__photo { object-position: 68% 50%; }
  .video-accueil::after { background: linear-gradient(180deg, rgba(10,10,11,.35), rgba(10,10,11,.25) 40%, rgba(10,10,11,.92)); }
  .video-accueil__slogan { left: 20px; right: 20px; bottom: 70px; font-size: .72rem; letter-spacing: .16em; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .video-accueil__photo { animation: none; } }
.logo { flex: none; }
.logo img { max-width: none; }
.carte--appel .carte__in { background: var(--noir); color: rgba(255,255,255,.78); }
.carte--appel h3, .carte--appel .lien-fleche { color: #fff; }
.carte--appel .tuile { background: rgba(255,255,255,.3); } .carte--appel .tuile::before { background: #1C1C1F; } .carte--appel .tuile .icon { color: #fff; }
main > section.section, main > section.hero, main > section.cta-final { background-repeat: repeat-y; background-size: clamp(150px, 17vw, 260px) auto; }
/* Témoins : une seule lumière, à côté du titre — rouge tant que rien n'est accepté */
.voyant--attente { background: #EF4444; box-shadow: 0 0 10px rgba(239,68,68,.85); }
.voyant--attente::after { border-color: rgba(239,68,68,.7); }
.consent__oui .voyant, .consent__non .voyant { display: none; }

/* =====================================================================
   Ressources : guide des symptômes, pages problème, urgence, calculateur
   ===================================================================== */
.galerie [hidden] { display: none; }
.filtres { margin-bottom: 22px; }
.carte__sous { font-weight: 700; color: var(--titre); font-size: .92rem; margin: -4px 0 8px; }
@media (min-width: 1100px) { .services-grille--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .pied__grille { grid-template-columns: 1.3fr repeat(4, 1fr); } }

/* Guide des symptômes */
.symptomes { display: grid; gap: 12px; }
@media (min-width: 900px) { .symptomes { grid-template-columns: 1fr 1fr; align-items: start; } }
.symptome { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon-lg); transition: border-color var(--transition), box-shadow var(--transition); }
.symptome[open] { border-color: var(--noir); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.symptome summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; min-height: 72px; }
.symptome summary::-webkit-details-marker { display: none; }
.symptome .tuile { flex: none; width: 46px; height: 42px; }
.symptome__titre { flex: 1; min-width: 0; display: grid; gap: 2px; }
.symptome__titre strong { color: var(--titre); font-size: 1.02rem; line-height: 1.3; }
.symptome__titre small { color: var(--texte-doux); font-size: .88rem; }
.symptome__plus { flex: none; width: 22px; height: 22px; transition: transform var(--transition); }
.symptome[open] .symptome__plus { transform: rotate(45deg); }
.symptome__corps { padding: 0 18px 18px 78px; }
.symptome__lib { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--texte-doux); margin: 0 0 10px; }
@media (max-width: 599px) { .symptome__corps { padding: 0 16px 16px; } .symptome summary { padding: 14px 16px; } }

/* Listes « à ne pas faire » */
.liste-non .icon { color: #B91C1C; }

/* Urgence */
.urgence-hero__pastille { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--noir); font-weight: 800; font-size: .88rem; padding: 8px 14px; border-radius: 999px; margin-bottom: 16px; }
.urgence-hero__pastille .icon { width: 18px; height: 18px; color: #B91C1C; }

/* Calculateur */
.calc { display: grid; gap: 28px; align-items: start; }
@media (min-width: 980px) { .calc { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; } .calc__resultat { position: sticky; top: 104px; } }
.calc__form { display: grid; gap: 14px; min-width: 0; }
.calc__bloc { border: 1px solid var(--ligne); border-radius: var(--rayon-lg); padding: 18px; margin: 0; min-width: 0; background: var(--blanc); }
.calc__bloc[hidden] { display: none; }
.calc__bloc legend { font-weight: 800; color: var(--titre); font-size: 1rem; padding: 0 6px; }
.calc__aide { font-size: .88rem; color: var(--texte-doux); margin: 10px 0 0; }
.calc-choix-grille { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.calc-choix { position: relative; display: block; }
.calc-choix input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.calc-choix__in { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid #CFCFCB; border-radius: var(--rayon); min-height: 64px; transition: all var(--transition); height: 100%; }
.calc-choix__in strong { display: block; color: var(--titre); font-size: .95rem; line-height: 1.25; }
.calc-choix__in small { color: var(--texte-doux); font-size: .82rem; }
.calc-choix .tuile { flex: none; width: 40px; height: 36px; }
.calc-choix input:checked + .calc-choix__in { border-color: var(--noir); box-shadow: inset 0 0 0 1px var(--noir); background: var(--pierre); }
.calc-choix input:focus-visible + .calc-choix__in { outline: 3px solid var(--noir); outline-offset: 2px; }
@media (max-width: 420px) { .calc-choix-grille { grid-template-columns: 1fr; } }
.calc-quantite { display: flex; align-items: center; gap: 16px; }
.calc-quantite input[type="range"] { flex: 1; min-width: 0; accent-color: var(--noir); height: 44px; cursor: pointer; }
.calc-quantite output { flex: none; min-width: 7.5em; text-align: right; font-weight: 800; font-size: 1.15rem; color: var(--titre); }
.calc__resultat { background: var(--noir); color: rgba(255,255,255,.78); border-radius: var(--rayon-lg); padding: 26px; display: grid; gap: 12px; min-width: 0; }
.calc__resultat .surtitre { color: rgba(255,255,255,.7); margin: 0; }
.calc__montant { margin: 0; color: #fff; font-weight: 800; font-size: clamp(1.9rem, 5vw, 2.6rem); line-height: 1.1; letter-spacing: -.02em; }
.calc__taxes { margin: -6px 0 0; font-size: .9rem; }
.calc__detail { list-style: none; margin: 4px 0 6px; padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 8px; font-size: .9rem; }
.calc__detail li { display: flex; justify-content: space-between; gap: 12px; }
.calc__detail b { color: #fff; white-space: nowrap; }
.calc__tel { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-weight: 700; min-height: 44px; }
.calc__tel .icon { width: 18px; height: 18px; }
.calc__note { font-size: .8rem; margin: 4px 0 0; color: rgba(255,255,255,.6); }

/* Menu Ressources */
.mega--ressources { min-width: 320px; }
@media (min-width: 900px) and (max-width: 1180px) { .nav a, .nav button { padding: 10px 8px; font-size: .9rem; } }
.calc__resultat .btn--primaire { background: #fff; color: var(--noir); border-color: #fff; }
.calc__resultat .btn--primaire:hover { background: #D9D9D6; color: var(--noir); }
@media (max-width: 599px) { .calc-quantite { flex-wrap: wrap; gap: 4px; } .calc-quantite output { order: -1; min-width: 0; text-align: left; width: 100%; } .calc-quantite input[type="range"] { width: 100%; flex-basis: 100%; } }

/* Coin plié : il se replie davantage au survol (sur toutes les cases à coin) */
@property --coin { syntax: "<length>"; inherits: true; initial-value: 26px; }
.carte, .tuile-sombre, .chiffre, .pourquoi { --coin: 26px; transition: --coin .45s cubic-bezier(.3, .7, .2, 1), transform var(--transition), filter var(--transition); }
.carte::after, .tuile-sombre::after, .chiffre::after, .pourquoi::after { width: var(--coin); height: var(--coin); }
.carte__in, .tuile-sombre, .chiffre, .pourquoi { clip-path: polygon(0 0, calc(100% - var(--coin)) 0, 100% var(--coin), 100% 100%, 0 100%); }
@media (hover: hover) {
  .carte:hover, .carte:focus-visible, .tuile-sombre:hover, .pourquoi:hover { --coin: 0px; }
}
@media (prefers-reduced-motion: reduce) { .carte, .tuile-sombre, .chiffre, .pourquoi { transition: none; } }

/* Fissure de fond : dessinée par ajpc.js (une seule fissure continue) — les anciens fonds par section sont retirés */
main > section.section, main > section.hero, main > section.cta-final { background-image: none !important; }
main#contenu { position: relative; }
#fissure-fond { position: absolute; top: 0; left: 0; pointer-events: none; z-index: 6; mix-blend-mode: difference; fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
@media print { #fissure-fond { display: none; } }

/* Pierrot : choix de réponse sous chaque message */
.roc__choix[hidden] { display: none !important; }
.roc__options { display: flex; flex-direction: column; gap: 6px; align-self: stretch; margin: -2px 0 4px; }
.roc__options button { font: inherit; font-size: .9rem; font-weight: 700; text-align: left; padding: 10px 14px; min-height: 42px; border-radius: 10px; border: 1px solid var(--ligne); background: #fff; color: var(--titre); cursor: pointer; transition: background var(--transition), color var(--transition), border-color var(--transition); }
.roc__options button:hover, .roc__options button:focus-visible { background: var(--noir); color: #fff; border-color: var(--noir); }
.roc__options.est-fige { display: none; }
.roc__msg ul, .roc__msg ol { margin: .4em 0; padding-left: 1.2em; }
.roc__avatar { font-size: 1.1rem; }
.carte__entete { padding-right: 20px; } .tuile-sombre > div { padding-right: 14px; }

/* Texte en gras et crochets lisibles sur les fonds noirs */
.pourquoi strong, .section-dark strong, .carte--sombre strong, .calc__resultat strong, .cta-final strong { color: #fff; }
.pourquoi .liste-check .icon, .section-dark .liste-check .icon, .carte--sombre .liste-check .icon { color: #fff; }
.pourquoi .liste-check li, .section-dark .liste-check li { color: rgba(255, 255, 255, .85); }

/* Axel : pastille rouge « nouveau message » */
.roc-lanceur { position: fixed; }
.roc-pastille { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #E11D2E; color: #fff; font: 800 .78rem/22px var(--police); text-align: center; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(225, 29, 46, .45); animation: pastille-entree .45s cubic-bezier(.3, 1.6, .5, 1) both, pastille-pouls 2s ease-in-out .6s infinite; pointer-events: none; }
@keyframes pastille-entree { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes pastille-pouls { 0%, 100% { box-shadow: 0 0 0 0 rgba(225, 29, 46, .55); } 50% { box-shadow: 0 0 0 8px rgba(225, 29, 46, 0); } }
@media (prefers-reduced-motion: reduce) { .roc-pastille { animation: none; } }
