:root {
  --red: #e61e2b;
  --red-d: #b8141f;
  --blue: #1e3a8a;
  --blue-d: #14265c;
  --yellow: #facc15;
  --ink: #16181d;
  --text: #33373f;
  --muted: #5d636e;
  --line: #e4e1da;
  --paper: #faf8f4;
  --soft: #f1ede5;
  --wa: #1fa855;
  --radius: 14px;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .005em; }
p { margin: 0 0 1em; }
svg { width: 1.1em; height: 1.1em; flex: none; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* Faixa zebrada de obra */
.stripe { height: 12px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--ink) 18px 36px); }

/* Topbar */
.topbar { background: var(--blue-d); color: #dfe6f7; font-size: 14px; }
.topbar-in { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; padding: 8px 0; }
.topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { color: var(--yellow); }
.topbar a { text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--yellow); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: var(--red); box-shadow: 0 6px 20px rgb(0 0 0 / .18); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand-mark { width: 46px; height: 46px; border-radius: 10px; background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: 0 3px 0 var(--red-d); }
.brand-mark svg { width: 30px; height: 30px; }
.brand-text { display: flex; flex-direction: column; margin: 0; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 28px; text-transform: uppercase; letter-spacing: .04em; }
.brand-sub { font-size: 11px; font-weight: 700; color: var(--yellow); text-transform: uppercase; letter-spacing: .16em; margin-top: 3px; }
.nav { display: flex; gap: 26px; }
.nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; position: relative; padding: 4px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -2px; height: 3px; background: var(--yellow); transition: right .2s; }
.nav a:hover::after { right: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background .15s, box-shadow .15s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.3em; height: 1.3em; }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-lg { padding: 16px 28px; font-size: 18px; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 4px 0 #127a3c; }
.btn-wa:hover { background: #22b95e; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 #c9a10b; }
.btn-yellow svg { color: var(--red); }
.btn-light { background: #fff; color: var(--blue); box-shadow: 0 4px 0 #c6cddd; }
.btn-light svg { color: var(--red); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-d); }
.btn-ghost { border-color: rgb(255 255 255 / .6); color: #fff; }
.btn-ghost:hover { background: rgb(255 255 255 / .1); }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--blue-d); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(95deg, rgb(20 38 92 / .96) 0%, rgb(20 38 92 / .82) 42%, rgb(230 30 43 / .25) 100%); }
.hero-in { position: relative; padding: 96px 0 84px; max-width: 1180px; }
.hero h1 { color: #fff; font-size: clamp(42px, 6.4vw, 82px); font-weight: 800; text-transform: uppercase; max-width: 14ch; margin-bottom: 20px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); max-width: 58ch; color: #e8ecf7; }
.badge { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 99px; margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 0; }
.hero-facts { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgb(255 255 255 / .25); max-width: 720px; }
.hero-facts li { padding: 16px 28px 0 0; margin-right: 28px; color: #cdd5ea; font-size: 15px; }
.hero-facts strong { display: block; font-family: var(--display); font-size: 28px; color: var(--yellow); line-height: 1.1; }

/* Sections */
.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--ink); color: #c9ccd3; }
.section-dark .h2 { color: #fff; }
.h2 { font-size: clamp(34px, 4.2vw, 54px); font-weight: 800; text-transform: uppercase; }
.eyebrow { font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .14em; font-size: 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ''; width: 28px; height: 4px; background: currentColor; }
.eyebrow-y { color: var(--yellow); }
.center .eyebrow { justify-content: center; }
.sec-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 44px; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgb(22 24 29 / .12); }
.card-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-num { position: absolute; left: 0; bottom: 0; background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-size: 22px; padding: 4px 14px; }
.card:nth-child(3n + 2) .card-num { background: var(--blue); }
.card:nth-child(3n) .card-num { background: var(--yellow); color: var(--ink); }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 28px; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; }
.card h3 a { text-decoration: none; }
.card p { color: var(--muted); font-size: 16px; flex: 1; }
.card-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px dashed var(--line); padding-top: 14px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); text-decoration: none; font-size: 15px; }
.link:hover { text-decoration: underline; }
.link-wa { color: var(--wa); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.steps li { background: #20232a; padding: 28px 24px 30px; border-top: 4px solid var(--yellow); }
.steps li:nth-child(2) { border-color: var(--red); }
.steps li:nth-child(3) { border-color: #6f8fe0; }
.steps li:nth-child(4) { border-color: var(--wa); }
.steps span { font-family: var(--display); font-size: 54px; font-weight: 800; color: rgb(255 255 255 / .16); line-height: 1; }
.steps h3 { color: #fff; font-size: 26px; text-transform: uppercase; margin: 10px 0 8px; }
.steps p { font-size: 16px; margin: 0; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.checks svg { color: #fff; background: var(--wa); border-radius: 50%; padding: 3px; width: 24px; height: 24px; margin-top: 1px; }
.loc-card { background: var(--blue); color: #dbe3f6; border-radius: 20px; padding: 34px; box-shadow: 0 24px 50px rgb(20 38 92 / .3); }
.loc-card h3 { color: var(--yellow); font-size: 32px; text-transform: uppercase; }
.loc-card dl { margin: 22px 0 26px; display: grid; gap: 16px; }
.loc-card dt { display: flex; align-items: center; gap: 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #a9b7de; }
.loc-card dt svg { color: var(--yellow); }
.loc-card dd { margin: 2px 0 0; color: #fff; font-weight: 600; font-size: 18px; }
.loc-card dd a { text-decoration: none; }
.map { width: 100%; height: 230px; border: 0; border-radius: 12px; margin-top: 18px; background: var(--blue-d); }

/* FAQ */
.faq { margin-top: 30px; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 19px; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 12px; font-family: var(--display); font-size: 34px; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* CTA */
.cta-band { background: var(--red); color: #fff; background-image: radial-gradient(rgb(255 255 255 / .12) 1px, transparent 1px); background-size: 16px 16px; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 56px 0; flex-wrap: wrap; }
.cta-in h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); text-transform: uppercase; margin-bottom: 6px; }
.cta-in p { margin: 0; color: #ffe1e3; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Service page */
.page-hero { background: var(--blue-d); color: #fff; background-image: linear-gradient(120deg, var(--blue-d) 0%, var(--blue) 60%, #3a1d5a 100%); }
.page-hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; padding: 64px 0 72px; }
.page-hero h1 { color: #fff; font-size: clamp(38px, 5vw, 64px); font-weight: 800; text-transform: uppercase; }
.page-hero-img img { border-radius: 18px; box-shadow: 0 30px 60px rgb(0 0 0 / .35); border: 6px solid #fff; width: 100%; height: auto; }
.crumbs { font-size: 14px; color: #a9b7de; margin-bottom: 18px; }
.crumbs a { color: #fff; }
.detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.uses { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--yellow); border-radius: var(--radius); padding: 28px; }
.uses ul { padding-left: 20px; margin: 0 0 18px; color: var(--ink); font-weight: 600; }
.grid-5 { grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 30px; }
.mini { background: #fff; border-radius: 12px; overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .2s; }
.mini:hover { transform: translateY(-3px); }
.mini img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; }
.mini span { display: block; padding: 12px 14px; font-family: var(--display); font-weight: 700; font-size: 20px; text-transform: uppercase; color: var(--ink); line-height: 1.1; }

/* Footer */
.footer { background: var(--ink); color: #b8bcc5; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 48px; padding: 60px 0 40px; }
.footer .brand-mark { background: var(--red); color: #fff; box-shadow: none; }
.footer .brand { margin-bottom: 18px; }
.footer .muted { color: #8f95a0; }
.f-title { font-family: var(--display); font-size: 20px; text-transform: uppercase; letter-spacing: .08em; color: var(--yellow); margin-bottom: 14px; }
.uses .f-title { color: var(--ink); }
.f-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.f-links a, .footer-bottom a, .f-contact a { color: #e3e5ea; text-decoration: none; }
.f-links a:hover, .footer-bottom a:hover, .f-contact a:hover { color: var(--yellow); }
.f-contact { font-style: normal; line-height: 1.8; }
.f-contact strong { color: #fff; }
.f-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid #2a2d34; padding: 20px 0 28px; font-size: 14px; color: #7c828d; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgb(0 0 0 / .3); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }

@media (max-width: 1080px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 18px; }
  .nav a { font-size: 15px; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about, .detail, .page-hero-in, .sec-head, .footer-grid { grid-template-columns: 1fr; }
  .about, .detail { gap: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hide-sm { display: none !important; }
  .topbar-in { justify-content: center; gap: 14px; }
  .brand-name { font-size: 23px; }
  .brand-sub { font-size: 9.5px; letter-spacing: .12em; }
  .brand-mark { width: 40px; height: 40px; }
  .header .btn-wa span { display: none; }
  .header .btn-wa { padding: 10px; }
  .section { padding: 64px 0; }
  .hero-in { padding: 64px 0 56px; }
  .hero-media::after { background: linear-gradient(180deg, rgb(20 38 92 / .9) 0%, rgb(20 38 92 / .94) 100%); }
  .hero-actions .btn { width: 100%; }
  .hero-facts li { padding-right: 0; margin-right: 22px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .loc-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
