/* ============================================================
   EUDUCA — Landing Page Stylesheet
   Design System: Clean, Elegant, Blue & Coral/Pink
   Typography: Plus Jakarta Sans + Inter (Google Fonts)
   ============================================================ */

/* ─── Google Fonts Import ─────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ─── Design Tokens (Light Mode) ─────────────────────────── */
:root {
  /* Colors - Brand Teal & Coral */
  --primary: #52C0B5;
  /* Brand Teal / Verde Água */
  --primary-light: #6ED2C8;
  --primary-dark: #3A9C92;
  --primary-glow: rgba(0, 0, 0, 0.08);

  --accent: #ED8975;
  /* Brand Coral */
  --accent-light: #F4A392;
  --accent-glow: rgba(0, 0, 0, 0.08);

  --danger: #E11D48;
  --warning: #F59E0B;
  --purple: #8B5CF6;

  /* Backgrounds - Ultra Clean */
  --bg: #FAFAFA;
  /* Very clean off-white */
  --bg-secondary: #FFFFFF;
  --surface: #FFFFFF;
  --surface-hover: #F8FAFC;
  --border: rgba(30, 58, 138, 0.08);
  /* Subtle blue tinted border */

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.90);
  --glass-shadow: 0 8px 32px rgba(30, 58, 138, 0.06);

  /* Text - Softer Grays */
  --text: #334155;
  /* Slate 700 - Soft Dark Gray */
  --text-secondary: #475569;
  /* Slate 600 */
  --text-muted: #64748B;
  /* Slate 500 */
  --text-light: #94A3B8;
  /* Slate 400 */

  /* Shadows - Elegant and Soft */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.03);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Spacing - Scaled down for more compact and elegant layout */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  /* Smoother */
  --transition-fast: all 0.2s ease;

  /* Header height */
  --header-h: 80px;
}

/* ─── Dark Mode Tokens (Deep Blue, Elegant) ──────────────── */
[data-theme="dark"] {
  --bg: #0B1120;
  --bg-secondary: #111827;
  --surface: #1E293B;
  --surface-hover: #253347;
  --border: rgba(255, 255, 255, 0.06);

  --glass-bg: rgba(15, 23, 42, 0.85);
  --glass-border: rgba(255, 255, 255, 0.05);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.40);

  --text: #F8FAFC;
  --text-secondary: #E2E8F0;
  --text-muted: #94A3B8;
  --text-light: #64748B;

  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.30);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.40);
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.50);
}

/* ─── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  overflow-x: hidden !important;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.7;
  transition: background-color 0.4s ease, color 0.4s ease;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ─── Utility Classes ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-3xl) 0;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.section--alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--primary-glow);
  color: var(--primary);
  border: 1px solid rgba(30, 58, 138, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge--accent {
  background: var(--accent-glow);
  color: var(--accent);
  border-color: rgba(244, 63, 94, 0.1);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 650px;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

/* Gradient text - Elegant Blue to Coral */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--primary-glow);
  will-change: transform, box-shadow;
  transform: translateZ(0);
}

