/* ============================================================
   Gabriela Sady — gabriela.amsadvs.com.br
   Landing pages de mídia paga · identidade AMS (design_system/)
   Folha única, autocontida — sem dependência do repositório em produção.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Spectral:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&display=swap');

:root {
  /* ---- Navy ---- */
  --navy-950: #050B11;
  --navy-900: #0B1822;
  --navy-800: #112434;
  --navy-700: #173145;
  --navy-600: #20415A;
  --navy-500: #2C5575;
  --navy-400: #4C7595;
  --navy-300: #80A0BA;
  --navy-200: #B6CADA;
  --navy-100: #DCE6EF;
  --navy-50:  #EFF4F8;

  /* ---- Gold ---- */
  --gold-800: #6E5226;
  --gold-700: #8C6A33;
  --gold-600: #A8854A;
  --gold-500: #C2A05B;
  --gold-400: #D2B679;
  --gold-300: #E3CEA0;
  --gold-200: #F0E3C6;
  --gold-100: #F8F1DF;

  /* ---- Paper / stone ---- */
  --paper-0:   #FFFFFF;
  --paper-50:  #FBFAF6;
  --paper-100: #F5F2EB;
  --paper-200: #ECE7DC;
  --stone-300: #DBD5C8;
  --stone-400: #BDB6A6;
  --stone-500: #8C8576;
  --stone-600: #635D52;
  --stone-700: #423E37;
  --stone-800: #2A2722;

  /* ---- Status ---- */
  --green-600: #2F7A57;
  --green-100: #E2F0E8;
  --amber-600: #B07D26;
  --amber-100: #F6ECD4;
  --red-600:   #AE3A33;
  --red-100:   #F6E2E0;

  /* ---- Semantic ---- */
  --text-strong: var(--navy-900);
  --text-body:   var(--stone-700);
  --text-muted:  var(--stone-600);
  --text-subtle: var(--stone-500);
  --text-on-navy: #F3F6F9;
  --text-on-navy-muted: #A9BACB;
  --text-accent: var(--gold-700);

  --surface-page:   var(--paper-50);
  --surface-card:   var(--paper-0);
  --surface-sunken: var(--paper-100);
  --surface-navy:   var(--navy-900);
  --surface-navy-2: var(--navy-700);
  --surface-gold-tint: var(--gold-100);
  --surface-overlay: rgba(11, 24, 34, 0.55);

  --border-subtle:  rgba(11, 24, 34, 0.08);
  --border-default: rgba(11, 24, 34, 0.14);
  --border-strong:  rgba(11, 24, 34, 0.24);
  --border-on-navy: rgba(255, 255, 255, 0.16);

  --action: var(--navy-900);
  --action-hover: var(--navy-800);
  --accent: var(--gold-500);
  --accent-hover: var(--gold-600);
  --accent-active: var(--gold-700);
  --focus-ring: rgba(194, 160, 91, 0.55);

  --status-success: var(--green-600);
  --status-success-bg: var(--green-100);
  --status-warning: var(--amber-600);
  --status-warning-bg: var(--amber-100);
  --status-danger:  var(--red-600);
  --status-danger-bg: var(--red-100);

  /* ---- Type ---- */
  --font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-ui:      'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Spectral', Georgia, 'Times New Roman', serif;

  --fs-eyebrow: 0.75rem;
  --fs-2xs: 0.6875rem;
  --fs-xs:  0.8125rem;
  --fs-sm:  0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md:  1.1875rem;
  --fs-lg:  1.375rem;
  --fs-xl:  1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 3rem;
  --fs-4xl: 4rem;

  --lh-tight: 1.04;
  --lh-snug: 1.18;
  --lh-heading: 1.24;
  --lh-body: 1.62;
  --lh-relaxed: 1.78;

  --ls-eyebrow: 0.22em;
  --ls-caps: 0.14em;
  --ls-wide: 0.04em;
  --ls-tight: -0.01em;
  --ls-display: -0.02em;

  /* ---- Spacing ---- */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;
  --space-11: 6.5rem;

  --container-max: 1200px;
  --container-text: 700px;
  --gutter: 1.5rem;
  --section-y: 6.5rem;
  --section-y-sm: 4rem;

  /* ---- Radii / shadow / motion ---- */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(11, 24, 34, 0.06);
  --shadow-sm: 0 2px 6px rgba(11, 24, 34, 0.07);
  --shadow-md: 0 6px 20px rgba(11, 24, 34, 0.09);
  --shadow-lg: 0 18px 48px rgba(11, 24, 34, 0.12);
  --shadow-focus: 0 0 0 3px var(--focus-ring);

  --ease-standard: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-entrance: cubic-bezier(0.16, 0.84, 0.44, 1);
  --dur-fast: 150ms;
  --dur-base: 240ms;
  --dur-slow: 400ms;
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-strong);
  line-height: var(--lh-heading);
  letter-spacing: var(--ls-tight);
}

