/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   Identidade: Editorial, acolhedora, pedagógica (Fundamental 2)
   Cores: Papel claro, grafite escuro, terracota, ocre e verde profundo
   ========================================================================== */

:root {
  /* Paleta Base Papel & Textos */
  --color-bg: #FAF7F2;
  --color-bg-secondary: #F3ECE1;
  --color-surface: #FFFFFF;
  --color-surface-warm: #FAF4EB;
  --color-border: #E0D7CA;
  --color-border-subtle: #ECE5DA;
  --color-border-dark: #C9BDAA;
  
  --color-text-main: #201E1C;
  --color-text-muted: #57524A;
  --color-text-light: #767066;

  /* Destaques Editoriais */
  --color-terracotta: #B6452C;
  --color-terracotta-hover: #9E3720;
  --color-terracotta-active: #822C17;
  --color-terracotta-light: #FBEFEA;

  --color-ochre: #C0741A;
  --color-ochre-light: #FCF4E7;
  --color-ochre-border: #E6CE9F;

  --color-green: #1D3F30;
  --color-green-light: #EEF4F0;
  --color-green-border: #B7D0C3;

  /* Tipografia */
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sombras sutis de papel */
  --shadow-sm: 0 1px 2px rgba(32, 30, 28, 0.05);
  --shadow-card: 0 2px 6px rgba(32, 30, 28, 0.04), 0 10px 24px rgba(32, 30, 28, 0.03);
  --shadow-elevated: 0 4px 12px rgba(32, 30, 28, 0.06), 0 18px 36px rgba(32, 30, 28, 0.07);
  --shadow-modal: 0 10px 30px rgba(24, 22, 20, 0.25), 0 30px 60px rgba(24, 22, 20, 0.2);

  /* Espaçamentos & Raios */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Transições */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & REGRAS BÁSICAS
   ========================================================================== */

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: radial-gradient(var(--color-border-subtle) 0.75px, transparent 0.75px);
  background-size: 24px 24px;
}

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

ul, ol {
  list-style: none;
}

button, a {
  font-family: inherit;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
}

/* ==========================================================================
   ACESSIBILIDADE DE FOCO E REDUÇÃO DE MOVIMENTO
   ========================================================================== */

:focus-visible {
  outline: 3px solid var(--color-ochre);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   LAYOUT & CONTAINER
   ========================================================================== */

.page-wrapper {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--color-border-subtle);
}

@media (min-width: 768px) {
  .section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-main);
  letter-spacing: -0.01em;
}

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

/* ==========================================================================
   BOTÕES E COMPONENTES EDITORIAIS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  text-align: center;
  box-shadow: 0 2px 4px rgba(32, 30, 28, 0.08);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--color-terracotta);
  color: #FFFFFF;
  border-color: var(--color-terracotta);
}

.btn-primary:hover {
  background-color: var(--color-terracotta-hover);
  border-color: var(--color-terracotta-hover);
  box-shadow: 0 4px 10px rgba(182, 69, 44, 0.25);
}

.btn-secondary {
  background-color: var(--color-surface);
  color: var(--color-text-main);
  border: 1.5px solid var(--color-border-dark);
}

.btn-secondary:hover {
  background-color: var(--color-bg-secondary);
  border-color: var(--color-text-main);
}

.btn-large {
  width: 100%;
  font-size: 1.0625rem;
  min-height: 54px;
}

@media (min-width: 480px) {
  .hero-cta-group .btn-large {
    width: auto;
    min-width: 300px;
  }
}

.editorial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-ochre-light);
  color: var(--color-ochre);
  border: 1px solid var(--color-ochre-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-ochre);
}

/* ==========================================================================
   ESPAÇOS TEMPORÁRIOS ELEGANTES (PLACEHOLDERS DE PAPEL/PROJETOS)
   ========================================================================== */

.placeholder-frame {
  position: relative;
  width: 100%;
  background-color: var(--color-surface-warm);
  border: 1.5px dashed var(--color-border-dark);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), var(--shadow-sm);
  overflow: hidden;
}

.placeholder-frame::before,
.placeholder-frame::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--color-border-dark);
  pointer-events: none;
}

