/* ============================================================
   HS Contábil, site institucional (novo.hscontabil.com.br)
   Tokens: design_handoff_hs_social/tokens (cores, tipo, espaço).
   Duas famílias: Marcellus (display, caixa alta) + Poppins (corpo).
   Forma-assinatura: caixa "pasta" com borda dourada e chanfro reto.
   ============================================================ */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/Poppins-Regular.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/Poppins-Medium.ttf") format("truetype"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/Poppins-SemiBold.ttf") format("truetype"); }

:root {
  --hs-navy-900: #0A1428;
  --hs-navy-800: #0D1B3E;
  --hs-navy-700: #16264f;
  --hs-navy-600: #20335f;
  --hs-gold-700: #9A7842;
  --hs-gold-500: #B8935A;
  --hs-gold-400: #C9A96E;
  --hs-gold-300: #D4A843;
  --hs-gold-200: #E4D2AE;
  --hs-white: #FFFFFF;
  --hs-cream: #F8F5F0;
  --hs-stone: #F0EDE8;
  --hs-stone-200: #E6E0D6;
  --hs-ink: #0D1B3E;
  --hs-graphite: #2C2C2C;
  --hs-slate: #5A5F6B;
  --hs-mist: #CCCCCC;

  --accent: var(--hs-gold-500);
  --accent-hover: var(--hs-gold-300);
  --accent-pressed: var(--hs-gold-700);
  --border-gold: var(--hs-gold-500);
  --border-on-dark: rgba(255, 255, 255, 0.14);
  --border-neutral: var(--hs-stone-200);
  --focus-ring: rgba(184, 147, 90, 0.45);

  --font-sans: "Poppins", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Marcellus", "Poppins", Georgia, serif;

  --shadow-box: 0 4px 16px rgba(13, 27, 62, 0.15);
  --shadow-card: 0 8px 28px rgba(13, 27, 62, 0.18);
  --shadow-float: 0 14px 40px rgba(10, 20, 40, 0.28);

  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 140ms;
  --dur-base: 220ms;

  --bg-dark-gradient: radial-gradient(120% 90% at 50% 0%, #16264f 0%, #0D1B3E 42%, #0A1428 100%);

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--hs-graphite);
  background: var(--hs-cream);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
button, input, select, textarea { font: inherit; }

:focus-visible { outline: 3px solid var(--hs-gold-300); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: var(--hs-navy-800); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(880px + 2 * var(--gutter)); }

/* ---------- Type ---------- */
.display, .h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-wrap: balance;
}
.h1 { font-size: clamp(2.1rem, 5.2vw, 4rem); letter-spacing: 0.02em; }
.h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: 0.02em; line-height: 1.12; }
.h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: 0.03em; line-height: 1.2; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 500; line-height: 1.45; }
.kicker { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }

