/* Rafael Vitorino Advocacia — Etapa 1, sem dependências de framework. */
:root {
  --graphite: #1F2328;
  --graphite-light: #2C3138;
  --paper: #F4F2EE;
  --white: #FFFFFF;
  --amber: #D7983B;
  --ink: #20262C;
  --muted: #5A6169;
  --footer: #141719;
  --on-dark: #D5D7DA;
  --line: #D7D4CE;
  --dark-line: #4C5158;
  --radius: 6px;
  --ease: cubic-bezier(.23, 1, .32, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body { margin: 0; background: var(--graphite); color: var(--ink); font-family: Inter, sans-serif; font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button, [role="button"] { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Fraunces, Georgia, serif; font-weight: 600; line-height: 1.18; letter-spacing: -.028em; }
h2 { font-size: clamp(32px, 3.2vw, 44px); text-wrap: balance; }
h3 { font-size: 18px; font-weight: 600; line-height: 1.5; letter-spacing: -.015em; }
p { color: var(--muted); }
::selection { background: var(--amber); color: var(--graphite); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 5px; }
.button-primary:focus-visible, .final-cta :focus-visible { outline-color: var(--white); box-shadow: 0 0 0 7px var(--graphite); }
.container { width: calc(100% - 96px); max-width: 1248px; margin-inline: auto; }
.section { padding-block: 96px; scroll-margin-top: 0; }
.light { background: var(--paper); color: var(--ink); }
.dark { background: var(--graphite); color: var(--white); }
.dark p, .business p { color: var(--on-dark); }
.section-heading { max-width: 820px; margin-bottom: 48px; }
.section-heading h2 { max-width: 790px; }
.section-heading p { margin-top: 20px; max-width: 760px; }
.centered { margin-inline: auto; text-align: center; }
.icon { flex: 0 0 auto; width: 30px; height: 30px; color: var(--amber); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 17px; min-height: 54px; padding: 14px 23px; border: 1px solid transparent; border-radius: var(--radius); font-size: 14px; font-weight: 600; line-height: 1.5; text-align: center; transition: background-color 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease); }
.button-primary { color: var(--graphite); background: var(--amber); }
.button-primary:hover { background: #E6AA52; }
.button-outline { border-color: #9BA0A6; color: var(--white); background: transparent; }
.button-outline:hover { border-color: var(--amber); background: #FFFFFF08; }
.button-dark { background: var(--graphite); color: var(--white); }
.button-dark:hover { background: var(--footer); }
.button:active { transform: scale(.98); }
.button-arrow { width: 18px; height: 18px; flex: 0 0 auto; }
.skip-link { position: fixed; z-index: 110; top: 12px; left: 16px; padding: 10px 18px; background: var(--paper); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

/* Cabeçalho fixo e navegação */
.site-header { position: fixed; z-index: 100; inset: 0 0 auto; color: var(--white); transition: background-color 220ms var(--ease), transform 220ms var(--ease); }
.site-header.is-solid, .site-header.menu-open { background: var(--graphite); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid #FFFFFF1F; }
.brand { flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { position: relative; font-size: 13px; white-space: nowrap; padding-block: 12px; }
.site-nav a::after { content: ""; position: absolute; bottom: 4px; left: 0; width: 100%; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="location"]::after { transform: scaleX(1); }
.header-inner > .button { min-height: 44px; font-size: 12px; padding: 11px 16px; gap: 12px; }
.menu-toggle { display: none; }
.site-header.final-in-view:not(:focus-within) { transform: translateY(-105%); pointer-events: none; }

/* Hero: retrato intacto no desktop e máscara apenas nas bordas. */
.hero { height: 90vh; position: relative; background: var(--graphite); color: var(--white); isolation: isolate; }
.hero-background, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-background { object-fit: cover; object-position: center; z-index: -3; }
.hero-overlay { background: linear-gradient(90deg, rgb(31 35 40 / 75%) 0%, rgb(31 35 40 / 71%) 55%, rgb(31 35 40 / 65%) 100%); z-index: -2; }
.hero-layout { position: relative; display: grid; grid-template-columns: 55% 45%; align-items: center; height: 100%; padding-top: 88px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 25px; }
.eyebrow { font-family: Jost, sans-serif; font-size: 12px; font-weight: 600; line-height: 1.6; letter-spacing: .18em; color: var(--amber); margin-bottom: 25px; }
h1 { max-width: 620px; font-size: clamp(27px, 2.57vw, 37px); line-height: 1.32; }
.hero h1 span { display: block; white-space: nowrap; }
.hero-intro { max-width: 530px; margin-top: 27px; }
.hero-intro p { color: #E1E2E4; font-size: 15px; line-height: 1.8; }
.hero-intro p + p { margin-top: 13px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-actions .button { font-size: 13px; padding-inline: 19px; }
.hero-portrait { position: absolute; right: -25px; bottom: 0; height: 92%; width: 45%; z-index: 1; }
.hero-portrait img { position: absolute; right: 0; bottom: 0; width: auto; max-width: none; height: 100%; object-fit: contain; object-position: right bottom; mask-image: linear-gradient(to right, transparent, black 25%, black 92%, transparent), linear-gradient(to top, transparent, black 25%, black 94%, transparent); mask-composite: intersect; -webkit-mask-image: linear-gradient(to right, transparent, black 25%, black 92%, transparent), linear-gradient(to top, transparent, black 25%, black 94%, transparent); -webkit-mask-composite: source-in; }

/* Quatro destaques com legendas na mesma base. */
.credibility { padding-block: 33px; background: var(--graphite-light); color: var(--white); }
.credibility-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.credential { display: grid; grid-template-rows: 1fr auto; gap: 9px; padding-inline: 28px; border-right: 1px solid var(--dark-line); }
.credential:first-child { padding-left: 0; }
.credential:last-child { border-right: 0; padding-right: 0; }
.credential strong { font: 600 clamp(23px, 2vw, 29px)/1.25 Fraunces, Georgia, serif; color: var(--amber); letter-spacing: -.025em; }
.credential span { font-size: 12px; line-height: 1.65; color: var(--on-dark); }

/* Nove situações */
.situations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.situation-card { min-width: 0; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: #FFFFFF40; transition: border-color 200ms var(--ease), transform 200ms var(--ease); }
.situation-card .icon { margin-bottom: 24px; }
.situation-card h3 { margin-bottom: 12px; }
.situation-card p { font-size: 14px; line-height: 1.85; }
.situation-card:hover { border-color: var(--amber); transform: translateY(-4px); }
.carousel-indicators { display: none; }
.section-close { max-width: 760px; margin: 38px auto 0; text-align: center; }
.section-close p { font-size: 15px; }
.section-close .button { margin-top: 24px; }

/* Conteúdo jurídico e painel de marca */
.law-layout { display: grid; grid-template-columns: 1.65fr 1fr; gap: 70px; align-items: stretch; }
.law-list { display: flex; flex-direction: column; gap: 34px; }
.law-item { display: grid; grid-template-columns: 54px 1fr; gap: 22px; }
.number { font: 600 38px/1.15 Fraunces, Georgia, serif; color: var(--amber); }
.law-item h3 { margin-bottom: 11px; }
.law-item p { font-size: 15px; line-height: 1.85; max-width: 70ch; }
.brand-panel { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--graphite-light); min-height: 320px; display: grid; place-items: center; }
.monogram { width: 78%; height: auto; object-fit: contain; opacity: .08; user-select: none; pointer-events: none; }
.legal-note { font-size: 13px; max-width: 950px; line-height: 1.8; padding-left: 20px; border-left: 2px solid var(--amber); margin-top: 42px; }

/* Comparativo */
.comparison { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.comparison-column { padding: 40px; background: #FFFFFF50; }
.comparison-column + .comparison-column { border-left: 1px solid var(--line); background: #EBE8E1; }
.comparison-column .icon { margin-bottom: 25px; width: 35px; height: 35px; }
.comparison-column h3 { font-family: Fraunces, Georgia, serif; font-size: 27px; font-weight: 600; margin-bottom: 18px; }
.comparison-column p { font-size: 15px; line-height: 1.85; }

/* Áreas de atuação: duas colunas de sete itens. */
.practice-layout { display: grid; grid-template-columns: .84fr 2fr; gap: 60px; align-items: start; }
.practice-intro h2 { max-width: 340px; }
.practice-intro p { margin-block: 24px 29px; font-size: 15px; }
.practice-accordion { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.accordion-item { border-bottom: 1px solid var(--dark-line); }
.accordion-item:first-child { border-top: 1px solid var(--dark-line); }
.accordion-trigger { width: 100%; display: flex; align-items: center; gap: 14px; padding: 21px 0; border: 0; background: transparent; color: var(--white); text-align: left; font: 600 14px/1.6 Inter, sans-serif; transition: color 180ms var(--ease); }
.accordion-trigger > span { flex: 1; }
.accordion-trigger .icon { width: 21px; height: 21px; }
.accordion-trigger:hover, .is-open > h3 .accordion-trigger { color: var(--amber); }
.chevron { width: 16px; height: 16px; flex: 0 0 auto; color: var(--amber); transition: transform 220ms var(--ease); }
.is-open > h3 .chevron { transform: rotate(180deg); }
.accordion-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 240ms var(--ease), visibility 240ms; }
.accordion-panel > div { overflow: hidden; min-height: 0; }
.accordion-panel p { font-size: 14px; line-height: 1.85; padding-bottom: 23px; }
.is-open > .accordion-panel { grid-template-rows: 1fr; visibility: visible; }

/* O advogado */
.about-layout { display: grid; grid-template-columns: .88fr 1.35fr; gap: 70px; align-items: start; }
.about-portrait { width: 100%; aspect-ratio: 3 / 4; background: var(--graphite); border-radius: var(--radius); overflow: hidden; }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chips span { font: 400 10px/1.6 Jost, sans-serif; text-transform: uppercase; letter-spacing: .18em; border: 1px solid #A9A7A2; border-radius: var(--radius); padding: 5px 9px; color: var(--muted); }
.about-copy h2 { margin-bottom: 20px; }
.about-copy p { font-size: 14px; line-height: 1.9; margin-top: 18px; }
.about-copy p.about-lead { font-size: 16px; color: var(--ink); font-weight: 600; }

/* Cinco etapas verticais */
.process-container { max-width: 1000px; }
.process-container .section-heading { max-width: 820px; }
.process-list { list-style: none; padding: 0; margin: 0; }
.process-list li { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 30px; padding-bottom: 33px; }
.process-list li:not(:last-child)::before { content: ""; position: absolute; top: 53px; bottom: -1px; left: 27px; width: 1px; background: var(--amber); }
.step-number { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--amber); border-radius: 50%; color: var(--amber); font: 600 22px/1 Fraunces, Georgia, serif; }
.process-list h3 { margin-top: 2px; margin-bottom: 10px; }
.process-list p { max-width: 800px; font-size: 15px; line-height: 1.8; }
.process-list li:last-child { padding-bottom: 0; }

/* Compromissos */
.commitment-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 75px; align-items: stretch; }
.commitment-layout .brand-panel { background: var(--graphite); }
.commitment-layout .section-heading { margin-bottom: 34px; }
.commitment-item { display: flex; align-items: flex-start; gap: 20px; }
.commitment-item + .commitment-item { margin-top: 26px; }
.commitment-item .icon { width: 27px; height: 27px; margin-top: 2px; }
.commitment-item h3 { margin-bottom: 8px; }
.commitment-item p { font-size: 14px; line-height: 1.85; }

/* Atuação empresarial: hierarquia secundária */
.business { background: var(--graphite-light); color: var(--white); padding-block: 67.2px; }
.business .section-heading { margin-bottom: 32px; }
.business h2 { font-size: 32px; }
.business .section-heading p { font-size: 15px; }
.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.business-card { padding: 25px; border: 1px solid #62666C; border-radius: var(--radius); }
.business-card .icon { margin-bottom: 17px; width: 27px; height: 27px; }
.business-card h3 { font-size: 16px; margin-bottom: 10px; }
.business-card p { font-size: 13px; line-height: 1.85; }
.business .button { font-size: 13px; min-height: 48px; padding-block: 11px; }

/* Dúvidas */
.faq-container { max-width: 800px; }
.faq-container > h2 { text-align: center; margin-bottom: 42px; }
.faq-accordion .accordion-trigger { padding: 24px 0; font-size: 16px; gap: 24px; }
.faq-accordion .accordion-panel p { font-size: 15px; padding-right: 32px; }

/* Chamada final */
.final-cta { background: var(--amber); color: var(--graphite); position: relative; overflow: hidden; }
.final-cta > .monogram { position: absolute; height: 70%; width: 70%; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.final-content { position: relative; text-align: center; }
.final-content h2 { max-width: 850px; margin-inline: auto; }
.final-content > p { color: var(--graphite); max-width: 720px; margin: 22px auto 27px; }
.final-content p.final-legal { font-size: 11px; line-height: 1.8; max-width: 100%; margin-top: 26px; margin-bottom: 0; }

/* Rodapé compartilhado */
.site-footer { background: var(--footer); color: var(--white); padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.25fr 1fr .9fr; gap: 45px; padding-bottom: 50px; }
.footer-logo { width: auto; height: 52px; margin-bottom: 22px; }
.site-footer h2 { font: 600 13px/1.6 Jost, sans-serif; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 23px; }
.site-footer p, .site-footer li { color: #C1C4C8; font-size: 12px; line-height: 1.9; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 9px; }
.site-footer a { transition: color 180ms var(--ease); }
.site-footer a:hover { color: var(--amber); }
.footer-legal { border-top: 1px solid #383D43; padding-block: 25px 30px; text-align: center; }
.footer-legal p { font-size: 11px; max-width: 1090px; margin-inline: auto; line-height: 1.9; }
.mobile-bar { display: none; }

/* Páginas legais: sem hero nem botões de ação. */
.legal-page { background: var(--paper); }
.legal-page .site-nav { margin-left: auto; }
.legal-content { width: calc(100% - 48px); max-width: 760px; margin-inline: auto; padding-block: 156px 96px; }
.legal-content h1 { font-size: 42px; max-width: 100%; margin-bottom: 30px; overflow-wrap: anywhere; }
.legal-content h2 { font-family: Inter, sans-serif; font-size: 22px; line-height: 1.5; letter-spacing: -.02em; margin-block: 38px 16px; }
.legal-content p, .legal-content ul { font-size: 15px; line-height: 1.85; color: var(--muted); margin-block: 16px; }
.legal-content ul { padding-left: 22px; }
.legal-content li + li { margin-top: 8px; }
.legal-content strong { color: var(--ink); font-weight: 600; }

@media (min-width: 901px) and (max-width: 1199px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 18px; }
  .site-nav { gap: 17px; }
  .site-nav a { font-size: 12px; }
  .header-inner > .button { padding-inline: 12px; gap: 8px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { font-size: 12px; padding-inline: 13px; gap: 9px; }
  .hero-intro { max-width: 465px; }
  .hero-portrait { right: -10px; }
  .credential { padding-inline: 19px; }
  .credential strong { font-size: 24px; }
  .law-layout, .about-layout, .commitment-layout { gap: 38px; }
  .practice-layout { grid-template-columns: .9fr 2fr; gap: 32px; }
  .practice-accordion { gap: 21px; }
  .accordion-trigger { gap: 10px; font-size: 13px; }
  .practice-intro .button { font-size: 12px; padding-inline: 14px; gap: 8px; }
  .situation-card { padding: 24px; }
  .footer-grid { gap: 25px; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 84px; }
  body { font-size: 15px; }
  .container { width: calc(100% - 48px); }
  .section { padding-block: 64px; }
  h2 { font-size: 33px; }
  .section-heading { margin-bottom: 34px; }
  .section-heading p { margin-top: 18px; }
  .header-inner { min-height: 72px; gap: 20px; }
  .brand img { height: 34px; }
  .header-inner > .button { display: none; }
  .menu-toggle { display: flex; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; background: transparent; border: 1px solid #FFFFFF50; border-radius: var(--radius); color: var(--white); }
  .menu-toggle span { width: 21px; height: 1px; background: currentColor; transition: transform 180ms var(--ease); }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; padding: 15px 24px 24px; background: var(--graphite); display: flex; flex-direction: column; gap: 0; align-items: stretch; visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: transform 180ms var(--ease), opacity 180ms var(--ease), visibility 180ms; border-bottom: 1px solid var(--dark-line); }
  .site-nav a { font-size: 15px; padding-block: 11px; }
  .site-nav a::after { width: 28px; }
  .menu-open .site-nav { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
  .hero { height: auto; }
  .hero-layout { display: flex; flex-direction: column; align-items: stretch; padding-top: 126px; }
  .hero-copy { padding-bottom: 0; }
  .hero h1 { max-width: 620px; font-size: clamp(32px, 5.1vw, 42px); line-height: 1.22; }
  .hero h1 span { display: inline; white-space: normal; }
  .eyebrow { font-size: 11px; margin-bottom: 23px; }
  .hero-intro { max-width: 600px; margin-top: 24px; }
  .hero-intro p { font-size: 14px; }
  .hero-actions { margin-top: 26px; }
  .hero-portrait { position: relative; right: auto; bottom: auto; width: 100%; max-width: 560px; height: auto; aspect-ratio: 4 / 3; margin: 20px auto 0; }
  .hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
  .hero-background { object-position: 35% center; }
  .credibility { padding-block: 28px; }
  .credibility-grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .credential { padding-inline: 20px; }
  .credential:nth-child(odd) { padding-left: 0; }
  .credential:nth-child(even) { border-right: 0; padding-right: 0; }
  .credential strong { font-size: 23px; }
  .credential span { font-size: 11px; }
  .situations-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 16px; padding: 5px 0 8px; scroll-padding-inline: 0; }
  .situations-grid::-webkit-scrollbar { display: none; }
  .situation-card { flex: 0 0 78%; scroll-snap-align: start; padding: 28px; }
  .carousel-indicators { display: flex; gap: 0; justify-content: center; margin-top: 20px; }
  .carousel-dot { width: 30px; height: 32px; padding: 0; border: 0; background: transparent; position: relative; }
  .carousel-dot::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 6px; height: 6px; border-radius: 50%; background: #73716C; transition: background-color 180ms var(--ease), transform 180ms var(--ease); }
  .carousel-dot.is-active::after { background: var(--graphite); transform: translate(-50%, -50%) scale(1.4); }
  .section-close { margin-top: 27px; }
  .section-close p { font-size: 14px; }
  .law-layout { grid-template-columns: 1fr; gap: 36px; }
  .law-item { grid-template-columns: 45px 1fr; gap: 17px; }
  .law-item p { font-size: 14px; }
  .number { font-size: 33px; }
  .brand-panel { min-height: 220px; max-height: 300px; }
  .brand-panel .monogram { width: 48%; max-height: 200px; }
  .legal-note { margin-top: 30px; font-size: 12px; }
  .comparison { grid-template-columns: 1fr; }
  .comparison-column { padding: 30px; }
  .comparison-column + .comparison-column { border-left: 0; border-top: 1px solid var(--line); }
  .comparison-column h3 { font-size: 25px; }
  .comparison-column p { font-size: 14px; }
  .practice-layout { grid-template-columns: 1fr; gap: 36px; }
  .practice-intro h2 { max-width: none; }
  .practice-intro p { margin-block: 20px 24px; }
  .practice-accordion { grid-template-columns: 1fr; gap: 0; }
  .practice-column + .practice-column .accordion-item:first-child { border-top: 0; }
  .accordion-trigger { font-size: 15px; }
  .about-layout { grid-template-columns: 1fr; gap: 36px; }
  .about-portrait { max-width: 450px; margin-inline: auto; }
  .about-copy p { font-size: 14px; }
  .chips { gap: 7px; }
  .chips span { font-size: 9px; }
  .process-list li { grid-template-columns: 45px 1fr; gap: 20px; padding-bottom: 28px; }
  .step-number { width: 45px; height: 45px; font-size: 19px; }
  .process-list li:not(:last-child)::before { top: 44px; left: 22px; }
  .process-list p { font-size: 14px; }
  .commitment-layout { grid-template-columns: 1fr; gap: 36px; }
  .commitment-item { gap: 16px; }
  .business { padding-block: 44.8px; }
  .business h2 { font-size: 28px; }
  .business-grid { grid-template-columns: 1fr; gap: 16px; }
  .business-card { padding: 23px; }
  .faq-container > h2 { margin-bottom: 32px; }
  .faq-accordion .accordion-trigger { font-size: 15px; padding-block: 22px; gap: 16px; }
  .faq-accordion .accordion-panel p { font-size: 14px; padding-right: 0; }
  .final-content > p { font-size: 14px; }
  .final-content p.final-legal { font-size: 11px; max-width: 500px; }
  .site-footer { padding-top: 55px; padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 35px; }
  .site-footer h2 { margin-bottom: 16px; }
  .site-footer p, .site-footer li { font-size: 13px; }
  .footer-legal p { font-size: 11px; }
  .mobile-bar { display: block; position: fixed; z-index: 90; inset: auto 0 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--graphite); border-top: 1px solid var(--dark-line); }
  .mobile-bar .button { width: 100%; min-height: 48px; }
  .legal-content { padding-block: 116px 64px; }
  .legal-content h1 { font-size: 32px; }
  .legal-content h2 { font-size: 20px; }
  .legal-page .site-footer { padding-bottom: 0; }
}
@media (max-width: 480px) {
  .hero-actions { display: flex; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-portrait { margin-top: 22px; }
  .situation-card { flex-basis: 91%; padding: 25px; }
  .section-heading h2, h2 { font-size: 31px; }
  .credential strong { font-size: 22px; }
  .credential { padding-inline: 13px; }
  .comparison-column { padding: 27px 24px; }
  .chips span { letter-spacing: .18em; }
  .about-copy h2 { max-width: 300px; }
  .final-content h2 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Etapa 2 — todos os estilos abaixo são restritos ao componente de triagem. */
.quiz-overlay[hidden] { display: none; }
.quiz-overlay { position: fixed; z-index: 1000; top: var(--quiz-viewport-top, 0px); left: 0; width: 100%; height: var(--quiz-viewport-height, 100dvh); display: grid; place-items: center; padding: 24px; background: rgb(20 23 25 / 76%); overscroll-behavior: contain; }
.quiz-dialog { display: flex; flex-direction: column; width: 100%; max-width: 520px; max-height: 100%; overflow: hidden; border-radius: 6px; background: #F4F2EE; color: #20262C; box-shadow: 0 16px 50px rgb(0 0 0 / 15%); }
.quiz-header { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 10px; padding: 18px 15px; flex: 0 0 auto; background: #1F2328; }
.quiz-header p { font: 600 13px/1.65 Inter, sans-serif; color: #FFFFFF; }
.quiz-icon-button { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #FFFFFF; transition: background-color 180ms var(--ease), border-color 180ms var(--ease); }
.quiz-icon-button:hover { border-color: #D7983B; background: #2C3138; }
.quiz-back[hidden] { display: inline-flex; visibility: hidden; }
.quiz-progress { flex: 0 0 auto; width: 100%; height: 3px; background: #4C5158; }
.quiz-progress span { display: block; width: 0; height: 100%; background: #D7983B; transition: width 220ms var(--ease); }
.quiz-content { overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; min-height: 0; padding: 32px; scroll-padding-block: 18px; scrollbar-width: thin; scrollbar-color: #A7A29A #F4F2EE; }
.quiz-content > * { max-width: 100%; }
.quiz-content-enter > .quiz-title { animation: quiz-appear 200ms var(--ease); }
.quiz-title { margin: 0 0 26px; color: #20262C; font: 600 30px/1.22 Fraunces, Georgia, serif; letter-spacing: -.025em; text-wrap: pretty; }
.quiz-title:focus, .quiz-confirmation:focus { outline: none; }
.quiz-support { padding-left: 14px; margin: 0 0 26px; border-left: 2px solid #D7983B; color: #5A6169; font-size: 14px; line-height: 1.8; }
.quiz-options { display: flex; flex-direction: column; gap: 11px; }
.quiz-option { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; min-height: 56px; padding: 15px 17px; border: 1px solid #BDB9B1; border-radius: 6px; background: transparent; color: #20262C; text-align: left; font: 400 14px/1.65 Inter, sans-serif; transition: background-color 150ms var(--ease), border-color 150ms var(--ease); }
.quiz-option-text { min-width: 0; }
.quiz-option-mark { display: grid; place-items: center; width: 21px; height: 21px; flex: 0 0 auto; border: 1px solid #787770; border-radius: 50%; color: #1F2328; }
.quiz-option-mark.is-checkbox { border-radius: 3px; }
.quiz-option-mark .quiz-check { width: 16px; height: 16px; opacity: 0; }
.quiz-option.is-selected { background: #D7983B; border-color: #D7983B; color: #1F2328; }
.quiz-option.is-selected .quiz-option-mark { border-color: #1F2328; }
.quiz-option.is-selected .quiz-check { opacity: 1; }
.quiz-option:disabled { cursor: default; }
.quiz-option:focus-visible, .quiz-button:focus-visible, .quiz-form input:focus-visible, .quiz-consent a:focus-visible { outline: 2px solid #1F2328; outline-offset: 3px; }
.quiz-button { display: flex; align-items: center; justify-content: center; flex-wrap: nowrap; gap: 13px; width: 100%; min-height: 54px; padding: 15px 17px; border: 1px solid #D7983B; border-radius: 6px; background: #D7983B; color: #1F2328; font: 600 14px/1.6 Inter, sans-serif; transition: background-color 180ms var(--ease), transform 180ms var(--ease); }
.quiz-button > span { min-width: 0; }
.quiz-button .quiz-arrow { flex: 0 0 auto; width: 18px; height: 18px; }
.quiz-button:not(:disabled):active { transform: scale(.985); }
.quiz-button:disabled { cursor: not-allowed; background: #D7D4CE; border-color: #D7D4CE; color: #5A6169; }
.quiz-continue { margin-top: 25px; }
.quiz-confirmation { display: flex; align-items: flex-start; gap: 13px; padding: 17px; border: 1px solid #7FA38C; border-radius: 6px; background: #E9F0E9; margin-bottom: 20px; }
.quiz-confirmation > .quiz-check { width: 22px; height: 22px; flex: 0 0 auto; color: #28563C; margin-top: 2px; }
.quiz-confirmation p { color: #28563C; font-size: 13px; line-height: 1.75; }
.quiz-collection-support { color: #5A6169; font-size: 13px; line-height: 1.8; margin-bottom: 26px; }
.quiz-field { margin-bottom: 19px; }
.quiz-field label { display: block; color: #20262C; font-size: 13px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.quiz-field input { display: block; width: 100%; height: 49px; min-width: 0; border: 1px solid #A7A29A; border-radius: 6px; padding: 12px 14px; background: #FFFFFF; color: #20262C; font: 400 16px/1.5 Inter, sans-serif; appearance: none; scroll-margin-block: 20px; }
.quiz-field input::placeholder { color: #62666C; opacity: 1; }
.quiz-field input[aria-invalid="true"] { border: 2px solid #A52A24; }
.quiz-error { margin: 7px 0 0; color: #A52A24; font-size: 12px; line-height: 1.65; }
.quiz-error[hidden] { display: none; }
.quiz-consent-field { margin: 5px 0 24px; }
.quiz-consent { display: flex; align-items: flex-start; gap: 11px; padding-block: 5px; cursor: pointer; }
.quiz-consent input { width: 20px; height: 20px; margin: 3px 0 0; flex: 0 0 auto; accent-color: #1F2328; cursor: pointer; }
.quiz-consent input[aria-invalid="true"] { outline: 2px solid #A52A24; outline-offset: 2px; }
.quiz-consent span { color: #5A6169; font-size: 12px; line-height: 1.8; }
.quiz-consent a { color: #20262C; text-decoration: underline; text-underline-offset: 3px; }
.quiz-small { color: #5A6169; font-size: 12px; line-height: 1.8; margin-top: 15px; text-align: center; }
.quiz-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; pointer-events: none; }
.quiz-result-copy { color: #5A6169; font-size: 15px; line-height: 1.85; margin-bottom: 29px; }
.quiz-result-icon { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #7FA38C; border-radius: 50%; color: #28563C; background: #E9F0E9; margin-bottom: 25px; }
.quiz-button-secondary { border-color: #787770; background: transparent; color: #20262C; margin-bottom: 12px; }
@media (hover: hover) {
  .quiz-option:not(:disabled):hover { border-color: #D7983B; background: #D7983B; color: #1F2328; }
  .quiz-button:not(:disabled):not(.quiz-button-secondary):hover { background: #E6AA52; }
  .quiz-button-secondary:hover { background: #EAE6DE; }
}
@media (max-width: 600px) {
  .quiz-overlay { padding: 0; }
  .quiz-dialog { max-width: none; width: 100%; height: 100%; max-height: none; border-radius: 0; box-shadow: none; }
  .quiz-header { padding: calc(12px + env(safe-area-inset-top)) 10px 12px; gap: 5px; }
  .quiz-header p { font-size: 12px; line-height: 1.65; }
  .quiz-content { flex: 1; padding: 29px 24px calc(28px + env(safe-area-inset-bottom)); }
  .quiz-title { font-size: 29px; margin-bottom: 25px; }
  .quiz-option { font-size: 14px; padding: 15px; min-height: 58px; }
  .quiz-button { font-size: 13px; padding-inline: 12px; gap: 10px; }
  .quiz-collection-support { font-size: 13px; }
  .quiz-confirmation { padding: 15px; }
  .quiz-result-copy { font-size: 14px; }
}
@keyframes quiz-appear {
  from { opacity: .7; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .quiz-content-enter > .quiz-title { animation: none; }
  .quiz-progress span { transition: none; }
}
