/* =====================================================================
   Template "HilarioHouse" — pintura de interiores e exteriores. Recriado a
   partir do screenshot do Pedro (não havia código): fundo creme, verde-escuro
   nos botões e faixas, terracota nos ícones e no telhado do logótipo, títulos
   em Manrope. Tudo delimitado ao contentor ".hh" do Index.cshtml (o _Layout
   público carrega o Bootstrap; as regras ".hh …" ganham ao reboot e não tocam
   nas outras páginas). Cada módulo tem o seu bloco abaixo.
   ===================================================================== */
.hh {
    --hh-green: #3b4f40;
    --hh-green-2: #314437;
    --hh-ink: #1f2420;
    --hh-text: #4a4f4a;
    --hh-muted: #7d827c;
    --hh-bg: #faf8f4;
    --hh-panel: #f2efe8;
    --hh-line: #e3ded4;
    --hh-terra: #d2603a;
    --hh-font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
    position: relative;
    background: var(--hh-bg);
    color: var(--hh-text);
    font-family: var(--hh-font);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
.hh a { color: inherit; text-decoration: none; }
.hh h1, .hh h2, .hh h3, .hh h4, .hh p, .hh figure { margin: 0; }
.hh h1, .hh h2, .hh h3 { font-family: var(--hh-font); color: var(--hh-ink); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.hh img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hh button, .hh input, .hh select, .hh textarea { font: inherit; }
.hh ::selection { background: var(--hh-terra); color: #fff; }
.hh a:focus-visible, .hh button:focus-visible { outline: 2px solid var(--hh-terra); outline-offset: 3px; }

.hh .hh-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.hh .hh-title { font-size: clamp(32px, 3.4vw, 48px); }
.hh .hh-sub { font-size: 16px; color: var(--hh-text); margin-top: 10px; }
.hh .hh-eyebrow { display: block; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--hh-muted); margin-bottom: 14px; }
.hh .hh-anchor { position: absolute; top: -20px; }
.hh .hh-ico { width: 26px; height: 26px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* botões e links */
.hh .hh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 3px; background: var(--hh-green); color: #fff; padding: 14px 22px; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.hh .hh-btn:hover { background: var(--hh-green-2); color: #fff; transform: translateY(-2px); }
.hh .hh-btn:disabled { opacity: .6; cursor: default; transform: none; }
.hh .hh-btn i { font-size: 12px; }
.hh .hh-btn--light { background: #fff; color: var(--hh-green); }
.hh .hh-btn--light:hover { background: #f1efe9; color: var(--hh-green); }
.hh .hh-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--hh-ink); padding-bottom: 3px; border-bottom: 1.5px solid var(--hh-terra); transition: gap .2s ease; }
.hh .hh-link i { font-size: 12px; }
.hh .hh-link:hover { gap: 12px; }

/* revelação suave no scroll (Index.cshtml junta "is-in") */
.hh .hh-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.hh .hh-reveal.is-in { opacity: 1; transform: none; }

/* ---------------- Logótipo ---------------- */
.hh .hh-logo { display: inline-flex; flex-direction: column; line-height: 1; color: var(--hh-ink); }
.hh .hh-logo-name { position: relative; font-size: 24px; font-weight: 700; letter-spacing: -.04em; padding-top: 8px; }
.hh .hh-logo-name b { font-weight: 800; }
.hh .hh-logo-name span { font-weight: 500; }
.hh .hh-logo-roof { position: absolute; left: 0; top: -2px; width: 44px; height: 14px; fill: none; stroke: var(--hh-terra); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.hh .hh-logo small { font-size: 8.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--hh-muted); margin-top: 5px; }
.hh .hh-logo img { width: auto; height: 42px; }

/* ---------------- Cabeçalho (TOPNAVIGATIONMENU) ---------------- */
.hh .hh-nav { position: relative; z-index: 20; background: var(--hh-bg); }
.hh .hh-nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 88px; }
.hh .hh-nav-links { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.hh .hh-nav-links a { position: relative; font-size: 13px; color: var(--hh-ink); padding: 6px 0; }
.hh .hh-nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--hh-terra); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.hh .hh-nav-links a:hover::after { transform: scaleX(1); }
.hh .hh-nav .hh-btn { padding: 11px 18px; font-size: 13px; }
.hh .hh-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--hh-line); border-radius: 3px; background: #fff; color: var(--hh-ink); align-items: center; justify-content: center; font-size: 20px; }
.hh .hh-nav-panel { display: none; }

/* ---------------- Hero (SPLITHEROBLOCK) ---------------- */
.hh .hh-hero { padding: 26px 0 50px; }
.hh .hh-hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.hh .hh-hero h1 { font-size: clamp(44px, 5vw, 76px); line-height: .98; letter-spacing: -.045em; }
.hh .hh-hero-text { font-size: 18px; line-height: 1.5; margin: 22px 0 28px; max-width: 470px; }
.hh .hh-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }
.hh .hh-places { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 30px; font-size: 13px; color: var(--hh-text); }
.hh .hh-places span + span::before { content: '·'; margin-right: 10px; color: var(--hh-muted); }
.hh .hh-hero-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: var(--hh-panel); }
.hh .hh-hero-media img { animation: hh-hero-in 1.6s cubic-bezier(.2,.6,.3,1) both; }
.hh .hh-hero-tag { position: absolute; right: 18px; bottom: 18px; background: #fff; color: var(--hh-ink); font-size: 13px; font-weight: 500; padding: 9px 14px; border-radius: 2px; box-shadow: 0 6px 18px rgba(0,0,0,.08); }
@keyframes hh-hero-in { from { transform: scale(1.04); } to { transform: none; } }

/* ---------------- Faixa de garantias (FEATURESTRIPBLOCK) ---------------- */
.hh .hh-strip { padding: 8px 0 40px; }
.hh .hh-strip-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.hh .hh-strip-item { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 10px 20px; font-size: 14px; color: var(--hh-ink); border-left: 1px solid var(--hh-line); }
.hh .hh-strip-item:first-child { border-left: 0; justify-content: flex-start; padding-left: 0; }
.hh .hh-strip-item:last-child { justify-content: flex-end; padding-right: 0; }
.hh .hh-strip-item .hh-ico { color: var(--hh-terra); width: 30px; height: 30px; }

/* ---------------- Serviços (IMAGECARDSBLOCK) ---------------- */
.hh .hh-cards { position: relative; padding: 60px 0 70px; }
.hh .hh-cards-head { margin-bottom: 28px; }
.hh .hh-cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 30px); }
.hh .hh-card-img { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 2px; background: var(--hh-panel); }
.hh .hh-card-img img { transition: transform .8s ease; }
.hh .hh-card:hover .hh-card-img img { transform: scale(1.04); }
.hh .hh-card-body { padding: 18px 20px 0; }
.hh .hh-card h3 { font-size: 16px; letter-spacing: -.01em; }
.hh .hh-card p { margin: 8px 0 14px; font-size: 14px; color: var(--hh-text); line-height: 1.55; }