p { margin: 0; }
a { color: var(--text-accent); text-decoration: none; transition: color var(--dur-fast) var(--ease-standard); }
a:hover { color: var(--accent-active); }
strong, b { font-weight: 600; color: var(--text-strong); }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

::selection { background: var(--gold-200); color: var(--navy-900); }

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-sm);
}

.sf { font-family: var(--font-body); }
[id] { scroll-margin-top: 96px; }

/* ============================================================
   Layout utilities
   ============================================================ */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
.container--text { max-width: var(--container-text); }
.section { padding: var(--section-y) 0; }
.section--sm { padding: var(--section-y-sm) 0; }
.section--navy { background: var(--surface-navy); color: var(--text-on-navy); }
.section--sunken { background: var(--surface-sunken); }
.section--paper0 { background: var(--paper-0); }

@media (max-width: 900px) {
  .section { padding: var(--space-9) 0; }
  .section--sm { padding: var(--space-8) 0; }
}

.eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: var(--space-4);
}
.eyebrow--on-navy { color: var(--gold-400); }

.rule-gold { width: 44px; height: 2px; background: var(--gold-500); border: none; margin: var(--space-5) 0; }
.rule-gold--center { margin-left: auto; margin-right: auto; }

.section-head { max-width: 640px; margin: 0 auto var(--space-8); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: var(--fs-2xl); }
.section-head p { margin-top: var(--space-4); font-size: var(--fs-md); color: var(--text-muted); line-height: var(--lh-relaxed); }

@media (max-width: 620px) {
  .section-head h2 { font-size: var(--fs-xl); }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-wide);
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--dur-fast) var(--ease-standard);
  transition-property: background-color, color, border-color, box-shadow, transform;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--navy { background: var(--action); color: var(--text-on-navy); }
.btn--navy:hover { background: var(--action-hover); color: var(--text-on-navy); }

.btn--gold { background: var(--accent); color: var(--navy-900); }
.btn--gold:hover { background: var(--accent-hover); color: var(--navy-900); }

.btn--ghost { background: transparent; color: var(--navy-900); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--navy-900); color: var(--text-on-navy); border-color: var(--navy-900); }

.btn--ghost-on-navy { background: transparent; color: var(--text-on-navy); border-color: var(--border-on-navy); }
.btn--ghost-on-navy:hover { background: rgba(255,255,255,0.08); color: var(--text-on-navy); }

/* Botão de largura total pode quebrar linha: o `nowrap` do .btn existe para
   botões curtos lado a lado, e estoura rótulos longos em tela estreita. */
.btn--block { width: 100%; white-space: normal; line-height: 1.35; text-align: center; }
.btn--lg { padding: 17px 30px; font-size: var(--fs-sm); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }
.btn:disabled:hover { transform: none; }

