/* ============================================
   MEUDIANAESCOLA.COM.BR — CSS Global
   style.css — nav, footer, reset, variáveis
   ============================================ */

/* --- Variáveis --- */
:root {
  --laranja:        #E8621A;
  --laranja-claro:  #FBE9DC;
  --laranja-medio:  #F5A06E;
  --roxo:           #534AB7;
  --roxo-claro:     #EEEDFE;
  --roxo-medio:     #AFA9EC;
  --roxo-escuro:    #3C3489;
  --creme:          #FDF6F0;
  --txt:            #1E1B2E;
  --txt2:           #5F5E5A;
  --txt3:           #9B99A6;
  --branco:         #FFFFFF;
  --borda:          rgba(0,0,0,0.08);
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      20px;
  --radius-xl:      32px;
  --sombra:         0 2px 16px rgba(0,0,0,0.07);
  --font:           'Inter', 'Segoe UI', Arial, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--txt);
  background: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font); }
ul { list-style: none; }

/* --- Proteção de cópia --- */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
img {
  pointer-events: none;
  -webkit-user-drag: none;
  -moz-user-drag: none;
  user-drag: none;
}

/* --- Navbar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--borda);
  padding: 0 5%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--txt);
  letter-spacing: -0.3px;
}
.navbar-logo .logo-icon {
  width: 34px;
  height: 34px;
  background: var(--laranja);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}
.navbar-logo span { color: var(--laranja); }
.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.navbar-links a {
  font-size: 14px;
  color: var(--txt2);
  font-weight: 500;
  transition: color 0.2s;
}
.navbar-links a:hover { color: var(--laranja); }
.navbar-links a.active { color: var(--laranja); }
.btn-cliente {
  padding: 9px 20px;
  background: var(--laranja);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.btn-cliente:hover { background: #c9541a; transform: translateY(-1px); }

/* Menu mobile */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--txt);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}

/* --- Footer --- */
.footer {
  background: var(--txt);
  color: rgba(255,255,255,0.85);
  padding: 56px 5% 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-txt {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-brand .logo-txt span { color: var(--laranja); }
.footer-brand .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--laranja);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 220px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 9px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--laranja); }
.footer-col .footer-contato {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom .heart { color: var(--laranja); }

/* --- WhatsApp flutuante --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 999;
  transition: transform 0.2s;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* --- Botões globais --- */
.btn-primario {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--laranja);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.btn-primario:hover { background: #c9541a; transform: translateY(-1px); }
.btn-secundario {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: transparent;
  color: var(--roxo);
  border: 2px solid var(--roxo);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-secundario:hover {
  background: var(--roxo);
  color: #fff;
  transform: translateY(-1px);
}

/* --- Tag / badge --- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.tag-laranja { background: var(--laranja-claro); color: var(--laranja); }
.tag-roxo    { background: var(--roxo-claro);    color: var(--roxo); }
.tag-verde   { background: #EAF3DE; color: #3B6D11; }

/* --- Section título padrão --- */
.section-titulo {
  text-align: center;
  margin-bottom: 48px;
}
.section-titulo h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--txt);
  margin-bottom: 10px;
  line-height: 1.2;
}
.section-titulo h2 span { color: var(--laranja); }
.section-titulo p {
  font-size: 15px;
  color: var(--txt2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- CTA banner roxo --- */
.cta-banner {
  background: var(--roxo);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '★';
  position: absolute;
  top: 20px; left: 36px;
  font-size: 22px;
  color: rgba(255,255,255,0.2);
}
.cta-banner::after {
  content: '●';
  position: absolute;
  bottom: 24px; right: 48px;
  font-size: 14px;
  color: rgba(255,255,255,0.15);
}
.cta-banner h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.cta-banner p {
  font-size: 15px;
  color: var(--roxo-medio);
  margin-bottom: 24px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.cta-banner .btn-laranja-branco {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--laranja);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.cta-banner .btn-laranja-branco:hover { background: #c9541a; transform: translateY(-1px); }

/* --- Estrelinhas decorativas --- */
.deco-estrela {
  position: absolute;
  color: var(--laranja);
  font-size: 18px;
  opacity: 0.5;
  pointer-events: none;
}
.deco-bola {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.5;
}

/* --- Responsivo --- */
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-links.aberto {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: #fff;
    padding: 24px 5%;
    gap: 18px;
    border-bottom: 1px solid var(--borda);
    box-shadow: var(--sombra);
    z-index: 99;
  }
  .navbar-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .cta-banner { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