/* ---------------- Processo (PROCESSPANELBLOCK) ---------------- */
.hh .hh-process { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; background: var(--hh-green); }
.hh .hh-process-img { min-height: 520px; }
.hh .hh-process-copy { padding: clamp(36px, 4.5vw, 70px) clamp(24px, 4.5vw, 64px); color: #dfe6df; align-self: center; }
.hh .hh-process-copy h2 { color: #fff; font-weight: 600; font-size: clamp(30px, 3.1vw, 44px); line-height: 1.1; margin-bottom: 34px; }
.hh .hh-process-items { display: grid; gap: 26px; }
.hh .hh-process-item { display: flex; gap: 24px; align-items: flex-start; }
.hh .hh-process-item .hh-ico { color: #fff; width: 32px; height: 32px; margin-top: 2px; }
.hh .hh-process-item strong { display: block; color: #fff; font-size: 16px; font-weight: 600; }
.hh .hh-process-item span { font-size: 14px; color: #c8d3c9; }

/* ---------------- Quem está por trás (OWNERINTROBLOCK) ---------------- */
.hh .hh-owner { position: relative; padding: 70px 0; }
.hh .hh-owner-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.hh .hh-owner h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.08; }
.hh .hh-owner-text { margin: 22px 0 16px; font-size: 16px; line-height: 1.6; max-width: 520px; }
.hh .hh-owner-sign { font-size: 14px; font-weight: 600; color: var(--hh-ink); margin-bottom: 20px; }
.hh .hh-owner-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--hh-panel); }

/* ---------------- Passos (NUMBEREDSTEPSBLOCK) ---------------- */
.hh .hh-steps { position: relative; padding: 40px 0 60px; }
.hh .hh-steps-grid { display: grid; grid-template-columns: 1.05fr repeat(3, 1fr); align-items: start; }
.hh .hh-steps h2 { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.12; padding-right: 30px; padding-top: 4px; }
.hh .hh-step { padding: 0 26px; border-left: 1px solid var(--hh-line); }
.hh .hh-step-num { display: block; font-size: 22px; font-weight: 600; color: var(--hh-terra); line-height: 1; margin-bottom: 10px; }
.hh .hh-step h3 { font-size: 15px; letter-spacing: -.01em; margin-bottom: 8px; }
.hh .hh-step p { font-size: 14px; color: var(--hh-text); line-height: 1.55; }

/* ---------------- Galeria (PHOTOSTRIPBLOCK) ---------------- */
.hh .hh-gallery { padding: 40px 0 60px; }
.hh .hh-gallery .hh-sub { margin-bottom: 26px; font-size: 14px; }
.hh .hh-gallery-grid { display: grid; grid-template-columns: 1.15fr 1fr 1.15fr; gap: 16px; }
.hh .hh-gallery-grid figure { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--hh-panel); }
.hh .hh-gallery-grid img { transition: transform .8s ease; }
.hh .hh-gallery-grid figure:hover img { transform: scale(1.04); }

/* ---------------- Zona de atuação (AREALISTBLOCK) ---------------- */
.hh .hh-area { position: relative; padding: 50px 0 60px; }
.hh .hh-area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 100px); align-items: start; }
.hh .hh-area h2 { font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }
.hh .hh-area-list a { display: flex; align-items: center; gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--hh-line); font-size: 15px; color: var(--hh-ink); transition: padding .2s ease, background .2s ease; }
.hh .hh-area-list a:hover { padding-left: 10px; background: rgba(210,96,58,.05); }
.hh .hh-area-list i.bi-geo-alt-fill { color: var(--hh-terra); font-size: 16px; }
.hh .hh-area-list i.bi-arrow-right { margin-left: auto; font-size: 14px; }
.hh .hh-area-note { margin-top: 14px; font-size: 13px; color: var(--hh-muted); }

