/*
 Theme Name: HN Redesign
 Theme URI: https://hncontabilidade.com
 Template: generatepress
 Author: Alcino Neto — Help Neto Contabilidade
 Author URI: https://hncontabilidade.com
 Description: Tema filho GeneratePress — Redesign HN 2026. Implementado por agente F6 sessao noturna 2026-05-02.
 Version: 1.1777934079
 Text Domain: hn-redesign
 License: GNU General Public License v2 or later
*/

/* ===== HN DESIGN SYSTEM TOKENS v1.0 - bc49 ===== */
:root {
  --ink-950:   #1A1918;
  --ink-900:   #3D3C38;
  --ink-700:   #6A635D;
  --ink-500:   #8C8C8C;
  --paper-100: #F2F2F2;
  --paper-50:  #FAFAF9;
  --white:     #FFFFFF;
  --accent:    #7A5C50;

  --font-heading: 'Inter', 'Trebuchet MS', Tahoma, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-xs:  6px;
  --space-sm:  14px;
  --space-md:  24px;
  --space-lg:  48px;
  --space-xl:  72px;
  --space-2xl: 96px;

  --radius:     4px;
  --transition: 200ms ease;
}

/* ANTI-ESPACAMENTO: max 48px para secoes nao-hero */
.hn-section          { padding: var(--space-lg) 0; }
.hn-hero             { padding: var(--space-xl) 0; }
.hn-section__inner,
.hn-container        { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }
h1, h2, h3           { margin-bottom: var(--space-sm); }
p + p                { margin-top: var(--space-sm); }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--ink-900); background: var(--paper-50); line-height: 1.6; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; color: var(--ink-950); }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }

/* Buttons */
.btn-primary, .btn--accent {
  display: inline-block; padding: 12px 24px; border-radius: var(--radius);
  font-family: var(--font-heading); font-weight: 700; text-decoration: none;
  background: var(--accent); color: #fff !important;
  transition: opacity var(--transition); cursor: pointer; border: none;
}
.btn-primary:hover, .btn--accent:hover { opacity: 0.85; color: #fff !important; }

.btn-outline, .btn--outline {
  display: inline-block; padding: 10px 22px; border-radius: var(--radius);
  font-family: var(--font-heading); font-weight: 700; text-decoration: none;
  border: 2px solid var(--accent); color: var(--accent) !important;
  transition: all var(--transition); cursor: pointer; background: transparent;
}
.btn-outline:hover, .btn--outline:hover { background: var(--accent); color: #fff !important; }

.btn-white-outline {
  display: inline-block; padding: 10px 22px; border-radius: var(--radius);
  font-family: var(--font-heading); font-weight: 700; text-decoration: none;
  border: 2px solid rgba(255,255,255,0.55); color: #fff !important;
  transition: all var(--transition); cursor: pointer; background: transparent;
}
.btn-white-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* Header */
.hn-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--paper-50); border-bottom: 1px solid var(--paper-100);
  height: 64px; box-shadow: 0 1px 4px rgba(61,60,56,0.08);
}
.hn-header__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md);
  height: 80px; display: flex; align-items: center; gap: 28px;
}
.hn-header__logo img { /* ver bloco bc55i */ }
.hn-nav { margin-left: auto; }
.hn-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 20px; }
.hn-nav__list a {
  font-family: var(--font-heading); font-size: 14px; color: var(--ink-700);
  text-decoration: none; font-weight: 600; transition: color var(--transition);
}
.hn-nav__list a:hover { color: var(--ink-950); }
.hn-header__cta {
  background: var(--accent) !important; color: #fff !important;
  padding: 8px 16px !important; border-radius: var(--radius); font-weight: 700 !important;
  transition: opacity var(--transition) !important; white-space: nowrap;
}
.hn-header__cta:hover { opacity: 0.85; color: #fff !important; }
.hn-hamburger {
  display: none; flex-direction: column; justify-content: space-between;
  width: 24px; height: 18px; background: none; border: none;
  cursor: pointer; padding: 0; margin-left: auto;
}
.hn-hamburger span { display: block; height: 2px; background-color:#3D3C38; border-radius: 2px; transition: all 0.3s; }

/* Hero */
.hn-hero {
  background: var(--ink-950); color: #fff;
  padding: var(--space-xl) 0; position: relative; overflow: hidden;
}
.hn-hero__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md);
  display: grid; grid-template-columns: 55fr 45fr; gap: 56px; align-items: center;
}
.hn-hero__content { padding-left: 16px; border-left: 3px solid var(--ink-700); }
.hn-hero__eyebrow {
  font-size: 11px; font-family: var(--font-heading); font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin: 0 0 16px;
}
.hn-hero h1 { font-size: clamp(36px, 5vw, 60px); color: #fff; margin: 0 0 20px; line-height: 1.1; }
.hn-hero__sub { font-size: 18px; color: var(--ink-500); margin: 0 0 32px; line-height: 1.65; }
.hn-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }
.hn-hero__proof { font-size: 12px; color: var(--ink-500); line-height: 1.8; margin: 0; }
.hn-hero__photo-wrap { position: relative; border-left: 3px solid var(--ink-700); }
.hero-foto {
  width: 100%; height: auto; border-radius: 0 var(--radius) var(--radius) 0; display: block;
  filter: brightness(0.92) contrast(1.05) saturate(0.88);
}

/* Cards de Servico - fin vertical */
.card-servico {
  background: #fff;
  border-left: 3px solid var(--ink-900);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px;
  transition: all var(--transition);
}
.card-servico:hover {
  border-left-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(61,60,56,0.10);
}
.card-servico h3 { font-family: var(--font-heading); font-size: 17px; color: var(--ink-950); margin: 0 0 8px; }
.card-servico p { font-size: 14px; color: var(--ink-700); line-height: 1.55; margin: 0; }

