/* ============================================
   Lucas Pelutre | Tecnologia Educacional
   Variáveis e tema (Light / Dark)
   ============================================ */

/* ── Paleta Notion-Inspired · Lucas Pelutre ── */
:root {
  /* Primária */
  --color-primary:        #1C1C1C;
  --color-primary-hover:  #2C2C2C;
  --color-primary-light:  rgba(28, 28, 28, 0.06);

  /* Acento — verde musgo (apenas em CTAs e destaques) */
  --color-accent:         #2A6B3C;
  --color-accent-hover:   #235A32;
  --color-accent-light:   rgba(42, 107, 60, 0.10);

  /* Backgrounds */
  --bg-body:              #FAFAF8;
  --bg-body-alt:          #F5F5F0;
  --bg-card:              #FFFFFF;
  --bg-header:            rgba(250, 250, 248, 0.97);
  --bg-surface:           #F0F0EC;

  /* Textos */
  --text-primary:         #1C1C1C;
  --text-secondary:       #5C5C52;
  --text-muted:           #7C7C72;

  /* Bordas e sombras */
  --border-color:         #EBEBEB;
  --border-strong:        #DCDCD6;
  --shadow:               0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-lg:            0 8px 32px rgba(0, 0, 0, 0.08);
}

/* ── Dark mode — fundo escuro quente (não azulado) ── */
[data-theme="dark"] {
  --color-primary:        #F5F5F0;
  --color-primary-hover:  #FFFFFF;
  --color-primary-light:  rgba(245, 245, 240, 0.08);

  --color-accent:         #3D9954;
  --color-accent-hover:   #48B262;
  --color-accent-light:   rgba(61, 153, 84, 0.15);

  --bg-body:              #1C1C1C;
  --bg-body-alt:          #242420;
  --bg-card:              #2C2C28;
  --bg-header:            rgba(28, 28, 28, 0.97);
  --bg-surface:           #343430;

  --text-primary:         #F5F5F0;
  --text-secondary:       #A0A098;
  --text-muted:           #6C6C64;

  --border-color:         #3C3C38;
  --border-strong:        #4C4C48;
  --shadow:               0 1px 3px rgba(0, 0, 0, 0.25);
  --shadow-lg:            0 8px 32px rgba(0, 0, 0, 0.40);
}

/* Reset e base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-body);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn--primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.btn--primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .btn--primary {
  background-color: var(--color-primary);
  color: #1C1C1C;
}

[data-theme="dark"] .btn--primary:hover {
  background-color: var(--color-primary-hover);
  color: #1C1C1C;
}

.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--border-strong);
}

.btn--outline:hover {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary-hover);
  color: var(--color-primary-hover);
}

[data-theme="dark"] .btn--outline {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

[data-theme="dark"] .btn--outline:hover {
  background-color: var(--color-primary-light);
}

.btn--light {
  background-color: #FFFFFF;
  color: var(--color-primary);
}

.btn--light:hover {
  background-color: var(--bg-body-alt);
  color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn--xl {
  padding: 18px 36px;
  font-size: 1.125rem;
}

/* Botão CTA (verde musgo) — agendar, enviar formulário */
.btn--accent {
  background-color: var(--color-accent);
  color: #FFFFFF;
}

.btn--accent:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .btn--accent {
  background-color: var(--color-accent);
  color: #FFFFFF;
}

[data-theme="dark"] .btn--accent:hover {
  background-color: var(--color-accent-hover);
  color: #FFFFFF;
}

/* ============================================
   Header — Duas linhas
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: box-shadow 0.3s ease;
}

/* Compensa o header fixo (48px topo + 44px nav = 92px) */
main {
  padding-top: 92px;
}

/* ── Linha 1: escura — logo + CTA ── */
.header__top {
  background: var(--color-primary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .header__top {
  background: #111110;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header__top-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header__logo {
  font-family: 'Sora', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #FAFAF8;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.header__logo-sub {
  font-weight: 400;
  color: rgba(250, 250, 248, 0.5);
  font-size: 0.875em;
}

.header__top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Toggle de tema na linha superior */
.header__theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  color: rgba(250, 250, 248, 0.7);
  transition: background 0.2s ease, color 0.2s ease;
}

.header__theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FAFAF8;
}

.header__theme-toggle .icon-moon {
  display: none;
}

