/* =====================================================
   GUIA PRÁTICO SOBRE AUTISMO — CSS
   Paleta: Azul bebê + tons neutros quentes
   Mobile-first, acolhedor, profissional
===================================================== */

/* =========================================
   PAINEL DE EDIÇÃO VISUAL
========================================= */

/* Botão flutuante de edição */
#edit-toggle-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #1a1a2e;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
#edit-toggle-btn:hover {
  background: #2476e0;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(36,118,224,.4);
}
#edit-toggle-btn i { font-size: 1rem; }

/* Overlay escuro */
#editor-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(10,10,20,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
#editor-overlay.open {
  opacity: 1;
  pointer-events: all;
}

/* Painel lateral */
#editor-panel {
  width: 100%;
  max-width: 460px;
  height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: -6px 0 40px rgba(0,0,0,.18);
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  position: relative;
}
#editor-overlay.open #editor-panel {
  transform: translateX(0);
}

/* Header do painel */
.ep-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e8e4dd;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #2476e0 100%);
  color: #fff;
}
.ep-header__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
}
.ep-close {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background .2s;
}
.ep-close:hover { background: rgba(255,255,255,.3); }

/* Corpo scrollável */
.ep-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  scroll-behavior: smooth;
}
.ep-body::-webkit-scrollbar { width: 5px; }
.ep-body::-webkit-scrollbar-track { background: #f5f5f5; }
.ep-body::-webkit-scrollbar-thumb { background: #bfe0fd; border-radius: 3px; }

/* Seções do painel */
.ep-section {
  background: #fafafa;
  border: 1px solid #e8e4dd;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.85rem;
}
.ep-section__title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #1a1a2e;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #e8e4dd;
}

/* Campos */
.ep-field {
  margin-bottom: 0.75rem;
}
.ep-field:last-child { margin-bottom: 0; }

.ep-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4a4540;
  margin-bottom: 0.35rem;
}

