/* =========================================================================
   SPEED TURBO — estilos compartilhados das landing pages (todas as cidades)
   Paleta vermelha do cliente + verde WhatsApp · Poppins/Roboto
   ========================================================================= */
:root {
  --brand: #cd0b0b;
  --brand-dark: #a10808;
  --accent: #e60000;
  --green: #20ad29;
  --green-dark: #1a9524;
  --dark: #171717;
  --dark-2: #232323;
  --ink: #1a1a1a;
  --text: #333333;
  --muted: #666666;
  --line: #e8eaed;
  --bg: #f7f7fb;
  --star: #fbbc04;
  --gblue: #4285f4;
  --maxw: 1200px;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0,0,0,.08);
  --font-head: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.hl { color: var(--brand); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 15px 26px; border-radius: 30px; border: none; cursor: pointer;
  text-decoration: none; text-align: center; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(32,173,41,.30); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-lg { font-size: 1.08rem; padding: 17px 34px; }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-header .logo img { height: 40px; width: auto; }
.header-cta { display: inline-flex; align-items: center; gap: 8px; }
.header-phone { font-family: var(--font-head); font-weight: 600; color: var(--brand); text-decoration: none; font-size: .98rem; }
@media (max-width: 560px) { .header-phone { display: none; } .site-header .container { height: 60px; } .site-header .logo img { height: 34px; } }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, #e11414 0%, transparent 60%),
              linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff; text-align: center;
  padding: 64px 0 72px;
}
.hero .eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; font-size: .78rem;
  background: rgba(255,255,255,.14); padding: 7px 16px; border-radius: 30px; margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.1; max-width: 15ch; margin: 0 auto 20px;
}
.hero p.sub { font-size: clamp(1rem, 2.2vw, 1.18rem); max-width: 60ch; margin: 0 auto 30px; opacity: .95; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges {
  display: flex; gap: 10px 24px; justify-content: center; flex-wrap: wrap;
  margin-top: 34px; font-size: .92rem; font-weight: 500;
}
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; fill: #fff; }

/* =========================================================================
   TÍTULOS DE SEÇÃO
   ========================================================================= */
.section { padding: 64px 0; }
.section-title {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.5rem, 3.5vw, 2rem); text-align: center; color: var(--ink); margin-bottom: 8px;
}
.section-sub { text-align: center; color: var(--muted); max-width: 60ch; margin: 0 auto 40px; }

/* =========================================================================
   PLANOS
   ========================================================================= */
.plans { background: var(--bg); }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; align-items: stretch; }
.plan-card {
  background: #fff; border: 1.5px solid var(--accent); border-radius: var(--radius);
  padding: 34px 22px 24px; position: relative; text-align: center;
  display: flex; flex-direction: column; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(230,0,0,.15); }
.plan-card.featured { border-width: 2.5px; }
.plan-badge {
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--accent); color: #fff; padding: 6px 18px; border-radius: 30px;
  font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .5px;
  text-transform: uppercase; white-space: nowrap; box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
