/*
Theme Name: Clube Escolas
Theme URI: https://clubeescolas.com.br
Author: M8K Group
Author URI: https://m8kgroup.com
Description: Tema personalizado para o Clube Escolas - Marketing Educacional
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clube-escolas
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
*/

/* ============ RESET & BASE ============ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap');

:root {
  --bg-dark: #0f1117;
  --bg-card: #181b24;
  --fg: #eceff4;
  --fg-muted: #bcbcbc;
  --primary: #1a8fc4;
  --accent: #a8e635;
  --accent-dark: #1a1a2e;
  --destructive: #ef4444;
  --border-dark: #23272f;
  --whatsapp: #25d366;
  --white: #ffffff;
  --section-light-bg: #ffffff;
  --section-light-fg: #1a1a2e;
  --section-light-muted: #64748b;
  --section-light-border: #e2e8f0;
  --ribbon-green: linear-gradient(135deg, #6ba829, #a8e635);
  --radius: 0.75rem;
  --glow-accent: 0 0 40px rgba(168, 230, 53, 0.15);
}

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

body {
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 300;
  background: var(--bg-dark);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 640px) {
  .container { padding: 0 2.5rem; }
}

/* ============ NAV ============ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(15, 17, 23, 0.7);
  border-bottom: 1px solid rgba(35, 39, 47, 0.5);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .nav-inner { padding: 1rem 2.5rem; }
}

.nav-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logos img { height: 1.5rem; }
.nav-logos .separator {
  color: var(--fg-muted);
  font-size: 0.75rem;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--accent-dark);
  border-radius: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.nav-cta:hover {
  box-shadow: 0 8px 24px rgba(168, 230, 53, 0.2);
}

.nav-cta svg { width: 1rem; height: 1rem; }

.mobile-menu-btn {
  display: none;
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  color: var(--fg);
  font-size: 1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 639px) {
  .nav-cta.desktop-only { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-logos .separator,
  .nav-logos .logo-m8k { display: none; }
}

/* ============ HERO ============ */
.hero {
  background: var(--bg-dark);
  padding-top: 7rem;
  padding-bottom: 0;
  position: relative;
  overflow: visible;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero { min-height: 85vh; padding-top: 9rem; }
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-title {
  font-size: 1.875rem;
  color: var(--fg);
  line-height: 1.08;
}

.hero-title .highlight { color: var(--accent); }

@media (min-width: 640px) { .hero-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1280px) { .hero-title { font-size: 3.75rem; } }

.hero-subtitle {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fg-muted);
  max-width: 32rem;
}

@media (min-width: 640px) { .hero-subtitle { font-size: 1.125rem; margin-top: 2rem; } }

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; margin-top: 2.5rem; }
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 1rem 1.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  transition: box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-accent:hover {
  box-shadow: 0 12px 32px rgba(168, 230, 53, 0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid rgba(168, 230, 53, 0.2);
  background: rgba(168, 230, 53, 0.05);
  color: var(--fg);
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 1rem 1.75rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: rgba(168, 230, 53, 0.3);
  background: rgba(168, 230, 53, 0.1);
}

.hero-image-desktop {
  display: none;
  justify-content: center;
  align-items: flex-end;
}

.hero-image-desktop img {
  width: 100%;
  max-width: 36rem;
  object-fit: contain;
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.25));
}

@media (min-width: 1024px) {
  .hero-image-desktop { display: flex; }
}

.hero-image-mobile {
  display: flex;
  justify-content: center;
  margin-bottom: -60px;
  position: relative;
  z-index: 0;
}

.hero-image-mobile img {
  width: 100%;
  max-width: 320px;
  object-fit: contain;
  filter: drop-shadow(0 25px 25px rgba(0,0,0,0.25));
}

@media (min-width: 640px) {
  .hero-image-mobile img { max-width: 28rem; }
}

@media (min-width: 1024px) {
  .hero-image-mobile { display: none; }
}

