/* ===== Tokens ===== */
:root {
  --navy-900: #061528;
  --navy-800: #0a1f38;
  --navy-700: #10294a;
  --navy-600: #1a3760;
  --gold-400: #e8c98f;
  --gold-500: #dcb878;
  --gold-600: #c19a57;
  --cream: #f8f4ec;
  --paper: #fffdf9;
  --ink: #142236;
  --muted: #5d6878;
  --line: #e6dfd1;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(6, 21, 40, .25);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.7em; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-900); box-shadow: 0 10px 30px -10px rgba(220, 184, 120, .7); }
.btn--gold:hover { box-shadow: 0 14px 34px -10px rgba(220, 184, 120, .9); }
.btn--ghost { border-color: rgba(232, 201, 143, .5); color: var(--gold-400); }
.btn--ghost:hover { background: rgba(232, 201, 143, .1); }
.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-600); }
.btn--text { background: none; color: var(--muted); padding-inline: .5em; }
.btn--sm { padding: .7em 1.2em; font-size: .85rem; }

/* ===== Header ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .35s, box-shadow .35s, padding .35s;
  padding: 18px 0;
}
.header.is-scrolled { background: rgba(6, 21, 40, .92); backdrop-filter: blur(12px); box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .4); padding: 10px 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand__logo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px rgba(232, 201, 143, .4); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: .02em; }
.brand__text small { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn):not(.social) {
  color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 1rem; font-weight: 500; position: relative;
}
.nav a:not(.btn):not(.social)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 100%;
  background: var(--gold-400); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-current { color: #fff; }
.nav a:not(.btn):hover::after, .nav a.is-current::after { transform: scaleX(1); transform-origin: left; }

.nav__social { display: flex; align-items: center; gap: 14px; }
.social { display: grid; place-items: center; width: 22px; height: 22px; color: rgba(255, 255, 255, .82); transition: color .2s, transform .2s; }
.social svg { width: 100%; height: 100%; fill: currentColor; }
.social:hover { color: var(--gold-400); transform: translateY(-2px); }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(ellipse at 75% 30%, var(--navy-600) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  padding: 150px 0 110px;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__photo {
  position: absolute; inset: 0; opacity: .38;
  background: url("assets/ponte-jk-anoitecer.jpg") center 60% / cover no-repeat;
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(6, 21, 40, .55) 55%, rgba(6, 21, 40, .2) 100%); }
.hero__grain {
  position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent);
}
.hero__inner { position: relative; }
.hero__content { max-width: 760px; }
.hero__rule { display: block; width: 96px; height: 1px; margin-bottom: 28px; background: linear-gradient(90deg, var(--gold-400), transparent); }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; letter-spacing: -.01em; }
.hero__title em { color: var(--gold-400); font-style: italic; }
.hero__lead { font-size: 1.12rem; color: rgba(255, 255, 255, .78); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.hero__checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .9rem; color: rgba(255, 255, 255, .75); }
.hero__checks li::before { content: "✓"; color: var(--gold-400); margin-right: 8px; font-weight: 700; }


/* ===== Seções ===== */
.section { padding: 110px 0; }
.section--soft { background: var(--cream); }
.section--dark { background: var(--navy-800); color: #fff; }
.section--dark p { color: rgba(255, 255, 255, .78); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head .eyebrow { justify-content: center; }
.section__head p:last-child { color: var(--muted); font-size: 1.05rem; }

/* ===== A advogada ===== */
.profile { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.profile__head h2 { color: var(--navy-800); margin-bottom: .2em; }
.profile__role { color: var(--gold-600); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.profile__text { border-left: 2px solid var(--gold-500); padding-left: 36px; }
.profile__text p { color: var(--muted); font-size: 1.08rem; }
.profile__text p:last-child { margin-bottom: 0; }
.profile__text strong { color: var(--ink); }

/* ===== Abas ===== */
.tabs {
  position: relative; display: flex; width: max-content; max-width: 100%; margin: 0 auto 48px;
  background: var(--cream); border-radius: 999px; padding: 6px;
}
.tab {
  position: relative; z-index: 1; border: 0; background: none; padding: .8em 1.8em; border-radius: 999px;
  font: 600 .95rem var(--sans); color: var(--muted); cursor: pointer; transition: color .3s;
}
.tab.is-active { color: #fff; }
.tabs__indicator {
  position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 999px; background: var(--navy-800);
  transition: transform .4s var(--ease), width .4s var(--ease);
}
.tab-panel[hidden] { display: none; }
.tab-panel.is-active { animation: fadeUp .5s var(--ease); }

/* ===== Cards ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card {
  position: relative; padding: 34px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card--featured { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.card--wide { grid-column: 1 / -1; }
.card--wide p { max-width: 820px; }
.card.card--featured p { color: rgba(255, 255, 255, .78); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: rgba(220, 184, 120, .14);
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-600); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card--featured .card__icon svg { stroke: var(--gold-400); }
.card p { color: var(--muted); }
.link-arrow { color: var(--gold-400); font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .3s; }
.link-arrow:hover::after { margin-left: 6px; }

/* ===== Isenção (janela) ===== */
.card--clickable { cursor: pointer; }
.has-modal { overflow: hidden; }
.modal {
  width: min(1100px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0;
  background: var(--navy-800); color: #fff; border: 1px solid rgba(232, 201, 143, .25); border-radius: var(--radius);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8);
}
.modal[open] { animation: fadeUp .4s var(--ease); }
.modal:focus { outline: none; }
.modal::backdrop { background: rgba(6, 21, 40, .75); backdrop-filter: blur(4px); }
.modal > .split { padding: 64px 56px 56px; }
.modal p { color: rgba(255, 255, 255, .78); }
.modal__close {
  position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1px solid rgba(232, 201, 143, .35); color: var(--gold-400); font-size: 1.6rem; line-height: 1;
  transition: background .2s;
}
.modal__close:hover { background: rgba(232, 201, 143, .12); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split__text strong { color: #fff; }
.facts { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 18px; }
.facts li { padding-left: 22px; border-left: 2px solid var(--gold-500); }
.facts strong { display: block; color: var(--gold-400); font-family: var(--serif); font-size: 1.25rem; }
.facts span { color: rgba(255, 255, 255, .72); font-size: .95rem; }
.who { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 32px; }
.who > span:first-child { width: 100%; font-weight: 600; color: #fff; margin-bottom: 4px; }
.pill { border: 1px solid rgba(232, 201, 143, .4); color: var(--gold-400); padding: .35em 1em; border-radius: 999px; font-size: .85rem; }

.diseases {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(232, 201, 143, .2); border-radius: var(--radius);
  padding: 32px;
}
.diseases h3 { color: var(--gold-400); }
.diseases__search {
  width: 100%; padding: .9em 1.1em; border-radius: 12px; border: 1px solid rgba(232, 201, 143, .3);
  background: rgba(6, 21, 40, .5); color: #fff; font: inherit; margin-bottom: 18px;
}
.diseases__search::placeholder { color: rgba(255, 255, 255, .45); }
.diseases__search:focus { outline: none; border-color: var(--gold-400); }
.diseases__list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.diseases__list li {
  break-inside: avoid; padding: 9px 0 9px 26px; position: relative; font-size: .95rem; color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .06); transition: opacity .3s, color .3s;
}
.diseases__list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-400); }
.diseases__list li small { display: block; color: rgba(255, 255, 255, .55); font-size: .78rem; }
.diseases__list li.is-hidden { display: none; }
.diseases__list li.is-match { color: var(--gold-400); }
.diseases__empty a { color: var(--gold-400); }

/* ===== Reforma tributária ===== */
.reforma__intro { max-width: 820px; margin: 0 auto 64px; }
.reforma__intro p { font-size: 1.08rem; }
.reforma__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.reforma__block {
  background: rgba(255, 255, 255, .03); border: 1px solid rgba(232, 201, 143, .18); border-radius: var(--radius); padding: 36px;
}
.reforma__block h3 { color: var(--gold-400); font-size: 1.6rem; }
.reforma__block p { font-size: .97rem; }
.reforma__block p:last-child { margin-bottom: 0; }
.transicao { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 14px; }
.transicao li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: baseline; padding-left: 18px; border-left: 2px solid var(--gold-500); }
.transicao strong { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-400); }
.transicao span { color: rgba(255, 255, 255, .8); font-size: .95rem; }
.reforma__cta { text-align: center; margin-top: 48px; }

/* ===== Quiz ===== */
.quiz {
  max-width: 760px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 44px;
  box-shadow: var(--shadow); border: 1px solid var(--line); position: relative; overflow: hidden;
}
.quiz__progress { height: 4px; background: var(--cream); border-radius: 4px; overflow: hidden; margin-bottom: 14px; }
.quiz__progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-400), var(--gold-600)); transition: width .5s var(--ease); }
.quiz__count { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }

.step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: fadeUp .45s var(--ease); }
.step legend, .step h3 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 600; margin-bottom: 22px; padding: 0; line-height: 1.2; }
.step legend small { font-family: var(--sans); font-size: .85rem; color: var(--muted); font-weight: 500; }
.step legend.sub { font-size: 1.35rem; margin-top: 30px; }

