/* =============================================
   UNITV BRASIL — CSS PRINCIPAL
   Design: Clean, tema claro, vermelho #D71920
   ============================================= */

:root {
  --red:        #D71920;
  --red-dark:   #b01218;
  --red-light:  #fff0f0;
  --red-mid:    #ffd6d8;
  --ink:        #111318;
  --text:       #2b2f38;
  --muted:      #5e6470;
  --border:     #e4e8f0;
  --soft:       #f8f9fb;
  --white:      #ffffff;
  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 8px 28px rgba(0,0,0,.09);
  --shadow-lg:  0 20px 48px rgba(0,0,0,.10);
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --max:        1140px;
  --font:       'Segoe UI', Arial, Helvetica, sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

/* ---- Acessibilidade ---- */
.skip {
  position: absolute; left: -9999px; top: auto;
}
.skip:focus {
  left: 14px; top: 12px;
  background: var(--white); color: var(--ink);
  padding: 10px 16px; border: 2px solid var(--red);
  border-radius: var(--radius-sm); z-index: 9999;
  font-weight: 700;
}

/* ---- Container ---- */
.container {
  width: min(var(--max), 92%);
  margin-inline: auto;
}

/* =============================================
   TOPBAR
   ============================================= */
.topbar {
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  letter-spacing: .02em;
}

/* =============================================
   HEADER / NAV
   ============================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.logo img {
  width: 140px;
  height: auto;
}
.menu {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14.5px;
  font-weight: 600;
}
.menu a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: color .2s, background .2s;
}
.menu a:hover {
  color: var(--red);
  background: var(--red-light);
}
.menu-toggle { display: none; }
.hamb {
  display: none;
  cursor: pointer;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

/* =============================================
   BOTOES
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 6px 20px rgba(215,25,32,.25);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 8px 26px rgba(215,25,32,.35);
  color: var(--white);
}
.btn-outline {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  padding: 80px 0 64px;
  background: linear-gradient(160deg, #fff 55%, #fff4f4 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--red-mid);
  color: #9e1018;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}
.hero h1 {
  font-size: clamp(36px, 5.5vw, 62px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: 18px;
}
.hero h1 .red { color: var(--red); }
.lead {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.trust-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.trust-item strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 2px;
}
.trust-item span {
  font-size: 12.5px;
  color: var(--muted);
}
.notice {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 14px;
  line-height: 1.5;
}
.hero-visual {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 14px;
  box-shadow: var(--shadow-lg);
}
.hero-visual img {
  border-radius: 22px;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* =============================================
   SECOES GENERICAS
   ============================================= */
section { padding: 80px 0; }
.section-bg { background: var(--soft); }
.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 12px;
}
.section-head p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* =============================================
   CARDS DE PLANOS
   ============================================= */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.plan-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
}
.plan-card.featured {
  border-color: var(--red);
  box-shadow: 0 12px 40px rgba(215,25,32,.12);
}
.plan-badge {
  display: inline-flex;
  align-items: center;
  background: var(--red-light);
  color: #a8141b;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 12px;
  margin-bottom: 16px;
  width: fit-content;
}
.plan-card.featured .plan-badge {
  background: var(--red);
  color: var(--white);
}
.plan-card h3 {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.2;
}
.plan-desc {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.6;
}
.plan-price {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price small {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}
.plan-period {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}
.plan-features {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-bottom: 22px;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
  content: '\2713';
  color: var(--red);
  font-weight: 900;
  font-size: 13px;
  margin-top: 1px;
  flex-shrink: 0;
}
.plan-card .btn {
  width: 100%;
  margin-top: auto;
}
.plan-link {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  margin-top: 12px;
}
.plan-link:hover { text-decoration: underline; }

/* =============================================
   COMO FUNCIONA - STEPS
   ============================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 20px;
}
.step-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  font-weight: 900;
  font-size: 15px;
  margin-bottom: 14px;
}
.step-card h3 {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
}
.step-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* =============================================
   CATEGORIAS DE CONTEUDO
   ============================================= */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
}
.cat-card a { display: block; }
.cat-card a:hover .cat-title { color: var(--red); }
.cat-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.cat-body { padding: 14px 16px; }
.cat-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  transition: color .2s;
}
.cat-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* =============================================
   BLOG GRID
   ============================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.blog-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.blog-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 8px;
}
.blog-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}
.blog-read {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.blog-read:hover { text-decoration: underline; }

/* =============================================
   FAQ
   ============================================= */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.faq-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.faq-panel h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}