/* Section variants */
.hn-section--dark { background: var(--ink-950); color: #fff; }
.hn-section--dark h2, .hn-section--dark h3 { color: #fff; }
.hn-section--mid  { background: var(--ink-900); color: #fff; }
.hn-section--mid  h2, .hn-section--mid  h3 { color: #fff; }
.hn-section--paper { background: var(--paper-100); }
.hn-section--accent { background: var(--accent); color: #fff; }

.hn-section__eyebrow {
  font-size: 11px; font-family: var(--font-heading); font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px;
}
.hn-section--dark .hn-section__eyebrow,
.hn-section--mid  .hn-section__eyebrow { color: var(--accent); }

.hn-section__title { font-family: var(--font-heading); font-size: clamp(22px, 3vw, 34px); margin: 0 0 16px; }
.hn-section--dark .hn-section__title,
.hn-section--mid  .hn-section__title { color: #fff; }

.hn-section__lead { font-size: 17px; color: var(--ink-700); line-height: 1.65; max-width: 640px; margin: 0 0 32px; }
.hn-section--dark .hn-section__lead { color: var(--ink-500); }

.hn-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hn-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.hn-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 32px; }

/* Timeline /sobre/ */
.hn-timeline {
  position: relative; padding-left: 32px; border-left: 3px solid var(--ink-700);
  display: flex; flex-direction: column; gap: 32px; margin-top: 32px;
}
.hn-timeline__year  { font-size: 11px; font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.1em; color: var(--accent); }
.hn-timeline__title { font-family: var(--font-heading); font-size: 18px; margin: 4px 0 8px; }
.hn-timeline__desc  { color: var(--ink-500); font-size: 14px; line-height: 1.6; margin: 0; }

/* FAQ */
.hn-faq { margin-top: 32px; max-width: 800px; }
.hn-faq__item { border-bottom: 1px solid var(--paper-100); }
.hn-faq__item:first-child { border-top: 1px solid var(--paper-100); }
.hn-faq__q {
  font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--ink-950);
  padding: 18px 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.hn-faq__q::-webkit-details-marker { display: none; }
.hn-faq__q::after { content: '+'; color: var(--accent); font-size: 22px; flex-shrink: 0; }
details[open] .hn-faq__q::after { content: '-'; }
.hn-faq__a { padding: 0 0 18px; }
.hn-faq__a p { color: var(--ink-700); line-height: 1.65; margin: 0; }

/* Footer */
.hn-footer { background: var(--ink-900); color: var(--ink-500); padding: 56px 24px 28px; }
.hn-footer__inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px;
}
.hn-footer__logo img { /* ver bloco bc55i */ }
.hn-footer__col h4 {
  font-family: var(--font-heading); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--paper-100); margin: 0 0 14px;
}
.hn-footer__col a {
  display: block; color: var(--ink-500); text-decoration: none;
  font-size: 14px; margin-bottom: 8px; transition: color var(--transition);
}
.hn-footer__col a:hover { color: var(--accent); }
.hn-footer__col p { font-size: 13px; line-height: 1.6; margin: 0 0 8px; }
.hn-footer__bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 28px;
  border-top: 1px solid rgba(140,140,140,0.15);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; flex-wrap: wrap; gap: 8px;
}

/* Responsive */
@media (max-width: 900px) {
  .hn-hero__inner { grid-template-columns: 1fr; }
  .hn-hero__photo-wrap { display: none; }
  .hn-grid-3 { grid-template-columns: 1fr 1fr; }
  .hn-grid-4 { grid-template-columns: 1fr 1fr; }
  .hn-footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hn-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hn-header { height: 56px !important; }
  .hn-header__inner { height: 56px !important; }
  .hn-hamburger { display: flex !important; }
  .hn-nav {
    display: none; position: fixed; top: 56px; left: 0; right: 0; bottom: 0;
    background: var(--ink-950); padding: 28px var(--space-md); overflow-y: auto; z-index: 999;
  }
  .hn-nav.hn-nav--open { display: block; }
  .hn-nav__list { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hn-nav__list a { font-size: 18px; color: #fff !important; }
  .hn-nav__list a:hover { color: var(--accent) !important; }
  .hn-header__inner { position: relative; }
  .hn-grid-3, .hn-grid-4 { grid-template-columns: 1fr; }
  .hn-footer__inner { grid-template-columns: 1fr; }
  .hn-hero h1 { font-size: 32px !important; }
  .hn-hero { padding: var(--space-lg) 0; }
  .hn-section { padding: 40px 0; }
}
/* ===== FIM HN DESIGN SYSTEM v1.0 ===== */


/* ==========================================================================
   HN REDESIGN — TOKENS CSS (Spec v1 Sec 2.1)
   Gerado por: Agente F6 — Sessao Noturna 2026-05-02
   ========================================================================== */

:root {
  /* Paleta primaria HN */
  --ink-950:  #1A1918;
  --ink-900:  #3D3C38;
  --ink-700:  #6A635D;
  --ink-500:  #8C8C8C;
  --ink-200:  #D4D4D4;
  --paper-100: #F2F2F2;
  --paper-50:  #FAFAFA;
  --white:     #FFFFFF;

  /* Acento unico para CTAs */
  --accent:       #7A5C50;
  --accent-hover: #634a3f;
  --accent-text:  #FFFFFF;

  /* Feedback/status */
  --success: #4A5240;
  --error:   #8B2E2E;

  /* Tipografia */
  --font-primary: 'Trebuchet MS', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-hero:  3.5rem;
  --text-h1:    2.5rem;
  --text-h2:    2rem;
  --text-h3:    1.5rem;
  --text-h4:    1.25rem;
  --text-lead:  1.25rem;
  --text-base:  1rem;
  --text-sm:    0.875rem;
  --text-xs:    0.75rem;

  --weight-extra: 800;
  --weight-bold:  700;
  --weight-semi:  600;
  --weight-base:  400;

  --leading-tight:  1.2;
  --leading-normal: 1.5;
  --leading-body:   1.65;

  --tracking-tight:  -0.02em;
  --tracking-normal:  0;
  --tracking-wide:    0.08em;

  /* Espacamento 8pt grid */
  --space-1:   8px;
  --space-2:  16px;
  --space-3:  24px;
  --space-4:  32px;
  --space-5:  40px;
  --space-6:  48px;
  --space-8:  64px;
  --space-10: 80px;
  --space-12: 96px;

  --section-py: var(--space-12);
  --section-gap: var(--space-8);
  --card-p: var(--space-4);
  --btn-py: 14px;
  --btn-px: 28px;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.12);

  /* Transicoes */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 200ms ease-in-out;
  --transition-slow: 300ms ease-in-out;
}

/* ==========================================================================
   RESET E BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-base);
  color: var(--ink-900);
  background: var(--white);
  line-height: var(--leading-body);
  margin: 0;
  padding: 0;
}

/* Override GeneratePress defaults */
.site-content,
.inside-article,
.entry-content {
  padding: 0;
}

/* ==========================================================================
   BOTOES
   ========================================================================== */

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white) !important;
  padding: var(--btn-py) var(--btn-px);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-weight: var(--weight-semi);
  font-size: var(--text-base);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-base), transform var(--transition-fast);
  line-height: 1.4;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white) !important;
  transform: translateY(-1px);
  text-decoration: none;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--ink-900) !important;
  border: 2px solid var(--ink-900);
  padding: var(--btn-py) var(--btn-px);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-weight: var(--weight-semi);
  font-size: var(--text-base);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
}
.btn-secondary:hover {
  background: var(--ink-900);
  color: var(--white) !important;
  text-decoration: none;
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white) !important;
  border: 1px solid rgba(255,255,255,0.4);
  padding: var(--btn-py) var(--btn-px);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-weight: var(--weight-semi);
  font-size: var(--text-base);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
  color: var(--white) !important;
  text-decoration: none;
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--card-p);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-flat {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: var(--card-p);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.card-flat:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* ==========================================================================
   FORMULARIOS
   ========================================================================== */

.form-input,
.hn-form input[type="text"],
.hn-form input[type="email"],
.hn-form input[type="tel"],
.hn-form select,
.hn-form textarea {
  border: 1.5px solid var(--ink-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  color: var(--ink-900);
  background: var(--white);
  width: 100%;
  transition: border-color var(--transition-base);
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.hn-form input:focus,
.hn-form select:focus,
.hn-form textarea:focus {
  border-color: var(--ink-700);
  outline: none;
  box-shadow: 0 0 0 3px rgba(106,99,93,0.15);
}

/* ==========================================================================
   BADGES
   ========================================================================== */

.badge {
  display: inline-block;
  background: var(--paper-100);
  color: var(--ink-700);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  line-height: 1.4;
}
.badge-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ==========================================================================
   HEADER STICKY
   ========================================================================== */

.hn-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.hn-header.scrolled {
  border-bottom-color: var(--ink-200);
  box-shadow: var(--shadow-sm);
}

.hn-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hn-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}
.hn-logo-text {
  font-family: var(--font-primary);
  font-weight: var(--weight-bold);
  font-size: 1.1rem;
  color: var(--ink-900);
  line-height: 1.2;
}
.hn-logo-sub {
  font-size: var(--text-xs);
  color: var(--ink-700);
  font-weight: var(--weight-base);
  display: block;
}

.hn-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.hn-nav a {
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  color: var(--ink-900);
  text-decoration: none;
  font-weight: var(--weight-base);
  transition: color var(--transition-base);
}
.hn-nav a:hover {
  color: var(--accent);
}

/* Dropdown */
.hn-nav .has-dropdown {
  position: relative;
}
.hn-nav .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 240px;
  padding: var(--space-2) 0;
  z-index: 100;
}
.hn-nav .has-dropdown:hover .dropdown {
  display: block;
}
.hn-nav .dropdown a {
  display: block;
  padding: 8px var(--space-3);
  font-size: var(--text-sm);
  color: var(--ink-900);
  white-space: nowrap;
}
.hn-nav .dropdown a:hover {
  background: var(--paper-100);
  color: var(--accent);
}
.hn-nav .dropdown-2col {
  display: none;
  grid-template-columns: 1fr 1fr;
  min-width: 440px;
}
.hn-nav .has-dropdown:hover .dropdown-2col {
  display: grid;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hn-hero {
  background: var(--ink-950);
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: var(--space-12) 0;
}

.hn-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: grid;
  grid-template-columns: 60% 40%;
  gap: var(--space-8);
  align-items: center;
}

.hn-hero-badge {
  display: inline-block;
  background: rgba(122,92,80,0.2);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(122,92,80,0.4);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}

.hn-hero h1 {
  font-family: var(--font-primary);
  font-size: var(--text-hero);
  font-weight: var(--weight-extra);
  color: var(--white);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-4) 0;
}