[data-theme="dark"] .header__theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .header__theme-toggle .icon-moon {
  display: block;
}

/* CTA na linha superior */
.header__cta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 7px;
  white-space: nowrap;
}

/* ── Linha 2: clara — navegação ── */
.header__bottom {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.header__bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 44px;
  gap: 4px;
}

/* Hamburguer — oculto no desktop */
.header__menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  margin-right: 4px;
}

.header__menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.header__menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Links de navegação */
.header__nav {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
}

.header__link {
  padding: 0 13px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.header__link:hover {
  color: var(--text-primary);
  border-bottom-color: var(--border-color);
}

.header__link.is-active {
  color: var(--text-primary);
  border-bottom-color: var(--color-primary);
  font-weight: 600;
}

/* Label do Instagram visível na nav */
.header__icon-label {
  font-size: 0.8125rem;
}

/* ── MOBILE ── */
@media (max-width: 879px) {
  .header__menu-toggle {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 92px;
    right: 0;
    width: 260px;
    height: calc(100vh - 92px);
    padding: 16px 16px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--bg-header);
    border-left: 1px solid var(--border-color);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    transform: translateX(110%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
    z-index: 999;
  }

  .header__nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .header__link {
    height: auto;
    padding: 12px 16px;
    border-radius: 8px;
    border-bottom: none;
    font-size: 1rem;
  }

  .header__link:hover {
    background: var(--color-primary-light);
    border-bottom: none;
  }

  .header__link.is-active {
    background: var(--color-primary-light);
    border-bottom: none;
    border-left: 3px solid var(--color-primary);
  }

  /* CTA menor no mobile */
  .header__cta {
    font-size: 0.75rem;
    padding: 7px 12px;
  }

  .header__logo-sub {
    display: none;
  }
}

@media (min-width: 880px) {
  .header__nav {
    transform: none !important;
  }
}

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  background: #25D366;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  color: #FFFFFF;
}

@media (min-width: 768px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
  }
}

/* ============================================
   Hero
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
}

[data-theme="dark"] .hero__grid {
  opacity: 0.15;
}

.hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse, var(--color-primary-light) 0%, transparent 70%);
  opacity: 0.8;
}

[data-theme="dark"] .hero__glow {
  background: radial-gradient(ellipse, var(--color-primary-light) 0%, transparent 70%);
}

.hero__container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero__content {
  animation: fadeUp 0.7s ease-out;
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__title {
  margin: 0 0 20px;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.04em;
}

.hero__subtitle {
  margin: 0 0 32px;
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 540px;
  text-align: left;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
  align-items: center;
}

.hero__visual {
  display: flex;
  justify-content: center;
  animation: fadeUp 0.7s ease-out 0.15s both;
}

.hero__card {
  max-width: 320px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.hero__card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 14px;
}

[data-theme="dark"] .hero__card-icon {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.hero__card p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ============================================
   Seções genéricas
   ============================================ */

.section {
  padding: 80px 0;
  background: var(--bg-body);
}

/* Offset de scroll — compensa o header fixo (92px) + 24px de respiro */
section[id] {
  scroll-margin-top: 94px;
}

.section--alt {
  background: var(--bg-body-alt);
}

.section__title {
  margin: 0 0 12px;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--text-primary);
  text-align: center;
  letter-spacing: -0.035em;
}

.section__subtitle {
  margin: 0 0 48px;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Títulos em Sora ── */
.solution-card__title,
.benefit-block__title,
.case-card__school,
.about__lead,
h1, h2, h3 {
  font-family: 'Sora', sans-serif;
}

.solution-card__title,
.benefit-block__title {
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* ── Botões e labels em DM Sans ── */
.btn,
.header__link,
.header__cta,
.section__subtitle,
.lead-form__field label,
.lead-form__field input,
.lead-form__field select,
.lead-form__field textarea,
.footer__tagline,
.footer__copy {
  font-family: 'DM Sans', sans-serif;
}

/* ============================================
   Soluções (scroll horizontal)
   ============================================ */

.solutions {
  background: var(--bg-body);
}

.solutions__carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.solutions__scroll-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.solutions__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--color-primary);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.solutions__arrow:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.solutions__arrow:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

[data-theme="dark"] .solutions__arrow:hover {
  background: var(--color-primary);
  color: #1C1C1C;
  box-shadow: var(--shadow-lg);
}

.solutions__scroll {
  overflow: hidden;
  overflow-y: hidden;
  padding-bottom: 0;
  -webkit-overflow-scrolling: auto;
  touch-action: pan-y pinch-zoom;
}

.solutions__scroll::-webkit-scrollbar,
.solutions__scroll::-webkit-scrollbar-track,
.solutions__scroll::-webkit-scrollbar-thumb {
  display: none;
  height: 0;
}

.solutions__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  padding: 8px 0;
  transition: transform 0.5s ease-in-out;
}

