/* Starlink Bauru — campo aberto, sol forte.
   Branco e céu claro, tinta azul-noite, terra roxa para ação. Barlow (placas de estrada). */
:root {
  --white: #ffffff;
  --haze: #eef3f6;
  --ink: #0f2233;
  --muted: #46596a;
  --line: #d3dde4;
  --terra: #a23a1e;
  --terra-dark: #842e17;
  --field: #55693a;

  --display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.125rem/1.55 var(--body); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.5rem); font-weight: 700; letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; font-weight: 600; }
p { margin: 0; }
a { color: var(--terra); text-underline-offset: .2em; }
a:hover { color: var(--terra-dark); }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* Botões --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.5em;
  background: var(--terra); color: #fff;
  font: 600 1.125rem/1 var(--body); text-decoration: none;
  border: 0; border-radius: 6px; cursor: pointer;
  transition: background-color .2s var(--ease), transform .12s var(--ease);
}
.btn:hover { background: var(--terra-dark); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 42px; padding: 0 1em; font-size: 1rem; }
.btn--big { min-height: 60px; font-size: 1.3rem; padding: 0 1.6em; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.link { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--terra); }
.link:hover { color: var(--terra); }

/* Topo ----------------------------------------------------------------- */
.topbar { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.45rem/1 var(--display); }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 10px 12px; color: var(--muted); text-decoration: none; font-weight: 500; }
.nav ul a:hover { color: var(--ink); }
.nav ul a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -3px 0 var(--terra); }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; background: none; border: 2px solid var(--ink); border-radius: 6px; font: 600 1rem var(--body); color: var(--ink); cursor: pointer; }

