/* ============================================================
   CALCULADORA FISCAL — Terrazzan & Almeida Advogados
   calculadora.terrazzanealmeida.com.br
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Instrument+Sans:wght@300;400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  --cream:     #f6f3ee;
  --cream2:    #ede9e1;
  --cream3:    #e3ddd3;
  --ink:       #1a1a18;
  --ink2:      #333330;
  --ink3:      #6b6860;
  --ink4:      #9a9790;
  --gold:      #8c6d1f;
  --gold2:     #a8832a;
  --gold-l:    rgba(140,109,31,0.08);
  --gold-b:    rgba(140,109,31,0.20);
  --green:     #2a6e47;
  --red:       #b91c1c;
  --border:    rgba(26,26,24,0.10);
  --border2:   rgba(26,26,24,0.16);
  --shadow:    0 1px 3px rgba(26,26,24,0.06), 0 4px 16px rgba(26,26,24,0.05);
  --shadow-lg: 0 2px 8px rgba(26,26,24,0.07), 0 12px 40px rgba(26,26,24,0.09);

  --f-display: 'DM Serif Display', Georgia, serif;
  --f-body:    'Instrument Sans', system-ui, sans-serif;
  --max-w:     1160px;
  --radius:    6px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* subtle grain */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; opacity: .5;
}

/* ── LAYOUT ── */
.site-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TWO-COLUMN HERO ── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 72px;
  align-items: start;
  margin-bottom: 72px;
}

.hero-left {
  padding-top: 8px;
}

.hero-right {
  position: sticky;
  top: 32px;
}

/* full-width sections below the hero grid */
.below-hero {
  margin-bottom: 64px;
}

/* ── HEADER ── */
.site-header {
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}
.site-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo img {
  height: 46px;
  width: auto;
  display: block;
}
.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-phone {
  font-size: 13px;
  color: var(--ink3);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color .2s;
}
.header-phone:hover { color: var(--ink); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s;
}
.header-cta:hover { background: var(--gold); }

/* ── TYPOGRAPHY ── */
.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.label-tag::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

h1.page-title {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
h1.page-title em {
  font-style: italic;
  color: var(--gold);
}

.page-subtitle {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink3);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 48px;
}
.page-subtitle b { color: var(--ink2); font-weight: 500; }

/* ── FORM CARD ── */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 36px 36px;
  box-shadow: var(--shadow);
}

.form-section-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink4);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field-grid.cols-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.field-full {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink3);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.field input,
.field select {
  width: 100%;
  padding: 11px 14px;
  background: var(--cream);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
.field input:focus,
.field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(140,109,31,0.10);
  background: #fff;
}
.field input::placeholder { color: var(--ink4); }
.field select option { background: #fff; color: var(--ink); }

/* select arrow */
.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 13px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--ink4);
  pointer-events: none;
}

/* regime buttons */
.regime-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.regime-btn {
  flex: 1;
  padding: 11px 10px;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink3);
  transition: all .15s;
}
.regime-btn:hover { border-color: var(--gold-b); color: var(--ink2); background: var(--cream2); }
.regime-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  font-weight: 500;
}

/* lead fields */
.lead-divider {
  border: none;
  border-top: 1px dashed var(--border2);
  margin: 28px 0 24px;
}

/* submit */
.submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: #fff;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 17px 24px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  margin-top: 24px;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(140,109,31,0.25);
}
.submit-btn:hover {
  background: var(--gold2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(140,109,31,0.3);
}
.submit-btn:active { transform: translateY(0); }
.submit-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.submit-btn svg { flex-shrink: 0; }

.form-note {
  font-size: 11px;
  color: var(--ink4);
  text-align: center;
  margin-top: 14px;
  line-height: 1.6;
}

.field-error {
  font-size: 11px;
  color: var(--red);
  margin-top: 5px;
  display: none;
}
.field-error.show { display: block; }

/* ── PROGRAMS STRIP ── */
.programs-strip {
  margin-bottom: 64px;
}
.programs-strip-title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 16px;
}
.programs-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.prog-item {
  background: #fff;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  transition: background .15s;
}
.prog-item:hover { background: var(--cream); }
.prog-abbr {
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.prog-name {
  font-size: 12px;
  color: var(--ink4);
  font-style: italic;
  margin-bottom: 4px;
}
.prog-desc { font-size: 13px; color: var(--ink3); line-height: 1.65; max-width: 520px; }
.prog-tag {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold-l);
  border: 1px solid var(--gold-b);
  color: var(--gold);
  padding: 3px 10px;
  border-radius: 3px;
  white-space: nowrap;
  margin-top: 3px;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  margin-top: 48px;
}
.site-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-disclaimer {
  font-size: 11px;
  color: var(--ink4);
  line-height: 1.6;
  max-width: 480px;
}
.footer-brand {
  font-size: 12px;
  color: var(--ink4);
  white-space: nowrap;
}
.footer-brand b { color: var(--gold); font-weight: 500; }