.solution-card {
  flex: 0 0 320px;
  width: 320px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  animation: fadeUp 0.5s ease-out both;
  -webkit-font-smoothing: subpixel-antialiased;
  text-rendering: optimizeLegibility;
}

.solution-card:nth-child(1) { animation-delay: 0.05s; }
.solution-card:nth-child(2) { animation-delay: 0.1s; }
.solution-card:nth-child(3) { animation-delay: 0.15s; }
.solution-card:nth-child(4) { animation-delay: 0.2s; }
.solution-card:nth-child(5) { animation-delay: 0.25s; }
.solution-card:nth-child(6) { animation-delay: 0.3s; }

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
  border-top: 2px solid var(--color-accent);
}

.solution-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 12px;
  flex-shrink: 0;
}

.solution-card__icon svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  shape-rendering: geometricPrecision;
}

[data-theme="dark"] .solution-card__icon {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

[data-theme="dark"] .solution-card {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .solution-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  border-top-color: var(--color-accent);
}

.solution-card__title {
  margin: 0 0 10px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: subpixel-antialiased;
}

.solution-card__desc {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  -webkit-font-smoothing: subpixel-antialiased;
}

.solution-card__desc code {
  font-size: 0.875em;
  padding: 2px 6px;
  background: var(--bg-surface);
  border-radius: 4px;
  color: var(--text-primary);
}

/* ============================================
   Benefícios
   ============================================ */

.benefits {
  background: var(--bg-body-alt);
}

[data-theme="dark"] .benefits {
  background: var(--bg-body-alt);
}

.benefits__carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.benefits__scroll-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: visible;
}

.benefits__scroll {
  position: relative;
  z-index: 0;
  overflow: hidden;
  overflow-y: hidden;
  padding-bottom: 0;
  -webkit-overflow-scrolling: auto;
  touch-action: pan-y pinch-zoom;
}

.benefits__scroll::-webkit-scrollbar,
.benefits__scroll::-webkit-scrollbar-track,
.benefits__scroll::-webkit-scrollbar-thumb {
  display: none;
  height: 0;
}

.benefits__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  padding: 8px 0;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.benefits__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--color-primary);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.benefits__arrow:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .benefits__arrow:hover {
  background: var(--color-primary);
  color: #1C1C1C;
  box-shadow: var(--shadow-lg);
}

.benefit-block {
  flex: 0 0 300px;
  width: 300px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}

.benefit-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-top: 2px solid var(--color-accent);
}

.benefit-block__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: var(--color-accent);
  color: #FFFFFF;
  border-radius: 14px;
  flex-shrink: 0;
}

.benefit-block__icon svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  shape-rendering: geometricPrecision;
  stroke: currentColor;
}

[data-theme="dark"] .benefit-block {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .benefit-block:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

.benefit-block__title {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.benefit-block__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ============================================
   Como sua escola está hoje (riscos)
   ============================================ */

.risks__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.risks__item {
  margin-bottom: 20px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  border-left: 3px solid var(--color-accent);
}

.risks__item strong {
  color: var(--text-primary);
}

/* ============================================
   Sobre — duas colunas
   ============================================ */

.about__title--center {
  text-align: center;
  margin-bottom: 48px;
}

.about__two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch; /* colunas com mesma altura */
}

.about__col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Coluna esquerda: centraliza o conteúdo verticalmente */
.about__col:first-child {
  justify-content: center;
}

.about__body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

/* Lista de ✔ */
.about__checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about__checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ✔ verde — usa a cor do site em cada modo */
.about__check {
  color: #2A6B3C;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

[data-theme="dark"] .about__check {
  color: #3D9954;
}

/* Botão centralizado */
.about__cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* Mobile: empilha coluna esquerda primeiro, depois direita */
@media (max-width: 768px) {
  .about__two-col {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about__title--center {
    margin-bottom: 32px;
  }

  .about__cta-wrap {
    margin-top: 36px;
  }
}

/* ============================================
   Casos
   ============================================ */

.cases__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .cases__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .cases__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
  }
}

.case-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}