.crumbs { padding-top: 24px; font-size: 1rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Hero da home --------------------------------------------------------- */
.hero { background: var(--haze); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-block: clamp(40px, 7vw, 88px); }
.hero h1 { max-width: 12ch; }
.lead { margin-top: 20px; font-size: 1.25rem; color: var(--muted); max-width: 32em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 32px 0 0; padding: 0; list-style: none; font-weight: 500; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts .ico { color: var(--field); }

.map { margin: 0; }
.map svg { width: 100%; height: auto; }
.map .roads path { fill: none; stroke: #8ea3b4; stroke-width: 2; }
.map .city circle { fill: var(--ink); }
.map .city text { font: 600 18px var(--body); fill: var(--ink); paint-order: stroke; stroke: var(--haze); stroke-width: 4px; }
.map .home circle { fill: var(--terra); }
.map .home .halo { fill: none; stroke: var(--terra); stroke-width: 1.5; opacity: .35; }
.map .home text { font: 700 28px var(--display); fill: var(--terra); paint-order: stroke; stroke: var(--haze); stroke-width: 5px; }
.map .roads path { stroke-dasharray: 1; } /* animação de entrada em assets/site.js */

/* Cabeçalho das internas ---------------------------------------------- */
.page-head { padding-block: clamp(28px, 5vw, 56px) clamp(48px, 7vw, 80px); }
.page-head h1 { max-width: 16ch; }
.page-head .lead { max-width: 38em; }

/* Seções --------------------------------------------------------------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--haze { background: var(--haze); border-block: 1px solid var(--line); }
.section__intro { margin-top: 16px; max-width: 38em; color: var(--muted); font-size: 1.2rem; }

/* Serviços: locação em destaque, os outros dois ao lado */
.offer { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; margin-top: 48px; }
.offer__main { background: var(--ink); color: #dfe8ee; border-radius: 8px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.offer__main h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: #fff; }
.offer__main ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.offer__main li { display: flex; gap: 10px; align-items: flex-start; }
.offer__main li .ico { color: #f0a58f; margin-top: 3px; }
.offer__main .btn { align-self: flex-start; margin-top: auto; }
.offer__side { display: grid; gap: 24px; }
.offer__item { border-top: 3px solid var(--ink); padding-top: 20px; }
.offer__item .ico { width: 32px; height: 32px; color: var(--terra); margin-bottom: 12px; }
.offer__item p { margin: 8px 0 12px; color: var(--muted); }

.uses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.use { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.use:nth-child(odd) { border-right: 1px solid var(--line); }
.use:nth-child(even) { padding-left: 24px; }
.use .ico { width: 40px; height: 40px; color: var(--field); }
.use p { margin-top: 6px; color: var(--muted); }

.steps { list-style: none; counter-reset: step; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 1.6rem/1 var(--display); }
.steps p { margin-top: 8px; color: var(--muted); }

.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 48px; }
.reasons .ico { width: 36px; height: 36px; color: var(--terra); margin-bottom: 14px; }
.reasons p { margin-top: 8px; color: var(--muted); }

/* Tabela de planos ----------------------------------------------------- */
.plans { width: 100%; margin-top: 40px; border-collapse: collapse; font-size: 1.0625rem; }
.plans th, .plans td { padding: 16px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.plans thead th { font: 700 1.5rem/1.1 var(--display); border-bottom: 3px solid var(--ink); }
.plans thead th small { display: block; font: 500 1rem var(--body); color: var(--muted); margin-top: 4px; }
.plans tbody th { font-weight: 500; color: var(--muted); width: 34%; }
.plans td .ico { color: var(--field); }
.plans td .no { color: #9aa8b3; }
.plans tfoot td { border-bottom: 0; padding-top: 20px; }
.plans tfoot .btn { width: 100%; }
.table-wrap { overflow-x: auto; }

/* Catálogo e consultoria: linhas ------------------------------------- */
.rows { margin-top: 48px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 16px 32px; align-items: start; padding-block: 32px; border-bottom: 1px solid var(--line); }
.row > .ico { width: 40px; height: 40px; color: var(--terra); }
.row h3 { margin-bottom: 8px; }
.row .tag { display: inline-block; font-size: .9375rem; font-weight: 600; color: var(--field); margin-bottom: 10px; }
.row p { color: var(--muted); }
.row ul { margin: 0; padding-left: 1.1em; color: var(--ink); display: grid; gap: 4px; }
.row ul li::marker { color: var(--terra); }
.row .btn { white-space: nowrap; }

.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 44px 22px 0; position: relative; font: 600 1.3rem/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: 600 1.8rem/1 var(--body); color: var(--terra); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 22px; color: var(--muted); max-width: 46em; }

/* Contato -------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); }
.info { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.info li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.info .ico { width: 28px; height: 28px; color: var(--terra); }
.info strong { display: block; font: 600 1.25rem var(--display); }
.info span, .info a { color: var(--muted); }
.form { background: var(--haze); border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.form h2 { font-size: 2rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1.0625rem var(--body); color: var(--ink);
  background: #fff; border: 1.5px solid #9fb0bd; border-radius: 6px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--terra); outline-offset: 1px; border-color: var(--ink); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .hint { font-size: .9375rem; color: var(--muted); }

/* Faixa de contato + rodapé ------------------------------------------- */
.contact { background: var(--terra); color: #fbe9e3; padding-block: clamp(56px, 8vw, 96px); }
.contact__in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.contact h2 { color: #fff; max-width: 15ch; }
.contact p { margin-top: 14px; max-width: 30em; }
.contact .btn { background: #fff; color: var(--ink); }
.contact .btn:hover { background: var(--ink); color: #fff; }
.contact__side { display: grid; gap: 14px; justify-items: start; }
.contact :focus-visible { outline-color: #fff; }

.footer { background: var(--ink); color: #b8c7d3; padding-block: 56px 28px; font-size: 1rem; }
.footer .brand { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__grid p { margin-top: 14px; max-width: 28em; }
.footer h2 { font: 600 1.15rem var(--display); color: #fff; margin-bottom: 10px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer ul a { color: #b8c7d3; text-decoration: none; display: inline-block; padding-block: 7px; }
.footer ul a:hover { color: #fff; text-decoration: underline; }
.footer :focus-visible { outline-color: #fff; }
.footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid #2a3d50; font-size: .9375rem; display: grid; gap: 4px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #1f8a4c; color: #fff; box-shadow: 0 6px 18px rgba(15, 34, 51, .28); transition: transform .2s var(--ease); }
.wa-float .ico { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-2px); color: #fff; }

.notfound { padding-block: 96px; }
.links { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.links a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 2px solid var(--ink); border-radius: 6px; color: var(--ink); text-decoration: none; font-weight: 600; }
.links a:hover { background: var(--ink); color: #fff; }

/* Páginas regionais e guias -------------------------------------------- */
.brand span { white-space: nowrap; }
.prose { max-width: 46em; }
.prose p { margin-top: 16px; color: var(--ink); }
.prose h2 + p { margin-top: 20px; }
.prose p + h2 { margin-top: 48px; }
.prose ul { margin: 16px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose ul li::marker { color: var(--terra); }
.article { padding-bottom: clamp(56px, 8vw, 96px); }
.article h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-top: 48px; }
.article h2:first-child { margin-top: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px 64px; align-items: start; }
.split .info { margin-top: 8px; }
.row--link { grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.2fr); padding-block: 24px; }
.row--link h3 { margin: 0; font-size: 1.35rem; }
.row--link h3 a { color: var(--ink); text-decoration-color: var(--terra); }
.row--link h3 a:hover { color: var(--terra); }
.links-title { font-size: 1.6rem; margin-top: 48px; }
.links-title:first-child { margin-top: 0; }
.more { margin-top: 40px; font-weight: 600; }
.note { margin-top: 16px; font-size: .9375rem; color: var(--muted); }
.city-list, .guide-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.city-list a, .guide-list a { display: grid; gap: 2px; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.city-list strong, .guide-list strong { font: 600 1.25rem/1.2 var(--display); }
.city-list span, .guide-list span { font-size: 1rem; color: var(--muted); }
.city-list a:hover strong, .guide-list a:hover strong { color: var(--terra); }
.guide-list { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); column-gap: 40px; margin-top: 0; }
.guide-list a { padding-block: 22px; }
.cities { width: 100%; margin-top: 32px; border-collapse: collapse; font-size: 1.0625rem; }
.cities th, .cities td { padding: 14px 12px 14px 0; text-align: left; border-bottom: 1px solid var(--line); }
.cities thead th { font: 600 1rem var(--body); color: var(--muted); border-bottom: 2px solid var(--ink); }
.cities tbody th { font: 600 1.25rem var(--display); }
.cities td { font-variant-numeric: tabular-nums; color: var(--muted); }

/* Responsivo ----------------------------------------------------------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .row--link { grid-template-columns: 48px minmax(0, 1fr); }
  .row--link > p { grid-column: 2; }
  .hero__grid, .offer, .contact__in, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reasons { grid-template-columns: 1fr; gap: 28px; }
  .row { grid-template-columns: 48px minmax(0, 1fr); }
  .row > :nth-child(3), .row > :nth-child(4) { grid-column: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; inset: 70px 0 auto 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; flex-direction: column; align-items: stretch; gap: 16px; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; }
  .nav ul a { padding: 14px 4px; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav ul a[aria-current="page"] { box-shadow: none; color: var(--terra); }
}
@media (max-width: 640px) {
  .cities th:nth-child(4), .cities td:nth-child(4) { display: none; }
  .uses { grid-template-columns: 1fr; }
  .use, .use:nth-child(even) { padding-left: 0; border-right: 0; }
  .use:nth-child(odd) { border-right: 0; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .actions .btn, .contact .btn { width: 100%; }
  .plans thead th { font-size: 1.2rem; }
  .plans th, .plans td { padding: 12px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
