/* Site público do SUPER Esquadrias. CSS próprio, sem build (servido de public/).
   Marca: docs/branding/brand-implementation-2026-06-07.md. Âmbar é cor clara:
   texto sobre âmbar é sempre ink, nunca branco. */
:root {
    --ink: #14171c;
    --graphite: #3a3a3a;
    --muted: #4f555d;
    --steel-light: #cfcfcf;
    --line: #e2e5e8;
    --paper: #f4f6f7;
    --white: #ffffff;
    --amber: #c87e1c;
    --amber-soft: #fbf1e3;
    --amber-text: #8a560f;
    --radius: 12px;
    --max: 1160px;
    --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
figure { margin: 0; min-width: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--amber); color: var(--ink); padding: .5rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--white); }
.section--line { border-top: 1px solid var(--line); }

.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-text); }
.section--ink .kicker { color: var(--amber); }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 44rem; }
.section--ink .lead { color: #d5d8dc; }
.head { max-width: 46rem; margin-bottom: 40px; }
.head h2 { margin-top: 10px; }
.head .lead { margin-top: 14px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.35rem; border-radius: 10px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.btn--primary { background: var(--amber); color: var(--ink); }
.btn--primary:hover { background: #b5701a; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.section--ink .btn--ghost { color: var(--white); border-color: var(--white); }
.section--ink .btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--small { min-height: 40px; padding: .45rem 1rem; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.note { margin-top: 14px; font-size: .95rem; color: var(--muted); }
.section--ink .note { color: #c3c7cc; }

/* Cabeçalho */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px); }
.top__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { display: block; width: 172px; height: auto; }
.nav { display: none; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-weight: 600; color: var(--graphite); font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.top__actions { display: flex; align-items: center; gap: 10px; }
.login { font-weight: 700; text-decoration: none; padding: .45rem .8rem; border-radius: 8px; border: 1px solid var(--steel-light); color: var(--ink); }
.login:hover { border-color: var(--ink); }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; min-height: 40px; display: inline-flex; align-items: center; padding: .4rem .8rem; border: 1px solid var(--steel-light); border-radius: 8px; font-weight: 700; }
.menu summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(86vw, 300px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(20,23,28,.14); padding: 10px; display: grid; gap: 2px; }
.menu__panel a { display: block; padding: .7rem .8rem; border-radius: 8px; text-decoration: none; font-weight: 600; }
.menu__panel a:hover { background: var(--paper); }
.top .cta-desktop { display: none; }
@media (min-width: 960px) {
    .nav { display: flex; }
    .menu { display: none; }
    .top .cta-desktop { display: inline-flex; }
}

/* Hero */
.hero { padding: 48px 0 64px; background: linear-gradient(180deg, var(--paper) 0%, var(--white) 100%); }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero__grid > *, .module > * { min-width: 0; }
@media (min-width: 980px) { .hero { padding: 72px 0 88px; } .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.hero h1 { margin-top: 14px; }
.hero .lead { margin-top: 18px; }
.checks { list-style: none; display: grid; gap: 10px; margin-top: 22px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 5px; background: var(--amber); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.3em + 3px); width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.section--ink .checks li::after { border-color: var(--ink); }

/* Tela ilustrativa */
.screen { background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgba(20,23,28,.12); overflow: hidden; font-size: .9rem; }
.screen__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--ink); color: var(--white); font-weight: 600; font-size: .85rem; }
.screen__bar span { width: 10px; height: 10px; border-radius: 50%; background: #3f444b; flex: none; }
.screen__bar span:first-child { background: var(--amber); }
.screen__bar strong { margin-left: 6px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen__body { padding: 16px; }
.rows { list-style: none; }
.rows li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows small { display: block; color: var(--muted); font-size: .82rem; }
.rows b { white-space: nowrap; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.stats div { background: var(--paper); border-radius: 10px; padding: 10px; }
.stats dt { font-size: .75rem; color: var(--muted); }
.stats dd { margin: 2px 0 0; font-weight: 800; font-size: 1.05rem; }
.pill { display: inline-block; margin-top: 12px; padding: 4px 12px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-text); font-weight: 700; font-size: .8rem; }
.caption { margin-top: 10px; font-size: .8rem; color: var(--muted); }
.bars { list-style: none; display: grid; gap: 12px; }
.bars__head { display: flex; justify-content: space-between; font-size: .82rem; }
.bar { display: flex; gap: 2px; height: 26px; margin-top: 4px; border-radius: 6px; overflow: hidden; background: var(--paper); }
.bar i { display: flex; align-items: center; justify-content: center; font-style: normal; font-size: .7rem; font-weight: 700; background: var(--graphite); color: var(--white); }
.bar i.r { background: var(--amber); color: var(--ink); }

/* Cartões e grades */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.section--paper .card { border-color: #dde1e5; }
.card p { margin-top: 8px; color: var(--muted); }
.card--link { text-decoration: none; display: block; transition: border-color .15s, transform .15s; }
.card--link:hover { border-color: var(--amber); transform: translateY(-2px); }
.card .more { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--amber-text); }
.icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--amber); color: var(--ink); font-weight: 800; margin-bottom: 14px; }
.card--dark { background: #1d2127; border-color: #2c3138; }
.card--dark p { color: #c9cdd2; }

/* Passos */
.steps { list-style: none; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { counter-increment: step; background: #1d2127; border: 1px solid #2c3138; border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(step); display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--amber); color: var(--ink); font-weight: 800; margin-bottom: 12px; }
.steps p { color: #c9cdd2; margin-top: 6px; }

/* Planos */
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 760px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid #d8dce0; border-radius: 16px; padding: 26px 22px; }
.plan--featured { border: 2px solid var(--amber); box-shadow: 0 18px 44px rgba(200,126,28,.18); }
.plan__badge { position: absolute; top: -13px; left: 22px; background: var(--amber); color: var(--ink); font-weight: 800; font-size: .78rem; padding: 3px 12px; border-radius: 999px; }
.plan__who { color: var(--muted); margin-top: 4px; }
.plan__price { margin-top: 18px; font-size: 2.2rem; font-weight: 800; line-height: 1.1; }
.plan__price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.plan__setup { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.plan ul { list-style: none; display: grid; gap: 8px; margin: 18px 0 22px; }
.plan li { position: relative; padding-left: 22px; font-size: .96rem; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 9px; height: 9px; border-radius: 2px; background: var(--amber); }
.plan .btn { margin-top: auto; width: 100%; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 54rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--amber-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* Funcionalidades */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; list-style: none; }
.toc a { display: inline-block; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--steel-light); text-decoration: none; font-weight: 600; font-size: .92rem; background: var(--white); }
.toc a:hover { border-color: var(--amber); }
.module { display: grid; gap: 22px; padding: 44px 0; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
@media (min-width: 900px) { .module { grid-template-columns: 1fr 1.25fr; gap: 48px; } }
.module h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 8px; }
.module .lead { margin-top: 12px; font-size: 1.05rem; }
.module .checks { margin-top: 0; }

/* Faixa final */
.cta-band { background: var(--ink); color: var(--white); border-radius: 18px; padding: 36px 24px; display: grid; gap: 20px; }
@media (min-width: 900px) { .cta-band { padding: 52px; grid-template-columns: 1.6fr 1fr; align-items: center; } }
.cta-band p { color: #d5d8dc; margin-top: 10px; }
.cta-band .actions { margin-top: 0; }
@media (min-width: 900px) { .cta-band .actions { justify-content: flex-end; } }
.cta-band .btn--ghost { color: var(--white); border-color: var(--white); }
.cta-band .btn--ghost:hover { background: var(--white); color: var(--ink); }

/* Rodapé */
.foot { background: var(--ink); color: #c9cdd2; padding: 56px 0 32px; font-size: .95rem; }
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover { text-decoration: underline; text-decoration-color: var(--amber); }
.foot__grid { display: grid; gap: 32px; }
@media (min-width: 860px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot h2 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.foot ul { list-style: none; display: grid; gap: 8px; }
.foot__brand img { width: 190px; }
.foot__brand p { margin-top: 14px; max-width: 26rem; }
.foot__credit { margin-top: 40px; padding-top: 22px; border-top: 1px solid #2c3138; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot__credit strong { color: var(--white); }

/* Botão flutuante do WhatsApp (só celular) */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; padding: .75rem 1rem; border-radius: 999px; background: var(--ink); color: var(--white); font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px rgba(20,23,28,.3); }
.wa-float::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #25d366; }
@media (min-width: 960px) { .wa-float { display: none; } }

.page-head { padding: 48px 0 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .page-head { padding: 72px 0 40px; } }
.page-head h1 { margin-top: 10px; font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
.page-head .lead { margin-top: 14px; }
.crumbs { font-size: .9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Âncoras não ficam sob o cabeçalho fixo. */
[id] { scroll-margin-top: 84px; }
