/*
Theme Name: Grupo Educare - Comunidade de Educadores
Theme URI: https://grupoeducare.com.br
Author: Grupo Educare
Author URI: https://grupoeducare.com.br
Description: Landing page de alta conversão para a Comunidade de Educadores do Grupo Educare. Tema otimizado, responsivo e focado em captação via WhatsApp.
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: educare
Tags: one-page, landing-page, education, responsive-layout
*/

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: hsl(265, 60%, 15%);
  background-color: hsl(0, 0%, 100%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== CSS VARIABLES ===== */
:root {
  --color-primary: hsl(265, 70%, 25%);
  --color-primary-fg: hsl(0, 0%, 100%);
  --color-secondary: hsl(80, 85%, 50%);
  --color-secondary-fg: hsl(265, 70%, 15%);
  --color-accent: hsl(345, 90%, 60%);
  --color-accent-fg: hsl(0, 0%, 100%);
  --color-foreground: hsl(265, 60%, 15%);
  --color-muted: hsl(265, 15%, 45%);
  --color-border: hsl(265, 20%, 90%);
  --color-card-bg: hsl(265, 40%, 98%);
  --color-section-alt: hsl(265, 40%, 96%);
  --color-deep-purple: hsl(265, 70%, 18%);
  --color-light-purple: hsl(265, 40%, 96%);
  --gradient-hero: linear-gradient(135deg, hsl(265, 70%, 18%) 0%, hsl(265, 70%, 28%) 100%);
  --gradient-text: linear-gradient(135deg, hsl(80, 85%, 50%), hsl(80, 85%, 60%));
  --shadow-cta: 0 8px 30px -8px hsla(80, 85%, 50%, 0.4);
  --shadow-card: 0 4px 20px -4px hsla(265, 70%, 25%, 0.12);
  --radius: 0.75rem;
  --radius-full: 9999px;
}

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 800;
  color: var(--color-foreground);
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.125rem; font-weight: 700; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  h1 { font-size: 3.75rem; }
}

/* ===== CTA BUTTON ===== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-secondary-fg);
  background-color: var(--color-secondary);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-cta);
  transition: transform 0.2s ease, filter 0.2s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.cta-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.cta-btn:active {
  transform: scale(0.98);
}

.cta-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.cta-btn--sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
}

.cta-btn--bordered {
  border: 2px solid var(--color-secondary);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsla(0, 0%, 100%, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsla(265, 70%, 25%, 0.1);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-header__logo {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.5rem;
}

.site-header .cta-btn {
  display: none;
}

@media (min-width: 768px) {
  .site-header .cta-btn {
    display: inline-flex;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  background: var(--gradient-hero);
  padding: 7rem 0 5rem;
  position: relative;
}

@media (min-width: 768px) {
  .hero {
    padding: 9rem 0 7rem;
  }
}

.hero__content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-secondary);
  background: hsla(80, 85%, 50%, 0.2);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--color-primary-fg);
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  max-width: 36rem;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: hsla(0, 0%, 100%, 0.8);
}

.hero__image-wrap {
  max-width: 56rem;
  margin: 3rem auto 0;
}

.hero__image-wrap img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== SECTION BASE ===== */
.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--color-section-alt);
}

.section--hero-bg {
  background: var(--gradient-hero);
}

.section__header {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section__header p {
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--color-muted);
}

.section__header--light h2 {
  color: var(--color-primary-fg);
}

.section__header--light p {
  color: hsla(0, 0%, 100%, 0.8);
}

.section__cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}

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

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

@media (min-width: 1024px) {
  .cards-grid--benefits {
    grid-template-columns: repeat(3, 1fr);
    max-width: 64rem;
  }
}

/* ===== PROBLEM CARD ===== */
.problem-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  background: var(--color-card-bg);
  box-shadow: var(--shadow-card);
}

.problem-card__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.problem-card h3 {
  margin-bottom: 0.5rem;
}

.problem-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* ===== CHECKLIST ===== */
.checklist {
  display: grid;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .checklist {
    grid-template-columns: repeat(2, 1fr);
  }
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  background: hsl(0, 0%, 100%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.checklist__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-secondary);
  color: var(--color-secondary-fg);
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 0.125rem;
}

.checklist__text {
  font-weight: 500;
  color: var(--color-foreground);
}

/* ===== BENEFIT CARD ===== */
.benefit-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  background: var(--color-card-bg);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}

.benefit-card:hover {
  transform: scale(1.02);
}

.benefit-card__icon {
  font-size: 1.875rem;
  margin-bottom: 0.75rem;
  display: block;
}

.benefit-card h3 {
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* ===== DIFFERENTIAL CARD ===== */
.diff-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  background: hsla(0, 0%, 100%, 0.05);
  backdrop-filter: blur(4px);
}

.diff-card__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.diff-card h3 {
  color: var(--color-primary-fg);
  margin-bottom: 0.5rem;
}

.diff-card p {
  font-size: 0.875rem;
  color: hsla(0, 0%, 100%, 0.7);
}

/* ===== AUDIENCE PILLS ===== */
.audience-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
}

.audience-pill {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-foreground);
  border: 2px solid var(--color-secondary);
  background: hsla(80, 85%, 50%, 0.1);
  border-radius: var(--radius-full);
}

.audience-note {
  max-width: 28rem;
  margin: 2rem auto 0;
  font-size: 0.875rem;
  color: var(--color-muted);
  text-align: center;
}

/* ===== STEPS ===== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    gap: 1rem;
  }
}

.step {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step__number {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-primary-fg);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--color-muted);
}

.steps__badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-secondary-fg);
  background: hsla(80, 85%, 50%, 0.2);
  border-radius: var(--radius-full);
}

/* ===== AUTHORITY ===== */
.authority__logo {
  height: 4rem;
  width: 4rem;
  border-radius: 0.75rem;
  margin: 0 auto 1.5rem;
}

.authority p {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 48rem;
  margin: 0 auto;
}

/* ===== FINAL CTA ===== */
.final-cta {
  padding: 6rem 0;
}

.final-cta__content {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.final-cta h2 {
  color: var(--color-primary-fg);
  margin-bottom: 1.5rem;
}

.final-cta p {
  font-size: 1.125rem;
  color: hsla(0, 0%, 100%, 0.8);
  margin-bottom: 2.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
  text-align: center;
}

.site-footer__logo {
  height: 2rem;
  width: 2rem;
  border-radius: 0.5rem;
  margin: 0 auto 0.75rem;
}

.site-footer p {
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }
.fade-up-delay-4 { transition-delay: 0.4s; }
.fade-up-delay-5 { transition-delay: 0.5s; }

/* ===== WHATSAPP FLOATING BUTTON (MOBILE) ===== */
.whatsapp-float {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 1.75rem;
  height: 1.75rem;
}

@media (min-width: 768px) {
  .whatsapp-float {
    display: none;
  }
}