.hn-hero-subheadline {
  font-family: var(--font-primary);
  font-size: var(--text-lead);
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: var(--space-6);
  max-width: 600px;
}

.hn-hero-ctas {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}

.hn-hero-microcopy {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.hn-hero-credencial {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin-top: var(--space-5);
}

.hn-hero-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hn-hero-photo-placeholder {
  width: 360px;
  height: 420px;
  background: rgba(255,255,255,0.05);
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: var(--text-sm);
  text-align: center;
  padding: var(--space-4);
}

/* ==========================================================================
   SECAO AUTORIDADE
   ========================================================================== */

.hn-autoridade {
  background: var(--paper-100);
  padding: var(--space-8) 0;
}

.hn-autoridade-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  text-align: center;
}

.hn-pilar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.hn-pilar-icon {
  width: 32px;
  height: 32px;
  color: var(--ink-500);
  margin-bottom: var(--space-1);
}

.hn-pilar-valor {
  font-family: var(--font-primary);
  font-size: var(--text-h4);
  font-weight: var(--weight-bold);
  color: var(--ink-900);
  line-height: 1.2;
}

.hn-pilar-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semi);
  color: var(--ink-700);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
}

/* ==========================================================================
   CALCULADORA
   ========================================================================== */

.hn-calculadora {
  background: var(--white);
  padding: var(--section-py) 0;
}

.hn-calculadora-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.hn-calculadora-box {
  max-width: 760px;
  border-left: 4px solid var(--accent);
  padding-left: var(--space-6);
}

.hn-calculadora-box h2 {
  font-family: var(--font-primary);
  font-size: var(--text-h2);
  font-weight: var(--weight-bold);
  color: var(--ink-900);
  margin: 0 0 var(--space-2) 0;
}

.hn-calculadora-box .hn-sub {
  font-size: var(--text-base);
  color: var(--ink-700);
  margin-bottom: var(--space-6);
  max-width: 600px;
}

.hn-calc-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.hn-field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--ink-900);
  margin-bottom: 6px;
}

.hn-calc-resultado {
  display: none;
  background: var(--paper-50);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-top: var(--space-4);
}

.hn-calc-resultado.active {
  display: block;
}

.hn-calc-resultado h3 {
  font-size: var(--text-h3);
  font-weight: var(--weight-bold);
  color: var(--ink-900);
  margin: 0 0 var(--space-2) 0;
}

.hn-calc-resultado p {
  color: var(--ink-700);
  margin: 0 0 var(--space-3) 0;
}

.hn-calc-microcopy {
  font-size: var(--text-sm);
  color: var(--ink-500);
  margin-top: var(--space-2);
}

/* ==========================================================================
   AREAS DE ATUACAO
   ========================================================================== */

.hn-areas {
  background: var(--paper-50);
  padding: var(--section-py) 0;
}

.hn-areas-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.hn-section-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.hn-section-header h2 {
  font-family: var(--font-primary);
  font-size: var(--text-h2);
  font-weight: var(--weight-bold);
  color: var(--ink-900);
  margin: 0 0 var(--space-2) 0;
}

.hn-section-header .hn-sub {
  font-size: var(--text-lead);
  color: var(--ink-700);
  margin: 0;
}

.hn-areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}

.hn-area-card {
  background: var(--white);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: var(--card-p);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.hn-area-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.hn-area-icon {
  width: 24px;
  height: 24px;
  color: var(--ink-700);
  margin-bottom: var(--space-2);
}

.hn-area-card h4 {
  font-family: var(--font-primary);
  font-size: var(--text-h4);
  font-weight: var(--weight-semi);
  color: var(--ink-900);
  margin: 0 0 var(--space-1) 0;
  line-height: 1.3;
}

.hn-area-card .hn-area-desc {
  font-size: var(--text-sm);
  color: var(--ink-700);
  line-height: var(--leading-body);
  margin: 0 0 var(--space-2) 0;
}

.hn-area-card .hn-link {
  font-size: var(--text-sm);
  color: var(--accent);
  text-decoration: none;
  font-weight: var(--weight-semi);
}
.hn-area-card .hn-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   RECUPERACAO CREDITOS — DARK SECTION
   ========================================================================== */

.hn-recuperacao {
  background: var(--ink-900);
  padding: var(--section-py) 0;
}

.hn-recuperacao-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--space-8);
  align-items: center;
}

.hn-recuperacao h2 {
  font-family: var(--font-primary);
  font-size: var(--text-h2);
  font-weight: var(--weight-bold);
  color: var(--white);
  margin: 0 0 var(--space-4) 0;
}

.hn-recuperacao .hn-sub {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  margin-bottom: var(--space-4);
}

.hn-recuperacao .hn-evidencia {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
  font-style: italic;
  margin-bottom: var(--space-5);
}

.hn-metricas {
  display: flex;
  gap: var(--space-5);
}

.hn-metrica {
  text-align: center;
}

.hn-metrica-valor {
  font-family: var(--font-primary);
  font-size: var(--text-h1);
  font-weight: var(--weight-bold);
  color: var(--white);
  line-height: 1.1;
  display: block;
}

.hn-metrica-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  display: block;
  margin-top: 4px;
}

/* ==========================================================================
   PROVA SOCIAL
   ========================================================================== */

.hn-prova-social {
  background: var(--white);
  padding: var(--section-py) 0;
}

.hn-prova-social-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.hn-depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.hn-depoimento {
  background: var(--paper-50);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: var(--card-p);
}

.hn-depoimento blockquote {
  font-size: var(--text-base);
  color: var(--ink-900);
  line-height: var(--leading-body);
  margin: 0 0 var(--space-3) 0;
  font-style: italic;
}

.hn-depoimento cite {
  font-size: var(--text-sm);
  color: var(--ink-700);
  font-style: normal;
  font-weight: var(--weight-semi);
}

/* ==========================================================================
   BLOG CARDS
   ========================================================================== */

.hn-blog-section {
  background: var(--paper-100);
  padding: var(--section-py) 0;
}

.hn-blog-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.hn-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.hn-blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}
.hn-blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.hn-blog-card-img {
  width: 100%;
  height: 180px;
  background: var(--paper-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-500);
  font-size: var(--text-sm);
}

.hn-blog-card-body {
  padding: var(--space-3);
}

.hn-blog-card-body h4 {
  font-family: var(--font-primary);
  font-size: var(--text-h4);
  font-weight: var(--weight-semi);
  color: var(--ink-900);
  margin: var(--space-2) 0 var(--space-1) 0;
  line-height: 1.4;
}

.hn-blog-card-body p {
  font-size: var(--text-sm);
  color: var(--ink-700);
  line-height: var(--leading-body);
  margin: 0 0 var(--space-2) 0;
}

.hn-blog-card-body .hn-link {
  font-size: var(--text-sm);
  color: var(--accent);
  text-decoration: none;
  font-weight: var(--weight-semi);
}

.hn-section-cta {
  text-align: center;
  margin-top: var(--space-6);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.hn-faq {
  background: var(--white);
  padding: var(--section-py) 0;
}

.hn-faq-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.hn-faq-list {
  margin-top: var(--space-8);
}

.hn-faq-item {
  border-bottom: 1px solid var(--ink-200);
}

.hn-faq-item summary {
  cursor: pointer;
  padding: var(--space-3) 0;
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--weight-semi);
  color: var(--ink-900);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  transition: color var(--transition-base);
}
.hn-faq-item summary::-webkit-details-marker { display: none; }
.hn-faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--ink-500);
  flex-shrink: 0;
  transition: transform var(--transition-slow);
}
.hn-faq-item[open] summary::after {
  content: '-';
}
.hn-faq-item summary:hover { color: var(--accent); }

