/*
Theme Name: ONKAR
Description: Thème natif sans extension pour onkar.fr (aménagement de véhicules utilitaires), reprise de l'identité du site 10Web Builder / Elementor. Base commune Mandragore (assets/base.css, inc/base.php).
Author: Mandragore Design
Version: 1.0.0
Text Domain: onkar
*/
:root {
  --couleur-1: #a2161b;          /* rouge officiel ONKAR */
  --couleur-1-sombre: #98080d;   /* rouge foncé */
  --couleur-1-claire: #c5353a;   /* rouge clair */
  --couleur-2: #2e2e2e;          /* gris / noir */
  --texte: #1f2328;
  --fond-doux: #f5f5f5;
  --rose: #ffdedf;               /* rouge transparent fond blanc */
  --police-titres: "Open Sans", "Segoe UI", Arial, sans-serif;
  --police-texte: Helvetica, Arial, "Segoe UI", sans-serif;
  --largeur: 1240px;
}
/* Polices auto-hébergées si présentes dans assets/fonts (sinon repli système) */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("assets/fonts/open-sans-latin.woff2") format("woff2"); }

/* Hachures rouges de la charte : à droite du logo (en-tête d'origine 530) et sous les titres de page / du pied */
.hachures { height: 10px; background: repeating-linear-gradient(135deg, var(--couleur-1) 0 6px, transparent 6px 12px); }
.entete__logo img { height: 54px; }
.entete__int { gap: 16px; }
/* Accueil : bouton d'accès aux réalisations aligné sur le titre de la galerie */
body.home .contenu .bloc[data-el="acf6399"] > p:has(> .bouton) { text-align: center; }
/* Bandeau de page du gabarit « Page unique » d'origine (modèles 550 / 1025) : bande rouge, titre centré, « ONKAR » en filigrane */
.bandeau { position: relative; overflow: hidden; isolation: isolate; background: var(--couleur-1); text-align: center; padding-top: clamp(22px, 3.4vw, 40px); padding-bottom: clamp(22px, 3.4vw, 40px); }
.bandeau::before { content: "ONKAR ONKAR ONKAR"; position: absolute; z-index: -1; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; font-family: var(--police-titres); font-weight: 800; font-size: clamp(5rem, 13vw, 11rem); letter-spacing: .02em; color: rgba(255, 255, 255, .07); line-height: 1; }
.bandeau h1 { font-size: clamp(1.4rem, 3vw, 2.1rem); }
.bandeau .fil { font-size: .82rem; opacity: .8; }
.bandeau--fil { padding-top: 12px; padding-bottom: 12px; }
.bandeau--fil::before { font-size: 4rem; }
.bandeau--fil .fil { margin: 0; }

