/*
Theme Name: SMART AFRI POWER
Theme URI: https://smartafripower.ma
Author: SMART AFRI POWER
Description: Theme bloc sur mesure - materiel electrique, solaire et pompage, Meknes.
Version: 1.0.1
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smart-afri-power
Tags: block-theme, full-site-editing, business
*/
/* --- genere par build.ps1 : ne pas modifier ici --- */
:root{
  --ico-eclair:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' d='M13.5 2 4.5 13.5h6.5L9.5 22l10-12.5H13L13.5 2z'/%3E%3C/svg%3E");
  --ico-panneau:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M4 4h16l2 11H2L4 4z'/%3E%3Cpath d='M3 9.5h18M9.3 4 8.6 15M14.7 4l.7 11M12 15v4M7.5 20h9'/%3E%3C/g%3E%3C/svg%3E");
  --ico-goutte:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' d='M12 2.8s-6.5 7.4-6.5 11.7a6.5 6.5 0 0 0 13 0C18.5 10.2 12 2.8 12 2.8z'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' d='M9 15.5a3 3 0 0 0 2.5 2.6'/%3E%3C/svg%3E");
  --ico-lampe:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5.5 11 3l1.5 4-8 2.5L3 5.5z'/%3E%3Cpath d='M8 8.3 12 21M12 21h-4.5M15 3.5l6 2.5M17 9l-1.2 3.5M19.6 9.8l2.2 1.6'/%3E%3C/g%3E%3C/svg%3E");
  --ico-borne:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v16M3 21h14M15 10h2a2 2 0 0 1 2 2v4.5a1.5 1.5 0 0 0 3 0V9l-3-3'/%3E%3Cpath d='m10.5 7-2.5 4h4l-2.5 4'/%3E%3C/g%3E%3C/svg%3E");
  --ico-fleche:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --ico-coche:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23000' opacity='.16'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='m7.5 12.3 3 3 6-6.3'/%3E%3C/svg%3E");
  --ico-stock:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M3 7.5 12 3l9 4.5v9L12 21l-9-4.5v-9z'/%3E%3Cpath d='M3 7.5 12 12l9-4.5M12 12v9M7.5 5.2l9 4.6'/%3E%3C/g%3E%3C/svg%3E");
  --ico-conseil:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v10H9l-5 4V5z'/%3E%3Cpath d='M8.5 9.5h7M8.5 12h4'/%3E%3C/g%3E%3C/svg%3E");
  --ico-badge:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='9' r='6'/%3E%3Cpath d='m8.5 13.8-1.5 7.2 5-2.5 5 2.5-1.5-7.2'/%3E%3Cpath d='m9.5 9 1.7 1.7L14.6 7.5'/%3E%3C/g%3E%3C/svg%3E");
  --ico-devis:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2.5h9l4 4V21H6z'/%3E%3Cpath d='M14.5 2.5V7H19M9 12h7M9 15.5h7M9 8.5h3'/%3E%3C/g%3E%3C/svg%3E");
  --ico-soleil:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Cpath d='M12 2v2.5M12 19.5V22M2 12h2.5M19.5 12H22M4.9 4.9l1.8 1.8M17.3 17.3l1.8 1.8M4.9 19.1l1.8-1.8M17.3 6.7l1.8-1.8'/%3E%3C/g%3E%3C/svg%3E");
  --ico-tel:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' d='M5 3h4l2 5-2.5 1.5a11 11 0 0 0 6 6L16 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 5a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
  --ico-mail:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 6 8.5 7 8.5-7'/%3E%3C/g%3E%3C/svg%3E");
  --ico-lieu:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.8'%3E%3Cpath d='M12 21s-7-6.2-7-11.5a7 7 0 0 1 14 0C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
  --ico-whatsapp:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.2l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.5-6.1c-.2-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1l-.8 1c-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4.3-.4.7-1.3.1-.2 0-.3 0-.4l-.8-1.8c-.2-.5-.4-.4-.6-.4h-.5a1 1 0 0 0-.7.3 3 3 0 0 0-.9 2.2 5.2 5.2 0 0 0 1.1 2.7 11.8 11.8 0 0 0 4.5 4c1.7.7 2.3.8 3.2.6.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.3-.2-.5-.3z'/%3E%3C/svg%3E");
  --ico-outil:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' d='M14.5 6.5a4 4 0 0 0 5 5L21 13l-8 8-3-3 6.5-6.5M14.5 6.5 9 1l-2 2 1.5 4.5L4 12l-1 3 3-1 4.5-4.5'/%3E%3C/svg%3E");
  --ico-casque:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17h18v2H3zM5 17v-3a7 7 0 0 1 14 0v3'/%3E%3Cpath d='M10 7.3V4h4v3.3'/%3E%3C/g%3E%3C/svg%3E");
  --ico-plante:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21v-9M12 12c0-4 3-7 8-7 0 5-3 7-8 7zM12 14c0-3-2.5-5.5-7-5.5 0 4 2.5 5.5 7 5.5z'/%3E%3Cpath d='M6 21h12'/%3E%3C/g%3E%3C/svg%3E");
  --ico-usine:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M3 21V10l5 3V10l5 3V10l5 3V4h3v17z'/%3E%3Cpath d='M7 17h2M12 17h2'/%3E%3C/g%3E%3C/svg%3E");
  --ico-maison:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M3 11 12 3.5l9 7.5M5.5 9.5V20h13V9.5'/%3E%3Cpath d='M10 20v-5.5h4V20'/%3E%3C/g%3E%3C/svg%3E");
  --ico-cible:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.7'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Ccircle cx='12' cy='12' r='1.5' fill='%23000'/%3E%3C/g%3E%3C/svg%3E");
  --ico-main:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 12 4-4 4 1 3-2 4 1 5 5-3 3'/%3E%3Cpath d='m8 14 3 3m-1-5 4 4m-1-6 4 4M2 12l7 7c.8.8 2 .8 2.8 0L19 12'/%3E%3C/g%3E%3C/svg%3E");
  --ico-horloge:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3.5 2'/%3E%3C/g%3E%3C/svg%3E");
  --ico-envoi:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.8' stroke-linejoin='round' d='M21 3 3 10.5l7 2.5 2.5 7L21 3zM10 13l5-5'/%3E%3C/svg%3E");
  --img-logo:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E %3Cpath fill='%233FA535' d='M21 6l12-1 6 4 8 1 5 6 6 4 2 4-5 6-4 3-1 7-5 6-2 8-6 5-4-1-2-8-3-7 1-7-4-4h-8l-7-4-4-7 3-7 6-5z'/%3E %3Cpath fill='%232C8A2A' d='M56 44l3-2 1 4-2 6-3 1z'/%3E %3Cpath fill='%23F8BE1E' stroke='%230B2A45' stroke-width='1.2' stroke-linejoin='round' d='M37 12L25 34h8l-4 18 14-25h-8l5-15z'/%3E %3C/svg%3E");
  --img-arcs-heros:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 520' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='a' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%234CAD41'/%3E%3Cstop offset='.55' stop-color='%231B5E20'/%3E%3Cstop offset='1' stop-color='%231B5E20' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%231B5E20'/%3E%3Cstop offset='1' stop-color='%234CAD41'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M0 318 C 110 380 230 452 380 520 L 300 520 C 190 468 90 418 0 384 Z' fill='%23fff' opacity='.85'/%3E%3Cpath d='M0 410 C 70 440 140 478 205 520 L 0 520 Z' fill='url(%23b)'/%3E%3Cpath d='M0 520 L 0 508 C 380 478 880 536 1440 494 L 1440 520 Z' fill='%23fff'/%3E%3C/svg%3E");
  --img-arcs-bandeau:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='xMidYMid slice'%3E%3Cpath d='M0 300 C 70 330 140 362 205 400 L 0 400 Z' fill='%231B5E20'/%3E%3Cpath d='M0 400 L 0 390 C 380 366 880 412 1440 378 L 1440 400 Z' fill='%23fff'/%3E%3C/svg%3E");
  --img-arc-g:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 120'%3E%3Cpath d='M0 18 C 70 30 150 60 236 120 L 180 120 C 120 82 60 56 0 46 Z' fill='%231B5E20'/%3E%3Cpath d='M0 4 C 90 14 180 50 270 120' fill='none' stroke='%234CAD41' stroke-width='3'/%3E%3C/svg%3E");
  --img-arc-d:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 340 120'%3E%3Cpath d='M340 6 C 250 16 160 54 84 120 L 150 120 C 210 74 280 46 340 38 Z' fill='%231B5E20'/%3E%3Cpath d='M340 0 C 230 14 140 60 60 120' fill='none' stroke='%234CAD41' stroke-width='3'/%3E%3C/svg%3E");
  --img-arc-vert:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 190'%3E%3Cpath d='M190 0 A 190 190 0 0 1 0 190 L 0 150 A 150 150 0 0 0 150 0 Z' fill='%234CAD41'/%3E%3C/svg%3E");
  --img-arc-bas:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 160'%3E%3Cpath d='M0 40 C 80 60 160 100 230 160 L 170 160 C 110 116 56 90 0 78 Z' fill='%231B5E20'/%3E%3C/svg%3E");
  --img-arc-or:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 420'%3E%3Ccircle cx='300' cy='120' r='190' fill='none' stroke='%23F8BE1E' stroke-width='3' opacity='.55'/%3E%3Ccircle cx='300' cy='120' r='140' fill='none' stroke='%234CAD41' stroke-width='40' opacity='.35'/%3E%3C/svg%3E");
}
.ico-eclair{--ico:var(--ico-eclair)}
.ico-panneau{--ico:var(--ico-panneau)}
.ico-goutte{--ico:var(--ico-goutte)}
.ico-lampe{--ico:var(--ico-lampe)}
.ico-borne{--ico:var(--ico-borne)}
.ico-fleche{--ico:var(--ico-fleche)}
.ico-coche{--ico:var(--ico-coche)}
.ico-stock{--ico:var(--ico-stock)}
.ico-conseil{--ico:var(--ico-conseil)}
.ico-badge{--ico:var(--ico-badge)}
.ico-devis{--ico:var(--ico-devis)}
.ico-soleil{--ico:var(--ico-soleil)}
.ico-tel{--ico:var(--ico-tel)}
.ico-mail{--ico:var(--ico-mail)}
.ico-lieu{--ico:var(--ico-lieu)}
.ico-whatsapp{--ico:var(--ico-whatsapp)}
.ico-outil{--ico:var(--ico-outil)}
.ico-casque{--ico:var(--ico-casque)}
.ico-plante{--ico:var(--ico-plante)}
.ico-usine{--ico:var(--ico-usine)}
.ico-maison{--ico:var(--ico-maison)}
.ico-cible{--ico:var(--ico-cible)}
.ico-main{--ico:var(--ico-main)}
.ico-horloge{--ico:var(--ico-horloge)}
.ico-envoi{--ico:var(--ico-envoi)}