@media (max-width: 480px) {
  .btn { padding-left: 18px; padding-right: 18px; }
  .btn--lg { padding-left: 20px; padding-right: 20px; }
}

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 250, 246, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.site-header__logo { display: flex; align-items: center; height: 34px; }
.site-header__logo img { height: 100%; width: auto; }

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.site-nav__list a {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  color: var(--text-body);
}
.site-nav__list a:hover { color: var(--navy-900); }
.site-nav__list .is-external { display: inline-flex; align-items: center; gap: 4px; }
.site-nav__list .is-external svg { width: 12px; height: 12px; opacity: .55; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--navy-900);
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1080px) {
  .site-nav__list { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header__inner { height: 68px; }
  .site-nav { gap: var(--space-3); }

  .site-nav.is-open ~ .mobile-menu,
  .mobile-menu.is-open { display: block; }
}
@media (max-width: 480px) {
  .site-nav__cta span { display: none; }
  .site-nav__cta { padding: 12px 14px; }
  .site-nav__cta svg { margin: 0; }
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--paper-50);
  z-index: 55;
  overflow-y: auto;
  padding: var(--space-6) var(--gutter) var(--space-9);
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mobile-menu li { border-bottom: 1px solid var(--border-subtle); }
.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-family: var(--font-ui);
  font-size: var(--fs-md);
  color: var(--navy-900);
  font-weight: 500;
}
.mobile-menu a svg { width: 16px; height: 16px; opacity: .5; }
.mobile-menu .btn { margin-top: var(--space-6); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: var(--space-9) 0 var(--space-8);
  background: linear-gradient(180deg, var(--paper-100) 0%, var(--paper-50) 62%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.7fr;
  gap: var(--space-9);
  align-items: center;
}
.hero__content h1 {
  font-size: var(--fs-3xl);
  line-height: var(--lh-tight);
  margin-top: var(--space-4);
}
.hero__lead {
  margin-top: var(--space-5);
  font-size: var(--fs-md);
  color: var(--text-muted);
  line-height: var(--lh-relaxed);
  max-width: 520px;
}
.hero__actions {
  margin-top: var(--space-7);
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.hero__meta {
  margin-top: var(--space-6);
  font-family: var(--font-ui);
  font-size: var(--fs-2xs);
  color: var(--text-subtle);
  letter-spacing: var(--ls-wide);
}
.hero__photo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--navy-100);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after {
  content: '';
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
  border-radius: inherit;
  pointer-events: none;
}
.hero__photo-tag {
  position: absolute;
  left: var(--space-5);
  bottom: var(--space-5);
  background: rgba(11,24,34,0.72);
  backdrop-filter: blur(6px);
  color: var(--text-on-navy);
  font-family: var(--font-ui);
  font-size: var(--fs-2xs);
  letter-spacing: var(--ls-wide);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero__photo { order: -1; max-width: 320px; margin: 0 auto; }
  .hero__content h1 { font-size: var(--fs-2xl); }
  .hero__actions .btn { width: 100%; }
}

/* ============================================================
   Faixa de credencial
   ============================================================ */
.credential-strip {
  background: var(--navy-900);
  color: var(--text-on-navy);
  padding: var(--space-6) 0;
}
.credential-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}
.credential-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.credential-item svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
  color: var(--gold-400);
}
.credential-item span {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-on-navy);
}

@media (max-width: 900px) {
  .credential-strip__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .credential-strip__grid { grid-template-columns: 1fr; }
}

/* trust strip (beneficiário) — lighter variant */
.trust-strip { background: var(--paper-100); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); padding: var(--space-5) 0; }
.trust-strip__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3) var(--space-8); }
.trust-item { display: flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-size: var(--fs-xs); font-weight: 500; color: var(--navy-900); }
.trust-item svg { width: 16px; height: 16px; color: var(--gold-600); flex-shrink: 0; }

/* ============================================================
   Ferramenta (diagnóstico de prazo)
   ============================================================ */
.tool {
  background: var(--paper-0);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-7);
  max-width: 720px;
  margin: 0 auto;
}
@media (max-width: 620px) {
  /* 40px de padding de cada lado comem largura demais num celular */
  .tool { padding: var(--space-5); }
}
.tool__head { text-align: center; margin-bottom: var(--space-6); }
.tool__head h2 { font-size: var(--fs-xl); }
.tool__head p { margin-top: var(--space-3); color: var(--text-muted); font-size: var(--fs-sm); }

.tool__progress { display: flex; gap: 6px; margin-bottom: var(--space-7); }
.tool__progress span { flex: 1; height: 3px; border-radius: 2px; background: var(--paper-200); transition: background var(--dur-base) var(--ease-standard); }
.tool__progress span.is-done { background: var(--gold-500); }

.tool__step { display: none; }
.tool__step.is-active { display: block; animation: toolFade var(--dur-slow) var(--ease-entrance); }
@keyframes toolFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.tool__question {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: var(--space-5);
}
.tool__options { display: flex; flex-direction: column; gap: 10px; }
.tool__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--paper-50);
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  color: var(--text-body);
  text-align: left;
  width: 100%;
  transition: var(--dur-fast) var(--ease-standard);
  transition-property: border-color, background-color;
}
.tool__option:hover { border-color: var(--gold-500); background: var(--gold-100); }
.tool__option.is-selected { border-color: var(--navy-900); background: var(--navy-50); color: var(--navy-900); font-weight: 500; }
.tool__option .radio {
  width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--border-strong);
  flex-shrink: 0; position: relative;
}
.tool__option.is-selected .radio { border-color: var(--navy-900); }
.tool__option.is-selected .radio::after {
  content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--navy-900);
}