.placeholder-frame::before {
  top: 6px;
  left: 6px;
  border-top: 1.5px solid var(--color-border-dark);
  border-left: 1.5px solid var(--color-border-dark);
}

.placeholder-frame::after {
  bottom: 6px;
  right: 6px;
  border-bottom: 1.5px solid var(--color-border-dark);
  border-right: 1.5px solid var(--color-border-dark);
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.aspect-a4 {
  aspect-ratio: 1 / 1.414;
  max-width: 320px;
  margin: 0 auto;
}

.aspect-bonus {
  aspect-ratio: 16 / 10;
}

.placeholder-blueprint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
}

.placeholder-icon {
  stroke: var(--color-ochre);
  opacity: 0.85;
}

.placeholder-spec {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-ochre);
  background-color: #FFFFFF;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-ochre-border);
}

.placeholder-a4-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: var(--color-green-light);
  color: var(--color-green);
  border: 1px solid var(--color-green-border);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

.placeholder-label {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  max-width: 260px;
}

/* Se imagem real for fornecida via CONFIG */
.placeholder-frame img.loaded-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  z-index: 2;
}

/* ==========================================================================
   1. HERO SECTION
   Ordem mobile: identificação → título → subtítulo → imagem → informações curtas → botão
   ========================================================================== */

.section-hero {
  padding-top: 2.25rem;
  padding-bottom: 3.5rem;
  background-color: var(--color-bg);
}

.hero-container {
  display: flex;
  flex-direction: column;
}

.hero-badge-wrapper {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.22;
  color: var(--color-text-main);
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
  text-align: center;
}

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

.hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-media-wrapper {
  margin-bottom: 1.75rem;
  width: 100%;
}

.hero-image-card {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(32, 30, 28, 0.08), 0 16px 36px rgba(32, 30, 28, 0.09);
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-image-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(32, 30, 28, 0.12), 0 24px 44px rgba(32, 30, 28, 0.12);
}

.hero-main-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.hero-cta-group .btn {
  width: 100%;
}

.hero-microtrust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-muted);
  width: 100%;
}

.microtrust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.microtrust-icon {
  color: var(--color-ochre);
  flex-shrink: 0;
}

.microtrust-divider {
  color: var(--color-border-dark);
  font-weight: 300;
  user-select: none;
}

.microtext {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-align: center;
  width: 100%;
}

/* Layout Desktop do Hero (lado a lado editorial equilibrado) */
@media (min-width: 860px) {
  .section-hero {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    column-gap: 3.5rem;
    align-items: center;
  }

  .hero-badge-wrapper {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
  }

  .hero-title {
    grid-column: 1;
    grid-row: 2;
    font-size: 2.6rem;
    margin-bottom: 1.25rem;
    text-align: center;
  }

  .hero-subtitle {
    grid-column: 1;
    grid-row: 3;
    font-size: 1.15rem;
    margin-bottom: 1.85rem;
    text-align: center;
  }

  .hero-media-wrapper {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin-bottom: 0;
  }

  .hero-cta-group {
    grid-column: 1;
    grid-row: 4;
    align-items: center;
  }

  .hero-cta-group .btn {
    width: auto;
    min-width: 320px;
  }

  .hero-microtrust {
    justify-content: center;
    width: auto;
  }

  .microtext {
    text-align: left;
    width: auto;
  }
}

/* ==========================================================================
   2. VEJA O MATERIAL POR DENTRO (ABAS GRANDES)
   ========================================================================== */

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

.tabs-component {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .tabs-component {
    padding: 2rem;
  }
}

.tabs-nav-wrapper {
  margin-bottom: 1.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.tabs-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(70px, 1fr));
  gap: 0.5rem;
  min-width: 300px;
}

.tab-button {
  background-color: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  cursor: pointer;
  min-height: 54px;
  transition: all var(--transition-fast);
}

.tab-button:hover {
  border-color: var(--color-terracotta);
  background-color: var(--color-surface-warm);
}

.tab-button .tab-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  text-transform: uppercase;
}

.tab-button .tab-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-main);
  white-space: nowrap;
}

/* Estado da aba ativa */
.tab-button.is-active {
  background-color: var(--color-terracotta);
  border-color: var(--color-terracotta);
  box-shadow: 0 2px 6px rgba(182, 69, 44, 0.25);
}