.on-dark { color: var(--hs-white); }
.on-dark .h1, .on-dark .h2, .on-dark .h3, .on-dark .display { color: var(--hs-gold-500); }
.on-dark .muted { color: var(--hs-mist); }
.on-light .h1, .on-light .h2, .on-light .h3 { color: var(--hs-gold-700); }
.on-light { color: var(--hs-graphite); }
.on-light .ink { color: var(--hs-ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--navy { background: var(--bg-dark-gradient); }
.section--navy-flat { background: var(--hs-navy-800); }
.section--cream { background: var(--hs-cream); }
.section--white { background: var(--hs-white); }
.section--stone { background: var(--hs-stone); }
.section-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head p { margin-top: 0.9rem; }

/* Divider: fio dourado + chevron duplo (substitui o widget divider) */
.divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 18px 0 0; color: var(--accent); }
.divider::before, .divider::after { content: ""; height: 1px; width: 56px; background: currentColor; opacity: 0.7; }
.section-head--left .divider { justify-content: flex-start; }
.section-head--left .divider::before { display: none; }

/* ---------- Icons ---------- */
.ico { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico--gold { color: var(--accent); }
.chev2 { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; color: var(--accent); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-row--center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.8rem 1.6rem;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em;
  border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}
.btn:active { transform: scale(0.98); }
.btn .chev2 { width: 18px; height: 18px; color: currentColor; }
.btn--primary { background: var(--accent); color: var(--hs-navy-800); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn--secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--secondary:hover { background: var(--accent); color: var(--hs-navy-800); }
.on-light .btn--secondary { color: var(--hs-gold-700); border-color: var(--hs-gold-700); }
.on-light .btn--secondary:hover { background: var(--hs-gold-700); color: var(--hs-white); }
.btn--navy { background: var(--hs-navy-800); color: var(--hs-white); border-color: var(--hs-navy-800); }
.btn--navy:hover { background: var(--hs-navy-700); border-color: var(--hs-navy-700); }
.btn--block { width: 100%; }

/* ---------- NotchBox (caixa "pasta") ----------
   Camada externa = borda dourada (padding), interna = superfície.
   Clip interno 2px menor para a borda ficar uniforme na diagonal. */
.notch { --n: 30px; position: relative; background: var(--border-gold); padding: 2px;
  clip-path: polygon(0 0, calc(100% - var(--n)) 0, 100% var(--n), 100% 100%, 0 100%); }
.notch > .notch__in { position: relative; height: 100%; background: var(--hs-white); padding: clamp(22px, 3.2vw, 40px);
  clip-path: polygon(0 0, calc(100% - var(--n) + 1px) 0, 100% calc(var(--n) - 1px), 100% 100%, 0 100%); }
.notch--r { clip-path: polygon(0 0, calc(100% - var(--n)) 0, 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n)) 100%, 0 100%); }
.notch--r > .notch__in { clip-path: polygon(0 0, calc(100% - var(--n) + 1px) 0, 100% calc(var(--n) - 1px), 100% calc(100% - var(--n) + 1px), calc(100% - var(--n) + 1px) 100%, 0 100%); }
.notch--tlbr { clip-path: polygon(0 var(--n), var(--n) 0, 100% 0, 100% calc(100% - var(--n)), calc(100% - var(--n)) 100%, 0 100%); }
.notch--tlbr > .notch__in { clip-path: polygon(0 calc(var(--n) - 1px), calc(var(--n) - 1px) 0, 100% 0, 100% calc(100% - var(--n) + 1px), calc(100% - var(--n) + 1px) 100%, 0 100%); }
/* Card com aba (Post Notícia): chanfro TL, aba no topo direito, chanfro BL */
.notch--tab { --t: 22px; clip-path: polygon(0 var(--t), var(--t) 0, calc(100% - 38px) 0, calc(100% - 16px) var(--t), 100% var(--t), 100% 100%, 36px 100%, 0 calc(100% - 36px)); }
.notch--tab > .notch__in { padding-top: calc(var(--t) + clamp(16px, 2.4vw, 28px));
  clip-path: polygon(0 calc(var(--t) - 1px), calc(var(--t) - 1px) 0, calc(100% - 37px) 0, calc(100% - 15px) calc(var(--t) - 1px), 100% calc(var(--t) - 1px), 100% 100%, 35px 100%, 0 calc(100% - 35px)); }
.notch--cream > .notch__in { background: var(--hs-cream); }
.notch--stone > .notch__in { background: var(--hs-stone); }
.notch--navy > .notch__in { background: var(--hs-navy-800); color: var(--hs-white); }
.shadow-wrap { filter: drop-shadow(0 8px 22px rgba(13, 27, 62, 0.16)); }
.shadow-wrap--dark { filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.4)); }

/* Moldura de foto: chanfro TR e BL (Post Data) */
.frame { --n: 40px; position: relative; background: var(--border-gold); padding: 2px;
  clip-path: polygon(0 0, calc(100% - var(--n)) 0, 100% var(--n), 100% 100%, var(--n) 100%, 0 calc(100% - var(--n))); }
.frame > .frame__in { position: relative; overflow: hidden; background: var(--hs-navy-700); height: 100%;
  clip-path: polygon(0 0, calc(100% - var(--n) + 1px) 0, 100% calc(var(--n) - 1px), 100% 100%, calc(var(--n) - 1px) 100%, 0 calc(100% - var(--n) + 1px)); }