/* ════════════════════════════════════
   RESULTADO
════════════════════════════════════ */

/* hero resultado */
.result-hero {
  background: var(--ink);
  color: var(--cream);
  border-radius: 12px;
  padding: 40px 44px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.result-hero::before {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(140,109,31,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.result-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 14px;
}
.pulse-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold2);
  box-shadow: 0 0 6px rgba(168,131,42,0.6);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.result-hero h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 8px;
}
.result-hero h2 em { font-style: italic; color: var(--gold2); }
.result-hero-sub {
  font-size: 13px;
  color: rgba(246,243,238,0.55);
  margin-bottom: 28px;
  line-height: 1.65;
}
.result-hero-sub b { color: rgba(246,243,238,0.85); font-weight: 500; }

.annual-row {
  display: flex;
  align-items: flex-end;
  gap: 20px;
}
.annual-num {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 6vw, 4rem);
  color: var(--gold2);
  line-height: 1;
  letter-spacing: -0.02em;
  animation: countUp .7s cubic-bezier(.16,1,.3,1) both;
}
@keyframes countUp { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }
.annual-meta { padding-bottom: 5px; }
.annual-label { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(246,243,238,.4); margin-bottom: 3px; }
.annual-note { font-size: 12px; color: rgba(246,243,238,.5); }
.annual-note b { color: var(--gold2); font-weight: 500; }

/* pills */
.pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}
.chip {
  font-size: 10px;
  padding: 3px 10px;
  background: rgba(246,243,238,0.07);
  border: 1px solid rgba(246,243,238,0.12);
  color: rgba(246,243,238,0.45);
  border-radius: 4px;
}

/* savings row */
.savings-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.sav-cell {
  background: #fff;
  padding: 20px;
  animation: fadeCard .4s cubic-bezier(.16,1,.3,1) both;
}
.sav-cell:nth-child(1){animation-delay:.04s}
.sav-cell:nth-child(2){animation-delay:.09s}
.sav-cell:nth-child(3){animation-delay:.14s}
@keyframes fadeCard { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
.sav-period {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink4);
  margin-bottom: 6px;
}
.sav-num {
  font-family: var(--f-display);
  font-size: 1.75rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 3px;
}
.sav-desc { font-size: 11px; color: var(--ink3); line-height: 1.5; }
.sav-note { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); font-size: 10px; color: var(--ink4); }
.sav-note span { color: var(--green); font-weight: 500; }

/* section heading */
.section-heading {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink4);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading::before {
  content: ''; display: block;
  width: 14px; height: 1px;
  background: var(--ink4);
}

/* program comparison */
.prog-comparison {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.pc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  animation: fadeCard .4s cubic-bezier(.16,1,.3,1) both;
}
.pc-card:nth-child(1){animation-delay:.06s}
.pc-card:nth-child(2){animation-delay:.12s}
.pc-card:nth-child(3){animation-delay:.18s}
.pc-head {
  padding: 16px 16px 12px;
  border-bottom: 1px solid var(--border);
}
.pc-abbr {
  font-family: var(--f-display);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 2px;
}
.pc-full { font-size: 10px; color: var(--ink4); line-height: 1.4; }
.pc-body { padding: 14px 16px; }
.pc-val {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 2px;
}
.pc-lbl { font-size: 10px; color: var(--ink4); margin-bottom: 12px; }
.pc-rows { display: flex; flex-direction: column; gap: 6px; }
.pc-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 4px; }
.pc-k { font-size: 11px; color: var(--ink4); }
.pc-v { font-size: 11px; color: var(--ink2); font-weight: 500; text-align: right; }
.pc-v.gold { color: var(--gold); }
.pc-v.green { color: var(--green); }