.tab-button.is-active .tab-badge {
  color: rgba(255, 255, 255, 0.85);
}

.tab-button.is-active .tab-title {
  color: #FFFFFF;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .tab-panel-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2.5rem;
    align-items: center;
  }
}

/* ==========================================================================
   SHOWCASE DE ATIVIDADES NAS ABAS (Carrossel sincronizado entre anos)
   ========================================================================== */

.grade-showcase {
  width: 100%;
}

.showcase-card {
  max-width: 350px;
  margin: 0 auto;
}

.showcase-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.414;
  background-color: var(--color-surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(32, 30, 28, 0.08), 0 16px 28px rgba(32, 30, 28, 0.08);
  border: 1px solid var(--color-border);
}

.showcase-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, transform 300ms ease;
  transform: scale(0.98);
  pointer-events: none;
}

.showcase-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}

.showcase-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #FAF7F2;
  display: block;
}

.showcase-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1rem;
}

.showcase-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-surface);
  border: 1.5px solid var(--color-border);
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 3px rgba(32, 30, 28, 0.06);
}

.showcase-arrow:hover {
  border-color: var(--color-terracotta);
  color: var(--color-terracotta);
  background-color: var(--color-terracotta-light);
  transform: scale(1.05);
}

.showcase-arrow:active {
  transform: scale(0.95);
}

.showcase-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--color-border-dark);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.showcase-dot.is-active {
  width: 22px;
  background-color: var(--color-terracotta);
}

.showcase-dot:hover:not(.is-active) {
  background-color: var(--color-text-muted);
}

.tab-panel-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.panel-grade-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-terracotta);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.panel-topics-heading {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.35;
}

.panel-topics-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.panel-topics-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.975rem;
  line-height: 1.5;
  color: var(--color-text-main);
}

.topic-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-ochre);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.panel-kit-info {
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  background-color: var(--color-surface);
  border-left: 3px solid var(--color-green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
}

.kit-info-icon {
  font-size: 1.1rem;
}

.kit-info-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-green);
}

/* ==========================================================================
   3. SEÇÃO DE DEPOIMENTOS (PRINTS DE WHATSAPP)
   ========================================================================== */

.section-testimonials {
  background-color: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-terracotta);
  margin-bottom: 0.65rem;
}

.testimonials-carousel {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
}

.testimonials-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem 0.25rem 1rem;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial-slide {
  flex: 0 0 85%;
  max-width: 85%;
  scroll-snap-align: center;
  scroll-snap-stop: normal;
}

@media (min-width: 768px) {
  .testimonial-slide {
    flex: 0 0 calc((100% - 2.5rem) / 3);
    max-width: calc((100% - 2.5rem) / 3);
    scroll-snap-align: start;
  }
}

.testimonial-card-print {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.testimonial-card-print:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-border-dark);
}

.testimonial-print-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 474 / 769;
  background-color: #EFE9E2;
  overflow: hidden;
}

.testimonial-print-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.testimonial-nav-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: var(--shadow-elevated);
  transition: all var(--transition-fast);
}

.testimonial-nav-arrow:hover {
  background: var(--color-terracotta);
  color: #FFFFFF;
  border-color: var(--color-terracotta);
  transform: translateY(-50%) scale(1.06);
}

.testimonial-nav-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.testimonial-prev {
  left: -20px;
}

.testimonial-next {
  right: -20px;
}

@media (min-width: 900px) {
  .testimonial-nav-arrow {
    display: flex;
  }
}

.testimonial-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--color-border-dark);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
}

.testimonial-dot.is-active {
  width: 24px;
  background-color: var(--color-terracotta);
}

.testimonial-dot:hover:not(.is-active) {
  background-color: var(--color-text-muted);
}

.testimonials-cta-group {
  text-align: center;
  margin-top: 2.25rem;
}

/* ==========================================================================
   4. O QUE VOCÊ VAI RECEBER
   ========================================================================== */

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

.deliverables-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

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

.deliverable-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.deliverable-card:hover {
  border-color: var(--color-border-dark);
  transform: translateY(-2px);
}

.deliverable-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.deliverable-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.deliverable-card:hover .deliverable-icon-box {
  transform: scale(1.08);
}

