/* =========================================================
   Repeçal Auto Peças — estilos principais
   Cores da marca: azul #081853 · vermelho #FF2323
   ========================================================= */

:root {
  --navy: #081853;
  --navy-900: #050f38;
  --navy-800: #0b1f66;
  --navy-700: #12297d;
  --red: #ff2323;
  --red-600: #e01414;
  --red-700: #b70000;
  --white: #ffffff;
  --ink: #0d1530;
  --muted: #5b6482;
  --line: #e4e7f0;
  --bg-soft: #f4f6fb;
  --whats: #25d366;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(8, 24, 83, .35);
  --shadow-red: 0 18px 40px -14px rgba(255, 35, 35, .55);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1220px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3, h4, .lead, .eyebrow, summary, .city-card p, .cat-card p, .service p, .step p, .cta p { text-wrap: balance; }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Barra de progresso de rolagem ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--red), #ff7a45);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-900); color: rgba(255,255,255,.78); font-size: 13.5px; font-weight: 500; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar .icon { color: var(--red); width: 15px; height: 15px; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
  background: var(--navy);
}
.site-header.is-transparent { position: fixed; left: 0; right: 0; top: 40px; background: transparent; transition: top .3s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease); }
.menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header.is-scrolled {
  top: 0;
  background: rgba(8, 24, 83, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,.6);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 52px; width: auto; transition: transform .4s var(--ease); }
.brand:hover img { transform: scale(1.04) rotate(-1deg); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase;
  padding: 10px 14px; border-radius: 10px; transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--red); transform: scaleX(0) skewX(-20deg); transform-origin: right; transition: transform .4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1) skewX(-20deg); transform-origin: left; }
.nav .btn { margin-left: 10px; }
.nav .btn::after { display: none; }