/* ---------------- FAQ (FAQSPLITBLOCK) ---------------- */
.hh .hh-faq { position: relative; padding: 50px 0 70px; }
.hh .hh-faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.hh .hh-faq h2 { font-size: clamp(30px, 3vw, 42px); }
.hh .hh-faq-list { display: grid; gap: 10px; }
.hh .hh-faq-item { border: 1px solid var(--hh-line); background: #fff; border-radius: 2px; }
.hh .hh-faq-q { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: none; border: 0; text-align: left; color: var(--hh-ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.hh .hh-faq-q .bi-chevron-down { color: var(--hh-terra); font-size: 13px; transition: transform .25s ease; }
.hh .hh-faq-item.is-open .hh-faq-q .bi-chevron-down { transform: rotate(180deg); }
.hh .hh-faq-q .hh-pm { margin-left: auto; font-size: 18px; color: var(--hh-ink); }
.hh .hh-faq-q .hh-i-minus, .hh .hh-faq-item.is-open .hh-faq-q .hh-i-plus { display: none; }
.hh .hh-faq-item.is-open .hh-faq-q .hh-i-minus { display: inline-block; }
.hh .hh-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.hh .hh-faq-item.is-open .hh-faq-a { grid-template-rows: 1fr; }
.hh .hh-faq-a > div { overflow: hidden; padding: 0 18px 0 45px; font-size: 14px; color: var(--hh-text); }
.hh .hh-faq-item.is-open .hh-faq-a > div { padding-bottom: 16px; }
.hh .hh-faq-a p { margin: 0 0 6px; }

/* ---------------- Contacto (CTAFORMBLOCK) ---------------- */
.hh .hh-cta { position: relative; background: var(--hh-green); padding: 56px 0; color: #dfe6df; }
.hh .hh-cta-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.hh .hh-cta h2 { color: #fff; font-weight: 600; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.1; }
.hh .hh-cta-text { margin: 16px 0 26px; font-size: 16px; color: #d4ddd5; }
.hh .hh-form { background: #fff; color: var(--hh-text); border-radius: 3px; padding: clamp(20px, 2.4vw, 30px); }
.hh .hh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.hh .hh-field { display: block; margin-bottom: 12px; }
.hh .hh-field > span { display: block; font-size: 12px; font-weight: 600; color: var(--hh-ink); margin-bottom: 5px; }
.hh .hh-field input, .hh .hh-field textarea { width: 100%; border: 1px solid var(--hh-line); background: #fff; border-radius: 2px; padding: 10px 12px; font-size: 14px; color: var(--hh-ink); outline: 0; transition: border-color .2s ease; }
.hh .hh-field input:focus, .hh .hh-field textarea:focus { border-color: var(--hh-green); }
.hh .hh-field textarea { min-height: 84px; resize: vertical; }
.hh .hh-consent { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; color: var(--hh-muted); line-height: 1.5; margin: 2px 0 14px; }
.hh .hh-consent input { margin-top: 2px; accent-color: var(--hh-green); flex: 0 0 auto; }
.hh .hh-consent a { text-decoration: underline; text-underline-offset: 2px; color: var(--hh-ink); }
.hh .hh-form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hh .hh-form-note { font-size: 11px; color: var(--hh-muted); flex: 1; }
.hh .hh-form-status { margin-top: 14px; padding: 11px 13px; border-radius: 2px; font-size: 14px; background: #e6efe6; color: #2b4a32; }
.hh .hh-form-status.is-error { background: #f8e2da; color: #7a2b18; }

/* ---------------- Página de texto (CONTENTBLOCK) ---------------- */
.hh .hh-text-page { padding: 60px 0 80px; }
.hh .hh-text-body { max-width: 760px; }
.hh .hh-text-body h1 { font-size: clamp(36px, 4vw, 56px); margin: 0 0 28px; }
.hh .hh-text-desc { font-size: 15px; line-height: 1.75; color: var(--hh-text); }
.hh .hh-text-desc p { margin: 0 0 14px; }
.hh .hh-text-desc h3 { font-size: 21px; margin: 30px 0 8px; }
.hh .hh-text-desc a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------- Rodapé (FOOTERBLOCK) ---------------- */
.hh .hh-foot { padding: 36px 0 34px; border-top: 1px solid var(--hh-line); }
.hh .hh-foot-row { display: flex; align-items: center; gap: 18px 34px; flex-wrap: wrap; }
.hh .hh-foot-row > * + * { padding-left: 34px; border-left: 1px solid var(--hh-line); }
.hh .hh-foot-places { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.hh .hh-foot-places a:hover { color: var(--hh-terra); }
.hh .hh-foot-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hh .hh-social-ico { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hh-line); border-radius: 50%; font-size: 15px; color: var(--hh-ink); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.hh .hh-social-ico:hover { background: var(--hh-green); border-color: var(--hh-green); color: #fff; }
.hh .hh-social-chip { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border: 1px solid var(--hh-line); border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--hh-ink); transition: border-color .2s ease, color .2s ease; }
.hh .hh-social-chip:hover { border-color: var(--hh-terra); color: var(--hh-terra); }
/* com as redes todas a linha já não chega: a nota e o copyright passam para uma linha própria */
.hh .hh-foot-row > .hh-foot-legal { flex-basis: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 20px; margin-top: 4px; padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--hh-line); font-size: 11px; color: var(--hh-muted); line-height: 1.6; }
.hh .hh-foot-legal a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------------- Responsivo ---------------- */
@media (max-width: 1024px) {
    .hh .hh-nav-links { gap: 20px; }
    .hh .hh-steps-grid { grid-template-columns: repeat(3, 1fr); row-gap: 26px; }
    .hh .hh-steps h2 { grid-column: 1 / -1; }
    .hh .hh-step:nth-child(2) { border-left: 0; padding-left: 0; }
}
@media (max-width: 860px) {
    .hh .hh-nav-links, .hh .hh-nav-bar > .hh-btn { display: none; }
    .hh .hh-burger { display: inline-flex; }
    .hh .hh-nav.is-open .hh-nav-panel { display: block; background: #fff; border: 1px solid var(--hh-line); border-radius: 3px; padding: 8px 18px 18px; margin-bottom: 12px; }
    .hh .hh-nav-panel a { display: block; padding: 11px 0; font-size: 17px; color: var(--hh-ink); border-bottom: 1px solid var(--hh-line); }
    .hh .hh-nav-panel .hh-btn { display: flex; margin-top: 14px; border: 0; color: #fff; }
    .hh .hh-hero-grid, .hh .hh-owner-grid, .hh .hh-area-grid, .hh .hh-faq-grid, .hh .hh-cta-grid, .hh .hh-process { grid-template-columns: 1fr; }
    .hh .hh-hero-media { order: -1; }
    .hh .hh-strip-row { grid-template-columns: 1fr; gap: 6px; }
    .hh .hh-strip-item, .hh .hh-strip-item:first-child, .hh .hh-strip-item:last-child { justify-content: flex-start; padding: 8px 0; border-left: 0; }
    .hh .hh-cards-grid { grid-template-columns: 1fr; gap: 30px; }
    .hh .hh-card-body { padding: 16px 4px 0; }
    .hh .hh-process-img { min-height: 0; aspect-ratio: 4 / 3; }
    .hh .hh-owner-media { order: -1; }
    .hh .hh-steps-grid { grid-template-columns: 1fr; }
    .hh .hh-step, .hh .hh-step:nth-child(2) { border-left: 0; padding: 18px 0 0; border-top: 1px solid var(--hh-line); }
    .hh .hh-gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .hh .hh-gallery-grid figure:first-child { grid-column: 1 / -1; }
    .hh .hh-foot-row { flex-direction: column; align-items: flex-start; gap: 18px; }
    .hh .hh-foot-row > * + * { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
    .hh .hh-form-row { grid-template-columns: 1fr; }
    .hh .hh-hero h1 { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .hh *, .hh *::before, .hh *::after { animation: none !important; transition: none !important; }
    .hh .hh-reveal { opacity: 1; transform: none; }
}