.ep-input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #e0dbd2;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #2e2a24;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.ep-input:focus {
  border-color: #3b93f0;
  box-shadow: 0 0 0 3px rgba(59,147,240,.15);
}
.ep-input::placeholder { color: #bbb; }
.ep-input--sm { font-size: 0.88rem; }

/* Grupo input + botão colar */
.ep-input-group {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.ep-input-group .ep-input { flex: 1; }

.ep-paste-btn {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: #dbeefe;
  color: #2476e0;
  border: 1.5px solid #bfe0fd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background .2s, color .2s, transform .15s;
}
.ep-paste-btn:hover {
  background: #2476e0;
  color: #fff;
  transform: scale(1.05);
}

/* Row de 2 colunas */
.ep-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* Hint text */
.ep-hint {
  font-size: 0.78rem;
  color: #a89f93;
  margin-top: 0.35rem;
  line-height: 1.5;
}
.ep-hint strong { color: #6b6259; }

/* Footer do painel */
.ep-footer {
  display: flex;
  gap: 0.75rem;
  padding: 1.1rem 1.5rem;
  border-top: 1px solid #e8e4dd;
  flex-shrink: 0;
  background: #fff;
}

.ep-btn {
  flex: 1;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.ep-btn--cancel {
  background: #f5f2ed;
  color: #6b6259;
}
.ep-btn--cancel:hover { background: #ede9e2; }

.ep-btn--save {
  background: #2476e0;
  color: #fff;
  box-shadow: 0 3px 14px rgba(36,118,224,.35);
}
.ep-btn--save:hover {
  background: #1a5fcd;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(36,118,224,.45);
}

/* Toast de confirmação */
.ep-toast {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e7e50;
  color: #fff;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: none;
}
.ep-toast.show {
  animation: toastIn 3s ease forwards;
}

/* ── ABAS PRINCIPAIS DO PAINEL ── */
.ep-tabs {
  display: flex;
  gap: 0;
  background: #f5f4f2;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
  overflow-x: auto;
}
.ep-tab {
  flex: 1;
  padding: 0.75rem 0.5rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--warm-gray-600);
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  transition: color .2s, border-color .2s, background .2s;
}
.ep-tab:hover { background: #ebe9e5; color: var(--color-primary-d); }
.ep-tab.active {
  color: var(--color-primary-d);
  border-bottom-color: var(--color-primary);
  background: #fff;
}

/* ── TAB PANELS ── */
.ep-tab-panel { display: none; }
.ep-tab-panel.active { display: block; }

/* ── LAYOUT DE DESIGN (lista + formulário) ── */
.ep-design-layout {
  display: flex;
  gap: 0;
  min-height: 320px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.ep-block-list {
  width: 48%;
  flex-shrink: 0;
  overflow-y: auto;
  border-right: 1px solid var(--color-border);
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 520px;
}
.ep-block-btn {
  padding: 0.6rem 0.85rem;
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.76rem;
  color: var(--color-text-mute);
  cursor: pointer;
  transition: background .15s, color .15s;
  line-height: 1.3;
}
.ep-block-btn:hover { background: var(--baby-blue-50); color: var(--color-primary-d); }
.ep-block-btn.active {
  background: var(--baby-blue-100);
  color: var(--color-primary-d);
  border-left: 3px solid var(--color-primary);
  font-weight: 800;
}

.ep-block-form {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  background: #fff;
  max-height: 520px;
}

/* Info de qual seletor é afetado */
.ep-block-info {
  font-size: 0.73rem;
  color: var(--warm-gray-400);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.ep-block-info code {
  background: #f0f0f0;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.7rem;
  color: #555;
}
.ep-block-edit-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Botão × para limpar cor */
.ep-clear-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #f5f2ed;
  color: #999;
  border: 1px solid #ddd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.ep-clear-btn:hover { background: #fde8e8; color: #d94f4f; }

/* Badge "obrigatório" */
.ep-badge-required {
  background: #fde8e8;
  color: #d94f4f;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  margin-left: 0.35rem;
  vertical-align: middle;
}

/* Mobile: painel ocupa largura total */
@media (max-width: 480px) {
  #editor-panel { max-width: 100%; }
  .ep-row { grid-template-columns: 1fr; }
  #edit-toggle-btn span { display: none; }
  #edit-toggle-btn { padding: 0.75rem; border-radius: 50%; }
  .ep-design-layout { flex-direction: column; }
  .ep-block-list { width: 100%; max-height: 180px; border-right: none; border-bottom: 1px solid var(--color-border); }
  .ep-block-form { max-height: 300px; }
}

/* textarea no painel */
.ep-textarea {
  resize: vertical;
  min-height: 70px;
  line-height: 1.55;
}

/* Área de foto do autor no painel */
.ep-photo-area {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.ep-photo-preview {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--baby-blue-100);
  border: 2px solid var(--baby-blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--baby-blue-300);
  flex-shrink: 0;
  overflow: hidden;
}
.ep-photo-actions {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ep-btn-upload {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--baby-blue-100);
  color: var(--color-primary-d);
  border: 1.5px solid var(--baby-blue-200);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background var(--transition);
  width: fit-content;
}
.ep-btn-upload:hover { background: var(--baby-blue-200); }
.ep-photo-or {
  font-size: 0.78rem;
  color: var(--warm-gray-400);
  text-align: center;
}
.ep-photo-error {
  font-size: 0.72rem;
  color: #d94f4f;
  margin-top: 0.25rem;
}

/* Botão "Trocar foto" visível na seção do autor */
.author-photo-wrapper {
  position: relative;
  display: inline-block;
  margin: 0 auto;
}
.author-photo-change {
  display: none; /* aparece apenas quando o painel de edição estiver ativo */
  position: absolute;
  bottom: 0; right: 0;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  width: 34px; height: 34px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  gap: 0;
  border: 2px solid #fff;
}
.author-photo-change span { display: none; }

/* -------------------------
   CSS VARIABLES
------------------------- */
:root {
  /* Azul bebê palette */
  --baby-blue-50:  #f0f7ff;
  --baby-blue-100: #dbeefe;
  --baby-blue-200: #bfe0fd;
  --baby-blue-300: #93ccfb;
  --baby-blue-400: #60b0f7;
  --baby-blue-500: #3b93f0;
  --baby-blue-600: #2476e0;
  --baby-blue-700: #1a5fcd;

  /* Neutrals / beige warm */
  --cream:    #fdfaf5;
  --sand-50:  #faf6ef;
  --sand-100: #f2ead8;
  --warm-gray-200: #e8e4dd;
  --warm-gray-400: #a89f93;
  --warm-gray-600: #6b6259;
  --warm-gray-800: #3d3730;

  /* Semantic */
  --color-primary:   var(--baby-blue-500);
  --color-primary-h: var(--baby-blue-600);
  --color-primary-d: var(--baby-blue-700);
  --color-accent:    #2476e0;
  --color-success:   #3b9e72;
  --color-danger:    #d94f4f;

  --color-text:      #2e2a24;
  --color-text-mute: #6b6259;
  --color-bg:        var(--cream);
  --color-bg-light:  var(--sand-50);
  --color-bg-white:  #ffffff;
  --color-border:    var(--warm-gray-200);

  /* Typography */
  --font-display: 'Nunito', sans-serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-py: 5rem;
  --container:  1140px;

  /* Radius & shadows */
  --radius-sm:  0.5rem;
  --radius-md:  1rem;
  --radius-lg:  1.5rem;
  --radius-xl:  2rem;
  --radius-full: 999px;

  --shadow-xs:  0 1px 3px rgba(60,90,130,.06), 0 1px 2px rgba(60,90,130,.04);
  --shadow-sm:  0 2px 8px rgba(60,90,130,.08), 0 1px 3px rgba(60,90,130,.05);
  --shadow-md:  0 4px 20px rgba(60,90,130,.10), 0 2px 8px rgba(60,90,130,.06);
  --shadow-lg:  0 8px 40px rgba(60,90,130,.13), 0 4px 16px rgba(60,90,130,.08);
  --shadow-xl:  0 16px 60px rgba(60,90,130,.16), 0 6px 24px rgba(60,90,130,.10);

  /* Transition */
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* -------------------------
   CONTAINER
------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* -------------------------
   BUTTONS
------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  line-height: 1;
}

/* Sizes */
.btn--sm  { padding: 0.55rem 1.2rem;  font-size: 0.875rem; }
.btn--md  { padding: 0.8rem 1.75rem;  font-size: 1rem; }
.btn--lg  { padding: 1rem 2rem;       font-size: 1.05rem; }
.btn--xl  { padding: 1.15rem 2.5rem;  font-size: 1.15rem; }
.btn--full { width: 100%; justify-content: center; }

/* Primary */
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 18px rgba(59,147,240,.35);
}
.btn--primary:hover {
  background: var(--color-primary-h);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(36,118,224,.40);
}
.btn--primary:active { transform: translateY(0); }

/* Ghost */
.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--ghost:hover {
  background: var(--baby-blue-50);
  transform: translateY(-2px);
}

/* Outline (nav) */
.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

/* White (for dark sections) */
.btn--white {
  background: #fff;
  color: var(--color-primary-d);
  box-shadow: var(--shadow-md);
}
.btn--white:hover {
  background: var(--baby-blue-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* -------------------------
   SECTION HELPERS
------------------------- */
.section { padding: var(--section-py) 0; }
.section--white { background: var(--color-bg-white); }
.section--light { background: var(--color-bg-light); }

.section__tag {
  display: inline-block;
  background: var(--baby-blue-100);
  color: var(--color-primary-d);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-mute);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* -------------------------
   ANIMATE IN
------------------------- */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------
   NAVBAR
------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253,250,245,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }

.navbar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 64px;
  gap: 0;
  width: 100%;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-primary-d);
  flex-shrink: 0;
}
.navbar__logo i {
  font-size: 1.4rem;
  color: var(--color-primary);
}

/* Nav links desktop — distribuídos harmonicamente no centro */
.navbar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  flex-wrap: nowrap;
  gap: 0.25rem;
}

.navbar__nav-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-text-mute);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.navbar__nav-link:hover {
  background: var(--baby-blue-100);
  color: var(--color-primary-d);
}

.navbar__cta {
  margin-left: 0;
  flex-shrink: 0;
  justify-self: end;
}

/* Hamburger — só mobile */
.navbar__hamburger {
  display: none;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--baby-blue-100);
  color: var(--color-primary-d);
  border: none;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background var(--transition);
}
.navbar__hamburger:hover { background: var(--baby-blue-200); }

@media (max-width: 820px) {
  .navbar__inner {
    display: flex; /* volta para flex no mobile */
    justify-content: space-between;
  }
  .navbar__hamburger { display: flex; }

  .navbar__nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(253,250,245,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    z-index: 99;
    gap: 0.25rem;
  }
  .navbar__nav.open { display: flex; }
  .navbar__nav-link { padding: 0.7rem 1rem; border-radius: var(--radius-sm); font-size: 1rem; }

  /* Botão de compra no mobile: separado e destacado */
  .navbar__cta {
    margin: 0;
    flex-shrink: 0;
    font-size: 0.82rem;
    padding: 0.4rem 0.9rem;
  }

  /* Menu aberto: botão de compra dentro do dropdown */
  .navbar__nav.open .navbar__nav-link:last-child {
    margin-bottom: 0.5rem;
  }
}

/* -------------------------
   WHATSAPP FLUTUANTE
------------------------- */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 56px; height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  /* box-shadow e transform gerenciados pela animação waPulse */
}

/* -------------------------
   HERO
------------------------- */
.hero {
  background: linear-gradient(160deg, var(--baby-blue-50) 0%, var(--cream) 60%, var(--sand-50) 100%);
  padding: 7rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--baby-blue-200) 0%, transparent 70%);
  opacity: 0.45;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--baby-blue-100) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--baby-blue-100);
  color: var(--color-primary-d);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  border: 1px solid var(--baby-blue-200);
}
.hero__badge i { color: var(--baby-blue-500); }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--color-text);
  line-height: 1.18;
  margin-bottom: 1.25rem;
}
.hero__title em {
  font-style: normal;
  color: var(--color-primary);
  position: relative;
}
.hero__title em::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%; height: 4px;
  background: var(--baby-blue-300);
  border-radius: 2px;
  opacity: 0.6;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-mute);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero__subtitle strong { color: var(--color-primary-d); }

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

/* Video */
.hero__video-wrapper {
  max-width: 720px;
  margin: 0 auto 2rem;
}

/* video-embed antigo removido — ver .video-section acima */

/* ===========================
   VIDEO VERTICAL (Shorts)
=========================== */
.video-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 2.5rem;
  width: 100%;
  max-width: 360px; /* largura máxima para formato vertical */
}

.video-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full) var(--radius-full) 0 0;
  margin-bottom: -3px;
  position: relative;
  z-index: 2;
  white-space: nowrap;
}
.video-label i { font-size: 0.95rem; }

/* Borda azul suave — paleta baby-blue da landing page */
.video-gradient-border {
  width: 100%;
  padding: 3px;
  border-radius: 18px;
  background: var(--baby-blue-300); /* azul suave único, sem arco-íris */
  box-shadow: 0 8px 32px rgba(59,147,240,.18);
}

