/* =========================================================
   Trevo Pneus — estilos
   Padrão de cores da Rede Âncora (marinho #003A5D + verde #3AAF2A)
   com a identidade Trevo (logo, trevo, equipe).
   Mobile first, visual minimalista em cards arredondados.
   ========================================================= */

:root {
  --navy: #003a5d;
  --navy-2: #002c47;
  --navy-3: #0a4a72;
  --green: #3aaf2a;
  --green-2: #33a024;
  --green-text: #63c856;   /* verde para texto sobre o marinho */
  --red: #d11f30;          /* só no logo da Âncora */
  --lime: #c4dc3a;         /* acento Trevo */
  --amber: #ffc24a;        /* status "fechando" */
  --bg: #f1f4f7;
  --card: #e5ebf0;
  --white: #ffffff;
  --ink: #0d2233;
  --ink-2: #33495a;
  --muted: #8a9aa8;
  --line: rgba(0, 58, 93, .1);
  --line-light: rgba(255, 255, 255, .12);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --pad: 18px;
  --radius: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.sprite { position: absolute; }
.dup { display: contents; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--bg); color-scheme: light; }
html.lock { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3 { margin: 0; }
p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 10px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 99px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- Botões em pílula com seta no círculo ---------- */
.pill {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 54px;
  padding: 7px 7px 7px 22px;
  border-radius: 999px;
  font-size: 13.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  text-align: left;
  transition: transform .15s var(--ease), background-color .2s, box-shadow .2s;
}
.pill:active { transform: scale(.98); }
.pill i {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  transition: transform .2s var(--ease);
}
.pill i svg { width: 18px; height: 18px; }
.pill span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) { .pill:hover i { transform: translateX(3px); } }
.pill-green { background: var(--green); color: #fff; }
.pill-green:hover { background: var(--green-2); }
.pill-green i { background: #fff; color: var(--green-2); }
.pill-white { background: #fff; color: var(--navy); }
.pill-white i { background: var(--navy); color: #fff; }
.pill-line { color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.pill-line:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.pill-line i { background: var(--card); color: var(--navy); }
.pill-sm { min-height: 48px; padding: 5px 5px 5px 18px; font-size: 12.5px; }
.pill-sm i { width: 38px; height: 38px; }

/* botões simples (painel de contato) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 16px; border-radius: 999px;
  font-size: 14.5px; font-weight: 800;
  white-space: nowrap;
  transition: background-color .2s, box-shadow .2s;
}
.btn svg { width: 19px; height: 19px; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-2); }
.btn-soft { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-soft:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }

.link-btn {
  display: block; width: 100%; margin-top: 12px; padding: 8px;
  font-size: 14px; font-weight: 700; color: var(--navy);
  text-decoration: underline; text-underline-offset: 3px;
}

/* ---------- Barra do topo ---------- */
.topbar {
  position: fixed; z-index: 40;
  top: 22px; left: 22px; right: 22px;
  max-width: 1180px; margin: 0 auto;
  height: 60px; padding: 0 8px 0 16px;
  display: flex; align-items: center; gap: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: background-color .3s, box-shadow .3s;
}
.topbar.scrolled {
  background: rgba(0, 44, 71, .9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 14px 30px -14px rgba(0, 30, 50, .6);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 28px; width: auto; }
.brand-sep { width: 1px; height: 24px; background: rgba(255, 255, 255, .25); }
.brand .brand-ancora { height: 26px; }
.nav { display: none; }
.top-cta { display: none; }
.menu-btn {
  margin-left: auto;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0, 0, 0, .28); color: #fff;
}
.menu-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- Hero (card) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 10px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  display: flex; flex-direction: column;
}
.hero-strip {
  position: relative; z-index: 2;
  height: 38px; flex: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border-bottom: 1px solid var(--line-light);
  font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .85);
}
.hero::after {
  content: ""; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 110px;
  background: linear-gradient(to bottom, rgba(0, 58, 93, 0), var(--navy) 88%);
  pointer-events: none;
}
.hero-strip svg { width: 17px; height: 17px; color: var(--green-text); }
.hero-strip img { height: 22px; width: auto; }

.hero-content { position: relative; z-index: 2; padding: 104px 22px 0; }
.hero-status { margin-bottom: 18px; }
.hero-title { font-size: clamp(2.15rem, 9.4vw, 4rem); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.hero-title span { display: block; color: var(--green-text); }
.hero-sub { margin-top: 14px; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .74); max-width: 36ch; }
.hero-btns { display: grid; gap: 10px; margin-top: 24px; }

/* foto + diagonal verde Âncora e filete lime Trevo, mesma linguagem do banner */
.hero-photo {
  position: relative; z-index: 1; height: 470px; margin-top: 18px;
  /* luz suave atrás do Bruno, um tom acima do marinho */
  background: radial-gradient(ellipse 62% 52% at 50% 46%, rgba(38, 118, 170, .42), rgba(38, 118, 170, 0) 72%);
}
.hero-photo::before, .hero-photo::after { content: ""; position: absolute; inset: 0; }
.hero-photo::before { background: var(--green); clip-path: polygon(0 58%, 100% 20%, 100% 46%, 0 84%); }
.hero-photo::after { background: var(--lime); clip-path: polygon(0 89%, 100% 51%, 100% 52.4%, 0 90.4%); }
.hero-person {
  position: absolute; z-index: 1; bottom: 0; left: 50%; transform: translateX(-50%);
  height: 100%; aspect-ratio: 1075 / 1813;
}
.hero-person .person {
  position: relative; z-index: 1; width: 100%; height: 100%;
  filter: drop-shadow(0 10px 18px rgba(0, 20, 35, .35));
}
.clover { position: absolute; height: auto; pointer-events: none; }
.clover-front {
  z-index: 2; width: 30%; right: -3%; top: 52%;
  filter: drop-shadow(0 14px 18px rgba(0, 20, 35, .45)) drop-shadow(0 0 1px rgba(0, 0, 0, .3));
  animation: float-a 6s ease-in-out infinite;
}
.clover-back {
  z-index: 0; width: 18%; left: -6%; top: 26%;
  filter: blur(4px); opacity: .85;
  animation: float-b 8s ease-in-out infinite;
}
@keyframes float-a { 0%, 100% { transform: translateY(0) rotate(-14deg); } 50% { transform: translateY(-10px) rotate(-8deg); } }
@keyframes float-b { 0%, 100% { transform: translateY(0) rotate(12deg); } 50% { transform: translateY(8px) rotate(20deg); } }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 12px; border-radius: 999px;
  background: rgba(0, 44, 71, .72);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  font-size: 12.5px; font-weight: 700; color: #fff;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa69e; flex: none; }
/* cores do status: verde aberto, âmbar fechando, coral fechado */
[data-state="open"] .dot { background: var(--green-text); animation: pulse 2s infinite; }
[data-state="closing"] .dot { background: var(--amber); animation: pulse-amber 1.2s infinite; }
[data-state="closed"] .dot { background: #ff7a6b; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(99, 200, 86, .6); } 70% { box-shadow: 0 0 0 8px rgba(99, 200, 86, 0); } 100% { box-shadow: 0 0 0 0 rgba(99, 200, 86, 0); } }
@keyframes pulse-amber { 0% { box-shadow: 0 0 0 0 rgba(255, 194, 74, .7); } 70% { box-shadow: 0 0 0 8px rgba(255, 194, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 194, 74, 0); } }

/* Quadro "Agora nas lojas" no topo */
.live {
  margin-top: 22px; padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.live-row {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px;
  min-height: 56px; padding: 9px 14px;
  border-radius: 16px; background: rgba(0, 25, 40, .35);
}
.live-row + .live-row { margin-top: 6px; }
.live-row .dot { width: 10px; height: 10px; }
.live-info { display: grid; gap: 1px; min-width: 0; }
.live-info b { font-size: 15px; font-weight: 800; }
.live-txt { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .7); }
.live-row[data-state="open"] .live-txt { color: var(--green-text); }
.live-row[data-state="closing"] { box-shadow: inset 0 0 0 1.5px rgba(255, 194, 74, .55); }
.live-row[data-state="closing"] .live-txt { color: var(--amber); }
.live-note { padding: 10px 4px 2px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .65); }
.live-note[data-state="closing"] { color: var(--amber); }
.live-note:empty { display: none; }

/* ---------- Seções ---------- */
.sec { padding: 56px var(--pad) 8px; max-width: 1100px; margin: 0 auto; }
.title { font-size: clamp(1.75rem, 7.6vw, 2.6rem); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.title span { display: block; }
.title span + span { color: var(--muted); }
.title-light { color: #fff; }
.title-light span + span { color: rgba(255, 255, 255, .45); }
.sec-sub { margin-top: 10px; color: var(--ink-2); font-size: 15px; }

/* Diferenciais */
.perks { display: grid; gap: 10px; margin-top: 24px; }
.perks li {
  display: flex; align-items: center; gap: 16px;
  min-height: 72px; padding: 12px 16px 12px 12px;
  border-radius: 20px;
  background: var(--card);
  font-size: 15px; font-weight: 700; color: var(--ink);
}
.perk-ico {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: #fff; color: var(--navy);
}
.perk-ico svg { width: 22px; height: 22px; }

/* Painel escuro de serviços */
.panel {
  margin: 48px 10px 0; padding: 30px 18px 18px;
  border-radius: var(--radius);
  background: var(--navy-2);
  color: #fff;
}
.panel-sub { margin-top: 12px; font-size: 14.5px; color: rgba(255, 255, 255, .62); max-width: 40ch; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.svc {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  min-height: 118px; padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .06);
  text-align: left;
  transition: background-color .15s, transform .15s var(--ease);
}
.svc:hover { background: rgba(255, 255, 255, .1); }
.svc:active { transform: scale(.97); }
.svc-ico {
  width: 34px; height: 34px;
  background: var(--green-text);
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}
.ico-alinhamento { --m: url(../icones/alinhamento.png); }
.ico-balanceamento { --m: url(../icones/balanceamento.png); }
.ico-freios { --m: url(../icones/freios.png); }
.ico-suspensao { --m: url(../icones/suspensao.png); }
.ico-motor { --m: url(../icones/motor.png); }
.ico-injecao { --m: url(../icones/injecao.png); }
.ico-ar-condicionado { --m: url(../icones/ar-condicionado.png); }
.ico-oleo { --m: url(../icones/oleo.png); }
.svc strong { margin-top: auto; font-size: 15px; font-weight: 700; line-height: 1.25; }

/* ---------- Guincho 24h ---------- */
.tow {
  position: relative; overflow: hidden; isolation: isolate;
  margin: 10px 10px 0; padding: 24px 18px 18px;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(196, 220, 58, .22), rgba(196, 220, 58, 0) 60%),
    linear-gradient(160deg, #46b934 0%, var(--green) 38%, #1f7a2c 100%);
  color: #fff;
  display: grid; gap: 22px;
}
.tow-head { display: flex; align-items: center; gap: 14px; }
.tow-ico { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); flex: none; }
.tow-ico svg { width: 32px; height: 32px; }
.tow-title { font-size: clamp(1.7rem, 7.6vw, 2.4rem); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; }
.tow-top { display: grid; gap: 16px; justify-items: start; }
.tow-live {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: #fff; color: var(--green-2);
  font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 6px 16px -8px rgba(0, 40, 20, .5);
}
.tow-tel { display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; font-size: 18px; font-weight: 800; color: #fff; letter-spacing: .01em; }
.tow-tel svg { width: 18px; height: 18px; color: var(--lime); }
.tow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(58, 175, 42, .7); animation: pulse-g 1.8s infinite; }
@keyframes pulse-g { 70% { box-shadow: 0 0 0 8px rgba(58, 175, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(58, 175, 42, 0); } }
@keyframes pulse-w { 70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.tow-facts { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.tow-facts li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, .14);
}
.tow-facts svg { width: 22px; height: 22px; flex: none; margin-top: 1px; color: var(--lime); }
.tow-facts span { font-size: 13.5px; line-height: 1.4; color: rgba(255, 255, 255, .85); }
.tow-facts b { display: block; font-size: 15px; font-weight: 800; color: #fff; }
.tow-main { display: flex; flex-direction: column; }
.tow-panel {
  padding: 18px; border-radius: 22px;
  background: rgba(0, 44, 71, .2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.tow-label { margin-bottom: 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.tow-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.tow-steps li { position: relative; display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
/* seta indicando o próximo passo */
.tow-steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 12px; top: calc(50% + 21px); width: 16px; height: 22px;
  background: rgba(255, 255, 255, .7);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 22' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3v15'/%3E%3Cpath d='M3.5 13.5 8 18l4.5-4.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 22' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3v15'/%3E%3Cpath d='M3.5 13.5 8 18l4.5-4.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tow-steps i { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #fff; color: var(--green-2); }
.tow-steps i svg { width: 20px; height: 20px; }
.tow-actions { display: grid; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.tow-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn-glass { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-glass:hover { background: rgba(255, 255, 255, .26); }

/* ---------- Medida do pneu (formulário de orçamento) ---------- */
.tire-fields { display: flex; align-items: flex-end; gap: 6px; }
.tf { flex: 1; display: grid; gap: 6px; min-width: 0; }
.tf > span { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tf select {
  width: 100%; height: 52px; padding: 0 28px 0 14px;
  border-radius: 16px; border: 0;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23003a5d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 12px no-repeat;
  font-size: 19px; font-weight: 800; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.tf select:disabled { opacity: .4; }
.tf-sep { font-size: 22px; font-weight: 800; padding-bottom: 13px; color: var(--muted); min-width: 14px; text-align: center; }
.tf > span em { font-style: normal; font-weight: 600; letter-spacing: 0; text-transform: none; }
.tire-extra { margin-top: 10px; gap: 8px; }
.tf-type { flex: 0 0 96px; }
.tf-idx .inp { height: 52px; border-radius: 16px; background: #fff; font-size: 17px; font-weight: 800; text-transform: uppercase; }
.tf-idx .inp::placeholder { text-transform: none; font-weight: 600; font-size: 15px; }
.tire-help { margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.tire-help b { color: var(--ink-2); white-space: nowrap; }
.tire-help a { color: var(--green-2); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.qty { display: flex; align-items: center; gap: 8px; margin: 14px 0 16px; }
.qty > span { font-size: 14px; font-weight: 700; color: var(--ink-2); margin-right: auto; }
.qty label { position: relative; }
.qty input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.qty label span {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 999px;
  font-weight: 800; font-size: 16px;
  background: var(--bg); color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.qty input:checked + span { background: var(--navy); color: #fff; }
.qty input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }

/* ---------- Promoções ---------- */
.promos { padding-right: 0; padding-left: 0; }
.promos .title { padding: 0 var(--pad); }
.carousel { margin-top: 22px; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%;
  gap: 10px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 0 var(--pad) 4px;
  scroll-padding-inline: var(--pad);
  scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.slide {
  display: flex; flex-direction: column; text-align: left;
  scroll-snap-align: start;
  border-radius: 24px; overflow: hidden;
  background: #fff;
}
.slide img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.carousel-dots button { width: 7px; height: 7px; border-radius: 99px; background: rgba(0, 58, 93, .2); transition: width .3s var(--ease), background-color .3s; }
.carousel-dots button[aria-selected="true"] { width: 22px; background: var(--navy); }

/* ---------- Unidades ---------- */
.unit-grid { display: grid; gap: 10px; margin-top: 22px; }
.unit {
  display: flex; flex-direction: column; gap: 12px;
  padding: 20px 16px 16px;
  border-radius: 24px; background: #fff;
}
.unit-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; }
.unit h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.unit .status-pill, .ct-unit .status-pill { background: var(--bg); color: var(--ink-2); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.unit-line { display: flex; gap: 10px; color: var(--ink-2); font-size: 14.5px; }
.unit-line svg { width: 18px; height: 18px; margin-top: 2px; color: var(--green-2); }
.unit-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 4px; }
.unit-btns .unit-route { grid-column: 1 / -1; }
.unit-btns .btn { min-height: 50px; padding: 0 12px; }

/* ---------- Rodapé ---------- */
.footer {
  margin: 56px 10px 10px; padding: 24px 20px 18px;
  border-radius: var(--radius);
  background: var(--navy);
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
}
.footer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.footer-logo { height: 30px; width: auto; }
.footer-ancora { display: flex; align-items: center; gap: 8px; }
.footer-ancora img { height: 34px; width: auto; }
.footer-ancora span { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; color: rgba(255, 255, 255, .8); }
.footer-list { margin-top: 18px; border-top: 1px solid var(--line-light); }
.footer-list li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; border-bottom: 1px solid var(--line-light);
}
.footer-list a, .footer-list b { font-weight: 700; color: #fff; text-align: right; }
.footer-list b { font-size: 13px; }
.footer a:hover { color: var(--green-text); }
.footer-bottom {
  margin-top: 14px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 13px;
}
.footer-bottom a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; }
.footer-bottom svg { width: 17px; height: 17px; }

/* ---------- Botão único de contato ---------- */
.contact-fab {
  position: fixed; z-index: 45;
  right: 18px; bottom: calc(18px + var(--safe-b));
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: #fff;
  box-shadow: 0 12px 28px -8px rgba(0, 40, 20, .55), 0 0 0 4px rgba(255, 255, 255, .9);
  transition: transform .2s var(--ease), background-color .2s;
}
@media (hover: hover) { .contact-fab:hover { background: var(--green-2); transform: scale(1.05); } }
.contact-fab.away { transform: translateY(160%); }
.contact-fab svg { width: 30px; height: 30px; }

/* ---------- Menu ---------- */
.menu {
  padding: 0; border: 0; margin: 0;
  width: 100%; height: 100%; max-width: none; max-height: none;
  background: var(--navy); color: #fff;
}
.menu[open] { display: block; animation: menu-in .3s var(--ease); }
.menu.closing { animation: menu-out .2s ease-in forwards; }
.menu::backdrop { background: transparent; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-12px); } }
@keyframes menu-out { to { opacity: 0; transform: translateY(-12px); } }
.menu-in { min-height: 100%; display: flex; flex-direction: column; padding: 18px 18px calc(24px + var(--safe-b)); }
.menu-top { height: 60px; padding: 0 8px 0 16px; display: flex; align-items: center; justify-content: space-between; }
.menu-top img { height: 30px; width: auto; }
.menu-nav { display: grid; margin-top: 30px; }
.menu-nav a, .menu-nav button {
  display: block; width: 100%; text-align: left;
  padding: 14px 4px;
  font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  border-bottom: 1px solid var(--line-light);
}
.menu-nav a:active { color: var(--green-text); }
.menu-actions { display: grid; gap: 10px; margin-top: 28px; }
.menu-foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.menu-foot a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.menu-foot svg { width: 20px; height: 20px; color: var(--green-text); }

/* ---------- Painéis (agendar, orçamento, contato) ---------- */
.sheet {
  padding: 0; border: 0; margin: 0;
  width: 100%; max-width: 100%;
  max-height: 92dvh; height: auto;
  inset: auto 0 0 0;
  border-radius: 28px 28px 0 0;
  background: var(--bg); color: var(--ink);
  box-shadow: 0 -20px 60px rgba(0, 20, 35, .35);
  overflow: hidden;
}
.sheet[open] { display: flex; animation: sheet-in .38s var(--ease); }
.sheet:focus, .menu:focus { outline: none; }
.sheet::backdrop { background: rgba(0, 25, 40, .6); }
.sheet[open]::backdrop { animation: fade-in .3s ease; }
.sheet.closing { animation: sheet-out .26s ease-in forwards; }
.sheet.closing::backdrop { animation: fade-out .26s ease-in forwards; }
@keyframes sheet-in { from { transform: translateY(100%); } }
@keyframes sheet-out { to { transform: translateY(100%); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

.sheet-form { display: flex; flex-direction: column; width: 100%; max-height: 92dvh; }
.sheet-head {
  position: relative;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  padding: 26px 18px 16px;
  touch-action: none;
}
.grab { position: absolute; top: 9px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 9px; background: #c9d3db; }
.sheet-kicker { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green-2); }
.sheet-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); margin-top: 2px; }
.sheet-x { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink-2); flex: none; }
.sheet-x svg { width: 18px; height: 18px; }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 0 18px 18px; flex: 1; -webkit-overflow-scrolling: touch; }
.sheet-foot { padding: 12px 18px calc(14px + var(--safe-b)); background: var(--bg); box-shadow: 0 -1px 0 var(--line); }
.fine { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 10px; line-height: 1.45; }
.fine b { color: var(--ink-2); }

.field { border: 0; margin: 0; padding: 18px 0 0; min-width: 0; }
.field legend, .lbl { display: block; padding: 0; font-size: 15px; font-weight: 800; letter-spacing: -.01em; margin-bottom: 10px; color: var(--ink); }
.field > legend { float: left; width: 100%; }
.field > legend + * { clear: both; }
.field em, .lbl em { font-style: normal; font-weight: 600; color: var(--muted); font-size: 13px; margin-left: 4px; }
.inp {
  width: 100%; min-height: 52px; padding: 14px 18px;
  border-radius: 18px; border: 0;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px transparent;
  font-size: 16px; /* evita zoom no iOS */
  font-weight: 600;
  transition: box-shadow .2s;
  resize: vertical;
}
.inp::placeholder { color: #9aa8b4; font-weight: 500; }
.inp:focus { outline: none; box-shadow: inset 0 0 0 2px var(--navy); }
textarea.inp { min-height: 80px; line-height: 1.45; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 42px; padding: 0 16px; border-radius: 999px;
  background: #fff;
  font-size: 14px; font-weight: 700; color: var(--ink-2);
  transition: background-color .15s, color .15s;
  user-select: none;
}
.chip input:checked + span { background: var(--navy); color: #fff; }
.chip input:checked + span::before {
  content: ""; width: 14px; height: 14px; margin-left: -4px;
  background: var(--green-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 12.5 5 5L20 6.5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m4 12.5 5 5L20 6.5' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }

/* controle segmentado */
.seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  padding: 4px; border-radius: 999px; background: #fff;
}
.seg > button {
  min-height: 44px; border-radius: 999px;
  font-size: 14.5px; font-weight: 700; color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .2s, color .2s;
}
.seg > button[aria-pressed="true"] { background: var(--navy); color: #fff; }


.tire-block .tire-fields .tf select { background-color: #fff; }
.tire-block .qty label span { background: #fff; }
.tire-block .qty input:checked + span { background: var(--navy); color: #fff; }
.check { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--navy); flex: none; margin: 0; }

.err { display: none; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--red); }
.field.invalid .err { display: block; }
.field.invalid .inp { box-shadow: inset 0 0 0 2px var(--red); }
.field.invalid .chips { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* contato */
.ct-tow {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 8px 14px 14px; border-radius: 24px;
  background: var(--green); color: #fff;
}
.ct-tow-ico { width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #fff; color: var(--navy); }
.ct-tow-ico svg { width: 26px; height: 26px; }
.ct-tow b { display: block; font-size: 17px; font-weight: 800; }
.ct-tow small { font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.ct-tow i { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--green-2); flex: none; }
.ct-tow i svg { width: 18px; height: 18px; }
.ct-list { display: grid; align-content: start; gap: 10px; padding-bottom: calc(22px + var(--safe-b)); }
.ct-unit { padding: 18px 16px 16px; border-radius: 24px; background: #fff; display: grid; gap: 14px; }
.ct-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.ct-top h3 { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); }
.ct-top p:not(.status-pill) { font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.ct-btns { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.ct-phones { display: grid; gap: 1px; margin-top: 2px; }
.ct-phones a { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.footer-list p { display: grid; justify-items: end; gap: 2px; margin: 0; padding: 8px 0; }
.ct-btns .btn { padding: 0 8px; }

/* ---------- Telas maiores ---------- */
@media (min-width: 600px) {
  :root { --pad: 28px; }
  .svc-grid { grid-template-columns: repeat(4, 1fr); }
  .perks { grid-template-columns: 1fr 1fr; }
  .carousel-track { grid-auto-columns: 62%; }
}

@media (min-width: 900px) {
  :root { --radius: 36px; --pad: 56px; }
  .topbar { top: 42px; left: 44px; right: 44px; max-width: 1384px; height: 66px; padding: 0 10px 0 22px; }
  .brand { gap: 14px; }
  .brand img { height: 34px; }
  .brand-sep { height: 30px; }
  .brand .brand-ancora { height: 32px; }
  .nav { display: flex; gap: 2px; margin-left: 20px; }
  .nav a, .nav button { padding: 10px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 700; color: rgba(255, 255, 255, .82); transition: background-color .2s; }
  .nav a:hover, .nav button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
  .top-cta {
    margin-left: auto;
    display: inline-flex; align-items: center; gap: 10px;
    height: 46px; padding: 0 8px 0 20px; border-radius: 999px;
    background: var(--green); color: #fff;
    font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    transition: background-color .2s;
  }
  .top-cta:hover { background: var(--green-2); }
  .top-cta svg { width: 32px; height: 32px; padding: 8px; border-radius: 50%; background: #fff; color: var(--green-2); }

  .hero { max-width: 1440px; margin: 16px auto 0; width: calc(100% - 32px); min-height: min(820px, calc(100vh - 32px)); max-height: 900px; }
  .hero-content { padding: 168px 56px 64px; max-width: 620px; }
  .hero-title { font-size: clamp(3rem, 4.8vw, 4.4rem); }
  .hero-sub { font-size: 17px; max-width: 42ch; }
  .hero-btns { max-width: 420px; }
  .hero-photo { position: absolute; z-index: 1; top: 0; left: 0; right: 0; bottom: 0; height: auto; margin: 0; pointer-events: none; }
  .hero-photo { background: radial-gradient(ellipse 440px 480px at 72% 50%, rgba(38, 118, 170, .4), rgba(38, 118, 170, 0) 72%); }
  .hero-photo::before { clip-path: polygon(40% 100%, 100% 30%, 100% 58%, 64% 100%); }
  .hero-photo::after { clip-path: polygon(68% 100%, 100% 63%, 100% 64.4%, 69.2% 100%); }
  .hero-person { left: auto; right: 10%; transform: none; height: calc(100% - 100px); }
  .hero::after { height: 160px; }
  .hero-content > * { max-width: 520px; }

  .sec { padding-top: 96px; max-width: 1180px; }
  .title { font-size: 3rem; }
  .perks { grid-template-columns: repeat(4, 1fr); }
  .perks li { flex-direction: column; align-items: flex-start; min-height: 150px; padding: 20px; }

  .panel { max-width: 1180px; margin: 96px auto 0; padding: 56px; }
  .svc { min-height: 150px; padding: 22px; }
  .svc-ico { width: 40px; height: 40px; }
  .svc strong { font-size: 17px; }

  .tow { max-width: 1180px; margin: 16px auto 0; padding: 40px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: stretch; gap: 32px; }
  .tow-main { justify-content: space-between; padding: 8px 0; }
  .tow-panel { padding: 26px; display: flex; flex-direction: column; }
  .tow-steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tow-steps li { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tow-steps li:not(:last-child)::after {
    left: 58px; right: 10px; top: 13px; width: auto; height: 20px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4.5 11.5 10 6 15.5'/%3E%3C/svg%3E") right center / 20px 20px no-repeat, linear-gradient(#000 0 0) left center / calc(100% - 12px) 2px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4.5 11.5 10 6 15.5'/%3E%3C/svg%3E") right center / 20px 20px no-repeat, linear-gradient(#000 0 0) left center / calc(100% - 12px) 2px no-repeat;
    background: linear-gradient(90deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .75));
  }
  .tow-steps i { width: 46px; height: 46px; }
  .tow-steps i svg { width: 22px; height: 22px; }
  .tow-actions { margin-top: auto; grid-template-columns: 1.2fr 1fr; align-items: center; column-gap: 10px; }
  .tow-actions .pill { grid-column: 1; }
  .tow-alt { grid-column: 2; }

  .tow-ico { width: 72px; height: 72px; }
  .tow-ico svg { width: 38px; height: 38px; }
  .tow-head { gap: 16px; }

  .promos .title { padding: 0 var(--pad); }
  .carousel { padding: 0 var(--pad); }
  .carousel-track { grid-auto-columns: 100%; gap: 24px; padding-inline: 0; scroll-padding-inline: 0; }
  .slide img { aspect-ratio: 1920 / 721; }

  .unit { padding: 26px; }
  .unit-grid { grid-template-columns: 1fr 1fr; }

  .footer { max-width: 1180px; margin: 96px auto 16px; padding: 36px 48px 24px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px 56px; }
  .footer-head { gap: 32px; }
  .footer-logo { height: 36px; }
  .footer-list { margin: 0; border: 0; display: flex; justify-content: flex-end; gap: 40px; }
  .footer-list li { display: grid; gap: 2px; min-height: 0; border: 0; justify-content: start; }
  .footer-list span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green-text); }
  .footer-list a, .footer-list b { text-align: left; }
  .footer-list p { justify-items: start; }
  .footer-bottom { grid-column: 1 / -1; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line-light); }

  .contact-fab { right: 28px; bottom: 28px; width: 64px; height: 64px; }

  .menu-btn { display: none; }

  .sheet {
    inset: 0; margin: auto;
    width: min(560px, calc(100% - 48px));
    height: fit-content;
    max-height: min(820px, calc(100vh - 48px));
    border-radius: 28px;
  }
  .sheet-form { max-height: min(820px, calc(100vh - 48px)); }
  .sheet[open] { animation: pop-in .3s var(--ease); }
  .sheet.closing { animation: pop-out .2s ease-in forwards; }
  .grab { display: none; }
  .sheet-head { padding: 26px 26px 16px; }
  .sheet-body { padding: 0 26px 22px; }
  .sheet-foot { padding: 14px 26px 18px; }
  @keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }
  @keyframes pop-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }
}

@media (min-width: 1100px) {
  /* texto e Bruno lado a lado, no centro do card */
  .hero-content { max-width: none; padding-left: max(56px, calc((100% - 1160px) / 2)); }
  .hero-person { right: auto; left: calc(50% + 24px); }
  .hero-photo { background: radial-gradient(ellipse 480px 520px at calc(50% + 240px) 52%, rgba(38, 118, 170, .4), rgba(38, 118, 170, 0) 72%); }
}

@media (prefers-reduced-motion: reduce) {
  .clover { animation: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* cidades com ", BA": cabem no seletor de unidade até em telas de 320px */
.seg > button { font-size: clamp(12.5px, 3.75vw, 14.5px); white-space: nowrap; padding: 0 6px; }
[data-unit-name] { white-space: nowrap; }