.tool__field { display: flex; flex-direction: column; gap: 8px; }
.tool__field label { font-family: var(--font-ui); font-size: var(--fs-xs); color: var(--text-muted); font-weight: 500; }
.tool__field input[type="date"] {
  font-family: var(--font-ui);
  font-size: var(--fs-md);
  padding: 14px 16px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--paper-50);
  color: var(--navy-900);
  width: 100%;
}
.tool__field input[type="date"]:focus { border-color: var(--navy-900); }
.tool__hint { font-size: var(--fs-xs); color: var(--text-subtle); margin-top: var(--space-2); }

.tool__nav { display: flex; justify-content: space-between; align-items: center; margin-top: var(--space-7); gap: var(--space-4); }
.tool__back { font-family: var(--font-ui); font-size: var(--fs-xs); color: var(--text-muted); background: none; border: none; cursor: pointer; font-weight: 500; }
.tool__back:hover { color: var(--navy-900); }
.tool__back:disabled { visibility: hidden; }

.tool__result { display: none; }
.tool__result.is-active { display: block; animation: toolFade var(--dur-slow) var(--ease-entrance); }

.tool__countdown {
  background: var(--navy-900);
  color: var(--text-on-navy);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  margin-bottom: var(--space-6);
}
.tool__countdown-label { font-family: var(--font-ui); font-size: var(--fs-2xs); letter-spacing: var(--ls-wide); color: var(--text-on-navy-muted); text-transform: uppercase; }
.tool__countdown-value { font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 700; color: var(--gold-400); margin: var(--space-2) 0; line-height: 1; }
.tool__countdown-value small { font-size: var(--fs-md); font-weight: 500; color: var(--text-on-navy); }
.tool__countdown-note { font-size: var(--fs-2xs); color: var(--text-on-navy-muted); max-width: 440px; margin: 0 auto; line-height: 1.5; }

.tool__timeline { display: flex; overflow-x: auto; gap: 0; margin: var(--space-6) 0; padding-bottom: 4px; }
.tool__timeline-step {
  flex: 1; min-width: 108px; text-align: center; position: relative; padding-top: 20px;
}
.tool__timeline-step::before {
  content: ''; position: absolute; top: 5px; left: 0; right: 0; height: 2px; background: var(--paper-200);
}
.tool__timeline-step::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 50%; background: var(--paper-0); border: 2px solid var(--stone-400);
}
.tool__timeline-step:first-child::before { left: 50%; }
.tool__timeline-step:last-child::before { right: 50%; }
.tool__timeline-step.is-past::before { background: var(--gold-500); }
.tool__timeline-step.is-past::after { border-color: var(--gold-500); background: var(--gold-500); }
.tool__timeline-step.is-current::after { border-color: var(--navy-900); background: var(--navy-900); width: 14px; height: 14px; }
.tool__timeline-step span { display: block; font-family: var(--font-ui); font-size: 10px; letter-spacing: 0.02em; color: var(--text-subtle); line-height: 1.35; padding: 0 4px; }
.tool__timeline-step.is-current span { color: var(--navy-900); font-weight: 600; }

.tool__sanctions { display: flex; flex-direction: column; gap: 8px; margin: var(--space-6) 0; }
.tool__sanction { display: flex; gap: 10px; align-items: baseline; font-size: var(--fs-sm); padding: 10px 14px; border-radius: var(--radius-sm); background: var(--paper-50); border: 1px solid var(--border-subtle); }
.tool__sanction b { font-family: var(--font-ui); color: var(--gold-700); font-size: var(--fs-xs); min-width: 16px; }

.tool__mistakes { list-style: none; margin: var(--space-6) 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tool__mistakes li { display: flex; gap: 12px; font-size: var(--fs-sm); line-height: var(--lh-relaxed); }
.tool__mistakes svg { width: 18px; height: 18px; color: var(--status-danger); flex-shrink: 0; margin-top: 3px; }

.tool__restart { text-align: center; margin-top: var(--space-5); }
.tool__restart button { font-family: var(--font-ui); font-size: var(--fs-2xs); color: var(--text-subtle); background: none; border: none; cursor: pointer; text-decoration: underline; }

.tool__legal { font-size: var(--fs-2xs); color: var(--text-subtle); line-height: 1.6; margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--border-subtle); }

