/* Brisbane Surface Solutions — site refeito. Navy nos textos fortes, laranja só no que pede ação. */
:root {
  --navy: #0f1d3a;
  --navy-2: #172a52;
  --orange: #ff6a2c;
  --orange-2: #e8561a;
  --ink: #1b2436;
  --ink-2: #4a5568;
  --line: #dde2ea;
  --bg: #ffffff;
  --bg-alt: #f2f4f7;
  --radius: 10px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Archivo', system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
svg { width: 1.1em; height: 1.1em; flex: none; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-stretch: 85%; font-variation-settings: 'wdth' 85; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .75em 1.25em; border-radius: 8px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; line-height: 1.2; transition: background .15s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-2); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-lg { padding: .95em 1.5em; font-size: 1.05rem; }

/* Topo */
.topbar { position: sticky; top: 0; z-index: 40; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar-in { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: .95rem; }
.nav a { text-decoration: none; color: rgba(255,255,255,.78); }
.nav a:hover { color: #fff; }
.topbar .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }

/* Hero */
.hero { background-size: cover; background-position: center; color: #fff; padding: 72px 0; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.lead { font-size: 1.12rem; color: rgba(255,255,255,.88); max-width: 60ch; }
.badges { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; }
.badges li { display: flex; align-items: center; gap: 8px; }
.badges svg { color: var(--orange); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--orange); margin-bottom: .75em; }
.eyebrow a { color: inherit; }
.eyebrow.light { color: #ffb08f; }

/* Formulário */
.quote { background: #fff; color: var(--ink); border-radius: 14px; padding: 26px; box-shadow: 0 20px 50px rgba(0,0,0,.28); display: grid; gap: 12px; }
.quote-title { font-size: 1.5rem; margin: 0 0 4px; }
.quote label { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.quote input, .quote select, .quote textarea { font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #c9d0db; border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.quote textarea { resize: vertical; }
.quote button { width: 100%; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.quote .cf-turnstile { min-height: 65px; }
.form-msg { margin: 0; font-weight: 600; min-height: 1.2em; }
.form-msg.ok { color: #157a3c; }
.form-msg.err { color: #b42318; }

/* Seções */
.section { padding: 88px 0; }
.alt { background: var(--bg-alt); }
.dark { background: var(--navy); color: rgba(255,255,255,.85); }
.dark h2, .dark h3 { color: #fff; }
.intro { color: var(--ink-2); max-width: 70ch; font-size: 1.08rem; margin-bottom: 40px; }
.dark .intro { color: rgba(255,255,255,.75); }
.two { display: grid; grid-template-columns: 1.3fr .9fr; gap: 56px; align-items: start; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.help { background: var(--navy); color: #fff; border: 0; }
.help h3 { color: #fff; }
.help .checks svg { color: var(--orange); }
.muted { color: rgba(255,255,255,.7); font-size: .95rem; margin: 16px 0 0; }
.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { color: var(--orange); margin-top: .3em; }
.pillars { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 14px; }
.pillars li { border-left: 3px solid var(--orange); padding-left: 14px; color: var(--ink-2); }
.pillars strong { display: block; color: var(--navy); }

.services { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.services li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; }
.services h3 { margin: 0; font-size: 1.05rem; }
.services .num { color: var(--orange); font-weight: 800; font-stretch: 75%; font-variation-settings: 'wdth' 75; font-size: 1.4rem; }
.services a { color: var(--navy); display: inline-flex; padding: 6px; border-radius: 6px; }
.services a:hover { background: var(--bg-alt); color: var(--orange); }

/* Projetos: antes e depois */
.project { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.project.flip .compare { order: 2; }
.compare { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; max-height: 620px; background: #ddd; }
.compare > img, .compare-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); pointer-events: none; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.tag { position: absolute; top: 14px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.tag-before { left: 14px; background: rgba(15,29,58,.85); color: #fff; }
.tag-after { right: 14px; background: var(--orange); color: #fff; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.thumb img { width: 64px; height: 84px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.thumb:hover img { outline: 2px solid var(--orange); }

.why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; }
.why li { background: var(--navy); padding: 30px; }
.why p { margin: 0; }

.steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { border-top: 3px solid var(--navy); padding-top: 18px; }
.steps .num { display: block; font-size: 2.6rem; font-weight: 800; color: var(--orange); font-stretch: 75%; font-variation-settings: 'wdth' 75; line-height: 1; margin-bottom: 10px; }
.steps p { color: var(--ink-2); }

.areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.areas li { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .95rem; }
.areas svg { color: var(--orange); }

.testimonials { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonials li { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.testimonials blockquote { margin: 0 0 18px; font-size: 1.05rem; }
.testimonials p { margin: 0; }
.testimonials strong { display: block; color: var(--navy); }
.testimonials span { color: var(--ink-2); font-size: .9rem; }

details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--orange); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { padding: 0 22px 18px; margin: 0; color: var(--ink-2); }

.cta { background: var(--orange); color: #fff; padding: 56px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-primary { background: var(--navy); }
.cta .btn-primary:hover { background: var(--navy-2); }

.footer { background: #0a1428; color: rgba(255,255,255,.75); padding: 56px 0 24px; font-size: .95rem; }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer h2 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.footer a:hover { color: #fff; }
.footer img { margin-bottom: 14px; width: 130px; }
.social { margin-top: 14px; }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .85rem; }

/* Blog */
.posts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.posts a { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; }
.posts img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.posts h2 { font-size: 1.3rem; margin: 18px 22px 8px; }
.posts p { margin: 0 22px 12px; color: var(--ink-2); }
.posts span { display: inline-flex; align-items: center; gap: 6px; margin: 0 22px 22px; color: var(--orange); font-weight: 700; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); margin: 24px 0; }
.prose figure { margin: 0; }
.prose li { margin-bottom: .4em; }
.post-cta { margin-top: 48px; background: var(--bg-alt); }
.post-cta h2 { font-size: 1.4rem; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(5,10,20,.85); }
.lightbox img { max-height: 88vh; width: auto; border-radius: 8px; }
.lightbox button { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; font-size: 1.6rem; cursor: pointer; }

.mobilebar { display: none; }

/* Celular */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero-in, .two, .project { grid-template-columns: 1fr; gap: 32px; }
  .project.flip .compare { order: 0; }
  .compare { max-height: 520px; }
  .services, .why, .steps, .testimonials { grid-template-columns: 1fr 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .hide-sm { display: none; }
  .topbar-in { height: 64px; }
  .brand img { height: 44px; }
  .topbar .btn-primary { margin-left: auto; padding: .6em 1em; }
  .hero { padding: 40px 0; }
  .section { padding: 60px 0; }
  .services, .why, .steps, .testimonials, .posts, .footer-in { grid-template-columns: 1fr; }
  .quote { padding: 20px; }
  .mobilebar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; inset: auto 0 0 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); z-index: 50; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

.project h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

/* Pedido em 2 etapas */
.quote [hidden] { display: none !important; }
.quote form, #quote-done { display: grid; gap: 12px; }
.quote-step { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 6px; }
.quote-step.ok { color: #157a3c; }
.quote-sub { margin: -4px 0 4px; color: var(--ink-2); font-size: .95rem; }
.opt { font-weight: 400; color: #8a94a6; }
.quote fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.quote legend { font-size: .85rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 8px 12px; border: 1px solid #c9d0db; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--ink); background: #fff; }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; align-items: end; }
.photos { position: relative; }
.photos input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.photos-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border: 2px dashed #c9d0db; border-radius: 10px; color: var(--navy); font-weight: 700; font-size: 1rem; background: var(--bg-alt); }
.photos:focus-within .photos-btn { outline: 3px solid var(--orange); outline-offset: 2px; }
.photo-previews { display: flex; flex-wrap: wrap; gap: 8px; }
.photo-previews:empty { display: none; }
.pv { position: relative; }
.pv img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.pv button { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 14px; line-height: 1; cursor: pointer; }
.details-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.wa-link { display: flex; align-items: center; justify-content: center; gap: 8px; color: #128c4a; font-weight: 700; font-size: .95rem; text-decoration: none; padding: 6px; }
.wa-link svg { width: 1.3em; height: 1.3em; }
.wa-link:hover { text-decoration: underline; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