.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 14px; border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06); position: relative;
}
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 30px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 14px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 14.5px; letter-spacing: .06em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: var(--shadow-red);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.35) 45%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn:hover::before { transform: translateX(120%); }
.btn .icon { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-sm { padding: 12px 20px; font-size: 13px; border-radius: 12px; }
.btn-lg { padding: 20px 34px; font-size: 15.5px; }
.btn-ghost { --bg: rgba(255,255,255,.08); 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,.16); }
.btn-navy { --bg: var(--navy); box-shadow: var(--shadow); }
.btn-whats { --bg: var(--whats); --fg: #062b14; box-shadow: 0 18px 40px -14px rgba(37,211,102,.6); }
.btn-outline { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-outline:hover { --bg: var(--navy); --fg: #fff; }

/* ---------- Tipografia de seção ---------- */
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--red);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 4px; background: var(--red); border-radius: 4px; transform: skewX(-30deg); }
.title { font-size: clamp(32px, 4.6vw, 54px); color: var(--navy); }
.section-dark .title { color: #fff; }
.title em { font-style: italic; color: var(--red); }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); max-width: 680px; }
.section-dark .lead { color: rgba(255,255,255,.75); }
.section-head { margin-bottom: clamp(40px, 6vw, 70px); }
.section-head.center { text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.section-head.center .eyebrow::after { content: ""; width: 34px; height: 4px; background: var(--red); border-radius: 4px; transform: skewX(-30deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: #fff; background: var(--navy-900); overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 80px) 0 110px;
}
.hero-media { position: absolute; inset: -6% 0 0 0; z-index: -3; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(600px circle at var(--mx, 70%) var(--my, 40%), rgba(255,35,35,.18), transparent 60%),
    linear-gradient(90deg, rgba(5,15,56,.97) 0%, rgba(8,24,83,.88) 38%, rgba(8,24,83,.35) 75%, rgba(8,24,83,.2) 100%),
    linear-gradient(0deg, rgba(5,15,56,.9) 0%, transparent 35%);
}
.hero-stripes { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-stripes span {
  position: absolute; top: -20%; height: 140%; width: 110px; background: var(--red);
  transform: skewX(-24deg); opacity: .9; border-radius: 30px;
  animation: stripe-in 1.4s var(--ease) both;
}
.hero-stripes span:nth-child(1) { right: 6%; width: 26px; animation-delay: .5s; opacity: .95; }
.hero-stripes span:nth-child(2) { right: 11%; width: 8px; animation-delay: .65s; opacity: .55; }
.hero-stripes span:nth-child(3) { right: -4%; width: 160px; background: var(--navy-700); opacity: .5; animation-delay: .35s; }
@keyframes stripe-in { from { transform: translateY(-110%) skewX(-24deg); } to { transform: translateY(0) skewX(-24deg); } }

.hero-content { max-width: 900px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 99px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px);
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em; margin-bottom: 26px;
}
.hero-badge b { white-space: nowrap; background: var(--red); padding: 4px 12px; border-radius: 99px; font-weight: 800; font-size: 12.5px; letter-spacing: .08em; }
.hero h1 { font-size: clamp(36px, 5.8vw, 78px); font-weight: 900; letter-spacing: -.035em; margin-bottom: 24px; }
.hero h1 .accent { color: var(--red); font-style: italic; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; animation: rise 1.1s var(--ease) both; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(110%); } to { transform: translateY(0); } }
.hero .lead { max-width: 640px; color: rgba(255,255,255,.82); font-size: clamp(17px, 1.8vw, 20px); margin-bottom: 36px; animation: fade-up 1s .45s var(--ease) both; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; animation: fade-up 1s .6s var(--ease) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.hero-cities { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 44px; font-size: 14px; color: rgba(255,255,255,.7); animation: fade-up 1s .75s var(--ease) both; }
.hero-cities span { display: inline-flex; align-items: center; gap: 8px; }
.hero-cities .icon { color: var(--red); width: 16px; height: 16px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 28px; height: 46px; border-radius: 20px; border: 2px solid rgba(255,255,255,.4);
}
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; margin-left: -2px; border-radius: 4px; background: var(--red); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* Hero interno (páginas) */
.page-hero {
  position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate;
  padding: clamp(90px, 12vw, 150px) 0 clamp(80px, 10vw, 130px);
}
.page-hero .hero-media { inset: 0; opacity: .35; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(500px circle at var(--mx, 80%) var(--my, 30%), rgba(255,35,35,.22), transparent 60%), linear-gradient(100deg, var(--navy-900) 20%, rgba(8,24,83,.6));
}
.page-hero h1 { font-size: clamp(34px, 5.4vw, 66px); font-weight: 900; max-width: 900px; }
.page-hero h1 .accent { color: var(--red); font-style: italic; }
.page-hero .lead { color: rgba(255,255,255,.8); }
.page-hero .hero-actions { margin-top: 32px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.65); margin-bottom: 22px; list-style: none; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--red); }
.breadcrumb a:hover { color: #fff; }

/* ---------- Divisor diagonal ---------- */
.slant-top { clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%); margin-top: -60px; padding-top: calc(clamp(80px, 10vw, 130px) + 40px); }