/* ---- Calculadora de reajuste: campos numéricos e moeda ---- */
.tool__field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 560px) { .tool__field-row { grid-template-columns: 1fr; } }
.tool__field input[type="number"],
.tool__field input[type="email"],
.tool__field input[type="text"],
.tool__field select {
  font-family: var(--font-ui);
  font-size: var(--fs-md);
  padding: 14px 16px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--paper-50);
  color: var(--navy-900);
  width: 100%;
  /* line-height explícito: sem ele o select e o input ao lado calculam alturas
     diferentes e a dupla mês/ano fica desalinhada. */
  line-height: 1.4;
}
.tool__field input[type="number"]:focus,
.tool__field input[type="email"]:focus,
.tool__field input[type="text"]:focus,
.tool__field select:focus { border-color: var(--navy-900); }
.tool__field input::placeholder { color: var(--stone-400); }

/* Select: o chevron nativo varia demais entre navegadores para conviver com
   os inputs ao lado — desenhamos o nosso. `padding-right` reserva o espaço. */
.tool__field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E4356' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px 18px;
}
/* Enquanto nada foi escolhido, o "Selecione" tem peso de placeholder. */
.tool__field select:invalid { color: var(--stone-400); }

/* Campo de moeda: o "R$" é um afixo real dentro da moldura, não um rótulo
   flutuando sobre o input — assim nunca sobrepõe o texto digitado. */
.tool__currency {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--paper-50);
  transition: border-color var(--dur-fast) var(--ease-standard), box-shadow var(--dur-fast) var(--ease-standard);
}
.tool__currency:focus-within { border-color: var(--navy-900); box-shadow: var(--shadow-focus); }
.tool__currency span {
  flex: none;
  font-family: var(--font-ui);
  font-size: var(--fs-md);
  color: var(--text-subtle);
  user-select: none;
}
.tool__field .tool__currency input[type="text"] {
  border: none;
  background: transparent;
  padding: 14px 0;
  min-width: 0;
}
.tool__field .tool__currency input[type="text"]:focus,
.tool__field .tool__currency input[type="text"]:focus-visible {
  border: none;
  outline: none;
  box-shadow: none;
}

/* ============================================================
   Painel de resultado da calculadora
   Faixa navy de ênfase (o design system reserva navy para blocos
   de resultado). Status ganham variantes claras porque as muted
   do sistema não têm contraste sobre navy.
   ============================================================ */
:root {
  --on-navy-danger:  #F0A9A3;
  --on-navy-warning: #E7C57F;
  --on-navy-success: #86C7A6;
}

.calc-result {
  background: var(--surface-navy);
  color: var(--text-on-navy);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  margin-bottom: var(--space-6);
}

.calc-result__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui); font-weight: 600;
  font-size: var(--fs-2xs); letter-spacing: var(--ls-wide); text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--radius-pill);
  border: 1px solid currentColor;
  margin-bottom: var(--space-5);
}
.calc-result__badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}
.calc-result__badge--forte { color: var(--on-navy-danger); }
.calc-result__badge--relevante { color: var(--on-navy-warning); }
.calc-result__badge--reduzido { color: var(--gold-400); }
.calc-result__badge--ok { color: var(--on-navy-success); }
.calc-result__badge--neutro { color: var(--text-on-navy-muted); }

.calc-result__headline {
  color: var(--text-on-navy);
  font-size: clamp(1.375rem, 3.4vw, 2rem);
  line-height: var(--lh-snug);
  margin-bottom: var(--space-4);
}
.calc-result__headline b { color: var(--gold-400); font-weight: 700; white-space: nowrap; }
.calc-result__sub {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--text-on-navy-muted);
  max-width: 62ch;
}

/* ---- Dois cartões de número ---- */
.calc-result__stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-top: var(--space-6); }
.calc-stat {
  border: 1px solid var(--border-on-navy);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.03);
}
.calc-stat__label {
  display: block;
  font-family: var(--font-ui); font-size: var(--fs-2xs);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--text-on-navy-muted);
}
.calc-stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3.6vw, 1.75rem);
  font-weight: 700;
  color: var(--text-on-navy);
  margin: 10px 0 6px;
  white-space: nowrap;
}
.calc-stat--restituicao .calc-stat__value { color: var(--gold-400); }
.calc-stat__hint { display: block; font-size: var(--fs-2xs); line-height: 1.5; color: var(--text-on-navy-muted); }

@media (max-width: 620px) {
  .calc-result { padding: var(--space-5); }
  .calc-result__stats { grid-template-columns: 1fr; }
}

/* ---- Comparativo ---- */
.calc-compare {
  margin-top: var(--space-6);
  border: 1px solid var(--border-on-navy);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}
