/* TowBrasil — folhas de estilo.
   Azul #3978F7 dos logos oficiais da pasta PEQUENAS (manual Fernando Mangili).
   O vetor do manual usa #296CEE; o rótulo “LARANJA R255 G55 B30” no manual é um erro (o preenchimento é azul).
   TowEkko #74C45A, TowService #FF5926 e TowParts #F9B000 vêm dos mesmos logos oficiais.
   Tipografia: IBM Plex Sans (manual da marca), auto-hospedada com font-display: swap. */
@import url("/fonts/fonts.css");

:root {
  --blue: #3978F7;
  --blue-deep: #2B5AB9;
  --blue-soft: #EBF2FE;
  --ekko: #74C45A;
  --ekko-deep: #57923F;
  --ekko-soft: #E8F6E3;
  --service: #FF5926;
  --service-deep: #C4431C;
  --service-soft: #FDE6DF;
  --parts: #F9B000;
  --parts-deep: #BB8400;
  --parts-soft: #FFF6D9;
  --ink: #111111;
  --ink-2: #2A2A2A;
  --muted: #5C6168;
  --line: #D2D3D5;
  --paper: #F4F5F6;
  --white: #FFFFFF;
  --sand: #E6E7E8;
  --wa: #0E7A6C;
  --wa-hover: #0B665B;
  --danger: #9B1C1C;
  --accent: var(--blue);
  --accent-deep: var(--blue-deep);
  --accent-soft: var(--blue-soft);
  --radius: 12px;
  --shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
  --header-h: 72px;
  --font: "IBM Plex Sans", "Segoe UI", sans-serif;
  --cond: "IBM Plex Sans", "Segoe UI", sans-serif;
  --max: 1120px;
}

[data-brand="towekko"] {
  --accent: var(--ekko);
  --accent-deep: var(--ekko-deep);
  --accent-soft: var(--ekko-soft);
}
[data-brand="towservice"] {
  --accent: var(--service);
  --accent-deep: var(--service-deep);
  --accent-soft: var(--service-soft);
}
[data-brand="towparts"] {
  --accent: var(--parts);
  --accent-deep: var(--parts-deep);
  --accent-soft: var(--parts-soft);
}
[data-brand="towparts"] .btn-primary {
  color: var(--ink);
}
[data-brand="towparts"] .btn-primary:hover {
  background: var(--parts-deep);
  color: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-deep); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}
.wrap-narrow { width: min(760px, calc(100% - 2rem)); margin-inline: auto; }

/* Header */
.topbar {
  background: var(--ink);
  color: #eceae4;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 252, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.logo { display: flex; align-items: center; flex-shrink: 0; }

.logo img { height: 32px; width: auto; }
@media (max-width: 720px) {
  .logo img { height: 24px; }
}
.footer .logo img { height: 28px; filter: none; }

.logo-fallback {
  font-family: var(--cond);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
}
.logo-fallback span { color: var(--accent); }

nav.nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li { position: relative; }
.nav-list a, .nav-list button.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.7rem;
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  border-radius: 8px;
}
.nav-list a:hover, .nav-list button.nav-parent:hover,
.nav-list a[aria-current="page"] { color: var(--accent-deep); background: var(--accent-soft); }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 0.4rem;
  list-style: none;
  margin: 0;
  z-index: 30;
}
.nav-list > li:hover > .dropdown,
.nav-list > li:focus-within > .dropdown { display: block; }
.dropdown a { display: block; width: 100%; padding: 0.5rem 0.7rem; border-radius: 8px; }
.btn-nav-cta { margin-left: 0.4rem; }