.hero-glow-1 {
  position: absolute;
  top: 25%; left: 25%;
  width: 500px; height: 500px;
  background: rgba(168, 230, 53, 0.04);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 0; right: 25%;
  width: 400px; height: 400px;
  background: rgba(168, 230, 53, 0.03);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

/* ============ RIBBON ============ */
.ribbon {
  padding: 1.25rem 0;
  overflow: hidden;
  background: linear-gradient(135deg, #6ba829, #a8e635);
  position: relative;
  z-index: 10;
}

.ribbon-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.ribbon-track span {
  color: var(--white);
  font-size: 1rem;
  font-weight: 200;
  letter-spacing: 0.05em;
}

@media (min-width: 640px) {
  .ribbon-track span { font-size: 1.125rem; }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============ SECTIONS ============ */
.section-dark {
  padding: 6rem 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.section-light {
  padding: 6rem 0;
  background: var(--section-light-bg);
  color: var(--section-light-fg);
  position: relative;
}

@media (min-width: 640px) {
  .section-dark, .section-light { padding: 9rem 0; }
}

.section-light h2,
.section-light h3,
.section-light h4 { color: var(--section-light-fg); }
.section-light p { color: var(--section-light-fg); }
.section-light .text-muted { color: var(--section-light-muted); }

/* ============ TAG / BADGE ============ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.tag-accent {
  color: var(--accent);
  border: 1px solid rgba(168, 230, 53, 0.2);
  background: rgba(168, 230, 53, 0.05);
}

.tag-accent-solid {
  color: var(--accent-dark);
  background: var(--accent);
  border: 1px solid var(--accent);
}

.tag-red {
  color: var(--white);
  background: var(--destructive);
  border: 1px solid var(--destructive);
}

/* ============ SECTION TITLES ============ */
.section-title {
  font-size: 1.875rem;
  line-height: 1.1;
  max-width: 48rem;
}

@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
@media (min-width: 768px) { .section-title { font-size: 3rem; } }

.section-subtitle {
  margin-top: 1.25rem;
  font-size: 1rem;
  max-width: 42rem;
}

@media (min-width: 640px) { .section-subtitle { font-size: 1.125rem; } }

/* ============ CARD GRIDS ============ */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

/* Pain cards */
.pain-card {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid var(--destructive);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.pain-card:hover {
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.4), 0 0 24px rgba(239, 68, 68, 0.2), 0 0 48px rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.7);
}

.pain-card .icon-box {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  background: var(--destructive);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.pain-card .icon-box svg { width: 1.5rem; height: 1.5rem; color: white; stroke-width: 1.5; }
.pain-card h3 { font-size: 1.125rem; margin-bottom: 0.75rem; }
.pain-card p { font-size: 0.875rem; line-height: 1.75; color: var(--section-light-fg); }

/* Solution cards */
.solution-card {
  background: rgba(168, 230, 53, 0.08);
  border: 1px solid var(--accent);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.solution-card:hover {
  box-shadow: 0 0 8px rgba(168, 230, 53, 0.4), 0 0 24px rgba(168, 230, 53, 0.2), 0 0 48px rgba(168, 230, 53, 0.1);
  border-color: rgba(168, 230, 53, 0.5);
}

.solution-card .icon-box {
  width: 3rem; height: 3rem;
  border-radius: 0.75rem;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.solution-card .icon-box svg { width: 1.5rem; height: 1.5rem; color: var(--accent-dark); stroke-width: 1.5; }
.solution-card h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--section-light-fg); }
.solution-card p { font-size: 0.875rem; line-height: 1.75; color: var(--section-light-fg); }

/* ============ TWO-COL LAYOUT ============ */
.two-col {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

/* ============ CHECKLIST ============ */
.checklist { list-style: none; padding: 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--fg);
  line-height: 1.75;
}

@media (min-width: 640px) { .checklist li { font-size: 1rem; } }

.checklist li svg {
  width: 1.25rem; height: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.checklist-box {
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  border: 1px solid rgba(168, 230, 53, 0.2);
  background: rgba(168, 230, 53, 0.05);
}

.checklist-box h3 {
  font-size: 1.125rem;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

/* ============ PROFILE LIST ============ */
.profile-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--section-light-border);
  transition: border-color 0.3s ease;
}

.profile-item:hover { border-color: rgba(168, 230, 53, 0.2); }

.profile-item .icon-box {
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.profile-item .icon-box svg { width: 1.25rem; height: 1.25rem; color: var(--accent-dark); stroke-width: 1.5; }
.profile-item span { font-size: 0.875rem; line-height: 1.75; color: var(--section-light-fg); }

@media (min-width: 640px) { .profile-item span { font-size: 1rem; } }

/* ============ MOOCA IMAGE ============ */
.mooca-image {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(168, 230, 53, 0.2);
  box-shadow: 0 0 30px rgba(168, 230, 53, 0.12);
}

/* ============ CTA CENTRAL ============ */
.cta-central {
  text-align: center;
}

.cta-central .section-title {
  margin: 0 auto;
}

.cta-central .section-subtitle {
  margin: 1.5rem auto 0;
  max-width: 36rem;
}

.cta-central .highlight { color: var(--accent); }

.seal-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.seal-row span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

@media (min-width: 640px) { .seal-row span { font-size: 0.875rem; } }

.seal-row svg { width: 1rem; height: 1rem; color: rgba(168, 230, 53, 0.6); stroke-width: 1.5; }

/* ============ FORM ============ */
.contact-section {
  background: var(--section-light-bg);
  padding: 0 1.5rem;
  padding-bottom: 0;
}

@media (min-width: 640px) { .contact-section { padding: 0 2.5rem; } }

.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 6rem;
}

@media (min-width: 640px) { .contact-inner { padding-top: 9rem; } }

.form-card {
  border-radius: 1rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--section-light-fg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

@media (min-width: 640px) { .form-card { padding: 2.5rem; } }

.form-card h3 {
  font-size: 1.25rem;
  color: var(--section-light-fg);
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) { .form-card h3 { font-size: 1.5rem; } }

.form-card .form-subtitle {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.form-card input,
.form-card select {
  width: 100%;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  background: var(--white);
  border: 1px solid var(--section-light-fg);
  color: #0f172a;
  margin-bottom: 1rem;
  outline: none;
  transition: box-shadow 0.2s ease;
}

.form-card input:focus,
.form-card select:focus {
  box-shadow: 0 0 0 3px rgba(168, 230, 53, 0.3);
}

.form-card input::placeholder { color: #94a3b8; }

.form-card .btn-submit {
  width: 100%;
  background: var(--accent);
  color: var(--accent-dark);
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 1rem;
  border-radius: 0.75rem;
  border: none;
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: box-shadow 0.3s ease;
}

.form-card .btn-submit:hover {
  box-shadow: 0 12px 32px rgba(168, 230, 53, 0.25);
}

.form-card .privacy-note {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.contact-image-desktop {
  display: none;
  margin-left: -1.5rem;
}

.contact-image-desktop img {
  width: 100%;
  max-width: 28rem;
  object-fit: contain;
  margin-bottom: -1px;
}

@media (min-width: 1024px) {
  .contact-image-desktop { display: block; }
}

.contact-image-mobile {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.contact-image-mobile img {
  width: 100%;
  max-width: 20rem;
  object-fit: contain;
  margin-bottom: -1px;
}

@media (min-width: 640px) {
  .contact-image-mobile img { max-width: 24rem; }
}

@media (min-width: 1024px) {
  .contact-image-mobile { display: none; }
}

/* ============ FOOTER ============ */
.site-footer {
  padding: 4rem 0;
  background: var(--bg-dark);
  border-top: 1px solid rgba(35, 39, 47, 0.5);
}

@media (min-width: 640px) { .site-footer { padding: 5rem 0; } }

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-grid h4 {
  font-size: 0.875rem;
  color: var(--fg);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-grid a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.footer-grid a:hover { color: var(--accent); }
.footer-grid a svg { width: 1rem; height: 1rem; }

.footer-grid p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--fg-muted);
}

.footer-brand img { height: 2.5rem; margin-bottom: 1rem; }

.footer-m8k {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-m8k span { font-size: 0.75rem; color: var(--fg-muted); }
.footer-m8k img { height: 2rem; }

.footer-bottom {
  max-width: 1200px;
  margin: 3.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(35, 39, 47, 0.5);
  text-align: center;
}

.footer-bottom p { font-size: 0.75rem; color: var(--fg-muted); }

/* ============ UTILITY ============ */
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mb-header { margin-bottom: 4rem; }

@media (min-width: 640px) { .mb-header { margin-bottom: 5rem; } }

.rounded-2xl { border-radius: 1rem; }
.overflow-hidden { overflow: hidden; }

.gradient-border-img {
  border-radius: 1rem;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid var(--section-light-border);
}
