/* Hero « photo en fond + devis » (Benjamin, 16/11/2026, maquettes validées).
   Aucune couleur en dur hors des neutres de la maquette : l'orange vient de
   --acc (couleur secondaire du client), le noir de l'anthracite du site. */
body.hero-devis-home{padding-top:0!important;--hd-blanc:#fff;--hd-noir:#161412;--hd-voile:.65}
.hd-wrap,.hd-urgence{font-family:'Poppins',var(--f-body),system-ui,sans-serif}
/* Les titres du site imposent --f-title : le hero garde sa propre police. */
.hd-wrap :is(h1,h2,h3,h4),.hd-wrap :is(input,select,button,textarea){font-family:inherit}

/* ── Bandeau d'urgence ── */
.hd-urgence{position:relative;z-index:5;background:var(--acc);color:var(--hd-noir)}
.hd-urgence-in{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;
  max-width:1320px;margin:0 auto;padding:11px 20px;font-size:15px;font-weight:600;line-height:1.35;text-align:center}
.hd-urgence svg{width:18px;height:18px;flex:none}
.hd-urgence-court{display:none}
.hd-urgence-tel{color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}

/* ── Photo de fond, header compris ── */
.hd-wrap{position:relative;background:var(--marque-fond,#161412)}
.hd-fond{position:absolute;inset:0;z-index:0;overflow:hidden;
  background:repeating-linear-gradient(45deg,#1e1c1a 0,#1e1c1a 1px,#141210 1px,#141210 20px)}
.hd-fond .hd-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;z-index:0;transform-origin:50% 40%}
/* Voile NOIR UNI : pas de dégradé, le texte reste lisible partout. */
.hd-voile{position:absolute;inset:0;z-index:1;background:rgb(10 9 8 / calc(var(--hd-voile) * 100%))}

/* ── Header : celui du site, inchangé ──
   La pilule blanche flottante des couvreurs (verre dépoli au défilement) ou
   le header habituel des autres métiers. Le hero passe dessous : il réserve
   juste la place, et le header descend sous le bandeau d'urgence tant que
   la page est en haut. */
.hd-urgence~header.site-hdr.hdr-roof-home{transition:top .3s ease}
.hd-urgence~header.site-hdr.hdr-roof-home:not(.is-roof-scrolled){top:calc(var(--hd-urg-h,46px) + 14px)}
.hd-urgence~header.site-hdr.hdr-transparent:not(.hdr-scrolled){top:var(--hd-urg-h,46px)}
/* Header en verre liquide sombre dès le haut de page (Benjamin, 16/11/2026). */
/* Pilule des couvreurs : même verre sombre que le header habituel, pour que tous
   les métiers aient le même rendu (Benjamin, 16/11/2026). */
body.hero-devis-home:not(.hd-header-clair) header.site-hdr.hdr-roof-home .hdr{
  background:linear-gradient(135deg,rgb(18 18 20 / .62),rgb(18 18 20 / .4))!important;
  backdrop-filter:blur(22px) saturate(180%)!important;-webkit-backdrop-filter:blur(22px) saturate(180%)!important;
  border:1px solid rgb(255 255 255 / .16)!important;
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .1),0 14px 34px -16px rgb(0 0 0 / .6)!important}
body.hero-devis-home:not(.hd-header-clair) header.site-hdr.hdr-roof-home :is(.hdr-nav>a:not(.on),.hdr-nav .has-drop>a:not(.on),.ps-menu-toggle,.logo-name,.rh-header-action){color:#fff!important}
body.hero-devis-home:not(.hd-header-clair) header.site-hdr.hdr-roof-home .logo-sub{color:#ffffffb3!important}
body.hero-devis-home:not(.hd-header-clair) header.site-hdr.hdr-roof-home .hdr-burger span{background:#fff!important}
body.hero-devis-home:not(.hd-header-clair) header.site-hdr.hdr-roof-home :is(.hdr-nav>a:hover,.hdr-nav .has-drop:hover>a,.hdr-nav .has-drop:hover>.ps-menu-toggle){color:var(--acc)!important}
body.hero-devis-home:not(.hd-header-clair) header.site-hdr.hdr-roof-home .rh-header-action:is(:hover,:focus-visible){color:var(--btn-text,#fff)!important}
/* Header habituel : verre sombre, posé sur la photo. */
body.hero-devis-home:not(.hd-header-clair) header.site-hdr:not(.hdr-roof-home){
  background:linear-gradient(135deg,rgb(18 18 20 / .62),rgb(18 18 20 / .4))!important;
  backdrop-filter:blur(22px) saturate(180%)!important;-webkit-backdrop-filter:blur(22px) saturate(180%)!important;
  border-bottom:1px solid rgb(255 255 255 / .16)!important;
  box-shadow:inset 0 -1px 0 rgb(255 255 255 / .08),0 12px 30px -16px rgb(0 0 0 / .6)!important}
/* Menu du header habituel en blanc sur le verre sombre, quelle que soit la
   couleur de menu de la fiche (illisible sinon) ; accent au survol. */
body.hero-devis-home:not(.hd-header-clair) header.site-hdr:not(.hdr-roof-home) :is(.hdr-nav>a:not(.on),.hdr-nav .has-drop>a:not(.on),.ps-menu-toggle,.logo-name,.hdr-tel-num){color:#fff!important}
body.hero-devis-home:not(.hd-header-clair) header.site-hdr:not(.hdr-roof-home) .logo-sub{color:#ffffffb3!important}
body.hero-devis-home:not(.hd-header-clair) header.site-hdr:not(.hdr-roof-home) .hdr-burger span{background:#fff!important}
body.hero-devis-home:not(.hd-header-clair) header.site-hdr:not(.hdr-roof-home) :is(.hdr-nav>a:hover,.hdr-nav .has-drop:hover>a,.hdr-nav .has-drop:hover>.ps-menu-toggle){color:var(--acc)!important}
/* Header CLAIR, au choix dans « En-tête & navigation » du CRM (Benjamin,
   16/11/2026) : pour les logos sombres. Verre clair, encre de la marque. */
body.hero-devis-home.hd-header-clair header.site-hdr.hdr-roof-home .hdr{
  background:linear-gradient(135deg,rgb(255 255 255 / .82),rgb(255 255 255 / .62))!important;
  backdrop-filter:blur(22px) saturate(180%)!important;-webkit-backdrop-filter:blur(22px) saturate(180%)!important;
  border:1px solid rgb(255 255 255 / .75)!important;
  box-shadow:inset 0 1px 0 #fff,inset 0 -1px 0 rgb(255 255 255 / .25),0 14px 34px -16px rgb(0 0 0 / .4)!important}
body.hero-devis-home.hd-header-clair header.site-hdr:not(.hdr-roof-home){
  background:linear-gradient(135deg,rgb(255 255 255 / .86),rgb(255 255 255 / .68))!important;
  backdrop-filter:blur(22px) saturate(180%)!important;-webkit-backdrop-filter:blur(22px) saturate(180%)!important;
  border-bottom:1px solid rgb(255 255 255 / .8)!important;
  box-shadow:inset 0 -1px 0 rgb(0 0 0 / .05),0 12px 30px -16px rgb(0 0 0 / .45)!important}
body.hero-devis-home.hd-header-clair header.site-hdr :is(.hdr-nav>a:not(.on),.hdr-nav .has-drop>a:not(.on),.ps-menu-toggle,.logo-name,.rh-header-action,.hdr-tel-num){color:var(--marque-fond,#161412)!important}
body.hero-devis-home.hd-header-clair header.site-hdr .logo-sub{color:color-mix(in srgb,var(--marque-fond,#161412) 65%,transparent)!important}
body.hero-devis-home.hd-header-clair header.site-hdr .hdr-burger span{background:var(--marque-fond,#161412)!important}
body.hero-devis-home.hd-header-clair header.site-hdr :is(.hdr-nav>a:hover,.hdr-nav .has-drop:hover>a,.hdr-nav .has-drop:hover>.ps-menu-toggle){color:var(--acc)!important}
body.hero-devis-home.hd-header-clair header.site-hdr .rh-header-action:is(:hover,:focus-visible){color:var(--btn-text,#fff)!important}
/* Le hero glisse sous le header habituel pour que la photo passe dessous. */
body.hd-hdr-pose .hd-wrap:not(.hd-wrap-fixe){margin-top:calc(-1 * var(--hd-hdr-h,0px))}
body.hd-hdr-pose .hd-wrap:not(.hd-wrap-fixe) .hd-inner{padding-top:calc(var(--hd-hdr-h,0px) + 58px)}
.hd-wrap-fixe .hd-inner{padding-top:calc(max(84px,calc(var(--logo-h,48px) + 12px)) + 64px)}

/* ── Les deux colonnes ── */
.hd{position:relative;z-index:2}
.hd-inner{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:56px;align-items:center;
  max-width:1320px;margin:0 auto;padding:58px 40px 86px}
.hd-texte{min-width:0;color:var(--hd-blanc)}

/* Fil d'Ariane des pages service et commune x service. */
.hd-fil{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 16px;font-size:13.5px;color:#ffffffb8}
.hd-fil a{color:inherit;text-decoration:none}
.hd-fil a:hover{color:var(--hd-blanc);text-decoration:underline}
.hd-fil strong{color:var(--hd-blanc);font-weight:600}
.hd-fil span{opacity:.6}

.hd-pastille{display:inline-flex;align-items:center;gap:9px;margin:0 0 26px;padding:9px 18px;
  background:rgb(0 0 0 / .38);border:1px solid #ffffff33;border-radius:999px;backdrop-filter:blur(2px);
  font-size:14px;font-weight:500;color:var(--hd-blanc)}
.hd-point{width:7px;height:7px;border-radius:50%;background:var(--acc);flex:none}
.hd-pastille-court{display:none}

.hd-texte .hd-h1{margin:0 0 22px;font-size:clamp(38px,4.4vw,62px);font-weight:800;line-height:1.08;
  letter-spacing:-.02em;color:var(--hd-blanc);text-wrap:balance}
.hd-h1-l1{display:block}
.hd-h1 em{font-style:normal;color:var(--acc)}
/* Le service en couleur s'ecrit lettre apres lettre. Les lettres restent en
   « inline » : la coupure des mots n'est pas modifiee, et sans JS le mot
   s'affiche d'un bloc. */
.hd-anime .hd-h1 em .hd-lettre{display:inline;opacity:1;animation:hd-lettre .38s ease-out both;animation-delay:var(--hd-lettre-delai,0ms)}
.hd-h1 em.hd-lettres-vues .hd-lettre{opacity:1;animation:none}
@keyframes hd-lettre{from{opacity:0}to{opacity:1}}

.hd-sub{margin:0 0 30px;max-width:620px;font-size:18px;line-height:1.6;color:#ffffffd9;font-weight:400}
.hd-sub-court{display:none}

.hd-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 24px}
.hd-appel{display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:62px;
  padding:16px 34px;background:var(--acc);color:var(--hd-encre-accent,#fff);border-radius:12px;
  font-size:21px;font-weight:700;letter-spacing:.01em;white-space:nowrap;
  box-shadow:0 12px 28px -14px color-mix(in srgb,var(--acc) 70%,transparent);
  transition:transform .2s,box-shadow .2s}
.hd-appel svg{width:22px;height:22px;flex:none}
.hd-appel:hover{transform:translateY(-2px);box-shadow:0 16px 32px -14px color-mix(in srgb,var(--acc) 75%,transparent)}
.hd-fixe{display:none;align-items:center;justify-content:center;min-height:56px;padding:14px 24px;
  border:2px solid var(--hd-blanc);border-radius:12px;color:var(--hd-blanc);font-size:19px;font-weight:700}

.hd-note{display:flex;align-items:center;gap:9px;margin:0 0 26px;font-size:15px;color:#ffffffc2}
.hd-note b{color:var(--hd-blanc);font-weight:700}
/* Logo G de Google devant les étoiles, sur une pastille blanche. */
.hd-note::before{content:"";flex:none;width:28px;height:28px;border-radius:50%;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23EA4335' d='M24 9.5c3.5 0 6.6 1.2 9.1 3.6l6.8-6.8C35.8 2.5 30.3 0 24 0 14.6 0 6.5 5.4 2.6 13.3l7.9 6.1C12.4 13.7 17.7 9.5 24 9.5z'/%3E%3Cpath fill='%234285F4' d='M46.5 24.5c0-1.6-.1-3.1-.4-4.5H24v9h12.7c-.6 3-2.3 5.5-4.8 7.2l7.7 6c4.5-4.2 6.9-10.3 6.9-17.7z'/%3E%3Cpath fill='%23FBBC05' d='M10.5 28.6c-.5-1.5-.8-3-.8-4.6s.3-3.1.8-4.6l-7.9-6.1C.9 16.6 0 20.2 0 24s.9 7.4 2.6 10.7l7.9-6.1z'/%3E%3Cpath fill='%2334A853' d='M24 48c6.3 0 11.7-2.1 15.6-5.7l-7.7-6c-2.1 1.4-4.8 2.3-7.9 2.3-6.3 0-11.6-4.2-13.5-9.9l-7.9 6.1C6.5 42.6 14.6 48 24 48z'/%3E%3C/svg%3E") center/16px no-repeat;box-shadow:0 2px 8px #0000002e}
.hd-etoiles{color:var(--acc);font-size:17px;letter-spacing:2px;line-height:1}
/* Les étoiles se remplissent une à une : contour d abord, puis la couleur. */
.hd-etoile{display:inline-block;font-style:normal}
@keyframes hd-etoile{0%{color:#ffffff40;transform:scale(.6)}60%{color:var(--acc);transform:scale(1.3)}100%{color:var(--acc);transform:none}}
.hd-anime .hd-etoile{animation:hd-etoile .45s cubic-bezier(.34,1.56,.64,1) both}
.hd-anime .hd-etoile:nth-child(1){animation-delay:.55s}.hd-anime .hd-etoile:nth-child(2){animation-delay:.7s}.hd-anime .hd-etoile:nth-child(3){animation-delay:.85s}.hd-anime .hd-etoile:nth-child(4){animation-delay:1s}.hd-anime .hd-etoile:nth-child(5){animation-delay:1.15s}
.hd-note-sep{opacity:.6}

/* Autant de colonnes que de tuiles (1 à 4) : jamais de case vide en bout de rangée. */
.hd-badges{display:grid;grid-template-columns:repeat(var(--hd-nb,4),minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;max-width:calc(205px * var(--hd-nb,4))}
/* Icône et libellé côte à côte, sur ordinateur comme sur téléphone. */
.hd-badges li{display:flex;flex-direction:row;align-items:center;gap:9px;padding:14px 12px;min-height:58px;
  background:rgb(0 0 0 / .4);border:1px solid #ffffff26;border-radius:10px;backdrop-filter:blur(2px)}
.hd-badges svg{width:20px;height:20px;flex:none;color:var(--acc)}
.hd-badges span{font-size:13.5px;font-weight:600;line-height:1.3;color:var(--hd-blanc)}

/* ── Carte formulaire ── */
.hd-form{min-width:0}
.hd-carte{background:#fff;border-radius:14px;overflow:hidden;padding:30px 28px 26px;
  border-top:6px solid var(--acc);box-shadow:0 26px 60px -26px #00000073}
.hd-carte .hd-carte-t{margin:0 0 8px;font-size:25px;font-weight:700;line-height:1.2;letter-spacing:-.01em;color:#161412}
.hd-carte-s{margin:0 0 22px;font-size:14.5px;line-height:1.55;color:#5b5650}
.hd-piege{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.hd-fld{margin:0 0 16px}
.hd-lbl{display:block;margin:0 0 7px;font-size:13.5px;font-weight:700;color:#2a2622}
.hd-input{width:100%;min-height:50px;padding:13px 15px;background:#f5f5f5;border:1px solid #e4e2de;
  border-radius:9px;font:inherit;font-size:16px;color:#161412;appearance:none}
select.hd-input{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161412' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:18px;padding-right:42px}
.hd-input::placeholder{color:#9b958c}
.hd-input:focus-visible{outline:2px solid var(--acc);outline-offset:1px;border-color:var(--acc)}
.hd-envoi{display:block;width:100%;min-height:56px;margin:22px 0 0;padding:16px 20px;border:0;
  background:var(--acc);color:var(--hd-encre-accent,#fff);border-radius:9px;
  font:inherit;font-size:19px;font-weight:700;cursor:pointer;transition:filter .2s}
.hd-envoi:hover{filter:brightness(1.06)}
.hd-envoi[disabled]{opacity:.7;cursor:progress}
/* La carte en verre sombre pour tous les métiers (Benjamin, 16/11/2026). */
.hd-carte{background:linear-gradient(135deg,rgb(18 18 20 / .7),rgb(18 18 20 / .52));
  backdrop-filter:blur(22px) saturate(180%);-webkit-backdrop-filter:blur(22px) saturate(180%);
  box-shadow:inset 0 1px 0 rgb(255 255 255 / .12),0 26px 60px -26px #000000a0;outline:1px solid rgb(255 255 255 / .14);outline-offset:-1px}
.hd-carte .hd-carte-t,.hd-carte .hd-lbl{color:#fff}
.hd-carte .hd-carte-s{color:#ffffffc4}
.hd-carte .hd-rgpd{color:#ffffffa6}
.hd-carte .hd-input{background-color:rgb(255 255 255 / .1);border-color:rgb(255 255 255 / .2);color:#fff}
.hd-carte .hd-input::placeholder{color:#ffffff8c}
.hd-carte select.hd-input{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
.hd-carte select.hd-input option{color:#161412}
.hd-carte .hd-retour[data-ok]{color:#7ee2a6}.hd-carte .hd-retour[data-ko]{color:#ffb4b4}
@media(max-width:767px){
  /* Sous la photo, sur le fond clair : même teinte, sans flou à travers. */
  .hd-carte{background:var(--marque-fond,#161412)}
}
/* Header « Clair » choisi dans le CRM : la carte de devis passe au verre clair
   avec lui (Benjamin, 16/11/2026). */
body.hd-header-clair .hd-carte{background:linear-gradient(135deg,rgb(255 255 255 / .92),rgb(255 255 255 / .76));
  box-shadow:inset 0 1px 0 #fff,0 26px 60px -26px #00000080;outline:1px solid rgb(255 255 255 / .7)}
body.hd-header-clair .hd-carte .hd-carte-t{color:#161412}
body.hd-header-clair .hd-carte .hd-lbl{color:#2a2622}
body.hd-header-clair .hd-carte .hd-carte-s{color:#5b5650}
body.hd-header-clair .hd-carte .hd-rgpd{color:#7c766e}
body.hd-header-clair .hd-carte .hd-input{background-color:rgb(255 255 255 / .8);border-color:rgb(22 20 18 / .14);color:#161412}
body.hd-header-clair .hd-carte .hd-input::placeholder{color:#9b958c}
body.hd-header-clair .hd-carte select.hd-input{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23161412' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
body.hd-header-clair .hd-carte .hd-retour[data-ok]{color:#1a7f43}body.hd-header-clair .hd-carte .hd-retour[data-ko]{color:#a32020}
@media(max-width:767px){body.hd-header-clair .hd-carte{background:#fff}}
.hd-rgpd{margin:12px 0 0;font-size:12.5px;line-height:1.5;color:#7c766e;text-align:center}
.hd-retour{margin:12px 0 0;font-size:14px;line-height:1.5;text-align:center}
.hd-retour:empty{display:none}
.hd-retour[data-ok]{color:#1a7f43}
.hd-retour[data-ko]{color:#a32020}

.hd-wrap :is(a,button):focus-visible{outline:2px solid var(--acc);outline-offset:3px}

/* ── Bandeaux défilants sous le hero ──
   Deux lignes qui se répondent : les prestations sur l'anthracite, les
   communes sur la teinte claire de la marque, en sens inverse. Les bords
   s'effacent en fondu pour que les mots naissent et disparaissent au lieu
   d'être coupés net. */
.bd{position:relative;z-index:2;font-family:'Poppins',var(--f-body),system-ui,sans-serif}
.bd-ligne{position:relative;display:flex;align-items:center;overflow:hidden}
.bd-sombre{background:var(--marque-fond,#161412);color:#fff;
  box-shadow:inset 0 1px 0 #ffffff14,inset 0 -1px 0 #00000040}
.bd-clair{background:var(--teinte,#F6F6F4);color:var(--t1,#18170F);
  box-shadow:inset 0 1px 0 #00000008}
/* Un filet d'accent sépare les deux lignes sans faire de trait de section. */
.bd-clair::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;z-index:2;
  background:linear-gradient(90deg,transparent,var(--acc) 18%,var(--acc) 82%,transparent);opacity:.85}
.bd-masque{width:100%;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);
  mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%)}
.bd-piste{display:flex;width:max-content;will-change:transform;
  animation:bd-defile var(--bd-duree,40s) linear infinite}
.bd-piste-retour{animation-name:bd-defile-retour}
.bd-groupe{display:flex;align-items:center;flex:none;padding:15px 0}
.bd-groupe i{font-style:normal;font-size:17px;font-weight:600;letter-spacing:-.012em;
  line-height:1.3;white-space:nowrap}
.bd-sombre .bd-groupe i{color:#ffffffe8}
/* Losange d'accent entre deux mots : le seul ornement de la bande. */
.bd-groupe b{flex:none;width:6px;height:6px;margin:0 28px;border-radius:1px;
  background:var(--acc);rotate:45deg}
.bd-ligne:hover .bd-piste{animation-play-state:paused}
@keyframes bd-defile{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}
@keyframes bd-defile-retour{from{transform:translate3d(-50%,0,0)}to{transform:translate3d(0,0,0)}}
@media(max-width:767px){
  .bd-groupe{padding:12px 0}
  .bd-groupe i{font-size:15px}
  .bd-groupe b{width:5px;height:5px;margin:0 20px}
}

/* ── Tablette ── */
@media(max-width:1024px){
  .hd-inner{grid-template-columns:minmax(0,1fr);gap:34px;padding:44px 32px 64px}
  .hd-form{max-width:460px}
  .hd-badges{max-width:none}
}

/* ── Mobile ── */
@media(max-width:767px){
  .hd-urgence-in{gap:8px;padding:10px 16px;font-size:14px}
  .hd-urgence-long,.hd-urgence .hd-urgence-tel{display:none}
  .hd-urgence-court{display:inline}
  .hd-inner{padding:26px 18px 0;gap:0}
  .hd-wrap-fixe .hd-inner{padding-top:calc(max(76px,calc(var(--logo-h,48px) + 14px)) + 34px)}
  .hd-pastille{margin-bottom:18px;padding:8px 15px;font-size:13px}
  .hd-pastille-long{display:none}
  .hd-pastille-court{display:inline}
  .hd-h1{font-size:clamp(32px,8.6vw,42px);margin-bottom:16px}
  .hd-sub{font-size:16px;margin-bottom:22px}
  .hd-sub-long{display:none}
  .hd-sub-court{display:block}
  .hd-actions{display:grid;grid-template-columns:1fr;gap:12px;margin-bottom:20px}
  .hd-appel{width:100%;min-height:64px;font-size:22px}
  .hd-fixe{display:flex;width:100%}
  .hd-note{margin-bottom:20px}
  .hd-badges{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:none}
  /* Nombre impair sur deux colonnes : la dernière tuile prend toute la largeur. */
  .hd-badges li:last-child:nth-child(odd){grid-column:1 / -1}
  .hd-badges li{flex-direction:row;align-items:center;gap:8px;min-height:56px;padding:12px 10px}
  .hd-badges svg{width:18px;height:18px}
  .hd-badges span{font-size:12.5px}
  /* Le formulaire quitte la photo : fond clair, pleine largeur, 3 champs. */
  .hd-fond{bottom:var(--hd-form-h,0px)}
  .hd-form{max-width:none;margin:30px calc(50% - 50vw) 0;padding:26px 18px 30px;width:100vw;
    box-sizing:border-box;background:#F5F5F5;position:relative;z-index:3}
  .hd-carte{box-shadow:0 10px 30px -18px #0000003d}
  .hd-fld-ville{display:none}
  .hd-input{font-size:16px}
  .hd-envoi{min-height:58px}

}

@media(max-width:360px){
  .hd-inner{padding-left:14px;padding-right:14px}
}

/* Zoom lent de la photo et entrée en cascade, repris du hero précédent.
   Tout part de l'état final : sans JS et sans animation, rien n'est masqué. */
@keyframes hd-monte{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
/* Après l entrée, la photo respire : un zoom puis un dézoom très lents, en
   boucle, pour que le hero reste vivant sans distraire. */
@keyframes hd-respire{from{transform:scale(1)}to{transform:scale(1.06)}}
/* Pas de zoom d entrée : la photo partirait de sa taille normale puis sauterait
   à 112 % au lancement. Elle respire dès le chargement, depuis sa taille normale. */
.hd-fond .hd-img{animation:hd-respire 14s ease-in-out infinite alternate;will-change:transform}
.hd-anime .hd-pastille{animation:hd-monte .6s .05s cubic-bezier(.22,1,.36,1) both}
.hd-anime .hd-h1{animation:hd-monte .7s .14s cubic-bezier(.22,1,.36,1) both}
.hd-anime .hd-sub{animation:hd-monte .7s .22s cubic-bezier(.22,1,.36,1) both}
.hd-anime .hd-actions{animation:hd-monte .7s .3s cubic-bezier(.22,1,.36,1) both}
.hd-anime .hd-note{animation:hd-monte .7s .36s cubic-bezier(.22,1,.36,1) both}
/* Tuiles : chacune arrive à son tour, l icône éclot juste après. */
@keyframes hd-tuile{0%{opacity:0;transform:translateY(34px) scale(.9);box-shadow:0 0 0 #0000}60%{opacity:1;transform:translateY(-8px) scale(1.02);box-shadow:0 22px 34px -16px #000000b0}100%{opacity:1;transform:none;box-shadow:0 8px 18px -12px #00000080}}
@keyframes hd-icone{0%{opacity:0;transform:scale(.4) rotate(-18deg)}70%{opacity:1;transform:scale(1.15) rotate(4deg)}100%{transform:none}}
.hd-anime .hd-badges li{animation:hd-tuile .85s cubic-bezier(.22,1,.36,1) both}
.hd-anime .hd-badges li svg{animation:hd-icone .55s cubic-bezier(.34,1.56,.64,1) both}
.hd-anime .hd-badges li:nth-child(1){animation-delay:.5s}.hd-anime .hd-badges li:nth-child(1) svg{animation-delay:.72s}
.hd-anime .hd-badges li:nth-child(2){animation-delay:.62s}.hd-anime .hd-badges li:nth-child(2) svg{animation-delay:.84s}
.hd-anime .hd-badges li:nth-child(3){animation-delay:.74s}.hd-anime .hd-badges li:nth-child(3) svg{animation-delay:.96s}
.hd-anime .hd-badges li:nth-child(4){animation-delay:.86s}.hd-anime .hd-badges li:nth-child(4) svg{animation-delay:1.08s}
/* Au survol, la tuile se soulève nettement : ombre portée, filet d accent. */
.hd-badges li{transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s ease,border-color .3s ease,background .3s ease}
.hd-badges li:hover{transform:translateY(-7px) scale(1.03);box-shadow:0 22px 36px -14px #000000c0,0 0 0 1px color-mix(in srgb,var(--acc) 45%,transparent);border-color:color-mix(in srgb,var(--acc) 70%,transparent);background:rgb(0 0 0 / .58)}
.hd-badges li:hover svg{transform:scale(1.15);transition:transform .35s cubic-bezier(.34,1.56,.64,1)}
.hd-anime .hd-carte{animation:hd-monte .8s .2s cubic-bezier(.22,1,.36,1) both}
/* Pastille d'urgence : le point bat doucement, comme sur l'ancien hero. */
@keyframes hd-bat{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.82)}}
.hd-point{animation:hd-bat 1.8s ease-in-out infinite}
/* Perf téléphone, comme le reste du site : sous 600 px le contenu s'affiche
   directement, sans mouvement décoratif. Rien ne reste masqué. */
@media(max-width:600px){
  .hd-pastille,.hd-texte .hd-h1,.hd-sub,.hd-actions,.hd-note,.hd-carte{
    animation:none!important;opacity:1!important;transform:none!important}
}
