/* ==========================================================
   Brusco Mecânica e Auto Center — estilos do site
   Identidade: vermelho #d82418 do logo, preto, prata cromado.
   ========================================================== */
/* ==========================================================
   Paulo Sérgio Treinamentos — estilos do site
   Identidade: vermelho #d42b2b / vermelho profundo do logo,
   preto, prata cromado e cinza claro.
   ========================================================== */

:root {
  --red: #d82418;
  --red-600: #b81c12;
  --red-700: #93150d;
  --red-900: #4a0b06;
  --red-bright: #ff5442;
  --ink: #0c0c0e;
  --ink-2: #141417;
  --ink-3: #1d1e22;
  --steel: #2a2c31;
  --silver: #c4c8ce;
  --silver-2: #e4e6e9;
  --paper: #f4f4f5;
  --white: #ffffff;
  --text: #17181b;
  --muted: #5b5e66;
  --muted-on-dark: #a9adb5;
  --line: #e2e3e6;
  --line-dark: rgba(255, 255, 255, .1);
  --wa: #25d366;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(12, 12, 14, .06);
  --shadow: 0 22px 50px -20px rgba(12, 12, 14, .32);
  --shadow-lg: 0 40px 90px -30px rgba(12, 12, 14, .55);
  --font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
main { overflow-x: clip; }
.m-only { display: none; }
img { max-width: 100%; height: auto; display: block; }
img.is-broken { opacity: 0 !important; }
a { color: inherit; }
button { font: inherit; }
svg { flex: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Ícones ---------- */
.i { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; stroke: none; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--red);
  --fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 12px;
  border: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  box-shadow: 0 12px 28px -12px rgba(216, 36, 24, .7);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover { --bg: var(--red-600); }
.btn .i { width: 20px; height: 20px; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 16px; border-radius: 10px; }
.btn-ghost { --bg: rgba(255, 255, 255, .06); --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost:hover { --bg: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px #fff; }
.btn-dark { --bg: var(--ink); --fg: #fff; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.btn-dark:hover { --bg: #000; }
.btn-light { --bg: #fff; --fg: var(--ink); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .4); }
.btn-light:hover { --bg: #fff; }
.btn-wa { --bg: var(--wa); --fg: #08361b; box-shadow: 0 12px 28px -12px rgba(37, 211, 102, .7); }
.btn-wa:hover { --bg: #3ee07c; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #cfd2d7; font-size: 13.5px; position: relative; z-index: 51; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { text-decoration: none; transition: color .2s; }
.topbar a:hover { color: #fff; }
.tb-left, .tb-right { display: flex; align-items: center; gap: 18px; }
.tb-left { gap: 10px; }
.tb-right .i { width: 15px; height: 15px; color: var(--red-bright); }
.tb-right a, .tb-right span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.tb-left span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.speed-bars { display: inline-flex; gap: 3px; transform: skewX(-18deg); }
.speed-bars i { display: block; width: 5px; height: 10px; background: var(--red); }
.speed-bars i:nth-child(2) { opacity: .7; }
.speed-bars i:nth-child(3) { opacity: .4; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .35s var(--ease);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -14px rgba(12, 12, 14, .3); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 104px; transition: height .4s var(--ease); }
.site-header.is-scrolled .header-row { height: 78px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 84px; width: auto; transition: height .4s var(--ease), transform .4s var(--ease); }
.site-header.is-scrolled .brand img { height: 62px; }
.brand:hover img { transform: translateX(3px); }
.progress {
  position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--red-900), var(--red) 60%, #ff7a4d);
}

.nav { display: flex; align-items: center; gap: 10px; }
.nav-list { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; align-items: center; }
.nav-link {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav-link .i { width: 16px; height: 16px; transition: transform .3s; }
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--red-600); }

.has-dd { position: relative; }
.has-dd:hover .nav-link .i, .has-dd.open .nav-link .i { transform: rotate(180deg); }
.dd {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: 600px; padding: 12px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s;
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-dd:hover .dd, .has-dd:focus-within .dd, .has-dd.open .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd a { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; transition: background .2s; }
.dd a:hover { background: var(--paper); }
.dd-ico { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--red), var(--red-900)); }
.dd-ico .i { width: 21px; height: 21px; }
.dd strong { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; margin-top: 2px; }
.dd small { display: block; color: var(--muted); font-size: 13.5px; line-height: 1.35; margin-top: 3px; }
.dd .dd-all { grid-column: 1 / -1; justify-content: space-between; align-items: center; background: var(--ink); color: #fff; margin-top: 6px; padding: 14px 18px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.dd .dd-all:hover { background: var(--red-600); }

.menu-btn {
  display: none; width: 50px; height: 50px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-btn .i { width: 24px; height: 24px; }
.menu-btn .i-close { display: none; }
body.menu-open .menu-btn .i-open { display: none; }
body.menu-open .menu-btn .i-close { display: block; }

/* Menu mobile (fora do header) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink); color: #fff;
  padding: 120px max(var(--gutter), env(safe-area-inset-right, 0px)) 40px max(var(--gutter), env(safe-area-inset-left, 0px));
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.mobile-menu::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 100% 0%, rgba(216, 36, 24, .35), transparent 55%);
}
.mm-list { list-style: none; margin: 0 0 28px; padding: 0; }
.mm-list > li { border-bottom: 1px solid var(--line-dark); opacity: 0; transform: translateX(24px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
body.menu-open .mm-list > li { opacity: 1; transform: none; }
body.menu-open .mm-list > li:nth-child(2) { transition-delay: .05s; }
body.menu-open .mm-list > li:nth-child(3) { transition-delay: .1s; }
body.menu-open .mm-list > li:nth-child(4) { transition-delay: .15s; }
body.menu-open .mm-list > li:nth-child(5) { transition-delay: .2s; }
.mm-list a, .mm-list summary {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; text-decoration: none; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 700; font-size: 32px; text-transform: uppercase; letter-spacing: .02em; line-height: 1;
}
.mm-list summary::-webkit-details-marker { display: none; }
.mm-list a[aria-current="page"] { color: var(--red-bright); }
.mm-list details[open] summary .i { transform: rotate(180deg); }
.mm-list summary .i { transition: transform .3s; width: 26px; height: 26px; }
.mm-sub { list-style: none; margin: -4px 0 16px; padding: 0 0 0 14px; border-left: 2px solid var(--red); }
.mm-sub a { font-size: 21px; font-weight: 600; padding: 10px 0; color: #d9dbdf; justify-content: flex-start; }
.mm-actions { display: grid; gap: 12px; }
.mm-info { margin-top: 28px; color: var(--muted-on-dark); font-size: 15px; line-height: 1.6; }
.mm-info a { color: #fff; text-decoration: none; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #fff;
  min-height: clamp(640px, 86svh, 880px);
  display: flex; align-items: center;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { animation: kenburns 10s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.05) translate3d(0, 0, 0); } to { transform: scale(1.18) translate3d(-2%, -1.5%, 0); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 10% 110%, rgba(216, 36, 24, .5), transparent 60%),
    linear-gradient(90deg, rgba(12, 12, 14, .97) 0%, rgba(12, 12, 14, .88) 36%, rgba(12, 12, 14, .5) 68%, rgba(12, 12, 14, .78) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 40px; padding-block: 72px 140px; width: 100%; }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  font-size: 14.5px; font-weight: 600; letter-spacing: .02em; color: #e9eaec;
  backdrop-filter: blur(8px);
}
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red-bright); box-shadow: 0 0 0 0 rgba(255, 84, 66, .7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 84, 66, .6); } 70% { box-shadow: 0 0 0 12px rgba(255, 84, 66, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 84, 66, 0); } }
.hero h1 {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.7rem, 6.2vw, 5.4rem); line-height: .92; letter-spacing: -.01em;
  margin: 22px 0 22px; text-wrap: balance;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero h1 em, .page-hero h1 em { font-style: italic; color: transparent; background: linear-gradient(100deg, #ff6a4f 0%, var(--red) 45%, #ff9a5c 100%); -webkit-background-clip: text; background-clip: text; padding-right: .06em; }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #d3d5da; max-width: 54ch; margin: 0 0 32px; opacity: 0; animation: fadeUp .9s .45s var(--ease) forwards; }
.hero .lead strong { color: #fff; font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fadeUp .9s .6s var(--ease) forwards; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line-dark); opacity: 0; animation: fadeUp .9s .75s var(--ease) forwards; }
.hero-facts div { display: flex; flex-direction: column; }
.hero-facts b { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 30px; line-height: 1; color: #fff; }
.hero-facts span { font-size: 14px; color: var(--muted-on-dark); margin-top: 4px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-emblem { display: flex; justify-content: center; opacity: 0; animation: emblemIn 1.4s .2s var(--ease) forwards; }
@keyframes emblemIn { from { opacity: 0; transform: scale(.86) rotate(-25deg); } to { opacity: 1; transform: none; } }

.pixels { position: absolute; pointer-events: none; z-index: -1; }
.pixels rect { animation: twinkle 3.2s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: var(--o, .5); } 50% { opacity: calc(var(--o, .5) * .25); } }
.hero .pixels { left: -20px; top: 40px; width: 360px; opacity: .55; }

.hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.road { position: relative; height: 70px; overflow: hidden; }
.road::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 30px; height: 3px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .5) 0 70px, transparent 70px 140px);
  animation: lane 1.1s linear infinite;
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}
.road::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent);
}
@keyframes lane { to { background-position: -140px 0; } }
.slide-dots { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: 52px; display: flex; gap: 8px; z-index: 3; }
.slide-dots button { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .25); cursor: pointer; overflow: hidden; position: relative; }
.slide-dots button::after { content: ""; position: absolute; inset: 0; background: var(--red-bright); transform: scaleX(0); transform-origin: left; }
.slide-dots button.is-active::after { animation: dotfill var(--slide-ms, 6500ms) linear forwards; }
@keyframes dotfill { to { transform: scaleX(1); } }

/* ---------- Estrela cromada ---------- */
.emblem { position: relative; width: min(430px, 100%); aspect-ratio: 1; }
.emblem-float { position: absolute; inset: 0; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.emblem-halo {
  position: absolute; inset: -14%; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0 18%, rgba(216, 36, 24, .65) 28%, transparent 40% 58%, rgba(255, 255, 255, .4) 68%, transparent 80%);
  filter: blur(34px); animation: spin 12s linear infinite;
}
.emblem-glow { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 66%); pointer-events: none; }
.emblem-ticks { position: absolute; inset: -9%; width: 118%; height: 118%; animation: spin 60s linear infinite reverse; opacity: .7; }
.emblem-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, .65)) drop-shadow(0 0 22px rgba(255, 255, 255, .14));
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
}
.emblem-svg .shine { animation: shine 5s cubic-bezier(.55, 0, .25, 1) infinite; }
.emblem-svg .spark { transform-box: fill-box; transform-origin: center; animation: spark 5s ease-in-out infinite; }
@keyframes shine { 0% { transform: rotate(28deg) translateX(-240px); } 45%, 100% { transform: rotate(28deg) translateX(240px); } }
@keyframes spark { 0%, 30%, 60%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 42% { opacity: 1; transform: scale(1) rotate(45deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.emblem.sm { width: 112px; }
.emblem.sm .emblem-halo { filter: blur(16px); }
.emblem.sm .emblem-ticks { display: none; }

/* ---------- Marquee ---------- */
.marquee { position: relative; background: var(--red); color: #fff; overflow: hidden; z-index: 2; }
.marquee::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--red-900), transparent 18%, transparent 82%, var(--red-900));
  opacity: .55; z-index: 1;
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 34px; padding: 15px 17px; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 22px; letter-spacing: .07em; text-transform: uppercase; }
.marquee-group .sq { width: 10px; height: 10px; background: #fff; opacity: .55; transform: skewX(-16deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.sec { padding-block: clamp(72px, 10vw, 124px); position: relative; }
.sec-paper { background: var(--paper); }
.sec-dark { background: var(--ink); color: #fff; }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head.center { text-align: center; margin-inline: auto; }
.sec-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec-head.split > div { max-width: 700px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--red-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 36px; height: 14px;
  background: radial-gradient(circle at 7px 7px, transparent 0 2.6px, var(--red) 3px 6px, transparent 6.4px),
              linear-gradient(var(--red), var(--red)) no-repeat 17px 6px / 19px 2px;
}
.sec-dark .eyebrow, .page-hero .eyebrow, .contact .eyebrow { color: #ff6a55; }
.title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: .96; letter-spacing: -.005em;
  margin: 0 0 18px; text-wrap: balance;
}
.title em { font-style: italic; color: var(--red); }
.sec-dark .title em, .contact .title em { color: var(--red-bright); }
.sec-head p { color: var(--muted); font-size: 18.5px; margin: 0; max-width: 62ch; }
.sec-head.center p { margin-inline: auto; }
.sec-dark .sec-head p { color: var(--muted-on-dark); }

/* Revelar ao rolar */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- Números ---------- */
.stats { padding-block: clamp(56px, 7vw, 84px); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.stat { padding: 4px 0 4px 22px; border-left: 3px solid var(--red); }
.stat-num { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(3rem, 6vw, 4.8rem); line-height: .9; color: var(--ink); white-space: nowrap; }
.stat-num small { font-size: .5em; color: var(--red); font-style: normal; margin-left: 2px; vertical-align: .55em; }
.stat-label { color: var(--muted); font-size: 15.5px; line-height: 1.35; margin-top: 10px; max-width: 24ch; }

/* ---------- Cards de treinamento ---------- */
.courses-featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.courses-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.courses-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.course {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.course::before {
  content: ""; position: absolute; left: 0; bottom: 0; z-index: 2; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--red), var(--red-900));
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.course:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: transparent; }
.course:hover::before { transform: scaleX(1); }
.course-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--steel), var(--ink)); }
.course-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.course:hover .course-media img { transform: scale(1.08); }
.course-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(12, 12, 14, .55)); }
.course-tag {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(12, 12, 14, .78); color: #fff; font-size: 13.5px; font-weight: 600;
  backdrop-filter: blur(6px);
}
.course-tag .i { width: 15px; height: 15px; color: var(--red-bright); }
.course-ico {
  position: absolute; right: 18px; top: -24px; z-index: 3;
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, var(--red), var(--red-900));
  box-shadow: 0 10px 22px -8px rgba(147, 21, 13, .8);
  transition: transform .5s var(--ease);
}
.course:hover .course-ico { transform: rotate(-8deg) scale(1.06); }
.course-ico .i { width: 23px; height: 23px; }
.course-body { position: relative; padding: 24px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.course h3 { font-family: var(--font-display); font-weight: 700; font-size: 27px; line-height: 1; text-transform: uppercase; margin: 0; padding-right: 50px; }
.course p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.course-more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 15px; color: var(--red-600); }
.course-more .i { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.course:hover .course-more .i { transform: translateX(6px); }
.course.featured .course-media { aspect-ratio: 16 / 9; }
.course.featured h3 { font-size: clamp(30px, 3vw, 38px); }
.course.featured p { font-size: 16.5px; }
.levels { display: flex; flex-wrap: wrap; gap: 8px; }
.level { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; background: #fdebe9; color: var(--red-700); }

/* ---------- Tecnologia ---------- */
.tech { background: radial-gradient(ellipse 70% 60% at 85% 0%, rgba(216, 36, 24, .22), transparent 60%), var(--ink); color: #fff; overflow: hidden; }
.tech-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.tech p { color: var(--muted-on-dark); }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.45; }
.checks .ck { flex: none; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: rgba(216, 36, 24, .18); color: var(--red-bright); margin-top: 1px; }
.checks .ck .i { width: 16px; height: 16px; stroke-width: 3; }
.light .checks .ck { background: #fdebe9; color: var(--red); }

.video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0;
  border-radius: var(--radius); overflow: hidden; background: var(--ink-3);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: var(--shadow-lg); cursor: pointer; color: #fff; text-align: left;
}
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: transform 1s var(--ease), opacity .4s; }
.video:hover img { transform: scale(1.05); opacity: 1; }
.video .play {
  position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--red); color: #fff;
  animation: pulse 2.4s infinite;
}
.video .play .i { width: 34px; height: 34px; margin-left: 5px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(216, 36, 24, .65); } 70% { box-shadow: 0 0 0 26px rgba(216, 36, 24, 0); } 100% { box-shadow: 0 0 0 0 rgba(216, 36, 24, 0); } }
.video-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; background: linear-gradient(transparent, rgba(0, 0, 0, .88)); font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .05em; text-transform: uppercase; }
.video-cap small { display: block; font-family: var(--font-body); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 14px; color: #c9ccd1; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.launch { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 0; border-radius: 20px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line-dark); text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s; }
.launch:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.launch-img { overflow: hidden; background: var(--ink-3); min-height: 220px; }
.launch-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.launch:hover .launch-img img { transform: scale(1.04); }
.launch-body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.launch-body h3 { font-family: var(--font-display); font-size: clamp(28px, 3vw, 38px); font-weight: 800; text-transform: uppercase; line-height: .95; margin: 0; }
.launch-body p { margin: 0; color: var(--muted-on-dark); }
.launch-body .course-more { color: var(--red-bright); }

/* ---------- Público ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.aud-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 36px); position: relative; overflow: hidden; }
.aud-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(216, 36, 24, .1), transparent 70%); }
.aud-card h3 { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1; margin: 0 0 8px; }
.aud-card h3 .dd-ico { width: 46px; height: 46px; }
.aud-card > p { margin: 0 0 18px; color: var(--muted); }
.aud-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.aud-list li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--paper); font-weight: 600; font-size: 15.5px; line-height: 1.25; transition: background .3s, transform .3s var(--ease); }
.aud-list li:hover { background: #fdebe9; transform: translateX(4px); }
.aud-list .i { width: 19px; height: 19px; color: var(--red); }

/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 168px; gap: 12px; }
.g-item { position: relative; grid-column: span 3; overflow: hidden; border-radius: 14px; background: var(--ink-3); cursor: zoom-in; padding: 0; border: 0; }
.g-item:nth-child(1) { grid-column: span 6; grid-row: span 2; }
.g-item:nth-child(6), .g-item:nth-child(7) { grid-column: span 6; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; filter: saturate(.9); }
.g-item:hover img { transform: scale(1.07); filter: saturate(1.1); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .7)); opacity: .7; transition: opacity .4s; }
.g-item:hover::after { opacity: 1; }
.g-item .zoom { position: absolute; right: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(12, 12, 14, .6); color: #fff; opacity: 0; transform: scale(.7); transition: .35s var(--ease); }
.g-item:hover .zoom { opacity: 1; transform: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8, 8, 10, .94); display: grid; place-items: center; padding: 60px max(16px, env(safe-area-inset-right, 0px)) 60px max(16px, env(safe-area-inset-left, 0px)); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1200px, 100%); max-height: 82vh; width: auto; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); transform: scale(.96); transition: transform .4s var(--ease); }
.lightbox.open img { transform: none; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background .2s; }
.lb-btn:hover { background: var(--red); }
.lb-btn .i { width: 24px; height: 24px; }
.lb-close { top: 16px; right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-prev { left: max(16px, env(safe-area-inset-left, 0px)); top: 50%; margin-top: -26px; }
.lb-next { right: max(16px, env(safe-area-inset-right, 0px)); top: 50%; margin-top: -26px; }
.lb-count { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: #aaa; font-size: 14px; letter-spacing: .1em; }

/* ---------- Sobre (home) ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.collage { position: relative; padding: 0 0 70px 0; }
.collage .c-main { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3.2; background: var(--steel); box-shadow: var(--shadow); }
.collage .c-main img, .collage .c-sub img { width: 100%; height: 100%; object-fit: cover; }
.collage .c-sub { position: absolute; right: -4%; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; border: 6px solid #fff; box-shadow: var(--shadow); background: var(--steel); }
.badge-years {
  position: absolute; left: -14px; bottom: 26px; z-index: 2;
  width: 148px; height: 148px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-900)); color: #fff;
  display: grid; place-items: center; text-align: center;
  box-shadow: 0 20px 40px -14px rgba(147, 21, 13, .9);
}
.badge-years b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 54px; line-height: .85; }
.badge-years span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; margin-top: 4px; }
.badge-years svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 22s linear infinite; }
.about-text p { color: #3c3f45; font-size: 18px; }
.sign { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 30px; color: var(--ink); margin: 6px 0 24px; }
.sign small { display: block; font-family: var(--font-body); font-style: normal; font-weight: 500; font-size: 14.5px; color: var(--muted); }

/* ---------- Contato / Formulário ---------- */
.contact {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(ellipse 80% 70% at 0% 0%, rgba(216, 36, 24, .55), transparent 60%), linear-gradient(160deg, var(--red-900) 0%, var(--ink) 55%);
}
.contact .pixels { right: -30px; bottom: 30px; width: 380px; opacity: .35; transform: scaleX(-1); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact .sec-head p { color: #d6d8dc; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); transition: background .3s, border-color .3s; }
.info-list li:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .18); }
.info-ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(216, 36, 24, .22); color: var(--red-bright); }
.info-ico.wa { background: rgba(37, 211, 102, .16); color: var(--wa); }
.info-list h4 { margin: 0 0 2px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #b9bcc3; font-weight: 700; }
.info-list p { margin: 0; line-height: 1.5; color: #fff; overflow-wrap: anywhere; }
.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--red-bright); }