.hn-faq-answer {
  padding: 0 0 var(--space-3) 0;
  font-size: var(--text-base);
  color: var(--ink-700);
  line-height: var(--leading-body);
  max-width: 680px;
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */

.hn-cta-final {
  background: var(--ink-950);
  padding: var(--section-py) 0;
  text-align: center;
}

.hn-cta-final-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.hn-cta-final h2 {
  font-family: var(--font-primary);
  font-size: var(--text-h1);
  font-weight: var(--weight-bold);
  color: var(--white);
  margin: 0 0 var(--space-4) 0;
}

.hn-cta-final p {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-lead);
  margin-bottom: var(--space-6);
}

.hn-cta-final-btns {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

.hn-cta-microcopy {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  margin-top: var(--space-3);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.hn-footer {
  background: var(--ink-900);
  padding: var(--space-12) 0 0 0;
  color: rgba(255,255,255,0.75);
}

.hn-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.hn-footer-col h5 {
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: var(--weight-semi);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  margin: 0 0 var(--space-3) 0;
}

.hn-footer-col p,
.hn-footer-col address {
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  color: rgba(255,255,255,0.6);
  font-style: normal;
  margin: 0 0 var(--space-2) 0;
}

.hn-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hn-footer-col ul li {
  margin-bottom: var(--space-1);
}

.hn-footer-col ul li a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition-base);
}
.hn-footer-col ul li a:hover {
  color: var(--white);
}

.hn-footer-logo-nome {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: var(--weight-bold);
  color: var(--white);
  margin-bottom: var(--space-1);
}

.hn-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: var(--space-4);
  text-align: center;
}

.hn-footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  margin: 0;
}

/* ==========================================================================
   CONTAINER PADRAO
   ========================================================================== */

.hn-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* ==========================================================================
   SECOES GENERICAS
   ========================================================================== */

.hn-section {
  padding: var(--section-py) 0;
}

.hn-section-dark {
  background: var(--ink-900);
}

.hn-section-paper {
  background: var(--paper-100);
}

.hn-section h2 {
  font-family: var(--font-primary);
  font-size: var(--text-h2);
  font-weight: var(--weight-bold);
  color: var(--ink-900);
}

/* ==========================================================================
   RESPONSIVE — MOBILE FIRST
   ========================================================================== */

@media (max-width: 1024px) {
  .hn-areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hn-autoridade-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
  }
  .hn-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --text-hero: 2.2rem;
    --text-h1:   1.8rem;
    --text-h2:   1.5rem;
    --section-py: var(--space-8);
  }

  .hn-header {
    height: 64px;
  }

  .hn-nav { display: none; }
  .hn-hamburger { display: flex; }
  .hn-header-inner > a.btn-primary { display: none; }

  .hn-hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .hn-hero-photo { display: none; }

  .hn-areas-grid {
    grid-template-columns: 1fr;
  }

  .hn-recuperacao-inner {
    grid-template-columns: 1fr;
  }

  .hn-depoimentos-grid,
  .hn-blog-grid {
    grid-template-columns: 1fr;
  }

  .hn-autoridade-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .hn-footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .hn-calc-fields {
    grid-template-columns: 1fr;
  }

  .hn-metricas {
    flex-direction: column;
    gap: var(--space-4);
  }

  .hn-calculadora-box {
    padding-left: var(--space-3);
  }

  .hn-cta-final-btns {
    flex-direction: column;
    align-items: center;
  }
  /* Touch targets minimos 44px */
  .btn-primary, .btn-secondary, .hn-cta { min-height: 44px; }
  /* Containers mobile sem padding excessivo */
  .hn-container { padding-left: var(--space-3); padding-right: var(--space-3); }
  /* Autoridade 1 coluna em mobile */
  .hn-autoridade-inner { grid-template-columns: 1fr; }

}

/* ==========================================================================
   HAMBURGER MENU MOBILE
   ========================================================================== */

.hn-hamburger {
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hn-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-900);
  transition: all var(--transition-base);
}
@media (min-width: 769px) { .hn-hamburger { display: none; } }

.hn-mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  padding: var(--space-4);
}

.hn-mobile-menu.open {
  display: block;
}

.hn-mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hn-mobile-menu ul li a {
  display: block;
  padding: var(--space-2) 0;
  font-size: 1.1rem;
  color: var(--ink-900);
  text-decoration: none;
  border-bottom: 1px solid var(--paper-100);
  font-weight: var(--weight-semi);
}

/* Override de estilos GeneratePress que podem conflitar */
.site-header { display: none !important; }
.site-footer { display: none !important; }
.nav-primary { display: none !important; }
.inside-header { display: none !important; }
.page-hero-section { display: none !important; }
/* ==========================================================================
   HN REDESIGN — VISUAL REFINEMENT v2 (W1 bc37 — 2026-05-02 14:00 BRT)
   Append ao style.css base. Foco: tipografia, respiro, microinteracoes,
   anima??es sutis, prefers-reduced-motion respeitado.
   Autor: Wave W1 (Sonnet) — sessao noturna bc37
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. SMOOTH SCROLL GLOBAL + RESPIRO TIPOGRAFICO
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;  /* respeita header fixo de 64px + folga */
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* --------------------------------------------------------------------------
   2. TIPOGRAFIA — micro-ajustes em h1/h2/h3 + paragrafos
   -------------------------------------------------------------------------- */
h1, .hn-h1 {
  letter-spacing: -0.022em;
  line-height: 1.12;
}
h2, .hn-h2 {
  letter-spacing: -0.018em;
  line-height: 1.18;
}
h3, .hn-h3 {
  letter-spacing: -0.012em;
  line-height: 1.25;
}
h4 {
  letter-spacing: -0.005em;
  line-height: 1.3;
}

/* Legibilidade em paragrafos longos — limita largura para conforto de leitura */
p, .hn-p, li {
  max-width: 65ch;
}
/* Excecoes: em colunas/grids/cards onde o container ja constraint, deixar livre */
.hn-grid p, .hn-grid li,
[style*="display:grid"] p, [style*="display:grid"] li,
[style*="display:flex"] p, [style*="display:flex"] li,
.hn-card p, .hn-card li,
section[style*="background:var(--ink-950)"] p,
section[style*="background:var(--ink-900)"] p {
  max-width: none;
}

/* --------------------------------------------------------------------------
   3. SECTION PADDING — aumentado para mais respiro
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
  :root {
    --section-py: 120px;
    --section-gap: 80px;
  }
}
@media (max-width: 991px) {
  :root {
    --section-py: 80px;
  }
}
@media (max-width: 600px) {
  :root {
    --section-py: 64px;
  }
}

/* --------------------------------------------------------------------------
   4. CARDS — hover refinado (lift + shadow upgrade)
   -------------------------------------------------------------------------- */
.hn-card,
[class*="hn-card"],
[style*="background:var(--white)"][style*="border-radius"],
[style*="background:var(--paper-50)"][style*="border-radius"],
[style*="background:var(--paper-100)"][style*="border-radius"] {
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
  will-change: transform;
}

.hn-card:hover,
[class*="hn-card"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

/* Botoes — micro lift + shadow no hover */
.hn-btn-primary,
a[class*="btn-primary"],
button[class*="btn-primary"],
.hn-btn,
a.hn-cta {
  transition:
    background-color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-base);
}
.hn-btn-primary:hover,
a[class*="btn-primary"]:hover,
button[class*="btn-primary"]:hover,
.hn-btn:hover,
a.hn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(122,92,80,0.32);
}
.hn-btn-primary:active,
a[class*="btn-primary"]:active,
button[class*="btn-primary"]:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(122,92,80,0.24);
}

/* Links inline — underline animada */
.hn-content a:not([class]),
article a:not([class]),
section p a:not([class]) {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--transition-base);
  text-decoration: none;
}
.hn-content a:not([class]):hover,
article a:not([class]):hover,
section p a:not([class]):hover {
  background-size: 0% 1px;
}