.video-inner {
  width: 100%;
  /* proporção 9:16 para Shorts/Reels */
  aspect-ratio: 9 / 16;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  position: relative;
}

.video-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Placeholder quando o ID não está configurado */
.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--baby-blue-300), var(--baby-blue-500));
  text-align: center;
  padding: 2rem;
  color: #fff;
}
.video-placeholder i {
  font-size: 3.5rem;
  opacity: 0.8;
}
.video-placeholder p {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.9;
}
.video-placeholder code {
  background: rgba(0,0,0,.2);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.82rem;
}

/* -------------------------
   YOUTUBE THUMBNAIL PLAYER
   (substitui iframe — evita erro 153 em Shorts)
------------------------- */
.yt-thumb-link {
  display: block;
  position: absolute;
  inset: 0;
  text-decoration: none;
  overflow: hidden;
  border-radius: 14px;
  background: transparent; /* sem fundo escuro — thumbnail aparece limpa */
}
.yt-thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, opacity .35s ease;
  opacity: 1;
}
.yt-thumb-link:hover img {
  transform: scale(1.04);
  opacity: 1;
}

/* Overlay mínimo — sem escurecer a thumbnail */
.yt-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(0,0,0,0);
  transition: background .3s ease;
}
.yt-thumb-link:hover .yt-thumb-overlay {
  background: rgba(0,0,0,.08);
}

/* Botão play estilo YouTube */
.yt-play-btn {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,.55));
  transition: transform .25s ease, filter .25s ease;
}
.yt-thumb-link:hover .yt-play-btn {
  transform: scale(1.12);
  filter: drop-shadow(0 6px 24px rgba(255,0,0,.5));
}
.yt-play-btn svg {
  width: 72px;
  height: 48px;
}

/* Label "Assistir no YouTube" */
.yt-thumb-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  transition: background .25s ease;
}
.yt-thumb-label i { color: #ff4444; font-size: 1rem; }
.yt-thumb-link:hover .yt-thumb-label {
  background: rgba(255,0,0,.75);
}
.yt-thumb-link:hover .yt-thumb-label i { color: #fff; }

/* -------------------------
   HERO TRUST
------------------------- */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.hero__trust span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--color-text-mute);
  font-weight: 500;
}
.hero__trust i { color: var(--color-primary); }

/* -------------------------
   SOCIAL BAR
------------------------- */
.social-bar {
  background: var(--color-primary);
  color: #fff;
  padding: 0.9rem 0;
}
.social-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}
.social-bar__inner span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0.95;
}

/* -------------------------
   PAIN SECTION
------------------------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* sempre 3 colunas fixas = 3+3 */
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.pain-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pain-card__icon {
  width: 48px; height: 48px;
  background: var(--baby-blue-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--color-primary);
  flex-shrink: 0;
}
.pain-card p {
  font-size: 0.97rem;
  color: var(--color-text-mute);
  line-height: 1.6;
}

.pain-message {
  background: var(--baby-blue-50);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem;
  max-width: 680px;
  margin: 0 auto;
}
.pain-message p { font-size: 1.05rem; color: var(--color-text); line-height: 1.7; }
.pain-message strong { color: var(--color-primary-d); }

/* -------------------------
   SOLUTION SECTION
------------------------- */
.solution-block {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: center;
  justify-content: center;
}

/* Book mockup */
.solution-block__book {
  flex: 0 0 auto;
}

.book-mockup {
  position: relative;
  width: 200px;
  margin: 0 auto;
  filter: drop-shadow(var(--shadow-lg));
}

.book-mockup__cover {
  width: 200px;
  height: 270px;
  background: linear-gradient(145deg, var(--baby-blue-400), var(--baby-blue-700));
  border-radius: var(--radius-sm) var(--radius-md) var(--radius-md) var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 2;
}

.book-mockup__badge {
  background: rgba(255,255,255,0.2);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.35);
}

.book-mockup__icon {
  font-size: 2.5rem;
  opacity: 0.85;
}

.book-mockup__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
}

.book-mockup__subtitle {
  font-size: 0.78rem;
  opacity: 0.85;
  font-weight: 600;
}

.book-mockup__spine {
  position: absolute;
  top: 6px; left: -14px;
  width: 14px;
  height: 264px;
  background: var(--baby-blue-700);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  transform: skewY(-2deg);
  z-index: 1;
}

.book-mockup__shadow {
  position: absolute;
  bottom: -16px; left: 10px; right: -10px;
  height: 20px;
  background: rgba(36,118,224,.25);
  filter: blur(10px);
  border-radius: 50%;
}

/* Transformation cards */
.solution-block__content {
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  align-items: center; /* centraliza o botão abaixo das transformation-cards */
}

.transformation-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.transformation-card {
  flex: 1 1 200px;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  font-size: 0.92rem;
}
.transformation-card--before {
  background: #fdf2f2;
  border: 1px solid #f5c6c6;
}
.transformation-card--after {
  background: #edf7f2;
  border: 1px solid #b8e2cc;
}

.transformation-card__label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.transformation-card--before .transformation-card__label { color: var(--color-danger); }
.transformation-card--after  .transformation-card__label { color: var(--color-success); }

.transformation-card ul { display: flex; flex-direction: column; gap: 0.45rem; }
.transformation-card li {
  display: flex; align-items: flex-start; gap: 0.4rem;
  color: var(--color-text-mute); line-height: 1.5;
}
.transformation-card li::before {
  content: '•';
  color: var(--warm-gray-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.transformation-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--baby-blue-100);
  border-radius: 50%;
  color: var(--color-primary);
  font-size: 1rem;
  flex-shrink: 0;
}

/* -------------------------
   BENEFITS SECTION
------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.benefit-item {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
}
.benefit-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.benefit-item__icon {
  width: 44px; height: 44px;
  background: var(--baby-blue-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.benefit-item strong {
  display: block;
  font-size: 0.97rem;
  color: var(--color-text);
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
  font-weight: 700;
}
.benefit-item p {
  font-size: 0.88rem;
  color: var(--color-text-mute);
  line-height: 1.55;
  margin: 0;
}

/* -------------------------
   AMOSTRA SECTION
------------------------- */
.section--accent {
  background: linear-gradient(135deg, var(--baby-blue-500) 0%, var(--baby-blue-700) 100%);
  padding: var(--section-py) 0;
}

.sample-block {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.sample-block__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.sample-block__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.sample-block__subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.sample-block__subtitle strong { font-weight: 700; }

.sample-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.sample-feature {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.sample-feature i { color: #a8f0c8; font-size: 0.95rem; }

.sample-btn {
  font-size: 1.1rem;
  padding: 1.1rem 2.5rem;
  box-shadow: 0 6px 30px rgba(0,0,0,0.2);
  margin-bottom: 1rem;
}
.sample-btn:hover { transform: translateY(-3px) scale(1.02); }

.sample-block__note {
  font-size: 0.85rem;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
}

/* -------------------------
   AUTHOR SECTION
------------------------- */
.author-block {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

.author-block__photo {
  flex: 0 0 auto;
  text-align: center;
  min-width: 180px;
}

.author-photo-placeholder {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--baby-blue-100);
  border: 4px solid var(--baby-blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--baby-blue-300);
  margin: 0 auto 0.75rem;
  box-shadow: var(--shadow-md);
}

.author-block__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.author-block__title {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
}

.author-block__bio {
  flex: 1 1 320px;
}
.author-block__bio p {
  color: var(--color-text-mute);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.97rem;
}
.author-block__bio strong { color: var(--color-text); }

.author-quote {
  background: var(--baby-blue-50);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.25rem;
  font-style: italic;
  color: var(--color-text-mute);
  font-size: 0.97rem;
  line-height: 1.65;
  margin-top: 0.5rem;
}

/* -------------------------
   TESTIMONIALS
------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
}

.testimonial-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card__stars {
  display: flex;
  gap: 0.2rem;
  color: #f5a623;
  font-size: 0.9rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--color-text-mute);
  line-height: 1.65;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border);
}

.testimonial-card__avatar {
  width: 40px; height: 40px;
  background: var(--baby-blue-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-primary-d);
  flex-shrink: 0;
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text);
}
.testimonial-card__author span {
  display: block;
  font-size: 0.8rem;
  color: var(--warm-gray-400);
}

/* -------------------------
   OFFER SECTION
------------------------- */
.offer-card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--color-bg-white);
  border-radius: var(--radius-xl);
  border: 2px solid var(--baby-blue-200);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.offer-card__main {
  padding: 2.5rem;
}

.offer-card__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.35rem;
}
.offer-card__title i { color: var(--color-primary); }

.offer-card__subtitle {
  color: var(--color-text-mute);
  margin-bottom: 1.75rem;
  font-size: 0.97rem;
}

.offer-includes__title {
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-mute);
  margin-bottom: 0.75rem;
}