.frame img { width: 100%; height: 100%; object-fit: cover; color: transparent; }
.frame--tlbr { clip-path: polygon(0 var(--n), var(--n) 0, 100% 0, 100% calc(100% - var(--n)), calc(100% - var(--n)) 100%, 0 100%); }
.frame--tlbr > .frame__in { clip-path: polygon(0 calc(var(--n) - 1px), calc(var(--n) - 1px) 0, 100% 0, 100% calc(100% - var(--n) + 1px), calc(100% - var(--n) + 1px) 100%, 0 100%); }
.frame--sm { --n: 18px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--hs-navy-800); border-bottom: 1px solid var(--border-on-dark); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link, .nav__toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; min-height: 44px;
  color: var(--hs-white); text-decoration: none; font-size: 0.9rem; font-weight: 500; letter-spacing: 0.01em;
  background: none; border: 0; cursor: pointer; border-radius: 2px;
}
.nav__link:hover, .nav__toggle:hover, .nav__link[aria-current="page"], .nav__item--current > .nav__toggle { color: var(--hs-gold-400); }
.nav__link[aria-current="page"]::after, .nav__item--current > .nav__toggle::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--accent); }
.nav__toggle .ico { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-standard); }
.nav__toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav__sub { list-style: none; margin: 0; padding: 0; }
.nav__sub a { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; text-decoration: none; color: var(--hs-ink); font-size: 0.9rem; font-weight: 500; line-height: 1.35; }
.nav__sub a .chev2 { width: 16px; height: 16px; margin-top: 2px; color: var(--hs-gold-700); }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--hs-stone); color: var(--hs-navy-800); }
.nav__burger { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; background: transparent; color: var(--hs-white); border: 1px solid var(--border-gold); border-radius: 999px; cursor: pointer; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.nav__burger .ico { width: 20px; height: 20px; color: var(--accent); }

@media (min-width: 1081px) {
  .nav__dropdown { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; display: none; }
  .nav__item--wide .nav__dropdown { min-width: 360px; }
  .nav__item.is-open > .nav__dropdown { display: block; }
  .nav__dropdown .notch__in { padding: 10px 6px; }
  .nav__item--right .nav__dropdown { left: auto; right: 0; }
}

@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .brand img { height: 36px; }
  .nav__burger { display: inline-flex; }
  .nav__panel { position: fixed; inset: var(--header-h) 0 0 0; background: var(--hs-navy-800); overflow-y: auto; padding: 12px var(--gutter) 40px; display: none; }
  .nav.is-open .nav__panel { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--border-on-dark); }
  .nav__link, .nav__toggle { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1rem; }
  .nav__link[aria-current="page"]::after, .nav__item--current > .nav__toggle::after { display: none; }
  .nav__dropdown { display: none; padding: 0 0 14px; }
  .nav__item.is-open > .nav__dropdown { display: block; }
  .nav__dropdown.notch { clip-path: none; background: none; padding: 0; }
  .nav__dropdown .notch__in { clip-path: none; background: var(--hs-navy-700); padding: 6px 0; }
  .nav__sub a { color: var(--hs-white); padding: 12px 14px; }
  .nav__sub a .chev2 { color: var(--accent); }
  .nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--hs-navy-600); color: var(--hs-gold-400); }
  body.nav-lock { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-dark-gradient); color: var(--hs-white); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { color: var(--hs-gold-500); }