.btn-primary:hover {
  transform: translateY(-2px) translateZ(0);
  background: var(--primary-light);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-accent {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  background: var(--accent-light);
  box-shadow: 0 8px 25px var(--accent-glow);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
  color: var(--primary);
}

.btn-ghost {
  color: var(--text-muted);
  padding: 8px 16px;
}

.btn-ghost:hover {
  color: var(--primary);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.8125rem;
}

/* ─── Header ──────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateZ(0);
  width: calc(100% - 32px);
  max-width: 1200px;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-radius: var(--radius-xl);
  will-change: transform, box-shadow;
}

.header.scrolled {
  top: 8px;
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.95);
}

[data-theme="dark"] .header.scrolled {
  background: rgba(15, 23, 42, 0.95);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.header__logo-img {
  height: 60px;
  /* Bem maior */
  width: auto;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  /* Bem maior */
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.header__nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.header__nav-link:hover {
  color: var(--primary);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

/* Dark mode toggle */
.dark-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: transparent;
  transition: var(--transition);
  font-size: 1rem;
}

.dark-toggle:hover {
  color: var(--primary);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

/* Hamburger mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: transparent;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── Hero Section (Clean & Elegant) ──────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top right, rgba(244, 63, 94, 0.03) 0%, transparent 40%),
    radial-gradient(circle at bottom left, rgba(30, 58, 138, 0.04) 0%, transparent 50%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  padding: var(--spacing-3xl) 0;
}

.hero__text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 540px;
  font-weight: 400;
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  margin-top: var(--spacing-sm);
}

.hero__cta-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__cta-note::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__mockup-wrapper {
  position: relative;
  animation: mockupFloat 8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes mockupFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.hero__mockup {
  width: 100%;
  max-width: 700px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: none;
  clip-path: inset(2px round var(--radius-lg));
}

/* Mascot floating in Hero */
.hero__mascot {
  position: absolute;
  bottom: -30px;
  right: -50px;
  width: 180px;
  z-index: 10;
  animation: floatMascot 6s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

@keyframes floatMascot {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

/* Floating badges - cleaner */
.hero__float-badge {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 10px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  white-space: nowrap;
  animation: badgeFloat 5s ease-in-out infinite;
}

.hero__float-badge--1 {
  top: 15%;
  left: -8%;
  animation-delay: -1s;
}

.hero__float-badge--2 {
  top: 50%;
  right: -5%;
  animation-delay: -2s;
}

.hero__float-badge--3 {
  bottom: 15%;
  left: -6%;
  animation-delay: -3.5s;
}

@keyframes badgeFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.badge-icon--blue {
  background: var(--primary-glow);
  color: var(--primary);
}

.badge-icon--coral {
  background: var(--accent-glow);
  color: var(--accent);
}

.badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

/* ─── Social Proof Strip (Elegant) ────────────────────────── */
.social-proof {
  padding: var(--spacing-xl) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.social-proof__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-3xl);
  flex-wrap: wrap;
}

.social-proof__item {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.social-proof__avatars {
  display: flex;
  align-items: center;
}

.social-proof__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 3px solid var(--surface);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-left: -12px;
  flex-shrink: 0;
}

.social-proof__avatar:nth-child(2) {
  background: var(--accent);
}

.social-proof__avatar:nth-child(3) {
  background: var(--purple);
}

.social-proof__avatar:first-child {
  margin-left: 0;
}

.social-proof__label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.social-proof__label strong {
  color: var(--text);
  font-weight: 700;
}

.social-proof__divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ─── Features Section (Sophisticated Cards) ──────────────── */
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl) var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  will-change: transform, box-shadow;
  transform: translateZ(0);
}

.feature-card:hover {
  transform: translateY(-8px) translateZ(0);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 58, 138, 0.15);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  flex-shrink: 0;
  transition: var(--transition);
  margin-bottom: var(--spacing-xs);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: scale(1.1);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── Showcase Section ────────────────────────────────────── */
.showcase__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.showcase__content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.showcase__visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  zoom: 0.85;
}

/* Duca leaning on showcase */
.showcase__mascot {
  position: absolute;
  top: -60px;
  right: 20px;
  width: 120px;
  z-index: 10;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

/* Overall progress */
.progress-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-label {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}

.progress-value {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--primary);
}