.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  font: 600 0.9rem var(--font);
  color: var(--ink);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: transparent;
}
.btn-light:hover { background: var(--paper); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 760px);
  display: grid;
  align-items: end;
  color: #fff;
  background: #15171c;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media picture {
  position: absolute;
  inset: 0;
  display: block;
}
.hero-media img, .hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,11,14,0.82) 0%, rgba(10,11,14,0.45) 48%, rgba(10,11,14,0.2) 100%),
    linear-gradient(0deg, rgba(10,11,14,0.55), transparent 42%);
}
.hero-body {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.2rem;
  max-width: 38rem;
}
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 0.7rem;
}
.hero .eyebrow { color: #fff; }
.hero h1, .page-hero h1, h1 {
  font-family: var(--cond);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.98;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
  font-size: clamp(2.3rem, 6vw, 4.1rem);
}
.lede, .hero .lede {
  font-size: 1.15rem;
  margin: 0 0 1.4rem;
  color: inherit;
  max-width: 38rem;
  opacity: 0.95;
}
.page-hero {
  padding: 2.8rem 0 2rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.page-hero .lede { color: var(--muted); }
.crumbs { font-size: 0.88rem; color: var(--muted); margin: 0 0 0.8rem; }
.crumbs a { color: inherit; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: " / "; margin-left: 0.35rem; color: #9aa0a8; }
.hero .crumbs, .hero .crumbs a { color: rgba(255,255,255,0.88); }
.hero .crumbs li:not(:last-child)::after { color: rgba(255,255,255,0.5); }


/* Sections */
.section { padding: 3.4rem 0; }
.section-head { margin-bottom: 1.6rem; max-width: 40rem; }
.section h2, h2 {
  font-family: var(--cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  line-height: 1.05;
  margin: 0 0 0.6rem;
}
h3 { font-size: 1.2rem; margin: 0 0 0.45rem; }
.muted { color: var(--muted); }
.band-ink { background: var(--ink); color: #f3f1eb; }
.band-ink h2, .band-ink a { color: inherit; }
.band-ink .muted { color: #c5c0b6; }
.band-accent { background: var(--accent); color: #fff; }
.band-accent a, .band-accent h2 { color: inherit; }
.band-sand { background: var(--sand); }
.band-white { background: var(--white); }
.band-soft { background: var(--accent-soft); }

/* Cards / grids */
.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
a.card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.card-body { padding: 1.15rem 1.2rem 1.3rem; }
.card-body h3 { margin-top: 0; }
.card-media {
  position: relative;
  aspect-ratio: 4/3;
  background: #ddd8ce;
  overflow: hidden;
}
.card-media picture, .card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.gallery picture { display: block; width: 100%; }
.gallery img { width: 100%; height: auto; object-fit: cover; border-radius: 10px; aspect-ratio: 4/3; }
.card-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-deep);
  margin: 0 0 0.35rem;
}
.brand-card { border-top: 5px solid var(--accent, var(--blue)); }
.brand-card.towekko { --accent: var(--ekko); border-top-color: var(--ekko); }
.brand-card.towservice { --accent: var(--service); border-top-color: var(--service); }
.brand-card.towparts { --accent: var(--parts); border-top-color: var(--parts); }
.brand-card .brand-logo { height: 40px; width: auto; margin: 0 0 0.8rem; object-fit: contain; object-position: left center; }
.wordmark {
  font-family: var(--cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.6rem;
  margin: 0 0 0.5rem;
}

/* Trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-item { padding: 0.2rem 0; }
.trust-item strong { display: block; font-size: 1.02rem; margin-bottom: 0.2rem; }

/* Media */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; aspect-ratio: 4/3; background: #ddd; }
figcaption, .caption { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }
.gallery figure.portrait img { aspect-ratio: 3 / 4; }
.local-video { max-width: 360px; }
.local-video video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #111;
  aspect-ratio: 9 / 16;
}
.videos-mix {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: 1.5rem;
  align-items: start;
}

.gallery-operacao { grid-template-columns: repeat(2, 1fr); }
.gallery-operacao img { aspect-ratio: 16 / 10; }
.video-lite {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  aspect-ratio: 16 / 10;
}
.video-lite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  display: block;
}
.video-lite .play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  margin: -24px 0 0 -34px;
  border-radius: 12px;
  background: #e1262c;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}
.video-lite .play-icon::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 14px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}
.video-lite:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.op-media { margin: 0; }
.op-media video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #111;
  aspect-ratio: 16 / 10;
}

.placeholder-img {
  aspect-ratio: 16/10;
  border: 2px dashed var(--line);
  border-radius: 12px;
  background: repeating-linear-gradient(-45deg, #ece9e1, #ece9e1 8px, #e4e0d6 8px, #e4e0d6 16px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.placeholder-img strong { display: block; color: var(--ink-2); margin-bottom: 0.3rem; }

/* YouTube lite */
.yt-lite {
  position: relative;
  aspect-ratio: 16/9;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
}
.yt-lite img { width: 100%; height: 100%; object-fit: cover; }
.yt-lite button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #fff;
}
.yt-lite button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  margin: -24px 0 0 -34px;
  background: #ff0000;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.yt-lite button::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  margin: -8px 0 0 -5px;
  border-style: solid;
  border-width: 9px 0 9px 16px;
  border-color: transparent transparent transparent #fff;
}
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.yt-grid-2 { grid-template-columns: repeat(2, 1fr); }
.yt-grid-1 { grid-template-columns: 1fr; }
.yt-card h3 { margin: 0.7rem 0 0.2rem; font-size: 1.05rem; }

/* YouTube Short 9:16: largura limitada para não ocupar a tela no celular */
.yt-short-block { max-width: 40rem; }
.yt-card-short { margin: 0; max-width: 320px; width: 100%; }
.yt-lite-short {
  aspect-ratio: 9 / 16;
  width: 100%;
  max-width: 320px;
}

/* FAQ */
.faq { display: grid; gap: 0.55rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
}
.faq summary { cursor: pointer; font-weight: 650; }
.faq details p { margin: 0.6rem 0 0.2rem; color: var(--ink-2); }

/* Forms */
.form {
  display: grid;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.4rem;
}
.form label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.92rem; }
.form input, .form select, .form textarea {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 3px solid var(--accent-soft);
  border-color: var(--accent);
}
.form .hint { font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.form-note {
  font-size: 0.82rem;
  color: var(--muted);
  background: #f6f1d8;
  border: 1px solid #e6db9a;
  border-radius: 8px;
  padding: 0.6rem 0.75rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start; }

/* Footer */
.footer {
  background: var(--ink);
  color: #d9d5cc;
  padding: 3rem 0 1.5rem;
  font-size: 0.95rem;
}
.footer a { color: #fff; }
.footer h2, .footer h3 { color: #fff; text-transform: none; font-size: 1.05rem; letter-spacing: 0; font-family: var(--font); margin-bottom: 0.7rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0.3rem 0; }
.legal { border-top: 1px solid #33363d; padding-top: 1rem; font-size: 0.85rem; color: #9a958b; }
.placeholder-tag {
  display: inline;
  background: #f6f1d8;
  color: #5a4a12;
  font-size: 0.78em;
  font-weight: 700;
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
}
.footer .placeholder-tag { background: #3a3420; color: #f0e3a8; }

/* WhatsApp float */
.wa-float {
  position: fixed;
  left: 16px;
  right: auto;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  background: #25D366;
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.55rem 1.05rem 0.55rem 0.55rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.wa-float:hover { background: #1EBE57; color: #fff !important; }
.wa-float svg { display: block; flex-shrink: 0; width: 28px; height: 28px; }

.prose p { margin: 0 0 0.9rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.2rem; }

/* Misc */
.steps-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.8rem; }
.steps-list li { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 0.9rem 1rem; }
.steps-list strong { display: block; margin-bottom: 0.2rem; }

@media (max-width: 900px) {
  .grid-4, .grid-3, .trust, .yt-grid, .yt-grid-2, .gallery, .footer-grid, .split, .form-grid, .grid-2 {
    grid-template-columns: 1fr;
  }
  .gallery { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: inline-flex; }
  nav.nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
  }
  nav.nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .dropdown { position: static; display: none; box-shadow: none; border: 0; min-width: 0; padding-left: 0.6rem; }
  .nav-list > li.is-open > .dropdown,
  .nav-list > li:focus-within > .dropdown { display: block; }
  .btn-nav-cta { margin: 0.4rem 0 0; }
  .hero { min-height: 70vh; }
  .wa-float span.label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .wa-float {
    width: 56px;
    height: 56px;
    padding: 0;
    background: transparent;
    box-shadow: 0 8px 24px rgba(18,140,70,0.35);
  }
  .wa-float:hover { background: transparent; filter: brightness(0.95); }
  .wa-float svg { width: 56px; height: 56px; }
  .hero .btn-row {
    /* CTAs sit above the left float and the right-side Netlify badge */
  }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .videos-mix { grid-template-columns: 1fr; }
  .local-video { max-width: 280px; margin-inline: auto; }
  .gallery-operacao { grid-template-columns: 1fr; }
}

.social { display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; margin: 0.8rem 0 0; padding: 0; list-style: none; }
.social a { color: #fff; font-weight: 600; }
.social .pending { color: #9a958b; }

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* Comparativo de ação e tabela técnica */
.acao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 800px) {
  .acao-grid { grid-template-columns: 1fr; }
}
.acao-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem 1.4rem;
}
.acao-card h3 { margin: 0.5rem 0 0.55rem; font-family: var(--cond); }
.acao-diagram {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 0.85rem;
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
}
.acao-points {
  margin: 0.15rem 0 0;
  padding: 0;
  list-style: none;
}
.acao-points li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.15rem;
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.45;
}
.acao-points li + li { border-top: 1px solid var(--line); }
.acao-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
}

.acao-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
  margin: 0 0 1.15rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-2);
}
.acao-legend-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.acao-swatch {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 2px;
  margin-right: 0.4rem;
  vertical-align: -0.12rem;
}
.acao-swatch-cyl { background: #3978F7; }
.acao-swatch-arm { background: #FF5926; }
.acao-render {
  position: relative;
  margin: 0 0 0.85rem;
  background: var(--paper);
  border-radius: 8px;
  overflow: hidden;
}
.acao-render picture,
.acao-render img {
  display: block;
  width: 100%;
  height: auto;
}
.acao-render img {
  background: transparent;
  object-fit: contain;
  aspect-ratio: auto;
}
.acao-labels {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.acao-kicker {
  margin: -0.2rem 0 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.acao-caption {
  margin: 0 0 0.75rem;
  color: var(--ink-2);
  font-size: 0.98rem;
  line-height: 1.45;
}
.gallery-versoes {
  grid-template-columns: repeat(2, 1fr);
}
.gallery-versoes img {
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
  height: auto;
}
.gallery-versoes-one {
  grid-template-columns: 1fr;
  max-width: 42rem;
}
@media (max-width: 800px) {
  .gallery-versoes { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .acao-diagram .acao-wheel {
    transform-box: fill-box;
    transform-origin: center;
    animation: acao-wheel 2.8s ease-in-out infinite;
  }
  .acao-diagram .acao-sprung {
    animation: acao-jolt 2.8s ease-in-out infinite;
  }
  .acao-diagram .acao-force-line {
    stroke-dasharray: 9 8;
    animation: acao-flow 1.05s linear infinite;
  }
  .acao-diagram .acao-force-glow {
    animation: acao-glow 2.8s ease-in-out infinite;
  }
}
@keyframes acao-wheel {
  0%, 14% { transform: translate(0, 0) rotate(0deg); }
  24% { transform: translate(14px, -13px) rotate(38deg); }
  34% { transform: translate(32px, -11px) rotate(78deg); }
  46% { transform: translate(40px, 0) rotate(110deg); }
  72%, 100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes acao-jolt {
  0%, 18% { transform: translate(0, 0); }
  26% { transform: translate(0, -4px); }
  34% { transform: translate(0, 0); }
  42% { transform: translate(0, -2px); }
  52%, 100% { transform: translate(0, 0); }
}
@keyframes acao-flow { to { stroke-dashoffset: -17; } }
@keyframes acao-glow {
  0%, 16%, 60%, 100% { opacity: 0.16; }
  26%, 40% { opacity: 0.42; }
}
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0.4rem 0 0; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--white);
}
.spec-table th, .spec-table td {
  text-align: left;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table thead th {
  font-weight: 600;
  background: var(--sand);
  border-bottom: 2px solid var(--line);
  white-space: nowrap;
}
.spec-table tbody th {
  font-weight: 500;
  width: 12.5rem;
  color: var(--ink-2);
  white-space: nowrap;
}
.spec-table tr.is-current { background: var(--blue-soft); }
.spec-table td.cap-nominal,
.spec-table th.cap-nominal {
  font-weight: 400;
  color: var(--ink-2);
}
.spec-table-model { max-width: 42rem; }
.spec-table a { color: inherit; }


/* Home v2 / mobile fold */
.hero-support {
  font-size: 1.05rem;
  margin: 0 0 1.2rem;
  opacity: 0.95;
  max-width: 28rem;
}
.hero-media img, .hero-media video {
  object-position: center 32%;
}
.hero-media::after {
  background:
    linear-gradient(90deg, rgba(10,11,14,0.72) 0%, rgba(10,11,14,0.35) 48%, rgba(10,11,14,0.12) 100%),
    linear-gradient(0deg, rgba(10,11,14,0.7) 0%, rgba(10,11,14,0.15) 48%, transparent 70%);
}
.line-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.line-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.15rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font);
  font-weight: 700;
}
.line-card .muted { margin: 0; font-size: 0.95rem; }
.diff-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem 1.25rem;
}
.diff-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.3;
  color: var(--ink);
}
.diff-icon {
  flex-shrink: 0;
  color: var(--blue);
  margin-top: 0.1rem;
}
.video-feature {
  max-width: 900px;
}
.video-feature .op-media { margin: 0; }
.cta-after-video { margin: 1.2rem 0 0; }
.lede-points {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  max-width: 40rem;
}
.lede-points li { margin: 0 0 0.35rem; }
.wa-float {
  left: 16px;
  right: auto;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}
.cta-final {
  padding-bottom: calc(3.4rem + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 900px) {
  .topbar { display: none; }
  .hero {
    min-height: calc(100svh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    align-items: end;
  }
  .hero-media img, .hero-media video {
    object-position: 42% 30%;
  }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(10,11,14,0.12) 0%, rgba(10,11,14,0.08) 42%, rgba(10,11,14,0.82) 100%);
  }
  .hero-body {
    padding: 1.1rem 0 calc(88px + env(safe-area-inset-bottom, 0px));
    max-width: none;
  }
  .hero h1 {
    font-size: clamp(1.55rem, 7.2vw, 1.95rem);
    line-height: 1.1;
    margin: 0 0 0.4rem;
    max-width: none;
  }
  .hero-support {
    font-size: 0.92rem;
    line-height: 1.35;
    margin: 0 0 0.9rem;
  }
  .hero .btn { padding: 0.68rem 1rem; font-size: 0.92rem; }
  .section-linhas { padding-top: 2rem; }
  .line-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .line-card .card-body { padding: 0.75rem 0.8rem 0.9rem; }
  .line-card h3 { font-size: 1.02rem; }
  .line-card .muted { font-size: 0.88rem; }
  .diff-list { grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
  .diffs { padding-top: 0.4rem; }
  .cta-final, body {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }
  body { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); }
  .page-hero { padding: 1.6rem 0 1.3rem; }
  .page-hero .lede { font-size: 1rem; }
}

@media (max-width: 560px) {
  /* Carrossel com foto grande, um card por vez e preview do próximo */
  .line-cards {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    padding: 0 0 0.8rem;
    margin-inline: -1rem;
    padding-inline: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .line-card {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
  .diff-list { grid-template-columns: 1fr; }
}


/* Plataforma: modelos e asa delta */
.model-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.model-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.model-card h3 {
  margin: 0;
  font-size: 1.15rem;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font);
  font-weight: 700;
}
.model-card .muted { margin: 0; font-size: 0.95rem; }
.model-card .asa-opt {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--ink);
}
.model-card .btn { margin-top: 0.55rem; align-self: flex-start; }
.asa-figure { margin: 0; }
.asa-figure figcaption { margin-top: 0.5rem; }
@media (max-width: 900px) {
  .model-cards { grid-template-columns: 1fr 1fr; }
  .model-card h3 { font-size: 1.05rem; }
}
@media (max-width: 560px) {
  .model-cards { grid-template-columns: 1fr; }
  .model-card { padding-left: 4.75rem; }
}


/* TowParts vitrine e opcionais de fábrica */
.card-media.contain {
  background: #f3f3f3;
}
.card-media.contain picture,
.card-media.contain img {
  object-fit: contain;
}
.product-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.product-card .card-body h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 0;
}
.product-card .sku {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.product-card .muted {
  margin: 0;
  font-size: 0.9rem;
}
.product-card .btn {
  margin-top: auto;
  align-self: flex-start;
}
/* Opcionais/acessórios: card na mesma grade de 3 colunas; imagem 4:3 (base .card-media) com teto de altura */
.opt-grid .card-media { max-height: 280px; }
.catalog-more {
  margin: 1.4rem 0 0;
  font-weight: 600;
}
.notice-loja {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--parts-soft, #FFF6D9);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cat-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 2rem;
}
.cat-group h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}
.cat-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.cat-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.9rem;
}
@media (max-width: 900px) {
  .cat-board { grid-template-columns: 1fr; }
}

/* Herói da home (18/11/2026): foto da HV com a garra aberta no desktop/tablet,
   vídeo vertical em órbita no celular (carregado por script só abaixo de 768 px). */
.hero-home .hero-media img {
  object-position: 60% 60%;
}
.hero-home h1, .hero-home .hero-support { text-shadow: 0 1px 14px rgba(0,0,0,0.45); }
.hero-home .hero-video {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero-home .hero-media::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,11,14,0.86) 0%, rgba(10,11,14,0.6) 32%, rgba(10,11,14,0.18) 58%, rgba(10,11,14,0) 75%),
    linear-gradient(180deg, rgba(10,11,14,0.55) 0%, rgba(10,11,14,0.15) 38%, transparent 55%);
}
@media (min-width: 901px) {
  .hero-home { align-items: start; }
  .hero-home .hero-body { padding: 3.2rem 0 3rem; max-width: none; }
  .hero-home .hero-body > * { max-width: 30rem; }
  .hero-home h1 { font-size: clamp(2.3rem, 4.2vw, 3.4rem); }
}
@media (max-width: 900px) {
  .hero-home .hero-media::after {
    background: linear-gradient(180deg, rgba(10,11,14,0.3) 0%, rgba(10,11,14,0.1) 30%, rgba(10,11,14,0.68) 62%, rgba(10,11,14,0.92) 100%);
  }
}
@media (max-width: 767px) {
  .hero-home .hero-media img { object-position: 50% 50%; }
  .hero-home .hero-video[data-loaded] { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-home .hero-video { display: none !important; }
}

/* TowEkko is a separate site. Logo green #74C45A is used as accent;
   link text on light backgrounds uses #3B6A28 (same hue, contrast AA 6.4:1 on white).
   On the dark footer, #74C45A itself meets AA against #111. */
:root { --ekko-ink: #3B6A28; }
.nav-list a.nav-towekko,
.nav-list a.ext-brand.nav-towekko {
  color: var(--ekko-ink);
  font-weight: 700;
}
.nav-list a.nav-towekko:hover,
.nav-list a.nav-towekko:focus-visible,
.nav-list a.ext-brand.nav-towekko:hover,
.nav-list a.ext-brand.nav-towekko:focus-visible {
  color: #2F6B24;
  background: var(--ekko-soft);
}
.ext-icon {
  width: 0.85em;
  height: 0.85em;
  margin-left: 0.22em;
  flex-shrink: 0;
  opacity: 0.9;
  vertical-align: -0.05em;
}
.footer a.ext-brand,
.footer a.nav-towekko {
  color: #74C45A;
}
.footer a.ext-brand:hover,
.footer a.nav-towekko:hover {
  color: #9AD48A;
}
.brand-card.towekko .ext-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0.7rem 0 0;
  color: var(--ekko-ink);
  font-weight: 650;
  font-size: 0.9rem;
}
.prose a .ext-icon { margin-left: 0.15em; }


/* Capas de estúdio branco (HV e LT-L). Não altera o hero da home. */
.card-media-studio {
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}
.card-media-studio picture,
.card-media-studio img {
  object-fit: contain;
  object-position: center;
}
.hero-studio {
  background: #fff;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.hero-studio-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2rem 2.4rem;
  align-items: center;
  padding: 2.4rem 0 2.6rem;
}
.hero-studio-copy { min-width: 0; }
.hero-studio .crumbs,
.hero-studio .crumbs a { color: var(--muted); }
.hero-studio .crumbs li:not(:last-child)::after { color: #9aa0a8; }
.hero-studio .eyebrow { color: var(--accent); }
.hero-studio h1 {
  font-family: var(--cond);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.98;
  text-transform: uppercase;
  margin: 0 0 0.9rem;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}
.hero-studio .lede { color: var(--muted); margin: 0 0 1.1rem; }
.hero-studio .lede-points { margin: 0 0 1.2rem; padding-left: 1.15rem; }
.hero-studio-media {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-studio-media picture,
.hero-studio-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
@media (max-width: 800px) {
  .hero-studio-inner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.4rem 0 1.8rem;
  }
  /* Foto em cima, texto embaixo (pedido da prancha; não altera o desktop). */
  .hero-studio--photo-first .hero-studio-media { order: -1; }
  .hero-studio--photo-first .hero-studio-media { aspect-ratio: auto; }
}

/* Foto de capa no card de modelo de plataforma (fundo de estúdio, 4:3) */
.model-media {
  margin: -1.1rem -1.15rem 0.6rem;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.model-media picture,
.model-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 560px) {
  .model-media { margin-left: -4.75rem; }
}

.asa-figs { display: grid; gap: 1.25rem; align-content: start; }
.asa-figs img { width: 100%; height: auto; display: block; border-radius: 10px; }

.form .form-status { margin: 0.5rem 0 0; font-weight: 600; color: var(--ink, #1a1a1a); min-height: 1em; }
.form .form-status:empty { display: none; }

/* Lança zero grau: cards dos modelos HV, LT-H, LT-L com CTA para o formulário */
.lanca-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.lanca-card { display: flex; flex-direction: column; }
.lanca-card .card-body { display: flex; flex-direction: column; flex: 1; }
.lanca-card h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.lanca-card h3 a { color: inherit; text-decoration: none; }
.lanca-card .muted { flex: 1; }
.lanca-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-top: 0.9rem; }
.lanca-card-actions .btn { flex: 1 1 auto; text-align: center; }
.lanca-card-actions .card-link { font-weight: 600; white-space: nowrap; }
@media (max-width: 860px) { .lanca-cards { grid-template-columns: 1fr; } }
#lead-form, #orcamento, #asa-delta, #videos { scroll-margin-top: 88px; }
/* Evita que tabelas largas estourem a coluna do grid no celular (a tabela rola dentro do .table-wrap) */
.split > *, .grid > * { min-width: 0; }
/* Cards de modelo: a foto inteira aparece (sem corte), em moldura 4:3 com fundo branco. */
.card-media-studio { aspect-ratio: 4 / 3; display: block; }
.card-media-studio picture, .card-media-studio img { object-fit: contain !important; background: #fff; }
.card-media-full { background: #fff; }

/* Depoimentos de clientes (21/11/2026) */
.depo .depo-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.depo-card { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.25rem 1.1rem; display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; font-family: var(--font); }
.depo-card blockquote { margin: 0; position: relative; padding-top: 1.6rem; }
.depo-card blockquote::before { content: "\201C"; position: absolute; top: -0.35rem; left: -0.1rem; font-size: 3rem; line-height: 1; font-weight: 700; color: var(--accent, var(--blue)); }
.depo-card blockquote p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--ink-2); }
.depo-card figcaption { display: flex; flex-direction: column; gap: 0.2rem; border-top: 1px solid var(--line); padding-top: 0.75rem; }
.depo-card figcaption strong { font-weight: 600; color: var(--ink); font-size: 0.95rem; overflow-wrap: anywhere; }
.depo-src { font-size: 0.85rem; color: var(--muted); display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.depo-stars { color: #C98A00; letter-spacing: 0.05em; font-size: 0.9rem; }
@media (max-width: 700px) {
  .depo .depo-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.8rem; margin: 0 calc(-1 * 1rem); padding: 0 1rem 0.6rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .depo-card { flex: 0 0 84%; scroll-snap-align: center; }
}

/* Opcionais no formulário (22/11/2026) */
.form-opcionais { border: 1px solid var(--line); border-radius: 8px; padding: 0.7rem 0.85rem; margin: 0; display: grid; gap: 0.45rem; }
.form-opcionais[hidden], .form-opcionais .opc-check[hidden] { display: none; }
.form-opcionais legend { font-weight: 600; font-size: 0.92rem; padding: 0 0.3rem; }
.form .opc-check { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; }
.form .opc-check input { width: auto; padding: 0; margin: 0; accent-color: var(--accent); }

/* Turnstile (anti-spam do formulário) */
.ts-box:empty { display: none; }
.ts-box { margin: 0.4rem 0; }