.hero__sub { margin-top: 22px; max-width: 580px; color: var(--hs-white); }
.hero__media { position: relative; }
.hero__media .frame { aspect-ratio: 4 / 3.4; }
.hero__mark { position: absolute; left: -18px; bottom: -18px; width: 92px; }
.hero__mark .notch__in { padding: 18px; display: grid; place-items: center; }
.hero__mark img { width: 40px; height: auto; }
.hero--page { padding-bottom: clamp(48px, 6vw, 80px); }
.hero--compact .hero__grid { grid-template-columns: 1fr; }
.hero__lines { position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(90deg, rgba(184,147,90,0.10) 1px, transparent 1px); background-size: 25% 100%; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: 2; max-width: 560px; }
  .hero__mark { left: auto; right: -8px; bottom: -14px; width: 76px; }
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split--center { align-items: center; }
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
@media (max-width: 900px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

/* ---------- Segment card (home) ---------- */
.seg-card { height: 100%; transition: transform var(--dur-base) var(--ease-out); }
.seg-card:hover { transform: translateY(-4px); }
.seg-card .notch__in { display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 22px; }
.seg-card .frame { aspect-ratio: 16 / 10; --n: 22px; }
.seg-card__body { padding: 4px 10px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.seg-card .h3 { color: var(--hs-ink); }
.seg-card .h3 a { text-decoration: none; }
.seg-card .h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.seg-card:focus-within { outline: 3px solid var(--hs-gold-300); outline-offset: 4px; }
.seg-card .h3 a:focus-visible { outline: none; }
.seg-card p { font-size: 0.93rem; line-height: 1.55; color: var(--hs-graphite); }
.seg-card__more { margin-top: auto; align-self: flex-end; color: var(--hs-gold-700); }
.seg-card__more .chev2 { width: 28px; height: 28px; color: currentColor; }

/* ---------- Double-chevron list ---------- */
.chev-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.chev-list li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; }
.chev-list li .chev2 { margin-top: 0.12em; }
.chev-list--lg li { font-size: 1.08rem; font-weight: 500; color: var(--hs-ink); }
.on-light .chev-list .chev2 { color: var(--hs-gold-700); }

/* ---------- Feature (3 blocos dos segmentos) ---------- */
.feature { height: 100%; }
.feature .notch__in { display: flex; flex-direction: column; gap: 14px; }
.feature__num { display: flex; align-items: center; gap: 10px; color: var(--hs-gold-700); }
.feature__num .chev2 { color: currentColor; width: 26px; height: 26px; }
.feature .h3 { color: var(--hs-gold-700); }

/* ---------- Icon box (serviços) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border-on-dark); border-left: 1px solid var(--border-on-dark); }
.svc { padding: clamp(22px, 2.6vw, 34px); border-right: 1px solid var(--border-on-dark); border-bottom: 1px solid var(--border-on-dark); display: flex; flex-direction: column; gap: 12px; }
.svc__icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--accent); background: rgba(184,147,90,0.08); border: 1px solid rgba(184,147,90,0.45);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.svc__icon .ico { width: 26px; height: 26px; stroke-width: 1.6; }
.svc .h3 { color: var(--hs-gold-500); font-size: 1.12rem; }
.svc p { color: var(--hs-mist); font-size: 0.95rem; line-height: 1.55; }
.svc .btn { align-self: flex-start; margin-top: 4px; min-height: 40px; padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.svc--feature { background: rgba(184,147,90,0.07); }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- Depoimentos ---------- */
.testi .notch__in { display: flex; flex-direction: column; gap: 20px; height: 100%; }
.testi__quote { font-size: 1rem; line-height: 1.65; color: var(--hs-graphite); margin: 0; }
.testi__quote p { margin: 0 0 0.6em; }
.testi__who { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--border-neutral); }
.testi__logo { width: 72px; height: 72px; flex-shrink: 0; --n: 14px; }
.testi__logo .frame__in { background: var(--hs-white); }
.testi__logo img { object-fit: contain; padding: 6px; }
.testi__name { font-weight: 600; color: var(--hs-ink); line-height: 1.35; font-size: 0.95rem; }
.testi__seg { color: var(--hs-gold-700); margin-top: 4px; }
.testi__mark { color: var(--hs-gold-700); }
.testi__mark .chev2 { width: 30px; height: 30px; color: currentColor; }