.offer-card__includes ul,
.offer-card__bonus ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.offer-card__includes li,
.offer-card__bonus li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.97rem;
  color: var(--color-text);
}
.offer-card__includes li i { color: var(--color-success); flex-shrink: 0; }
.offer-card__bonus li i { color: var(--baby-blue-500); flex-shrink: 0; }

.offer-card__bonus {
  background: var(--baby-blue-50);
  border: 1px dashed var(--baby-blue-300);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
}

.bonus-badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--color-primary-d);
  margin-bottom: 0.75rem;
}

.offer-card__price {
  text-align: center;
  margin-bottom: 1.5rem;
}
.offer-card__price-from {
  font-size: 0.95rem;
  color: var(--color-text-mute);
}
.offer-card__price-from s { text-decoration: line-through; }
.offer-card__price-main {
  font-size: 0.9rem;
  color: var(--color-text-mute);
  margin: 0.25rem 0;
}
.offer-card__price-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
  margin: 0.25rem 0;
}
.offer-card__price-installment {
  font-size: 0.9rem;
  color: var(--color-text-mute);
}

.offer-card__payment {
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--color-text-mute);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
}

/* Guarantee */
.offer-card__guarantee {
  background: linear-gradient(135deg, var(--baby-blue-50), var(--cream));
  border-top: 1px solid var(--baby-blue-200);
  padding: 1.5rem 2.5rem;
}

.guarantee-seal {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.guarantee-seal > i {
  font-size: 3rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.guarantee-seal strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 0.3rem;
}
.guarantee-seal p {
  font-size: 0.9rem;
  color: var(--color-text-mute);
  line-height: 1.6;
  margin: 0;
}

/* -------------------------
   CTA FINAL
------------------------- */
.section--cta {
  background: linear-gradient(150deg, var(--baby-blue-600) 0%, var(--baby-blue-700) 100%);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.section--cta::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.12), transparent 70%);
  pointer-events: none;
}

.cta-final__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.cta-final__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.cta-final__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-final__subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.cta-final__urgency {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.cta-final__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.cta-final__trust span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  opacity: 0.85;
  font-weight: 500;
}

/* -------------------------
   FAQ
------------------------- */
.faq-list {
  max-width: 740px;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition);
}
.faq-item.open { box-shadow: var(--shadow-sm); }

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text);
  text-align: left;
  gap: 1rem;
  transition: background var(--transition);
}
.faq-item__question:hover { background: var(--baby-blue-50); }
.faq-item__question[aria-expanded="true"] { color: var(--color-primary); }
.faq-item__question i {
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 0.9rem;
  transition: transform var(--transition);
}
.faq-item__question[aria-expanded="true"] i { transform: rotate(180deg); }

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item__answer.open {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem;
}
.faq-item__answer p {
  font-size: 0.97rem;
  color: var(--color-text-mute);
  line-height: 1.7;
}

.faq-cta {
  text-align: center;
}
.faq-cta p {
  font-size: 1.05rem;
  color: var(--color-text-mute);
  margin-bottom: 1rem;
}

/* -------------------------
   FOOTER
------------------------- */
.footer {
  background: var(--warm-gray-800);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 0;
  text-align: center;
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
}
.footer__logo i { color: var(--baby-blue-300); }

.footer__tagline { font-size: 0.9rem; }

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  font-size: 0.85rem;
}
.footer__links a:hover { color: var(--baby-blue-300); }
.footer__links span { opacity: 0.4; }

.footer__copy {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-top: 0.25rem;
}

/* =========================================
   SISTEMA DE REVEAL — ANIMAÇÕES DE SCROLL
   Controlado por js/animations.js
   Classes: .rv (estado inicial) + .rv--visible
========================================= */

/* ── Base: elementos escondidos antes de entrar ── */
.rv {
  opacity: 0;
  will-change: opacity, transform;
  transition-property: opacity, transform;
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-duration: 560ms;
}

/* ── Variantes de entrada ── */
.rv--fade-up    { transform: translateY(32px); }
.rv--fade-down  { transform: translateY(-18px); }
.rv--fade-left  { transform: translateX(-36px); }
.rv--fade-right { transform: translateX(36px); }
.rv--scale      { transform: translateY(20px) scale(0.96); }
.rv--scale-offer{ transform: translateY(24px) scale(0.97); }
.rv--price-pop  { transform: scale(0.82); opacity: 0; }
.rv--btn-pop    { transform: translateY(16px) scale(0.95); opacity: 0; }

/* ── Estado visível — reseta tudo ── */
.rv--visible {
  opacity: 1 !important;
  transform: none !important;
}

/* ── Transições especiais por tipo ── */
.rv--price-pop  { transition-duration: 480ms; transition-timing-function: cubic-bezier(0.34, 1.45, 0.64, 1); }
.rv--btn-pop    { transition-duration: 500ms; transition-timing-function: cubic-bezier(0.34, 1.30, 0.64, 1); }
.rv--scale-offer{ transition-duration: 640ms; }
.rv--fade-left,
.rv--fade-right { transition-duration: 600ms; }

/* ── Navbar fade-down (duração mais rápida) ── */
#navbar.rv { transition-duration: 380ms; }

/* ==============================================
   HIERARQUIA DE BOTÕES — DESTAQUE PROGRESSIVO
   Nível 1 (navbar)  → suave, discreto
   Nível 2 (hero/meio) → médio destaque
   Nível 3 (oferta/final) → máximo destaque + pulso
=============================================== */

/* ── Nível 1: Navbar — discreto ── */
.btn--navbar-buy {
  font-size: 0.86rem;
  padding: 0.42rem 1.1rem;
  box-shadow: 0 2px 10px rgba(59,147,240,.20);
  transition:
    transform 0.22s cubic-bezier(0.34,1.30,0.64,1),
    box-shadow 0.22s ease,
    background 0.22s ease !important;
}
.btn--navbar-buy:hover {
  transform: translateY(-1px) scale(1.04) !important;
  box-shadow: 0 5px 18px rgba(59,147,240,.32) !important;
  animation: none !important;
}

