/*
Theme Name: Rateio Pro Elite v13.0 — 5-Column Carousel & Full WooCommerce Suite
Theme URI: https://rateioacessivel.com.br/
Author: Principal Full-Stack & CRO Architect
Author URI: https://pontodorateio.com/
Description: Tema WordPress + WooCommerce de Alta Conversão e Fidelização: 1) Vitrines e Carrosséis de 5 Colunas para cada Editora e Carreira na Página Inicial, 2) Agentes de Conversão e Retenção 100% Camuflados como Equipe Pedagógica Humana (Orientadora Dra. Helena 24h, Planejador de Estudos Pós-Edital, Simulador de Banca, Bolsa Parcial PIX e Guardião de Checkout), 3) Páginas completas de Produto, Categorias, Carrinho com Bônus Progressivo, Checkout com Order Bump e Área do Aluno VIP com Cupom de Fidelidade, 4) Motor SEO Quíntuplo (Schema Product + Course + BreadcrumbList + FAQPage + Sitelinks).
Version: 13.0.0
Requires at least: 6.0
Tested up to: 6.7
WC requires at least: 7.0
WC tested up to: 9.5
License: GPLv2 or later
Text Domain: rateio-pro-elite-v13
*/

:root {
  --pr-navy-950: #060b19;
  --pr-navy-900: #0b132b;
  --pr-navy-800: #132247;
  --pr-gold-500: #c5a059;
  --pr-gold-400: #dfc17b;
  --pr-gold-glow: rgba(197, 160, 89, 0.24);
  --pr-green-600: #16a34a;
  --pr-green-500: #22c55e;
  --pr-bg: #f4f7fb;
  --pr-surface: #ffffff;
  --pr-text: #0f172a;
  --pr-muted: #64748b;
  --pr-border: #e2e8f0;
  --pr-radius: 14px;
  --pr-shadow-sm: 0 4px 14px rgba(11, 19, 43, 0.06);
  --pr-shadow-lg: 0 18px 38px -8px rgba(11, 19, 43, 0.15);
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--pr-bg);
  color: var(--pr-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pr-container {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 18px;
}

/* ... o resto do CSS fica mantido ... */
.pr-topbar { background: linear-gradient(90deg, var(--pr-navy-950) 0%, #162447 50%, var(--pr-navy-950) 100%); color: #f8fafc; font-size: 12.5px; font-weight: 600; padding: 8px 0; border-bottom: 1px solid rgba(197, 160, 89, 0.35); }
.pr-topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.pr-topbar-badges { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.pr-topbar-badges span { display: inline-flex; align-items: center; gap: 6px; }
.pr-gold-tag { background: var(--pr-gold-500); color: var(--pr-navy-950); font-weight: 800; padding: 2px 9px; border-radius: 50px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
.pr-header { background: var(--pr-navy-900); position: sticky; top: 0; z-index: 999; box-shadow: 0 10px 30px rgba(6, 11, 25, 0.28); }
.pr-header-main { display: grid; grid-template-columns: 250px 1fr auto; align-items: center; gap: 20px; padding: 15px 0; }
.pr-logo { display: flex; align-items: center; gap: 12px; }
.pr-logo-mark { width: 44px; height: 44px; border-radius: 11px; background: linear-gradient(135deg, var(--pr-gold-500), var(--pr-gold-400)); color: var(--pr-navy-950); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 19px; box-shadow: 0 4px 15px var(--pr-gold-glow); }
.pr-logo-title { color: #ffffff; font-weight: 900; font-size: 18.5px; letter-spacing: -0.02em; line-height: 1.1; display: block; }
.pr-logo-sub { color: var(--pr-gold-400); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; display: block; }
.pr-search-wrap { position: relative; width: 100%; }
.pr-search-form { display: flex; align-items: center; background: #ffffff; border-radius: 50px; padding: 4px 6px 4px 18px; border: 2px solid transparent; transition: all 0.2s ease; }
.pr-search-form:focus-within { border-color: var(--pr-gold-500); box-shadow: 0 0 0 4px var(--pr-gold-glow); }
.pr-search-input { width: 100%; border: none; outline: none; font-size: 14px; color: var(--pr-text); background: transparent; }
.pr-search-btn { background: var(--pr-navy-900); color: var(--pr-gold-400); border: none; border-radius: 50px; padding: 10px 20px; font-weight: 800; font-size: 13px; cursor: pointer; white-space: nowrap; }
.pr-live-search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #ffffff; border-radius: 14px; box-shadow: var(--pr-shadow-lg); border: 1px solid var(--pr-border); z-index: 1000; max-height: 420px; overflow-y: auto; display: none; }
.pr-header-actions { display: flex; align-items: center; gap: 10px; }
.pr-advisor-btn { background: rgba(197, 160, 89, 0.14); border: 1px solid var(--pr-gold-500); color: var(--pr-gold-400); padding: 9px 14px; border-radius: 50px; font-weight: 700; font-size: 12.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.pr-advisor-btn:hover { background: var(--pr-gold-500); color: var(--pr-navy-950); }
.pr-cart-btn { background: var(--pr-green-600); color: #ffffff !important; padding: 10px 18px; border-radius: 50px; font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; gap: 8px; }
.pr-nav-bar { background: var(--pr-navy-950); border-top: 1px solid rgba(255, 255, 255, 0.07); border-bottom: 3px solid var(--pr-gold-500); }
.pr-nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.pr-nav-list::-webkit-scrollbar { display: none; }
.pr-nav-list > li > a { display: inline-flex; align-items: center; gap: 5px; padding: 12px 13px; color: #e2e8f0; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.pr-nav-list > li > a:hover { color: var(--pr-gold-400); background: rgba(255, 255, 255, 0.05); }
.roai-dept-trigger { background: linear-gradient(135deg, var(--pr-gold-500), var(--pr-gold-400)); color: var(--pr-navy-950) !important; font-weight: 900 !important; border-radius: 8px 8px 0 0; }
.pr-hero { background: radial-gradient(circle at 80% 20%, #1c3166 0%, var(--pr-navy-900) 55%, var(--pr-navy-950) 100%); color: #ffffff; padding: 40px 0 34px; border-bottom: 1px solid rgba(197, 160, 89, 0.3); }
.pr-hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 28px; align-items: center; }
.pr-hero h1 { font-size: clamp(1.7rem, 2.5vw + 1rem, 2.65rem); font-weight: 900; line-height: 1.14; margin: 10px 0 12px; letter-spacing: -0.02em; }
.pr-hero h1 span { color: var(--pr-gold-400); }
.pr-hero p { color: #cbd5e1; font-size: 15px; line-height: 1.6; margin: 0 0 18px; }
.pr-hero-card { background: rgba(11, 19, 43, 0.88); border: 2px solid var(--pr-gold-500); border-radius: 18px; padding: 20px; box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45); }
.pr-status-dot { display: inline-block; width: 8px; height: 8px; background: #22c55e; border-radius: 50%; margin-right: 5px; box-shadow: 0 0 8px #22c55e; }
.roai-editoras-5col { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.roai-editora-card { background: #ffffff; border: 1px solid var(--pr-border); border-bottom: 3px solid var(--pr-navy-900); border-radius: 12px; padding: 14px 10px; text-align: center; font-weight: 800; font-size: 13px; color: var(--pr-navy-900); display: flex; flex-direction: column; align-items: center; gap: 4px; transition: all 0.22s ease; }
.roai-editora-card small { font-size: 10.5px; color: var(--pr-muted); font-weight: 600; }
.roai-editora-card:hover { border-color: var(--pr-gold-500); transform: translateY(-3px); box-shadow: var(--pr-shadow-sm); background: var(--pr-navy-900); color: var(--pr-gold-400); }
.roai-editora-card:hover small { color: #cbd5e1; }
.pr-section { padding: 32px 0 14px; }
.pr-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--pr-border); flex-wrap: wrap; gap: 10px; }
.pr-section-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(1.15rem, 1.4vw, 1.42rem); font-weight: 900; color: var(--pr-navy-900); text-transform: uppercase; }
.pr-section-title::before { content: ""; display: inline-block; width: 6px; height: 22px; background: var(--pr-gold-500); border-radius: 4px; }
.pr-carousel-controls { display: flex; align-items: center; gap: 8px; }
.pr-carousel-arrow { width: 34px; height: 34px; border-radius: 50%; background: #ffffff; border: 1px solid var(--pr-border); color: var(--pr-navy-900); font-weight: 900; font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.pr-carousel-arrow:hover { background: var(--pr-navy-900); color: var(--pr-gold-400); border-color: var(--pr-gold-500); }
.pr-carousel-viewport { position: relative; overflow: hidden; width: 100%; }
.pr-carousel-track { display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.pr-carousel-track::-webkit-scrollbar { display: none; }
.pr-carousel-track > .pr-product-card { flex: 0 0 calc((100% - 64px) / 5); min-width: calc((100% - 64px) / 5); scroll-snap-align: start; }
.pr-products-grid-5, ul.products { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 20px 16px !important; list-style: none !important; margin: 0 !important; padding: 0 !important; }
.pr-product-card, ul.products li.product { background: var(--pr-surface) !important; border: 1px solid var(--pr-border) !important; border-radius: var(--pr-radius) !important; padding: 11px !important; display: flex !important; flex-direction: column !important; justify-content: space-between !important; transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease !important; position: relative !important; overflow: hidden !important; }
.pr-product-card:hover, ul.products li.product:hover { transform: translateY(-4px) !important; box-shadow: var(--pr-shadow-lg) !important; border-color: var(--pr-gold-500) !important; }
.pr-card-thumb { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--pr-navy-950); margin-bottom: 10px; display: block; }
.pr-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.pr-product-card:hover .pr-card-thumb img { transform: scale(1.04); }
.pr-card-badge-pix { position: absolute; bottom: 7px; left: 7px; background: rgba(6, 11, 25, 0.9); border: 1px solid var(--pr-gold-500); color: var(--pr-gold-400); font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 5px; }
.pr-card-cat { font-size: 10.5px; font-weight: 800; color: var(--pr-gold-500); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 3px; }
.pr-card-title { font-size: 13.5px; font-weight: 700; color: var(--pr-text); line-height: 1.35; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pr-card-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 5px; }
.pr-card-price-row del { font-size: 11.5px; color: var(--pr-muted); }
.pr-card-price-val { font-size: 17px; font-weight: 900; color: var(--pr-green-600); }
.pr-card-pix-hint { font-size: 11px; color: #15803d; background: #dcfce7; padding: 3px 7px; border-radius: 5px; font-weight: 700; margin-bottom: 8px; display: inline-block; }
.pr-card-buy-btn { display: block; width: 100%; text-align: center; background: var(--pr-navy-900); color: #ffffff !important; font-weight: 800; font-size: 12.5px; padding: 9px 10px; border-radius: 8px; cursor: pointer; border: none; }
.pr-card-buy-btn:hover { background: var(--pr-green-600); }
.pr-card-sample-btn { display: block; width: 100%; text-align: center; background: #f8fafc; color: var(--pr-navy-900) !important; font-weight: 700; font-size: 11px; padding: 6px 8px; border-radius: 7px; border: 1px dashed #cbd5e1; margin-top: 5px; cursor: pointer; }
.pr-card-sample-btn:hover { background: #e0f2fe; border-color: #0284c7; color: #0369a1 !important; }
.pr-single-course-wrap { padding: 28px 0 50px; }
.pr-breadcrumb { font-size: 12.5px; color: var(--pr-muted); margin-bottom: 18px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pr-breadcrumb a { color: var(--pr-navy-900); font-weight: 600; }
.pr-single-grid { display: grid; grid-template-columns: 440px 1fr; gap: 32px; background: #ffffff; border: 1px solid var(--pr-border); border-radius: 18px; padding: 28px; box-shadow: var(--pr-shadow-sm); }
.pr-single-gallery { position: relative; }
.pr-single-poster-box { border-radius: 14px; overflow: hidden; border: 2px solid var(--pr-border); background: var(--pr-navy-950); aspect-ratio: 1 / 1; }
.pr-single-poster-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pr-loyalty-cashback-pill { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(90deg, #fefce8, #fef9c3); border: 1px solid #fde047; color: #854d0e; padding: 10px 14px; border-radius: 10px; font-size: 12.5px; font-weight: 700; margin-top: 12px; }
.pr-single-summary h1 { font-size: clamp(1.35rem, 2vw, 1.85rem); font-weight: 900; color: var(--pr-navy-900); margin: 6px 0 12px; line-height: 1.25; }
.pr-single-rating-row { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--pr-muted); margin-bottom: 16px; flex-wrap: wrap; }
.pr-single-price-box { background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 14px; padding: 18px 20px; margin-bottom: 18px; }
.pr-single-cta-group { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; margin-bottom: 18px; }
.pr-btn-buy-main { background: var(--pr-green-600); color: #ffffff !important; font-weight: 900; font-size: 15.5px; padding: 15px 20px; border-radius: 12px; border: none; cursor: pointer; text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 10px 25px rgba(22, 163, 74, 0.3); }
.pr-btn-buy-main:hover { background: #15803d; transform: translateY(-2px); }
.pr-btn-sample-secondary { background: var(--pr-navy-900); color: var(--pr-gold-400) !important; border: 1px solid var(--pr-gold-500); font-weight: 800; font-size: 13.5px; padding: 15px 16px; border-radius: 12px; cursor: pointer; text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.pr-course-tabs { margin-top: 32px; background: #ffffff; border: 1px solid var(--pr-border); border-radius: 18px; overflow: hidden; }
.pr-tab-headers { display: flex; background: var(--pr-navy-950); border-bottom: 3px solid var(--pr-gold-500); overflow-x: auto; }
.pr-tab-btn { background: transparent; color: #cbd5e1; border: none; padding: 15px 22px; font-weight: 800; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.pr-tab-btn.active { background: var(--pr-gold-500); color: var(--pr-navy-950); }
.pr-tab-panel { padding: 26px; display: none; line-height: 1.7; font-size: 14.5px; color: #334155; }
.pr-tab-panel.active { display: block; }
.pr-sticky-buy-bar { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(6, 11, 25, 0.96); border-top: 2px solid var(--pr-gold-500); color: #ffffff; padding: 10px 0; z-index: 9990; backdrop-filter: blur(8px); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.35); }
.pr-ai-fab { position: fixed; bottom: 74px; right: 20px; z-index: 9999; background: linear-gradient(135deg, var(--pr-navy-900) 0%, #1e293b 100%); color: #ffffff; border: 2px solid var(--pr-gold-500); border-radius: 50px; padding: 11px 18px; font-weight: 800; font-size: 13px; display: flex; align-items: center; gap: 10px; cursor: pointer; box-shadow: 0 14px 32px rgba(6, 11, 25, 0.38); }
.pr-ai-drawer { position: fixed; bottom: 135px; right: 20px; width: 380px; max-width: calc(100vw - 32px); background: #ffffff; border: 2px solid var(--pr-gold-500); border-radius: 18px; box-shadow: 0 24px 60px rgba(6, 11, 25, 0.35); z-index: 10000; display: none; flex-direction: column; overflow: hidden; }
.pr-ai-drawer.active { display: flex; }
.pr-ai-drawer-head { background: var(--pr-navy-900); color: #ffffff; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--pr-gold-500); }
.pr-ai-messages { padding: 16px; height: 310px; overflow-y: auto; background: #f8fafc; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.pr-ai-msg-bot { background: #ffffff; border: 1px solid var(--pr-border); border-left: 4px solid var(--pr-gold-500); padding: 10px 12px; border-radius: 10px; color: var(--pr-text); line-height: 1.5; }
.pr-ai-msg-user { background: var(--pr-navy-900); color: #ffffff; padding: 9px 12px; border-radius: 10px; align-self: flex-end; max-width: 85%; }
.pr-ai-input-bar { display: flex; border-top: 1px solid var(--pr-border); padding: 10px; background: #ffffff; gap: 8px; }
.roai-vip-banner { background: linear-gradient(135deg, #060b19 0%, #162447 55%, #2a1f0a 100%); border: 2px solid var(--pr-gold-500); border-radius: 18px; padding: 26px 30px; margin: 28px 0 12px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; color: #ffffff; box-shadow: 0 20px 45px rgba(6, 11, 25, 0.22); }
.roai-vip-badge-81 { background: #dc2626; color: #ffffff; font-weight: 900; font-size: 24px; width: 82px; height: 82px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px solid var(--pr-gold-400); line-height: 1.05; }
.roai-lead-magnet-bar { background: #ffffff; border: 2px solid var(--pr-navy-900); border-radius: 16px; padding: 22px 26px; margin: 22px 0; box-shadow: var(--pr-shadow-lg); }
.pr-card-lead-btn { display: block; width: 100%; text-align: center; background: #f1f5f9; color: var(--pr-navy-900) !important; font-weight: 800; font-size: 11.5px; padding: 7px 10px; border-radius: 8px; border: 1px dashed #94a3b8; margin-top: 6px; cursor: pointer; }
.pr-card-lead-btn:hover { background: #e0f2fe; border-color: #0284c7; color: #0369a1 !important; }
.pr-seo-silo-box { background: #ffffff; border: 1px solid var(--pr-border); border-radius: 16px; padding: 28px; margin: 40px 0; }
.pr-footer { background: var(--pr-navy-950); color: #94a3b8; padding: 48px 0 80px; border-top: 4px solid var(--pr-gold-500); margin-top: 50px; }
.pr-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.pr-footer h4 { color: #ffffff; font-size: 14.5px; margin: 0 0 12px; text-transform: uppercase; }
.pr-footer ul { list-style: none; padding: 0; margin: 0; line-height: 2; font-size: 13px; }
@media (max-width: 1200px) { .pr-products-grid-5, ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } .pr-carousel-track > .pr-product-card { flex: 0 0 calc((100% - 48px) / 4); min-width: calc((100% - 48px) / 4); } }
@media (max-width: 960px) { .roai-editoras-5col { grid-template-columns: repeat(3, 1fr); } .pr-products-grid-5, ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } .pr-carousel-track > .pr-product-card { flex: 0 0 calc((100% - 32px) / 3); min-width: calc((100% - 32px) / 3); } .pr-hero-grid, .pr-single-grid { grid-template-columns: 1fr; } .roai-vip-banner { grid-template-columns: 1fr; text-align: center; } .roai-vip-badge-81 { margin: 0 auto; } }
@media (max-width: 680px) { .pr-header-main { grid-template-columns: 1fr auto; } .pr-search-wrap { grid-column: 1 / -1; order: 3; } .roai-editoras-5col { grid-template-columns: repeat(2, 1fr); } .pr-products-grid-5, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; } .pr-carousel-track > .pr-product-card { flex: 0 0 calc((100% - 12px) / 2); min-width: calc((100% - 12px) / 2); } .pr-single-cta-group, .pr-footer-grid { grid-template-columns: 1fr; } }