.faq-panel p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.faq-list details {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.faq-list details:first-child { border-top: none; }
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 20px;
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list details p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}
.legal-note {
  font-size: 13px;
  color: var(--muted);
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-top: 18px;
  line-height: 1.6;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, #111318 0%, #2a0a0c 100%);
  padding: 72px 0;
}
.cta-inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.cta-inner h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.cta-inner p {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
  line-height: 1.7;
}
.cta-inner .btn-primary {
  font-size: 16px;
  padding: 14px 32px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--ink);
  color: var(--white);
  padding: 52px 0 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.footer-brand img {
  width: 130px;
  height: auto;
  margin-bottom: 14px;
  filter: brightness(1.1);
}
.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  max-width: 300px;
}
.footer-brand .notice {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-top: 10px;
}
.footer-col strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  margin-bottom: 14px;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.65);
  margin-bottom: 8px;
  line-height: 1.5;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,.35);
  text-align: center;
}

/* =============================================
   BOTAO FLUTUANTE WHATSAPP
   ============================================= */
.float-whats {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  background: var(--red);
  color: var(--white);
  border-radius: 999px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(215,25,32,.4);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.float-whats:hover {
  background: var(--red-dark);
  color: var(--white);
  box-shadow: 0 10px 32px rgba(215,25,32,.5);
}

/* =============================================
   PAGINAS INTERNAS
   ============================================= */
.page { padding: 60px 0; }
.content { max-width: 860px; }
.breadcrumb {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--red); }
.breadcrumb a:hover { text-decoration: underline; }
.content h1 {
  font-size: clamp(32px, 4.5vw, 50px);
  line-height: 1.07;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: 18px;
}
.content h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  color: var(--ink);
  margin-top: 36px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.content h3 { color: var(--ink); margin-bottom: 8px; }
.content p, .content li {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}
.content ul { padding-left: 20px; list-style: disc; }
.content img {
  border-radius: var(--radius-lg);
  margin: 24px 0;
  width: 100%;
}
.cta-box {
  background: linear-gradient(135deg, #111318, #2a0a0c);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 28px 0;
}
.cta-box h2 { color: var(--white); margin-top: 0; font-size: 28px; }
.cta-box p { color: rgba(255,255,255,.75); margin-bottom: 18px; }
.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.related a {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  text-align: center;
  transition: border-color .2s, color .2s;
}
.related a:hover { border-color: var(--red); color: var(--red); }

/* =============================================
   RESPONSIVO
   ============================================= */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 44px; }
  .hero-visual { display: none; }
  .hero-trust { grid-template-columns: repeat(3, 1fr); }
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hamb { display: block; }
  .menu {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 4%;
    box-shadow: 0 16px 32px rgba(0,0,0,.08);
    flex-direction: column;
    align-items: stretch;
  }
  .menu a { display: block; padding: 12px 8px; }
  .menu .btn { display: flex; margin-top: 8px; }
  .menu-toggle:checked ~ .menu { display: flex; }
  .related { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .plans-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-trust { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .logo img { width: 120px; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions .btn { width: auto; flex: 1; }
  .float-whats { left: 14px; right: 14px; width: auto; justify-content: center; }
  .faq-grid { grid-template-columns: 1fr; }
  .cta-box { padding: 22px 18px; }
  .page { padding: 40px 0; }
}