/* ── Nível 2: Hero — destaque médio ── */
@keyframes heroEntrance {
  0%   { opacity: 0; transform: translateY(10px) scale(0.96); }
  60%  { opacity: 1; transform: translateY(-3px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.btn--hero-buy {
  font-size: 1.08rem;
  padding: 0.9rem 2rem;
  box-shadow: 0 5px 22px rgba(59,147,240,.35), 0 2px 6px rgba(59,147,240,.18);
  animation: heroEntrance 0.7s cubic-bezier(0.34,1.30,0.64,1) both;
  animation-delay: 0.5s;
}
.btn--hero-buy:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 10px 32px rgba(36,118,224,.48), 0 3px 10px rgba(36,118,224,.22) !important;
  animation: none !important;
}
.btn--hero-buy:active {
  transform: scale(0.97) translateY(1px) !important;
}

/* ── Nível 2: botões de meio de página ── */
.btn--mid-buy {
  font-size: 1.05rem;
  padding: 0.85rem 2rem;
  box-shadow: 0 4px 18px rgba(59,147,240,.30);
}
.btn--mid-buy:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 10px 30px rgba(36,118,224,.44) !important;
  animation: none !important;
}
.btn--mid-buy:active {
  transform: scale(0.97) translateY(1px) !important;
}

/* ── Nível 2: botão amostra grátis — pulso leve verde ── */
@keyframes freePulse {
  0%   { box-shadow: 0 4px 16px rgba(22,163,74,.25); transform: translateY(0) scale(1); }
  50%  { box-shadow: 0 6px 26px rgba(22,163,74,.40), 0 0 0 5px rgba(22,163,74,.08); transform: translateY(-2px) scale(1.012); }
  100% { box-shadow: 0 4px 16px rgba(22,163,74,.25); transform: translateY(0) scale(1); }
}
.btn--free-pulse {
  animation: freePulse 3s ease-in-out infinite;
  border-color: rgba(22,163,74,.40) !important;
}
.btn--free-pulse:hover {
  animation: none !important;
  transform: translateY(-2px) scale(1.04) !important;
  box-shadow: 0 8px 28px rgba(22,163,74,.35) !important;
}

/* ── Nível 3: Oferta — máximo destaque ── */
@keyframes ctaPulseMain {
  0%   { box-shadow: 0 5px 24px rgba(59,147,240,.45), 0 0 0 0 rgba(59,147,240,.0); transform: translateY(0) scale(1); }
  45%  { box-shadow: 0 8px 36px rgba(59,147,240,.62), 0 0 0 7px rgba(59,147,240,.12); transform: translateY(-3px) scale(1.015); }
  100% { box-shadow: 0 5px 24px rgba(59,147,240,.45), 0 0 0 0 rgba(59,147,240,.0); transform: translateY(0) scale(1); }
}
#btn-compra {
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  animation: ctaPulseMain 2.6s ease-in-out infinite;
  box-shadow: 0 5px 24px rgba(59,147,240,.45);
}
#btn-compra:hover {
  animation: none !important;
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 14px 42px rgba(36,118,224,.58), 0 4px 12px rgba(36,118,224,.28) !important;
}
#btn-compra:active {
  transform: scale(0.97) translateY(1px) !important;
  animation: none !important;
}

/* Ícone do botão principal — crescimento no hover */
.btn-main-icon {
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1);
  font-size: 1.1em;
}
#btn-compra:hover .btn-main-icon,
#btn-cta-final-action:hover .btn-main-icon {
  transform: scale(1.25) rotate(-5deg);
}

/* ── Nível 3: CTA Final — máximo destaque (branco) ── */
@keyframes ctaPulseLight {
  0%   { box-shadow: 0 4px 20px rgba(255,255,255,.28), 0 0 0 0 rgba(255,255,255,.0); transform: translateY(0) scale(1); }
  45%  { box-shadow: 0 7px 32px rgba(255,255,255,.46), 0 0 0 6px rgba(255,255,255,.10); transform: translateY(-3px) scale(1.015); }
  100% { box-shadow: 0 4px 20px rgba(255,255,255,.28), 0 0 0 0 rgba(255,255,255,.0); transform: translateY(0) scale(1); }
}
#btn-cta-final-action {
  font-size: 1.14rem;
  animation: ctaPulseLight 2.8s ease-in-out infinite;
}
#btn-cta-final-action:hover {
  animation: none !important;
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 14px 42px rgba(255,255,255,.48) !important;
}
#btn-cta-final-action:active {
  transform: scale(0.97) translateY(1px) !important;
  animation: none !important;
}

/* ── WhatsApp flutuante — pulso ultra-leve verde ── */
@keyframes waPulse {
  0%   { box-shadow: 0 4px 20px rgba(37,211,102,.45); transform: scale(1); }
  50%  { box-shadow: 0 6px 28px rgba(37,211,102,.60), 0 0 0 5px rgba(37,211,102,.12); transform: scale(1.06); }
  100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); transform: scale(1); }
}
.wa-float {
  animation: waPulse 3.2s ease-in-out infinite;
}
.wa-float:hover {
  animation: none !important;
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37,211,102,.60);
}

/* Botões secundários — suaves, sem ícone de raio */
.btn--secondary-action {
  opacity: 0.92;
  font-size: 0.98rem;
}
.btn--secondary-action:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.02) !important;
}

/* Garante que .btn--pulse NÃO afeta outros botões */
.btn--pulse {
  /* classe mantida por compatibilidade — animação real aplicada por ID */
}

/* --- Hover geral dos botões --- */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.22s ease;
  border-radius: inherit;
  pointer-events: none;
}
.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: translateY(0) scale(0.97); }

/* Sombra e borda extra no botão primário */
.btn--primary {
  box-shadow: 0 4px 18px rgba(59,147,240,.35), 0 1px 4px rgba(59,147,240,.2);
}
.btn--primary:hover {
  box-shadow: 0 8px 28px rgba(36,118,224,.50), 0 2px 8px rgba(36,118,224,.25);
}

/* --- Seções com espaçamento melhorado --- */
.section { padding: calc(var(--section-py) * 1.1) 0; }

/* Separadores visuais suaves entre seções */
.section--light { border-top: 1px solid var(--warm-gray-200); border-bottom: 1px solid var(--warm-gray-200); }

/* --- Títulos com linha decorativa --- */
.section__title {
  position: relative;
  display: inline-block;
}
.section__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
  margin-top: 0.6rem;
  opacity: 0.7;
}

/* Centraliza a linha decorativa quando o título é centrado */
.container > div > .section__title,
.container > .section__title {
  display: block;
}

/* --- Pain cards com hover elevado --- */
.pain-card {
  transition: transform 0.28s cubic-bezier(.4,0,.2,1), box-shadow 0.28s cubic-bezier(.4,0,.2,1);
}
.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 32px rgba(59,147,240,.14);
  border-color: var(--baby-blue-300);
}

/* --- Benefit items com hover --- */
.benefit-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.benefit-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(59,147,240,.12);
  border-color: var(--baby-blue-300);
}

/* --- Testimonial cards com hover --- */
.testimonial-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(59,147,240,.13);
}

/* --- Offer card wrapper (garante espaço para badge ::before) --- */
.offer-card-wrapper {
  padding-top: 2.5rem; /* espaço acima para o badge flutuar sem ser cortado */
  overflow: visible;
}

/* --- Offer card destaque --- */
.offer-section-wrapper {
  padding-top: 2rem; /* garante espaço para o badge não ser cortado pelo container */
}
.offer-card {
  position: relative;
  border-color: var(--baby-blue-300);
  box-shadow: 0 12px 50px rgba(59,147,240,.18), 0 4px 16px rgba(59,147,240,.10);
  margin-top: 2.5rem; /* espaço suficiente para o badge flutuar acima */
  overflow: visible !important; /* não cortar o pseudo-elemento */
}
.offer-card::before {
  content: '⭐ MAIS POPULAR';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 1.6rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(59,147,240,.45);
  z-index: 5;
  pointer-events: none;
}