/* =========================================================
   SMART AFRI POWER — feuille partagée maquette / thème bloc
   Le DOM visé est celui des blocs natifs (wp-block-*).
   Les icônes (--ico-*) sont générées en tête par build.ps1.
   ========================================================= */
:root{
  --nuit:#0B2A45; --nuit-fonce:#05203A; --nuit-clair:#123A5E;
  --encre:#13304C; --texte:#3A4756; --doux:#6B7785;
  --foret:#1B5E20; --foret-fonce:#0D4A18; --vert:#4CAD41; --vert-clair:#8FD683;
  --or:#F8BE1E; --blanc:#FFFFFF; --gris:#F2F5F8; --trait:#E3E8EE; --menthe:#EAF5E7;
  --rayon:14px; --ombre:0 10px 28px rgba(11,42,69,.13);
  --large:1320px;
  --coin:linear-gradient(315deg,var(--foret) 0 24px,transparent 24.5px);
  --coin-petit:linear-gradient(315deg,var(--foret) 0 18px,transparent 18.5px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--blanc);color:var(--texte);font-family:"Figtree",system-ui,sans-serif;font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{font-family:"Figtree",sans-serif;color:var(--encre);margin:0;letter-spacing:-.02em;line-height:1.1;hyphens:none;text-wrap:balance}
p{margin:0}
main,.pied{overflow-x:clip}

/* Neutralisation de l'espacement Gutenberg — à spécificité nulle (voir blocs-gutenberg.md) */
:where(.wp-block-group)>:where(*),:where(.wp-block-buttons){margin-block:0}
figure.wp-block-image{margin:0}
.wp-block-list{margin:0;padding:0;list-style:none}

.enveloppe{width:100%;max-width:calc(var(--large) + 64px);margin-inline:auto;padding-inline:32px}

/* ---------- Pastilles d'icônes (masques) ---------- */
/* Une icône = un pseudo-élément teinté en currentColor, masqué par --ico */

/* ---------- Boutons ---------- */
.wp-block-buttons{display:flex;flex-wrap:wrap;gap:14px}
.wp-block-group .wp-block-buttons{margin-top:30px}
.wp-block-button.bouton{display:inline-block;margin:0}
.wp-block-button.bouton .wp-block-button__link{display:inline-flex;align-items:center;gap:14px;background:var(--foret-fonce);color:#fff;font-family:inherit;font-weight:600;font-size:19px;line-height:1.6;padding:14px 30px 14px 34px;border:0;border-radius:999px;box-shadow:0 8px 20px rgba(13,74,24,.28);text-decoration:none;transition:background .2s,transform .2s}
.wp-block-button.bouton .wp-block-button__link:hover{background:var(--foret);transform:translateY(-2px)}
.wp-block-button.bouton .wp-block-button__link::after{content:"";width:22px;height:22px;flex:none;background:currentColor;-webkit-mask:var(--ico-fleche) center/contain no-repeat;mask:var(--ico-fleche) center/contain no-repeat}
.wp-block-button.bouton.clair .wp-block-button__link{background:#fff;color:var(--foret-fonce);box-shadow:none}
.wp-block-button.bouton.clair .wp-block-button__link:hover{background:#F2F8EF}
.wp-block-button.bouton.wa .wp-block-button__link{background:var(--vert);padding:14px 30px}
.wp-block-button.bouton.wa .wp-block-button__link::after{display:none}
.wp-block-button.bouton.wa .wp-block-button__link::before{content:"";width:24px;height:24px;flex:none;background:currentColor;-webkit-mask:var(--ico-whatsapp) center/contain no-repeat;mask:var(--ico-whatsapp) center/contain no-repeat}
.wp-block-button.bouton.contour-vert .wp-block-button__link{background:#fff;color:var(--foret-fonce);border:2px solid var(--foret-fonce);box-shadow:none;padding:12px 26px 12px 30px;font-size:17px}

/* ---------- Filet jaune sous les titres ---------- */
.barre::after{content:"";display:block;width:74px;height:5px;border-radius:4px;background:var(--or);margin:26px 0 20px}

/* ---------- En-tête ---------- */
header.wp-block-template-part{position:sticky;top:0;z-index:50}
.entete{background:linear-gradient(90deg,var(--nuit) 0%,#0E304D 50%,var(--nuit-fonce) 100%);box-shadow:0 2px 14px rgba(0,0,0,.18)}
.entete .entete-rangee{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:72px}
.logo{display:flex;align-items:center;gap:12px;font-weight:700;font-size:29px;line-height:1.2;letter-spacing:-.01em;color:#fff;white-space:nowrap}
.logo::before{content:"";width:52px;height:52px;flex:none;background:var(--img-logo) center/contain no-repeat}
.logo a{display:flex;align-items:center;color:#fff}
.logo a::before{content:"";width:1.5px;height:30px;background:rgba(255,255,255,.55);margin-right:14px}
.logo strong{color:var(--vert);font-weight:700;margin-left:.27em}
.wp-block-navigation.menu{font-size:18px;font-weight:500}
.wp-block-navigation.menu .wp-block-navigation__container{gap:44px}
.wp-block-navigation.menu .wp-block-navigation-item__content{color:#E4EEF7;position:relative;padding:6px 0}
.wp-block-navigation.menu .wp-block-navigation-item__content:hover{color:#fff}
.wp-block-navigation.menu .actif>.wp-block-navigation-item__content{color:#fff;font-weight:700}
.wp-block-navigation.menu .actif>.wp-block-navigation-item__content::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:3px;border-radius:3px;background:var(--or)}
.wp-block-navigation.menu .wp-block-navigation__responsive-container-open,
.wp-block-navigation.menu .wp-block-navigation__responsive-container-close{color:#fff}
.wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open{background-color:var(--nuit)!important;color:#fff!important;padding:28px 24px!important}
.wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{gap:8px;font-size:22px}
.wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content{color:#fff;padding:10px 0}

/* ---------- Héros (accueil) et bandeaux de page ---------- */
.heros{position:relative;height:clamp(460px,34vw,540px);overflow:hidden;background:#fff}
.heros>.heros-photo{position:absolute;inset:0;z-index:0}
.heros .heros-photo img{width:100%;height:100%;object-fit:cover;object-position:62% 58%;filter:brightness(1.1) saturate(1.12)}
.heros::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 26%,rgba(255,255,255,.72) 40%,rgba(255,255,255,.12) 58%,rgba(255,255,255,0) 66%)}
.heros::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:var(--img-arcs-heros) center/100% 100% no-repeat}
.heros>.enveloppe{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:center;padding-bottom:36px}
.heros h1{font-size:clamp(40px,4.3vw,64px);font-weight:700;line-height:1.04;letter-spacing:-.03em;max-width:13.5em}
.heros h1 em{display:block;font-style:normal;color:var(--foret)}
.heros .heros-sous{font-size:clamp(19px,1.75vw,26px);color:#263B50}
.heros.court{height:clamp(360px,26vw,400px)}
.heros.court::after{background-image:var(--img-arcs-bandeau)}
.heros.court>.enveloppe{padding-bottom:70px}
.heros.court h1{font-size:clamp(36px,3.6vw,54px)}
.heros.court h1.barre::after{margin:22px 0 16px}
.heros.court .heros-photo img{filter:none}
.heros .cadre-kasbah img{object-position:50% 55%}
.fil{font-size:15px;color:#4A5B6C;margin-bottom:18px;font-weight:500;word-spacing:4px}
.fil a{word-spacing:0}
.fil a:hover{color:var(--foret)}

/* ---------- Coin vert (motif des cartes de la référence) ---------- */
.carte-cat,.produit,.atout,.coordonnee,.carte-form{background:var(--coin),#fff}
.produit{background:var(--coin-petit),#fff}

/* ---------- Cartes catégories ---------- */
.categories{padding:44px 0 46px}
.grille-cat{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.carte-cat{position:relative;border-radius:var(--rayon);overflow:hidden;box-shadow:var(--ombre);transition:transform .25s,box-shadow .25s}
.carte-cat:hover{transform:translateY(-6px);box-shadow:0 18px 36px rgba(11,42,69,.18)}
.carte-cat .wp-block-image img{width:100%;aspect-ratio:370/192;object-fit:cover}
.carte-cat h3{display:flex;align-items:center;gap:13px;height:64px;padding:0 20px 0 22px;font-size:clamp(17px,1.4vw,20px);font-weight:600;letter-spacing:-.01em;white-space:nowrap}
.carte-cat h3::before{content:"";width:30px;height:30px;flex:none;color:var(--foret);background:currentColor;-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
.carte-cat h3 a{flex:1;border-left:2px solid var(--or);padding-left:13px;line-height:26px}
.carte-cat h3 a::before{content:"";position:absolute;inset:0;z-index:1}
.carte-cat h3::after{content:"";width:22px;height:22px;flex:none;margin-right:10px;background:var(--encre);-webkit-mask:var(--ico-fleche) center/contain no-repeat;mask:var(--ico-fleche) center/contain no-repeat;transition:transform .2s}
.carte-cat:hover h3::after{transform:translateX(4px)}

/* ---------- Titre de section encadré ---------- */
h2.titre-cadre{display:flex;align-items:center;justify-content:center;gap:44px;text-align:center;font-size:clamp(28px,2.5vw,36px);font-weight:600}
h2.titre-cadre::before,h2.titre-cadre::after{content:"";width:92px;height:2.5px;background:var(--or);border-radius:2px;flex:none}
.chapo{max-width:720px;margin-inline:auto;text-align:center;font-size:18px}
.enveloppe>.chapo{margin-top:18px}

/* ---------- Bandeau nuit : solutions ---------- */
.solutions,.bande-nuit{position:relative;background:linear-gradient(180deg,#062239 0%,var(--nuit) 100%);color:#C9D6E3;overflow:hidden}
.solutions{padding:34px 0 96px}
.solutions::before,.solutions::after,.bande-nuit::before,.bande-nuit::after{content:"";position:absolute;pointer-events:none;height:120px;background-repeat:no-repeat;background-size:contain}
.solutions::before{left:-40px;top:-10px;width:300px;background-image:var(--img-arc-g)}
.solutions::after{right:-30px;top:-10px;width:340px;background-image:var(--img-arc-d)}
.solutions h2.titre-cadre,.bande-nuit h2.titre-cadre{color:#fff}
.solutions .chapo,.bande-nuit .chapo{color:#B8C8D8}
.solutions>.enveloppe,.bande-nuit>.enveloppe{position:relative;z-index:1}
.publics{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.solutions .publics{margin:30px 0 54px}
.publics li{border:1.5px solid rgba(255,255,255,.28);color:#fff;border-radius:999px;padding:8px 20px;font-size:16px;font-weight:500}
.publics li::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--vert);margin-right:10px;vertical-align:1px}
.grille-sol{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:26px;align-items:stretch}
.carte-sol{position:relative;background:var(--nuit-clair);border-radius:var(--rayon);overflow:hidden;display:flex;flex-direction:column}
.carte-sol .wp-block-image img{width:100%;height:230px;object-fit:cover}
.carte-sol.grande{min-height:520px;justify-content:flex-end}
.carte-sol.grande>.wp-block-image{position:absolute;inset:0}
.carte-sol.grande .wp-block-image img{height:100%}
.carte-sol .corps{position:relative;padding:26px 28px 32px;display:flex;flex-direction:column;gap:12px;flex:1}
.carte-sol.grande .corps{flex:none;background:linear-gradient(180deg,rgba(11,42,69,0) 0%,rgba(8,32,56,.92) 38%);padding-top:120px}
.carte-sol h3{color:#fff;font-size:24px;font-weight:600}
.carte-sol.grande h3{font-size:32px}
.carte-sol p{font-size:16.5px;color:#C3D2E0}
.carte-sol .lien{margin-top:auto;padding-top:8px}
.lien a{display:inline-flex;align-items:center;gap:10px;color:var(--vert-clair);font-weight:600}
.lien a::after{content:"";width:18px;height:18px;background:currentColor;-webkit-mask:var(--ico-fleche) center/contain no-repeat;mask:var(--ico-fleche) center/contain no-repeat}
.etiquette{align-self:flex-start;background:var(--or);color:var(--nuit);font-weight:700;font-size:13px;letter-spacing:.04em;padding:5px 12px;border-radius:999px;line-height:1.6}
.carte-sol p.etiquette{color:var(--nuit)}

/* ---------- Titres de contenu ---------- */
h2.grand,.pompage h2,.apropos h2{font-size:clamp(34px,3.4vw,50px);font-weight:700}
h2 em,h1 em{font-style:normal;color:var(--foret)}

/* ---------- Pompage / compositions photo ---------- */
.pompage{padding:110px 0 120px}
.pompage>.enveloppe{display:grid;grid-template-columns:1fr 1.15fr;gap:80px;align-items:center}
.pompage .texte p,.solution .texte p{font-size:18px}
.coches{display:grid;gap:14px}
.texte .coches{margin:26px 0 6px}
.coches li{display:flex;gap:14px;align-items:flex-start;color:var(--encre);font-weight:500}
.coches li::before{content:"";width:24px;height:24px;flex:none;margin-top:1px;background:var(--vert);-webkit-mask:var(--ico-coche) center/contain no-repeat;mask:var(--ico-coche) center/contain no-repeat}
.composition{position:relative;padding:0 0 70px 70px}
.composition.avec-arc::before{content:"";position:absolute;right:-48px;top:-46px;width:190px;height:190px;z-index:-1;background:var(--img-arc-vert) center/contain no-repeat}
.composition .principale img{width:100%;aspect-ratio:4/3.1;object-fit:cover;border-radius:var(--rayon);box-shadow:var(--ombre)}
.composition>.incrustee{position:absolute;left:0;bottom:0;width:46%}
.composition .incrustee img{width:100%;aspect-ratio:1.25;object-fit:cover;border-radius:var(--rayon);border:8px solid #fff;box-shadow:0 18px 40px rgba(11,42,69,.25)}
.composition .cadre-haut img{object-position:50% 25%}
.pastille{position:absolute;right:28px;bottom:96px;background:#fff;border-radius:var(--rayon);box-shadow:var(--ombre);padding:16px 22px 16px 74px;max-width:290px}
.pastille::before{content:"";position:absolute;left:22px;top:50%;margin-top:-19px;width:38px;height:38px;background:var(--or);-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
.pastille .pastille-titre{color:var(--encre);font-size:17px;font-weight:700;line-height:1.25}
.pastille p{font-size:14px;color:var(--doux);line-height:1.6}

/* ---------- Pourquoi nous / cartes à pastille ronde ---------- */
.atouts{background:var(--gris);padding:90px 0 96px}
.grille-atouts{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.atouts .grille-atouts{margin-top:56px}
.atout,.valeur,.coordonnee{position:relative;overflow:hidden;border-radius:var(--rayon)}
.atout{padding:118px 28px 36px;box-shadow:0 4px 14px rgba(11,42,69,.06)}
.atout::before,.valeur::before,.coordonnee::before{content:"";position:absolute;left:28px;top:34px;width:62px;height:62px;border-radius:50%;background:var(--menthe)}
.atout::after,.valeur::after,.coordonnee::after{content:"";position:absolute;left:44px;top:50px;width:30px;height:30px;background:var(--foret);-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
.atout h3{font-size:21px;font-weight:600;margin-bottom:10px}
.atout p{font-size:16px}

/* ---------- Recharge VE ---------- */
.recharge{position:relative;min-height:460px;display:flex;align-items:center;overflow:hidden;background:var(--nuit)}
.recharge>.recharge-photo{position:absolute;right:0;top:0;width:62%;height:100%}
.recharge .recharge-photo img{width:100%;height:100%;object-fit:cover}
.recharge::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,var(--nuit) 0%,var(--nuit) 38%,rgba(11,42,69,.75) 50%,rgba(11,42,69,0) 70%)}
.recharge::after{content:"";position:absolute;left:-60px;bottom:-30px;width:260px;height:160px;z-index:1;background:var(--img-arc-bas) center/contain no-repeat}
.recharge>.enveloppe{position:relative;z-index:2}
.recharge .texte{max-width:540px;display:flex;flex-direction:column;gap:18px}
.recharge h2{color:#fff;font-size:clamp(32px,3vw,44px);font-weight:700}
.recharge h2 em{color:var(--vert)}
.recharge p{color:#C3D2E0;font-size:18px}
.recharge p.etiquette{color:var(--nuit);font-size:13px}
.recharge .texte .wp-block-buttons{margin-top:10px}

/* ---------- À propos ---------- */
.apropos{padding:120px 0}
.apropos>.enveloppe{display:grid;grid-template-columns:.9fr 1.1fr;gap:90px;align-items:center}
.apropos .photo{position:relative}
.apropos .photo::before{content:"";position:absolute;left:-22px;top:-22px;width:62%;height:62%;border-radius:var(--rayon);background:var(--foret);z-index:-1}
.apropos .photo .wp-block-image img{width:100%;aspect-ratio:5/5.4;object-fit:cover;border-radius:var(--rayon)}
.badge-ville{position:absolute;right:-28px;bottom:42px;background:var(--nuit);color:#B8C8D8;border-radius:var(--rayon);padding:20px 26px;box-shadow:var(--ombre);font-size:15px}
.badge-ville .badge-nom{color:#fff;font-size:24px;font-weight:700;line-height:1.1}
.apropos .texte p{font-size:18px}
.apropos .texte>p+p{margin-top:16px}
.chiffres{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:34px;padding-top:30px;border-top:1px solid var(--trait)}
.chiffre p{font-size:15px;color:var(--doux)}
.apropos .chiffre p{font-size:15px}
.chiffre .chiffre-val,.apropos .chiffre .chiffre-val{font-size:30px;color:var(--foret);font-weight:700;letter-spacing:-.02em;line-height:1.1}

/* ---------- Bloc devis ---------- */
.devis{padding:0 0 110px}
.devis.apres-nuit{padding-top:110px}
.bloc-devis{position:relative;overflow:hidden;border-radius:var(--rayon);background:linear-gradient(120deg,var(--foret-fonce) 0%,var(--foret) 100%);padding:64px 72px;display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:center;color:#DDEFD9}
.bloc-devis::before{content:"";position:absolute;right:-80px;top:-120px;width:420px;height:420px;opacity:.9;pointer-events:none;background:var(--img-arc-or) center/contain no-repeat}
.bloc-devis>*{position:relative}
.bloc-devis h2{color:#fff;font-size:clamp(30px,2.8vw,42px);font-weight:700}
.bloc-devis .devis-texte p{font-size:18px;margin-top:14px}
.bloc-devis .actions{position:relative;display:flex;flex-direction:column;gap:14px;align-items:flex-end}
.bloc-devis .actions .wp-block-buttons{margin-top:0}
.tel{font-size:15px;color:#CFE8C9}
.tel strong{color:#fff;font-size:20px;letter-spacing:.01em}

/* ---------- Pied de page ---------- */
.pied{background:var(--nuit-fonce);color:#AFC0D1;padding:72px 0 0;position:relative}
.grille-pied{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:48px}
.pied .logo{font-size:25px}
.pied .logo::before{width:44px;height:44px}
.pied .pied-texte{font-size:15.5px;margin-top:18px;max-width:330px}
.pied h4{color:#fff;font-size:17px;font-weight:600;margin-bottom:18px;letter-spacing:0}
.pied .wp-block-list{display:grid;gap:10px;font-size:15.5px}
.pied a:hover{color:#fff}
.coord li{position:relative;padding-left:31px}
.coord li::before{content:"";position:absolute;left:0;top:4px;width:19px;height:19px;background:var(--vert);-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
.bas{margin-top:60px;border-top:1px solid rgba(255,255,255,.1);padding:22px 0;font-size:14px;display:flex;justify-content:space-between;gap:20px}
.bas-copie::before{content:"";display:inline-block;width:40px;height:3px;background:var(--or);border-radius:3px;vertical-align:middle;margin-right:12px}
.whatsapp a{position:fixed;right:24px;bottom:24px;z-index:60;width:60px;height:60px;border-radius:50%;background:var(--vert);box-shadow:0 10px 24px rgba(0,0,0,.25);font-size:0;color:transparent;transition:transform .2s}
.whatsapp a:hover{transform:scale(1.07)}
.whatsapp a::before{content:"";position:absolute;inset:14px;background:#fff;-webkit-mask:var(--ico-whatsapp) center/contain no-repeat;mask:var(--ico-whatsapp) center/contain no-repeat}

/* ---------- Apparition au défilement (seulement si JS actif) ---------- */
.js .revele{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.js .revele.vu{opacity:1;transform:none}

/* =========================================================
   Pages internes
   ========================================================= */
.section{padding:100px 0}
.clients h2.titre-cadre+.chapo{margin:18px auto 56px}

/* Navigation des familles */
.nav-familles{position:relative;z-index:5;margin-top:-46px}
.familles-liste{padding:12px;background:#fff;border-radius:var(--rayon);box-shadow:var(--ombre);display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.familles-liste a{display:flex;align-items:center;justify-content:center;gap:12px;padding:16px 10px;border-radius:10px;font-weight:600;color:var(--encre);font-size:17px;transition:background .2s,color .2s}
.familles-liste a:hover{background:var(--menthe);color:var(--foret)}
.familles-liste a::before{content:"";width:26px;height:26px;flex:none;background:var(--foret);-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}

/* Familles */
.famille{padding:96px 0;scroll-margin-top:90px}
.famille.gris,.solution.gris{background:var(--gris)}
.famille-tete{display:grid;grid-template-columns:1fr 1.05fr;gap:70px;align-items:center;margin-bottom:56px}
.famille.inverse .famille-tete>.visuel{order:-1}
.famille-tete .texte{position:relative;padding-top:86px}
.famille-tete .texte::before{content:"";position:absolute;left:0;top:0;width:64px;height:64px;border-radius:50%;background:var(--menthe)}
.famille-tete .texte::after{content:"";position:absolute;left:16px;top:16px;width:32px;height:32px;background:var(--foret);-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
.famille-tete .texte p{font-size:18px}
.famille-tete>.visuel{position:relative;border-radius:var(--rayon);overflow:hidden;box-shadow:var(--ombre)}
.famille-tete .visuel img{width:100%;aspect-ratio:16/10;object-fit:cover}
.famille-tete .cadre-haut img{object-position:50% 30%}
.famille-tete>.visuel::after{content:"";position:absolute;right:0;bottom:0;width:54px;height:54px;background:linear-gradient(135deg,transparent 50%,var(--foret) 50%)}
.grille-produits{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.produit{position:relative;overflow:hidden;border-radius:var(--rayon);padding:28px 28px 30px;box-shadow:0 4px 14px rgba(11,42,69,.07);border-top:4px solid transparent;transition:border-color .2s,transform .2s}
.famille:not(.gris) .produit{background:var(--coin-petit),var(--gris);box-shadow:none}
.produit:hover{border-top-color:var(--or);transform:translateY(-3px)}
.produit h3{font-size:20px;font-weight:600;margin-bottom:10px;display:flex;gap:12px;align-items:center}
.produit h3::before{content:"";width:22px;height:22px;flex:none;background:var(--vert);-webkit-mask:var(--ico-coche) center/contain no-repeat;mask:var(--ico-coche) center/contain no-repeat}
.produit p{font-size:16px}

/* Solutions détaillées */
.solution{padding:100px 0;scroll-margin-top:90px}
.solution>.enveloppe{display:grid;grid-template-columns:1fr 1.1fr;gap:80px;align-items:center}
.solution .composition{padding:0 0 60px 60px}
.solution.inverse .composition{order:-1;padding:0 60px 60px 0}
.solution.inverse .composition>.incrustee{left:auto;right:0}
.numero{font-weight:800;font-size:15px;letter-spacing:.08em;color:var(--foret);margin-bottom:16px}
.numero::before{content:"";display:inline-block;width:34px;height:3px;border-radius:3px;background:var(--or);vertical-align:middle;margin-right:12px}

/* Bande nuit générique */
.bande-nuit{padding:90px 0 100px;color:#C3D2E0}
.bande-nuit::before{left:-40px;bottom:-10px;width:300px;background-image:var(--img-arc-g);transform:scaleY(-1)}
.bande-nuit::after{right:-30px;bottom:-10px;width:340px;background-image:var(--img-arc-d);transform:scaleY(-1)}
.etapes{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;margin-top:56px;counter-reset:etape}
.etape{position:relative;background:var(--nuit-clair);border-radius:var(--rayon);padding:34px 28px}
.etape::before{counter-increment:etape;content:"0" counter(etape);display:block;font-size:46px;font-weight:800;color:var(--or);letter-spacing:-.03em;line-height:1;margin-bottom:18px}
.etape:not(:last-child)::after{content:"";position:absolute;right:-26px;top:58px;width:26px;height:2px;background:var(--vert)}
.etape h3{color:#fff;font-size:21px;font-weight:600;margin-bottom:10px}
.etape p{font-size:16px}
.valeurs{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:56px}
.valeur{background:var(--coin),var(--nuit-clair);padding:118px 32px 40px}
.valeur::before{left:32px;background:rgba(76,173,65,.16)}
.valeur::after{left:48px;background:var(--vert-clair)}
.valeur h3{color:#fff;font-size:23px;font-weight:600;margin-bottom:12px}
.valeur p{font-size:16.5px}
.grille-atouts.cinq{grid-template-columns:repeat(5,1fr);gap:20px}
.grille-atouts.cinq .atout{padding:118px 24px 32px}
.grille-atouts.cinq .atout::before{left:24px}
.grille-atouts.cinq .atout::after{left:40px}

/* Formulaires */
.formulaire-zone{padding:90px 0 110px}
.formulaire-zone>.enveloppe{display:grid;grid-template-columns:1.55fr 1fr;gap:34px;align-items:start}
.carte-form{border-radius:var(--rayon);box-shadow:var(--ombre);padding:46px 48px 50px;position:relative;overflow:hidden}
.carte-form h2{font-size:32px;font-weight:700;margin-bottom:8px}
.carte-form .intro{margin-bottom:30px}
.carte-form .mention{font-size:14px;color:var(--doux);margin-top:16px}
.wpcf7 form>p:empty,.wpcf7 br{display:none}
.wpcf7-form p{margin:0}
.grille-champs{display:grid;grid-template-columns:1fr 1fr;gap:20px 22px}
.champ{display:flex;flex-direction:column;gap:8px}
.champ.plein{grid-column:1/-1}
.champ label{display:flex;flex-direction:column;gap:8px}
.champ .libelle{display:block;font-weight:600;color:var(--encre);font-size:15.5px}
.choix>p{display:flex;flex-direction:column;gap:8px} /* CF7 enveloppe ce champ dans un <p> (autop) */
.wpcf7 form.init .wpcf7-response-output,.wpcf7 form.submitting .wpcf7-response-output{display:none}
.champ .libelle small{font-weight:400;color:var(--doux);font-size:inherit}
.wpcf7-form-control-wrap{display:block}
.champ input,.champ select,.champ textarea{display:block;font:inherit;font-size:16px;color:var(--encre);background:var(--gris);border:1.5px solid var(--trait);border-radius:10px;padding:13px 16px;width:100%;margin:0;transition:border-color .2s,background .2s}
.champ textarea{height:150px;resize:vertical}
.champ input:focus,.champ select:focus,.champ textarea:focus{outline:none;border-color:var(--vert);background:#fff}
.choix .wpcf7-checkbox{display:flex;flex-wrap:wrap;gap:10px}
.choix .wpcf7-list-item{margin:0}
.choix .wpcf7-list-item label{display:inline-flex;flex-direction:row;align-items:center;gap:9px;border:1.5px solid var(--trait);border-radius:999px;padding:9px 16px;font-weight:500;font-size:15px;cursor:pointer;background:#fff;color:var(--texte)}
.choix .wpcf7-list-item input{accent-color:var(--foret);width:16px;height:16px;margin:0;padding:0}
.choix .wpcf7-list-item label:has(input:checked){border-color:var(--foret);background:var(--menthe);color:var(--foret)}
.envoi{margin-top:30px;display:flex;align-items:center;gap:14px}
.wpcf7 .bouton-envoi{display:inline-block;width:auto;background:var(--foret-fonce);color:#fff;font:inherit;font-weight:600;font-size:19px;line-height:1.6;padding:14px 34px;border:0;border-radius:999px;box-shadow:0 8px 20px rgba(13,74,24,.28);cursor:pointer;transition:background .2s}
.wpcf7 .bouton-envoi:hover{background:var(--foret)}
.wpcf7-spinner{display:none!important}
.wpcf7-not-valid-tip{color:#B3261E;font-size:14px;margin-top:6px}
.wpcf7 form .wpcf7-response-output{margin:20px 0 0;border-radius:10px;padding:12px 16px;font-size:15px}
.wpcf7 form.sent .wpcf7-response-output{border-color:var(--vert);background:var(--menthe);color:var(--foret)}
.aside-nuit{position:sticky;top:100px;background:linear-gradient(180deg,#062239 0%,var(--nuit) 100%);color:#C3D2E0;border-radius:var(--rayon);padding:40px 36px 42px;overflow:hidden}
.aside-nuit::after{content:"";position:absolute;right:-40px;bottom:-20px;width:220px;height:136px;background:var(--img-arc-bas) center/contain no-repeat;transform:scaleX(-1);pointer-events:none}
.aside-nuit>*{position:relative;z-index:1}
.aside-nuit h3{color:#fff;font-size:24px;font-weight:600;margin-bottom:18px}
.etapes-mini{display:grid;gap:18px;margin-bottom:30px;counter-reset:mini}
.etapes-mini li{position:relative;padding-left:48px;font-size:16px}
.etapes-mini li::before{counter-increment:mini;content:counter(mini);position:absolute;left:0;top:0;width:32px;height:32px;border-radius:50%;background:var(--or);color:var(--nuit);font-weight:800;display:grid;place-items:center;font-size:15px}
.etapes-mini strong{color:#fff;display:block}
.ligne-contact{position:relative;padding:16px 0 16px 36px;border-top:1px solid rgba(255,255,255,.1);color:#B8C8D8;font-size:14px}
.ligne-contact::before{content:"";position:absolute;left:0;top:20px;width:22px;height:22px;background:var(--vert);-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
.ligne-contact a{color:#fff;font-weight:600;font-size:17px}
.aside-nuit .wp-block-buttons{margin-top:22px}
.aside-nuit .wp-block-button,.colonne .wp-block-button{width:100%}
.aside-nuit .wp-block-button .wp-block-button__link,.colonne>.wp-block-buttons .wp-block-button__link{width:100%;justify-content:center}

/* Contact */
.coordonnees{position:relative;z-index:5;margin-top:-56px}
.grille-coord{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.coordonnee{box-shadow:var(--ombre);padding:30px 30px 32px 106px;min-height:118px}
.coordonnee::before{left:30px;top:30px;width:56px;height:56px}
.coordonnee::after{left:45px;top:45px;width:26px;height:26px}
.coordonnee h3{font-size:19px;font-weight:600;margin-bottom:6px}
.coordonnee p{font-size:16.5px;word-break:break-word}
.coordonnee a{color:var(--foret);font-weight:600}
.colonne{display:grid;gap:24px}
.colonne>.wp-block-buttons{margin-top:0}
.carte-plan{border-radius:var(--rayon);overflow:hidden;box-shadow:var(--ombre);background:#fff}
.carte-plan .plan-photo img{width:100%;height:300px;object-fit:cover}
.legende-plan{position:relative;padding:22px 26px 0 60px}
.legende-plan::before{content:"";position:absolute;left:26px;top:24px;width:24px;height:24px;background:var(--foret);-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
.legende-plan strong{color:var(--encre)}
.carte-plan .wp-block-buttons{margin:18px 26px 26px}

/* ---------- Responsive ---------- */
@media (max-width:1180px){
  .wp-block-navigation.menu .wp-block-navigation__container{gap:26px}
  .wp-block-navigation.menu{font-size:16px}
  .logo{font-size:24px}
  .logo::before{width:44px;height:44px}
  .grille-cat{grid-template-columns:repeat(2,1fr)}
  .grille-sol{grid-template-columns:1fr 1fr}
  .carte-sol.grande{grid-column:1/-1;min-height:420px}
  .grille-atouts{grid-template-columns:repeat(2,1fr)}
  .pompage>.enveloppe,.apropos>.enveloppe{gap:50px}
  .grille-pied{grid-template-columns:1fr 1fr}
  .familles-liste{grid-template-columns:repeat(3,1fr)}
  .grille-produits{grid-template-columns:1fr 1fr}
  .etapes{grid-template-columns:1fr 1fr}
  .etape::after{display:none}
  .grille-atouts.cinq{grid-template-columns:repeat(3,1fr)}
  .famille-tete,.solution>.enveloppe{gap:50px}
  .formulaire-zone>.enveloppe{grid-template-columns:1fr}
  .aside-nuit{position:relative;top:0}
  .grille-coord{gap:16px}
}
@media (max-width:900px){
  .entete .entete-rangee{flex-wrap:wrap;justify-content:center;row-gap:4px;padding-block:10px}
  .heros{height:auto;min-height:540px}
  .heros .heros-photo img{object-position:70% 45%}
  .heros::before{background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,.94) 45%,rgba(255,255,255,.35) 72%,rgba(255,255,255,0) 100%)}
  .heros>.enveloppe{justify-content:flex-start;padding-top:52px;padding-bottom:170px}
  .heros.court{height:auto;min-height:400px}
  .heros.court>.enveloppe{padding-bottom:110px}
  .pompage>.enveloppe,.apropos>.enveloppe,.bloc-devis,.famille-tete,.solution>.enveloppe{grid-template-columns:1fr}
  .famille.inverse .famille-tete>.visuel,.solution.inverse .composition{order:0}
  .pompage{padding:80px 0}
  .apropos{padding:80px 0}
  .famille,.solution,.section{padding:70px 0}
  .badge-ville{right:12px}
  .bloc-devis{padding:48px 34px}
  .bloc-devis .actions{align-items:flex-start}
  .recharge>.recharge-photo{width:100%;opacity:.45}
  .recharge::before{background:linear-gradient(90deg,var(--nuit) 0%,rgba(11,42,69,.6) 100%)}
  .recharge{padding:80px 0}
  .valeurs,.grille-coord{grid-template-columns:1fr}
  .carte-form{padding:34px 26px 38px}
}
@media (max-width:600px){
  .enveloppe{padding-inline:18px}
  .entete .entete-rangee{flex-wrap:nowrap;justify-content:space-between;padding-block:0}
  .logo,.pied .logo{font-size:21px;gap:9px}
  .logo::before,.pied .logo::before{width:40px;height:40px}
  .logo a::before{height:22px;margin-right:10px}
  .heros h1,.heros.court h1{font-size:34px}
  .grille-cat,.grille-sol,.grille-atouts,.grille-pied,.grille-produits,.etapes,.grille-atouts.cinq,.grille-champs{grid-template-columns:1fr}
  h2.titre-cadre{gap:16px}
  h2.titre-cadre::before,h2.titre-cadre::after{width:34px}
  .composition,.solution .composition,.solution.inverse .composition{padding:0 0 50px 30px}
  .solution.inverse .composition>.incrustee{left:0;right:auto}
  .pastille{display:none}
  .chiffres{gap:10px}
  .chiffre .chiffre-val,.apropos .chiffre .chiffre-val{font-size:24px}
  .apropos .photo::before{left:-10px;top:-10px}
  .bas{flex-direction:column}
  .carte-sol.grande{min-height:460px}
  .familles-liste{grid-template-columns:1fr 1fr}
  .familles-liste a{justify-content:flex-start;font-size:15.5px;padding:13px 12px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}html{scroll-behavior:auto}}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--or);outline-offset:3px;border-radius:6px}

/* =========================================================
   Maquette seulement : émulation du CSS de core/navigation
   (WordPress fournit le sien ; body.maquette n'existe pas dans le thème)
   ========================================================= */
.maquette .wp-block-navigation__container{display:flex;flex-wrap:wrap;align-items:center;list-style:none;margin:0;padding:0}
.maquette .wp-block-navigation-item__content{display:block}
.maquette .wp-block-navigation__responsive-container-open,.maquette .wp-block-navigation__responsive-container-close{display:none;background:none;border:0;padding:0;cursor:pointer;color:inherit}
.maquette .wp-block-navigation__responsive-container-open svg,.maquette .wp-block-navigation__responsive-container-close svg{width:24px;height:24px;fill:currentColor;display:block}
@media (max-width:599px){
  .maquette .wp-block-navigation__responsive-container-open{display:flex}
  .maquette .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}
  .maquette .wp-block-navigation__responsive-container.is-menu-open{display:flex;position:fixed;inset:0;z-index:100000;flex-direction:column;overflow:auto}
  .maquette .is-menu-open .wp-block-navigation__responsive-container-close{display:flex;position:absolute;top:24px;right:24px}
  .maquette .is-menu-open .wp-block-navigation__container{flex-direction:column;align-items:flex-start;padding-top:56px}
}