/* ---------- Faixa de marcas (marquee) ---------- */
.brands { padding: 46px 0; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.brands-label { text-align: center; font-size: 12.5px; letter-spacing: .24em; font-weight: 700; color: var(--muted); text-transform: uppercase; margin-bottom: 26px; }
.marquee { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.brands:hover .marquee { animation-play-state: paused; }
.marquee-track { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.marquee img { height: 82px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .4s, opacity .4s, transform .4s var(--ease); mix-blend-mode: multiply; }
.marquee img:hover { filter: none; opacity: 1; transform: scale(1.08); }
.brands .mask { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sobre / split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.media-frame { position: relative; border-radius: var(--radius-lg); }
.media-frame img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/4.1; object-fit: cover; box-shadow: var(--shadow); position: relative; z-index: 1; }
.media-frame::before {
  content: ""; position: absolute; inset: 28px -28px -28px 28px; border-radius: var(--radius-lg);
  background: repeating-linear-gradient(-55deg, var(--red) 0 14px, transparent 14px 28px); opacity: .9;
}
.media-frame .float-card {
  position: absolute; z-index: 2; left: -30px; bottom: 40px; background: #fff; border-radius: 20px; padding: 18px 22px;
  box-shadow: var(--shadow); display: flex; gap: 14px; align-items: center; animation: floaty 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 30px; font-weight: 900; color: var(--navy); line-height: 1; }
.float-card small { color: var(--muted); font-weight: 600; font-size: 13px; }
.float-card .badge-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; }
.float-card .badge-ic .icon { width: 26px; height: 26px; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

.check-list { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.check-list .icon { color: #fff; background: var(--red); border-radius: 8px; padding: 5px; width: 26px; height: 26px; margin-top: 1px; stroke-width: 3; }

/* ---------- Números ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(255,255,255,.1); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--navy); padding: 38px 28px; text-align: center; position: relative; }
.stat strong { display: block; font-size: clamp(38px, 4.6vw, 58px); font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.stat strong .plus { color: var(--red); }
.stat > span { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7); letter-spacing: .04em; }

/* ---------- Categorias de peças ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-card {
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
  transform-style: preserve-3d;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(255,35,35,.1), transparent 50%);
  opacity: 0; transition: opacity .4s;
}
.cat-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.cat-card:hover::before { opacity: 1; }
.cat-ic {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--navy); color: #fff; position: relative; transition: background .4s, transform .5s var(--ease);
}
.cat-ic .icon { width: 30px; height: 30px; }
.cat-card:hover .cat-ic { background: var(--red); transform: rotate(-8deg) scale(1.06); }
.cat-card h3 { font-size: 21px; color: var(--navy); margin-bottom: 10px; }
.cat-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: var(--bg-soft); color: var(--navy); transition: background .3s, color .3s; }
.cat-card:hover .tags li { background: #ffecec; color: var(--red-700); }
.cat-num { position: absolute; top: 18px; right: 24px; font-size: 54px; font-weight: 900; color: var(--bg-soft); line-height: 1; font-style: italic; transition: color .4s; }
.cat-card:hover .cat-num { color: #ffe1e1; }

.lines-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 46px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 99px; border: 2px solid var(--navy); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.pill .icon { color: var(--red); }

/* ---------- Oficina (destaque) ---------- */
.feature-band { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); background: var(--navy); color: #fff; }
.feature-band .bg { position: absolute; inset: 0; z-index: -2; }
.feature-band .bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.feature-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy) 35%, rgba(8,24,83,.55) 70%, rgba(8,24,83,.15)); }
.feature-band .inner { padding: clamp(40px, 7vw, 90px); max-width: 640px; }
.feature-band .title { color: #fff; }
.feature-band .lead { color: rgba(255,255,255,.8); }
.feature-band .cs-logo { height: 44px; width: auto; margin-bottom: 28px; }

/* ---------- Serviços ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service {
  position: relative; text-align: center; padding: 30px 24px 34px; border-radius: var(--radius-lg); background: #fff;
  border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); transform-style: preserve-3d;
}
.service:hover { box-shadow: var(--shadow); }
.service img { width: 180px; height: 180px; margin: 0 auto 20px; transition: transform .7s var(--ease); transform: translateZ(40px); }
.service:hover img { transform: translateZ(40px) rotate(-10deg) scale(1.05); }
.service h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; transform: translateZ(25px); }
.service p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Processo ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 32px 26px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); transition: background .4s, transform .5s var(--ease); }
.step:hover { background: rgba(255,255,255,.09); transform: translateY(-6px); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-size: 46px; font-weight: 900; font-style: italic; color: var(--red); line-height: 1; margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.72); font-size: 15px; margin: 0; }

/* ---------- Orçamento / formulário ---------- */
.quote { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.quote-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); }
.quote-card h3 { color: var(--navy); font-size: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: .03em; }
.field input, .field textarea, .field select {
  font: inherit; font-size: 15.5px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--ink);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(8,24,83,.1); }
.form-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.quote-card .btn { width: 100%; margin-top: 18px; }

/* ---------- Contato cards ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
a.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.contact-card .cat-ic { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 12px; }
.contact-card .cat-ic .icon { width: 24px; height: 24px; }
a.contact-card:hover .cat-ic { background: var(--red); }
.contact-card small { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-card strong { font-size: 18px; color: var(--navy); line-height: 1.35; }
.contact-card.whats .cat-ic { background: var(--whats); }

.map-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-soft); min-height: 420px; }
.map-wrap iframe { display: block; width: 100%; height: 460px; border: 0; filter: saturate(.9); }
.map-placeholder .icon { width: 40px; height: 40px; color: var(--red); margin: 0 auto 10px; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; background: linear-gradient(135deg, var(--navy), var(--navy-700)); color: #fff; }
.map-placeholder .btn { margin-top: 16px; }

/* ---------- Cidades / região ---------- */
.city-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.city-card {
  position: relative; display: block; padding: 40px 36px; border-radius: var(--radius-lg); color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--navy), var(--navy-700)); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.city-card::after { content: ""; position: absolute; z-index: -1; right: -40px; top: -30%; width: 90px; height: 160%; background: var(--red); transform: skewX(-24deg); transition: right .6s var(--ease), width .6s var(--ease); }