/* bar */
.bar-wrap { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.bar-row { display: flex; justify-content: space-between; font-size: 10px; color: var(--ink4); margin-bottom: 5px; }
.bar-track { height: 3px; background: var(--cream3); border-radius: 2px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--gold); border-radius: 2px; transition: width 1s cubic-bezier(.16,1,.3,1); }

/* analysis */
.analysis-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 24px;
  overflow: hidden;
}
.analysis-head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.analysis-icon {
  width: 26px; height: 26px;
  background: var(--gold-l);
  border: 1px solid var(--gold-b);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); flex-shrink: 0;
}
.analysis-title { font-size: 13px; font-weight: 500; color: var(--ink); }
.analysis-body {
  padding: 20px;
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.85;
}
.analysis-body p + p { margin-top: 12px; }
.analysis-body b { color: var(--ink2); font-weight: 500; }

/* CTA */
.cta-card {
  background: var(--gold);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-left {}
.cta-title {
  font-family: var(--f-display);
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 6px;
}
.cta-sub { font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.55; }
.cta-sub b { color: #fff; font-weight: 500; }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
  text-decoration: none;
}
.cta-btn:hover { background: #000; }

/* disclaimer */
.result-disclaimer {
  font-size: 11px;
  color: var(--ink4);
  line-height: 1.7;
  padding: 16px 0 32px;
  display: flex;
  gap: 8px;
}
.result-disclaimer svg { flex-shrink: 0; margin-top: 1px; color: var(--gold); }

/* back button */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink4);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color .2s;
}
.back-link:hover { color: var(--ink2); }

/* ── CANAL / PROPORÇÃO ── */
.canal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 4px;
}
.canal-btn {
  padding: 11px 8px;
  text-align: center;
  background: var(--cream);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink3);
  transition: all .15s;
}
.canal-btn:hover { border-color: var(--gold-b); color: var(--ink2); background: var(--cream2); }
.canal-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  font-weight: 500;
}

.proporcao-wrap {
  display: none;
  margin-top: 10px;
  background: var(--cream);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 14px 16px 16px;
}
.proporcao-wrap.show { display: block; }

.proporcao-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink4);
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* visual bar with two colored segments */
.proporcao-bar-wrap {
  position: relative;
  margin-bottom: 10px;
  padding: 8px 0;
  cursor: pointer;
}
.proporcao-track {
  height: 6px;
  border-radius: 3px;
  background: var(--cream3);
  position: relative;
}
.proporcao-fill-varejo {
  position: absolute; left: 0; top: 0; height: 100%;
  background: var(--ink);
  border-radius: 3px 0 0 3px;
  transition: width .1s;
}
.proporcao-fill-atacado {
  position: absolute; right: 0; top: 0; height: 100%;
  background: var(--gold);
  border-radius: 0 3px 3px 0;
  transition: width .1s;
}

/* custom thumb — white circle at the split point */
.proporcao-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px; height: 18px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(26,26,24,0.18);
  pointer-events: none;
  transition: left .1s;
  display: flex; align-items: center; justify-content: center;
  gap: 2px;
}
.proporcao-thumb::before,
.proporcao-thumb::after {
  content: '';
  display: block;
  width: 2px; height: 7px;
  background: var(--ink3);
  border-radius: 1px;
}

/* native range sits over everything, fully transparent */
.proporcao-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
  margin: 0;
  z-index: 2;
}

/* labels row */
.proporcao-pills {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.prop-pill {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 12px;
}
.prop-pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.prop-pill-dot.ink  { background: var(--ink); }
.prop-pill-dot.gold { background: var(--gold); }
.prop-pill-info { display: flex; flex-direction: column; }
.prop-pill-name {
  font-size: 10px;
  color: var(--ink4);
  letter-spacing: 0.04em;
}
.prop-pill-pct {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
}

/* ── DIFAL CARD (resultado) ── */
.difal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 24px;
}
.difal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.difal-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.difal-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.difal-body {
  font-size: 13px;
  color: var(--ink3);
  line-height: 1.8;
}
.difal-body b { color: var(--ink2); font-weight: 500; }
.difal-num {
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--gold);
  margin: 8px 0 4px;
  line-height: 1;
}
.difal-note { font-size: 11px; color: var(--ink4); }