.deliverable-icon-book {
  background-color: var(--color-terracotta-light);
  color: var(--color-terracotta);
  border: 1px solid rgba(182, 69, 44, 0.2);
}

.deliverable-icon-writing {
  background-color: var(--color-ochre-light);
  color: var(--color-ochre);
  border: 1px solid var(--color-ochre-border);
}

.deliverable-icon-check {
  background-color: var(--color-green-light);
  color: var(--color-green);
  border: 1px solid var(--color-green-border);
}

.deliverable-icon-print {
  background-color: #F3EFE9;
  color: #4A3E36;
  border: 1px solid #D8CFC3;
}

.deliverable-number {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-ochre);
  flex-shrink: 0;
}

.deliverable-item-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.3;
}

.deliverable-item-text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.deliverables-footer-note {
  text-align: center;
}

.note-pill {
  display: inline-block;
  font-size: 1.15rem;
  letter-spacing: 0.25em;
  color: var(--color-text-light);
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  padding: 0.35rem 1rem 0.35rem 1.25rem;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   5. BÔNUS DO KIT COMPLETO
   ========================================================================== */

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

.bonuses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 600px) and (max-width: 859px) {
  .bonuses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .bonuses-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.bonus-subheadline {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text-main);
  margin-top: 0.85rem;
  line-height: 1.5;
}

.bonus-subheadline-highlight {
  color: var(--color-terracotta);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bonus-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.bonus-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-border-dark);
}

.bonus-media {
  padding: 1.25rem 1.25rem 0.5rem;
}

.bonus-image-card {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-secondary);
  box-shadow: 0 2px 8px rgba(34, 30, 26, 0.06);
  display: flex;
}

.bonus-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.bonus-card:hover .bonus-cover-image {
  transform: scale(1.03);
}

.bonus-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.bonus-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.35;
}

.bonus-description {
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  flex-grow: 1;
}

.bonus-pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-subtle);
}

.bonus-reference-box {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.bonus-reference-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.bonus-reference-price del {
  font-size: 1.05rem;
  color: var(--color-text-light);
  opacity: 0.65;
  font-weight: 500;
  text-decoration: line-through;
}

.badge-free {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #206E43;
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 3px rgba(32, 110, 67, 0.25);
}

/* ==========================================================================
   6. PLANOS (KIT BÁSICO & KIT COMPLETO)
   ========================================================================== */

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

.plans-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 840px;
  margin: 0 auto 2rem;
}

@media (min-width: 768px) {
  .plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

.plan-card {
  position: relative;
  background-color: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

/* Destaque Visual Kit Completo */
.plan-complete {
  border: 2px solid var(--color-terracotta);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--color-terracotta-light) 100%);
  box-shadow: var(--shadow-elevated);
}

.plan-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.badge-featured {
  background-color: var(--color-terracotta);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(182, 69, 44, 0.3);
}

.plan-header {
  text-align: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border-subtle);
  margin-bottom: 1.5rem;
}

.plan-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.plan-mockup-wrapper {
  margin: 0.75rem auto 1rem;
  max-width: 320px;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(32, 30, 28, 0.12);
  border: 1px solid var(--color-border);
  background-color: #FFFFFF;
}

.plan-mockup-image {
  width: 100%;
  height: auto;
  display: block;
}

.plan-price-anchor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.925rem;
  color: var(--color-text-muted);
  margin-bottom: 0.2rem;
}

.plan-price-anchor .price-anchor-old {
  color: #8C827A;
  text-decoration: line-through;
  font-weight: 600;
}

.plan-price-anchor .price-anchor-by {
  font-weight: 600;
  color: var(--color-terracotta);
}

.plan-price-block {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}

.plan-currency {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.plan-price-value {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-text-main);
}

.plan-payment-mode {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.plan-body {
  flex-grow: 1;
  margin-bottom: 2rem;
}

.plan-includes-heading {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.plan-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-main);
}

.feature-strong {
  font-weight: 600;
}

.feature-bonus {
  color: var(--color-green);
  font-weight: 600;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--color-green);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.feature-icon-bonus {
  font-size: 0.95rem;
}

.plan-footer {
  margin-top: auto;
}

.btn-plan {
  width: 100%;
}

.plans-disclaimer {
  text-align: center;
}

