:root {
  --bg: #f4f3ef;
  --surface: #ffffff;
  --surface-dark: #101214;
  --text: #17191b;
  --muted: #5e6267;
  --red: #c5232b;
  --red-dark: #941920;
  --line: #d8d8d4;
  --soft-red: #f9e9eb;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 24px 70px rgba(17, 20, 23, .09);
  --container: 1280px;
  --header: 148px;
  --space: clamp(4.5rem, 8vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Aptos", "Segoe UI Variable", "Segoe UI", Arial, sans-serif; font-size: 1rem; line-height: 1.65; overflow-x: hidden; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(198, 32, 46, .35); outline-offset: 3px; }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; background: #fff; padding: .7rem 1rem; border-radius: 6px; }
.skip-link:focus { top: 1rem; }
.eyebrow { margin: 0 0 1rem; color: var(--red); font-size: .75rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.06; letter-spacing: -.042em; font-weight: 650; }
h1 { max-width: 900px; font-size: clamp(2.5rem, 6.3vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.75rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
p { margin: 0; }
.lead { max-width: 780px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); }
.section { padding-block: var(--space); }
.section-alt { background: var(--surface); }
.section-dark { background: var(--surface-dark); color: #fff; }
.section-dark .lead, .section-dark p { color: #bec1c3; }
.section-head { display: grid; gap: 1.25rem; max-width: 820px; margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 50px; padding: .8rem 1.25rem; border: 1px solid var(--red); border-radius: 999px; background: var(--red); color: #fff; font-weight: 750; line-height: 1.1; transition: .2s ease; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.btn svg, .text-link svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn-outline { background: transparent; color: var(--text); border-color: #b9bcbe; }
.btn-outline:hover { background: var(--text); color: #fff; border-color: var(--text); }
.btn-light { background: #fff; color: var(--text); border-color: #fff; }
.btn-light:hover { background: #f2f2ef; color: var(--text); border-color: #f2f2ef; }
.btn-small { min-height: 42px; padding: .65rem 1rem; font-size: .88rem; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--red); font-weight: 750; }
.text-link:hover { color: var(--red-dark); }
.site-header { position: sticky; z-index: 100; top: 0; height: var(--header); background: rgba(244,243,239,.96); border-bottom: 1px solid transparent; backdrop-filter: blur(18px); transition: .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 26px rgba(0,0,0,.04); }
.header-inner { width: min(calc(100% - 3rem), 1680px); height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; min-width: 440px; }
.brand:not(.brand-footer) img { width: 440px; height: auto; object-fit: contain; transition: transform .35s ease, opacity .35s ease; }
.brand:not(.brand-footer):hover img { transform: scale(1.018); opacity: .9; }
.brand-text { font-size: 1.62rem; font-weight: 850; letter-spacing: -.055em; }
.main-nav { display: flex; align-items: center; gap: clamp(.5rem, .9vw, .95rem); font-size: .76rem; font-weight: 680; letter-spacing: .01em; }
.main-nav > a:not(.btn) { padding-block: .55rem; white-space: nowrap; }
.main-nav > a[aria-current="page"]:not(.btn), .main-nav > a:not(.btn):hover { color: var(--red); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--text); transition: .2s; }
.hero { position: relative; min-height: min(790px, calc(100vh - var(--header))); display: grid; align-items: center; padding-block: clamp(4rem, 8vw, 7rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0 0 0 53%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45)), repeating-linear-gradient(90deg, rgba(23,25,27,.055) 0 1px, transparent 1px 96px); border-left: 1px solid rgba(23,25,27,.07); }
.hero::after { content: ""; position: absolute; right: 7%; top: 17%; width: min(29vw, 420px); aspect-ratio: 1; border: 1px solid rgba(197,35,43,.28); transform: rotate(45deg); box-shadow: inset 0 0 0 42px rgba(255,255,255,.22), inset 0 0 0 43px rgba(23,25,27,.06); }
.hero-content { position: relative; z-index: 1; max-width: 950px; }
.hero h1 { max-width: 930px; }
.hero .lead { margin-top: 1.7rem; max-width: 820px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-proof { display: flex; gap: 1.5rem; margin-top: 3.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; font-weight: 650; letter-spacing: .025em; text-transform: uppercase; }
.hero-proof span { display: flex; align-items: center; gap: .5rem; }
.hero-proof span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.page-hero { padding: 2rem 0 clamp(4rem, 7vw, 7rem); background: linear-gradient(140deg, #f7f7f5 60%, #f4e8e9); }
.page-hero h1 { max-width: 980px; font-size: clamp(2.6rem, 5.6vw, 5.1rem); }
.page-hero .lead { margin-top: 1.5rem; }
.breadcrumbs { padding-block: 1rem 2rem; color: var(--muted); font-size: .82rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: flex; gap: .45rem; }
.breadcrumbs a:hover { color: var(--red); }
.card-grid { display: grid; gap: 1rem; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1.5rem, 3vw, 2.35rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: .25s ease; }
.card:hover { border-color: #b8b9b7; box-shadow: var(--shadow); transform: translateY(-3px); }
.card p { margin-top: .9rem; color: var(--muted); }
.card .text-link { margin-top: auto; padding-top: 1.5rem; }
.card.featured { position: relative; background: var(--surface-dark); color: #fff; border-color: var(--surface-dark); }
.card.featured p { color: #bec1c3; }
.card.featured .text-link { color: #fff; }
.icon-wrap { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 2.5rem; border-radius: 50%; background: var(--soft-red); color: var(--red); }
.icon-wrap svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.featured .icon-wrap { background: var(--red); color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.split-content { display: grid; gap: 1.35rem; }
.split-content ul, .check-list { display: grid; gap: .75rem; padding: 0; margin: .5rem 0 0; list-style: none; }
.split-content li, .check-list li { position: relative; padding-left: 1.7rem; }
.split-content li::before, .check-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.strategy-visual { position: relative; min-height: 460px; border-radius: 28px; background: #1b1d1f; overflow: hidden; box-shadow: var(--shadow); }
.strategy-visual::before, .strategy-visual::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.strategy-visual::before { width: 360px; height: 360px; right: -30px; top: -20px; }
.strategy-visual::after { width: 220px; height: 220px; left: -40px; bottom: -35px; }
.visual-node { position: absolute; display: grid; place-items: center; width: 92px; height: 92px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; font-size: .75rem; text-align: center; }
.visual-node.main { left: 50%; top: 50%; width: 134px; height: 134px; transform: translate(-50%, -50%); background: var(--red); border-color: var(--red); font-size: .9rem; font-weight: 750; }
.visual-node.n1 { left: 8%; top: 12%; }.visual-node.n2 { right: 8%; top: 15%; }.visual-node.n3 { left: 11%; bottom: 10%; }.visual-node.n4 { right: 10%; bottom: 9%; }
.method { counter-reset: method; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.method-step { position: relative; padding: 2rem 1.3rem 0 0; border-top: 1px solid #555; }
.method-step::before { counter-increment: method; content: "0" counter(method); position: absolute; top: -16px; left: 0; padding-right: .7rem; background: var(--surface-dark); color: var(--red); font-size: .82rem; font-weight: 800; }
.method-step h3 { font-size: 1rem; letter-spacing: -.01em; }
.method-step p { margin-top: .7rem; font-size: .86rem; line-height: 1.55; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 3rem; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; border-top: 1px solid #aeb1b3; }
.timeline-item { position: relative; padding: 2rem 1.2rem 0 0; }
.timeline-item::before { content: ""; position: absolute; top: 3px; width: 13px; height: 13px; border-radius: 50%; background: var(--surface); border: 3px solid var(--red); }
.timeline-item.future::after { content: ""; position: absolute; top: 9px; left: 0; right: 0; border-top: 1px dashed var(--red); }
.timeline-item.future::before { z-index: 1; }
.timeline-item h3 { font-size: 1rem; }
.timeline-item p { margin-top: .7rem; color: var(--muted); font-size: .88rem; }
.process-flow { display: grid; gap: 1rem; max-width: 820px; margin-inline: auto; text-align: center; }
.flow-box { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-weight: 750; }
.flow-box.accent { background: var(--red); color: #fff; border-color: var(--red); }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.flow-arrow { color: var(--red); font-size: 1.8rem; line-height: 1; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; font-weight: 750; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--red); font-size: 1.4rem; transition: .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details div { max-width: 820px; padding: 0 0 1.4rem; color: var(--muted); }
.cta-section { padding-top: 0; }
.cta-box { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: clamp(2rem, 5vw, 4.5rem); border-radius: 26px; background: var(--red); color: #fff; }
.cta-box h2 { max-width: 720px; font-size: clamp(2rem, 4vw, 3.6rem); }
.cta-box p:not(.eyebrow) { max-width: 680px; margin-top: 1rem; color: #fae8ea; }
.cta-box .eyebrow { color: #fff; opacity: .8; }
.legal-wrap, .article-wrap { display: grid; grid-template-columns: minmax(0, 760px) 240px; justify-content: space-between; gap: 4rem; align-items: start; }
.prose { font-size: 1.06rem; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { margin-top: 2.8rem; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.prose h3 { margin-top: 2rem; font-size: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose .note { padding: 1.3rem; border-left: 3px solid var(--red); background: var(--soft-red); }
.side-nav { position: sticky; top: calc(var(--header) + 2rem); padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.side-nav strong { display: block; margin-bottom: .8rem; }
.side-nav a { display: block; padding: .4rem 0; color: var(--muted); font-size: .9rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.25rem; color: var(--muted); font-size: .9rem; }
.article-card .article-meta { margin-top: .7rem; }
.tag { display: inline-flex; padding: .35rem .65rem; border-radius: 999px; background: var(--soft-red); color: var(--red); font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.contact-info { display: grid; gap: 1.5rem; }
.contact-info a { color: var(--red); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; padding: clamp(1.4rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.field { display: grid; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border: 1px solid #c9cbcd; border-radius: 8px; background: #fff; padding: .75rem .9rem; color: var(--text); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); outline: 3px solid rgba(198,32,46,.12); }
.honeypot { position: absolute !important; left: -9999px !important; }
.form-message { grid-column: 1 / -1; padding: 1rem; border-radius: 8px; }
.form-message.success { background: #eaf6ee; color: #176532; }.form-message.error { background: var(--soft-red); color: #851622; }
.site-footer { padding: 5.5rem 0 1.4rem; background: #0b0c0e; color: #fff; border-top: 3px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem; }
.site-footer h2 { margin-bottom: 1rem; color: #fff; font-size: .84rem; letter-spacing: .07em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; color: #aeb1b3; font-size: .88rem; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; }
.footer-brand p { max-width: 280px; margin-top: 1rem; color: #c3c5c6; }
.footer-brand .small { font-size: .85rem; color: #85898c; }
.brand-footer { min-width: 0; background: transparent; }
.brand-footer img { width: min(100%, 320px); height: auto; border: 0; border-radius: 0; background: transparent !important; box-shadow: none; }
.side-nav span { display: block; padding: .35rem 0; color: var(--muted); font-size: .84rem; }
.footer-bottom { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding-top: 1.2rem; border-top: 1px solid #303336; color: #85898c; font-size: .78rem; }
.footer-company-meta { display: grid; gap: .35rem; }
.footer-credit { text-align: right; }
.footer-credit a { color: #c3c5c6; border-bottom: 1px solid rgba(197,35,43,.55); }
.footer-credit a:hover { color: #fff; border-bottom-color: var(--red); }
.whatsapp-float { position: fixed; z-index: 90; right: 1.1rem; bottom: 1.1rem; display: flex; align-items: center; gap: .55rem; padding: .75rem 1rem; border-radius: 999px; background: #fff; color: #1a1c1e; box-shadow: 0 10px 35px rgba(0,0,0,.16); font-size: .82rem; font-weight: 750; }
.whatsapp-float svg { width: 21px; height: 21px; fill: none; stroke: #16874b; stroke-width: 1.8; }

@media (max-width: 1500px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: var(--header) 0 auto; display: none; max-height: calc(100vh - var(--header)); overflow-y: auto; padding: 1.25rem 1rem 2rem; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: .15rem; }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.btn) { padding: .8rem .4rem; font-size: 1rem; }
  .main-nav .btn { margin-top: .6rem; }
  body.menu-open { overflow: hidden; }
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .method { grid-template-columns: repeat(3, 1fr); row-gap: 3rem; }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 2rem 0; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: span 3; }
}

@media (max-width: 760px) {
  :root { --header: 92px; }
  .header-inner { width: min(calc(100% - 1.4rem), 1680px); gap: .5rem; }
  .brand { min-width: min(250px, 68vw); }
  .brand:not(.brand-footer) img { width: min(250px, 68vw); height: auto; }
  .hero { min-height: auto; }
  .hero::before { inset: 0; width: auto; opacity: .45; }
  .hero::after { right: -125px; top: 18%; width: 230px; opacity: .55; }
  .hero-proof { flex-direction: column; gap: .5rem; }
  .page-hero { padding-top: 1rem; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4, .split, .contact-grid, .legal-wrap, .article-wrap { grid-template-columns: 1fr; }
  .method { grid-template-columns: 1fr; gap: 0; }
  .method-step { padding: 1.1rem 0 1.1rem 3.5rem; border-top: 0; border-left: 1px solid #555; }
  .method-step::before { top: 1rem; left: -1px; padding: 0 .65rem 0 0; }
  .timeline { grid-template-columns: 1fr; margin-left: .4rem; }
  .timeline::before { inset: 0 auto 0 5px; border-top: 0; border-left: 1px solid #aeb1b3; }
  .timeline-item { padding: 0 0 2rem 2rem; }
  .timeline-item::before { left: 0; top: 4px; transform: translateX(-1px); }
  .timeline-item.future::after { inset: 0 auto 0 5px; border-top: 0; border-left: 1px dashed var(--red); }
  .strategy-visual { min-height: 390px; }
  .visual-node { width: 76px; height: 76px; font-size: .68rem; }
  .visual-node.main { width: 112px; height: 112px; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .cta-box { align-items: flex-start; flex-direction: column; }
  .side-nav { position: static; order: -1; }
  .contact-form { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 430px) {
  .container { width: min(calc(100% - 1.4rem), var(--container)); }
  .hero-actions .btn { width: 100%; }
  .site-footer { padding-bottom: 6rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .footer-credit { text-align: left; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { width: 48px; height: 48px; padding: 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Entradas discretas durante a rolagem; sem JavaScript, o conteúdo permanece visível. */
.reveal-ready .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .72s cubic-bezier(.22,1,.36,1), transform .72s cubic-bezier(.22,1,.36,1); transition-delay: var(--reveal-delay, 0ms); }
.reveal-ready .reveal.reveal-from-left { transform: translate3d(-34px, 0, 0); }
.reveal-ready .reveal.reveal-from-right { transform: translate3d(34px, 0, 0); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

@media (prefers-reduced-motion: reduce) {
  .reveal-ready .reveal { opacity: 1; transform: none; }
}
