/* =========================================================
   Caravana — folha de estilos principal
   Paleta: fundo/marca #FFD60A | CTA #E63946 | hover #FF5A5F
           texto claro #FFFFFF | texto secundário #1D4ED8
   ========================================================= */

:root {
  --color-brand: #FFD60A;
  --color-cta: #E63946;
  --color-cta-hover: #FF5A5F;
  --color-text-light: #FFFFFF;
  --color-text-muted: #1D4ED8;

  /* Neutros de apoio (derivados do azul da marca, para seções escuras e texto de leitura) */
  --color-navy: #0B1130;
  --color-navy-2: #131C4A;
  --color-navy-3: #1B2660;
  --color-page-bg: #FFFDF6;
  --color-heading-dark: #0B1130;
  --color-body-on-light: #43507A;
  --color-border-dark: rgba(255, 255, 255, 0.10);
  --color-border-light: rgba(11, 17, 48, 0.10);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 20px 45px rgba(11, 17, 48, 0.18);
  --shadow-soft-dark: 0 20px 45px rgba(0, 0, 0, 0.35);
  --max-width: 1180px;
  --font-main: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--color-page-bg);
  color: var(--color-body-on-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 16px; font-weight: 800; color: var(--color-heading-dark); }
p { margin: 0 0 16px; }

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

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-dark { background: var(--color-navy); color: rgba(255,255,255,0.78); }
.section-dark h2, .section-dark h1, .section-dark h3 { color: var(--color-text-light); }
.section-dark p { color: rgba(255,255,255,0.72); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-brand);
  color: var(--color-navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); }
.section-head p { font-size: 17px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-cta);
  color: #fff;
  box-shadow: 0 12px 30px rgba(230, 57, 70, 0.32);
}
.btn-primary:hover { background: var(--color-cta-hover); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid rgba(11,17,48,0.25);
}
.btn-outline:hover { border-color: var(--color-navy); background: rgba(11,17,48,0.05); }
.section-dark .btn-outline,
.hero .btn-outline,
.cta-banner .btn-outline { color: #fff; border-color: rgba(255,255,255,0.35); }
.section-dark .btn-outline:hover,
.hero .btn-outline:hover,
.cta-banner .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 17, 48, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--color-brand);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; color: #fff; }
.logo .brand-tv { color: var(--color-brand); }

.nav-desktop { display: flex; align-items: center; gap: 30px; }
.nav-desktop a {
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: color 0.15s ease;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-desktop a:hover, .nav-desktop a.active { color: #fff; border-color: var(--color-brand); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: var(--color-navy-2);
  border-top: 1px solid var(--color-border-dark);
  padding: 10px 24px 20px;
}
.nav-mobile a { padding: 12px 0; font-weight: 600; color: rgba(255,255,255,0.75); border-bottom: 1px solid var(--color-border-dark); }
.nav-mobile a.active, .nav-mobile a:hover { color: #fff; }
.nav-mobile.open { display: flex; }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--color-body-on-light);
}
.breadcrumbs a { color: var(--color-text-muted); font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { margin: 0 8px; opacity: 0.5; }
.breadcrumbs .current { color: var(--color-heading-dark); font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(255,214,10,0.35), transparent 55%),
    radial-gradient(circle at 90% 0%, rgba(29,78,216,0.35), transparent 45%),
    linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-2) 100%);
  padding: 76px 0 96px;
  color: rgba(255,255,255,0.82);
}
.hero h1, .hero h2, .hero h3 { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--color-border-dark);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  color: #fff;
}
.badge.badge-brand { background: var(--color-brand); border-color: var(--color-brand); color: var(--color-navy); }

.hero h1 {
  font-size: clamp(32px, 4.6vw, 52px);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--color-brand); }
.hero-lead { font-size: 18px; max-width: 560px; color: rgba(255,255,255,0.78); }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.rating-row { display: flex; align-items: center; gap: 12px; margin-top: 30px; }
.stars { color: var(--color-brand); font-size: 18px; letter-spacing: 2px; }
.rating-row strong { color: #fff; }
.rating-row span { font-size: 14px; color: rgba(255,255,255,0.65); }

.hero-panel {
  background: linear-gradient(160deg, var(--color-navy-3), var(--color-navy-2));
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-soft-dark);
}
.hero-panel h3 { color: #fff; font-size: 20px; }
.hero-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 18px; }
.hero-stat { background: rgba(255,255,255,0.06); border-radius: var(--radius-md); padding: 18px; border: 1px solid var(--color-border-dark); }
.hero-stat strong { display: block; font-size: 26px; color: var(--color-brand); }
.hero-stat span { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ---------- Cards genéricos ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(11,17,48,0.06);
}
.section-dark .card {
  background: var(--color-navy-2);
  border-color: var(--color-border-dark);
  box-shadow: none;
}
.card .icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,214,10,0.18);
  color: #B8860B;
  border-radius: 14px;
  font-size: 24px;
  margin-bottom: 18px;
}
.section-dark .card .icon { background: rgba(255,214,10,0.16); color: var(--color-brand); }
.card h3 { font-size: 19px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--color-body-on-light); }
.section-dark .card p { color: rgba(255,255,255,0.68); }