.plan-title { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.plan-speed { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; color: var(--ink); line-height: 1; margin-bottom: 16px; }
.plan-speed span { color: var(--brand); }
.plan-price-old { text-decoration: line-through; color: #999; font-size: .9rem; }
.plan-price { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--brand); margin-bottom: 4px; }
.plan-price small { font-size: .95rem; font-weight: 400; color: var(--ink); }
.plan-desc { font-size: .9rem; color: var(--muted); margin: 10px 0 18px; min-height: 42px; }
.plan-features { list-style: none; margin-bottom: 18px; }
.plan-features li { font-size: .88rem; color: #444; padding: 9px 0; border-bottom: 1px solid #eee; }
.plan-features li:last-child { border-bottom: none; }
.plan-apps { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-bottom: 20px; min-height: 44px; }
.plan-apps img { width: 40px; height: 40px; object-fit: contain; border-radius: 9px; box-shadow: 0 2px 6px rgba(0,0,0,.12); background: #fff; }
.plan-apps .no-apps { color: #aaa; font-size: .82rem; }
.plan-card .btn { margin-top: auto; width: 100%; }

/* Carrossel no mobile */
@media (max-width: 1024px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .plans-grid {
    display: flex; grid-template-columns: none; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    gap: 16px; padding: 14px 4px 22px; margin: 0 -20px; padding-left: 20px; padding-right: 20px;
    scrollbar-width: none;
  }
  .plans-grid::-webkit-scrollbar { display: none; }
  .plan-card { min-width: 82vw; scroll-snap-align: center; }
}
.plans-hint { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 6px; display: none; }
@media (max-width: 720px) { .plans-hint { display: block; } }

/* =========================================================================
   POR QUE A SPEED TURBO (seção escura)
   ========================================================================= */
.why { background: var(--dark); color: #fff; }
.why .section-title { color: #fff; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.why-item {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,.06); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px;
  transition: transform .2s ease, border-color .2s ease;
}
.why-item:hover { transform: translateY(-4px); border-color: rgba(205,11,11,.5); }
.why-icon {
  width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(205,11,11,.12);
}
.why-icon svg { width: 30px; height: 30px; stroke: var(--brand); fill: none; stroke-width: 2; }
.why-item h3 { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--brand); text-transform: uppercase; letter-spacing: .3px; }
@media (max-width: 860px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   AVALIAÇÕES GOOGLE (marquee)
   ========================================================================= */
.reviews { background: var(--bg); overflow: hidden; }
.reviews-mask {
  max-width: 1240px; margin: 0 auto; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.reviews-track { display: flex; gap: 20px; width: max-content; animation: reviews-scroll 40s linear infinite; }
.reviews-track:hover { animation-play-state: paused; }
@keyframes reviews-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 10px)); } }
.review-card {
  width: 360px; flex-shrink: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px; border-radius: 50%; color: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem;
}
.review-who { flex-grow: 1; display: flex; flex-direction: column; line-height: 1.25; }
.review-name { font-weight: 500; color: #202124; font-size: .95rem; }
.review-date { color: var(--muted); font-size: .8rem; }
.review-g { width: 20px; height: 20px; flex-shrink: 0; }
.review-stars { display: flex; gap: 2px; color: var(--star); }
.review-stars svg { width: 16px; height: 16px; fill: currentColor; }
.review-text { color: #202124; font-size: .94rem; line-height: 1.5; }
@media (max-width: 768px) { .review-card { width: 290px; } }
.reviews .btn { margin: 38px auto 0; display: flex; width: fit-content; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq { background: #fff; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: border-color .3s; }
.faq-item.active { border-color: #ccc; }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 15px;
  padding: 20px; background: transparent; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-size: 1.02rem; font-weight: 500; color: #222;
}
.faq-toggle {
  width: 32px; height: 32px; background: var(--brand); border-radius: 6px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.faq-q:hover .faq-toggle { background: var(--brand-dark); }
.faq-toggle svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.5; transition: transform .3s; }
.faq-item.active .faq-toggle svg { transform: rotate(180deg); }
.faq-a-wrap { max-height: 0; overflow: hidden; transition: max-height .3s ease-in-out; }
.faq-a { padding: 0 20px 20px; color: var(--muted); font-size: .95rem; line-height: 1.6; }

/* =========================================================================
   RODAPÉ
   ========================================================================= */
.site-footer { background: var(--dark); color: #cfcfcf; padding: 44px 0 30px; text-align: center; }
.site-footer .logo img { height: 46px; margin: 0 auto 18px; background: #fff; padding: 8px 14px; border-radius: 10px; }
.site-footer p { font-size: .9rem; margin-bottom: 8px; }
.site-footer a { color: #fff; text-decoration: none; font-weight: 500; }
.site-footer .foot-small { font-size: .8rem; color: #888; margin-top: 18px; }

/* =========================================================================
   MODAL WHATSAPP
   ========================================================================= */
.wa-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6);
  z-index: 9999; align-items: center; justify-content: center; padding: 16px;
}
.wa-overlay.open { display: flex; }
.wa-modal {
  width: 360px; max-width: 100%; background: #e5ddd5; border-radius: 12px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.35); display: flex; flex-direction: column;
  animation: wa-pop .25s ease;
}
@keyframes wa-pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.wa-head { background: #075e54; color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 14px; position: relative; }
.wa-avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: #ccc; flex-shrink: 0; }
.wa-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wa-head-info h4 { font-size: 1rem; font-weight: 600; }
.wa-head-info p { font-size: .78rem; color: #d1e6df; display: flex; align-items: center; gap: 6px; }
.wa-head-info p::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4cd964; display: inline-block; }
.wa-close { position: absolute; top: 10px; right: 14px; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; background: none; border: none; }
.wa-body {
  padding: 20px; display: flex; flex-direction: column; gap: 14px;
  background-color: #e5ddd5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill='%23d9d0c5' fill-opacity='.5'%3E%3Ccircle cx='4' cy='4' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
}
.wa-msg {
  background: #fff; padding: 11px 15px; border-radius: 0 10px 10px 10px; font-size: .9rem; color: #333;
  max-width: 92%; align-self: flex-start; box-shadow: 0 1px 2px rgba(0,0,0,.12);
}
.wa-form { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.wa-input { padding: 12px 16px; border: 1px solid #cfcfcf; border-radius: 22px; outline: none; font-size: .95rem; font-family: var(--font-body); }
.wa-input:focus { border-color: #25d366; }
.wa-submit {
  background: #25d366; color: #fff; border: none; padding: 12px; border-radius: 22px;
  font-weight: 700; font-family: var(--font-head); cursor: pointer; font-size: .98rem; transition: background .2s;
}
.wa-submit:hover { background: #1fbe5b; }
.wa-submit:disabled { opacity: .7; cursor: default; }
.wa-mark { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: .72rem; color: #667; padding: 10px; background: #ded6cc; }
.wa-mark a { display: inline-flex; }
.wa-mark img { height: 30px; width: auto; object-fit: contain; }

/* =========================================================================
   BOTÃO FLUTUANTE WHATSAPP
   ========================================================================= */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 800;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(37,211,102,.5); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