.progress-bar {
  width: 100%;
  height: 16px;
  background: var(--bg);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subject bars */
.subjects {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.subject-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.subject-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.subject-name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.subject-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.subject-pct {
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.subject-bar {
  height: 8px;
  background: var(--bg);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.subject-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1) var(--delay, 0s);
}

/* Donut Charts */
.donuts-row {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 12px;
}

.donut-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.donut-chart {
  position: relative;
  width: 72px;
  height: 72px;
}

.donut-chart svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.donut-track {
  fill: none;
  stroke: var(--border);
  stroke-width: 6;
}

.donut-fill {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 179;
  /* 2 * PI * 28.5 approx 179 */
  stroke-dashoffset: 179;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.donut-label {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.donut-pct {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.donut-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Showcase list */
.showcase__list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.showcase__item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--border);
}

.showcase__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.showcase__item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.showcase__item-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.showcase__item-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Methodology Badges ───────────────────────────────────── */
.methodology-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: var(--spacing-lg);
}

.methodology-badge {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.methodology-badge:hover {
  background: var(--bg);
  color: var(--primary);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

/* ─── Bento Grid ───────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.bento-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.bento-card--featured {
  grid-column: span 2;
  background: var(--bg);
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.bento-icon--teal {
  background: var(--primary-glow);
  color: var(--primary);
}

.bento-icon--coral {
  background: var(--accent-glow);
  color: var(--accent);
}

.bento-icon--purple {
  background: rgba(139, 92, 246, 0.15);
  color: #8B5CF6;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.bento-desc {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── Legal Section ─────────────────────────────────────────── */
.section--dark {
  background: var(--primary-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

.section--dark .section-title,
.section--dark .section-subtitle,
.section--dark .badge {
  color: white;
}

.section--dark .badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  margin-top: var(--spacing-xl);
}

.legal-visual {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}


/* ─── Zig-Zag Features ──────────────────────────────────────── */
.zig-zag-section {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
  padding: var(--spacing-xl) 0;
}

.zig-zag-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.zig-zag-row.reverse .zig-zag-text {
  order: 2;
}

.zig-zag-row.reverse .zig-zag-image {
  order: 1;
}

.zig-zag-text {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.zig-zag-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}

.zig-zag-desc {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.zig-zag-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.zig-zag-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.zig-zag-list li i,
.zig-zag-list li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
  width: 24px;
  height: 24px;
}

.zig-zag-image {
  position: relative;
}

.zig-zag-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.zig-zag-image img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

/* ─── Pricing Section ─────────────────────────────────────── */
.pricing__toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px;
  margin-bottom: var(--spacing-2xl);
  box-shadow: var(--shadow-sm);
}

.pricing__toggle-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-muted);
  transition: var(--transition);
}

.pricing__toggle-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  align-items: center;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-md);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card--featured {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 20px 40px var(--primary-glow);
  transform: scale(1.05);
}

.pricing-card--featured:hover {
  transform: scale(1.05) translateY(-8px);
  box-shadow: 0 30px 60px var(--primary-glow);
}

.pricing-card--featured .pricing-name,
.pricing-card--featured .pricing-desc,
.pricing-card--featured .pricing-period,
.pricing-card--featured .pricing-feature,
.pricing-card--featured .pricing-currency {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-card--featured .pricing-amount {
  color: white;
}

.pricing-card--featured .pricing-divider {
  background: rgba(255, 255, 255, 0.1);
}

.pricing-ribbon {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 10px var(--accent-glow);
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-currency {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
}

.pricing-period {
  font-size: 1rem;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-feature-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-feature-icon--check {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.pricing-card--featured .pricing-feature-icon--check {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.pricing-feature-icon--x {
  background: var(--bg);
  color: var(--text-light);
}

/* ─── FAQ Section (Clean Accordion) ───────────────────────── */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: rgba(30, 58, 138, 0.2);
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: var(--spacing-lg) var(--spacing-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-chevron {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-chevron {
  background: var(--primary-glow);
  color: var(--primary);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 var(--spacing-xl);
}

.faq-item.open .faq-answer {
  max-height: 1500px;
  padding-bottom: var(--spacing-lg);
}

.faq-answer p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  padding-top: var(--spacing-sm);
}

/* ─── CTA Banner ──────────────────────────────────────────── */
.cta-banner {
  background: var(--primary);
  border-radius: var(--radius-xl);
  padding: var(--spacing-3xl) var(--spacing-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px var(--primary-glow);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(244, 63, 94, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
  max-width: 800px;
}

.cta-banner__subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  line-height: 1.6;
}

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

/* Mascot on CTA */
.cta-banner__mascot {
  margin-bottom: var(--spacing-lg);
  width: 100px;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-3xl);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.footer__tagline {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer__social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.footer__social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 1.25rem;
  transition: var(--transition);
}

.footer__social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  color: white;
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer__link:hover {
  color: var(--primary);
  padding-left: 6px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--spacing-xl);
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer__copy {
  font-size: 0.9375rem;
  color: var(--text-light);
}

.footer__legal {
  display: flex;
  gap: var(--spacing-xl);
}

.footer__legal-link {
  font-size: 0.9375rem;
  color: var(--text-light);
  transition: var(--transition-fast);
}

.footer__legal-link:hover {
  color: var(--primary);
}

/* ─── Scroll Animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.revealed,
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.reveal-delay-3 {
  transition-delay: 0.45s;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

/* ─── Responsive — Tablet ─────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin: 0 auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }

  .hero__mascot {
    display: none;
  }

  /* Hide mascot on tablet hero to avoid clutter */
  /* Badges agora aparecem no tablet e mobile também */

  .showcase__inner {
    grid-template-columns: 1fr;
  }

  .showcase__content {
    order: 2;
  }

  .showcase__mascot {
    display: none;
  }

  /* Corrige a sessão "Fundação do Ensino" para empilhar no mobile */
  .zig-zag-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
  }

  .zig-zag-row .zig-zag-text,
  .zig-zag-row .zig-zag-image {
    width: 100%;
  }

  .zig-zag-row.reverse .zig-zag-text {
    order: -1;
  }

  .zig-zag-row.reverse .zig-zag-image {
    order: 2;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .pricing-card--featured {
    transform: scale(1);
  }

  .pricing-card--featured:hover {
    transform: translateY(-8px);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─── Responsive — Mobile ─────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --spacing-3xl: 64px;
    --spacing-2xl: 40px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    padding: var(--spacing-lg);
    gap: var(--spacing-xl);
  }

  .methodology-orbit-container {
    --orbit-size: 250px !important;
    --orbit-radius: 150px !important;
    margin: 60px auto !important;
  }

  .methodology-badge {
    font-size: 0.70rem !important;
    padding: 4px 8px !important;
  }

  .methodology-orbit-container img {
    height: 120px !important;
  }

  .header__nav {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-shrink: 0;
  }

  .header__actions .btn-ghost {
    display: none !important;
  }

  /* Ajustes finos do Cabeçalho Mobile */
  .header {
    width: calc(100% - 24px);
    top: 12px;
  }

  .header__inner {
    padding: 0 16px;
  }

  .header__logo-img {
    height: 56px !important;
    /* Altura original solicitada */
    max-width: 40vw !important;
    /* Impede que a logo vaze e corte o menu sanduíche */
    object-fit: contain;
  }

  .header__actions {
    gap: 8px;
  }

  .header__actions .btn-sm {
    padding: 8px 14px !important;
    font-size: 0.8rem !important;
  }

  /* Ajustes dos Flutuantes do Dash no Mobile */
  .hero__float-badge {
    padding: 6px 12px !important;
    gap: 6px !important;
    border-radius: 20px !important;
    z-index: 5;
  }

  .hero__float-badge .badge-icon {
    width: 20px !important;
    height: 20px !important;
    font-size: 0.7rem !important;
  }

  .hero__float-badge .badge-text {
    font-size: 0.65rem !important;
  }

  /* Reposicionando para caber na tela */
  .hero__float-badge--1 {
    top: 5% !important;
    left: 2% !important;
  }

  .hero__float-badge--2 {
    top: 45% !important;
    right: 2% !important;
  }

  .hero__float-badge--3 {
    bottom: 5% !important;
    left: 2% !important;
  }

  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: var(--spacing-md);
    gap: 4px;
    box-shadow: var(--shadow-md);
  }

  .header__nav-link {
    width: 100%;
    padding: 10px 16px;
    text-align: center;
    font-size: 1rem;
  }

  /* Restaura o link de login no menu aberto */
  .header__nav.open .mobile-only-link {
    display: flex !important;
  }

  .hero__mockup-wrapper {
    animation: none;
  }

  .social-proof__divider {
    display: none;
  }

  .social-proof__inner {
    flex-direction: column;
    gap: var(--spacing-xl);
    text-align: center;
  }

  .features__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand {
    align-items: center;
  }

  .footer__logo {
    justify-content: center;
  }

  .footer__tagline {
    margin: 0 auto;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Ajustes das Novas Sessões para Mobile */
  .zig-zag-image {
    padding: 16px !important;
  }

  .mobile__image {
    min-width: 100% !important;
    margin-top: 32px;
  }

  .mobile__image>div:last-child {
    right: 0 !important;
    width: 130px !important;
    bottom: -15px !important;
  }

  .cta-banner {
    padding: 32px 24px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .cta-banner>div:first-child {
    min-width: 100% !important;
  }

  .cta-banner h2 {
    font-size: 1.6rem !important;
    margin: 0 auto 12px auto !important;
  }

  .cta-banner p {
    font-size: 0.95rem !important;
    margin: 0 auto 24px auto !important;
  }

  .cta-banner>div:last-child {
    gap: 16px !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .cta-banner img[alt="Mascote Euduca"] {
    margin: 0 !important;
    width: 120px !important;
  }

  .cta-banner a {
    width: 100% !important;
    text-align: center !important;
    padding: 16px !important;
  }
}

@media (max-width: 480px) {
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta .btn {
    text-align: center;
  }

  .pricing__toggle {
    flex-direction: column;
    width: 100%;
  }

  .pricing__toggle-btn {
    width: 100%;
    text-align: center;
  }
}

/* Progress Widget */
.progress-widget-modern {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  margin-bottom: 12px;
}

.progress-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.progress-widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4a5568;
  font-weight: 600;
  font-size: 0.95rem;
}

.icon-flag {
  color: #38b2ac;
  width: 18px;
  height: 18px;
}

.progress-widget-badge {
  background: #e6fffa;
  color: #319795;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 16px;
}

.progress-widget-bar-bg {
  background: #efe8f7;
  height: 10px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-widget-bar-fill {
  background: #38b2ac;
  height: 100%;
  border-radius: 6px;
}

.progress-widget-subtitle {
  color: #a0aec0;
  font-size: 0.8rem;
}

.progress-widget-subtitle strong {
  color: #718096;
  font-weight: 600;
}

/* Mini Cards */
.mini-cards-row {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
}

.mini-card {
  flex: 1;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.mini-card-reading {
  border-bottom: 4px solid #f39c90;
}

.mini-card-excursion {
  border-bottom: 4px solid #f6ad55;
}

.mini-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.mini-card-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mini-card-reading .mini-card-icon-box {
  background: #fae3df;
  color: #f39c90;
}

.mini-card-excursion .mini-card-icon-box {
  background: #fef3c7;
  color: #f6ad55;
}

.mini-card-number {
  font-size: 1.7rem;
  font-weight: 800;
  color: #2d3748;
}

.mini-card-title {
  color: #4a5568;
  font-weight: 500;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.mini-card-subtitle {
  color: #a0aec0;
  font-size: 0.8rem;
}

/* Daily Schedule Widget */
.daily-schedule-widget {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  margin-bottom: 12px;
}

.daily-schedule-header {
  margin-bottom: 16px;
}

.daily-schedule-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2d3748;
  font-weight: 600;
  font-size: 1rem;
}

.icon-calendar {
  color: #38b2ac;
  width: 20px;
  height: 20px;
}

.daily-schedule-date {
  color: #a0aec0;
  font-size: 0.85rem;
  margin-top: 4px;
  margin-left: 28px;
}

.daily-schedule-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeline-left {
  width: 40px;
  display: flex;
  justify-content: center;
}

.timeline-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a0aec0;
}

.timeline-content {
  flex: 1;
}

.timeline-item-title {
  color: #2d3748;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.timeline-item-subtitle {
  color: #a0aec0;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.timeline-item-subtitle svg {
  width: 12px;
  height: 12px;
}

.timeline-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-math {
  background: #f68798;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 16px;
}

.icon-action-eye {
  color: #718096;
  width: 18px;
  height: 18px;
}

.icon-action-check {
  color: #48bb78;
  width: 22px;
  height: 22px;
}

/* Classes Table Widget */
.classes-widget {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  margin-bottom: 12px;
}

.classes-widget-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #2d3748;
  font-weight: 600;
  font-size: 1rem;
}

.icon-bar-chart {
  color: #38b2ac;
  width: 20px;
  height: 20px;
}

.classes-table {
  width: 100%;
  border-collapse: collapse;
}

.classes-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4a5568;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f7;
}

.classes-table td {
  padding: 12px 0;
  vertical-align: middle;
}

.classes-table tr:not(:last-child) td {
  border-bottom: 1px dashed #e2e8f0;
}

.class-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 16px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.class-badge.geografia {
  background: #4a5568;
}

.class-badge.historia {
  background: #2f855a;
}

.class-badge.matematica {
  background: #fc8181;
}

.class-badge.portugues {
  background: #38b2ac;
}

.class-stats {
  font-size: 0.85rem;
  color: #718096;
  font-weight: 500;
}

.class-stats strong {
  color: #2d3748;
  font-weight: 600;
}

.class-progress-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.class-progress-text {
  font-size: 0.75rem;
  color: #a0aec0;
}

.class-progress-bar {
  background: #edf2f7;
  height: 6px;
  border-radius: 4px;
  width: 100%;
  overflow: hidden;
}

.class-progress-fill {
  height: 100%;
  border-radius: 4px;
}

/* Mockup Cards - Curadoria */
.mockup-cards-container {
  position: relative;
  width: 100%;
  height: 420px;
  background: rgba(82, 192, 181, 0.05);
  border-radius: 20px;
  border: 1px dashed rgba(82, 192, 181, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.m-card {
  position: absolute;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  width: 250px;
  transition: all 0.3s ease;
  cursor: default;
}

.m-card:hover {
  transform: scale(1.05) translateY(-5px) !important;
  z-index: 10;
  box-shadow: 0 15px 35px rgba(82, 192, 181, 0.2);
}

.card-leitura {
  top: 15%;
  left: 5%;
  transform: rotate(-3deg);
  z-index: 2;
}

.card-filme {
  bottom: 10%;
  right: 5%;
  transform: rotate(4deg);
  z-index: 3;
}

.card-poema {
  bottom: 10%;
  left: 15%;
  transform: rotate(-2deg);
  z-index: 4;
}

.card-passeio {
  top: 10%;
  right: 10%;
  transform: rotate(3deg);
  z-index: 1;
}

.m-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.m-card-header i {
  color: var(--primary);
}

.m-card-body h4 {
  font-size: 1.1rem;
  color: #1e293b;
  margin: 0 0 12px 0;
  font-weight: 700;
}

.m-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.m-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.m-tag-lva {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.m-tag-facil {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.m-tag-natureza {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.m-tag-texto {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.m-tag-lugar {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
}

/* Oculta o link mobile no desktop */
.mobile-only-link {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════
   WHATSAPP WIDGET
════════════════════════════════════════════════════════ */
.wa-widget {
  --wa-green: #25D366;
  --wa-green-dark: #1DA851;
  --wa-petrol: #183E55;
  --wa-coral: #EC9D8B;
  --wa-cream: #FBF7F2;
  --wa-line: rgba(24, 62, 85, 0.12);
  --wa-gap: max(24px, env(safe-area-inset-right));
  --wa-bottom: max(24px, env(safe-area-inset-bottom));
  font-family: 'Inter', system-ui, sans-serif;
}

/* Botão flutuante */
.wa-fab {
  position: fixed;
  right: var(--wa-gap);
  bottom: var(--wa-bottom);
  z-index: 900; /* abaixo do header (1000) */
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--wa-green);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(24, 62, 85, 0.18);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.wa-fab svg { width: 28px; height: 28px; }
.wa-fab .wa-fab__close { display: none; width: 22px; height: 22px; }
.wa-fab[aria-expanded="true"] { background: var(--wa-petrol); }
.wa-fab[aria-expanded="true"] .wa-fab__logo { display: none; }
.wa-fab[aria-expanded="true"] .wa-fab__close { display: block; }
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(24, 62, 85, 0.22); }
.wa-fab:active { transform: scale(.96); }
.wa-fab:focus-visible { outline: 3px solid var(--wa-coral); outline-offset: 3px; }

/* Painel */
.wa-panel {
  position: fixed;
  right: var(--wa-gap);
  bottom: calc(var(--wa-bottom) + 56px + 14px);
  z-index: 901;
  width: 340px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - var(--wa-bottom) - 120px);
  display: flex;
  flex-direction: column;
  background: var(--wa-cream);
  border: 1px solid var(--wa-line);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(24, 62, 85, 0.16);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transform-origin: bottom right;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.wa-panel[hidden] { display: none; }
.wa-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .2s ease, transform .2s ease;
}

.wa-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  background: var(--wa-petrol);
  color: #fff;
}
.wa-panel__avatar {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--wa-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wa-panel__avatar svg { width: 20px; height: 20px; color: #fff; }
.wa-panel__titles { flex: 1; min-width: 0; }
.wa-panel__title {
  margin: 0;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
}
.wa-panel__subtitle {
  margin: 2px 0 0;
  font-size: .75rem;
  color: rgba(255, 255, 255, .78);
}
.wa-panel__close {
  flex: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background-color .2s ease;
}
.wa-panel__close svg { width: 18px; height: 18px; }
.wa-panel__close:hover { background: rgba(255, 255, 255, .12); }
.wa-panel__close:focus-visible { outline: 2px solid var(--wa-coral); outline-offset: 2px; }

.wa-panel__body {
  padding: 18px 16px 8px;
  overflow-y: auto;
}
.wa-panel__bubble {
  position: relative;
  margin: 0;
  max-width: 88%;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--wa-line);
  border-radius: 4px 14px 14px 14px;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--wa-petrol);
}
.wa-panel__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 16px 16px;
}
.wa-panel__label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--wa-petrol);
}
.wa-panel__textarea {
  width: 100%;
  min-height: 84px;
  resize: vertical;
  padding: 10px 12px;
  border: 1px solid rgba(24, 62, 85, .22);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 16px; /* evita zoom automático no iOS */
  line-height: 1.45;
  color: var(--wa-petrol);
  box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.wa-panel__textarea::placeholder { color: #6B7F8C; }
.wa-panel__textarea:focus {
  outline: none;
  border-color: var(--primary, #52C0B5);
  box-shadow: 0 0 0 3px rgba(82, 192, 181, .22);
}
.wa-panel__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--wa-green-dark);
  color: #fff;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.wa-panel__cta svg { width: 18px; height: 18px; }
.wa-panel__cta:hover { background: #178A43; }
.wa-panel__cta:active { transform: scale(.98); }
.wa-panel__cta:focus-visible { outline: 3px solid var(--wa-petrol); outline-offset: 2px; }
.wa-panel__note {
  margin: 0;
  font-size: .72rem;
  line-height: 1.4;
  text-align: center;
  color: #5A6E7B;
}

/* Celular */
@media (max-width: 768px) {
  .wa-widget {
    --wa-gap: max(16px, env(safe-area-inset-right));
    --wa-bottom: max(16px, env(safe-area-inset-bottom));
  }
  .wa-fab { width: 50px; height: 50px; }
  .wa-fab svg { width: 25px; height: 25px; }
  .wa-panel {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    width: auto;
    max-width: none;
    bottom: calc(var(--wa-bottom) + 50px + 12px);
    max-height: calc(100dvh - var(--wa-bottom) - 50px - 12px - 16px - env(safe-area-inset-top));
  }
  /* espaço para o botão não cobrir os links legais do rodapé */
  .footer__bottom { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab, .wa-panel, .wa-panel.is-open, .wa-panel__cta { transition: none; }
}