/* Bande « Faire estimer votre projet » en fin de page (même gabarit) : fond rouge, titre blanc, carte blanche avec le « O » */
.appel-fin { background: var(--couleur-1); padding: clamp(40px, 6vw, 64px) var(--gouttiere) !important; margin-top: clamp(40px, 6vw, 72px); }
.appel-fin__int { background: none; padding: 0; max-width: 580px; margin: 0 auto; display: grid; grid-template-columns: 84px 1fr; grid-template-areas: "titre titre" "icone texte" "icone boutons"; gap: 0 4px; }
.appel-fin__int > div { display: contents; }
.appel-fin__int::before { content: ""; grid-area: 2 / 1 / 4 / 3; align-self: stretch; background: #fff; border-radius: 12px; }   /* la base centre les éléments : sans stretch, la carte vide est haute de 0 */
.appel-fin__int::after { content: ""; grid-area: icone; align-self: center; justify-self: center; width: 34px; height: 48px; background: var(--couleur-1); -webkit-mask: url("assets/pied-icone.svg") center/contain no-repeat; mask: url("assets/pied-icone.svg") center/contain no-repeat; }
.appel-fin__int h2 { grid-area: titre; position: relative; text-align: center; color: #fff; font-size: 1.35rem; margin: 0 0 20px; }
.appel-fin__int > div > p { grid-area: texte; position: relative; color: #1f2328; padding: 18px 20px 0 0; font-size: .95rem; }
.appel-fin__boutons { grid-area: boutons; position: relative; padding: 10px 20px 18px 0 !important; }
.appel-fin .bouton { padding: 8px 20px; font-size: .9rem; }
.appel-fin__boutons .bouton--contour { color: var(--couleur-1) !important; border-color: var(--couleur-1); }
.appel-fin__boutons .bouton--contour:hover { background: var(--couleur-1); color: #fff !important; }
.appel-fin + .pied { margin-top: 0; }

/* Méga-menu « Aménagement Véhicules utilitaires » (widget mega-menu du site d'origine) */
.nav .mega > a::after { width: 16px; height: 16px; border: 0; transform: none; vertical-align: -3px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm1 15h-2v-4H7v-2h4V7h2v4h4v2h-4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm1 15h-2v-4H7v-2h4V7h2v4h4v2h-4z'/%3E%3C/svg%3E") center/contain no-repeat; color: var(--couleur-2); }
.nav .mega:hover > a::after, .nav .mega:focus-within > a::after, .nav .mega.ouvert > a::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm5 11H7v-2h10z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm5 11H7v-2h10z'/%3E%3C/svg%3E"); color: var(--couleur-1); }
.nav .mega:hover > a, .nav .mega.ouvert > a { color: var(--couleur-1); text-decoration: underline; text-underline-offset: 5px; }
.nav .mega .sub-menu li { border-bottom: 1px dotted rgba(162, 22, 27, .25); margin: 0; }
.nav .mega .sub-menu li:last-child { border-bottom: 0; }
.nav .mega .mega__lien { display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 12px 18px 12px 22px; border-radius: 0; color: #1f2328; font-family: var(--police-titres); font-weight: 500; font-size: 1.12rem; line-height: 1.25;
  background: linear-gradient(129deg, #f4f4f4 58%, rgba(162, 22, 27, .55)), var(--photo) right center / 34% auto no-repeat, #f4f4f4; background-blend-mode: normal; transition: background-color .3s; }
.nav .mega li:first-child .mega__lien { min-height: 150px; flex-wrap: wrap; align-content: center; background-color: #fff; background-image: linear-gradient(129deg, #fff 58%, rgba(162, 22, 27, .55)), var(--photo); background-size: auto, 40% auto; font-size: 1.3rem; }
.nav .mega .mega__lien:hover, .nav .mega .mega__lien:focus-visible { color: var(--couleur-1); background-image: linear-gradient(129deg, #fff 62%, rgba(162, 22, 27, .3)), var(--photo); }
.mega__lien .icone { flex: 0 0 27px; width: 27px; height: 27px; color: var(--couleur-2); }
.nav .mega li:first-child .icone { color: var(--couleur-1); }
.mega__texte { display: flex; flex-direction: column; gap: 6px; max-width: 86%; }
.mega__texte em { font-family: var(--police-texte); font-size: .8rem; font-weight: 400; color: #333; }
@keyframes mega-apparait { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (min-width: 1024px) {
  .nav .mega > .sub-menu { left: 50%; transform: translateX(-50%); width: 480px; padding: 0; gap: 0; overflow: hidden; border-radius: 25px; border: solid var(--couleur-1); border-width: 0 4px 3px 0; box-shadow: 0 18px 40px rgba(0, 0, 0, .18); animation: mega-apparait .35s ease; }
  .nav .mega > .sub-menu::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
}
@media (max-width: 1023px) {
  /* Base commune : « li:hover > .sub-menu:not(.ouvert) » refermait le sous-menu ouvert au toucher (le survol reste collé) */
  .nav li.ouvert:hover > .sub-menu { display: flex; }
  .nav .mega .sub-menu { padding: 0; border: 0; }
  .nav .mega .mega__lien, .nav .mega li:first-child .mega__lien { min-height: 64px; font-size: 1rem; padding: 10px 12px; border-bottom: 0; background-size: auto, 30% auto; }
  .mega__texte em { display: none; }
}

/* Accueil : hero (remplace Slider Revolution) */
.hero { position: relative; isolation: isolate; color: #fff; background: #2e2e2e center/cover no-repeat; padding: clamp(48px, 8vw, 96px) max(var(--gouttiere), calc((100% - var(--largeur)) / 2)); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 20, 20, .88) 0%, rgba(20, 20, 20, .6) 60%, rgba(162, 22, 27, .55) 100%); z-index: -1; }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 4.4vw, 2.7rem); margin-bottom: .4em; }
.hero h2 { color: #ffdedf; font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-weight: 600; margin-bottom: 1em; }
.hero .hero__accroche { display: inline-flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 8px 16px; font-weight: 600; margin-bottom: 20px; font-size: .95rem; }
.hero .hero__accroche::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--couleur-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero__boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__boutons .bouton--contour { color: #fff !important; border-color: #fff; }
.hero__boutons .bouton--contour:hover { background: #fff; color: var(--couleur-1) !important; }
.hero__image img { border-radius: var(--rayon); box-shadow: 0 20px 50px rgba(0, 0, 0, .4); max-height: 520px; width: auto; margin: 0 auto; object-fit: cover; }
/* Téléphone : photo en bandeau bas pour que titre, boutons et arguments tiennent sur les premiers écrans */
@media (max-width: 700px) {
  .hero { padding-top: 28px; padding-bottom: 28px; gap: 20px; }
  .hero .hero__accroche { margin-bottom: 14px; font-size: .85rem; }
  .hero__image img { width: 100%; max-height: 170px; object-position: center 40%; }
  /* Galerie Réalisations : 2 photos par ligne au lieu d'une (≈ 2 000 px de moins sur l'accueil) */
  .galerie:not(.galerie--logos) { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* Séparateur « O » (site d'origine) : bande rouge, pointe vers le bas, pictogramme blanc qui se balance au survol */
.separateur-o { position: relative; z-index: 2; display: grid; place-items: center; height: 40px; background: var(--couleur-1); }
.separateur-o::after { content: ""; position: absolute; left: 50%; bottom: -15px; transform: translateX(-50%); border: solid transparent; border-width: 16px 22px 0; border-top-color: var(--couleur-1); }
.separateur-o img { width: 22px; height: auto; transform-origin: 50% 0; }
.separateur-o:hover img, .separateur-o:focus-visible img { animation: balance .9s ease-in-out; }
@keyframes balance { 25% { transform: rotate(12deg); } 50% { transform: rotate(-9deg); } 75% { transform: rotate(5deg); } }

.hero__points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; background: #fff0f0; padding: clamp(26px, 3.4vw, 38px) max(var(--gouttiere), calc((100% - var(--largeur)) / 2)) clamp(20px, 3vw, 32px); margin: 0; }
.hero__points li { list-style: none; padding-left: 42px; position: relative; margin: 0; }
/* Icônes d'origine : règle, coche, téléphone (contour rouge) */
.hero__points li::before { content: ""; position: absolute; left: 0; top: 2px; width: 30px; height: 30px; background: var(--couleur-1); -webkit-mask: var(--icone) center/contain no-repeat; mask: var(--icone) center/contain no-repeat; }
.hero__point--mesure { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h5v15h13v3H3zm2 3v2h2V6zm0 4v2h2v-2zm0 4v2h2v-2zm5 5h2v-2h-2zm4 0h2v-2h-2zm4 0h2v-2h-2z'/%3E%3C/svg%3E"); }
.hero__point--certifie { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 2.2a7.8 7.8 0 110 15.6 7.8 7.8 0 010-15.6zm3.9 4.2L10.6 13.7 8 11.1l-1.5 1.5 4.1 4.1 6.8-6.8z'/%3E%3C/svg%3E"); }
.hero__point--service { --icone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 006.6 6.6l2.2-2.2a1 1 0 011-.25c1.1.37 2.3.57 3.6.57a1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1c0 1.25.2 2.45.57 3.57a1 1 0 01-.25 1z'/%3E%3C/svg%3E"); }
.hero__points strong { display: block; }
.hero__points span { color: var(--texte-doux); font-size: .95rem; }

/* Titres doublés de l'accueil (sur-titre + titre) : le premier h2 d'un bloc qui en a deux devient un sur-titre rouge */
.accueil .bloc > h2:has(+ h2) { color: var(--couleur-1); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .3em; }
.accueil .bloc > .colonne > h2:has(+ h2) { color: var(--couleur-1); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .2em; }

/* Encadré « Faire estimer votre projet » */
.estimation { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--couleur-2); color: #fff; border-radius: var(--rayon); padding: clamp(22px, 3vw, 36px); margin: 32px max(var(--gouttiere), calc((100% - var(--largeur)) / 2)); }
.estimation h2 { color: #fff; margin: 0 0 6px; font-size: 1.4rem; }
.estimation p { margin: 0 0 14px; color: #ddd; }
.estimation img { width: 90px; height: 90px; }
@media (max-width: 600px) { .estimation { grid-template-columns: 1fr; } .estimation img { display: none; } }

/* Pages activités : premier bloc avec image de fond = bandeau de page */
.page .contenu > .bloc:first-child[style*="background-image"] { padding-top: clamp(48px, 8vw, 90px); padding-bottom: clamp(48px, 8vw, 90px); }
.page .contenu > .bloc:first-child[style*="background-image"] > .colonne > h1 { font-size: clamp(1.8rem, 4.4vw, 2.6rem); }

/* Logos ONKAR dans le contenu (illustrations d'accueil) : largeur limitée, le fichier d'origine fait 1774 px */
.contenu figure img[src*="logo"] { max-width: 320px; margin-inline: 0; }
.contenu .bloc > figure:only-of-type img[src*="logo"] { margin-inline: auto; }

/* ==========================================================================================================
   Typographie et balisage cohérents (annotation #1409, 31/10/2026) : mêmes polices qu'à l'origine (Open Sans titres,
   Helvetica texte), une seule échelle de titres, espacements réguliers ; les tailles en ligne d'Elementor sont neutralisées.
   ========================================================================================================== */
.contenu { --titre-2: clamp(1.6rem, 2.7vw, 2.15rem); --titre-3: clamp(1.15rem, 1.6vw, 1.3rem); }
.contenu p, .contenu li { color: #3a3f45; line-height: 1.7; }
.contenu :is(h2, h3, h4) { font-family: var(--police-titres); text-wrap: balance; }
.contenu h2 { font-size: var(--titre-2); font-weight: 700; line-height: 1.22; letter-spacing: -.01em; margin: 0 0 .55em; }
.contenu h3 { font-size: var(--titre-3); font-weight: 700; line-height: 1.3; margin: 0 0 .45em; color: var(--couleur-2); }
.contenu h4 { font-size: .9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--couleur-1); margin: 1.2em 0 .5em; }
.contenu h3 strong { font-weight: inherit; }
/* Morceau de titre en petite taille dans l'original (« Le sur-mesure à l'état pur ») → sous-titre */
.contenu :is(h2, h3) span[style*="font-size"] { display: block; font-size: max(.5em, .8rem) !important; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: .55em; color: var(--couleur-1-claire) !important; }
.contenu :is(h2, h3) span[style*="color:black"] { color: var(--couleur-2) !important; }
/* Titre à trait rouge : barre à gauche ; centré, la barre passe dessous */
.titre-bord { border-left: 5px solid var(--couleur-1); padding-left: 18px; }
.titre-bord.centre { border-left: 0; padding-left: 0; }
.titre-bord.centre::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 2px; background: var(--couleur-1); margin: 16px auto 0; }
/* Séparateurs (#1413) : jamais en double sous un titre à trait ; hachures courtes et fines ; ligne + icône discrète */
.titre-bord + .separateur, .titre-bord + .colonne > .separateur:first-child { display: none; }
.separateur--slashes { width: min(var(--l), 140px); height: 10px; margin: 2px 0 18px; background: repeating-linear-gradient(135deg, var(--couleur-1) 0 2px, transparent 2px 6px); }
.centre .separateur--slashes, .separateur--centre.separateur--slashes { margin-inline: auto; }
.separateur:has(> span) { width: min(var(--l), 220px); color: var(--couleur-1); margin: 4px 0 18px; }
.separateur:has(> span)::after { height: 2px; background: linear-gradient(90deg, var(--couleur-1), rgba(162, 22, 27, .15)); }
.separateur > span { font-size: 1.3rem; }
/* Cartes à icône : respiration (#1414) */
.carte--icone h3 { font-size: 1.1rem; margin-bottom: .35em; }
.carte--icone p { font-size: .97rem; margin: 0; }
.carte--gauche { gap: 18px; padding: 18px 20px; border-radius: 14px; transition: background .2s; }
.carte--gauche:hover { background: #faf5f5; }
.colonne:has(> .carte--gauche + .carte--gauche) { gap: 8px; }
.groupe:has(> .colonne > .carte--icone) { gap: clamp(20px, 3vw, 36px); }
.carte--icone:not(.carte--gauche) { padding: 8px 12px; }
.carte--icone:not(.carte--gauche) .carte__icone { height: 40px; margin-bottom: 12px; }
/* Carte d'en-tête des pages (dégradé + panneau rose, #1407 #1408 #1412) : même disposition partout, deux zones */
.bloc[style*="border-radius"][style*="gradient"] { display: grid !important; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 861px) { .bloc[style*="border-radius"][style*="gradient"] { grid-template-columns: 1.08fr .92fr; } }
.bloc[style*="border-radius"][style*="gradient"] > .colonne { padding: clamp(28px, 4.5vw, 56px); justify-content: center; }
.bloc[style*="border-radius"][style*="gradient"] > .colonne + .colonne { border-left: 4px solid var(--couleur-1); border-radius: 0; }
.bloc[style*="border-radius"][style*="gradient"] h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.bloc[style*="border-radius"][style*="gradient"] > .colonne + .colonne h2 { font-size: var(--titre-3); }
.bloc[style*="border-radius"][style*="gradient"] > .colonne + .colonne h3 { font-size: 1.05rem; margin-top: .6em; }
.bloc[style*="border-radius"][style*="gradient"] .colonne { gap: 10px; }
@media (max-width: 860px) { .bloc[style*="border-radius"][style*="gradient"] > .colonne + .colonne { border-left: 0; border-top: 4px solid var(--couleur-1); } }
/* Encadré « Besoin d'un accompagnement ? » (gris arrondi) : texte et bouton alignés (#1405) */
.bloc[style*="background-color:#F1F1F1"] { display: grid !important; grid-template-columns: 1fr; gap: 18px 40px; align-items: center; padding: clamp(28px, 4vw, 48px) !important; margin: clamp(32px, 5vw, 56px) max(var(--gouttiere), calc((100% - var(--largeur)) / 2)); border-left: 5px solid var(--couleur-1); }
@media (min-width: 861px) { .bloc[style*="background-color:#F1F1F1"] { grid-template-columns: 1fr auto; } }
.bloc[style*="background-color:#F1F1F1"] h2 { font-size: var(--titre-3); margin-bottom: .4em; }
.bloc[style*="background-color:#F1F1F1"] > .colonne { padding: 0 !important; }
.bloc[style*="background-color:#F1F1F1"] > p { margin: 0; }
.bloc[style*="background-color:#F1F1F1"] .bouton { padding: 14px 30px; }

/* Titre à trait centré : pas de barre (#1415) */
.titre-bord.centre::after { display: none; }
/* Colonne à bordure gauche d'origine (#1404) : barre en dégradé et marge intérieure */
.colonne[style*="border-width"] { padding-left: clamp(20px, 2.6vw, 34px); border-image: linear-gradient(180deg, var(--couleur-1), rgba(162, 22, 27, .12)) 1; }
/* Deux photos l'une sous l'autre : accolées (#1410) */
.colonne:has(> figure + figure) { gap: 0; }
.colonne > figure:has(+ figure) img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.colonne > figure + figure img { border-top-left-radius: 0; border-top-right-radius: 0; }
/* Avis Google de l'accueil (#1406) : centré, en pastille */
.bloc:has(> .avis-google) { text-align: center; }
.bloc:has(> .avis-google) > h2 + h2 { margin-bottom: 28px; }
.avis-google { justify-content: center; width: fit-content; margin: 36px auto 0; padding: 14px 18px 14px 26px; gap: 18px; background: #fff; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .08); border: 1px solid #f0e3e3; }
/* Haut de la page Devis (#1418) : logo plus présent, hachures sous le titre */
.bloc[style*="background-color:#F1F1F1"] > figure img { width: clamp(120px, 14vw, 180px); height: auto; }
.bloc[style*="background-color:#F1F1F1"] > .colonne > h2::after { content: ""; display: block; width: 120px; height: 10px; margin-top: 14px; background: repeating-linear-gradient(135deg, var(--couleur-1) 0 2px, transparent 2px 6px); }
/* Formulaires contact et devis (#1419 #1420) : carte centrée, liseré rouge */
.bloc:has(.formulaire) h2 { text-align: center; }
.bloc:has(.formulaire) h2 + .separateur { margin-inline: auto; }
.formulaire { margin: 8px auto 0; max-width: 1240px; background: #fff; padding: clamp(24px, 4vw, 44px); border-radius: 18px; border-top: 5px solid var(--couleur-1); box-shadow: 0 18px 50px rgba(0, 0, 0, .09); text-align: left; }
.formulaire input, .formulaire select, .formulaire textarea { background: #fafafa; border-color: #dcdfe4; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { background: #fff; }
.formulaire__pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.formulaire__pied .bouton, .formulaire button[type="submit"] { padding: 14px 36px; }
.colonne:has(> .formulaire) { align-items: stretch; }
/* Étapes de « Notre approche » (#1417) : cartes reliées, chiffres en dégradé rouge */
.etapes { gap: 18px; }
.etapes > li { position: relative; padding: 18px 22px 18px 14px; background: #fff; border-radius: 16px; box-shadow: 0 8px 26px rgba(0, 0, 0, .06); align-items: center; }
.etapes > li + li::before { content: ""; position: absolute; left: clamp(52px, 10%, 74px); top: -18px; height: 18px; border-left: 2px dashed rgba(162, 22, 27, .35); }
.etape__num { font-size: clamp(3rem, 5vw, 4.4rem); letter-spacing: -3px; text-align: center; background: linear-gradient(180deg, var(--couleur-1) 10%, #f0b5b7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.etapes h3 { margin-top: 0; }
.etapes > li p:last-child { margin-bottom: 0; }
/* Bande « Faire estimer » en fin de page : elle rejoint le pied, dont le bord en pyramides se pose dessus (#1416) */
.contenu > .appel-fin:last-child { margin-bottom: 0; padding-bottom: calc(clamp(40px, 6vw, 64px) + 34px) !important; }
main:has(.contenu > .appel-fin:last-child) + .pied { margin-top: 0; }

/* Page « Nos solutions » : cartes avec photo */
.solutions { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; margin-top: 8px; }
.solution { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; text-decoration: none; color: var(--texte); box-shadow: var(--ombre); border: solid var(--couleur-1); border-width: 0 3px 3px 0; transition: transform .2s, box-shadow .2s; }
.solution:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 0, 0, .14); color: var(--texte); }
.solution img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.solution__corps { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.solution .icone { width: 28px; height: 28px; color: var(--couleur-1); }
.solution__titre { font-family: var(--police-titres); font-weight: 700; font-size: 1.15rem; line-height: 1.3; }
.solution__texte { color: var(--texte-doux); font-size: .95rem; flex: 1; }
.solution__lien { color: var(--couleur-1); font-weight: 700; font-family: var(--police-titres); }
.solution__lien::after { content: " →"; }

/* Points chauds de l'accueil (anciennes infobulles) : photo + liste propre */
.points-chauds { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-direction: column; gap: 10px; }
.points-chauds > li { position: relative; padding-left: 26px; margin: 0; color: var(--texte-doux); }
.points-chauds > li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--couleur-1); box-shadow: 0 0 0 4px rgba(162, 22, 27, .2); }
.points-chauds ul { margin: 6px 0 0; padding-left: 1.1em; columns: 2 180px; }
.points-chauds ul li { margin-bottom: 2px; }
.colonne:has(> .points-chauds) { align-self: start; }
.colonne:has(> .points-chauds) figure img { aspect-ratio: 4 / 3; object-fit: cover; }

/* Page « Notre approche » (page Elementor 659) : texte + étapes à gauche, photo à droite, grands chiffres rouge pâle */
.approche { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.titre-trait::after { content: ""; display: block; width: 24%; min-width: 90px; height: 4px; margin-top: 14px; background: var(--couleur-1); }
.etapes { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 22px; }
.etapes > li { display: grid; grid-template-columns: clamp(96px, 20%, 150px) 1fr; gap: 12px; align-items: start; margin: 0; }
.etape__num { white-space: nowrap; font-family: var(--police-titres); font-weight: 700; font-size: clamp(4rem, 7vw, 6.6rem); line-height: 1; letter-spacing: -5px; color: rgba(162, 22, 27, .4); }
.etapes h3 { margin: .55em 0 .4em; }
.etapes p { margin: 0 0 .6em; }
.approche__photo img { width: 100%; max-height: 760px; object-fit: cover; border-radius: 16px; }
.galerie--realisations { grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 24px; text-align: left; }
.galerie--realisations img { border-radius: 16px; aspect-ratio: 1 / 1; }
@media (max-width: 860px) {
  .approche { grid-template-columns: 1fr; }
  .approche__photo { order: -1; }
  .approche__photo img { max-height: 320px; }
  .etapes > li { grid-template-columns: 64px 1fr; }
  .etape__num { font-size: 3.6rem; letter-spacing: -3px; }
  .etapes h3 { margin-top: .3em; }
}
@media (max-width: 700px) { .galerie--realisations { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* Bloc « Pourquoi ONKAR » (fusion des trois présentations de l'accueil) */
.pourquoi .groupe { margin-top: 10px; }
.pourquoi .carte h3 { color: var(--couleur-1); }

/* Pied de page (modèle Elementor 571) : fond clair, bord supérieur en pyramides, grand « O » blanc à droite */
.pied { position: relative; background: #f2f2f2 url("assets/pied-icone.svg") right max(2%, calc((100% - var(--largeur)) / 2 - 40px)) center / auto 74% no-repeat; color: #1f2328; margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(48px, 6vw, 72px); padding-bottom: 0; padding-left: 0; padding-right: 0; }
.pied::before { content: ""; position: absolute; left: 0; right: 0; top: -34px; height: 35px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 35' preserveAspectRatio='none'%3E%3Cpath d='M0 35V22L190 6l230 22L640 3l230 21 130-12v23z' fill='%23f2f2f2'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.pied__int { padding: 0 max(var(--gouttiere), calc((100% - var(--largeur)) / 2)); grid-template-columns: 1.15fr repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.pied h4 { color: var(--couleur-1); font-size: 1rem; margin: 18px 0 10px; }
.pied a { color: #1f2328; }
.pied a:hover { color: var(--couleur-1); }
.pied__logo { text-align: center; }
.pied__logo img { height: 64px; margin: 0 auto 12px; }
.pied__slogan { color: var(--couleur-1); font-size: 1.02rem; line-height: 1.35; }
.pied__infos { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.pied__infos li { display: flex; align-items: flex-start; gap: 10px; margin: 0; text-align: left; font-size: .95rem; max-width: 300px; }
.pied__infos svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--couleur-1); }
.pied__col { padding-top: 34px; }
.pied__titre { display: flex; align-items: center; gap: 12px; font-family: var(--police-titres); font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: .98rem !important; line-height: 1.2; margin: 0 0 16px !important; padding-bottom: 14px; position: relative; }
.pied__titre::after { content: ""; position: absolute; left: 0; bottom: 0; width: 70px; height: 7px; background: repeating-linear-gradient(135deg, var(--couleur-1) 0 2px, transparent 2px 5px); }
.pied__titre .icone { flex: 0 0 28px; width: 28px; height: 28px; color: var(--couleur-1); }
.pied__int .menu { gap: 12px; font-size: .95rem; }
.pied__devis { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; border-radius: 4px; padding: 12px 20px; }
.pied__devis .icone { width: 18px; height: 18px; color: #fff; }
.pied__devis .icone path:last-child { stroke: var(--couleur-1); }
.pied__bas { background: var(--couleur-1); color: #fff; border: 0; margin-top: clamp(36px, 5vw, 56px); padding: 14px max(var(--gouttiere), calc((100% - var(--largeur)) / 2)); align-items: center; text-transform: uppercase; font-size: .8rem; letter-spacing: .02em; }
.pied__bas p { margin: 0; }
.pied__bas a { color: #fff; font-weight: 700; }
.pied__bas a:hover { color: #ffdedf; }
@media (max-width: 1023px) { .pied__int { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .pied { background-size: auto 40%; background-position: right -30px top 40px; }
  .pied__int { grid-template-columns: 1fr; text-align: center; }
  .pied__col { padding-top: 8px; }
  .pied__titre { justify-content: center; }
  .pied__titre::after { left: 50%; transform: translateX(-50%); }
  .pied__int .menu { align-items: center; }
  .pied__bas { justify-content: center; text-align: center; }
}

/* Accueil 8094 : activités et « Pourquoi ONKAR » (07/11/2026), retouche locale uniquement */
body.home .contenu .bloc:has(> .onglets) { padding-bottom: 64px; }
body.home .contenu .bloc:has(> .onglets) > .onglets { gap: 24px; }
body.home .contenu .bloc:has(> .onglets) .onglets__barre {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  margin: 0; counter-reset: activite;
}
body.home .contenu .bloc:has(> .onglets) .onglets__bouton {
  counter-increment: activite; display: flex; align-items: center; gap: 14px;
  min-width: 0; min-height: 96px; padding: 18px 20px; border: 1px solid #e5dddd;
  border-radius: 12px; background: #fff; color: var(--couleur-2); text-align: left;
  font-family: var(--police-titres); font-size: .92rem; font-weight: 600; line-height: 1.45;
  box-shadow: none; transition: border-color .2s, background-color .2s, color .2s;
}
body.home .contenu .bloc:has(> .onglets) .onglets__bouton::before {
  content: counter(activite, decimal-leading-zero); display: grid; place-items: center;
  flex: 0 0 32px; height: 32px; border-radius: 8px; background: #faf0f0;
  color: var(--couleur-1); font-size: .74rem; font-weight: 700;
}
body.home .contenu .bloc:has(> .onglets) .onglets__bouton:hover { border-color: var(--couleur-1); background: #fff8f8; }
body.home .contenu .bloc:has(> .onglets) .onglets__bouton[aria-selected="true"] {
  background: var(--couleur-1); border-color: var(--couleur-1); color: #fff;
}
body.home .contenu .bloc:has(> .onglets) .onglets__bouton[aria-selected="true"]::before { color: #fff; background: rgba(255, 255, 255, .16); }
body.home .contenu .bloc:has(> .onglets) .onglets__bouton:focus-visible { outline: 3px solid #2e2e2e; outline-offset: 3px; }
body.home .contenu .bloc:has(> .onglets) .onglets__panneau {
  grid-template-columns: .94fr 1.06fr; gap: 0; align-items: stretch; min-width: 0;
  border: 1px solid #e8dfdf; border-radius: 18px; background: #fff; overflow: hidden;
}
body.home .contenu .bloc:has(> .onglets) .onglets__panneau > .bloc { min-width: 0; margin: 0; }
body.home .contenu .bloc:has(> .onglets) .onglets__panneau > .bloc:first-child {
  display: flex; align-items: center; justify-content: center; padding: 28px;
  background: linear-gradient(145deg, #fff7f7, #f6e9e9);
}
body.home .contenu .bloc:has(> .onglets) .onglets__panneau figure { width: 100%; margin: 0; }
body.home .contenu .bloc:has(> .onglets) .onglets__panneau figure img {
  width: 100%; height: clamp(240px, 25vw, 340px); max-height: 340px;
  object-fit: contain; object-position: center;
}
body.home .contenu .bloc:has(> .onglets) .onglets__panneau > .bloc:nth-child(2) {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: clamp(28px, 3.5vw, 44px); text-align: left;
}
body.home .contenu .bloc:has(> .onglets) .onglets__panneau h2 {
  max-width: 24ch; margin: 0 0 16px; font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.25; text-align: left;
}
body.home .contenu .bloc:has(> .onglets) .onglets__panneau .centre { text-align: left; }
body.home .contenu .bloc:has(> .onglets) .onglets__panneau .separateur {
  width: 56px; min-width: 56px; height: 3px; margin: 0 0 18px;
  background: var(--couleur-1); transform: none;
}
body.home .contenu .bloc:has(> .onglets) .onglets__panneau .centre p { max-width: 56ch; margin: 0; color: #555055; line-height: 1.75; }
body.home .contenu .bloc:has(> .onglets) .onglets__panneau > .bloc > p:last-child { margin: 24px 0 0; }
body.home .contenu .bloc:has(> .onglets) .onglets__panneau .bouton { border-radius: 10px; padding: 13px 22px; font-size: .94rem; text-align: center; }

body.home .contenu .bloc.pourquoi { padding-top: 64px; padding-bottom: 64px; background: #faf8f8; }
body.home .contenu .bloc.pourquoi > h2:first-child {
  margin: 0 0 14px; color: var(--couleur-1); font-size: .78rem; font-weight: 700;
  line-height: 1.4; letter-spacing: .14em; text-transform: uppercase;
}
body.home .contenu .bloc.pourquoi > h2:first-child + h2 {
  max-width: 34ch; margin: 0 0 20px; font-size: clamp(1.65rem, 3vw, 2.3rem); line-height: 1.25;
}
body.home .contenu .bloc.pourquoi > h2 + p { max-width: 80ch; margin: 0; color: #5c5656; font-size: 1.08rem; line-height: 1.75; }
body.home .contenu .bloc.pourquoi > .groupe { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 20px; margin-top: 32px; }
body.home .contenu .bloc.pourquoi .carte {
  min-width: 0; gap: 0; padding: 28px; border: 1px solid #e7dede; border-radius: 14px;
  background: #fff; box-shadow: none; text-align: left;
}
body.home .contenu .bloc.pourquoi .carte::before {
  content: ""; display: block; width: 32px; height: 32px; margin: 0 0 22px;
  background: var(--couleur-1); -webkit-mask: var(--avantage) center/contain no-repeat;
  mask: var(--avantage) center/contain no-repeat;
}
/* Pictogrammes d'origine : mesure, conformité, accompagnement */
body.home .contenu .bloc.pourquoi .carte:nth-child(1) { --avantage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h5v15h13v3H3zm2 3v2h2V6zm0 4v2h2v-2zm0 4v2h2v-2zm5 5h2v-2h-2zm4 0h2v-2h-2zm4 0h2v-2h-2z'/%3E%3C/svg%3E"); }
body.home .contenu .bloc.pourquoi .carte:nth-child(2) { --avantage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 2.2a7.8 7.8 0 110 15.6 7.8 7.8 0 010-15.6zm3.9 4.2L10.6 13.7 8 11.1l-1.5 1.5 4.1 4.1 6.8-6.8z'/%3E%3C/svg%3E"); }
body.home .contenu .bloc.pourquoi .carte:nth-child(3) { --avantage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 006.6 6.6l2.2-2.2a1 1 0 011-.25c1.1.37 2.3.57 3.6.57a1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1c0 1.25.2 2.45.57 3.57a1 1 0 01-.25 1z'/%3E%3C/svg%3E"); }
body.home .contenu .bloc.pourquoi .carte h3 { min-height: 2.6em; margin: 0 0 14px; color: var(--couleur-2); font-size: 1.12rem; line-height: 1.3; }
body.home .contenu .bloc.pourquoi .carte p { margin: 0; color: #625b5b; font-size: 1rem; line-height: 1.75; }
body.home .contenu .bloc.pourquoi > .groupe + p {
  display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center;
  gap: 12px; margin: 24px 0 0; padding: 0; text-align: left;
}
body.home .contenu .bloc.pourquoi > .groupe + p .bouton { margin: 0; border-radius: 10px; padding: 13px 24px; }
@media (max-width: 860px) {
  body.home .contenu .bloc:has(> .onglets) .onglets__barre { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.home .contenu .bloc:has(> .onglets) .onglets__panneau { grid-template-columns: 1fr; }
  body.home .contenu .bloc:has(> .onglets) .onglets__panneau > .bloc:first-child { padding: 24px; }
  body.home .contenu .bloc:has(> .onglets) .onglets__panneau figure img { height: 260px; }
  body.home .contenu .bloc.pourquoi > .groupe { grid-template-columns: 1fr; gap: 16px; }
  body.home .contenu .bloc.pourquoi .carte { padding: 24px; }
  body.home .contenu .bloc.pourquoi .carte h3 { min-height: 0; }
}
@media (max-width: 560px) {
  body.home .contenu .bloc:has(> .onglets) { padding-bottom: 32px; }
  body.home .contenu .bloc:has(> .onglets) > .onglets { gap: 20px; }
  body.home .contenu .bloc:has(> .onglets) .onglets__barre { gap: 8px; }
  body.home .contenu .bloc:has(> .onglets) .onglets__bouton { min-height: 112px; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; font-size: .79rem; line-height: 1.4; }
  body.home .contenu .bloc:has(> .onglets) .onglets__bouton::before { flex-basis: auto; width: 26px; height: 26px; font-size: .67rem; }
  body.home .contenu .bloc:has(> .onglets) .onglets__panneau > .bloc:first-child { padding: 20px; }
  body.home .contenu .bloc:has(> .onglets) .onglets__panneau figure img { height: 220px; }
  body.home .contenu .bloc:has(> .onglets) .onglets__panneau > .bloc:nth-child(2) { padding: 24px; }
  body.home .contenu .bloc:has(> .onglets) .onglets__panneau h2 { font-size: 1.5rem; }
  body.home .contenu .bloc:has(> .onglets) .onglets__panneau .bouton { width: 100%; }
  body.home .contenu .bloc.pourquoi { padding-top: 32px; padding-bottom: 32px; }
  body.home .contenu .bloc.pourquoi > h2:first-child + h2 { font-size: 1.65rem; }
  body.home .contenu .bloc.pourquoi > h2 + p { font-size: 1rem; }
  body.home .contenu .bloc.pourquoi > .groupe { margin-top: 24px; }
  body.home .contenu .bloc.pourquoi .carte::before { margin-bottom: 16px; }
  body.home .contenu .bloc.pourquoi > .groupe + p .bouton { width: 100%; text-align: center; }
}

/* === Appel final commun à tout le site, v1 du 23/11/2026 (v0 : archives/avant-appel-fin-intro-20261123/style.css) ===
   Fond rouge profond et hachures ONKAR, texte à gauche, carte au O de la marque à droite. */
aside.appel-fin.bloc {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px, 7vw, 92px) var(--gouttiere) !important;
  background: radial-gradient(circle at 82% 30%, rgba(214, 52, 58, .55) 0, transparent 46%), linear-gradient(130deg, #5e0b0f 0%, #8e1318 42%, #a2161b 100%);
}
aside.appel-fin.bloc::before {
  content: ""; position: absolute; inset: 0 0 0 auto; z-index: -1; width: 52%; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 10px, transparent 10px 26px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 55%); mask: linear-gradient(90deg, transparent, #000 55%);
}
aside.appel-fin.bloc .appel-fin__int {
  position: relative; max-width: 1100px; margin: 0 auto; padding: 0; background: none;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: none; gap: 26px clamp(32px, 6vw, 80px); align-items: center;
}
aside.appel-fin.bloc .appel-fin__int > div { display: block; grid-area: 1 / 1 / 2 / 2; }
aside.appel-fin.bloc .appel-fin__int::before {
  content: ""; grid-area: 1 / 2 / 3 / 3; align-self: center; justify-self: center;
  width: clamp(150px, 16vw, 200px); aspect-ratio: 1; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 12px rgba(255, 255, 255, .12), 0 0 0 26px rgba(255, 255, 255, .06), 0 24px 50px rgba(40, 0, 4, .35);
}
aside.appel-fin.bloc .appel-fin__int::after {
  content: ""; grid-area: 1 / 2 / 3 / 3; align-self: center; justify-self: center;
  width: clamp(60px, 6.5vw, 82px); height: clamp(86px, 9.2vw, 116px);
  background: var(--couleur-1); -webkit-mask: url("assets/pied-icone.svg") center/contain no-repeat; mask: url("assets/pied-icone.svg") center/contain no-repeat;
}
aside.appel-fin.bloc .appel-fin__int h2 {
  margin: 0 0 14px; color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.12; letter-spacing: -.025em; text-align: start;
}
aside.appel-fin.bloc .appel-fin__int h2::before {
  content: "Atelier ONKAR · Garancières (78)"; display: flex; align-items: center; gap: 12px; margin-bottom: 14px;
  color: #ffd9da; font: 700 .76rem/1.4 var(--police-titres); letter-spacing: .14em; text-transform: uppercase;
}
aside.appel-fin.bloc .appel-fin__int > div > p { max-width: 46ch; margin: 0; padding: 0; color: #fde8e8; font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.6; }
aside.appel-fin.bloc .appel-fin__boutons { grid-area: 2 / 1 / 3 / 2; display: flex; flex-wrap: wrap; gap: 12px 14px; margin: 0; padding: 0 !important; }
aside.appel-fin.bloc .bouton {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border: 2px solid #fff; border-radius: 12px;
  background: #fff; color: var(--couleur-1) !important; font-size: 1rem; font-weight: 800;
  box-shadow: 0 10px 24px rgba(40, 0, 4, .28); transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
aside.appel-fin.bloc .bouton:not(.bouton--contour)::after { content: "→"; font-weight: 800; transition: transform .2s ease; }
aside.appel-fin.bloc .bouton:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(40, 0, 4, .35); }
aside.appel-fin.bloc .bouton:not(.bouton--contour):hover::after { transform: translateX(4px); }
aside.appel-fin.bloc .appel-fin__boutons .bouton--contour { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .75); box-shadow: none; }
aside.appel-fin.bloc .appel-fin__boutons .bouton--contour:hover { background: #fff; color: var(--couleur-1) !important; border-color: #fff; }
aside.appel-fin.bloc .appel-fin__boutons .bouton--contour svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  aside.appel-fin.bloc::before { width: 100%; }
  aside.appel-fin.bloc .appel-fin__int { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  aside.appel-fin.bloc .appel-fin__int::before, aside.appel-fin.bloc .appel-fin__int::after { grid-area: 1 / 1 / 2 / 2; justify-self: start; }
  aside.appel-fin.bloc .appel-fin__int::before { width: 92px; box-shadow: 0 0 0 8px rgba(255, 255, 255, .12); }
  aside.appel-fin.bloc .appel-fin__int::after { width: 40px; height: 56px; margin-left: 26px; }
  aside.appel-fin.bloc .appel-fin__int > div { grid-area: 2 / 1 / 3 / 2; }
  aside.appel-fin.bloc .appel-fin__boutons { grid-area: 3 / 1 / 4 / 2; }
  aside.appel-fin.bloc .bouton { width: 100%; justify-content: center; }
}

/* v3 (23/11/2026) : quand l'appel final touche le pied, les deux se fondent en un seul aplat rouge.
   Le bas de l'appel glisse sous les angles arrondis du pied (plus de triangles blancs) et finit dans le rouge du pied.
   Ne concerne que les pages qui finissent par l'appel final. */
.contenu > aside.appel-fin.bloc:last-child {
  margin-bottom: -48px; padding-bottom: calc(clamp(56px, 7vw, 92px) + 48px) !important;
  background:
    linear-gradient(to bottom, transparent calc(100% - 140px), var(--couleur-1) calc(100% - 40px)),
    radial-gradient(circle at 82% 30%, rgba(214, 52, 58, .55) 0, transparent 46%),
    linear-gradient(130deg, #5e0b0f 0%, #8e1318 42%, #a2161b 100%);
}
.contenu > aside.appel-fin.bloc:last-child::before { -webkit-mask-image: linear-gradient(90deg, transparent, #000 55%), linear-gradient(to bottom, #000 calc(100% - 140px), transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 55%), linear-gradient(to bottom, #000 calc(100% - 140px), transparent); mask-composite: intersect; }
main:has(.contenu > aside.appel-fin.bloc:last-child) + .pied { position: relative; z-index: 1; margin-top: 0; }
/* v4 : angles du pied sans liseré quand il suit l'appel final. L'arrondi CSS laissait passer un fil du fond gris ;
   on le retire et on peint les deux coins en rouge par-dessus (carré plus petit que l'épaisseur du montant du O). */
main:has(.contenu > aside.appel-fin.bloc:last-child) + .pied { border-radius: 0; }
main:has(.contenu > aside.appel-fin.bloc:last-child) + .pied::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: calc(var(--o-s) * 100px); pointer-events: none;
  background:
    linear-gradient(var(--couleur-1), var(--couleur-1)) left top / calc(var(--o-s) * 100px) 100% no-repeat,
    linear-gradient(var(--couleur-1), var(--couleur-1)) right top / calc(var(--o-s) * 100px) 100% no-repeat;
}