.city-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.city-card:hover::after { right: -10px; width: 120px; }
.city-card small { font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.65); font-size: 12.5px; }
.city-card h3 { font-size: clamp(24px, 2.8vw, 32px); margin: 10px 0 12px; max-width: 80%; }
.city-card p { color: rgba(255,255,255,.75); max-width: 82%; font-size: 15.5px; }
.city-card .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.city-card .more .icon { transition: transform .35s var(--ease); }
.city-card:hover .more .icon { transform: translateX(6px); }
.region-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; list-style: none; padding: 0; }
.region-tags li { padding: 8px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--navy); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .35s, border-color .35s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font-weight: 700; color: var(--navy); font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 8px;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 5h2v14h-2zM5 11h14v2H5z' fill='%23081853'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: #ffe1e1; }
.faq .answer { padding: 0 26px 24px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Texto corrido (páginas locais) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); color: var(--navy); margin-top: 1.4em; }
.prose h3 { font-size: 21px; color: var(--navy); margin-top: 1.4em; }
.prose p, .prose li { color: #3b4463; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--red-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.info-box { border-radius: var(--radius-lg); background: var(--navy); color: #fff; padding: 34px; position: sticky; top: calc(var(--header-h) + 24px); }
.info-box h3 { font-size: 20px; margin-bottom: 18px; }
.info-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 12px; font-size: 15px; color: rgba(255,255,255,.85); }
.info-list .icon { color: var(--red); margin-top: 3px; }
.info-list strong { color: #fff; display: block; }
.info-box .btn { width: 100%; }
.info-box .btn + .btn { margin-top: 12px; }
.two-col { display: grid; grid-template-columns: 1fr 360px; gap: clamp(40px, 6vw, 80px); align-items: start; }

/* ---------- CTA final ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg);
  background: var(--red); color: #fff; padding: clamp(44px, 7vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta::before, .cta::after { content: ""; position: absolute; z-index: -1; top: -40%; height: 180%; transform: skewX(-24deg); }
.cta::before { right: 18%; width: 140px; background: var(--red-600); }
.cta::after { right: 4%; width: 60px; background: var(--navy); }
.cta h2 { font-size: clamp(28px, 3.8vw, 46px); margin-bottom: 8px; max-width: 640px; }
.cta p { margin: 0; color: rgba(255,255,255,.88); font-size: 18px; }
.cta .btn { --bg: #fff; --fg: var(--navy); box-shadow: 0 20px 40px -15px rgba(0,0,0,.4); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.72); padding: 90px 0 0; font-size: 15px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: -60px; top: -20%; width: 80px; height: 140%; background: var(--red); transform: skewX(-24deg); opacity: .9; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; position: relative; }
.footer-grid h4 { color: #fff; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-grid a:hover { color: #fff; }
.footer-grid li { display: flex; gap: 10px; align-items: flex-start; }
.footer-grid li .icon { color: var(--red); margin-top: 3px; width: 17px; height: 17px; }
.footer-logo { height: 70px; width: auto; margin-bottom: 20px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: background .3s, transform .35s var(--ease); }
.socials a:hover { background: var(--red); transform: translateY(-4px); }
.footer-bottom { margin-top: 70px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; position: relative; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 150; display: flex; align-items: center; gap: 12px;
  background: var(--whats); color: #062b14; border-radius: 99px; padding: 0; height: 62px; min-width: 62px;
  box-shadow: 0 16px 36px -10px rgba(37,211,102,.7); font-weight: 700; overflow: hidden;
  transition: transform .4s var(--ease), padding .4s var(--ease);
}
.whats-float .icon { width: 32px; height: 32px; margin: 0 15px; color: #fff; }
.whats-float .label { max-width: 0; white-space: nowrap; overflow: hidden; transition: max-width .5s var(--ease), margin .5s; font-size: 14.5px; }
.whats-float:hover .label { max-width: 220px; margin-right: 22px; }
.whats-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.from-left { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.zoom { transform: scale(.92); }
.reveal.is-visible { opacity: 1; transform: none; }
.cards-grid > .reveal, .services-grid > .reveal, .contact-grid > .reveal { display: flex; }
.cards-grid > .reveal > *, .services-grid > .reveal > *, .contact-grid > .reveal > * { flex: 1; }
[data-tilt] { will-change: transform; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-size: clamp(110px, 20vw, 220px); font-weight: 900; font-style: italic; color: var(--navy); line-height: .9; letter-spacing: -.05em; }
.notfound .big span { color: var(--red); }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .info-box { position: static; }
}
@media (max-width: 920px) {
  :root { --header-h: 72px; }
  .topbar-left .hide-sm { display: none; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 8px;
    background: var(--navy-900); padding: 100px 24px 40px;
    clip-path: circle(0 at calc(100% - 48px) 36px); transition: clip-path .7s var(--ease); visibility: hidden;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 48px) 36px); visibility: visible; }
  .nav a { font-size: 22px; padding: 14px 20px; }
  .nav .btn { margin: 20px 0 0; font-size: 15px; }
  .brand img { height: 44px; }
  .split, .quote { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .cards-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .media-frame { margin-right: 28px; }
  .media-frame .float-card { left: 16px; }
  .city-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .topbar { font-size: 12.5px; }
  .topbar-right { display: none; }
  .hero { padding-top: calc(var(--header-h) + 60px); min-height: auto; }
  .hero-stripes span:nth-child(3) { display: none; }
  .hero-stripes span:nth-child(1) { right: -6%; }
  .hero-stripes span:nth-child(2) { right: 2%; }
  .lines-row { display: grid; grid-template-columns: 1fr 1fr; }
  .pill { justify-content: center; padding: 10px 12px; font-size: 12px; }
  .hero-actions .btn { width: 100%; }
  .hero h1 .line, .hero h1 .line > span { display: inline; }
  .hero h1 { animation: fade-up 1s var(--ease) both; }
  .cards-grid, .services-grid, .contact-grid, .form-grid, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .marquee img { height: 64px; }
  .marquee-track { gap: 40px; padding-right: 40px; }
  .whats-float { right: 16px; bottom: 16px; height: 58px; }
  .feature-band::before { background: linear-gradient(0deg, var(--navy) 45%, rgba(8,24,83,.6)); }
  .city-card h3, .city-card p { max-width: 100%; }
  .cta .btn { width: 100%; }
  .scroll-cue { display: none; }
}

@media (min-height: 1300px) { .hero { min-height: 960px; } }

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