/* ---------- Proposta / CTA band com foto ---------- */
.band-photo { position: relative; overflow: hidden; background: var(--hs-navy-900); }
.band-photo__bg { position: absolute; inset: 0; }
.band-photo__bg img { width: 100%; height: 100%; object-fit: cover; color: transparent; }
.band-photo__bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,20,40,0.96) 0%, rgba(13,27,62,0.9) 45%, rgba(13,27,62,0.55) 100%); }
.band-photo > .container { position: relative; }
@media (max-width: 900px) { .band-photo__bg::after { background: linear-gradient(180deg, rgba(10,20,40,0.94) 0%, rgba(13,27,62,0.88) 100%); } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; background: var(--hs-white); color: var(--hs-ink);
  border: 1px solid var(--hs-stone-200); border-bottom: 2px solid var(--hs-gold-500); border-radius: 0; font-size: 0.97rem;
  transition: border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--hs-slate); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--hs-gold-700); box-shadow: 0 0 0 3px var(--focus-ring); }
.field__label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--hs-ink); margin-bottom: 6px; }
.field--radio { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.field--radio legend { font-size: 0.85rem; font-weight: 600; color: var(--hs-ink); margin-bottom: 6px; padding: 0; width: 100%; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.field--radio label { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; cursor: pointer; }
.field--radio input { width: 18px; height: 18px; accent-color: var(--hs-gold-700); }
.field input[type="file"] { width: 100%; padding: 10px; background: var(--hs-white); border: 1px dashed var(--hs-gold-500); font-size: 0.9rem; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%239A7842' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 6px; }

/* ---------- Página de conteúdo (política) ---------- */
.prose { color: var(--hs-graphite); font-size: 1rem; line-height: 1.75; }
.prose h2 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; color: var(--hs-gold-700); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.25; margin: 2.2em 0 0.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-weight: 600; color: var(--hs-ink); font-size: 1.02rem; margin: 1.6em 0 0.4em; }
.prose .chev-list { margin: 0 0 1.2em; gap: 8px; }
.prose .chev2 { color: var(--hs-gold-700); width: 18px; height: 18px; }

/* ---------- Galeria / selos ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.gallery .frame { aspect-ratio: 4 / 3; --n: 22px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.seals { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.seal { background: var(--hs-white); height: 92px; min-width: 120px; padding: 12px 18px; display: grid; place-items: center;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); }
.seal--dark { background: var(--hs-navy-700); border: 1px solid var(--border-on-dark); }
.seal img { max-height: 68px; width: auto; color: transparent; }

/* ---------- Map ---------- */
.map .frame__in { background: var(--hs-stone); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.map { height: 100%; min-height: 380px; }

/* ---------- Contact list ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.contact-list .ico { color: var(--accent); margin-top: 2px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--hs-gold-400); text-decoration: underline; text-underline-offset: 3px; }
.on-light .contact-list .ico { color: var(--hs-gold-700); }
.on-light .contact-list a:hover { color: var(--hs-gold-700); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; color: var(--accent); border: 1px solid rgba(184,147,90,0.55); border-radius: 999px; transition: background var(--dur-base), color var(--dur-base); }
.socials a:hover { background: var(--accent); color: var(--hs-navy-800); }
.socials .ico { width: 20px; height: 20px; }
.on-light .socials a { color: var(--hs-gold-700); border-color: var(--hs-gold-700); }
.on-light .socials a:hover { background: var(--hs-gold-700); color: var(--hs-white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--hs-navy-900); color: var(--hs-mist); padding: clamp(56px, 7vw, 88px) 0 32px; border-top: 3px solid var(--hs-gold-500); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.5fr 1fr 0.8fr; gap: clamp(28px, 3.5vw, 48px); }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 44px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 0.92rem; line-height: 1.65; }
.footer-title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--hs-gold-500); font-size: 1.1rem; margin-bottom: 18px; }
.site-footer .contact-list { font-size: 0.92rem; }
.site-footer .contact-list a, .site-footer .map-list a { color: var(--hs-white); }
.map-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.map-list a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; min-height: 28px; }
.map-list a:hover { color: var(--hs-gold-400); }
.map-list .chev2 { width: 16px; height: 16px; }
.post-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.post-card { display: flex; gap: 14px; align-items: center; padding: 10px; background: var(--hs-navy-700); border: 1px solid var(--border-on-dark); text-decoration: none; color: var(--hs-white);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); transition: border-color var(--dur-base), background var(--dur-base); }
.post-card:hover { border-color: rgba(184,147,90,0.6); background: var(--hs-navy-600); }
.post-card__img { width: 96px; aspect-ratio: 1.9 / 1; flex-shrink: 0; border: 2px solid var(--border-gold); background: var(--hs-navy-800); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__title { font-size: 0.86rem; font-weight: 500; line-height: 1.4; }

/* ---------- Floating WhatsApp + balão ---------- */
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa__btn { width: 60px; height: 60px; border-radius: 999px; background: var(--accent); color: var(--hs-navy-800); display: grid; place-items: center; box-shadow: var(--shadow-float); border: 2px solid var(--hs-navy-800); transition: background var(--dur-base), transform var(--dur-fast); }
.wa__btn:hover { background: var(--accent-hover); transform: translateY(-2px); }
.wa__btn svg { width: 30px; height: 30px; }
.wa__bubble { width: min(300px, calc(100vw - 36px)); display: none; }
.wa.is-open .wa__bubble { display: block; }
.wa__bubble .notch__in { padding: 18px 20px 20px; }
.wa__bubble p { margin: 0 0 4px; color: var(--hs-ink); font-size: 0.95rem; line-height: 1.45; }
.wa__bubble .btn { margin-top: 14px; width: 100%; min-height: 44px; }
.wa__close { position: absolute; top: 6px; right: 26px; width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; color: var(--hs-slate); cursor: pointer; }
.wa__close .ico { width: 18px; height: 18px; }

/* ---------- Cookie bar ---------- */
.cookie { position: fixed; left: 18px; bottom: 18px; z-index: 95; max-width: min(520px, calc(100vw - 110px)); display: none; }
.cookie.is-visible { display: block; }
.cookie .notch__in { display: flex; gap: 16px; align-items: center; padding: 16px 18px; font-size: 0.85rem; line-height: 1.5; }
.cookie p { margin: 0; }
.cookie .btn { min-height: 40px; padding: 0.4rem 1.2rem; flex-shrink: 0; }
@media (max-width: 560px) { .cookie { left: 12px; right: 86px; max-width: none; } .cookie .notch__in { flex-direction: column; align-items: flex-start; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 36px; } .mt-4 { margin-top: 56px; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.ink { color: var(--hs-ink); }

/* Segmentos: coluna de texto + caixa "pasta" navy com a lista */
.lead-body { font-size: 1.05rem; line-height: 1.75; color: var(--hs-graphite); }
.seg-callout { display: flex; flex-direction: column; gap: 18px; }
.seg-callout p { color: var(--hs-white); font-size: 1rem; line-height: 1.65; }
.seg-callout .chev-list--lg li { color: var(--hs-white); }
.seg-callout .chev2 { color: var(--hs-gold-500) !important; }
.seg-callout .btn-row { margin-top: 6px; }
.mvv-icon { width: 56px; height: 56px; display: block; background: var(--hs-gold-700);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.gallery .frame { aspect-ratio: 3 / 4; }
.seal--dark { background: var(--hs-navy-700); border: 1px solid var(--border-on-dark); }
.seals .seal { height: 110px; }
.seals .seal img { max-height: 84px; }
@media (min-width: 1081px) { .svc-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .svc { padding: 26px 22px; } .svc .h3 { font-size: 1.02rem; } .svc p { font-size: 0.9rem; } }
.testi__logo { width: 96px; height: 96px; }
.footer-brand .socials { gap: 8px; }
.footer-brand .socials a { width: 40px; height: 40px; }
.feature .notch__in { color: var(--hs-graphite); }
.seals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 0; }
.seals .seal { min-width: 0; }
/* Contraste AA para texto pequeno sobre claro: dourado 700 só em títulos grandes e ícones */
.on-light .btn--secondary { color: var(--hs-ink); border-color: var(--hs-gold-700); }
.on-light .btn--secondary .chev2 { color: var(--hs-gold-700); }
.on-light .btn--secondary:hover .chev2 { color: var(--hs-white); }
.testi__seg { color: var(--hs-slate); }
.form { color: var(--hs-ink); }