.calc-compare__title {
  display: block;
  font-family: var(--font-ui); font-size: var(--fs-2xs);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
  color: var(--text-on-navy-muted);
  margin-bottom: var(--space-5);
}
.calc-compare__row { margin-bottom: var(--space-4); }
.calc-compare__head {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4);
  font-family: var(--font-ui); font-size: var(--fs-xs); color: var(--text-on-navy-muted);
  margin-bottom: 8px;
}
.calc-compare__head strong { font-size: var(--fs-sm); color: var(--text-on-navy); white-space: nowrap; }
.calc-compare__bar { height: 8px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.09); overflow: hidden; }
.calc-compare__bar span { display: block; height: 100%; border-radius: var(--radius-pill); transition: width var(--dur-slow) var(--ease-standard); }
.calc-compare__row--atual .calc-compare__head strong { color: var(--on-navy-danger); }
.calc-compare__row--atual .calc-compare__bar span { background: var(--on-navy-danger); }
.calc-compare__row--justo .calc-compare__head strong { color: var(--gold-400); }
.calc-compare__row--justo .calc-compare__bar span { background: var(--gold-500); }
.calc-compare__delta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: var(--space-2);
  font-family: var(--font-ui); font-size: var(--fs-xs); font-weight: 500;
  color: var(--on-navy-danger);
  border: 1px solid currentColor;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
}

/* ---- Chips com o que a pessoa informou ---- */
.calc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-6); }
.calc-chip {
  font-family: var(--font-ui); font-size: var(--fs-2xs);
  color: var(--text-on-navy-muted);
  border: 1px solid var(--border-on-navy);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}
.calc-chip b { color: var(--text-on-navy); font-weight: 600; margin-left: 4px; }

/* ---- "Como chegamos a esse número" ---- */
.calc-breakdown { margin-top: var(--space-6); border-top: 1px solid var(--border-on-navy); padding-top: var(--space-5); }
.calc-breakdown summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  font-family: var(--font-ui); font-size: var(--fs-sm); font-weight: 500;
  color: var(--text-on-navy);
}
.calc-breakdown summary::-webkit-details-marker { display: none; }
.calc-breakdown summary::after {
  content: '+';
  font-size: var(--fs-md); color: var(--gold-400); line-height: 1;
}
.calc-breakdown[open] summary::after { content: '−'; }
.calc-breakdown__body { margin-top: var(--space-5); }
.calc-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4);
  padding: 11px 0;
  border-bottom: 1px dashed var(--border-on-navy);
  font-size: var(--fs-xs);
  color: var(--text-on-navy-muted);
}
.calc-row:last-child { border-bottom: none; }
.calc-row strong { font-family: var(--font-ui); color: var(--text-on-navy); white-space: nowrap; }
.calc-row--total strong { color: var(--gold-400); }
.calc-row--indices { display: block; }
.calc-row__indices { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.calc-row__indices span {
  font-family: var(--font-ui); font-size: 10.5px;
  border: 1px solid var(--border-on-navy); border-radius: var(--radius-sm);
  padding: 4px 8px; color: var(--text-on-navy);
}
.calc-row__indices span i { color: var(--text-on-navy-muted); font-style: normal; margin-right: 4px; }

.tool__note-box {
  background: var(--gold-100); border: 1px solid var(--gold-300); border-radius: var(--radius-md);
  padding: var(--space-5); margin: var(--space-5) 0; font-size: var(--fs-sm); color: var(--stone-800); line-height: var(--lh-relaxed);
}
.tool__note-box strong { color: var(--gold-800); }

/* ---- Tabela do teto anual da ANS ---- */
.ans-table-block {
  max-width: 820px;
  margin: var(--space-8) auto 0;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  padding: var(--space-6);
}
.ans-table-block__title {
  font-family: var(--font-ui);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--text-accent);
  text-align: center;
  margin-bottom: var(--space-5);
}
.ans-table-scroll { overflow-x: auto; margin: 0 calc(var(--space-2) * -1); padding: 0 var(--space-2); }
.ans-table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 460px; }
.ans-table th,
.ans-table td { text-align: center; padding: var(--space-3) var(--space-2); }
.ans-table th {
  font-family: var(--font-ui);
  font-size: var(--fs-2xs);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  color: var(--text-subtle);
  border-bottom: 1px solid var(--border-default);
}
.ans-table td {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--navy-900);
  border-bottom: 1px solid var(--border-subtle);
}
.ans-table .is-negative { color: var(--status-success); }
.ans-table .is-current th { color: var(--gold-700); }
.ans-table th.is-current,
.ans-table td.is-current { background: var(--gold-100); }
.ans-table th.is-current { color: var(--gold-700); border-bottom-color: var(--gold-300); }
.ans-table td.is-current { color: var(--gold-800); }
.ans-table-note {
  margin-top: var(--space-4);
  font-size: var(--fs-2xs);
  line-height: 1.6;
  color: var(--text-subtle);
  text-align: center;
}

