:root {
  --navy: #003368;
  --navy-deep: #001f42;
  --orange: #f7941d;
  --ink: #17212b;
  --muted: #5b6570;
  --line: #dce2e7;
  --soft: #f2f5f7;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 36, 74, .12);
  --media-base: "./media/"; /* trocar as URLs no HTML por PUBLIC_MEDIA_BASE do R2 no deploy */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 400 1rem/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .btn { min-height: 46px; }
:focus-visible { outline: 3px solid #ffb84d; outline-offset: 3px; }
.skip { position: fixed; top: -80px; left: 16px; z-index: 1000; background: #fff; color: var(--navy); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.topbar { background: var(--navy-deep); color: #fff; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 18px; padding-block: 8px; }
.topbar-links { display: flex; gap: 18px; }
.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(0,51,104,.08); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 168px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; font-weight: 650; font-size: .94rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); }
.nav-toggle { display: none; border: 0; background: none; color: var(--navy); padding: 9px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 999px; padding: 11px 20px; font-weight: 750; cursor: pointer; transition: .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #17212b; box-shadow: 0 8px 22px rgba(247,148,29,.25); }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-light { background: #fff; color: var(--navy); }
.hero { position: relative; isolation: isolate; min-height: 680px; display: grid; align-items: center; color: #fff; overflow: hidden; background: var(--navy-deep); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("media/portao-slim-hero.jpg") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,24,52,.96) 0%, rgba(0,38,79,.78) 48%, rgba(0,24,52,.22) 100%); }
.hero-content { max-width: 720px; padding-block: 90px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--orange); font-size: .85rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; }
h1, h2, h3 { font-family: "Arial Narrow", Inter, system-ui, sans-serif; line-height: 1.08; letter-spacing: -.025em; }
h1 { max-width: 700px; margin: 0 0 22px; font-size: clamp(2.8rem, 7vw, 5.5rem); text-transform: uppercase; }
h2 { margin: 0 0 18px; color: var(--navy); font-size: clamp(2rem, 4.6vw, 3.5rem); }
h3 { margin: 0 0 10px; font-size: 1.35rem; }
.hero p { max-width: 650px; margin: 0 0 30px; color: rgba(255,255,255,.88); font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 760px; margin-top: 50px; border-top: 1px solid rgba(255,255,255,.25); }
.proof { padding: 20px 24px 0 0; }
.proof strong { display: block; font-size: 1.05rem; }
.proof span { color: rgba(255,255,255,.67); font-size: .88rem; }
.section { padding: 90px 0; }
.section-soft { background: var(--soft); }
.section-dark { color: #fff; background: var(--navy-deep); }
.section-dark h2 { color: #fff; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-heading > div { max-width: 720px; }
.section-heading p, .lead { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-heading p, .section-dark .lead { color: rgba(255,255,255,.73); }
.need-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.need-card { min-height: 180px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: .2s; }
.need-card:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-3px); }
.icon-box { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 13px; color: #fff; background: var(--navy); font-size: 1.35rem; }
.need-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.arrow { display: inline-block; margin-top: 14px; color: var(--navy); font-weight: 800; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.product-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #e8edf1; }
.product-card-body { padding: 24px; }
.tag { display: inline-block; margin-bottom: 10px; color: var(--navy); font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.product-card p { color: var(--muted); }
.feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.feature-media { position: relative; }
.feature-media img { width: 100%; border-radius: 28px; box-shadow: var(--shadow); }
.feature-badge { position: absolute; right: -20px; bottom: -25px; width: 180px; padding: 20px; border-radius: 16px; background: var(--orange); color: var(--ink); font-weight: 800; box-shadow: var(--shadow); }
.check-list { display: grid; gap: 13px; margin: 28px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 31px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.service-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 55px; border-radius: 28px; background: var(--navy); color: #fff; }
.service-panel h2 { color: #fff; }
.symptoms { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 24px 0; padding: 0; list-style: none; }
.symptoms li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.17); }
.quick-form, .form-card { padding: 28px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1/-1; }
label { font-size: .88rem; font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid #bcc7d0; border-radius: 10px; padding: 12px 13px; color: var(--ink); background: #fff; }
textarea { min-height: 110px; resize: vertical; }
.fine { color: var(--muted); font-size: .8rem; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding-top: 70px; }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; color: var(--orange); font-size: 2.2rem; font-weight: 900; }
.step::after { content: ""; position: absolute; top: 30px; left: 55px; right: 5px; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.location { display: grid; grid-template-columns: .9fr 1.1fr; gap: 55px; align-items: stretch; }
.map-placeholder { min-height: 390px; display: grid; place-items: center; padding: 30px; border-radius: 24px; color: #fff; background: linear-gradient(145deg, var(--navy), var(--navy-deep)); text-align: center; }
.faq { display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 18px 20px; }
summary { color: var(--navy); font-weight: 800; cursor: pointer; }
details p { color: var(--muted); }
.cta { padding: 55px; border-radius: 28px; background: var(--orange); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta h2 { color: var(--ink); margin-bottom: 8px; }
.cta p { margin: 0; }
.footer { padding: 65px 0 28px; color: rgba(255,255,255,.74); background: #00152e; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 42px; }
.footer img { width: 170px; filter: brightness(0) invert(1); }
.footer h3 { color: #fff; font-size: 1rem; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin: 8px 0; }
.footer-bottom { margin-top: 45px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.13); display: flex; justify-content: space-between; gap: 20px; font-size: .82rem; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 45; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #fff; background: #167d45; box-shadow: 0 8px 30px rgba(0,0,0,.22); font-weight: 900; }
.cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 100; display: none; max-width: 780px; margin: auto; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.cookie.show { display: block; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.page-hero { padding: 82px 0 65px; color: #fff; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); }
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); }
.breadcrumbs { margin-bottom: 20px; color: rgba(255,255,255,.7); font-size: .9rem; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.filter { border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; background: #fff; cursor: pointer; }
.filter.active { color: #fff; border-color: var(--navy); background: var(--navy); }
.quote-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 45px; align-items: start; }
.quote-aside { position: sticky; top: 115px; }
.progress { display: flex; gap: 7px; margin-bottom: 24px; }
.progress span { height: 6px; flex: 1; border-radius: 9px; background: #dce2e7; }
.progress span.active { background: var(--orange); }
.status { margin-top: 14px; padding: 12px; border-radius: 10px; background: #eaf6ef; color: #155f39; display: none; }
.status.show { display: block; }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links { position: absolute; left: 0; right: 0; top: 78px; display: none; flex-direction: column; align-items: stretch; padding: 24px; border-bottom: 1px solid var(--line); background: #fff; }
  .nav-links.open { display: flex; }
  .need-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid, .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .feature, .service-panel, .location, .quote-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quote-aside { position: static; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-links { display: none; }
  .brand img { width: 136px; }
  .hero { min-height: 620px; }
  .hero-content { padding-block: 70px; }
  .hero-proof { grid-template-columns: 1fr; }
  .proof { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .section { padding: 64px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .need-grid, .product-grid, .catalog-grid, .steps, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .service-panel, .cta { padding: 28px; }
  .symptoms { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .feature-badge { right: 10px; bottom: -18px; }
  .cta { align-items: start; flex-direction: column; }
  .footer-bottom { flex-direction: column; }
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