/* ── AUTHORITY SECTION ── */
.authority-section {
  background: var(--ink);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.authority-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}

.authority-left {
  padding: 2.5rem 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.auth-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 1rem;
}
.auth-tag::before {
  content: '';
  display: block;
  width: 18px; height: 1px;
  background: var(--gold2);
  flex-shrink: 0;
}

.authority-left h2 {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  font-weight: 400;
  line-height: 1.12;
  color: #f6f3ee;
  margin: 0 0 1rem;
}
.authority-left h2 em {
  font-style: italic;
  color: var(--gold2);
}

.auth-desc {
  font-size: 13px;
  color: rgba(246,243,238,0.5);
  line-height: 1.8;
  margin: 0 0 1.5rem;
}

.auth-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.4rem;
}
.auth-metric {
  background: rgba(255,255,255,0.04);
  padding: 14px 12px;
}
.auth-metric-num {
  font-family: var(--f-display);
  font-size: 1.65rem;
  color: var(--gold2);
  line-height: 1;
  margin-bottom: 4px;
}
.auth-metric-lbl {
  font-size: 10px;
  color: rgba(246,243,238,0.35);
  line-height: 1.45;
}

.auth-partner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 6px;
  margin-bottom: 1.5rem;
}
.auth-partner img {
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.65;
  flex-shrink: 0;
}
.auth-partner-text {
  font-size: 11px;
  color: rgba(246,243,238,0.4);
  line-height: 1.55;
}

.auth-cta-note {
  font-size: 11px;
  color: rgba(246,243,238,0.3);
  line-height: 1.65;
  margin-bottom: 10px;
  margin-top: auto;
  padding-top: 1.5rem;
}
.auth-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gold);
  color: #fff;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}
.auth-cta-btn:hover { background: var(--gold2); }

/* photo grid — right column */
.authority-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
}
.auth-photo-wide {
  grid-column: 1 / -1;
  overflow: hidden;
}
.auth-photo-wide img,
.auth-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.auth-photo-wide img { object-position: center 18%; }
.auth-photo {
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.auth-photo:last-child { border-left: 1px solid rgba(255,255,255,0.06); }
.auth-photo-wide { border-bottom: 1px solid rgba(255,255,255,0.06); }

/* ── PROGRAMA NÃO VANTAJOSO (embaçado) ── */
.pc-card.blurred {
  position: relative;
  pointer-events: none;
  user-select: none;
}
.pc-card.blurred .pc-head,
.pc-card.blurred .pc-body {
  filter: blur(4px);
  opacity: 0.5;
}
.pc-card-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(246,243,238,0.72);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  z-index: 2;
}
.pc-card.blurred .pc-card-overlay { display: flex; }
.pc-overlay-icon {
  width: 32px; height: 32px;
  background: var(--cream3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
  color: var(--ink3);
}
.pc-overlay-text {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink2);
  line-height: 1.5;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-right { position: static; }
  .authority-inner { grid-template-columns: 1fr; }
  .authority-left {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 2rem 1.5rem;
  }
  .authority-photos { grid-template-rows: 200px 140px; }
}

@media (max-width: 640px) {
  .site-header-inner { padding: 0 16px; }
  .header-phone { display: none; }
  .site-wrap { padding: 0 16px; }
  .form-card { padding: 24px 20px 28px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-grid.cols-3 { grid-template-columns: 1fr; }
  .savings-row { grid-template-columns: 1fr; }
  .prog-comparison { grid-template-columns: 1fr; }
  .cta-card { flex-direction: column; align-items: flex-start; }
  .result-hero { padding: 28px 24px; }
  h1.page-title { font-size: 2rem; }
  .site-footer-inner { flex-direction: column; gap: 10px; text-align: center; }
}