.case-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

[data-theme="dark"] .case-card {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .case-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.case-card__school {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary);
}

.case-card__city {
  margin: 0 0 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.case-card__service {
  margin: 0 0 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.case-card__result {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ============================================
   Depoimentos
   ============================================ */

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  margin: 0;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}

.testimonial-card__text {
  margin: 0 0 20px;
  font-size: 1rem;
  color: var(--text-primary);
  line-height: 1.6;
  font-style: italic;
}

[data-theme="dark"] .testimonial-card {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.15);
}

.testimonial-card__author {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.testimonial-card__author strong {
  color: var(--text-primary);
}

/* ============================================
   CTA Agendar (verde musgo)
   ============================================ */

.cta-schedule {
  background: var(--color-accent);
  color: #FFFFFF;
  text-align: center;
}

.cta-schedule__title {
  margin: 0 0 16px;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.03em;
}

.cta-schedule__subtitle {
  margin: 0 0 32px;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-schedule__btn {
  margin-bottom: 12px;
}

.cta-schedule__hint {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   Formulário de lead
   ============================================ */

.form-section {
  background: var(--bg-body);
}

.lead-form {
  max-width: 720px;
  margin: 0 auto;
}

.lead-form__scroll {
  max-height: 70vh;
  overflow-y: auto;
  padding: 24px;
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* Remove scroll duplo no formulário em telas pequenas */
@media (max-width: 640px) {
  .lead-form__scroll {
    max-height: none;
    overflow-y: visible;
    padding: 16px;
  }
}

.lead-form__scroll::-webkit-scrollbar {
  width: 8px;
}

.lead-form__scroll::-webkit-scrollbar-track {
  background: var(--border-color);
  border-radius: 4px;
}

.lead-form__scroll::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}

.lead-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 0;
  row-gap: 24px;
}

.lead-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lead-form__field--full {
  grid-column: auto;
}

.lead-form__field label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.lead-form__field .required {
  color: #DC2626;
}

.lead-form__field input,
.lead-form__field select,
.lead-form__field textarea {
  padding: 12px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form__field.is-invalid input,
.lead-form__field.is-invalid select,
.lead-form__field.is-invalid textarea {
  border-color: #DC2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.lead-form__field.is-invalid label {
  color: #DC2626;
}

.lead-form__field input:focus,
.lead-form__field select:focus,
.lead-form__field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

[data-theme="dark"] .lead-form__field input:focus,
[data-theme="dark"] .lead-form__field select:focus,
[data-theme="dark"] .lead-form__field textarea:focus {
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.lead-form__field textarea {
  resize: vertical;
  min-height: 88px;
}

.lead-form__consent-wrap {
  margin-top: 24px;
}

.lead-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.lead-form__consent input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.lead-form__consent input[type="checkbox"]:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.lead-form__consent.is-invalid {
  color: var(--color-error, #dc2626);
}

.lead-form__consent-wrap.is-invalid .lead-form__consent {
  color: var(--color-error, #dc2626);
}

.lead-form__recaptcha-wrap {
  margin-top: 20px;
  min-height: 78px;
}

.lead-form__actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lead-form__success {
  max-width: 520px;
  margin: 0 auto;
  padding: 48px 32px;
  text-align: center;
  background: var(--color-accent-light);
  border: 1px solid var(--color-accent);
  border-radius: 16px;
}

[data-theme="dark"] .lead-form__success {
  background: var(--color-accent-light);
  border-color: var(--color-accent);
}

.lead-form__success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid #3D9954;
  border-radius: 50%;
}

.lead-form__success h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.lead-form__success p {
  margin: 0;
  color: var(--text-secondary);
}

/* ============================================
   Formulário de contato (Google Apps Script)
   ============================================ */

/* ── Container com scroll interno ── */
.form__scroll-container {
  max-width: 720px;
  margin: 0 auto;
}

/* ── Caixa demarcada com as perguntas ── */
.form__fields-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 480px;
  overflow-y: auto;
  padding: 24px;
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: var(--shadow);
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.form__fields-box::-webkit-scrollbar {
  width: 5px;
}

.form__fields-box::-webkit-scrollbar-track {
  background: transparent;
}

.form__fields-box::-webkit-scrollbar-thumb {
  background-color: var(--border-strong);
  border-radius: 4px;
}

/* ── Grupo de campo ── */
.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form__required {
  color: #DC2626;
  margin-left: 2px;
}

.form__optional {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ── Inputs, selects e textarea ── */
.form__input {
  padding: 12px 16px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.form__input:focus {
  outline: none;
  border-color: #3D9954;
  box-shadow: 0 0 0 3px rgba(61, 153, 84, 0.15);
}

.form__input--error {
  border-color: #e05252 !important;
  box-shadow: 0 0 0 3px rgba(224, 82, 82, 0.15);
}

.form__select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A0A098' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form__textarea {
  resize: vertical;
  min-height: 110px;
}

/* ── reCAPTCHA ── */
.form__recaptcha {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form__recaptcha-error {
  font-size: 0.8125rem;
  color: #e05252;
  min-height: 18px;
}

/* ── Checkbox LGPD ── */
.form__lgpd {
  margin-bottom: 20px;
}

.form__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.form__checkbox-label input[type="checkbox"] {
  display: none;
}

.form__checkbox-custom {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-strong);
  border-radius: 4px;
  background: var(--bg-card);
  margin-top: 2px;
  transition: background 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form__checkbox-label input[type="checkbox"]:checked + .form__checkbox-custom {
  background: #3D9954;
  border-color: #3D9954;
}

.form__checkbox-label input[type="checkbox"]:checked + .form__checkbox-custom::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}

.form__checkbox-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.form__lgpd-link {
  color: #3D9954;
  text-decoration: underline;
}

.form__lgpd-error {
  display: block;
  font-size: 0.8125rem;
  color: #e05252;
  margin-top: 4px;
  min-height: 18px;
}

/* ── Botão centralizado ── */
.form__submit-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

/* ── Feedback de envio ── */
.form__feedback {
  margin-top: 12px;
  font-size: 0.9375rem;
  text-align: center;
  min-height: 24px;
}

.form__feedback--success {
  color: #3D9954;
  font-weight: 600;
}

.form__feedback--error {
  color: #e05252;
  font-weight: 500;
}

/* ── Mobile: remove scroll e expande normalmente ── */
@media (max-width: 640px) {
  .form__fields-box {
    max-height: none;
    overflow-y: visible;
    padding: 16px;
  }
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 48px 0 32px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
}

.footer__container {
  text-align: center;
}

.footer__logo {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.footer__tagline {
  margin: 0 0 24px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.footer__copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Link de direitos reservados no footer */
.footer__rights-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: border-color 0.2s, color 0.2s;
}

.footer__rights-link:hover {
  color: #FAFAF8;
  border-bottom-color: rgba(255,255,255,0.45);
}

/* ============================================
   Carrossel — Dots de navegação
   ============================================ */

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 4px 0;
  flex-wrap: wrap;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--border-strong);
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
  flex-shrink: 0;
}

.carousel-dot:hover {
  background: var(--text-muted);
  transform: scale(1.2);
}

/* Dot ativo: cresce e usa a cor de destaque */
.carousel-dot.is-active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 4px;
  transform: scale(1);
}

/* Dark mode */
[data-theme="dark"] .carousel-dot {
  background: var(--border-strong);
}

[data-theme="dark"] .carousel-dot:hover {
  background: var(--text-muted);
}

[data-theme="dark"] .carousel-dot.is-active {
  background: var(--color-primary);
}

/* Acessibilidade: foco visível */
.carousel-dot:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Acessibilidade: reduzir movimento se preferido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 640px) {
  /* Esconde as setas no mobile — navegação por swipe */
  .solutions__arrow,
  .benefits__arrow {
    display: none !important;
  }

  /* Cards ocupam 100% do scroll-wrap sem setas */
  .solution-card {
    flex: 0 0 calc(100vw - 58px) !important;
    width: calc(100vw - 58px) !important;
    max-width: calc(100vw - 58px) !important;
  }

  .benefit-block {
    flex: 0 0 calc(100vw - 58px) !important;
    width: calc(100vw - 58px) !important;
    max-width: calc(100vw - 58px) !important;
  }
}

/* ── FAQ ── */
.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq__item[open] {
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
  line-height: 1;
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq__answer p {
  margin: 0;
}

.faq__answer code {
  background: var(--bg-surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--color-accent);
}