.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.options--big { grid-template-columns: 1fr 1fr; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option > span {
  display: block; padding: 16px 18px 16px 50px; border: 1.5px solid var(--line); border-radius: 14px;
  transition: border-color .25s, background .25s, transform .25s; position: relative; font-weight: 500; height: 100%;
}
.option > span::before {
  content: ""; position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 18px; height: 18px;
  border: 1.5px solid #c7c0b2; border-radius: 50%; transition: all .25s;
}
.option input[type="checkbox"] + span::before { border-radius: 5px; }
.option:hover > span { border-color: var(--gold-500); }
.option input:checked + span { border-color: var(--navy-800); background: #f4f1ea; }
.option input:checked + span::before { border-color: var(--navy-800); background: var(--navy-800); box-shadow: inset 0 0 0 3px #f4f1ea; }
.option input:focus-visible + span { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.options--big .option > span { padding: 26px 22px 26px 54px; }
.options--big strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.options--big small { color: var(--muted); font-size: .88rem; }

.input {
  width: 100%; padding: .9em 1.1em; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink);
  background: #fff; transition: border-color .25s, box-shadow .25s; margin-bottom: 14px;
}
.input:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(16, 41, 74, .08); }
.input.is-invalid { border-color: #c0392b; }
textarea.input { resize: vertical; min-height: 96px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.step__hint { color: var(--muted); margin: -6px 0 22px; }
.field-label { display: block; font-size: .88rem; font-weight: 600; margin: 6px 0 6px; }
.field-label small { color: var(--muted); font-weight: 400; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }

.notice { margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: #fbf5e8; border-left: 3px solid var(--gold-500); font-size: .92rem; }
.notice--urgent { background: #fdf0ee; border-color: #c0392b; }

.consent { display: flex; gap: 12px; font-size: .85rem; color: var(--muted); margin-top: 10px; cursor: pointer; }
.consent input { margin-top: 4px; accent-color: var(--navy-800); width: 18px; height: 18px; flex-shrink: 0; }

.quiz__error { color: #c0392b; font-size: .9rem; margin: 16px 0 0; }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.quiz__nav #quizNext { margin-left: auto; }

.step--done { text-align: center; padding: 20px 0; }
.done__icon {
  width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
}
.done__icon svg { width: 36px; fill: none; stroke: var(--navy-900); stroke-width: 2.5; stroke-dasharray: 30; stroke-dashoffset: 30; }
.step--done.is-active .done__icon svg { animation: draw .7s .2s var(--ease) forwards; }
.step--done p { color: var(--muted); }

/* ===== FAQ ===== */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 600; transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line); font-family: var(--sans); font-size: 1.2rem; color: var(--gold-600);
  transition: transform .35s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--navy-800); color: var(--gold-400); border-color: var(--navy-800); }
.faq summary:hover { color: var(--gold-600); }
.faq details p { color: var(--muted); padding-right: 48px; animation: fadeUp .4s var(--ease); }

/* ===== CTA final ===== */
.cta-final {
  background: radial-gradient(ellipse at center, var(--navy-600), var(--navy-900) 70%);
  color: #fff; text-align: center; padding: 100px 0;
}
.cta-final p { color: rgba(255, 255, 255, .75); }

.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; text-align: left; }
.contact__map { border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 5.2; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .6); }
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact__list { list-style: none; padding: 0; margin: 36px 0 40px; display: grid; gap: 26px; }
.contact__list li { display: flex; align-items: center; gap: 18px; font-size: 1.05rem; }
.contact__list svg { width: 22px; height: 22px; flex: none; fill: var(--gold-500); }
.contact__list a { color: #fff; text-decoration: none; transition: color .2s; }
.contact__list a:hover { color: var(--gold-400); }

/* ===== Footer ===== */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .7); padding: 36px 0 30px; font-size: .92rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--gold-400); }
.footer__legal { font-size: .8rem; color: rgba(255, 255, 255, .45); }