@media (max-width: 560px) {
  .ans-table-block { padding: var(--space-5) var(--space-4); }
  .ans-table td { font-size: var(--fs-sm); }
}

/* ============================================================
   O que está em jogo (sanctions overview, static section)
   ============================================================ */
.stakes-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-3); }
.stakes-item {
  background: var(--paper-0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4);
  text-align: center;
}
.stakes-item .stakes-letter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy-50); color: var(--navy-900);
  font-family: var(--font-ui); font-weight: 600; font-size: var(--fs-xs);
  margin-bottom: var(--space-3);
}
.stakes-item.is-severe .stakes-letter { background: var(--red-100); color: var(--status-danger); }
.stakes-item p { font-size: var(--fs-xs); color: var(--text-body); line-height: 1.4; }

@media (max-width: 900px) {
  .stakes-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .stakes-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Cards — áreas de atuação / espelho de casos
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-xs);
  transition: var(--dur-base) var(--ease-standard);
  transition-property: transform, box-shadow, border-color;
}
.card--accent { border-top: 3px solid var(--gold-500); }
a.card, button.card {
  display: block; text-align: left; width: 100%; cursor: pointer; text-decoration: none; color: inherit;
}
a.card:hover, button.card:hover, .card.is-interactive:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-300);
}
.card__icon {
  width: 42px; height: 42px; border-radius: var(--radius-md);
  background: var(--navy-50); color: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
}
.card__icon svg { width: 21px; height: 21px; }
.card h3 { font-size: var(--fs-md); margin-bottom: var(--space-2); }
.card p { font-size: var(--fs-sm); color: var(--text-muted); line-height: var(--lh-relaxed); }
.card__cta { margin-top: var(--space-4); display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-ui); font-size: var(--fs-2xs); font-weight: 600; letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--gold-700); }
.card__cta svg { width: 14px; height: 14px; transition: transform var(--dur-fast) var(--ease-standard); }
a.card:hover .card__cta svg, button.card:hover .card__cta svg { transform: translateX(3px); }

@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .card-grid, .card-grid--2 { grid-template-columns: 1fr; }
}

/* Compact list-style area cards (médico page, longer list) */
.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3) var(--space-6); }
.area-list__item { display: flex; gap: 12px; padding: var(--space-4) 0; border-bottom: 1px solid var(--border-subtle); }
.area-list__item svg { width: 18px; height: 18px; color: var(--gold-600); flex-shrink: 0; margin-top: 2px; }
.area-list__item span { font-size: var(--fs-sm); color: var(--text-body); line-height: 1.5; }
@media (max-width: 700px) {
  .area-list { grid-template-columns: 1fr; }
}

/* ============================================================
   Quem é Gabriela
   ============================================================ */