/* --- Hero badge: borda azul (animação de pulso definida abaixo) --- */
.hero__badge {
  border: 1px solid var(--baby-blue-300);
}

/* --- Social bar melhoria --- */
.social-bar {
  background: linear-gradient(90deg, var(--baby-blue-600) 0%, var(--baby-blue-500) 50%, var(--baby-blue-600) 100%);
}

/* --- Estilos dos campos de cor no painel --- */
.ep-color-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ep-color-input {
  width: 42px; height: 38px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  padding: 2px;
  background: #fff;
  flex-shrink: 0;
}
.ep-color-preview {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  flex-shrink: 0;
}
.ep-color-row .ep-input { flex: 1; font-family: monospace; letter-spacing: 0.05em; }

/* Blocos de edição por elemento (mostrados/ocultos via JS) */
.ep-text-block { display: none; }
.ep-text-block.active { display: block; }

/* =========================================
   RESPONSIVE — TABLET (≤ 900px)
========================================= */
@media (max-width: 900px) {
  /* Container: padding lateral maior para respirar */
  .container { padding: 0 1.5rem; }

  /* Seção solução: empilha vertical */
  .solution-block { flex-direction: column; align-items: center; gap: 2rem; }
  .solution-block__content { align-items: center; text-align: center; width: 100%; }
  .transformation-cards { flex-direction: column; }
  .transformation-card__arrow { transform: rotate(90deg); }
  .transformation-card { flex: 1 1 100%; max-width: 380px; width: 100%; }

  /* Autor: empilha vertical */
  .author-block { flex-direction: column; align-items: center; text-align: center; gap: 2rem; }
  .author-block__photo { min-width: unset; }
  .author-quote { text-align: left; }
  .author-block__bio { text-align: left; width: 100%; }
}

/* =========================================
   RESPONSIVE — MOBILE (≤ 768px)
========================================= */
@media (max-width: 768px) {
  /* ── Variáveis ── */
  :root {
    --section-py: 3.5rem;
    --container: 100%;
  }

  /* ── Container ── */
  .container { padding: 0 1.1rem; }

  /* ── Body: sem overflow horizontal ── */
  body { overflow-x: hidden; }

  /* ── Hero ── */
  .hero { padding: 5.5rem 0 3rem; }
  .hero__inner { padding: 0; }
  .hero__title { font-size: clamp(1.65rem, 6vw, 2.2rem); line-height: 1.22; }
  .hero__subtitle { font-size: 1rem; padding: 0 0.25rem; }
  .hero__badge { font-size: 0.82rem; padding: 0.4rem 0.9rem; }

  .hero__cta-group {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 2rem;
  }
  .hero__cta-group .btn {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    font-size: 1rem;
  }
  .hero__trust {
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero__trust span { font-size: 0.85rem; }

  /* ── Vídeo ── */
  .video-section { max-width: 100%; padding: 0 0; margin-bottom: 2rem; }
  .video-label { font-size: 0.82rem; padding: 0.45rem 1rem; white-space: normal; text-align: center; }
  .video-gradient-border { border-radius: 14px; }
  .video-inner { border-radius: 12px; }
  .yt-thumb-link { border-radius: 12px; }

  /* ── Social bar ── */
  .social-bar { padding: 0.75rem 0; }
  .social-bar__inner {
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .social-bar__inner span { font-size: 0.78rem; gap: 0.35rem; }

  /* ── Seções ── */
  .section__tag { font-size: 0.75rem; }
  .section__title { font-size: clamp(1.45rem, 5.5vw, 1.85rem); }
  .section__subtitle { font-size: 0.97rem; margin-bottom: 1.75rem; }
  .section__title::after { margin: 0.5rem auto 0; }

  /* Centraliza títulos de seção no mobile */
  .container > div > .section__title,
  .container > .section__title,
  #dor-section .section__title,
  #solucao-section .section__title,
  #beneficios-section .section__title,
  #depoimentos-section .section__title,
  #autor-section .section__title,
  #oferta .section__title,
  #faq-section .section__title {
    text-align: center;
  }
  .section__subtitle { text-align: center; margin-left: auto; margin-right: auto; }
  .section__tag { display: block; text-align: center; }

  /* ── Pain section ── */
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .pain-card { padding: 1.1rem; gap: 0.65rem; }
  .pain-card__icon { width: 40px; height: 40px; font-size: 1.1rem; }
  .pain-card p { font-size: 0.9rem; }
  .pain-message { padding: 1.1rem 1.25rem; }
  .pain-message p { font-size: 0.97rem; }

  /* ── Solução ── */
  .solution-block { flex-direction: column; align-items: center; gap: 1.75rem; }
  .solution-block__content { align-items: center; text-align: center; width: 100%; }
  .transformation-cards { flex-direction: column; align-items: center; gap: 0.75rem; }
  .transformation-card__arrow { transform: rotate(90deg); }
  .transformation-card { flex: 1 1 100%; max-width: 100%; font-size: 0.9rem; padding: 1rem; }
  .book-mockup { width: 160px; }
  .book-mockup__cover { width: 160px; height: 215px; }
  .book-mockup__spine { height: 210px; }

  /* Botão da solução: centralizado, largura total */
  #btn-sol-compra { width: 100%; max-width: 100%; justify-content: center; margin-top: 1.25rem; }

  /* ── Benefícios ── */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .benefit-item { padding: 1rem 1.1rem; gap: 0.85rem; }
  .benefit-item strong { font-size: 0.95rem; }
  .benefit-item p { font-size: 0.86rem; }
  #btn-ben-compra { width: 100%; max-width: 100%; justify-content: center; }

  /* ── Amostra ── */
  .sample-features { flex-direction: column; align-items: center; gap: 0.65rem; }
  .sample-feature { width: 100%; max-width: 320px; justify-content: flex-start; }
  .sample-btn { width: 100%; max-width: 100%; justify-content: center; font-size: 1rem; padding: 1rem; }

  /* ── Autor ── */
  .author-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  .author-block__photo { min-width: unset; width: 100%; }
  .author-photo-placeholder { width: 130px; height: 130px; font-size: 3rem; }
  .author-block__bio { text-align: left; width: 100%; }
  .author-block__bio p { font-size: 0.93rem; }
  .author-quote { font-size: 0.93rem; text-align: left; }

  /* ── Depoimentos ── */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .testimonial-card { padding: 1.1rem; }
  .testimonial-card p { font-size: 0.92rem; }

  /* ── Oferta ── */
  .offer-card-wrapper { padding-top: 2rem; }
  .offer-card { margin-top: 2rem; }
  .offer-card__main { padding: 1.5rem 1.1rem; }
  .offer-card__title { font-size: 1.15rem; flex-wrap: wrap; }
  .offer-card__price-value { font-size: 2.4rem; }
  .offer-card__guarantee { padding: 1.1rem; }
  .guarantee-seal { flex-direction: column; text-align: center; gap: 0.75rem; }
  .guarantee-seal > i { font-size: 2.25rem; }

  /* Botão de compra: centralizado, largura total */
  #btn-compra {
    width: 100%;
    font-size: 1.05rem;
    padding: 1.05rem 1.5rem;
    text-align: center;
    justify-content: center;
    white-space: normal;
  }

  /* ── CTA Final ── */
  .cta-final__title { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  .cta-final__subtitle { font-size: 0.97rem; }
  .cta-final__urgency { font-size: 0.85rem; }
  #btn-cta-final-action {
    width: 100%;
    font-size: 1.05rem;
    padding: 1.05rem 1.25rem;
    justify-content: center;
    white-space: normal;
  }
  .cta-final__trust { gap: 0.85rem; }
  .cta-final__trust span { font-size: 0.85rem; }

  /* ── FAQ ── */
  .faq-item__question { padding: 1rem 1.1rem; font-size: 0.95rem; }
  .faq-item__answer.open { padding: 0 1.1rem 1rem; }
  .faq-item__answer p { font-size: 0.93rem; }

  /* ── Footer ── */
  .footer { padding: 2rem 0; }
  .footer__inner { gap: 0.65rem; }
  .footer__logo { font-size: 1rem; }
  .footer__links { font-size: 0.82rem; }
  .footer__copy { font-size: 0.76rem; }
}