/* ===== WhatsApp flutuante ===== */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease);
}
.whats-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: pulse 2.4s infinite; z-index: -1; }
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 32px; fill: #fff; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Animações ===== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsivo ===== */
@media (max-width: 1100px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); flex-direction: column; align-items: flex-start;
    background: var(--navy-900); padding: 100px 32px 32px; gap: 22px;
    transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: -20px 0 60px rgba(0, 0, 0, .4);
  }
  .nav.is-open { transform: none; }
  .nav a:not(.btn):not(.social) { font-size: 1.1rem; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .split, .profile, .reforma__grid { grid-template-columns: 1fr; }
  .profile { gap: 28px; }
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .contact__map { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .hero { padding-top: 120px; }
  .options--big, .grid-2 { grid-template-columns: 1fr; }
  .diseases__list { columns: 1; }
  .quiz { padding: 28px 20px; }
  .diseases { padding: 24px 20px; }
  .modal > .split { padding: 64px 20px 28px; }
  .tab { padding: .8em 1.2em; }
  .brand__logo { width: 46px; height: 46px; }
  .footer { padding-bottom: 100px; }
  .reforma__block { padding: 26px 22px; }
  .transicao li { grid-template-columns: 1fr; gap: 2px; }
  .brand__text strong { font-size: 1.2rem; }
  .brand__text small { font-size: .56rem; letter-spacing: .1em; }
}
