/* ==========================================================================
   Site public
   Doux et professionnel : fond clair, formes arrondies, ombres légères,
   couleurs de la marque (config/marque.php). Polices locales uniquement.
   ========================================================================== */

:root {
    --hz-encre: #141B4D;
    --hz-encre-doux: #4B5563;
    --hz-gris: #8A93A3;
    --hz-filet: #E1E6F0;
    --hz-filet-fort: #141B4D;
    --hz-fond: #F6F8FC;
    --hz-fond-2: #ECF0F8;
    --hz-papier: #FFFFFF;
    --hz-primaire: #2B3990;
    --hz-primaire-survol: #222E78;
    --hz-primaire-clair: #EEF0FA;
    --hz-primaire-doux: #D5D9F1;
    --hz-secondaire: #0FB8B1;
    --hz-secondaire-clair: #7FE0DB;
    --hz-vert: #1F8A55;
    --hz-vert-clair: #EAF6EF;
    --hz-ambre: #B7791F;
    --hz-rouge: #C53030;
    --hz-titre: 'Outfit', 'Source Sans 3', system-ui, sans-serif;
    --hz-serif: var(--hz-titre);
    --hz-sans: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --hz-rayon: 16px;
    --hz-rayon-petit: 12px;
    --hz-ombre: 0 1px 2px rgba(20, 27, 77, .04), 0 10px 30px rgba(20, 27, 77, .06);
    --hz-ombre-forte: 0 2px 6px rgba(20, 27, 77, .05), 0 30px 60px rgba(20, 27, 77, .14);
    --hz-largeur: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--hz-sans);
    font-size: 17px;
    line-height: 1.6;
    color: var(--hz-encre);
    background: var(--hz-papier);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--hz-primaire); text-decoration: none; }
a:hover { color: var(--hz-primaire-survol); }

h1, h2, h3, h4 { font-family: var(--hz-titre); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--hz-encre); }
h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 700; }
h2 { font-size: clamp(27px, 3.4vw, 40px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }

.hz-conteneur { width: 100%; max-width: var(--hz-largeur); margin: 0 auto; padding: 0 20px; }
.hz-etroit { max-width: 780px; }
.hz-section { padding: 88px 0; }
.hz-section--fond { background: var(--hz-fond); }
.hz-section--filet { border-top: 1px solid var(--hz-filet); }
@media (max-width: 760px) { .hz-section { padding: 60px 0; } }

.hz-surtitre {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 700; letter-spacing: .02em;
    color: var(--hz-primaire);
    margin-bottom: 14px;
}
.hz-chapo { font-size: 20px; color: var(--hz-encre-doux); max-width: 620px; line-height: 1.55; }
.hz-doux { color: var(--hz-encre-doux); }
.hz-petit { font-size: 14px; color: var(--hz-gris); }
.hz-masque { display: none !important; }
.hz-centre { text-align: center; }
.hz-centre .hz-chapo { margin-left: auto; margin-right: auto; }

/* ---------- En-tête ---------- */
.hz-entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(236, 230, 223, .8); transition: box-shadow .2s; }
.hz-entete.est-defile { box-shadow: 0 6px 24px rgba(20, 27, 77, .07); }
.hz-entete__barre { display: flex; align-items: center; gap: 28px; height: 74px; }
.hz-entete__logo { display: flex; align-items: center; flex-shrink: 0; }
.hz-entete__logo img { height: 40px; width: auto; }
.hz-nav { display: flex; align-items: center; flex: 1; gap: 16px; }
.hz-nav__principal { display: flex; align-items: center; gap: 2px; }
.hz-nav__lien { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 10px; background: none; font: inherit; font-weight: 600; font-size: 15.5px; color: var(--hz-encre); cursor: pointer; white-space: nowrap; }
.hz-nav__lien:hover, .hz-deroulant.est-ouvert > .hz-nav__lien { background: var(--hz-fond); color: var(--hz-encre); }
.hz-nav__lien.est-actif { color: var(--hz-primaire); }
.hz-chevron { width: 12px; height: 12px; transition: transform .2s; }
.hz-deroulant.est-ouvert .hz-chevron { transform: rotate(180deg); }
.hz-nav__compte { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.hz-nav__pastille { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; background: var(--hz-primaire); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; border-radius: 10px; }

/* Panneaux déroulants */
.hz-deroulant { position: relative; }
[data-deroulant-panneau] { position: absolute; top: calc(100% + 12px); left: 0; z-index: 60; background: var(--hz-papier); border: 1px solid var(--hz-filet); border-radius: var(--hz-rayon); box-shadow: var(--hz-ombre-forte); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.hz-deroulant.est-ouvert > [data-deroulant-panneau] { opacity: 1; visibility: visible; transform: none; }
.hz-deroulant--droite > [data-deroulant-panneau] { left: auto; right: 0; }

.hz-mega { display: grid; grid-template-columns: 1fr 230px; width: min(760px, calc(100vw - 40px)); overflow: hidden; }
.hz-mega__titre { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hz-gris); }
.hz-mega__metiers { padding: 22px; }
.hz-mega__metiers ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.hz-mega__metiers a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--hz-encre); }
.hz-mega__metiers a:hover { background: var(--hz-fond); color: var(--hz-encre); }
.hz-mega__metiers img, .hz-mega__icone { width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; object-fit: cover; }
.hz-mega__icone { display: flex; align-items: center; justify-content: center; background: var(--hz-primaire-clair); font-size: 22px; }
.hz-mega__metiers strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.hz-mega__metiers small { display: block; font-size: 13px; color: var(--hz-gris); }
.hz-mega__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px; background: var(--hz-fond); border-left: 1px solid var(--hz-filet); }
.hz-mega__aside p { margin: 0; font-size: 14.5px; color: var(--hz-encre-doux); line-height: 1.5; }
.hz-mega__aside .hz-lien-fleche { font-size: 15px; }
.hz-mega__aside .hz-bouton { width: 100%; justify-content: center; white-space: nowrap; }

/* Menu du compte */
.hz-compte-bouton { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border: 1px solid var(--hz-filet); border-radius: 999px; background: var(--hz-papier); font: inherit; font-weight: 600; font-size: 15px; color: var(--hz-encre); cursor: pointer; }
.hz-compte-bouton:hover, .hz-deroulant.est-ouvert > .hz-compte-bouton { border-color: var(--hz-encre); }
.hz-compte-bouton__avatar { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--hz-encre); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.hz-menu-compte { min-width: 250px; padding: 8px; }
.hz-menu-compte__qui { padding: 10px 12px 12px; margin-bottom: 6px; border-bottom: 1px solid var(--hz-filet); }
.hz-menu-compte__qui strong { display: block; font-size: 15px; }
.hz-menu-compte__qui span { display: block; font-size: 13px; color: var(--hz-gris); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hz-menu-compte a, .hz-menu-compte button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 15px; font-weight: 500; color: var(--hz-encre); text-align: left; cursor: pointer; }
.hz-menu-compte a:hover, .hz-menu-compte button:hover { background: var(--hz-fond); color: var(--hz-encre); }
.hz-menu-compte form { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--hz-filet); }
.hz-menu-compte button { color: var(--hz-rouge); }

