/*
Theme Name: HLL Diag
Version: 0.8.3
Description: Thème du site hlldiag.com. Reprend les blocs de l'ancien site Hostinger dans une mise en page fluide.
Author: HLL Diag
Text Domain: hll-diag
Requires at least: 6.4
Requires PHP: 8.0
*/
@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/montserrat-latin-ext-wght-normal.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Montserrat;font-style:normal;font-display:swap;font-weight:100 900;src:url(fonts/montserrat-latin-wght-normal.woff2) format('woff2-variations');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--hll-green:#2f5138;--hll-green2:#3b4e3d;--hll-deep:#1f3526;--hll-pale:#d3e6d5;--hll-ink:#1a1a1a}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:Montserrat,Arial,sans-serif;font-size:16px;line-height:1.5;color:var(--hll-ink);background:var(--hll-green2);-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
.screen-reader-text,.hll-skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hll-skip:focus{position:fixed;top:8px;left:8px;z-index:100;background:#fff;color:#1a1a1a;padding:10px 14px;border-radius:8px}

/* En-tête */
.hll-header{background:var(--hll-green);color:#fff}
.hll-header-in{max-width:1272px;margin:0 auto;padding:3px 16px;min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.hll-logo img{display:block;height:84px;width:auto}
.hll-nav{display:flex;align-items:center;gap:34px;flex-wrap:wrap}
.hll-nav a{color:#fff;text-decoration:none;font-size:16px;line-height:1.5;padding:4px 0;border-bottom:1px solid transparent}
.hll-nav a:hover,.hll-nav a[aria-current=page]{border-bottom-color:#fff}
.hll-menu{display:none;position:relative}
.hll-menu summary{list-style:none;cursor:pointer;color:#fff;font-size:16px;padding:10px 14px;border:1px solid rgba(255,255,255,.5);border-radius:10px}
.hll-menu summary::-webkit-details-marker{display:none}
.hll-menu nav{position:absolute;right:0;top:calc(100% + 8px);z-index:50;min-width:240px;background:var(--hll-deep);border-radius:14px;padding:10px;display:grid}
.hll-menu nav a{color:#fff;text-decoration:none;padding:12px 14px;border-radius:8px}
.hll-menu nav a:hover{background:rgba(255,255,255,.1)}

/* Sections et éléments repris de l'ancien site */
.hll-section{display:flow-root}
.hll-wrap{max-width:1256px;margin:0 auto;padding-inline:16px}
.hll-el,.hll-row,.hll-stack{width:100%}
.hll-text{overflow-wrap:break-word}
.hll-text h1,.hll-text h2,.hll-text h3,.hll-text h4,.hll-text h5,.hll-text h6,.hll-text p{margin:0}
.hll-text h1,.hll-text h2,.hll-text h3,.hll-text h4,.hll-text h5,.hll-text h6{font-weight:600;line-height:1.3}
.hll-text h1{font-size:64px}.hll-text h2{font-size:56px}.hll-text h3{font-size:48px}.hll-text h4{font-size:40px}.hll-text h5{font-size:26px}.hll-text h6{font-size:18px}
.hll-text .body-large{font-size:18px}
.hll-text .body-small{font-size:14px;font-weight:500;text-transform:uppercase}
.hll-text [style*="--fontSizeDesktop"]{font-size:var(--fontSizeDesktop)}
.hll-text [style*="--lineHeightDesktop"]{line-height:var(--lineHeightDesktop)}
.hll-text a{color:inherit}
.ta-center{text-align:center}.ta-right{text-align:right}.ta-left{text-align:left}.ta-justify{text-align:justify}
.hll-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:var(--h,50px);padding:8px 20px;background:var(--bg);color:var(--fg);border:var(--bw,0) solid var(--bd);border-radius:var(--br,60px);font-family:inherit;font-size:var(--fs,16px);line-height:1.2;text-align:center;text-decoration:none;transition:background-color .2s,color .2s,border-color .2s}
.hll-btn:hover,.hll-btn:focus-visible{background:var(--bgh);color:var(--fgh);border-color:var(--bdh)}
.hll-img{display:block;width:100%;height:auto;object-fit:cover}
.hll-embed{display:block;width:100%;height:var(--h,300px);border:0;background:transparent}
.hll-video{aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:#000}
.hll-video iframe{display:block;width:100%;height:100%;border:0}
.hll-row{display:flex;gap:36px;align-items:stretch}
.hll-col{min-width:0}
.hll-stack{display:grid}
.hll-stack>*{grid-area:1/1;min-width:0}
.hll-stack-fg{position:relative;z-index:1;pointer-events:none}
.hll-stack-fg>*{pointer-events:auto}
.hll-marquee{overflow:hidden;white-space:nowrap}
.hll-marquee-in{display:inline-block;animation:hll-marquee 40s linear infinite}
@keyframes hll-marquee{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.hll-marquee-in{animation:none}html{scroll-behavior:auto}}

/* Blog et pages sans contenu repris */
.hll-plain{background:#fff}
.hll-plain .hll-wrap{max-width:860px;padding-block:48px}
.hll-plain h1{font-size:34px;line-height:1.25;margin:0 0 20px}
.hll-plain a{color:var(--hll-green)}

@media (max-width:920px){
  .hll-header-in{min-height:70px;padding:12px 16px}
  .hll-logo img{height:46px}
  .hll-nav{display:none}
  .hll-menu{display:block}
  .hll-el,.hll-row,.hll-stack{margin-top:var(--gm,16px)!important;margin-left:0!important;max-width:100%!important}
  .hll-row{flex-direction:column;gap:0}
  .hll-col{max-width:100%!important;flex:none!important;order:var(--om,0)}
  .hll-stack{display:block}
  .hll-text h1{font-size:40px}.hll-text h2{font-size:36px}.hll-text h3{font-size:32px}.hll-text h4{font-size:24px}.hll-text h5{font-size:20px}
  .hll-text span[style*="--fontSizeDesktop"]:not([style*="--fontSizeMobile"]),.hll-text strong[style*="--fontSizeDesktop"]:not([style*="--fontSizeMobile"]){font-size:inherit}
  .hll-text [style*="--fontSizeMobile"]{font-size:var(--fontSizeMobile)}
  .hll-text [style*="--lineHeightMobile"]{line-height:var(--lineHeightMobile)}
  .tam-center{text-align:center}.tam-left{text-align:left}.tam-right{text-align:right}
  .hll-btn{font-size:var(--fsm,16px)}
  .hll-embed{height:var(--hm,300px)}
}

/* Menu posé sur la première section (comme sur l'ancien site) */
.hll-overlay .hll-header{position:absolute;left:0;right:0;z-index:20;background:transparent}
.hll-overlay main>.hll-section:first-child{padding-top:90px}
/* Sections à image de fond : positions exactes de l'éditeur */
.hll-wrap.hll-hero-wrap{padding-block:16px}
.hll-abs{position:relative;max-width:1224px;margin:0 auto;height:var(--hd)}
.hll-abs>.hll-a{position:absolute;left:var(--l);top:var(--t);width:var(--w)}
.hll-hero-section .hll-marquee{color:#fff}
.hll-script{height:0;overflow:hidden}
@media (max-width:920px){
  .hll-overlay main>.hll-section:first-child{padding-top:70px}
  .hll-abs{height:var(--hm)}
  .hll-abs>.hll-a{left:var(--lm);top:var(--tm);width:var(--wm)}
}

/* Bouton WhatsApp flottant */
.hll-wa{position:fixed;right:20px;bottom:24px;z-index:60;width:64px;height:64px;border-radius:50%;background:#1f7a4d;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(0,0,0,.25);transition:transform .2s}
.hll-wa:hover,.hll-wa:focus-visible{transform:scale(1.06)}
@media (max-width:920px){.hll-wa{width:56px;height:56px;right:14px;bottom:16px}}

/* Section « Historique immobilier » des pages villes (texte des anciennes fiches de villes.hlldiag.com) */
.hll-fiche{color:#fff;overflow-wrap:break-word}
.hll-fiche h2{font-size:24px;line-height:1.3;font-weight:600;margin:0 0 12px}
.hll-fiche h3{font-size:18px;line-height:1.35;font-weight:600;margin:26px 0 8px}
.hll-fiche p{font-size:16px;line-height:1.65;margin:0 0 12px}
.hll-fiche .vg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:18px 0}
.hll-fiche .vg-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-radius:16px;padding:16px}
.hll-fiche .vg-card-head{font-weight:700;margin-bottom:8px;color:#a8e0b1}
.hll-fiche .vg-row{margin:8px 0}
.hll-fiche .vg-lab{display:block;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;opacity:.75}
.hll-fiche .vg-val{display:block;margin-top:2px;font-size:15px;line-height:1.45}
.hll-fiche .note{background:rgba(255,255,255,.08);border-left:4px solid #a8e0b1;border-radius:8px;padding:14px 18px;margin:18px 0;font-size:16px;line-height:1.65}
@media (max-width:920px){.hll-fiche h2{font-size:19px}}