.form-card { position: relative; background: #fff; color: var(--text); border-radius: 24px; padding: clamp(22px, 4vw, 42px); box-shadow: var(--shadow-lg); }
.form-card::before { content: ""; position: absolute; left: 32px; right: 32px; top: -6px; height: 6px; border-radius: 6px 6px 0 0; background: linear-gradient(90deg, var(--red), var(--red-900)); }
.form-card h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3vw, 34px); line-height: 1; margin: 0 0 6px; }
.form-card > p { margin: 0 0 24px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 13.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--red-700); }
.field label .opt { color: var(--muted); font-weight: 500; letter-spacing: .04em; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; line-height: 1.4; color: var(--text);
  background: #fff; border: 2px solid #ece4e4; border-radius: 14px; padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2393150d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8b8e95; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #dcd0d0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(216, 36, 24, .12); }
.field.invalid input, .field.invalid select { border-color: #e04848; background: #fff7f7; }
.field .err { display: none; color: #c62828; font-size: 13.5px; font-weight: 600; }
.field.invalid .err { display: block; }
.form-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.btn-send {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 0 30px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 19px;
  box-shadow: 0 18px 34px -16px rgba(0, 0, 0, .7);
  transition: transform .3s var(--ease), background .3s, box-shadow .3s;
}
.btn-send .i { width: 26px; height: 26px; transition: color .3s, transform .4s var(--ease); }
.btn-send:hover { background: #000; transform: translateY(-2px); box-shadow: 0 22px 40px -16px rgba(0, 0, 0, .8); }
.btn-send:hover .i { color: var(--wa); transform: rotate(-10deg) scale(1.1); }
.form-note { font-size: 14px; color: var(--muted); margin: 0; max-width: 34ch; line-height: 1.45; }
.form-ok { display: none; margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: #eafaf0; color: #136c35; font-weight: 600; font-size: 15px; }
.form-ok.show { display: block; }

.map { margin-top: 28px; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); aspect-ratio: 16 / 9; background: var(--ink-3); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }

/* ---------- CTA faixa ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--red); color: #fff; padding-block: clamp(48px, 6vw, 72px); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, var(--red-900) 0%, transparent 55%), repeating-linear-gradient(-60deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 22px); }
.cta-band .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4vw, 48px); line-height: .95; margin: 0; max-width: 20ch; text-wrap: balance; }
.cta-band p { margin: 10px 0 0; color: #ffe1e1; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Hero das páginas internas ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(216, 36, 24, .32), transparent 60%), radial-gradient(ellipse 50% 60% at 0% 100%, rgba(216, 36, 24, .2), transparent 60%), var(--ink);
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent);
}
.page-hero .pixels { left: -10px; bottom: 20px; width: 300px; opacity: .4; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero-grid.solo { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
.page-hero-grid.solo .emblem { width: 100%; margin-left: auto; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14.5px; color: var(--muted-on-dark); margin: 0 0 20px; padding: 0; list-style: none; }
.crumbs a { text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { width: 6px; height: 6px; background: var(--red); transform: skewX(-18deg); }
.crumbs [aria-current] { color: #fff; font-weight: 600; }
.page-hero h1 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: .92; margin: 0 0 20px; text-wrap: balance; animation: fadeUp .9s var(--ease) both; }
.page-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d3d5da; max-width: 58ch; margin: 0; animation: fadeUp .9s .15s var(--ease) both; }
.meta-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; animation: fadeUp .9s .25s var(--ease) both; }
.meta-chip { display: inline-flex; align-items: center; gap: 9px; padding: 10px 15px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); font-size: 15px; color: #d6d8dc; }
.meta-chip .i { width: 18px; height: 18px; color: var(--red-bright); }
.meta-chip b { color: #fff; font-weight: 700; }
.page-hero .hero-actions { opacity: 1; animation: fadeUp .9s .35s var(--ease) both; }
.frame { position: relative; animation: fadeUp 1.1s .2s var(--ease) both; }
.frame::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--red); border-radius: 24px; }
.frame-img { position: relative; z-index: 1; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--steel), var(--ink-3)); box-shadow: var(--shadow-lg); }
.frame-img img { width: 100%; height: 100%; object-fit: cover; }
.frame-img.contain { background: #fff; }
.frame-img.contain img { object-fit: contain; padding: 8%; }
.frame .emblem.sm { position: absolute; right: -36px; top: -40px; z-index: 2; }

/* ---------- Detalhe do treinamento ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.prose h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3vw, 36px); line-height: 1; margin: 56px 0 16px; display: flex; align-items: center; gap: 14px; }
.prose h2::before { content: ""; width: 10px; height: 26px; background: var(--red); transform: skewX(-18deg); flex: none; }
.prose > :first-child { margin-top: 0; }
.prose p { color: #393b41; font-size: 18px; margin: 0 0 16px; }
.prose p strong { color: var(--ink); }
.topics { list-style: none; counter-reset: t; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.topics li { counter-increment: t; display: flex; gap: 14px; align-items: flex-start; padding: 15px 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-weight: 500; line-height: 1.4; transition: border-color .3s, transform .3s var(--ease), background .3s; }
.topics li:hover { border-color: rgba(216, 36, 24, .4); background: #fff; transform: translateY(-2px); }
.topics li::before { content: counter(t, decimal-leading-zero); flex: none; min-width: 30px; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 22px; line-height: 1; color: var(--red); }
.topics.single { grid-template-columns: 1fr; }
.sub-list { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.sub-list span { font-size: 13px; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: #fdebe9; color: var(--red-700); }
.req-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.req { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.req .info-ico { background: #fdebe9; color: var(--red); }
.req h4 { margin: 0 0 4px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.req p { margin: 0; font-size: 16px; color: var(--text); line-height: 1.45; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chips span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 15.5px; }
.chips .i { width: 18px; height: 18px; color: var(--red); }
.note { margin-top: 22px; padding: 16px 18px; border-radius: 14px; background: #fff6f6; border-left: 4px solid var(--red); color: #4a2a2a; font-size: 16px; }
.inline-imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.inline-imgs button { padding: 0; border: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; background: var(--paper); }
.inline-imgs img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.inline-imgs button:hover img { transform: scale(1.06); }
.inline-imgs .contain img { object-fit: contain; padding: 10%; background: #fff; }

.aside-card { position: sticky; top: 104px; background: var(--ink); color: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate; }
.aside-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 100% 0%, rgba(216, 36, 24, .45), transparent 60%); }
.aside-card h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; margin: 0 0 18px; }
.aside-list { list-style: none; margin: 0 0 24px; padding: 0; }
.aside-list li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-dark); font-size: 15.5px; }
.aside-list li span { color: var(--muted-on-dark); display: inline-flex; align-items: center; gap: 8px; }
.aside-list li span .i { width: 17px; height: 17px; color: var(--red-bright); }
.aside-list li b { text-align: right; }
.aside-card .btn { width: 100%; }
.aside-card .btn + .btn { margin-top: 10px; }
.aside-card small { display: block; text-align: center; color: var(--muted-on-dark); margin-top: 14px; font-size: 13.5px; }

/* ---------- Texto longo (políticas) ---------- */
.legal { max-width: 820px; margin-inline: auto; }
.legal h2 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 1.05; margin: 44px 0 12px; }
.legal h3 { font-size: 19px; margin: 26px 0 8px; }
.legal p, .legal li { color: #393b41; font-size: 17.5px; }
.legal ul { padding-left: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 4px solid var(--red); padding-top: clamp(48px, 7vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .9fr .9fr 1.35fr; gap: 40px; }
.footer-brand img { height: 74px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 15.5px; margin: 0 0 20px; max-width: 34ch; }
.site-footer h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; color: var(--ink); }
.f-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-links a { color: #3c3f45; text-decoration: none; font-size: 15.5px; transition: color .2s, padding .3s var(--ease); display: inline-block; }
.f-links a:hover { color: var(--red-600); padding-left: 6px; }
.f-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; color: #3c3f45; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.f-contact .i { width: 18px; height: 18px; color: var(--red); margin-top: 2px; }
.f-contact a { text-decoration: none; overflow-wrap: anywhere; }
.f-contact a:hover { color: var(--red-600); }
.footer-bottom { margin-top: clamp(40px, 6vw, 64px); background: var(--ink); color: #9da0a7; font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 20px; }
.footer-bottom a { color: #d6d8dc; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; z-index: 40;
  right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 10px; text-decoration: none;
}
.wa-float .wa-ball { position: relative; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8); transition: transform .3s var(--ease); }
.wa-float .wa-ball::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waRing 2.4s ease-out infinite; }
@keyframes waRing { from { transform: scale(1); opacity: .9; } to { transform: scale(1.55); opacity: 0; } }
.wa-float .wa-ball .i { width: 32px; height: 32px; }
.wa-float:hover .wa-ball { transform: scale(1.08) rotate(-6deg); }
.wa-tip { background: #fff; color: var(--ink); font-weight: 700; font-size: 14.5px; padding: 10px 14px; border-radius: 12px; box-shadow: var(--shadow); white-space: nowrap; opacity: 0; transform: translateX(10px); transition: .35s var(--ease); pointer-events: none; }
.wa-float:hover .wa-tip, .wa-float.peek .wa-tip { opacity: 1; transform: none; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(6rem, 20vw, 12rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--red); }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .nav-list .nav-link { padding-inline: 10px; font-size: 17px; }
  .nav-link::after { left: 10px; right: 10px; }
}
@media (max-width: 1080px) {
  .tb-right span:first-child { display: none; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .courses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: minmax(0, 1fr); }
  .aside-card { position: relative; top: 0; }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); text-align: center; padding-block: 40px 120px; gap: 8px; }
  .hero-emblem { order: -1; }
  .hero-emblem .emblem { width: min(230px, 58vw); }
  .hero .lead { margin-inline: auto; }
  .hero-actions, .hero-facts { justify-content: center; }
  .hero::before { background: radial-gradient(ellipse 90% 50% at 50% 100%, rgba(216, 36, 24, .45), transparent 70%), linear-gradient(180deg, rgba(12, 12, 14, .78) 0%, rgba(12, 12, 14, .9) 45%, rgba(12, 12, 14, .95) 100%); }
  .hero .pixels { display: none; }
  .tech-grid, .about-grid, .contact-grid, .page-hero-grid, .launch { grid-template-columns: minmax(0, 1fr); }
  .page-hero-grid.solo { grid-template-columns: minmax(0, 1fr); }
  .page-hero-grid.solo .emblem { display: none; }
  .courses-featured { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .aud-grid { grid-template-columns: minmax(0, 1fr); }
  .collage { max-width: 560px; margin-inline: auto; width: 100%; }
  .frame { max-width: 560px; margin: 8px auto 0; width: calc(100% - 22px); }
  .frame .emblem.sm { right: -14px; top: -34px; width: 92px; }
  .slide-dots { left: 0; right: 0; justify-content: center; bottom: 46px; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .tb-right, .d-only { display: none; }
  .m-only { display: inline; }
  .topbar { font-size: 12.5px; }
  .topbar .container { justify-content: center; min-height: 34px; }
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(30px); }
  .header-row { height: 80px; }
  .site-header.is-scrolled .header-row { height: 68px; }
  .brand img { height: 58px; }
  .site-header.is-scrolled .brand img { height: 48px; }
  .mobile-menu { padding-top: 104px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 132px; gap: 8px; }
  .g-item, .g-item:nth-child(6), .g-item:nth-child(7) { grid-column: span 1; }
  .g-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .g-item .zoom { opacity: 1; transform: none; width: 32px; height: 32px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .btn-send { width: 100%; justify-content: center; }
  .form-note { max-width: none; text-align: center; width: 100%; }
  .topics, .req-grid, .inline-imgs { grid-template-columns: minmax(0, 1fr); }
  .aud-list { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .marquee-group { font-size: 18px; gap: 26px; padding-block: 12px; }
  .badge-years { width: 118px; height: 118px; left: -6px; }
  .badge-years b { font-size: 42px; }
  .badge-years span { font-size: 10.5px; }
  .collage { padding-bottom: 54px; }
  .hero-facts { gap: 18px 26px; }
  .hero-facts b { font-size: 26px; }
  .hero h1 { margin-top: 16px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .wa-tip { display: none; }
  .wa-float .wa-ball { width: 58px; height: 58px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; margin-top: 0; }
}
@media (max-width: 480px) {
  .courses-grid, .courses-grid.cols-3 { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { width: 100%; }
  .page-hero .hero-actions .btn { width: 100%; }
  .stat { padding-left: 14px; }
  .stat-num { font-size: 2.9rem; }
  .chip { font-size: 13px; }
}
@media (max-width: 1080px) and (min-width: 481px) {
  .courses-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
  .marquee-track { animation: none; }
}

/* Assinatura de quem desenvolveu */
.dev-sign { display: inline-flex; align-items: center; opacity: .75; transition: opacity .3s, transform .3s var(--ease); }
.dev-sign:hover { opacity: 1; transform: translateY(-1px); }
.dev-sign img { height: 26px; width: auto; }
.footer-bottom nav { align-items: center; }
@media (max-width: 760px) {
  .footer-bottom .container { flex-direction: column; gap: 14px; }
}
@media (min-width: 761px) and (max-width: 1500px) {
  .footer-bottom .container { padding-right: 112px; }
}


/* ==========================================================
   Brusco — marca, roda animada, linha do carro, dicas
   ========================================================== */
.brand img, .footer-brand img { mix-blend-mode: multiply; }
.tb-ico { display: inline-grid; place-items: center; width: 18px; height: 18px; color: var(--red-bright); }
.tb-ico .i { width: 16px; height: 16px; }

/* Roda cromada girando */
.emblem-svg .spin { animation: spin 2.6s linear infinite; }
.emblem-svg .spin-slow { animation: spin 2.6s linear infinite; }
.emblem:hover .emblem-svg .spin, .emblem:hover .emblem-svg .spin-slow { animation-duration: 1.1s; }
.speed-lines { position: absolute; right: 80%; top: 30%; width: 70%; height: 40%; pointer-events: none; }
.speed-lines i { position: absolute; right: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6)); animation: streak 1.3s linear infinite; }
.speed-lines i:nth-child(1) { top: 8%; width: 62%; animation-delay: 0s; }
.speed-lines i:nth-child(2) { top: 30%; width: 90%; animation-delay: .35s; background: linear-gradient(90deg, transparent, var(--red-bright)); }
.speed-lines i:nth-child(3) { top: 52%; width: 75%; animation-delay: .7s; }
.speed-lines i:nth-child(4) { top: 74%; width: 55%; animation-delay: .15s; }
.speed-lines i:nth-child(5) { top: 94%; width: 80%; animation-delay: .9s; background: linear-gradient(90deg, transparent, rgba(255, 84, 66, .7)); }
@keyframes streak { 0% { transform: translateX(45%); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateX(-70%); opacity: 0; } }
.emblem.sm .speed-lines { display: none; }

/* Linha do carro (do logo) desenhando no fundo */
.carline { position: absolute; left: -1%; bottom: 74px; width: min(1180px, 96%); opacity: .2; z-index: -1; pointer-events: none; }
.carline path { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1700; stroke-dashoffset: 1700; animation: draw 5.5s var(--ease) .3s forwards; }
.carline path.accent { stroke: var(--red-bright); stroke-width: 3.2; animation-delay: 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.page-hero .carline { bottom: 18px; opacity: .14; width: min(900px, 90%); }
.contact .carline { left: auto; right: -4%; bottom: 40px; opacity: .14; transform: scaleX(-1); }

/* Números com palavras */
.stat-num.word { font-size: clamp(2.1rem, 3.8vw, 3.1rem); line-height: .95; white-space: normal; }

/* Cards com imagem recortada (PNG) */
.course-media.contain { background: radial-gradient(circle at 50% 42%, #ffffff 0%, #e8eaed 75%); }
.course-media.contain img { object-fit: contain; padding: 7%; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .25)); }
.course-media.contain::after { background: none; }
.frame.small { max-width: 440px; margin-left: auto; width: 100%; }

/* Dica do mecânico */
.tips { display: grid; gap: clamp(24px, 4vw, 40px); }
.tip { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 44px); }
.tip:nth-child(even) { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.tip:nth-child(even) .tip-img { order: 2; }
.tip-img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 20px; background: radial-gradient(circle at 50% 45%, #ffffff 0%, #eceef1 72%); }
.tip-img img { width: 76%; height: auto; filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .28)); transition: transform 1.1s var(--ease); }
.tip:hover .tip-img img { transform: scale(1.05) rotate(-3deg); }
.tip h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3.2vw, 40px); line-height: .98; margin: 0 0 16px; text-wrap: balance; }
.tip p { color: #3c3f45; margin: 0 0 14px; }
.tip-tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 6px 12px; border-radius: 999px; background: #fdebe9; color: var(--red-700); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tip-tag .i { width: 16px; height: 16px; }
.tipbox { margin-top: 26px; padding: clamp(22px, 3vw, 32px); border-radius: 20px; background: var(--ink); color: #e4e6ea; position: relative; overflow: hidden; }
.tipbox::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 100% 0%, rgba(216, 36, 24, .4), transparent 60%); }
.tipbox > * { position: relative; }
.tipbox h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; margin: 0 0 12px; color: #fff; }
.tipbox p { color: #d0d3d8 !important; font-size: 17px !important; margin: 0 !important; }

/* Lista de sinais */
.signs { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.signs li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #fff7f5; border: 1px solid #f6d9d5; font-weight: 500; line-height: 1.4; }
.signs .i { width: 20px; height: 20px; color: var(--red); margin-top: 1px; }

@media (max-width: 960px) {
  .tip, .tip:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .tip:nth-child(even) .tip-img { order: 0; }
  .tip-img { max-width: 360px; width: 100%; margin-inline: auto; }
  .frame.small { margin-inline: auto; }
  .carline { bottom: 96px; }
}
@media (max-width: 760px) {
  .signs { grid-template-columns: minmax(0, 1fr); }
  .speed-lines { right: 84%; width: 46%; }
}

/* Card "Não sabe o que o carro tem?" */
.help-card { background: linear-gradient(150deg, var(--red) 0%, var(--red-900) 100%); color: #fff; border-color: transparent; box-shadow: 0 22px 50px -24px rgba(147, 21, 13, .8); }
.help-card::before { background: #fff; }
.help-card .course-body { height: 100%; padding: 26px 24px; }
.help-card h3 { padding-right: 0; font-size: 30px; }
.help-card p { color: #ffe1dc; }
.help-card .course-more { color: #fff; }
.help-ico { width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; margin-bottom: auto; transition: transform .5s var(--ease); }
.help-card:hover .help-ico { transform: rotate(-8deg) scale(1.06); }
.help-ico .i { width: 28px; height: 28px; }
.course-tag { max-width: calc(100% - 28px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Missão e visão */
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mv { padding: clamp(24px, 4vw, 44px); border-radius: 22px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); }
.mv p { margin: 0; color: #d3d5da; font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.6; }
@media (max-width: 760px) { .mv-grid { grid-template-columns: minmax(0, 1fr); } }

/* Rodapé: assinatura longe do botão do WhatsApp */
.dev-sign { display: inline-flex; align-items: center; opacity: .75; transition: opacity .3s, transform .3s var(--ease); }
.dev-sign:hover { opacity: 1; transform: translateY(-1px); }
.dev-sign img { height: 26px; width: auto; }
@media (max-width: 760px) { .footer-bottom .container { flex-direction: column; gap: 14px; } }
@media (min-width: 761px) and (max-width: 1500px) { .footer-bottom .container { padding-right: 112px; } }
/* recorta a moldura fina do logo original (JPG) */
.brand img, .footer-brand img { clip-path: inset(1.6% 1% 1.6% 1%); }
@media (max-width: 480px) { .stat-num.word { font-size: 1.55rem; } }
/* topo branco sólido: o logo é JPG com fundo branco */
.site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ===== WhatsApp flutuante pulsando + balão de ajuda ===== */
.wa-tip { display: none !important; }
.wa-float .wa-ball { animation: waPulse 2.2s ease-in-out infinite; }
.wa-float .wa-ball::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: waRing 2.4s ease-out 1.2s infinite; }
@keyframes waPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.09); } }
.wa-float:hover .wa-ball { animation-play-state: paused; }
.wa-bubble {
  position: fixed; z-index: 41;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: calc(max(18px, env(safe-area-inset-bottom, 0px)) + 80px);
  width: min(280px, calc(100vw - 36px));
  padding: 18px 18px 16px; border-radius: 20px 20px 6px 20px;
  background: #fff; color: var(--text); box-shadow: 0 24px 60px -18px rgba(12, 12, 14, .45), 0 0 0 1px rgba(12, 12, 14, .06);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.94); transform-origin: bottom right;
  transition: opacity .4s var(--ease), transform .5s var(--ease), visibility .4s;
}
.wa-bubble.show { opacity: 1; visibility: visible; transform: none; }
.wa-bubble::after { content: ""; position: absolute; right: 24px; bottom: -7px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); border-radius: 0 0 4px 0; box-shadow: 4px 4px 8px -4px rgba(12, 12, 14, .15); }
.wa-bubble strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1; text-transform: uppercase; margin: 0 28px 6px 0; }
.wa-bubble p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.wa-go { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--wa); color: #06361a; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .25s var(--ease), background .25s; }
.wa-go:hover { background: #3ee07c; transform: translateY(-1px); }
.wa-go .i { width: 18px; height: 18px; }
.wa-bubble-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--paper); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.wa-bubble-x:hover { background: #ececee; color: var(--text); }
.wa-bubble-x .i { width: 16px; height: 16px; }
body.menu-open .wa-bubble { display: none; }

/* ===== SEO local: texto + perguntas frequentes ===== */
.faq-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.seo-text p { color: #3c3f45; font-size: 17.5px; }
.kw-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.kw-links a { padding: 8px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s, transform .2s var(--ease); }
.kw-links a:hover { border-color: var(--red); color: var(--red-600); transform: translateY(-1px); }
.faq-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 26px; line-height: 1; margin: 6px 0 18px; }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(216, 36, 24, .35); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 17px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red-600); }
.faq summary .i { flex: none; width: 22px; height: 22px; color: var(--red); transition: transform .35s var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq .ans { padding: 0 20px 18px; }
.faq .ans p { margin: 0; color: #3c3f45; font-size: 16.5px; line-height: 1.6; }
.prose .faq { margin-top: 18px; }
.prose .faq .ans p { font-size: 16.5px; margin: 0; }
.seo-note { margin-top: 40px; padding: 18px 20px; border-radius: 14px; background: var(--paper); border: 1px dashed #d6d7db; }
.seo-note p { margin: 0 !important; font-size: 15.5px !important; color: #4a4d54 !important; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* ===== Navegação por agentes de IA / leitores ===== */
[data-reveal] { transition-duration: .6s, .7s; }
.is-agent [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
.is-agent .hero h1 .line > span { transform: none !important; animation: none !important; }
.is-agent .hero .lead, .is-agent .hero-actions, .is-agent .hero-facts, .is-agent .hero-emblem,
.is-agent .page-hero h1, .is-agent .page-lead, .is-agent .meta-chips, .is-agent .frame { opacity: 1 !important; animation: none !important; }
.info-list h3 { margin: 0 0 2px; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: #b9bcc3; font-weight: 700; }
.req h3 { margin: 0 0 4px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.site-footer h2.f-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; color: var(--ink); line-height: 1.2; }
.crumbs-nav { display: block; }
/* logo agora é PNG transparente embutido no site */
.brand img, .footer-brand img { mix-blend-mode: normal; clip-path: none; }