/* --------------------------------------------------------------------------
   5. ANIMACOES SCROLL-DRIVEN — fade-in + slide-up suaves no entrar viewport
   Implementacao: animation-timeline: view() (Chrome 115+, Safari 26+, Firefox 144+)
   Fallback: elementos visiveis sem animacao (graceful degradation) — sem JS pesado.
   -------------------------------------------------------------------------- */
@supports (animation-timeline: view()) {
  .hn-reveal,
  section > .hn-container > h2,
  section > .hn-container > h3,
  section .hn-card,
  section [class*="hn-card"] {
    animation: hn-fade-in-up linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 60%;
  }

  @keyframes hn-fade-in-up {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* --------------------------------------------------------------------------
   6. PREFERS-REDUCED-MOTION — desliga TUDO de animacao/transicao
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hn-card:hover,
  [class*="hn-card"]:hover,
  .hn-btn-primary:hover,
  a[class*="btn-primary"]:hover {
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   7. FOCUS VISIBLE — acessibilidade reforcada
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
.hn-btn-primary:focus-visible,
a[class*="btn-primary"]:focus-visible {
  outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   8. IMAGENS — render suave + lazy fade-in
   -------------------------------------------------------------------------- */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
img[loading="lazy"] {
  transition: opacity var(--transition-slow);
}

/* --------------------------------------------------------------------------
   9. HERO COM BANNER OVERLAY — para banners SVG aplicados em pages-chave
   Garante legibilidade do texto sobre a imagem de fundo.
   -------------------------------------------------------------------------- */
.hn-hero-with-banner,
section.hn-hero-banner {
  position: relative;
  overflow: hidden;
}
.hn-hero-with-banner::before,
section.hn-hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,25,24,0.78) 0%, rgba(26,25,24,0.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.hn-hero-with-banner > *,
section.hn-hero-banner > * {
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   10. SELECTION color — alinhada com paleta HN
   -------------------------------------------------------------------------- */
::selection {
  background: var(--accent);
  color: var(--accent-text);
}

/* fim do W1 visual refinement v2 */

/* ==========================================================================
   CALCULADORA WIZARD -- componentes dinamicos (calculadora.js v2) bc49
   ========================================================================== */

.hn-calculadora-container { margin-top: var(--space-4); min-height: 160px; }

.hn-calc-step {
  display: flex; flex-direction: column; gap: var(--space-4);
  animation: hn-calc-fadein 0.22s ease;
}
@keyframes hn-calc-fadein {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hn-calc-etapa {
  font-size: var(--text-sm); font-weight: var(--weight-semi);
  color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin: 0;
}
.hn-calc-pergunta {
  font-family: var(--font-primary); font-size: var(--text-h3);
  font-weight: var(--weight-bold); color: var(--ink-900); margin: 0; line-height: 1.3;
}
.hn-calc-options { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.hn-calc-option {
  background: var(--white); border: 2px solid var(--ink-200);
  border-radius: var(--radius-sm); padding: 12px 20px;
  font-size: var(--text-base); font-family: inherit; font-weight: var(--weight-semi);
  color: var(--ink-900); cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s; white-space: nowrap;
}
.hn-calc-option:hover,
.hn-calc-option:focus {
  border-color: var(--accent); background: var(--accent); color: var(--white); outline: none;
}
.hn-calc-back {
  background: none; border: none; color: var(--ink-500);
  font-size: var(--text-sm); font-family: inherit; cursor: pointer; padding: 0;
  text-decoration: underline; text-underline-offset: 3px; align-self: flex-start;
}
.hn-calc-back:hover { color: var(--ink-900); }

.hn-calc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.hn-calc-card {
  border: 1px solid var(--ink-200); border-radius: var(--radius-md); padding: var(--space-4);
  display: flex; flex-direction: column; gap: 4px;
}
.hn-calc-card-credito   { border-color: #2d8a4e; background: rgba(45,138,78,0.04); }
.hn-calc-card-honorario { border-color: var(--accent); background: rgba(122,92,80,0.04); }
.hn-calc-card-label {
  font-size: var(--text-sm); font-weight: var(--weight-semi);
  color: var(--ink-700); text-transform: uppercase; letter-spacing: 0.06em;
}
.hn-calc-card-val {
  font-family: var(--font-primary); font-size: var(--text-h3);
  font-weight: var(--weight-bold); color: var(--ink-900); line-height: 1.2;
}
.hn-calc-card-sub  { font-size: var(--text-xs); color: var(--ink-500); }
.hn-calc-sep       { opacity: 0.5; }
.hn-calc-periodo   { font-size: var(--text-sm); color: var(--ink-500); margin-left: 2px; font-weight: 400; }
.hn-calc-sob-consulta { font-size: var(--text-base); color: var(--ink-500); }
.hn-calc-roi {
  font-size: var(--text-sm); color: var(--ink-700);
  background: var(--paper-50); border-radius: var(--radius-sm);
  padding: var(--space-2) var(--space-3); margin: 0;
}
.hn-calc-disclaimer { font-size: var(--text-xs); color: var(--ink-400); margin: 0; line-height: 1.5; }
.hn-calc-cta-btn    { align-self: flex-start; }
.hn-calc-cta-micro  { font-size: var(--text-xs); color: var(--ink-500); margin: 0; line-height: 1.5; }
.hn-calc-resultado-step .hn-calc-back { margin-top: var(--space-1); }

@media (max-width: 580px) {
  .hn-calc-cards { grid-template-columns: 1fr; }
  .hn-calc-card-val { font-size: 1.2rem; }
  .hn-calc-option { width: 100%; text-align: left; }
  .hn-calc-cta-btn { width: 100%; text-align: center; }
}

/* === DROPDOWN NAV bc49 R9 === */
.hn-nav__has-sub { position: relative; }
/* Bridge invisivel entre item-pai e submenu para evitar fechamento acidental ao mover mouse */
.hn-nav__has-sub::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  pointer-events: auto;
  z-index: 99;
}
.hn-nav__has-sub:not(:hover):not(:focus-within)::before { pointer-events: none; }
.hn-nav__sub {
  /* Fade smooth com delay para evitar fechamento acidental (bc73 fix UX) */
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 180ms ease 250ms, transform 180ms ease 250ms, visibility 0s linear 430ms;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: var(--ink-900);
  border: 1px solid var(--ink-700);
  border-radius: var(--radius);
  padding: 8px 0;
  list-style: none;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.hn-nav__sub li { margin: 0; }
.hn-nav__sub li a {
  display: block;
  padding: 9px 18px;
  color: var(--ink-400) !important;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}
.hn-nav__sub li a:hover { color: var(--paper-100) !important; background: rgba(255,255,255,0.06); }
.hn-nav__has-sub:hover > .hn-nav__sub,
.hn-nav__has-sub:focus-within > .hn-nav__sub {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 120ms ease 0s, transform 120ms ease 0s, visibility 0s linear 0s;
}
/* Seta indicadora */
.hn-nav__has-sub > a::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 5px;
  vertical-align: middle;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8' fill='none' stroke='%236A635D' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M1 2.5 L4 5.5 L7 2.5'/></svg>") no-repeat center/contain;
  transition: transform 200ms ease;
}
.hn-nav__has-sub:hover > a::after,
.hn-nav__has-sub:focus-within > a::after { transform: rotate(180deg); }
/* Mobile: submenu em bloco */
@media (max-width: 900px) {
  .hn-nav__has-sub::before { display: none; }
  .hn-nav__sub {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: none;
    display: none;
    background: rgba(255,255,255,0.05);
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    min-width: auto;
  }
  .hn-nav__has-sub--open > .hn-nav__sub { display: block; }
  .hn-nav__sub li a { padding: 10px 24px; font-size: 15px; }
  .hn-nav__has-sub > a::after { content: ' ▸'; }
  .hn-nav__has-sub--open > a::after { content: ' ▾'; }
}

/* === Scroll padding para anchors com header sticky (bc73) === */
html { scroll-padding-top: 90px; }
@media (max-width: 900px) { html { scroll-padding-top: 70px; } }

/* === Form select options legíveis em qualquer fundo (bc73 fix UX) === */
select.form-input,
select.hn-select,
.hn-form select,
form select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
select.form-input option,
select.hn-select option,
.hn-form select option,
form select option {
  background: #FFFFFF !important;
  color: #1A1918 !important;
  padding: 8px 12px;
}
/* Quando o select aparece em hero escuro, manter texto legível ao expandir */
select[style*="rgba(255,255,255"] option {
  background: #1A1918 !important;
  color: #F2F2F2 !important;
}

/* === DROPDOWN FIX bc49 R11 — fundo branco === */
.hn-nav__sub {
  background: #fff !important;
  border: 1px solid #e0dbd8 !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18) !important;
}
.hn-nav__sub li a {
  color: var(--ink-900) !important;
  font-weight: 500;
}
.hn-nav__sub li a:hover {
  color: var(--accent) !important;
  background: #f7f4f2 !important;
}
@media (max-width: 900px) {
  .hn-nav__sub { background: rgba(255,255,255,0.08) !important; border: none !important; }
  .hn-nav__sub li a { color: var(--paper-100) !important; }
  .hn-nav__sub li a:hover { color: var(--accent) !important; background: transparent !important; }
}

/* === TOPBAR IRPF 2026 bc49 R12 === */
.hn-topbar {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: #b91c1c;
  color: #fff;
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-size: 13px;
  line-height: 1.4;
}
.hn-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.hn-topbar__badge {
  background: #fff;
  color: #b91c1c;
  font-weight: 800;
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border-radius: 3px;
  flex-shrink: 0;
}
.hn-topbar__text { color: rgba(255,255,255,0.95); }
.hn-topbar__text strong { color: #fff; }
.hn-topbar__cta {
  background: #fff;
  color: #b91c1c !important;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  text-decoration: none !important;
  font-size: 12px;
  flex-shrink: 0;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.hn-topbar__cta:hover { opacity: 0.85; }
.hn-topbar__close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  margin-left: auto;
  padding: 0 4px;
  flex-shrink: 0;
  transition: color 0.15s;
}
.hn-topbar__close:hover { color: #fff; }
/* Header ajuste default (JS sobrescreve dinamicamente) */
.hn-header { top: 40px; }

/* === IRPF 2026 NAV ITEM bc49 R12 === */
.hn-nav__irpf > a {
  color: #f87171 !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}
.hn-nav__irpf > a:hover { color: #fca5a5 !important; }
.hn-nav__irpf-badge {
  background: #b91c1c;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.04em;
  font-family: var(--font-heading);
  vertical-align: middle;
}
@media (max-width: 900px) {
  .hn-topbar { position: sticky; top: 0; }
  .hn-topbar__text { font-size: 12px; }
  .hn-header { top: 0 !important; }
  .hn-nav__irpf > a { color: #fca5a5 !important; }
}

/* === NAV GAP bc49 R13 — IRPF/Diagnóstico em evidência === */
.hn-nav__irpf {
  margin-left: 24px !important;
  position: relative;
}
.hn-nav__irpf::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.18);
}
@media (max-width: 900px) {
  .hn-nav__irpf { margin-left: 0 !important; }
  .hn-nav__irpf::before { display: none; }
}
/* Submenu Políticas: largura maior */
.hn-nav__has-sub:nth-child(5) .hn-nav__sub { min-width: 260px; }

/* === FRONTEND POLISH bc49 R14 === */

/* --- FAQ: remover padding excessivo 120px --- */
.hn-faq {
  padding: 0 !important;
  margin-top: 32px;
}
.hn-faq__item {
  border: none;
  border-bottom: 1px solid var(--ink-200, #e8e4e0);
  padding: 0;
}
.hn-faq__item summary {
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.hn-faq__item summary::-webkit-details-marker { display: none; }
.hn-faq__item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.hn-faq__item[open] summary::after { content: '−'; }
.hn-faq__item > p, .hn-faq__item > div {
  padding: 0 0 18px;
  color: var(--ink-600, #6a635d);
  font-size: 15px;
  line-height: 1.7;
}

/* --- Calculadora: botões com identidade HN --- */
.hn-calc-option {
  background: #fff !important;
  border: 2px solid var(--accent) !important;
  border-radius: 8px !important;
  padding: 11px 22px !important;
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: var(--accent) !important;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  letter-spacing: 0.01em;
}
.hn-calc-option:hover {
  background: var(--accent) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(122,92,80,0.25);
}
.hn-calc-option.selected, .hn-calc-option[aria-pressed="true"] {
  background: var(--accent) !important;
  color: #fff !important;
}
.hn-calc-opcoes, .hn-calc-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}

/* --- Cards trajetória / credenciais --- */
.hn-credencial, [class*="credencial"] {
  background: #fff;
  border: 1px solid #ede9e6;
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.hn-credencial:hover, [class*="credencial"]:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  border-color: var(--accent);
}
/* Cards genéricos da trajetória (div com border-left) */
.hn-section--light .hn-grid-3 > div,
.hn-section:not(.hn-section--mid):not(.hn-section--accent) .hn-grid-3 > div {
  background: #fff;
  border: 1px solid #ede9e6;
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.hn-section:not(.hn-section--mid):not(.hn-section--accent) .hn-grid-3 > div:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* --- card-servico: hover mais refinado --- */
.card-servico {
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s !important;
  border: 1px solid #ede9e6 !important;
}
.card-servico:hover {
  box-shadow: 0 8px 28px rgba(122,92,80,0.12) !important;
  transform: translateY(-3px) !important;
  border-color: var(--accent) !important;
}
.card-servico h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink-900);
}
.card-servico p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-600, #6a635d);
}

/* --- Typography refinamentos --- */
.hn-section__eyebrow {
  font-size: 11px !important;
  letter-spacing: 0.12em !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  color: var(--accent) !important;
  margin-bottom: 8px !important;
}
.hn-section__title {
  font-size: clamp(22px, 3vw, 34px) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  color: var(--ink-900);
  margin-bottom: 4px !important;
}
.hn-section__lead {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-600, #6a635d);
  max-width: 560px;
  margin: 0 auto 0;
}

/* --- Banner S2 serviços home: ícones e hover --- */
.hn-banner-servicos a {
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.hn-banner-servicos a:hover {
  box-shadow: 0 6px 24px rgba(122,92,80,0.14);
  transform: translateY(-2px);
}

/* --- Seção calculadora: container --- */
.hn-calculadora-container {
  background: #fff;
  border: 1px solid #ede9e6;
  border-radius: calc(var(--radius) * 2);
  padding: 32px;
  max-width: 560px;
  margin: 32px auto 0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}
.hn-calc-etapa {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.hn-calc-pergunta {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 20px;
  line-height: 1.35;
}

/* --- Seção CTA final: refinamento --- */
.hn-section--accent .hn-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === ALINHAMENTO TÍTULOS bc49 R15 === */
/* LEFT em todas as seções de conteúdo */
.hn-section__eyebrow,
.hn-section__title,
.hn-section__lead {
  text-align: left !important;
}
/* CENTER apenas em CTAs e seções accent/mid sem inner-content */
.hn-section--accent .hn-section__eyebrow,
.hn-section--accent .hn-section__title,
.hn-section--accent .hn-section__lead,
.hn-section--accent p,
.hn-section--accent h2 {
  text-align: center !important;
}
/* Calculadora centralizada (já é uma ferramenta interativa) */
.hn-calculadora-container .hn-calc-etapa,
.hn-calculadora-container .hn-calc-pergunta,
.hn-calc-pergunta { text-align: center !important; }

/* Hero: manter left (já correto) */
.hn-section--mid h1,
.hn-section--mid .hn-section__eyebrow { text-align: left !important; }

/* Blog: seção de artigos alinhada à esquerda */
.hn-section:has(article) .hn-section__title,
.hn-section:has(article) .hn-section__eyebrow { text-align: left !important; }

/* === CLEANUP bc49 R16 — ALINHAMENTO DEFINITIVO === */

/* REGRA MASTER: TODO texto em seções não-accent = LEFT */
.hn-section:not(.hn-section--accent) .hn-section__eyebrow,
.hn-section:not(.hn-section--accent) .hn-section__title,
.hn-section:not(.hn-section--accent) .hn-section__lead,
.hn-section:not(.hn-section--accent) .hn-section__inner > p,
.hn-section:not(.hn-section--accent) .hn-section__inner > h2,
.hn-section:not(.hn-section--accent) h2.hn-section__title {
  text-align: left !important;
}

/* Seções accent (CTA) = CENTER tudo */
.hn-section--accent .hn-section__inner,
.hn-section--accent h2,
.hn-section--accent p { text-align: center !important; }

/* Calculadora: container centralizado (widget interativo) */
.hn-calculadora-container { text-align: center; }
.hn-calculadora-container .hn-calc-etapa,
.hn-calculadora-container .hn-calc-pergunta { text-align: center !important; }

/* Cards internos: não herdar left dos pais */
.card-servico, .card-servico h3, .card-servico p { text-align: left; }

/* === bc49 R17 — cover hn-section--paper e fix inline overrides === */
.hn-section--paper .hn-section__eyebrow,
.hn-section--paper .hn-section__title,
.hn-section--paper .hn-section__lead,
.hn-section--paper .hn-section__inner > p { text-align: left !important; }

/* S2 banner: forçar left no eyebrow/title (sobrescreve inline styles via !important) */
.hn-section .hn-section__eyebrow[style*="center"],
.hn-section .hn-section__title[style*="center"] {
  text-align: left !important;
}

/* === bc49 R18 — S3 inner div text-align forçado left === */
/* Garante que hn-section--paper não herde text-align:center de inline styles */
.hn-section--paper > .hn-section__inner,
.hn-section--paper .hn-section__inner {
  text-align: left !important;
}
/* Lead S3 em particular — belt & suspenders */
.hn-section--paper .hn-section__inner .hn-section__lead {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* === bc49 R19 — fix margin:auto global no .hn-section__lead === */
/* Root cause: r14 centralizou o BLOCO de 560px em todas as seções.
   Só accent/dark CTAs devem centralizar. Conteúdo = left. */
.hn-section:not(.hn-section--accent):not(.hn-section--dark) .hn-section__lead {
  margin-left: 0 !important;
  margin-right: auto !important;
}
/* Calculadora: container centralizado independentemente do lead */
.hn-calculadora-container {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* R20 bc49c */

/* Logo: tamanho adequado para o header */
.custom-logo-link img.custom-logo,
.site-branding img.custom-logo,
header .custom-logo-link img {
  max-width: 180px !important;
  width: auto !important;
  height: auto !important;
}

/* Botoes flutuantes */
.hn-float-social {
  position: fixed;
  right: 16px;
  bottom: 80px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hn-float-social__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hn-float-social__btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(0,0,0,.32);
  color: #fff !important;
}
.hn-float-social__btn svg {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}
.hn-float-social__btn--wa { background: #25D366; }
.hn-float-social__btn--ig {
  background: linear-gradient(135deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}
.hn-float-social__btn--li { background: #0A66C2; }
.hn-float-social__btn--fb { background: #1877F2; }

/* Menu: submenu visivel via click (classe hn-open) */
.main-navigation .menu-item-has-children.hn-open > .sub-menu {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Menu: submenus ficam no topo correto quando abertos via .hn-open */
@media (min-width: 769px) {
  .main-navigation .menu-item-has-children.hn-open > .sub-menu {
    transform: none !important;
  }
}

/* === FIM R20 === */

/* R20b bc49c: logo resize */
.hn-header__logo img,
.hn-header__logo img.custom-logo {
  width: auto !important;
  height: auto !important;
  /* removido bc55i */
}
/* === FIM R20b === */

/* R21 bc49c */

/* Search trigger (lupa) no header */
.hn-search-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink-700, #3D3C38);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.hn-search-trigger:hover { background: rgba(0,0,0,.06); color: var(--ink-900, #222); }
.hn-search-trigger svg { width: 20px; height: 20px; display: block; }

/* Search overlay */
.hn-search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30,28,26,.82);
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.hn-search-overlay--open {
  opacity: 1 !important;
  visibility: visible !important;
}
.hn-search-overlay[hidden] { display: flex !important; } /* override hidden para animar */
.hn-search-overlay__inner {
  width: 100%;
  max-width: 680px;
  padding: 0 20px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hn-search-overlay__form {
  flex: 1;
  display: flex;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.hn-search-overlay__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 18px 20px;
  font-size: 18px;
  color: #222;
  background: transparent;
}
.hn-search-overlay__submit {
  background: var(--accent, #7A5C44);
  border: none;
  cursor: pointer;
  padding: 0 20px;
  color: #fff;
  display: flex;
  align-items: center;
}
.hn-search-overlay__submit svg { width: 22px; height: 22px; }
.hn-search-overlay__close {
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hn-search-overlay__close:hover { background: rgba(255,255,255,.28); }

/* Calculadora: left-align e estilo */
.hn-calculadora-container { width: 100%; }
.hn-calc {
  max-width: 640px;
  padding: 0;
}
.hn-calc__header { margin-bottom: 20px; }
.hn-calc__step {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent, #7A5C44);
  margin-bottom: 6px;
}
.hn-calc__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink-900, #222);
  margin: 0;
}
.hn-calc__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  text-align: left;
}
.hn-calc__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1.5px solid #e8e4df;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  font-size: 16px;
  color: var(--ink-800, #333);
  background: #fff;
}
.hn-calc__option:hover { border-color: var(--accent, #7A5C44); background: #faf7f4; }
.hn-calc__option input[type="radio"] { accent-color: var(--accent, #7A5C44); width: 18px; height: 18px; flex-shrink: 0; }
.hn-calc__option input[type="radio"]:checked + span { font-weight: 600; color: var(--ink-900, #111); }
.hn-calc__option:has(input:checked) { border-color: var(--accent, #7A5C44); background: #faf7f4; }
.hn-calc__next { margin-top: 4px; }
.hn-calc__next:disabled { opacity: .45; cursor: not-allowed; }
.hn-calc__row { margin-bottom: 20px; }
.hn-calc__label { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; color: var(--ink-800,#333); }
.hn-calc__input { border: 1.5px solid #e8e4df; border-radius: 8px; padding: 12px 16px; font-size: 16px; outline: none; width: 100%; box-sizing: border-box; }
.hn-calc__input:focus { border-color: var(--accent, #7A5C44); }
.hn-calc--result .hn-calc__result-value {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: var(--accent, #7A5C44);
  margin: 16px 0 12px;
  line-height: 1.1;
}
.hn-calc__obs { font-size: 13px; color: var(--ink-500, #888); margin: 0 0 16px; }
.hn-calc__cta-text { font-size: 15px; color: var(--ink-700, #555); margin: 0 0 20px; }

/* === FIM R21 === */

/* ===========================
   R23 bc49c -- FAQ PAGE
   /perguntas-frequentes/
   =========================== */

.hn-faq-page .hn-page-header {
  background: var(--hn-paper, #F9F8F6);
  padding: 64px 0 48px;
  text-align: left;
}

.hn-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 56px;
  margin: 48px 0 56px;
}
@media (max-width: 860px) {
  .hn-faq-grid { grid-template-columns: 1fr; gap: 36px; }
}

.hn-faq__category {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--hn-mid, #6A635D);
  border-bottom: 2px solid var(--hn-dark, #3D3C38);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.hn-faq__item {
  border-bottom: 1px solid #E0DDD8;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.hn-faq__item:last-child { border-bottom: none; margin-bottom: 0; }

.hn-faq__q {
  font-size: .975rem;
  font-weight: 600;
  color: var(--hn-dark, #3D3C38);
  cursor: pointer;
  list-style: none;
  padding: 8px 28px 8px 0;
  position: relative;
  line-height: 1.45;
  user-select: none;
}
.hn-faq__q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 8px;
  font-size: 1.2rem;
  color: var(--hn-mid, #6A635D);
  line-height: 1;
  transition: transform .2s ease;
}
details[open] > .hn-faq__q::after {
  content: '-';
  transform: none;
}
.hn-faq__q::-webkit-details-marker { display: none; }

.hn-faq__a {
  padding: 4px 0 12px;
  font-size: .9rem;
  color: #555;
  line-height: 1.65;
}
.hn-faq__a p { margin: 0 0 .6em; }
.hn-faq__a p:last-child { margin-bottom: 0; }
.hn-faq__a strong { color: var(--hn-dark, #3D3C38); }

.hn-faq__cta {
  text-align: center;
  background: var(--hn-dark, #3D3C38);
  color: #fff;
  border-radius: 8px;
  padding: 40px 32px;
  margin-top: 24px;
}
.hn-faq__cta p {
  font-size: 1.05rem;
  margin: 0 0 20px;
  opacity: .9;
}

/* ===========================
   END R23 FAQ CSS
   =========================== */

/* R-Logo bc55g removido — ver bc55i */
  .hn-footer__logo img { height: 52px; max-height: 52px; }
}

/* ═══ LOGO — bc55i (Opus+Sonnet+Alcino) ═══════════════════════════════════ */
/* Desktop ≥1024px */
.hn-header { height: 88px; }
.hn-header__logo img {
  height: 64px;
  width: auto;
  max-height: 64px;
  max-width: 260px;
  display: block;
}
.hn-footer__logo img {
  height: 72px;
  width: auto;
  max-height: 72px;
  max-width: 280px;
  margin-bottom: 18px;
  display: block;
}
/* Tablet 768px–1023px */
@media (max-width: 1023px) {
  .hn-header { height: 80px; }
  .hn-header__logo img { height: 56px; max-height: 56px; max-width: 220px; }
  .hn-footer__logo img { height: 56px; max-height: 56px; max-width: 220px; }
}
/* Mobile <768px */
@media (max-width: 768px) {
  .hn-header { height: 64px; }
  .hn-header__logo img { height: 40px; max-height: 40px; max-width: 170px; }
  .hn-footer__logo img { height: 56px; max-height: 56px; }
}
/* ══════════════════════════════════════════════════════════════════════════ */

/* P0 — CTA hero contraste (bc55h — Opus+Sonnet) */
.hn-hero .btn-primary {
  background: #F2F2F2;
  color: #1A1918;
  border-color: #F2F2F2;
}
.hn-hero .btn-primary:hover,
.hn-hero .btn-primary:focus {
  background: #FAFAF9;
  border-color: #FAFAF9;
  color: #1A1918;
}
/* bc55j — force logo sizes (!important sobre WP Customizer) */
/* Desktop */
.hn-header { height: 88px !important; }
.hn-header__logo img,
.hn-header__logo img.custom-logo {
  height: 64px !important;
  width: auto !important;
  max-height: 64px !important;
  max-width: 260px !important;
  display: block !important;
}
.hn-footer__logo img {
  height: 72px !important;
  width: auto !important;
  max-height: 72px !important;
  max-width: 280px !important;
}
/* Tablet 768-1023px */
@media (max-width: 1023px) {
  .hn-header { height: 80px !important; }
  .hn-header__logo img,
  .hn-header__logo img.custom-logo {
    height: 56px !important;
    max-height: 56px !important;
    max-width: 220px !important;
  }
  .hn-footer__logo img { height: 56px !important; max-height: 56px !important; }
}
/* Mobile */
@media (max-width: 768px) {
  .hn-header { height: 64px !important; }
  .hn-header__logo img,
  .hn-header__logo img.custom-logo {
    height: 40px !important;
    max-height: 40px !important;
    max-width: 170px !important;
  }
  .hn-footer__logo img { height: 56px !important; max-height: 56px !important; }
}
/* /bc55j */

/* bc55k — CTA hero text forcado + Inter body + contact nowrap */
/* CTA hero: forcar texto escuro sobre fundo claro */
.hn-hero .btn-primary,
.hn-hero a.btn-primary {
  color: #1A1918 !important;
  background: #F2F2F2 !important;
  border-color: #F2F2F2 !important;
}
.hn-hero .btn-primary:hover,
.hn-hero a.btn-primary:hover {
  background: #FAFAF9 !important;
  border-color: #FAFAF9 !important;
  color: #1A1918 !important;
}
/* Inter body font */
:root { --font-body: 'Inter', system-ui, -apple-system, sans-serif; }
body, p, li, td, th, .hn-section__lead, .hn-hero__sub {
  font-family: var(--font-body);
}
/* Contact line nowrap */
.hn-cta-contact, .hn-contact-line { white-space: nowrap; }
/* /bc55k */
/* bc56b-proof-mobile — credentials eyebrow: nowrap desktop, wrap mobile */
/* Desktop: 1 linha com ellipsis de seguranca */
@media (min-width: 768px) {
  .hn-hero__proof {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
/* Mobile: permite quebrar + font menor para caber */
@media (max-width: 767px) {
  .hn-hero__proof {
    white-space: normal;
    font-size: 10px;
    line-height: 1.4;
    overflow: visible;
  }
}
/* /bc56b-proof-mobile */
/* bc56n: fix overflow mobile S2 cards */
@media (max-width: 767px) {
  body { overflow-x: hidden; }
  /* Forçar cards de serviço a coluna no mobile */
  section[style*="padding"] > div > div[style*="display:grid"],
  section[style*="padding"] > div > div[style*="display: grid"],
  .hn-section > div > div[style*="grid"],
  div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
  }
}

/* bc56o: hamburger spans — fix altura 0px (font-size/lineHeight herdados) */
button.hn-hamburger span {
  display: block !important;
  width: 24px !important;
  height: 2px !important;
  min-height: 2px !important;
  max-height: 2px !important;
  background-color: #3D3C38 !important;
  border-radius: 2px !important;
  font-size: 0 !important;
  line-height: 0 !important;
  transition: transform 0.3s, opacity 0.3s !important;
}
/* Estado aberto: spans viram X */
button.hn-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg) !important;
}
button.hn-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0 !important;
}
button.hn-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg) !important;
}

/* bc56q2: HN mark watermark no menu mobile (#hn-nav = overlay mobile) */
@media (max-width: 900px) {
  #hn-nav {
    position: fixed;
    overflow: hidden;
  }
  #hn-nav::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: -20px;
    width: 280px;
    height: 280px;
    background-image: url('./assets/img/hn-mark-branco.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
  }
  #hn-nav > * {
    position: relative;
    z-index: 1;
  }
}


/* bc56-P0-MOBILE: ocultar a::after (seta SVG) em mobile - duplica com .hn-nav__toggle */
@media (max-width: 900px) {
  .hn-nav__has-sub > a::after { display: none !important; }
}
/* bc56w2: caret toggle button para submenus mobile */
.hn-nav__toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s ease;
}
@media (max-width: 900px) {
  .hn-nav__has-sub {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    width: 100% !important;
  }
  .hn-nav__has-sub > a {
    flex: 1 1 auto !important;
    width: auto !important;
  }
  .hn-nav__toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    min-width: 44px;
    height: 44px;
    color: rgba(255,255,255,0.7);
    margin-left: auto;
  }
  .hn-nav__toggle:hover, .hn-nav__toggle:focus {
    color: #fff;
    outline: 2px solid rgba(255,255,255,0.3);
    border-radius: 4px;
  }
  .hn-nav__has-sub--open > .hn-nav__toggle {
    transform: rotate(180deg);
  }
  .hn-nav__sub {
    flex-basis: 100%;
    width: 100%;
  }
}

/* bc56-nav-nowrap: evitar quebra de linha em labels do nav desktop */
@media (min-width: 901px) {
  .hn-nav__list > li > a { white-space: nowrap; }
}

/* bc56-eyebrow-fix: exibir credenciais completas sem truncamento */
.hn-hero__proof {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
}