/* =========================================
   RESPONSIVE — MOBILE PEQUENO (≤ 480px)
========================================= */
@media (max-width: 480px) {
  /* ── Navbar ── */
  .navbar__logo span { font-size: 1rem; }
  .navbar__cta { font-size: 0.78rem; padding: 0.38rem 0.8rem; }

  /* ── Hero ── */
  .hero { padding: 5rem 0 2.5rem; }
  .hero__title { font-size: 1.55rem; }
  .hero__subtitle { font-size: 0.95rem; }
  .hero__badge { font-size: 0.78rem; }
  .hero__trust span { font-size: 0.8rem; }

  /* ── Vídeo ── */
  .video-section { margin-bottom: 1.5rem; }
  .video-label { font-size: 0.78rem; }

  /* ── Seções ── */
  .section__title { font-size: 1.4rem; }
  .section__subtitle { font-size: 0.93rem; }

  /* ── Pain: 1 coluna no mobile pequeno ── */
  .pain-grid { grid-template-columns: 1fr; gap: 0.75rem; }

  /* ── Benefícios ── */
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit-item__icon { width: 38px; height: 38px; font-size: 1rem; }

  /* ── Depoimentos ── */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* ── Oferta ── */
  .offer-card__main { padding: 1.25rem 0.9rem; }
  .offer-card__price-value { font-size: 2.1rem; }
  #btn-compra { font-size: 0.97rem; padding: 0.95rem 1rem; }

  /* ── CTA Final ── */
  .cta-final__title { font-size: 1.4rem; }
  #btn-cta-final-action { font-size: 0.97rem; padding: 0.95rem 1rem; }

  /* ── FAQ ── */
  .faq-item__question { font-size: 0.9rem; padding: 0.9rem 1rem; }

  /* ── Botões fixos: empilhados verticalmente ── */
  #edit-toggle-btn {
    padding: 0.65rem;
    border-radius: 50%;
    bottom: 1rem;
    left: 1rem;
  }
  #edit-toggle-btn span { display: none; }

  #ce-publish-btn {
    left: 1rem;
    bottom: calc(1rem + 52px);
    padding: 0.55rem 0.9rem;
    font-size: 0.78rem;
  }
  #ce-publish-btn span { display: none; }
}

/* =========================================
   MICROINTERAÇÕES — BOTÕES REFINADOS
========================================= */

/* Todos os botões: transição unificada */
.btn {
  transition:
    transform 0.22s cubic-bezier(0.34, 1.30, 0.64, 1),
    box-shadow 0.22s ease,
    background 0.22s ease,
    color 0.22s ease !important;
}

/* Press suave em todos os botões */
.btn:active {
  transform: scale(0.97) translateY(1px) !important;
  transition-duration: 0.10s !important;
}

/* Hover scale refinado — primário */
.btn--primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 30px rgba(36,118,224,.42), 0 3px 10px rgba(36,118,224,.20);
}

/* Hover ghost */
.btn--ghost:hover {
  transform: translateY(-2px) scale(1.03);
}
/* Hover white (genérico — não sobrescreve final-buy) */
.btn--white:not(.btn--final-buy):not(#btn-cta-final-action):hover {
  transform: translateY(-2px) scale(1.03);
}

/* Hover botão navbar — discreto */
.navbar__cta:hover {
  transform: translateY(-1px) scale(1.04);
}

/* Hover scale refinado — primário genérico (não sobrescreve hierarquia específica) */
.btn--primary:not(.btn--hero-buy):not(.btn--mid-buy):not(.btn--offer-buy):not(.btn--navbar-buy):not(#btn-compra):hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 26px rgba(36,118,224,.42);
}

/* =========================================
   MICROINTERAÇÕES — CARDS
========================================= */

/* Pain cards — elevação mais pronunciada */
.pain-card {
  transition:
    transform 0.26s cubic-bezier(0.34, 1.20, 0.64, 1),
    box-shadow 0.26s ease,
    border-color 0.26s ease !important;
}
.pain-card:hover {
  transform: translateY(-7px) scale(1.01) !important;
  box-shadow: 0 14px 38px rgba(59,147,240,.16) !important;
  border-color: var(--baby-blue-300) !important;
}

/* Benefit items */
.benefit-item {
  transition:
    transform 0.24s cubic-bezier(0.34, 1.20, 0.64, 1),
    box-shadow 0.24s ease,
    border-color 0.24s ease !important;
}
.benefit-item:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 32px rgba(59,147,240,.14) !important;
  border-color: var(--baby-blue-300) !important;
}

/* Ícone dos benefícios cresce no hover */
.benefit-item:hover .benefit-item__icon {
  transform: scale(1.12);
  background: var(--baby-blue-200);
  transition: transform 0.22s ease, background 0.22s ease;
}
.benefit-item__icon {
  transition: transform 0.22s ease, background 0.22s ease;
}

/* Testimonial cards */
.testimonial-card {
  transition:
    transform 0.24s cubic-bezier(0.34, 1.20, 0.64, 1),
    box-shadow 0.24s ease !important;
}
.testimonial-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 14px 36px rgba(59,147,240,.15) !important;
}

/* FAQ items — linha realçada no hover */
.faq-item {
  transition: box-shadow 0.22s ease;
}
.faq-item:hover {
  box-shadow: 0 4px 18px rgba(59,147,240,.08);
}

/* =========================================
   VIDEO LABEL — modo edição (override do bloco
   de animação acima que já define o estado normal)
========================================= */
.video-label--editing::after {
  content: ' — clique Enter para salvar';
  font-size: 0.72rem;
  opacity: 0.7;
  font-weight: 400;
  font-style: italic;
}
.video-label--editing i {
  pointer-events: none;
}

/* =========================================
   OFFER CARD — compatibilidade com .rv
   O ::before (badge "MAIS POPULAR") não pode
   usar transform junto com o reveal
========================================= */
.offer-card.rv--visible::before {
  /* Garante que o badge reaparece corretamente */
  opacity: 1;
}

/* =========================================
   PREÇO DESTAQUE — animação especial
========================================= */
.offer-card__price-value {
  display: block;
  transition:
    opacity 0.48s cubic-bezier(0.34, 1.45, 0.64, 1),
    transform 0.48s cubic-bezier(0.34, 1.45, 0.64, 1) !important;
}

/* =========================================
   LISTA DE INCLUDES — items da oferta
========================================= */
.offer-card__includes li,
.offer-card__bonus li {
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}

/* =========================================
   SOCIAL BAR — ícones com hover scale
========================================= */
.social-bar__inner span {
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: default;
}
.social-bar__inner span:hover {
  transform: scale(1.06);
  opacity: 1;
}
.social-bar__inner span i {
  transition: transform 0.2s ease;
}
.social-bar__inner span:hover i {
  transform: scale(1.15);
}

/* =========================================
   NAVBAR LINKS — transição de cor suave
========================================= */
.navbar__nav-link {
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.18s ease !important;
}
.navbar__nav-link:hover {
  transform: translateY(-1px);
}