/* ---------- Apps compatíveis ---------- */
.app-chip {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  text-align: center;
  font-weight: 700;
  color: var(--color-heading-dark);
  font-size: 14px;
}
.section-dark .app-chip { background: var(--color-navy-2); border-color: var(--color-border-dark); color: #fff; }

/* ---------- Planos ---------- */
.plan-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 10px 30px rgba(11,17,48,0.06);
}
.plan-card.featured {
  border-color: var(--color-brand);
  border-width: 2px;
  background: linear-gradient(165deg, rgba(255,214,10,0.14), #fff 55%);
  transform: translateY(-8px);
}
.plan-tag {
  position: absolute;
  top: -14px; left: 28px;
  background: var(--color-brand);
  color: var(--color-navy);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border-radius: 999px;
}
.plan-card h3 { font-size: 20px; margin-bottom: 0; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 2px; }
.plan-price .value { font-size: 40px; font-weight: 900; color: var(--color-heading-dark); }
.plan-price .cycle { font-size: 14px; color: var(--color-body-on-light); }
.plan-card ul { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 6px; }
.plan-card ul li { font-size: 14.5px; color: var(--color-body-on-light); display: flex; gap: 8px; align-items: flex-start; }
.plan-card ul li::before { content: "✔"; color: var(--color-cta); font-weight: 900; flex-shrink: 0; }

/* ---------- Números / prova social ---------- */
.stat-card { text-align: center; padding: 26px 16px; }
.stat-card strong { display: block; font-size: 38px; font-weight: 900; color: var(--color-brand); }
.stat-card span { font-size: 14px; color: rgba(255,255,255,0.7); }

/* ---------- Depoimentos ---------- */
.testimonial { display: flex; flex-direction: column; gap: 14px; }
.testimonial .stars { font-size: 15px; color: #B8860B; }
.section-dark .testimonial .stars { color: var(--color-brand); }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--color-cta), var(--color-text-muted));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 15px;
  flex-shrink: 0;
}
.testimonial-author strong { color: var(--color-heading-dark); font-size: 14.5px; display:block; }
.section-dark .testimonial-author strong { color: #fff; }
.testimonial-author span { font-size: 13px; color: var(--color-body-on-light); }
.section-dark .testimonial-author span { color: rgba(255,255,255,0.6); }

/* ---------- Passos ---------- */
.step-list { display: flex; flex-direction: column; gap: 22px; }
.step-item { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-cta);
  color: #fff; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.step-item h3 { font-size: 17px; margin-bottom: 6px; }
.step-item p { margin-bottom: 0; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--color-navy), var(--color-navy-3) 60%, var(--color-navy));
  border-radius: var(--radius-lg);
  padding: 52px 40px;
  text-align: center;
  border: 2px solid var(--color-brand);
}
.cta-banner h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); }
.cta-banner p { color: rgba(255,255,255,0.78); max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- FAQ (accordion) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--color-heading-dark);
  font-size: 16px;
  font-weight: 700;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-question .plus { color: var(--color-cta); font-size: 20px; transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 600px; padding: 0 24px 22px; }
.faq-answer p { margin-bottom: 0; color: var(--color-body-on-light); }

/* ---------- Blog ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(11,17,48,0.06);
}
.blog-thumb {
  height: 150px;
  background: linear-gradient(135deg, var(--color-brand), var(--color-text-muted));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}
.blog-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-meta { font-size: 12.5px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.03em; font-weight: 700; }
.blog-card h3 { color: var(--color-heading-dark); font-size: 17px; margin-bottom: 0; }
.blog-card p { font-size: 14.5px; flex: 1; color: var(--color-body-on-light); }
.blog-read { font-size: 14px; font-weight: 700; color: var(--color-cta); margin-top: auto; }

.article-body h2 { font-size: 24px; margin-top: 38px; }
.article-body h3 { font-size: 19px; margin-top: 28px; }
.article-body p { font-size: 16px; color: var(--color-body-on-light); }
.article-body ul { margin: 0 0 18px; padding-left: 22px; list-style: disc; }
.article-body li { color: var(--color-body-on-light); margin-bottom: 8px; font-size: 15.5px; }
.article-hero {
  background: linear-gradient(135deg, rgba(255,214,10,0.16), rgba(29,78,216,0.10));
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 10px;
  border: 1px solid var(--color-border-light);
}
.article-hero .blog-meta { margin-bottom: 10px; }
.article-hero h1 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 8px; }
.article-wrap { max-width: 780px; margin: 0 auto; }
.article-share { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.related-posts { margin-top: 60px; }

/* ---------- Formulário de contato ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 14px; font-weight: 700; color: var(--color-heading-dark); margin-bottom: 8px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  background: var(--color-page-bg);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--color-heading-dark);
  font-family: var(--font-main);
  font-size: 15px;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.contact-info-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--color-border-light); }
.contact-info-card:last-child { border-bottom: none; }
.contact-info-card .icon { margin-bottom: 0; flex-shrink: 0; }

/* ---------- Legal pages ---------- */
.legal-content h2 { font-size: 21px; margin-top: 34px; }
.legal-content p, .legal-content li { font-size: 15.5px; color: var(--color-body-on-light); }
.legal-content ul { padding-left: 22px; list-style: disc; margin-bottom: 18px; }
.legal-updated { font-size: 13.5px; color: var(--color-text-muted); margin-bottom: 30px; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-navy); border-top: 3px solid var(--color-brand); padding: 64px 0 26px; color: rgba(255,255,255,0.7); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer-grid ul { display: flex; flex-direction: column; gap: 11px; }
.footer-grid a, .footer-grid p { font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-grid a:hover { color: var(--color-brand); }
.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer-disclaimer { max-width: 900px; margin: 18px auto 0; text-align: center; font-size: 12.5px; color: rgba(255,255,255,0.4); }

/* ---------- Utilidades ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.whatsapp-fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 200;
  background: var(--color-cta);
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(230,57,70,0.45);
  font-size: 26px;
}
.whatsapp-fab:hover { background: var(--color-cta-hover); }