.profile { display: grid; grid-template-columns: 0.62fr 1fr; gap: var(--space-9); align-items: center; }
.profile__photo { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; }
.profile__body h2 { font-size: var(--fs-2xl); margin-bottom: var(--space-5); }
.profile__body p { font-size: var(--fs-md); color: var(--text-body); line-height: var(--lh-relaxed); margin-bottom: var(--space-4); }
.profile__credentials { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.profile__credentials li { display: flex; gap: 10px; font-family: var(--font-ui); font-size: var(--fs-sm); color: var(--navy-900); font-weight: 500; }
.profile__credentials svg { width: 17px; height: 17px; color: var(--gold-600); flex-shrink: 0; margin-top: 2px; }

@media (max-width: 860px) {
  .profile { grid-template-columns: 1fr; }
  .profile__photo { max-width: 280px; margin: 0 auto; }
}

/* ============================================================
   Prova social
   ============================================================ */
.reviews-banner {
  display: flex; align-items: center; justify-content: center; gap: var(--space-4);
  flex-wrap: wrap; text-align: center; margin-bottom: var(--space-8);
}
.reviews-stars { display: flex; gap: 3px; color: var(--gold-500); }
.reviews-stars svg { width: 20px; height: 20px; }
.reviews-banner strong { font-family: var(--font-ui); font-size: var(--fs-md); }
.reviews-banner a { font-family: var(--font-ui); font-size: var(--fs-xs); font-weight: 600; }

.pub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-5); }
.pub-card { display: flex; gap: var(--space-4); align-items: flex-start; background: var(--paper-0); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: var(--space-5); }
.pub-card svg { width: 26px; height: 26px; color: var(--gold-600); flex-shrink: 0; }
.pub-card h4 { font-family: var(--font-display); font-size: var(--fs-base); font-weight: 600; color: var(--navy-900); margin-bottom: 4px; }
.pub-card p { font-size: var(--fs-xs); color: var(--text-muted); }
@media (max-width: 700px) { .pub-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: var(--container-text); margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--paper-0); overflow: hidden; }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5); background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: var(--fs-base); font-weight: 600; color: var(--navy-900);
}
.faq-item__q svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold-600); transition: transform var(--dur-base) var(--ease-standard); }
.faq-item.is-open .faq-item__q svg { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height var(--dur-slow) var(--ease-standard); }
.faq-item__a-inner { padding: 0 var(--space-5) var(--space-5); font-size: var(--fs-sm); color: var(--text-body); line-height: var(--lh-relaxed); }
.faq-item.is-open .faq-item__a { max-height: 480px; }
.faq-item--highlight { border-color: var(--gold-400); background: var(--gold-100); }

/* ============================================================
   CTA final
   ============================================================ */
.cta-final {
  background: var(--navy-900);
  color: var(--text-on-navy);
  border-radius: var(--radius-xl);
  padding: var(--space-9) var(--space-7);
  text-align: center;
}
.cta-final h2 { color: var(--text-on-navy); font-size: var(--fs-2xl); max-width: 620px; margin: 0 auto; }
.cta-final p { margin-top: var(--space-4); color: var(--text-on-navy-muted); font-size: var(--fs-md); }
.cta-final__actions { margin-top: var(--space-7); display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

@media (max-width: 620px) {
  .cta-final { padding: var(--space-8) var(--space-5); }
  .cta-final__actions .btn { width: 100%; }
}

/* ============================================================
   Sticky mobile bar
   ============================================================ */
.mobile-cta-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: var(--paper-0);
  border-top: 1px solid var(--border-default);
  padding: 10px var(--gutter);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 24px rgba(11,24,34,0.10);
  transform: translateY(100%);
  transition: transform var(--dur-base) var(--ease-standard);
}
.mobile-cta-bar.is-visible { transform: translateY(0); }
@media (max-width: 720px) {
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 68px; }
}
.mobile-cta-bar .btn { width: 100%; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy-950); color: var(--text-on-navy-muted); padding: var(--space-8) 0 var(--space-6); }
.site-footer__top { display: flex; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; padding-bottom: var(--space-6); border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: var(--space-5); }
.site-footer__brand img { height: 26px; width: auto; opacity: .92; }
.site-footer__brand p { margin-top: var(--space-3); font-size: var(--fs-xs); max-width: 320px; line-height: 1.6; }
.site-footer__links { display: flex; gap: var(--space-8); flex-wrap: wrap; }
.site-footer__col h5 { font-family: var(--font-ui); font-size: var(--fs-2xs); letter-spacing: var(--ls-wide); text-transform: uppercase; color: var(--text-on-navy); margin-bottom: var(--space-3); font-weight: 600; }
.site-footer__col a { display: block; font-size: var(--fs-xs); color: var(--text-on-navy-muted); margin-bottom: 8px; }
.site-footer__col a:hover { color: var(--gold-400); }
.site-footer__legal { font-size: var(--fs-2xs); line-height: 1.7; max-width: 900px; color: #7d93a8; }
.site-footer__legal p { margin-bottom: 10px; }
.site-footer__bottom { margin-top: var(--space-5); font-size: var(--fs-2xs); color: #6b8098; }

@media (max-width: 700px) {
  .site-footer__top { flex-direction: column; }
}

/* ============================================================
   Misc
   ============================================================ */
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy-900); color: #fff;
  padding: 10px 16px; z-index: 100; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.va-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-ui); font-size: var(--fs-2xs); font-weight: 600; letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--gold-700); background: var(--gold-100);
  padding: 6px 12px; border-radius: var(--radius-pill);
}

.divider-space { height: var(--space-6); }

noscript .js-only { display: none !important; }
