/* ===== Variáveis ===== */
:root {
  --color-primary: #FFA100;
  --color-bg-alt: #F4EFEF;
  --color-black: #000000;
  --color-white: #FFFFFF;
  --font-main: 'Poppins', Arial, sans-serif;
  --container-width: 1180px;
  --radius: 14px;
  --transition: 0.3s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--color-black);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Botões ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--whatsapp {
  background: var(--color-primary);
  color: var(--color-black);
}
.btn--whatsapp:hover { background: #e69100; }
.btn--outline {
  background: transparent;
  border-color: var(--color-white);
  color: var(--color-white);
}
.hero .btn--outline { border-color: var(--color-white); color: var(--color-white); }
.section .btn--outline { border-color: var(--color-black); color: var(--color-black); }
.btn--block { width: 100%; justify-content: center; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
}
.header__logo-img { height: 40px; width: auto; }

.nav__list {
  display: flex;
  gap: 28px;
}
.nav__link {
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}
.nav__link:hover { color: var(--color-primary); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px;
  height: 3px;
  background: var(--color-black);
  border-radius: 3px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1208 55%, #3d2608 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(255,161,0,0.25), transparent 55%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}
.hero__content { max-width: 640px; }
.hero__visual { justify-self: end; width: 100%; max-width: 440px; }

/* ===== Mapa ao vivo (hero) ===== */
.live-map {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background-color: #0e0e0e;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  border: 1px solid rgba(255,161,0,0.35);
  box-shadow: 0 0 40px rgba(255,161,0,0.15), 0 20px 50px rgba(0,0,0,0.5);
}
.live-map__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.live-map__route { filter: drop-shadow(0 0 6px rgba(255,161,0,0.9)); }
.live-map__car { filter: drop-shadow(0 0 8px rgba(255,161,0,0.8)); }
.live-map__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 50px;
  background: rgba(0,0,0,0.7);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 600;
}
.live-map__badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: livePulse 1.4s ease-in-out infinite;
}
.live-map__label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(0,0,0,0.7);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 500;
}
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) {
  .live-map__badge i { animation: none; }
}
.hero__title {
  color: var(--color-white);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero__subtitle {
  color: #e4e4e4;
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 560px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Cobertura (radar + mapa) ===== */
.coverage {
  background: radial-gradient(circle at 25% 50%, rgba(255,161,0,0.12), transparent 60%), #050505;
  color: var(--color-white);
  padding: 90px 0;
}
.coverage__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.coverage__map {
  border-radius: 20px;
  border: 1px solid rgba(255,161,0,0.25);
  background-color: #0a0a0a;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  box-shadow: 0 0 50px rgba(255,161,0,0.12);
  padding: 12px;
}
.coverage__svg { display: block; width: 100%; height: auto; max-height: 80vh; margin: 0 auto; }
.coverage__tag { fill: var(--color-primary); font-size: 14px; font-weight: 600; letter-spacing: 2px; opacity: 0.8; }
.coverage__states {
  fill: rgba(255,161,0,0.1);
  stroke: rgba(255,161,0,0.65);
  stroke-width: 0.9;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(255,161,0,0.35));
}
.coverage__state {
  fill: rgba(255,161,0,0.14);
  stroke: var(--color-primary);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 8px rgba(255,161,0,0.7));
}
.coverage__city-labels text { font-size: 10px; paint-order: stroke; stroke: #0a0a0a; stroke-width: 2.5px; }
.coverage__pin { filter: drop-shadow(0 0 8px rgba(255,161,0,0.9)); }
.coverage__city-name { fill: var(--color-white); font-size: 13px; font-weight: 700; paint-order: stroke; stroke: #0a0a0a; stroke-width: 3px; stroke-linejoin: round; }
.coverage__city-sub { fill: var(--color-primary); font-size: 10px; paint-order: stroke; stroke: #0a0a0a; stroke-width: 3px; stroke-linejoin: round; }
.coverage__text .section__title { color: var(--color-white); margin-bottom: 16px; }
.coverage__text p { color: #ccc; margin-bottom: 20px; }
.coverage__list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.coverage__list li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.coverage__list svg { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; }

@media (max-width: 960px) {
  .coverage { padding: 64px 0; }
  .coverage__inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ===== Seções genéricas ===== */
.section { padding: 90px 0; }
.section--alt { background: var(--color-bg-alt); }
.section--dark { background: var(--color-black); color: var(--color-white); }

.section__head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.section__title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; margin: 10px 0 14px; }
.section__desc { color: #555; }
.section--dark .section__desc { color: #ccc; }

.eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* ===== Sobre ===== */
.sobre {
  max-width: 780px;
  margin: 0 auto;
}
.sobre__text p { margin-bottom: 16px; color: #444; }

/* ===== Grids / Cards ===== */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--color-white);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(0,0,0,0.08); }
.card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: #555; font-size: 0.95rem; }
.card__list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.card__list li { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #444; }
.card__list svg { width: 16px; height: 16px; color: var(--color-primary); flex-shrink: 0; }
.card__links { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.card__links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition);
}
.card__links a:hover { color: #cc8100; text-decoration: underline; }
.card__links a svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ===== Preço em destaque ===== */
.pricing-highlight {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 48px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.pricing-highlight__text { font-size: 1rem; color: #555; }
.pricing-highlight__price { font-size: 2.6rem; font-weight: 800; color: var(--color-primary); margin-bottom: 8px; }
.pricing-highlight__price span { font-size: 1rem; font-weight: 400; color: #777; }

/* ===== Detalhes do plano (incluso / não incluso) ===== */
.plan-details {
  max-width: 780px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.plan-details__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 16px;
}
.plan-details__title svg { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; }
.plan-details__title--muted { color: #777; }
.plan-details__title--muted svg { color: #999; }
.plan-details__list { display: flex; flex-direction: column; gap: 12px; }
.plan-details__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #333;
}
.plan-details__list li svg { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; }
.plan-details__list--muted li {
  justify-content: space-between;
  color: #777;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 10px;
}
.plan-details__list--muted li strong { color: var(--color-black); font-weight: 700; }

@media (max-width: 640px) {
  .plan-details { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== Depoimentos ===== */
.testimonial {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testimonial p { font-style: italic; color: #333; }
.testimonial strong { font-size: 0.95rem; }
.testimonial span { font-size: 0.85rem; color: #777; }

/* ===== Contato ===== */
.contact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-item { display: flex; flex-direction: column; gap: 4px; }
.info-item strong { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--color-primary); }
.info-item a:hover { text-decoration: underline; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.map iframe { display: block; }

/* ===== Footer ===== */
.footer { background: var(--color-black); color: var(--color-white); padding: 60px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #222;
}
.footer__logo-img { height: 44px; width: auto; }
.footer__slogan { margin: 16px 0; color: #ccc; font-style: italic; }
.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1a1a1a;
  color: var(--color-primary);
  transition: background var(--transition);
}
.footer__social:hover { background: var(--color-primary); color: var(--color-black); }
.footer__col h4 { margin-bottom: 16px; font-size: 1rem; }
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a:hover { color: var(--color-primary); }
.footer__col p { color: #ccc; margin-bottom: 10px; }
.footer__bottom { text-align: center; padding: 20px 0; font-size: 0.85rem; color: #888; display: flex; flex-direction: column; gap: 6px; }
.footer__credit a { color: var(--color-primary); font-weight: 600; }
.footer__credit a:hover { text-decoration: underline; }

/* ===== WhatsApp flutuante ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsivo ===== */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { justify-self: center; max-width: 360px; }
  .sobre { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { position: fixed; top: 72px; left: 0; right: 0; background: var(--color-white); box-shadow: 0 12px 24px rgba(0,0,0,0.08); max-height: 0; overflow: hidden; transition: max-height var(--transition); }
  .nav.is-open { max-height: 400px; }
  .nav__list { flex-direction: column; gap: 0; padding: 10px 20px; }
  .nav__list li { border-bottom: 1px solid #eee; }
  .nav__link { display: block; padding: 14px 0; }
  .nav__toggle { display: flex; }
  .header__cta { display: none; }
  .grid--3 { grid-template-columns: 1fr; }
  .plan-card--highlight { transform: none; }
}

@media (max-width: 480px) {
  .grid--4 { grid-template-columns: 1fr; }
  .whatsapp-float { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .hero { min-height: 100vh; }
}

/* ===== Brilho que acompanha o mouse ===== */
.cursor-glow {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 50%), rgba(255,161,0,0.13), rgba(255,161,0,0.05) 45%, transparent 70%);
}
.cursor-glow.is-active { opacity: 1; }
@media (hover: none), (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none; }
}

/* ===== Botão pulsando e brilhando ===== */
.btn--pulse {
  animation: btnPulse 2.2s ease-in-out infinite;
}
.btn--pulse:hover { animation-play-state: paused; }
@keyframes btnPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,161,0,0.55), 0 0 14px rgba(255,161,0,0.35); }
  50% { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(255,161,0,0), 0 0 28px rgba(255,161,0,0.65); }
}
@media (prefers-reduced-motion: reduce) {
  .btn--pulse { animation-name: btnGlow; }
  @keyframes btnGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(255,161,0,0.3); }
    50% { box-shadow: 0 0 22px rgba(255,161,0,0.6); }
  }
}

/* ===== Desempenho: não desenha o que está fora da tela até a pessoa chegar ali =====
   O navegador só monta/pinta as seções abaixo do início quando elas se aproximam da tela.
   Os mapas SVG animados e o resto da página deixavam de travar o carregamento (tarefas de
   ~500 ms). contain-intrinsic-size reserva a altura aproximada para a rolagem não "pular". */
#sobre        { content-visibility: auto; contain-intrinsic-size: auto 480px; }
#cobertura    { content-visibility: auto; contain-intrinsic-size: auto 780px; }
#diferenciais { content-visibility: auto; contain-intrinsic-size: auto 1060px; }
#servicos     { content-visibility: auto; contain-intrinsic-size: auto 920px; }
#depoimentos  { content-visibility: auto; contain-intrinsic-size: auto 540px; }
#contato      { content-visibility: auto; contain-intrinsic-size: auto 750px; }
.footer       { content-visibility: auto; contain-intrinsic-size: auto 440px; }

/* ===== Mapa de cobertura em duas camadas =====
   Base estática (formas + brilho) desenhada uma vez; só a camada de cima, com as animações,
   é redesenhada a cada quadro. Antes, o brilho (drop-shadow) das 27 formas era refeito em todo quadro. */
.coverage__stack { position: relative; }
.coverage__svg--base { will-change: transform; }
.coverage__svg--live { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; }