/* Bouton menu (mobile) */
.hz-menu-bouton { display: none; margin-left: auto; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--hz-fond); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.hz-menu-bouton span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--hz-encre); transition: transform .2s, opacity .2s; }
.hz-menu-bouton[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hz-menu-bouton[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hz-menu-bouton[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1060px) {
    .hz-nav__principal .hz-nav__lien { padding: 9px 10px; }
    .hz-compte-bouton__nom { display: none; }
}
@media (max-width: 920px) {
    .hz-menu-bouton { display: flex; }
    .hz-nav { display: none; position: absolute; top: 74px; left: 0; right: 0; max-height: calc(100vh - 74px); overflow-y: auto; background: var(--hz-papier); border-bottom: 1px solid var(--hz-filet); box-shadow: var(--hz-ombre-forte); flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 22px; }
    .hz-nav.est-ouvert { display: flex; }
    .hz-nav__principal { flex-direction: column; align-items: stretch; }
    .hz-nav__principal .hz-nav__lien, .hz-nav__lien { width: 100%; justify-content: space-between; padding: 13px 12px; font-size: 16.5px; }
    [data-deroulant-panneau] { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 12px; }
    .hz-deroulant.est-ouvert > [data-deroulant-panneau] { display: block; }
    .hz-mega { width: auto; grid-template-columns: 1fr; background: var(--hz-fond); }
    .hz-mega__metiers { padding: 12px; }
    .hz-mega__metiers ul { grid-template-columns: 1fr 1fr; }
    .hz-mega__metiers a:hover { background: var(--hz-papier); }
    .hz-mega__aside { display: none; }
    .hz-nav__compte { flex-direction: column; align-items: stretch; margin: 10px 0 0; padding-top: 14px; border-top: 1px solid var(--hz-filet); }
    .hz-nav__compte .hz-bouton { width: 100%; justify-content: center; }
    .hz-compte-bouton { width: 100%; border-radius: 12px; padding: 8px 12px 8px 8px; }
    .hz-compte-bouton__nom { display: inline; flex: 1; text-align: left; }
    .hz-menu-compte { min-width: 0; padding: 6px 0 0; background: transparent; }
}
@media (max-width: 340px) { .hz-mega__metiers ul { grid-template-columns: 1fr; } }
[id] { scroll-margin-top: 90px; }

/* ---------- Boutons ---------- */
.hz-bouton {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 24px;
    font: inherit; font-family: var(--hz-titre); font-weight: 600; font-size: 16px; line-height: 1.2;
    border: 1px solid var(--hz-filet); border-radius: var(--hz-rayon-petit);
    background: var(--hz-papier); color: var(--hz-encre);
    text-decoration: none; cursor: pointer;
    transition: background-color .18s, color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.hz-bouton:hover { border-color: var(--hz-encre); color: var(--hz-encre); transform: translateY(-1px); }
.hz-bouton--action { background: var(--hz-primaire); border-color: var(--hz-primaire); color: #fff; box-shadow: 0 8px 20px rgba(43, 57, 144, .25); }
.hz-bouton--action:hover { background: var(--hz-primaire-survol); border-color: var(--hz-primaire-survol); color: #fff; box-shadow: 0 10px 24px rgba(43, 57, 144, .32); }
.hz-bouton--sombre { background: var(--hz-encre); border-color: var(--hz-encre); color: #fff; }
.hz-bouton--sombre:hover { background: #000; color: #fff; }
.hz-bouton--blanc { background: #fff; border-color: #fff; color: var(--hz-encre); }
.hz-bouton--blanc:hover { color: var(--hz-primaire); border-color: #fff; }
.hz-bouton--succes { background: var(--hz-vert); border-color: var(--hz-vert); color: #fff; }
.hz-bouton--succes:hover { background: #18704A; color: #fff; }
.hz-bouton--discret { background: var(--hz-fond); border-color: transparent; }
.hz-bouton--danger { border-color: #F2C4C4; color: var(--hz-rouge); }
.hz-bouton--danger:hover { background: var(--hz-rouge); border-color: var(--hz-rouge); color: #fff; }
.hz-bouton--petit { padding: 9px 16px; font-size: 15px; border-radius: 10px; }
.hz-bouton--grand { padding: 16px 30px; font-size: 17px; }
.hz-bouton--large { width: 100%; }
.hz-bouton[disabled], .hz-bouton.est-occupe { opacity: .6; pointer-events: none; }

.hz-lien-fleche { font-weight: 700; color: var(--hz-primaire); white-space: nowrap; }
.hz-lien-fleche::after { content: ' →'; transition: margin .15s; }
.hz-lien-fleche:hover::after { margin-left: 3px; }

/* ==========================================================================
   ACCUEIL
   ========================================================================== */
.hz-heros { position: relative; overflow: hidden; background: var(--hz-fond); padding: 72px 0 96px; }
.hz-heros::before, .hz-heros::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.hz-heros::before { width: 620px; height: 620px; right: -140px; top: -160px; background: radial-gradient(closest-side, rgba(43, 57, 144, .14), rgba(43, 57, 144, 0)); }
.hz-heros::after { width: 460px; height: 460px; left: -180px; bottom: -220px; background: radial-gradient(closest-side, rgba(20, 27, 77, .06), rgba(20, 27, 77, 0)); }
.hz-heros__grille { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hz-heros h1 { margin-bottom: 20px; }
.hz-heros h1 em { font-style: normal; color: var(--hz-primaire); }
@media (max-width: 960px) { .hz-heros__grille { grid-template-columns: 1fr; } .hz-heros { padding: 48px 0 64px; } }

.hz-recherche { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 6px; margin-top: 30px; padding: 8px; border-radius: 18px; background: var(--hz-papier); box-shadow: var(--hz-ombre-forte); max-width: 640px; }
.hz-recherche label { display: block; padding: 8px 14px; border-radius: 12px; transition: background .15s; }
.hz-recherche label:hover { background: var(--hz-fond); }
.hz-recherche label span { display: block; font-size: 13px; font-weight: 700; color: var(--hz-encre); }
.hz-recherche input, .hz-recherche select { width: 100%; border: 0; padding: 2px 0 0; font: inherit; font-size: 16px; background: transparent; color: var(--hz-encre-doux); outline: none; -webkit-appearance: none; appearance: none; }
.hz-recherche .hz-bouton { border-radius: 13px; padding: 0 26px; }
@media (max-width: 680px) { .hz-recherche { grid-template-columns: 1fr; } .hz-recherche .hz-bouton { padding: 15px; } }

.hz-confiance { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 15px; color: var(--hz-encre-doux); font-weight: 600; }
.hz-confiance span { display: inline-flex; align-items: center; gap: 8px; }
.hz-confiance span::before { content: '✓'; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--hz-vert-clair); color: var(--hz-vert); font-size: 12px; font-weight: 800; }

/* Téléphone avec la vraie app */
.hz-scene { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.hz-telephone { position: relative; width: 270px; border-radius: 42px; padding: 10px; background: #0E141C; box-shadow: var(--hz-ombre-forte), inset 0 0 0 2px #2A3340; }
.hz-telephone::before { content: ''; position: absolute; top: 18px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 12px; background: #0E141C; z-index: 2; }
/* Écran aux vraies proportions d'un téléphone : l'image n'est jamais déformée, on montre le haut de l'écran */
.hz-telephone img { border-radius: 32px; width: 100%; height: auto; aspect-ratio: 9 / 18.5; object-fit: cover; object-position: top; background: #fff; }
.hz-flottante { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: var(--hz-papier); box-shadow: var(--hz-ombre-forte); font-size: 14px; line-height: 1.3; animation: hz-flotte 6s ease-in-out infinite; }
.hz-flottante strong { display: block; font-family: var(--hz-titre); font-size: 15px; font-weight: 600; color: var(--hz-encre); }
.hz-flottante span { color: var(--hz-encre-doux); }
.hz-flottante__pastille { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: var(--hz-vert); font-size: 17px; }
.hz-flottante__pastille--orange { background: var(--hz-primaire); }
.hz-flottante--haut { top: 90px; left: 0; }
.hz-flottante--bas { bottom: 90px; right: 0; animation-delay: -3s; }
@keyframes hz-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 960px) { .hz-flottante--haut { left: 0; } .hz-flottante--bas { right: 0; } }
@media (max-width: 420px) { .hz-telephone { width: 230px; } .hz-flottante { font-size: 13px; padding: 10px 12px; } }
@media (prefers-reduced-motion: reduce) { .hz-flottante { animation: none; } }

/* Titres de section */
.hz-entete-section { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.hz-entete-section h2 { margin: 0; }
.hz-entete-section p { margin: 8px 0 0; color: var(--hz-encre-doux); }

/* Métiers (cartes) */
.hz-categories { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hz-categories a { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--hz-rayon); background: var(--hz-papier); border: 1px solid var(--hz-filet); transition: transform .18s, box-shadow .18s, border-color .18s; }
.hz-categories a:hover { transform: translateY(-3px); box-shadow: var(--hz-ombre); border-color: transparent; }
.hz-categories__icone { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; background: var(--hz-fond); }
.hz-categories strong { display: block; font-family: var(--hz-titre); font-weight: 600; font-size: 17px; color: var(--hz-encre); }
.hz-categories span.hz-categories__nb { font-size: 14px; color: var(--hz-gris); }
@media (max-width: 960px) { .hz-categories { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .hz-categories { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .hz-categories { grid-template-columns: 1fr; } }

/* Étapes */
.hz-etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.hz-etape { position: relative; padding: 32px 28px; border-radius: var(--hz-rayon); background: var(--hz-papier); box-shadow: var(--hz-ombre); }
.hz-etape__num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: var(--hz-primaire-clair); color: var(--hz-primaire); font-family: var(--hz-titre); font-weight: 700; font-size: 20px; margin-bottom: 18px; }
.hz-etape h3 { margin-bottom: 8px; }
.hz-etape p { color: var(--hz-encre-doux); margin: 0; }
@media (max-width: 860px) { .hz-etapes { grid-template-columns: 1fr; } }

/* Bandes */
.hz-bande-pro { background: var(--hz-encre); color: #D5DBE3; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.hz-bande-pro::after { content: ''; position: absolute; width: 380px; height: 380px; right: -120px; bottom: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(43, 57, 144, .35), rgba(43, 57, 144, 0)); }
.hz-bande-pro h2 { color: #fff; }
.hz-bande-pro .hz-surtitre { color: #7FE0DB; }
.hz-bande-pro .hz-chapo { color: #C9D1DB; }
.hz-bande-pro ul { list-style: none; margin: 0 0 28px; padding: 0; position: relative; z-index: 1; }
.hz-bande-pro li { display: flex; gap: 12px; padding: 10px 0; color: #E8ECF1; }
.hz-bande-pro li::before { content: '✓'; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); color: #7FE0DB; font-size: 13px; font-weight: 800; }
.hz-bande-pro .hz-boutons { position: relative; z-index: 1; }
@media (max-width: 860px) { .hz-bande-pro { grid-template-columns: 1fr; padding: 36px 24px; border-radius: 22px; } }

.hz-boutons { display: flex; flex-wrap: wrap; gap: 12px; }

.hz-bande-app { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.hz-bande-app .hz-telephone { width: 240px; }
@media (max-width: 860px) { .hz-bande-app { grid-template-columns: 1fr; } .hz-bande-app .hz-scene { order: 2; } }

.hz-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hz-duo ul { list-style: none; margin: 0 0 24px; padding: 0; }
.hz-duo li { padding: 12px 0; border-bottom: 1px solid var(--hz-filet); }
@media (max-width: 760px) { .hz-duo { grid-template-columns: 1fr; gap: 24px; } }

.hz-chiffres { margin: 0; }

/* ==========================================================================
   LISTES ET CARTES
   ========================================================================== */
.hz-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .hz-grille { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .hz-grille { grid-template-columns: 1fr; } }

.hz-carte { display: flex; flex-direction: column; border: 1px solid var(--hz-filet); border-radius: var(--hz-rayon); background: var(--hz-papier); padding: 22px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.hz-carte:hover { transform: translateY(-3px); box-shadow: var(--hz-ombre); border-color: transparent; }
.hz-carte__haut { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.hz-carte h3 { font-size: 19px; margin: 0; }
.hz-carte h3 a { color: var(--hz-encre); }
.hz-carte__meta { font-size: 15px; color: var(--hz-encre-doux); }
.hz-carte__lignes { margin: 0 0 18px; padding: 0; list-style: none; font-size: 15px; }
.hz-carte__lignes li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--hz-filet); }
.hz-carte__lignes li span:first-child { color: var(--hz-gris); }
.hz-carte__bas { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.hz-initiales { flex: 0 0 auto; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; font-family: var(--hz-titre); font-weight: 700; font-size: 19px; background: var(--hz-primaire-clair); color: var(--hz-primaire); overflow: hidden; }
.hz-initiales img { width: 100%; height: 100%; object-fit: cover; }
.hz-initiales--grand { width: 96px; height: 96px; font-size: 34px; border-radius: 26px; }

.hz-dispo { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--hz-gris); }
.hz-dispo::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--hz-gris); }
.hz-dispo--oui { color: var(--hz-vert); }
.hz-dispo--oui::before { background: var(--hz-vert); box-shadow: 0 0 0 4px var(--hz-vert-clair); }

.hz-note { white-space: nowrap; }
.hz-note b { font-weight: 700; color: var(--hz-encre); }

.hz-filtres { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; padding: 18px; border-radius: var(--hz-rayon); background: var(--hz-fond); margin-bottom: 28px; }
.hz-filtres .hz-champ { margin: 0; min-width: 180px; flex: 1; }
.hz-filtres .hz-champ--etroit { flex: 0 0 auto; min-width: 150px; }
.hz-resultats-entete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }

/* ---------- Formulaires ---------- */
.hz-champ { margin-bottom: 20px; }
.hz-champ label, .hz-libelle { display: block; font-weight: 600; font-size: 15px; margin-bottom: 7px; }
.hz-champ .hz-aide { font-size: 14px; color: var(--hz-gris); margin-top: 6px; }
.hz-input, .hz-select, .hz-textarea {
    width: 100%; padding: 13px 15px;
    font: inherit; font-size: 16px; color: var(--hz-encre);
    background: var(--hz-papier);
    border: 1px solid #D5DCE8; border-radius: var(--hz-rayon-petit);
    outline: none; transition: border-color .15s, box-shadow .15s;
}
.hz-input:focus, .hz-select:focus, .hz-textarea:focus { border-color: var(--hz-primaire); box-shadow: 0 0 0 4px rgba(43, 57, 144, .12); }
.hz-textarea { min-height: 110px; resize: vertical; }
.hz-select {
    appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23122435' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 15px center;
}
.hz-champ.a-erreur .hz-input, .hz-champ.a-erreur .hz-select, .hz-champ.a-erreur .hz-textarea { border-color: var(--hz-rouge); }
.hz-erreur { color: var(--hz-rouge); font-size: 14px; margin-top: 6px; }
.hz-deux { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .hz-deux { grid-template-columns: 1fr; } }

.hz-choix { display: grid; gap: 10px; }
.hz-choix--ligne { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.hz-choix label { display: flex; gap: 12px; align-items: flex-start; padding: 15px 17px; border: 1px solid #D5DCE8; border-radius: var(--hz-rayon-petit); cursor: pointer; font-weight: 400; margin: 0; transition: border-color .15s, background .15s; }
.hz-choix input { margin-top: 4px; accent-color: var(--hz-primaire); }
.hz-choix label:has(input:checked) { border-color: var(--hz-primaire); background: var(--hz-primaire-clair); }
.hz-choix strong { display: block; }
.hz-choix small { color: var(--hz-encre-doux); font-size: 14px; }

.hz-position { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 10px; font-size: 15px; }
.hz-position__etat { color: var(--hz-encre-doux); }
.hz-position__etat.est-ok { color: var(--hz-vert); font-weight: 600; }

/* ---------- Panneaux ---------- */
.hz-panneau { border-radius: var(--hz-rayon); background: var(--hz-papier); padding: 28px; box-shadow: var(--hz-ombre); border: 1px solid var(--hz-filet); }
.hz-panneau--fond { background: var(--hz-fond); box-shadow: none; border-color: transparent; }
.hz-panneau + .hz-panneau { margin-top: 20px; }
.hz-panneau h2, .hz-panneau h3 { margin-bottom: 14px; }

.hz-page-auth { min-height: calc(100vh - 74px); display: grid; grid-template-columns: 1fr 1fr; }
.hz-page-auth__visuel { position: relative; overflow: hidden; background: var(--hz-encre); color: #D5DBE3; padding: 72px 56px; display: flex; flex-direction: column; justify-content: center; }
.hz-page-auth__visuel::after { content: ''; position: absolute; width: 420px; height: 420px; right: -140px; bottom: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(43, 57, 144, .35), rgba(43, 57, 144, 0)); }
.hz-page-auth__visuel h1 { color: #fff; position: relative; z-index: 1; }
.hz-page-auth__visuel .hz-surtitre { color: #7FE0DB; }
.hz-page-auth__visuel .hz-chapo { color: #C9D1DB; position: relative; z-index: 1; }
.hz-page-auth__visuel .hz-chiffres { position: relative; z-index: 1; }
.hz-page-auth__visuel .hz-chiffres div { border-color: rgba(255, 255, 255, .12); }
.hz-page-auth__visuel .hz-chiffres dt { color: #AEB8C5; }
.hz-page-auth__visuel .hz-chiffres dd { color: #fff; }
.hz-page-auth__form { padding: 56px; display: flex; align-items: center; justify-content: center; background: var(--hz-fond); }
.hz-page-auth__form > div { width: 100%; max-width: 440px; background: var(--hz-papier); padding: 36px; border-radius: 22px; box-shadow: var(--hz-ombre); }
@media (max-width: 860px) { .hz-page-auth { grid-template-columns: 1fr; } .hz-page-auth__visuel { display: none; } .hz-page-auth__form { padding: 28px 16px; } .hz-page-auth__form > div { padding: 26px 20px; } }

.hz-colonnes { display: grid; grid-template-columns: 1fr 370px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .hz-colonnes { grid-template-columns: 1fr; } }
.hz-collant { position: sticky; top: 96px; }

/* ---------- Fiche prestataire ---------- */
.hz-fiche-entete { display: flex; gap: 24px; align-items: center; padding: 36px 0 30px; }
.hz-fiche-entete h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; }
.hz-fiche-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--hz-encre-doux); font-size: 16px; align-items: center; }
@media (max-width: 560px) { .hz-fiche-entete { flex-direction: column; align-items: flex-start; } }

.hz-chiffres div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hz-filet); }
.hz-chiffres div:last-child { border-bottom: 0; }
.hz-chiffres dt { color: var(--hz-encre-doux); }
.hz-chiffres dd { margin: 0; font-family: var(--hz-titre); font-weight: 600; font-size: 19px; text-align: right; }

.hz-services { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hz-services li { display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: center; padding: 18px 20px; border-radius: var(--hz-rayon); border: 1px solid var(--hz-filet); background: var(--hz-papier); }
.hz-services h3 { font-size: 18px; margin: 0 0 2px; }
.hz-services p { margin: 0; font-size: 15px; color: var(--hz-encre-doux); }
.hz-services__prix { font-weight: 700; white-space: nowrap; }
.hz-services__action { display: flex; align-items: center; gap: 16px; }
@media (max-width: 560px) { .hz-services li { grid-template-columns: 1fr; } .hz-services__action { justify-content: space-between; } }

.hz-avis { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hz-avis li { padding: 18px 20px; border-radius: var(--hz-rayon); background: var(--hz-fond); }
.hz-avis__tete { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--hz-encre-doux); margin-bottom: 6px; }
.hz-etoiles { color: #F59E0B; letter-spacing: 2px; }

/* ---------- Statuts ---------- */
.hz-statut { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 9px; font-size: 13px; font-weight: 700; white-space: nowrap; background: var(--hz-fond); }
.hz-statut::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.hz-statut--attente { color: var(--hz-ambre); background: #FDF5E6; }
.hz-statut--encours { color: var(--hz-primaire); background: var(--hz-primaire-clair); }
.hz-statut--succes { color: var(--hz-vert); background: var(--hz-vert-clair); }
.hz-statut--neutre { color: var(--hz-gris); }
.hz-statut--alerte { color: var(--hz-rouge); background: #FDECEC; }

/* ---------- Listes de demandes ---------- */
.hz-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hz-liste > li > a, .hz-liste > li > div { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center; padding: 18px 22px; border-radius: var(--hz-rayon); background: var(--hz-papier); border: 1px solid var(--hz-filet); transition: box-shadow .18s, border-color .18s; color: var(--hz-encre); }
.hz-liste > li > a:hover { box-shadow: var(--hz-ombre); border-color: transparent; color: var(--hz-encre); }
.hz-liste h3 { font-size: 18px; margin: 0 0 4px; }
.hz-liste__meta { font-size: 15px; color: var(--hz-encre-doux); }
.hz-liste__droite { text-align: right; }
.hz-liste__montant { display: block; font-weight: 700; margin-bottom: 6px; }
.hz-liste--nouvelle > a { border-color: var(--hz-primaire-doux) !important; background: var(--hz-primaire-clair) !important; }
@media (max-width: 560px) { .hz-liste > li > a, .hz-liste > li > div { grid-template-columns: 1fr; } .hz-liste__droite { text-align: left; } }

.hz-onglets { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--hz-fond); margin-bottom: 24px; overflow-x: auto; max-width: 100%; }
.hz-onglets a { padding: 9px 16px; border-radius: 10px; font-weight: 600; color: var(--hz-encre-doux); white-space: nowrap; }
.hz-onglets a.est-actif { background: var(--hz-papier); color: var(--hz-encre); box-shadow: 0 1px 3px rgba(20, 27, 77, .08); }

.hz-vide { padding: 52px 24px; text-align: center; color: var(--hz-encre-doux); border-radius: var(--hz-rayon); background: var(--hz-fond); }
.hz-vide h3 { margin-bottom: 8px; }

/* ---------- Suivi d'une demande ---------- */
.hz-bandeau-etat { padding: 22px 24px; border-radius: var(--hz-rayon); margin-bottom: 24px; background: var(--hz-fond); }
.hz-bandeau-etat h2 { font-size: 24px; margin: 0 0 4px; }
.hz-bandeau-etat p { margin: 0; color: var(--hz-encre-doux); }
.hz-bandeau-etat--attente { background: #FDF5E6; }
.hz-bandeau-etat--encours { background: var(--hz-primaire-clair); }
.hz-bandeau-etat--succes { background: var(--hz-vert-clair); }
.hz-bandeau-etat--alerte { background: #FDECEC; }

.hz-chrono { list-style: none; margin: 0; padding: 0; }
.hz-chrono li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 0 0 22px 32px; color: var(--hz-gris); }
.hz-chrono li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border: 2px solid #D5DCE8; border-radius: 50%; background: var(--hz-papier); }
.hz-chrono li::after { content: ''; position: absolute; left: 7px; top: 22px; bottom: 2px; width: 2px; background: var(--hz-filet); }
.hz-chrono li:last-child::after { display: none; }
.hz-chrono li.est-fait { color: var(--hz-encre); }
.hz-chrono li.est-fait::before { background: var(--hz-vert); border-color: var(--hz-vert); }
.hz-chrono li.est-courant { color: var(--hz-encre); font-weight: 700; }
.hz-chrono li.est-courant::before { background: var(--hz-primaire); border-color: var(--hz-primaire); box-shadow: 0 0 0 4px var(--hz-primaire-clair); }
.hz-chrono time { font-size: 14px; color: var(--hz-gris); font-weight: 400; }

.hz-carte-suivi { height: 300px; border-radius: var(--hz-rayon); margin-bottom: 24px; overflow: hidden; }

.hz-etoiles-saisie { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.hz-etoiles-saisie input { position: absolute; opacity: 0; pointer-events: none; }
.hz-etoiles-saisie label { font-size: 36px; line-height: 1; color: #DCE2EC; cursor: pointer; margin: 0; }
.hz-etoiles-saisie label:hover, .hz-etoiles-saisie label:hover ~ label,
.hz-etoiles-saisie input:checked ~ label { color: #F59E0B; }

.hz-motifs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }

details.hz-repli summary { cursor: pointer; font-weight: 700; list-style: none; color: var(--hz-encre); }
details.hz-repli summary::-webkit-details-marker { display: none; }
details.hz-repli summary::after { content: ' ▾'; }
details.hz-repli[open] summary::after { content: ' ▴'; }
details.hz-repli > div { padding-top: 16px; }

/* ---------- Messages ---------- */
.hz-alerte { padding: 14px 18px; border-radius: var(--hz-rayon-petit); margin-bottom: 20px; font-size: 16px; }
.hz-alerte--succes { background: var(--hz-vert-clair); color: #155D3A; }
.hz-alerte--erreur { background: #FDECEC; color: #8A1C13; }
.hz-alerte--info { background: var(--hz-fond); }

.hz-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: grid; gap: 10px; max-width: 360px; }
.hz-toast { padding: 14px 18px; border-radius: 14px; background: var(--hz-encre); color: #fff; font-size: 15px; box-shadow: var(--hz-ombre-forte); }
.hz-toast--succes { background: #155D3A; }
.hz-toast--erreur { background: #8A1C13; }

.hz-alerte-demande { position: fixed; left: 50%; top: 92px; transform: translateX(-50%); z-index: 150; background: var(--hz-encre); color: #fff; padding: 16px 20px; border-radius: 18px; display: flex; gap: 16px; align-items: center; box-shadow: var(--hz-ombre-forte); width: calc(100% - 40px); max-width: 560px; }
.hz-alerte-demande strong { font-family: var(--hz-titre); font-weight: 600; font-size: 19px; display: block; }

.hz-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.hz-pagination a, .hz-pagination span { min-width: 42px; padding: 9px 12px; border-radius: 12px; text-align: center; background: var(--hz-fond); color: var(--hz-encre); font-weight: 600; }
.hz-pagination span { background: var(--hz-encre); color: #fff; }

/* ---------- Pied de page ---------- */
.hz-pied { background: var(--hz-encre); color: #AEB8C5; padding: 0 0 28px; margin-top: 88px; font-size: 15px; }
.hz-pied__appel { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 34px 36px; transform: translateY(-50%); margin-bottom: -20px; border-radius: 20px; background: linear-gradient(120deg, #222B6B, #141B4D); box-shadow: 0 30px 60px rgba(20, 27, 77, .25); }
.hz-pied__appel h3 { margin: 0 0 6px; font-size: clamp(22px, 2.4vw, 28px); color: #fff; }
.hz-pied__appel p { margin: 0; color: #AEB8C5; }
.hz-pied__appel .hz-boutons { margin: 0; }
.hz-bouton--contour-blanc { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.hz-bouton--contour-blanc:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.hz-pied__grille { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.hz-pied__marque p { max-width: 340px; line-height: 1.6; margin: 0 0 20px; }
.hz-pied__logo img { height: 42px; width: auto; margin-bottom: 16px; }
.hz-pied h4 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; color: #fff; }
.hz-pied ul { list-style: none; margin: 0; padding: 0; }
.hz-pied li { padding: 5px 0; }
.hz-pied a { color: #AEB8C5; transition: color .15s; }
.hz-pied a:hover { color: #fff; }
.hz-pied__appli { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; color: #fff !important; }
.hz-pied__appli:hover { border-color: #fff; background: rgba(255, 255, 255, .05); }
.hz-pied__appli svg { width: 26px; height: 26px; color: #8BC34A; }
.hz-pied__appli span { font-family: var(--hz-titre); font-size: 17px; font-weight: 600; line-height: 1.1; }
.hz-pied__appli small { display: block; font-family: var(--hz-sans); font-size: 11.5px; font-weight: 400; color: #AEB8C5; }
.hz-pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; }
.hz-pied__garanties { color: #7F8B9A; }
@media (max-width: 920px) { .hz-pied__grille { grid-template-columns: 1fr 1fr; } .hz-pied__marque { grid-column: 1 / -1; } }
@media (max-width: 560px) {
    .hz-pied__appel { padding: 26px 22px; transform: translateY(-36px); margin-bottom: 0; }
    .hz-pied__appel .hz-boutons, .hz-pied__appel .hz-bouton { width: 100%; }
    .hz-pied__grille { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
    .hz-pied__bas { flex-direction: column; }
}

.hz-titre-page { padding: 44px 0 28px; margin-bottom: 8px; }
.hz-titre-page h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 8px; }
.hz-fil { font-size: 14px; color: var(--hz-gris); margin-bottom: 10px; }
.hz-fil a { color: var(--hz-gris); }
.hz-fil a:hover { color: var(--hz-primaire); }
main:has(> section:last-child.hz-section--fond) + .hz-pied { margin-top: 0; }

/* ==========================================================================
   Photos : carrousel d'artisans et cartes métiers illustrées
   ========================================================================== */
.hz-carrousel { position: relative; overflow: hidden; border-radius: 22px; background: var(--hz-encre); aspect-ratio: 4 / 3; }
.hz-carrousel__diapo { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s ease; }
.hz-carrousel__diapo.est-active { opacity: 1; }
.hz-carrousel__diapo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s ease-out; }
.hz-carrousel__diapo.est-active img { transform: scale(1.12); }
.hz-carrousel__diapo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 36, 53, .82) 0%, rgba(18, 36, 53, .15) 45%, rgba(18, 36, 53, 0) 70%); }
.hz-carrousel__diapo figcaption { position: absolute; left: 24px; right: 24px; bottom: 44px; z-index: 1; color: #fff; }
.hz-carrousel__diapo figcaption strong { display: block; font-family: var(--hz-titre); font-size: 22px; font-weight: 600; }
.hz-carrousel__diapo figcaption span { color: rgba(255, 255, 255, .85); font-size: 15px; }
.hz-carrousel__points { position: absolute; left: 24px; bottom: 20px; z-index: 2; display: flex; gap: 6px; }
.hz-carrousel__points button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .3s, background .3s; }
.hz-carrousel__points button.est-actif { width: 24px; background: #fff; }
@media (prefers-reduced-motion: reduce) { .hz-carrousel__diapo img, .hz-carrousel__diapo.est-active img { transform: none; transition: none; } }

/* Panneau des pages de connexion / inscription : le carrousel occupe tout le panneau */
.hz-page-auth__visuel .hz-carrousel { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; z-index: 0; }
.hz-page-auth__visuel .hz-carrousel__diapo::after { background: linear-gradient(to top, rgba(18, 36, 53, .9) 0%, rgba(18, 36, 53, .55) 45%, rgba(18, 36, 53, .12) 100%); }
.hz-page-auth__visuel .hz-carrousel__diapo figcaption { top: 32px; bottom: auto; left: 56px; }
.hz-page-auth__visuel .hz-carrousel__points { left: 56px; bottom: 32px; }
.hz-page-auth__visuel > :not(.hz-carrousel) { position: relative; z-index: 1; }
.hz-page-auth__visuel::after { z-index: 0; opacity: .6; }

/* Bande artisans : texte à gauche, carrousel à droite */
.hz-bande-pro--photos { grid-template-columns: 1fr 1fr; }
.hz-bande-pro--photos .hz-carrousel { position: relative; z-index: 1; }
@media (max-width: 860px) { .hz-bande-pro--photos { grid-template-columns: 1fr; } }

/* Cartes métiers avec photo */
.hz-metiers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hz-metiers a { position: relative; display: block; overflow: hidden; border-radius: var(--hz-rayon); background: var(--hz-papier); border: 1px solid var(--hz-filet); transition: transform .2s, box-shadow .2s, border-color .2s; color: var(--hz-encre); }
.hz-metiers a:hover { transform: translateY(-4px); box-shadow: var(--hz-ombre-forte); border-color: transparent; color: var(--hz-encre); }
.hz-metiers__image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--hz-fond); }
.hz-metiers__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hz-metiers a:hover .hz-metiers__image img { transform: scale(1.06); }
.hz-metiers__image--icone { display: flex; align-items: center; justify-content: center; font-size: 54px; background: linear-gradient(135deg, var(--hz-primaire-clair), var(--hz-fond)); }
.hz-metiers__texte { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; }
.hz-metiers__texte strong { min-width: 0; overflow-wrap: anywhere; font-family: var(--hz-titre); font-weight: 600; font-size: 17px; }
.hz-metiers__texte span { font-size: 13px; color: var(--hz-gris); white-space: nowrap; }
@media (max-width: 960px) { .hz-metiers { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .hz-metiers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .hz-metiers__texte { flex-direction: column; align-items: flex-start; gap: 2px; } }
.hz-carrousel__diapo figcaption, .hz-page-auth__visuel h1, .hz-page-auth__visuel .hz-chapo, .hz-page-auth__visuel .hz-chiffres { text-shadow: 0 1px 12px rgba(18, 36, 53, .55); }

/* ---------- Photos sur les pages prestataires ---------- */
.hz-carte--photo { padding: 0; overflow: hidden; }
.hz-carte--photo > :not(.hz-carte__couverture) { margin-left: 20px; margin-right: 20px; }
.hz-carte--photo .hz-carte__bas { margin-bottom: 20px; }
.hz-carte__couverture { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--hz-fond); }
.hz-carte__couverture img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hz-carte--photo:hover .hz-carte__couverture img { transform: scale(1.05); }
.hz-carte__couverture-icone { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 48px; background: linear-gradient(135deg, var(--hz-primaire-clair), var(--hz-fond)); }
.hz-carte--photo .hz-carte__haut { align-items: flex-end; position: relative; margin-top: 0; }
.hz-carte--photo .hz-initiales { margin-top: -30px; border: 3px solid #fff; box-shadow: var(--hz-ombre); background: #fff; }

.hz-bandeau-photo { position: relative; overflow: hidden; border-radius: 24px; margin: 24px 0 8px; min-height: 230px; display: flex; align-items: flex-end; background: var(--hz-encre) var(--hz-photo, none) center / cover no-repeat; }
.hz-bandeau-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 36, 53, .88), rgba(18, 36, 53, .25)); z-index: 1; }
.hz-bandeau-photo__carrousel { position: absolute !important; inset: 0; border-radius: 0 !important; aspect-ratio: auto !important; }
.hz-bandeau-photo__carrousel .hz-carrousel__diapo figcaption, .hz-bandeau-photo__carrousel .hz-carrousel__points { display: none; }
.hz-bandeau-photo__texte { position: relative; z-index: 2; padding: 32px 36px; color: #fff; }
.hz-bandeau-photo__texte h1 { color: #fff; font-size: clamp(30px, 4vw, 44px); margin-bottom: 6px; }
.hz-bandeau-photo__texte p { margin: 0; color: rgba(255, 255, 255, .85); }
.hz-bandeau-photo__texte .hz-fil, .hz-bandeau-photo__texte .hz-fil a { color: rgba(255, 255, 255, .75); }
@media (max-width: 560px) { .hz-bandeau-photo { min-height: 200px; border-radius: 18px; } .hz-bandeau-photo__texte { padding: 22px; } }

.hz-fiche-banniere { height: 220px; border-radius: 24px; margin-top: 16px; background: var(--hz-fond) var(--hz-photo, none) center / cover no-repeat; position: relative; overflow: hidden; }
.hz-fiche-banniere::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18, 36, 53, .35), rgba(18, 36, 53, 0)); }
.hz-fiche-entete--banniere { padding-top: 0; margin-top: -48px; position: relative; z-index: 1; padding-left: 28px; }
.hz-fiche-entete--banniere .hz-initiales--grand { border: 4px solid #fff; box-shadow: var(--hz-ombre); background: #fff; }
.hz-fiche-entete--banniere > div:last-child { padding-top: 52px; }
@media (max-width: 560px) { .hz-fiche-banniere { height: 160px; } .hz-fiche-entete--banniere { padding-left: 12px; } .hz-fiche-entete--banniere > div:last-child { padding-top: 0; } }

/* ==========================================================================
   Pages connexion / inscription
   ========================================================================== */
.hz-page-auth { grid-template-columns: 1.05fr 1fr; }
.hz-page-auth__visuel { justify-content: flex-end; padding: 64px 56px 96px; }
.hz-page-auth__message h1 { font-size: clamp(32px, 3.2vw, 46px); margin-bottom: 14px; }
.hz-page-auth__message .hz-chiffres { margin-top: 26px; max-width: 420px; }
.hz-page-auth__garanties { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.hz-page-auth__garanties li { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; text-shadow: 0 1px 10px rgba(18, 36, 53, .6); }
.hz-page-auth__garanties .hz-icone { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); color: #7FE0DB; flex-shrink: 0; }
.hz-page-auth__form { background: radial-gradient(900px 500px at 100% 0%, var(--hz-primaire-clair), transparent 60%), var(--hz-fond); }
.hz-page-auth__form > .hz-carte-auth { max-width: 470px; padding: 40px; border: 1px solid var(--hz-filet); border-radius: 24px; box-shadow: var(--hz-ombre-forte); }
.hz-carte-auth h2 { font-size: 30px; margin-bottom: 6px; }
.hz-carte-auth > .hz-doux { margin: 0 0 26px; }
.hz-carte-auth__symbole { width: 52px; height: 52px; margin-bottom: 18px; border-radius: 14px; box-shadow: 0 8px 20px rgba(43, 57, 144, .25); }
.hz-carte-auth__separateur { display: flex; align-items: center; gap: 14px; margin: 26px 0 16px; color: var(--hz-gris); font-size: 14px; }
.hz-carte-auth__separateur::before, .hz-carte-auth__separateur::after { content: ''; flex: 1; height: 1px; background: var(--hz-filet); }

/* Champs avec icône */
.hz-icone { width: 20px; height: 20px; }
.hz-saisie { position: relative; }
.hz-saisie > .hz-icone { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--hz-gris); pointer-events: none; transition: color .15s; }
.hz-saisie > .hz-input { padding-left: 44px; }
.hz-saisie:focus-within > .hz-icone { color: var(--hz-primaire); }
.hz-saisie__oeil { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: none; color: var(--hz-gris); cursor: pointer; }
.hz-saisie__oeil:hover { background: var(--hz-fond); color: var(--hz-encre); }
.hz-saisie:has(.hz-saisie__oeil) > .hz-input { padding-right: 48px; }
.hz-saisie__oeil .hz-oeil-ferme, .hz-saisie__oeil.est-visible .hz-oeil-ouvert { display: none; }
.hz-saisie__oeil.est-visible .hz-oeil-ferme { display: block; }
.hz-case { display: flex; gap: 10px; align-items: center; margin: -4px 0 22px; font-size: 15px; color: var(--hz-encre-doux); cursor: pointer; }
.hz-case input { width: 18px; height: 18px; accent-color: var(--hz-primaire); }

/* Choix du profil */
.hz-profils { border: 0; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hz-profils legend { padding: 0; }
.hz-profil { position: relative; cursor: pointer; }
.hz-profil input { position: absolute; opacity: 0; }
.hz-profil > span { display: block; height: 100%; padding: 14px; border: 1.5px solid var(--hz-filet); border-radius: 14px; background: var(--hz-papier); transition: border-color .15s, background .15s, box-shadow .15s; }
.hz-profil .hz-icone { width: 22px; height: 22px; margin-bottom: 8px; color: var(--hz-gris); }
.hz-profil strong { display: block; font-family: var(--hz-titre); font-size: 15px; font-weight: 600; line-height: 1.25; }
.hz-profil small { display: block; margin-top: 3px; font-size: 13px; color: var(--hz-gris); line-height: 1.35; }
.hz-profil:hover > span { border-color: #D9CFC4; }
.hz-profil input:checked + span { border-color: var(--hz-primaire); background: var(--hz-primaire-clair); box-shadow: 0 0 0 3px rgba(43, 57, 144, .1); }
.hz-profil input:checked + span .hz-icone { color: var(--hz-primaire); }
.hz-profil input:focus-visible + span { outline: 2px solid var(--hz-primaire); outline-offset: 2px; }

@media (max-width: 860px) {
    .hz-page-auth { grid-template-columns: 1fr; }
    .hz-page-auth__visuel { display: flex; min-height: 220px; padding: 28px 20px 48px; }
    .hz-page-auth__visuel .hz-chapo, .hz-page-auth__garanties, .hz-page-auth__message .hz-chiffres, .hz-page-auth__visuel .hz-carrousel__diapo figcaption, .hz-page-auth__visuel .hz-carrousel__points { display: none; }
    .hz-page-auth__message h1 { font-size: 28px; margin: 0; }
    .hz-page-auth__form { padding: 0 14px 32px; align-items: flex-start; }
    .hz-page-auth__form > .hz-carte-auth { margin-top: -28px; position: relative; z-index: 2; padding: 26px 20px; }
}
@media (max-width: 420px) { .hz-profils { grid-template-columns: 1fr; } }
@media (min-width: 861px) { .hz-page-auth { align-items: start; } .hz-page-auth__visuel { position: sticky; top: 74px; height: calc(100vh - 74px); min-height: 560px; } .hz-page-auth__form { min-height: calc(100vh - 74px); } }

/* ==========================================================================
   Assistant flottant
   ========================================================================== */
.hz-assistant { position: fixed; right: 20px; bottom: 20px; z-index: 70; font-size: 15px; }
.hz-assistant__bulle { display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px 13px 16px; border: 0; border-radius: 999px; background: var(--hz-encre); color: #fff; font: inherit; font-family: var(--hz-titre); font-weight: 600; font-size: 16px; cursor: pointer; box-shadow: 0 14px 34px rgba(18, 36, 53, .3); transition: transform .2s, background .2s; }
.hz-assistant__bulle:hover { transform: translateY(-2px); background: #222B6B; }
.hz-assistant__bulle svg { width: 24px; height: 24px; color: #7FE0DB; }
.hz-assistant.est-ouvert .hz-assistant__bulle { display: none; }
.hz-assistant__panneau { width: 380px; height: min(600px, calc(100vh - 110px)); display: flex; flex-direction: column; background: var(--hz-papier); border: 1px solid var(--hz-filet); border-radius: 22px; box-shadow: 0 30px 70px rgba(20, 27, 77, .25); overflow: hidden; animation: hz-assistant-entree .22s ease-out; }
.hz-assistant__panneau[hidden] { display: none; }
@keyframes hz-assistant-entree { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.hz-assistant__entete { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--hz-encre); color: #fff; }
.hz-assistant__entete img { border-radius: 10px; }
.hz-assistant__entete strong { display: block; font-family: var(--hz-titre); font-size: 16px; font-weight: 600; }
.hz-assistant__entete span { display: block; font-size: 13px; color: #AEB8C5; }
.hz-assistant__fermer { margin-left: auto; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.hz-assistant__fermer:hover { background: rgba(255, 255, 255, .16); }
.hz-assistant__fermer svg { width: 18px; height: 18px; }
.hz-assistant__fil { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--hz-fond); }
.hz-assistant__msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; line-height: 1.5; white-space: pre-line; }
.hz-assistant__msg--ia { align-self: flex-start; background: var(--hz-papier); border: 1px solid var(--hz-filet); border-bottom-left-radius: 6px; }
.hz-assistant__msg--moi { align-self: flex-end; background: var(--hz-primaire); color: #fff; border-bottom-right-radius: 6px; }
.hz-assistant__msg--erreur { align-self: flex-start; background: #FDECEC; color: var(--hz-rouge); }
.hz-assistant__attente { display: flex; gap: 5px; padding: 14px 16px; }
.hz-assistant__attente span { width: 7px; height: 7px; border-radius: 50%; background: var(--hz-gris); animation: hz-points 1s infinite ease-in-out; }
.hz-assistant__attente span:nth-child(2) { animation-delay: .15s; }
.hz-assistant__attente span:nth-child(3) { animation-delay: .3s; }
@keyframes hz-points { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.hz-assistant__suggestions { display: flex; flex-wrap: wrap; gap: 8px; }
.hz-assistant__suggestions button { padding: 8px 12px; border: 1px solid var(--hz-primaire-doux); border-radius: 999px; background: var(--hz-papier); color: var(--hz-primaire-survol); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.hz-assistant__suggestions button:hover { background: var(--hz-primaire-clair); }
.hz-assistant__pros { display: flex; flex-direction: column; gap: 8px; }
.hz-assistant__pros .hz-lien-fleche { font-size: 14px; padding: 2px 4px; }
.hz-assistant__pro { display: flex; align-items: center; gap: 10px; padding: 10px; background: var(--hz-papier); border: 1px solid var(--hz-filet); border-radius: 14px; }
.hz-assistant__avatar { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; background: var(--hz-encre); color: #fff; font-size: 13px; font-weight: 700; }
.hz-assistant__avatar img { width: 100%; height: 100%; object-fit: cover; }
.hz-assistant__pro-corps { flex: 1; min-width: 0; }
.hz-assistant__pro-nom { display: block; font-weight: 700; color: var(--hz-encre); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hz-assistant__pro-meta { display: block; font-size: 13px; color: var(--hz-gris); }
.hz-assistant__dispo { display: inline-block; margin-top: 2px; font-size: 12px; font-weight: 700; color: var(--hz-vert); }
.hz-assistant__pro .hz-bouton { flex-shrink: 0; padding: 8px 12px; font-size: 14px; }
.hz-assistant__saisie { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--hz-filet); background: var(--hz-papier); }
.hz-assistant__saisie input { flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--hz-filet); border-radius: 12px; font: inherit; font-size: 16px; outline: none; }
.hz-assistant__saisie input:focus { border-color: var(--hz-primaire); box-shadow: 0 0 0 3px rgba(43, 57, 144, .12); }
.hz-assistant__saisie button { width: 46px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: var(--hz-primaire); color: #fff; cursor: pointer; }
.hz-assistant__saisie button:hover { background: var(--hz-primaire-survol); }
.hz-assistant__saisie svg { width: 20px; height: 20px; }
@media (max-width: 560px) {
    .hz-assistant { right: 14px; bottom: 14px; }
    .hz-assistant__bulle span { display: none; }
    .hz-assistant__bulle { padding: 15px; }
    .hz-assistant.est-ouvert { inset: 0; }
    .hz-assistant__panneau { width: 100%; height: 100%; border-radius: 0; border: 0; }
}

/* ==========================================================================
   Barre de recherche sous l'en-tête (pages intérieures)
   ========================================================================== */
.hz-entete__ligne-recherche { padding-bottom: 12px; }
.hz-nav__ia { color: var(--hz-primaire) !important; }
.hz-nav__ia span { font-size: 13px; }
.hz-entete__recherche { display: flex; align-items: center; width: 100%; max-width: 760px; margin: 0 auto; height: 48px; padding: 4px 4px 4px 16px; border: 1.5px solid var(--hz-primaire); border-radius: 999px; background: var(--hz-papier); box-shadow: 0 6px 18px rgba(43, 57, 144, .08); }
.hz-entete__recherche > .hz-icone { color: var(--hz-gris); flex-shrink: 0; }
.hz-entete__recherche input { flex: 1; min-width: 0; height: 100%; padding: 0 10px; border: 0; background: none; font: inherit; font-size: 16px; color: var(--hz-encre); outline: none; }
.hz-entete__recherche-ia { flex-shrink: 0; padding: 7px 12px; margin-right: 6px; border-radius: 999px; background: var(--hz-primaire-clair); color: var(--hz-primaire-survol); font-size: 13.5px; font-weight: 700; white-space: nowrap; }
.hz-entete__recherche-ia:hover { background: var(--hz-primaire-doux); color: var(--hz-primaire-survol); }
.hz-entete__recherche button { flex-shrink: 0; height: 100%; padding: 0 22px; border: 0; border-radius: 999px; background: var(--hz-primaire); color: #fff; font: inherit; font-family: var(--hz-titre); font-weight: 600; font-size: 15px; cursor: pointer; }
.hz-entete__recherche button:hover { background: var(--hz-primaire-survol); }

/* Bulle « Demander à l'IA » (lien vers le Mode IA) */
.hz-assistant__bulle { position: fixed; right: 20px; bottom: 20px; z-index: 70; }
.hz-assistant__bulle:hover { color: #fff; }

@media (max-width: 1180px) { .hz-nav__principal .hz-nav__lien { padding: 9px 9px; font-size: 15px; } .hz-entete__barre { gap: 16px; } }
@media (max-width: 920px) {
    .hz-entete__recherche { height: 44px; }
    .hz-entete__recherche button { font-size: 0; width: 40px; padding: 0; background: var(--hz-primaire) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat; }
    .hz-assistant__bulle { right: 14px; bottom: 14px; padding: 14px; }
    .hz-assistant__bulle span { display: none; }
}

/* ==========================================================================
   Accueil : grande zone de recherche à onglets (Prestataires / Mode IA)
   ========================================================================== */
.hz-heros--recherche { padding: 64px 0 72px; text-align: center; background: radial-gradient(900px 420px at 15% 0%, var(--hz-primaire-clair), transparent 65%), radial-gradient(800px 400px at 90% 100%, #EEF3F8, transparent 60%), var(--hz-fond); }
.hz-heros--recherche .hz-heros__texte { max-width: 820px; margin: 0 auto; }
.hz-heros--recherche h1 { font-size: clamp(34px, 5vw, 58px); }
.hz-heros--recherche .hz-chapo { margin: 0 auto; }
.hz-cherche { max-width: 860px; margin: 34px auto 0; text-align: left; }
.hz-cherche__onglets { display: flex; justify-content: center; align-items: center; gap: 22px; margin-bottom: 16px; }
.hz-cherche__onglets > span { width: 1px; height: 22px; background: #D9CFC4; }
.hz-cherche__onglets button { position: relative; padding: 4px 2px 8px; border: 0; background: none; font: inherit; font-family: var(--hz-titre); font-weight: 700; font-size: 22px; color: var(--hz-encre); cursor: pointer; }
.hz-cherche__onglets button sup { color: var(--hz-primaire); font-size: 14px; }
.hz-cherche__onglets button.est-actif { color: var(--hz-primaire); }
.hz-cherche__onglets button.est-actif::after { content: ''; position: absolute; left: 20%; right: 20%; bottom: 0; height: 3px; border-radius: 3px; background: var(--hz-primaire); }
.hz-cherche__boite { padding: 16px 16px 14px 20px; border: 2px solid var(--hz-primaire); border-radius: 22px; background: var(--hz-papier); box-shadow: 0 20px 50px rgba(43, 57, 144, .14); }
.hz-cherche__boite[hidden] { display: none; }
.hz-cherche__champs { display: grid; grid-template-columns: 1fr 210px; gap: 12px; align-items: center; }
.hz-cherche__quoi { display: flex; align-items: center; gap: 10px; }
.hz-cherche__quoi .hz-icone { width: 22px; height: 22px; color: var(--hz-gris); flex-shrink: 0; }
.hz-cherche__quoi input, .hz-cherche__boite textarea { width: 100%; border: 0; background: none; font: inherit; font-size: 18px; color: var(--hz-encre); outline: none; }
.hz-cherche__quoi input { height: 48px; }
.hz-cherche__boite textarea { min-height: 64px; resize: none; line-height: 1.5; padding: 6px 0; }
.hz-cherche__metier select { width: 100%; height: 44px; padding: 0 34px 0 14px; border: 1px solid var(--hz-filet); border-radius: 12px; background: var(--hz-fond) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23122435' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 12px no-repeat; font: inherit; font-size: 15px; color: var(--hz-encre); -webkit-appearance: none; appearance: none; }
.hz-cherche__bas { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--hz-filet); }
.hz-cherche__astuce { font-size: 14px; color: var(--hz-gris); }
.hz-cherche__bas .hz-bouton { padding: 12px 26px; border-radius: 14px; font-size: 16px; }
.hz-cherche__bas .hz-bouton .hz-icone { width: 18px; height: 18px; }
.hz-cherche__populaires { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; font-size: 14.5px; color: var(--hz-gris); }
.hz-cherche__populaires a { padding: 6px 14px; border: 1px solid var(--hz-filet); border-radius: 999px; background: var(--hz-papier); color: var(--hz-encre); font-weight: 600; }
.hz-cherche__populaires a:hover { border-color: var(--hz-primaire); color: var(--hz-primaire); }
.hz-heros--recherche .hz-confiance { justify-content: center; }
@media (max-width: 640px) {
    .hz-heros--recherche { padding: 36px 0 48px; }
    .hz-cherche__onglets button { font-size: 19px; }
    .hz-cherche__boite { padding: 12px 12px 12px 14px; border-radius: 18px; }
    .hz-cherche__champs { grid-template-columns: 1fr; gap: 8px; }
    .hz-cherche__quoi input, .hz-cherche__boite textarea { font-size: 16px; }
    .hz-cherche__astuce { display: none; }
    .hz-cherche__bas .hz-bouton { width: 100%; justify-content: center; }
    .hz-cherche__populaires > span { width: 100%; }
}

/* ==========================================================================
   Recherche : vues, critères complets, catalogue des offres
   ========================================================================== */
.hz-vues { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 22px 0 14px; }
.hz-vues a { padding: 9px 18px; border-radius: 999px; font-family: var(--hz-titre); font-weight: 600; font-size: 16px; color: var(--hz-encre-doux); }
.hz-vues a:hover { background: var(--hz-fond); color: var(--hz-encre); }
.hz-vues a.est-actif { background: var(--hz-encre); color: #fff; }
.hz-vues a.hz-vues__ia { margin-left: auto; color: var(--hz-primaire); }
.hz-vues a.hz-vues__ia:hover { background: var(--hz-primaire-clair); color: var(--hz-primaire-survol); }

.hz-filtres--complet { display: block; }
.hz-filtres__ligne { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.hz-filtres__ligne .hz-champ { flex: 1; min-width: 170px; margin: 0; }
.hz-filtres__ligne .hz-champ--large { flex: 1.6; min-width: 220px; }
.hz-filtres__ligne .hz-champ--etroit { flex: 0 0 170px; }
.hz-filtres__ligne--bas { align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--hz-filet); }
.hz-filtres__espace { flex: 1; }
.hz-filtres__plus { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--hz-filet); border-radius: 10px; background: var(--hz-papier); font: inherit; font-weight: 600; font-size: 15px; color: var(--hz-encre); cursor: pointer; }
.hz-filtres__plus::after { content: ''; width: 8px; height: 8px; margin-left: 2px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.hz-filtres__plus[aria-expanded="true"]::after { transform: rotate(225deg) translateY(-2px); }
.hz-filtres__plus b { min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--hz-primaire); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.hz-filtres__effacer { font-weight: 600; font-size: 15px; color: var(--hz-encre-doux); }
.hz-criteres { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; align-items: end; margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--hz-filet); }
.hz-criteres[hidden] { display: none; }
.hz-criteres .hz-champ { margin: 0; }
.hz-criteres__case { padding-bottom: 12px; }

.hz-interrupteur { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; cursor: pointer; user-select: none; }
.hz-interrupteur input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hz-interrupteur span { position: relative; width: 40px; height: 24px; flex-shrink: 0; border-radius: 999px; background: #D9D3CC; transition: background .2s; }
.hz-interrupteur span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.hz-interrupteur input:checked + span { background: var(--hz-vert); }
.hz-interrupteur input:checked + span::after { transform: translateX(16px); }
.hz-interrupteur input:focus-visible + span { outline: 2px solid var(--hz-primaire); outline-offset: 2px; }

.hz-resultats-entete { flex-wrap: wrap; gap: 12px; }
.hz-pastilles { display: flex; flex-wrap: wrap; gap: 6px; }
.hz-pastilles a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--hz-primaire-clair); color: var(--hz-primaire-survol); font-size: 14px; font-weight: 600; }
.hz-pastilles a:hover { background: var(--hz-primaire-doux); color: var(--hz-primaire-survol); }

/* Carte d'offre (catalogue) */
.hz-offre { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--hz-filet); border-radius: var(--hz-rayon); background: var(--hz-papier); box-shadow: var(--hz-ombre); transition: transform .2s, box-shadow .2s; }
.hz-offre:hover { transform: translateY(-3px); box-shadow: var(--hz-ombre-forte); }
.hz-offre__image { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--hz-fond-2); overflow: hidden; }
.hz-offre__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hz-offre:hover .hz-offre__image img { transform: scale(1.04); }
.hz-offre__image > span:first-child { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 52px; }
.hz-offre__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.hz-offre__badges em { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--hz-encre); font-style: normal; font-size: 12.5px; font-weight: 700; }
.hz-offre__badges em.est-dispo { background: var(--hz-vert); color: #fff; }
.hz-offre__corps { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px; }
.hz-offre__metier { font-size: 13px; font-weight: 700; color: var(--hz-primaire); }
.hz-offre h3 { margin: 0; font-size: 18px; line-height: 1.3; }
.hz-offre h3 a { color: var(--hz-encre); }
.hz-offre__prix { font-family: var(--hz-titre); font-weight: 700; font-size: 19px; color: var(--hz-encre); }
.hz-offre__qui { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--hz-encre-doux); }
.hz-offre__qui span:first-child { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hz-offre__qui span:last-child { flex-shrink: 0; }
.hz-offre__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.hz-offre__meta span { padding: 3px 9px; border-radius: 999px; background: var(--hz-fond); font-size: 12.5px; font-weight: 600; color: var(--hz-encre-doux); }
.hz-offre__demander { margin-top: auto; justify-content: center; }

@media (max-width: 640px) {
    .hz-vues a.hz-vues__ia { margin-left: 0; }
    .hz-filtres__ligne .hz-champ, .hz-filtres__ligne .hz-champ--etroit { flex: 1 1 100%; }
    .hz-filtres__ligne--bas .hz-bouton { width: 100%; justify-content: center; }
    .hz-filtres__espace { display: none; }
    .hz-criteres { grid-template-columns: 1fr 1fr; }
}
.hz-nav__compte .hz-bouton, .hz-nav__lien { white-space: nowrap; }
@media (min-width: 921px) and (max-width: 1120px) { .hz-nav__secondaire { display: none !important; } }

/* Connexion : « Rester connecté » et « Mot de passe oublié » sur une ligne ; saisie du code */
.hz-connexion-options { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -4px 0 22px; }
.hz-connexion-options .hz-case { margin: 0; }
.hz-connexion-options a { font-size: 15px; font-weight: 600; }
.hz-input--code { text-align: center; font-size: 26px; font-weight: 800; letter-spacing: 12px; }
.hz-lien-bouton { border: 0; background: none; font: inherit; font-weight: 600; color: var(--hz-primaire); cursor: pointer; }
.hz-lien-bouton:hover { color: var(--hz-primaire-survol); }

/* Annonces (back-office › Contenu › Annonces) */
.hz-annonces { padding: 28px 0 0; }
.hz-annonces .hz-conteneur { display: grid; gap: 14px; }
.hz-annonce { display: flex; align-items: center; gap: 18px; padding: 16px 20px; background: #fff; border: 1px solid #E1E6F0; border-radius: 14px; }
.hz-annonce img { width: 120px; height: 72px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.hz-annonce div { flex: 1; min-width: 0; }
.hz-annonce h2 { margin: 0; font-size: 18px; color: #141B4D; }
.hz-annonce p { margin: 4px 0 0; color: #5b6472; font-size: 15px; }
@media (max-width: 640px) { .hz-annonce { flex-wrap: wrap; } .hz-annonce img { width: 100%; height: 140px; } .hz-annonce .hz-bouton { width: 100%; justify-content: center; } }

/* Pages légales et case des conditions */
.hz-page-legale { max-width: 760px; margin: 0 auto; padding: 48px 0 80px; }
.hz-page-legale h1 { margin: 0 0 6px; }
.hz-page-legale__texte { margin-top: 28px; font-size: 16.5px; line-height: 1.7; color: #374151; }
.hz-page-legale__texte h2 { font-size: 20px; margin: 32px 0 8px; color: #141B4D; }
.hz-page-legale__texte ul { padding-left: 20px; }
.hz-case { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; cursor: pointer; font-weight: 400; }
.hz-case input { width: 18px; height: 18px; margin-top: 2px; accent-color: #2B3990; flex-shrink: 0; }
.hz-case a { color: #2B3990; font-weight: 600; text-decoration: underline; }
.hz-pied__bas a { color: inherit; }

/* Prestation avec photo : vignette | texte | prix et bouton */
.hz-services li.hz-services__avec-photo { grid-template-columns: 64px 1fr auto; }
@media (max-width: 560px) {
  .hz-services li.hz-services__avec-photo { grid-template-columns: 64px 1fr; }
  .hz-services li.hz-services__avec-photo .hz-services__action { grid-column: 1 / -1; }
}

/* ==========================================================================
   Bannière d'accueil (PROXIA) : photo pleine largeur sous un voile de la couleur
   de la marque, texte blanc aligné à gauche, recherche posée sur la photo.
   ========================================================================== */
.hz-heros--banniere { isolation: isolate; text-align: left; padding: 84px 0 64px; background: var(--hz-encre); }
.hz-heros--banniere::after { display: none; }
.hz-heros--banniere::before { inset: 0; width: auto; height: auto; border-radius: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(20, 27, 77, .94) 0%, rgba(43, 57, 144, .86) 42%, rgba(43, 57, 144, .35) 75%, rgba(43, 57, 144, .12) 100%); }
.hz-banniere__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; z-index: -2; }
.hz-heros--banniere .hz-heros__texte { max-width: 640px; margin: 0; }
.hz-heros--banniere .hz-surtitre { color: var(--hz-secondaire-clair); }
.hz-heros--banniere h1 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); }
.hz-heros--banniere h1 em { color: var(--hz-secondaire-clair); }
.hz-heros--banniere .hz-chapo { margin: 0; color: rgba(255, 255, 255, .86); }
.hz-heros--banniere .hz-cherche { margin: 34px 0 0; max-width: 760px; }
.hz-heros--banniere .hz-cherche__onglets { justify-content: flex-start; }
.hz-heros--banniere .hz-cherche__onglets > span { background: rgba(255, 255, 255, .35); }
.hz-heros--banniere .hz-cherche__onglets button { color: rgba(255, 255, 255, .78); }
.hz-heros--banniere .hz-cherche__onglets button sup { color: var(--hz-secondaire-clair); }
.hz-heros--banniere .hz-cherche__onglets button.est-actif { color: #fff; }
.hz-heros--banniere .hz-cherche__onglets button.est-actif::after { left: 0; right: 0; background: var(--hz-secondaire); }
.hz-heros--banniere .hz-cherche__boite { border-color: transparent; box-shadow: 0 24px 60px rgba(10, 14, 40, .35); }
.hz-heros--banniere .hz-cherche__populaires { justify-content: flex-start; color: rgba(255, 255, 255, .75); }
.hz-heros--banniere .hz-cherche__populaires a { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1); color: #fff; }
.hz-heros--banniere .hz-cherche__populaires a:hover { border-color: var(--hz-secondaire-clair); color: var(--hz-secondaire-clair); }
.hz-heros--banniere .hz-confiance { justify-content: flex-start; color: #fff; }
.hz-heros--banniere .hz-confiance span::before { background: var(--hz-secondaire); color: #fff; }
@media (max-width: 760px) {
    .hz-heros--banniere { padding: 48px 0 40px; }
    .hz-heros--banniere::before { background: linear-gradient(180deg, rgba(20, 27, 77, .9) 0%, rgba(43, 57, 144, .86) 100%); }
    .hz-banniere__photo { object-position: 60% 30%; }
}