/* =========================================
   AUTHOR PHOTO — leve zoom no hover
========================================= */
.author-photo-placeholder,
.author-photo-placeholder img {
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.author-photo-wrapper:hover .author-photo-placeholder {
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(59,147,240,.22);
}

/* =========================================
   BOOK MOCKUP — flutua levemente
========================================= */
@keyframes bookFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-8px) rotate(0.5deg); }
}
.book-mockup {
  animation: bookFloat 4s ease-in-out infinite;
}

/* =========================================
   PROVA SOCIAL — counter items
========================================= */
.trust-item,
.hero__trust span {
  transition: transform 0.2s ease;
}
.hero__trust span:hover {
  transform: scale(1.05);
}

/* =========================================
   ANIMAÇÕES: VÍDEO LABEL PULSANTE
========================================= */
@keyframes videoLabelPulse {
  0%   { box-shadow: 0 2px 12px rgba(36,118,224,.25); transform: scale(1); }
  50%  { box-shadow: 0 4px 22px rgba(36,118,224,.48), 0 0 0 5px rgba(36,118,224,.08); transform: scale(1.03); }
  100% { box-shadow: 0 2px 12px rgba(36,118,224,.25); transform: scale(1); }
}
.video-label {
  animation: videoLabelPulse 2.8s ease-in-out infinite;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: default;
  transition: background 0.2s ease;
}
.video-label:hover {
  animation: none;
  background: var(--color-primary-h);
  box-shadow: 0 3px 16px rgba(36,118,224,.35);
  transform: scale(1.04);
}
/* Parar pulso quando em edição */
.video-label--editing {
  animation: none !important;
  outline: 2px solid rgba(255,255,255,0.8) !important;
  outline-offset: 3px !important;
  background: var(--color-primary-d) !important;
  cursor: text !important;
  caret-color: #fff;
}

/* =========================================
   ANIMAÇÃO: BADGE "3000 FAMÍLIAS"
========================================= */
@keyframes badgeFamiliasPulse {
  0%   { box-shadow: 0 2px 12px rgba(59,147,240,.22); transform: scale(1); }
  50%  { box-shadow: 0 4px 20px rgba(59,147,240,.42), 0 0 0 5px rgba(59,147,240,.08); transform: scale(1.025); }
  100% { box-shadow: 0 2px 12px rgba(59,147,240,.22); transform: scale(1); }
}
/* Badge aplica pulso APENAS quando já está visível (rv--visible adicionado pelo JS) */
.hero__badge.rv--visible {
  animation: badgeFamiliasPulse 3s ease-in-out infinite !important;
  opacity: 1 !important;
  transform: none !important;
}

/* =========================================
   BADGE "MAIS POPULAR" — EDITÁVEL
   O texto é gerenciado pelo config.js
========================================= */
.offer-badge-editable {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 1.6rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 18px rgba(59,147,240,.45);
  z-index: 5;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}
.offer-badge-editable:hover {
  background: var(--color-primary-d);
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 6px 24px rgba(59,147,240,.55);
}
.offer-badge-editable--editing {
  outline: 2px dashed rgba(255,255,255,0.8);
  outline-offset: 3px;
  cursor: text;
  user-select: text;
}
/* Remove o ::before CSS quando o span editável está presente */
.offer-card.has-editable-badge::before {
  display: none;
}

/* =========================================
   ANIMAÇÕES MOBILE — mais sutis
========================================= */
@media (max-width: 768px) {
  /* Reduza distâncias de translate no mobile */
  .rv--fade-up    { transform: translateY(20px); }
  .rv--fade-left  { transform: translateX(-20px); }
  .rv--fade-right { transform: translateX(20px); }
  .rv--scale      { transform: translateY(14px) scale(0.97); }

  /* Duração um pouco mais rápida no mobile */
  .rv { transition-duration: 420ms; }

  /* Book mockup não flutua no mobile (performance) */
  .book-mockup { animation: none; }

  /* Vídeo label: sem pulso no mobile (performance) */
  .video-label { animation: none; }

  /* Botões: sem scale no mobile (evita reflow) */
  .btn--primary:not(#btn-compra):hover,
  .btn--ghost:hover,
  .btn--white:not(#btn-cta-final-action):hover {
    transform: translateY(-1px);
  }

  /* Botões de compra: pulso suave mesmo no mobile */
  #btn-compra, #btn-cta-final-action {
    animation-duration: 3s;
  }

  /* Badge famílias: pulso mais suave */
  .hero__badge { animation-duration: 3.5s; }
}

/* =========================================
   PERFORMANCE — reduce motion (acessibilidade)
========================================= */
@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .btn { transition: background 0.15s ease, color 0.15s ease !important; }
  .book-mockup { animation: none !important; }
  #btn-compra              { animation: none !important; }
  #btn-cta-final-action    { animation: none !important; }
  .btn--hero-buy           { animation: none !important; }
  .btn--free-pulse         { animation: none !important; }
  .wa-float                { animation: none !important; }
  .video-label             { animation: none !important; }
  .hero__badge             { animation: none !important; }
}

/* =========================================
   EDIÇÃO INLINE — contenteditable
   Clique direto no texto para editar
========================================= */

/* Dica visual: hover mostra que é editável */
[contenteditable="true"] {
  outline: none;
  border-radius: 3px;
  transition: background 0.18s ease, box-shadow 0.18s ease;
  cursor: text;
}

/* Hover: fundo suave indicando editável */
[contenteditable="true"]:hover {
  background: rgba(59, 147, 240, 0.07);
  box-shadow: 0 0 0 2px rgba(59, 147, 240, 0.18);
}

/* Foco: borda azul clara, fundo levemente destacado */
[contenteditable="true"]:focus {
  background: rgba(59, 147, 240, 0.10);
  box-shadow: 0 0 0 2px rgba(59, 147, 240, 0.40);
  outline: none;
}

/* Inline: não quebra layout */
.ce-inline {
  display: inline;
  white-space: normal;
}

/* Block: se comporta como bloco */
.ce-block {
  display: block;
}

/* Barra social: cor branca herdada */
.social-bar__inner [contenteditable="true"]:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.social-bar__inner [contenteditable="true"]:focus {
  background: rgba(255, 255, 255, 0.20);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.60);
}

/* Footer: cor branca herdada */
.footer [contenteditable="true"]:hover {
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}
.footer [contenteditable="true"]:focus {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.50);
}

/* CTA final escuro: ajuste de cor */
.section--cta [contenteditable="true"]:hover {
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
}
.section--cta [contenteditable="true"]:focus {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.50);
}

/* Títulos de seção: mantém inline-block para não quebrar decoração */
h2[contenteditable="true"] {
  display: block;
}

/* Impede que botões dentro do contenteditable sejam ativados ao clicar para editar */
[contenteditable="true"] a,
[contenteditable="true"] button {
  pointer-events: none;
}

/* =========================================
   BOTÃO "PUBLICAR TEXTOS"
   Aparece ao lado do botão Editar Página
========================================= */
#ce-publish-btn {
  position: fixed;
  bottom: 1.5rem;
  left: calc(1.5rem + 185px);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #1a6e3c;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.25rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.28);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
  white-space: nowrap;
  opacity: 0.92;
}
#ce-publish-btn:hover {
  background: #22883f;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(34,136,63,.45);
  opacity: 1;
}
#ce-publish-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}
#ce-publish-btn.ce-publish-btn--saved {
  background: #1ea34b;
}
#ce-publish-btn i { font-size: 0.95rem; }

/* Mobile: empilha acima do botão Editar */
@media (max-width: 600px) {
  #ce-publish-btn {
    left: 1.5rem;
    bottom: calc(1.5rem + 56px);
    font-size: 0.82rem;
    padding: 0.6rem 1rem;
  }
}