.disclaimer-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ==========================================================================
   7. GARANTIA
   ========================================================================== */

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

.guarantee-box {
  background-color: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .guarantee-box {
    flex-direction: row;
    text-align: left;
    padding: 2rem;
    gap: 2rem;
  }
}

.guarantee-seal-wrapper {
  flex-shrink: 0;
}

.guarantee-seal {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background-color: var(--color-surface);
  border: 2px dashed var(--color-ochre);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-ochre);
  box-shadow: inset 0 0 0 4px var(--color-ochre-light);
}

.seal-number {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
}

.seal-text {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.guarantee-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.guarantee-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* ==========================================================================
   8. PERGUNTAS FREQUENTES (ACORDEÃO)
   ========================================================================== */

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

.faq-accordion {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.faq-item[open] {
  border-color: var(--color-border-dark);
}

.faq-question {
  padding: 1.15rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
  list-style: none; /* remove triângulo nativo */
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ochre);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 0.85rem;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */

.page-footer {
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.footer-copy {
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.footer-link {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-terracotta);
}

.footer-divider {
  color: var(--color-border-dark);
}

/* ==========================================================================
   POPUP / MODAL UPSELL AO ESCOLHER O BÁSICO
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(24, 22, 20, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  background-color: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-modal);
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(12px) scale(0.98);
  transition: transform var(--transition-normal);
  overflow: hidden;
}

.modal-backdrop.is-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: var(--color-bg-secondary);
  color: var(--color-text-main);
  border-color: var(--color-text-main);
}

.modal-body-scroll {
  padding: 2rem 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal-badge-wrapper {
  margin-bottom: 0.75rem;
}

.modal-badge-urgent {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
  color: #C2410C;
  border: 1.5px solid #F97316;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.2);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: #EA580C;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7);
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(234, 88, 12, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(234, 88, 12, 0); }
}

.highlight-complete {
  color: var(--color-terracotta);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-main);
  margin-bottom: 0.65rem;
  padding-right: 1.5rem; /* Respiro para não sobrepor o botão de fechar */
}

.modal-intro {
  font-size: 0.975rem;
  line-height: 1.55;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.modal-summary-box {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.modal-summary-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.modal-summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.modal-summary-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-main);
}

.summary-check {
  color: var(--color-green);
  font-weight: 700;
}

.summary-bonus-item {
  background-color: rgba(182, 69, 44, 0.06);
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
}

.summary-gift {
  font-size: 1.05rem;
}

.modal-price-card {
  position: relative;
  text-align: center;
  padding: 1.4rem 1rem 1rem;
  background: linear-gradient(180deg, #FFF9F5 0%, #FFF1E8 100%);
  border: 2px solid var(--color-terracotta);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 18px rgba(182, 69, 44, 0.15);
}

.modal-price-tag-wrap {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.modal-price-save-badge {
  background-color: var(--color-terracotta);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(182, 69, 44, 0.35);
}

.modal-price-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.modal-price-anchor {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.modal-anchor-val {
  color: #8C827A;
  font-weight: 600;
  text-decoration: line-through;
}

.modal-deal-label {
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-terracotta);
  display: block;
  margin-bottom: 0.15rem;
}

.modal-deal-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  line-height: 1;
}

.deal-currency {
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-terracotta);
}

.deal-val {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 0.95;
  color: var(--color-terracotta);
  letter-spacing: -0.02em;
}

.price-mode {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.btn-modal-main {
  width: 100%;
}

.btn-text-secondary {
  background: none;
  border: none;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 0.5rem;
  transition: color var(--transition-fast);
}

.btn-text-secondary:hover {
  color: var(--color-text-main);
}

/* ==========================================================================
   NOTIFICAÇÃO TOAST (Para informar configuração de checkout sem simular compra)
   ========================================================================== */

.toast-notification {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  max-width: 90vw;
  width: 440px;
}

.toast-content {
  background-color: var(--color-text-main);
  color: #FFFFFF;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-modal);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.toast-icon {
  font-size: 1.15rem;
  color: var(--color-ochre);
}

.toast-text {
  flex-grow: 1;
}

.toast-close {
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.35rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
  opacity: 0.7;
}

.toast-close:hover {
  opacity: 1;
}
