/* Auditor Sync landing page. Palette and type from the logo kit. */
:root {
	--ink: #0a2832;
	--petrol: #0d3b49;
	--teal: #177d99;
	--aqua: #6ec6dd;
	--amber: #f0a638; /* Alert seal only: never a background or text color. */
	--text: #1d2b30;
	--muted: #56676d;
	--line: #dbe5e8;
	--soft: #f3f8f9;
	--white: #fff;
	--ok: #1f8a4c;
	--radius: 14px;
	--shadow: 0 18px 50px rgba(10, 40, 50, .14);
	--head: "Space Grotesk", system-ui, sans-serif;
	--body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--petrol); }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; letter-spacing: -.02em; color: var(--petrol); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
code { font: 500 .88em/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--soft); border: 1px solid var(--line); border-radius: 6px; padding: .1em .4em; overflow-wrap: anywhere; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: 88px 0; }
.section--soft { background: var(--soft); }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-block; font: 600 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1 var(--body); padding: 15px 24px; border-radius: 10px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--petrol); color: var(--white); }
.btn--light { background: var(--white); color: var(--petrol); }
.btn--light:hover { background: var(--soft); color: var(--petrol); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--white); color: var(--white); }
.btn--outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn--outline:hover { background: var(--teal); color: var(--white); }
.btn--block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; font: 500 .92rem/1.4 var(--body); color: var(--teal); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--petrol); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(10, 40, 50, .96); backdrop-filter: blur(8px); }
.header__bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.header__logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--white); }
.nav .btn { padding: 10px 16px; font-size: .92rem; color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(110, 198, 221, .22), transparent 60%), var(--ink); color: rgba(255, 255, 255, .86); padding: 72px 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 48px; text-align: center; }
.hero h1 { color: var(--white); max-width: 900px; margin-inline: auto; }
.hero h1 em { font-style: normal; color: var(--aqua); }
.hero__lead { font-size: 1.18rem; max-width: 720px; margin: 0 auto 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 26px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; list-style: none; padding: 0; margin: 0; font-size: .93rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { color: var(--aqua); flex: none; }
.hero__shot { margin: 0 auto -1px; max-width: 1000px; }
.frame { background: #e9eef0; border-radius: 12px 12px 0 0; padding: 10px 10px 0; box-shadow: 0 -10px 60px rgba(0, 0, 0, .35); }
.frame__dots { display: flex; gap: 6px; padding: 2px 4px 10px; }
.frame__dots span { width: 10px; height: 10px; border-radius: 50%; background: #c5d0d4; }
.frame img { border-radius: 6px 6px 0 0; max-height: 520px; width: 100%; object-fit: cover; object-position: top; }

/* Problem cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); margin: 0; }
.card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 18px; position: relative; }
.card__icon::after { content: ""; position: absolute; top: -4px; right: -4px; width: 13px; height: 13px; border-radius: 50%; background: var(--amber); border: 2px solid var(--white); }
.punch { text-align: center; font: 700 1.35rem/1.3 var(--head); color: var(--petrol); margin: 48px 0 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding-top: 64px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--petrol); color: var(--white); font: 700 1.2rem/46px var(--head); text-align: center; }
.steps p { color: var(--muted); margin: 0; }

/* Checks */
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.check { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); }
.check h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.check p { color: var(--muted); margin: 0; font-size: .97rem; }
.tag { font: 600 .7rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; background: var(--petrol); color: var(--white); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 32px; list-style: none; padding: 0; margin: 48px 0 0; }
.features li { display: flex; gap: 10px; align-items: flex-start; }
.features svg { color: var(--teal); flex: none; margin-top: 4px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.gallery figure { margin: 0; }
.gallery a { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); box-shadow: 0 6px 20px rgba(10, 40, 50, .06); transition: box-shadow .2s; }
.gallery a:hover { box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.gallery a { position: relative; cursor: zoom-in; }
.gallery a::after { content: "Ampliar"; position: absolute; right: 10px; bottom: 10px; background: rgba(10, 40, 50, .78); color: var(--white); font: 600 .78rem/1 var(--body); padding: 7px 10px; border-radius: 999px; opacity: .85; }
.gallery a:hover::after { opacity: 1; }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* Pricing */
.billing { display: inline-flex; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-top: 8px; }
.billing button { border: 0; background: none; font: 600 .95rem/1 var(--body); color: var(--muted); padding: 11px 20px; border-radius: 999px; cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--petrol); color: var(--white); }
.billing small { font-weight: 500; color: var(--teal); margin-left: 4px; }
.billing button[aria-pressed="true"] small { color: var(--aqua); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.plan--pro { border-color: var(--teal); box-shadow: 0 10px 30px rgba(23, 125, 153, .12); }
.plan__name { font: 700 1.15rem/1.2 var(--head); color: var(--petrol); margin: 0 0 4px; }
.plan__who { color: var(--muted); font-size: .92rem; margin: 0 0 20px; min-height: 2.8em; }
.plan__price { font: 700 clamp(1.9rem, 2.6vw, 2.4rem)/1 var(--head); color: var(--petrol); letter-spacing: -.02em; white-space: nowrap; }
.plan__price span { font: 500 1rem/1 var(--body); color: var(--muted); letter-spacing: 0; }
.plan__brl { font-size: .9rem; font-weight: 600; color: var(--teal); min-height: 1.4em; margin: 6px 0 0; }
.plan__note { font-size: .86rem; color: var(--muted); min-height: 1.5em; margin: 4px 0 22px; }
.plan--featured { border: 2px solid var(--teal); background: linear-gradient(180deg, #eef8fb 0, var(--white) 140px); box-shadow: 0 16px 40px rgba(23, 125, 153, .2); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--teal); color: var(--white); font: 600 .74rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.plan__trial--text { color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; font-size: .94rem; flex: 1; }
.plan li { display: flex; gap: 8px; padding: 5px 0; }
.plan li svg { color: var(--teal); flex: none; margin-top: 4px; }
.plan__trial { text-align: center; margin: 12px 0 0; font-size: .92rem; line-height: 1.4; }
.plan[data-unavailable] .plan__buy { opacity: .45; pointer-events: none; }
.pricing__foot { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 32px; }

/* Compare table */
.compare { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); font-size: .97rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--petrol); color: var(--white); font-family: var(--head); font-size: 1.05rem; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 28%; }
.compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare .no { color: #9aa9ae; }
.compare .short { display: none; }
.table-scroll { overflow-x: auto; }

/* Connect tutorial */
.connect { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.tutorial { list-style: none; counter-reset: tut; padding: 0; margin: 0; }
.tutorial > li { position: relative; padding: 0 0 28px 58px; }
.tutorial > li::before { counter-increment: tut; content: counter(tut); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 10px; background: var(--teal); color: var(--white); font: 700 1.05rem/38px var(--head); text-align: center; }
.tutorial h3 { margin-bottom: 6px; }
.tutorial p { color: var(--muted); margin-bottom: .6em; }
.tutorial ul { color: var(--muted); margin: 0 0 .6em; padding-left: 20px; }
.callout { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 10px; padding: 16px 18px; font-size: .95rem; color: var(--muted); }
.connect__shot { position: sticky; top: 96px; }
.connect__shot img { border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.connect__shot p { font-size: .88rem; color: var(--muted); margin-top: 10px; text-align: center; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font: 600 1.08rem/1.4 var(--head); color: var(--petrol); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font: 400 1.6rem/1 var(--body); color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 22px; }

/* Contact form */
.contact { max-width: 760px; margin: 0 auto; display: grid; gap: 18px; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; font: 600 .92rem/1.3 var(--body); color: var(--petrol); }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem/1.5 var(--body); color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--aqua); outline-offset: 1px; border-color: var(--teal); }
.field [aria-invalid="true"] { border-color: #c0392b; }
.contact__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.contact__foot .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.contact__status { margin: 0; font-size: .95rem; color: var(--muted); }
.contact__status[data-state="ok"] { color: var(--ok); font-weight: 600; }
.contact__status[data-state="error"] { color: #c0392b; }
.contact__note { margin: 0; font-size: .85rem; color: var(--muted); }

/* Lightbox */
.lightbox { width: min(1200px, 100% - 24px); max-height: calc(100vh - 24px); border: 0; border-radius: var(--radius); padding: 44px 16px 16px; background: var(--white); box-shadow: var(--shadow); overflow: auto; }
.lightbox::backdrop { background: rgba(10, 40, 50, .8); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.lightbox figcaption { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 10px; }

/* Download dialog */
.dl { width: min(460px, 100% - 32px); border: 0; border-radius: var(--radius); padding: 32px 28px 28px; box-shadow: var(--shadow); color: var(--text); }
.dl::backdrop { background: rgba(10, 40, 50, .55); }
.dl h2 { font-size: 1.5rem; margin-right: 28px; }
.dl__close { position: absolute; top: 12px; right: 14px; background: none; border: 0; font: 400 1.8rem/1 var(--body); color: var(--muted); cursor: pointer; padding: 4px 8px; }
.dl__close:hover { color: var(--petrol); }
.dl__form { display: grid; gap: 14px; }
.dl__form .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.dl__steps { padding-left: 1.2em; margin: 0 0 16px; color: var(--muted); }
.dl__steps li { margin-bottom: 6px; }
.dl__steps strong { color: var(--text); }

/* Final CTA + footer */
.final { background: var(--petrol); color: rgba(255, 255, 255, .86); text-align: center; padding: 80px 0; }
.final h2 { color: var(--white); }
.final p { max-width: 620px; margin: 0 auto 28px; font-size: 1.1rem; }
.final .hero__cta { margin-bottom: 0; }
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 48px 0 36px; font-size: .92rem; }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer img { height: 26px; width: auto; margin-bottom: 12px; }
.footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 22px; font-size: .82rem; color: rgba(255, 255, 255, .55); }

/* Responsive */
@media (max-width: 1000px) {
	.plans { grid-template-columns: repeat(2, 1fr); }
	.checks, .features { grid-template-columns: repeat(2, 1fr); }
	.connect { grid-template-columns: 1fr; }
	.connect__shot { position: static; }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.section { padding: 64px 0; }
	.nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 8px 20px 20px; }
	.nav.is-open { display: flex; }
	.nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.nav .btn { margin-top: 12px; border-bottom: 0; }
	.nav-toggle { display: block; }
	.cards, .steps, .checks, .features, .plans { grid-template-columns: 1fr; }
	.gallery { grid-template-columns: 1fr; }
	.hero__cta .btn { width: 100%; }
	.plan__who, .plan__note { min-height: 0; }
	.contact__row { grid-template-columns: 1fr; }
	.compare { font-size: .88rem; }
	.compare th, .compare td { padding: 10px 10px; }
	.compare td:not(:first-child), .compare th:not(:first-child) { width: 24%; }
	.compare .long { display: none; }
	.compare .short { display: inline; }
	.lightbox { padding: 44px 8px 12px; }
	.lightbox figure { overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.lightbox img { width: 960px; max-width: none; }
	.lightbox figcaption::after { content: " Arraste para ver a tela inteira."; }
	.contact__foot .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn { transition: none; }
}
