/* IMPORTAÇÃO DA FONTE */
@font-face {
  font-family: 'NeulisCursive';
  src: url('font/fonnts.com-Neulis_Cursive_Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* --- VARIÁVEIS E RESET --- */
:root {
  --primary-color: #ffffff;
  --secondary-color: #dbeb33;
  --accent-color: #f46036;
  --text-color: #333;
  --light-bg: #f9f9f9;
  --white: #ffffff;

  --font-main: 'Poppins', sans-serif;
  --font-title: 'Poppins', sans-serif;

  /* NOVO: altura do header fixo (ajuste se necessário) */
  --header-height: 70px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  /* ajuda âncoras (#...) */
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1;

  /* NOVO: compensa o header fixo */
  padding-top: var(--header-height);
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- HEADER --- */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;

  /* NOVO: fixa altura do header */
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 30px;
  margin-right: 10px;
  padding-left: 1rem;
}

.nav-menu {
  margin-left: 3rem;
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-menu a {
  color: #0a2342;
  font-weight: 400;
  font-size: 0.65rem;
}

.nav-menu a:hover {
  background: rgba(10, 35, 66, 0.08);
  transform: translateY(-1px);
}

.nav-menu .btn-nav {
  background-color: #0a2342;
  color: var(--white);
  padding: 10px 20px;
  border-radius: 30px;
}

.mobile-menu-button {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 10px;
  line-height: 1;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 998;
}

/* --- HERO SECTION --- */
.hero {
  background-color: #8aa7c0;
  color: var(--primary-color);

  /* IMPORTANTE: removemos o padding-top usado para "compensar" o header */
  padding-top: 0;

  /* Layout */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* Altura */
  min-height: calc(90vh - var(--header-height));
  padding-bottom: 2rem;
}

.hero-content h1 {
  font-family: 'NeulisCursive', cursive;
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 800;
  display: inline-block;
}

.depoimento {
  background-color: #8aa7c0;
  color: var(--secondary-color);

  /* IMPORTANTE: removemos o padding-top usado para "compensar" o header */
  padding-top: 0;

  /* Layout */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  /* Altura */
  min-height: calc(90vh - var(--header-height));
  padding-bottom: 2rem;
}

.depoimento-content h1 {
  font-family: 'NeulisCursive', cursive;
  font-size: 3rem;
  margin-bottom: 20px;
  display: inline-block;
}

.text-gradient {
  color: var(--secondary-color);
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* --- CADERNO COM TEXTO SOBREPOSTO --- */
.caderno-wrap {
  position: relative;
  width: min(520px, 92vw);
  margin: 14px auto 0;

  /* trava a proporção EXATA do cadernos.png (1609x391) */
  aspect-ratio: 1609 / 391;
}

.caderno-wrap .caderno {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* camada que fica por cima da imagem */
.caderno-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  pointer-events: none;
  /* não atrapalha clique/scroll */
}

/* --- BOTÃO WHATSAPP FIXO NO CADERNO --- */
.whatsapp-caderno {
  position: absolute;

  /* ponto aproximado do centro da meia lua (ajuste fino depois, mas já fica estável) */
  left: 11.2%;
  top: 102.3%;

  /* TAMANHO PROPORCIONAL AO CADERNO */
  width: 9%;
  aspect-ratio: 1 / 1;

  border-radius: 50%;
  background: #CDDD00;
  /* verde e-Raia */
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 6% solid #ffffff;
  /* proporcional também */
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);

  transform: translate(-50%, -50%);
  z-index: 6;
  pointer-events: auto;
}

.whatsapp-caderno i {
  font-size: 55%;
  line-height: 1;
}

/* Hover/Focus: discreto, coerente com visual limpo */
.whatsapp-caderno:hover,
.whatsapp-caderno:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  outline: none;
}

/* área de cada “página” */
.page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: clamp(10px, 3.2vw, 22px);
  padding-top: clamp(16px, 4vw, 28px);
}

/* Ajuste fino para não encostar no “miolo” (a espiral) */
.page-left {
  padding-right: clamp(10px, 5vw, 22px);
  padding-left: clamp(10px, 5vw, 22px);
}

.page-right {
  padding-left: clamp(10px, 5vw, 22px);
  padding-right: clamp(10px, 5vw, 22px);
}

/* Tipografia pensada para caber no mobile */
.page-kicker {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(10px, 2.6vw, 12px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(10, 35, 66, 0.75);
}

.page-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(12px, 3.4vw, 18px);
  line-height: 1.1;
  color: #0a2342;
}

.page-text1 {
  font-family: 'NeulisCursive', cursive;
  font-weight: 600;
  /* font-size: clamp(11px, 3vw, 14px); */
  font-size: 0.8rem;
  line-height: 1.25;
  color: #CDDD00;
}

.page-text2 {
  font-family: var(--font-main);
  font-weight: 600;
  /* font-size: clamp(11px, 3vw, 14px); */
  font-size: 0.8rem;
  line-height: 1.25;
  color: #727272;
}

.page-text3 {
  font-family: 'NeulisCursive', cursive;
  font-weight: 600;
  /* font-size: clamp(11px, 3vw, 14px); */
  font-size: 0.8rem;
  line-height: 1.25;
  color: #5E7284;
}

.page-text4 {
  font-family: var(--font-main);
  font-weight: 600;
  /* font-size: clamp(11px, 3vw, 14px); */
  font-size: 0.8rem;
  line-height: 1.25;
  color: #FFFFFF;
}

.destaque {
  font-weight: 800;
}

.estudante {
  width: 23.5rem;
  max-width: 100%;
  height: auto;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.btn-primary {
  font-family: 'NeulisCursive', cursive;
  display: inline-block;
  margin-top: 6px;

  background-color: #CDDD00;
  color: #525252;

  margin-left: 3.8rem;
  padding: 4px 10px;
  border-radius: 50px;

  font-weight: 600;
  font-size: 0.7rem;

  text-align: center;
  text-decoration: none;

  transition: all 0.3s ease;
}

/* Hover */
.btn-primary:hover {
  background-color: #9ea82f;
  color: #0a2342;
  transform: translateY(-3px);
}

.suporte {
  font-family: 'NeulisCursive', cursive;
  display: inline-block;
  margin-top: -55px;

  background-color: #CDDD00;
  color: #525252;

  margin-left: 7rem;
  padding: 8px 15px;
  border-radius: 10px 0 0 10px;

  font-weight: 600;
  font-size: 0.7rem;

  text-align: center;
  text-decoration: none;

  transition: all 0.3s ease;

  line-height: 1.2;
  text-align: left;
  margin-bottom: 1rem;
}

.hero-content2 h1 {
  font-family: 'NeulisCursive', cursive;
  font-size: 1.1rem;
  font-weight: 800;
  text-align: left;
}

.hero-content3 h1 {
  margin-top: 0.5rem;
  margin-left: 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  text-align: left;
  line-height: 1;
  margin-left: 2rem;
  margin-right: 2rem;
}

.hero-content4 h1 {
  margin-top: 0.5rem;
  margin-left: 1.5rem;
  font-size: 0.7rem;
  font-weight: 400;
  text-align: left;
  line-height: 1;
}

/* Seção Metodologia (Mobile) */
.metodologia h2 {
  color: var(--secondary-color);
  font-family: 'NeulisCursive', cursive;
  text-align: center;
  margin-top: 2rem;
}

.section.metodologia {
  max-height: 37rem;
}

.metodologia-content p {
  text-align: center;
  margin-top: 0rem;
  margin-bottom: 0rem;
  font-size: 0.7rem;
  margin-left: 2.7rem;
  margin-right: 2.7rem;
}

.timeline {
  margin-top: 1rem;
  position: relative;
  /* padding-left: 50px;
        padding-right: 50px; */
  /* Espaçamento dos lados para a linha */
  padding: 0px 0;
  /* Adiciona algum padding vertical */
  display: flow-root;
  /* Importante: garante que o container abriga a linha e os itens flutuantes */
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0rem;
  bottom: 155px;
  /* Alterado: Faz a linha cobrir toda a altura do .timeline */
  left: 50%;
  /* Linha centralizada */
  width: 2px;
  /* height: 70%; */
  background: var(--secondary-color);
  /* Cor da linha vertical */
  transform: translateX(-50%);
  /* Ajuste para centralizar a linha */
  z-index: 0;
  /* Garante que fique atrás dos pontos */
}

/* ADICIONE ESTE BLOCO NO CSS DESKTOP */
.timeline-item::before {
  content: '';
  position: absolute;
  top: 6px;
  /* Ajuste para alinhar com o centro vertical do ponto (bolinha de 14px) */
  height: 2px;
  border-top: 2px dotted var(--secondary-color);
  z-index: 1;
}

.timeline-item.right {
  margin-top: 6rem;
}

/* Linha para Itens ÍMPARES (Esquerda) */
.timeline-item:nth-child(odd)::before {
  /* Inicia no ponto (bolinha) e vai até a borda do conteúdo do item */
  left: 9%;
  /* A largura é a distância entre o item e a linha vertical. 
       Na nossa refatoração, o gap é de 5% + 7px. */
  width: calc(100% + 7px);
}

/* Linha para Itens PARES (Direita) */
.timeline-item:nth-child(even)::before {
  /* Inicia no ponto (bolinha) e vai até a borda do conteúdo do item */
  right: 9%;
  /* A largura é a distância entre o item e a linha vertical. */
  width: calc(100% + 7px);
}

.timeline-item:nth-child(odd) {
  /* Itens ímpares à esquerda */
  float: left;
  clear: left;
  /* transform: translateX(-11px); */
  /* Ajuste visual */
  text-align: right;
  /* Alinha o texto do lado esquerdo para a direita */
}

.timeline-item:nth-child(even) {
  /* Itens pares à direita */
  float: right;
  clear: right;
  /* transform: translateX(10px); */
  /* Ajuste visual */
  text-align: left;
  /* Mantém o texto do lado direito para a esquerda */
}

/* PONTOS (bolinhas) */
.timeline-item::after {
  /* Bolinhas na timeline */
  content: '';
  position: absolute;
  /* TOP: 0 ou 50% é o ideal. Se quiser o ponto no topo do item, use 'top: 0;'. */
  top: 0;
  width: 14px;
  height: 14px;
  background-color: var(--secondary-color);
  border: 2px solid white;
  /* Borda branca para destacar sobre a linha */
  border-radius: 50%;
  z-index: 1;
  /* Garante que fique sobre a linha */
  /* Centraliza o ponto na vertical da linha */
  transform: translateY(0);
  /* Remove o -50% se for para ficar no topo */
}

/* Ponto para Itens ÍMPARES (Esquerda) */
.timeline-item:nth-child(odd)::after {
  right: calc(-11.3% - 7px);
  /* CRUCIAL: Ajuste baseado na largura do contêiner e do ponto */
  /* O valor deve ser a distância da borda do item até o centro da linha. */
  /* Se a linha estiver a 50%, e o item a 45%, você tem 5% de 'gap' entre eles. */
  /* Ajuste este valor de -5% para centralizar o ponto na linha. */
}

/* Ponto para Itens PARES (Direita) */
.timeline-item:nth-child(even)::after {
  left: calc(-11.5% - 7px);
  /* CRUCIAL: Mesmo cálculo do lado oposto */
}

.timeline-item {
  width: 45%;
  /* Quase metade da largura */
  margin-bottom: 100px;
  /* Espaço entre os itens */
  position: relative;
  /* CRUCIAL: Para posicionar o ponto ::after corretamente */
  /* text-align: left; */
  /* Alinha texto à esquerda */
  padding: 10px 0;
  /* Adiciona um padding interno, se necessário */
}

.timeline-item small {
  font-family: 'NeulisCursive', cursive;
  /* Ajustado para montserrat */
  font-size: 0.8rem;
  color: var(--destaque);
  display: block;
  /* Para quebra de linha */
  margin-bottom: 5px;
}

.timeline-item h3 {
  font-family: 'NeulisCursive', cursive;
  ;
  /* Ajustado para montserrat */
  font-size: 1.2rem;
  /* Mobile */
  margin: 5px 0;
  color: var(--secondary-color);
}

.timeline-item p {
  font-size: 0.65rem;
  font-weight: normal;
  margin-left: 0rem;
  margin-right: 0rem;
}

/* Ajuste para alinhar o texto com a bolinha */
.timeline-item small,
.timeline-item h3 {
  display: block;
  /* Garante que o texto comece no topo */
}

.timeline::after {
  /* Clearfix para a timeline */
  content: '';
  display: block;
  clear: both;
}

.timeline-item.left p {
  text-align: right;
}

.timeline-item.right p {
  text-align: left;
}

.timeline-item2::before {
  content: '';
  position: absolute;
  top: 6px;
  /* Ajuste para alinhar com o centro vertical do ponto (bolinha de 14px) */
  height: 2px;
  border-top: 2px dotted var(--secondary-color);
  z-index: 1;
}

.timeline-item2.right {
  margin-top: 0rem;
}

/* Linha para Itens ÍMPARES (Esquerda) */
.timeline-item2:nth-child(odd)::before {
  /* Inicia no ponto (bolinha) e vai até a borda do conteúdo do item */
  left: 9%;
  /* A largura é a distância entre o item e a linha vertical. 
       Na nossa refatoração, o gap é de 5% + 7px. */
  width: calc(100% + 7px);
}

/* Linha para Itens PARES (Direita) */
.timeline-item2:nth-child(even)::before {
  /* Inicia no ponto (bolinha) e vai até a borda do conteúdo do item */
  right: 9%;
  /* A largura é a distância entre o item e a linha vertical. */
  width: calc(100% + 7px);
}

.timeline-item2:nth-child(odd) {
  /* Itens ímpares à esquerda */
  float: left;
  clear: left;
  /* transform: translateX(-11px); */
  /* Ajuste visual */
  text-align: right;
  /* Alinha o texto do lado esquerdo para a direita */
}

.timeline-item2:nth-child(even) {
  /* Itens pares à direita */
  float: right;
  clear: right;
  /* transform: translateX(10px); */
  /* Ajuste visual */
  text-align: left;
  /* Mantém o texto do lado direito para a esquerda */
}

/* PONTOS (bolinhas) */
.timeline-item2::after {
  /* Bolinhas na timeline */
  content: '';
  position: absolute;
  /* TOP: 0 ou 50% é o ideal. Se quiser o ponto no topo do item, use 'top: 0;'. */
  top: 0;
  width: 14px;
  height: 14px;
  background-color: var(--secondary-color);
  border: 2px solid white;
  /* Borda branca para destacar sobre a linha */
  border-radius: 50%;
  z-index: 1;
  /* Garante que fique sobre a linha */
  /* Centraliza o ponto na vertical da linha */
  transform: translateY(0);
  /* Remove o -50% se for para ficar no topo */
}

/* Ponto para Itens ÍMPARES (Esquerda) */
.timeline-item2:nth-child(odd)::after {
  right: calc(-11.3% - 7px);
  /* CRUCIAL: Ajuste baseado na largura do contêiner e do ponto */
  /* O valor deve ser a distância da borda do item até o centro da linha. */
  /* Se a linha estiver a 50%, e o item a 45%, você tem 5% de 'gap' entre eles. */
  /* Ajuste este valor de -5% para centralizar o ponto na linha. */
}

/* Ponto para Itens PARES (Direita) */
.timeline-item2:nth-child(even)::after {
  left: calc(-11.5% - 7px);
  /* CRUCIAL: Mesmo cálculo do lado oposto */
}

.timeline-item2 {
  width: 45%;
  /* Quase metade da largura */
  margin-bottom: 160px;
  /* Espaço entre os itens */
  position: relative;
  /* CRUCIAL: Para posicionar o ponto ::after corretamente */
  /* text-align: left; */
  /* Alinha texto à esquerda */
  padding: 10px 0;
  /* Adiciona um padding interno, se necessário */
}

.timeline-item2 small {
  font-family: 'NeulisCursive', cursive;
  /* Ajustado para montserrat */
  font-size: 0.8rem;
  color: var(--destaque);
  display: block;
  /* Para quebra de linha */
  margin-bottom: 5px;
}

.timeline-item2 h3 {
  font-family: 'NeulisCursive', cursive;
  ;
  /* Ajustado para montserrat */
  font-size: 1.2rem;
  /* Mobile */
  margin: 5px 0;
  color: var(--secondary-color);
}

.timeline-item2 p {
  font-size: 0.65rem;
  font-weight: normal;
  margin-left: 0rem;
  margin-right: 0rem;
}

/* Ajuste para alinhar o texto com a bolinha */
.timeline-item2 small,
.timeline-item2 h3 {
  display: block;
  /* Garante que o texto comece no topo */
}

.timeline-item2.left p {
  text-align: right;
}

.timeline-item2.right p {
  text-align: left;
}

.depoimento-content2 h1 {
  color: var(--primary-color);
  text-align: center;
  margin-left: 1rem;
  margin-right: 1rem;
  font-size: 1.2rem;
  font-weight: normal;
}

/* ========================= */
/* ===== CARROSSEL ======== */
/* ========================= */

.carousel-wrapper {
  position: relative;
  max-width: 650px;
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
}

.carousel-slide img {
  width: 80%;
  max-width: 520px;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Botões laterais */
.carousel-btn {
  background: transparent;
  border: none;
  font-size: 60px;
  color: var(--secondary-color);
  cursor: pointer;
  padding: 0 15px;
  transition: opacity 0.3s;
}

.carousel-btn:hover {
  opacity: 0.7;
}

/* Bolinhas */
.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.carousel-dot.active {
  background: var(--secondary-color);
}

/* ========================= */
/* ========= FAQ =========== */
/* ========================= */
.faq {
  background-color: #8aa7c0;
  padding: 44px 0 64px;
}

.faq-container {
  max-width: 920px;
  padding: 0 20px;
  margin-bottom: 2rem;
}

.faq-title {
  font-family: 'NeulisCursive', cursive;
  font-size: 2.6rem;
  text-align: center;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: #ffffff;
  border: 2px solid #cddd00;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.10);
}

.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 18px;
  cursor: pointer;
  text-align: left;
  background-color: #A7BDD0;
}

.faq-question span {
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1rem;
  line-height: 1.2;
}

.faq-icon {
  font-size: 1.1rem;
  color: #0a2342;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  padding: 0 18px;
}

.faq-answer p {
  color: #525252;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 10px;
}

.faq-answer p:last-child {
  margin-bottom: 16px;
}

/* Estado aberto */
.faq-item.is-open .faq-answer {
  padding-top: 1rem;
  margin-bottom: 0.5rem;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  /* plus vira "x", visual moderno */
}

/* Acessibilidade (foco do teclado) */
.faq-question:focus-visible {
  outline: 3px solid rgba(219, 235, 51, 0.8);
  outline-offset: 2px;
}

.faq-content h1 {
  font-family: 'NeulisCursive', cursive;
  font-size: 1.6rem;
  margin-bottom: 0px;
  display: inline-block;
  margin-left: 2rem;
  line-height: 1;
}

.faq-content2 h1 {
  margin-top: 0.7rem;
  color: var(--primary-color);
  text-align: left;
  margin-left: 2rem;
  margin-right: 1rem;
  font-size: 1.2rem;
  font-weight: normal;
}

.faq-content h1:first-child {
  color: var(--secondary-color);
  text-align: left;
  /* amarelo institucional */
}

.faq-content h1:nth-child(2) {
  color: var(--primary-color);
  text-align: left;
  /* branco */
}

.btn-secondary {
  font-family: 'NeulisCursive', cursive;
  display: inline-block;
  margin-top: 6px;

  background-color: #CDDD00;
  color: #525252;

  margin-left: 2rem;
  margin-right: 2rem;
  padding: 4px 19px;
  border-radius: 50px;

  font-weight: 600;
  font-size: 1.1rem;

  text-align: center;
  text-decoration: none;

  transition: all 0.3s ease;
}

/* Hover */
.btn-secondary:hover {
  background-color: #9ea82f;
  color: #0a2342;
  transform: translateY(-3px);
}

/* =========================
   RODAPÉ (FOOTER) — e-Raia
========================= */

.site-footer {
  background: #ffffff;
}

.footer-card {
  background: #ffffff;
  position: relative;
  overflow: hidden;
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-left: 1rem;
}

.footer-top {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.footer-logo img {
  height: 30px;
  /* combina com sua logo do header */
}

.footer-detail {
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: clamp(170px, 22vw, 320px);
  height: auto;
  pointer-events: none;
  user-select: none;
  opacity: 1;
}

/* 3 blocos SEMPRE na horizontal (inclusive no mobile) */
.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: nowrap;
  /* mantém horizontal */
  overflow-x: auto;
  /* se faltar espaço, rola */
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  /* espaço do scroll sem “comer” conteúdo */
}

/* deixa o scroll mais “limpo” */
.footer-grid::-webkit-scrollbar {
  height: 6px;
}

.footer-grid::-webkit-scrollbar-thumb {
  background: rgba(10, 35, 66, 0.2);
  border-radius: 10px;
}

.footer-block {
  min-width: 100px;
  /* garante os 3 blocos lado a lado e habilita scroll no mobile */
}

.footer-block h4 {
  font-family: 'NeulisCursive', cursive;
  color: #8aa7c0;
  font-size: 0.6rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(10, 35, 66, 0.75);
  font-size: 0.55rem;
  line-height: 1.35;
  margin: 8px 0;
}

.footer-link i {
  margin-top: 2px;
  color: rgba(10, 35, 66, 0.55);
}

.footer-link:hover {
  color: rgba(10, 35, 66, 0.95);
}

.footer-card {
  position: relative;
  overflow: hidden;
}

/* 1️⃣ Deixe o detalhe amarelo abaixo */
.footer-detail {
  position: absolute;
  right: 0px;
  bottom: 0px;
  width: clamp(170px, 22vw, 320px);
  z-index: 1;
  /* camada baixa */
}

/* 2️⃣ Coloque todo o conteúdo acima */
.footer-top,
.footer-grid {
  position: relative;
  z-index: 2;
  /* camada superior */
}

/* Animação Pulse */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 96, 54, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(244, 96, 54, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(244, 96, 54, 0);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* --- BOTÕES FLUTUANTES --- */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
  align-items: center;
}

.float-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s;
  cursor: pointer;
  border: none;
}

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

.whatsapp-float {
  background-color: #25d366;
  color: white;
  font-size: 30px;
  animation: pulse 2s infinite;
}

.back-to-top {
  background-color: #0a2342;
  color: white;
  font-size: 20px;
  display: none;
  width: 45px;
  height: 45px;
}

/* Se o caderno ficar pequeno demais no mobile, reduz o conteúdo */
@media (max-width: 360px) {
  .page-text {
    display: none;
  }
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 480px) {
  :root {
    --header-height: 70px;
    /* ajuste aqui se no mobile o header mudar */
  }

  .container {
    padding: 0;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-button {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 10px;
    line-height: 1;
  }

  .hero {
    min-height: calc(35vh - var(--header-height));
    flex-direction: column;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.4rem;
    line-height: 1.2;
    padding-left: 2rem;
    padding-right: 1rem;
    text-align: left;
    margin-top: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .whatsapp-caderno {
    width: 13%;
    height: 53%;
    left: 8.5%;
    bottom: -31%;
    border-width: 3px;
  }

  .whatsapp-caderno i {
    font-size: 24px;
  }

  .floating-buttons {
    right: 15px;
    bottom: 15px;
  }

  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .depoimento {
    min-height: calc(25vh - var(--header-height));
    flex-direction: column;
    text-align: center;
  }

  .depoimento-content h1 {
    font-size: 1.6rem;
    line-height: 1.2;
    padding-left: 2rem;
    padding-right: 1rem;
    margin-top: 2rem;
    text-align: center;
  }

  .depoimento-content p {
    font-size: 1rem;
  }

  .carousel-btn {
    font-size: 40px;
  }

  /* Mobile */
  .faq {
    padding: 0px 0 52px;
  }

  .faq-title {
    font-size: 1.3rem;
    margin-bottom: 14px;
  }

  .faq-question span {
    font-size: 0.80rem;
  }

  .faq-answer p {
    font-size: 0.88rem;
  }

  .faq-container {
    padding: 0 20px;
  }

}

/* Mobile grande / small tablets (481–768px) — ajustes de tipografia e larguras */
@media (min-width: 481px) and (max-width: 768px) {

  .hero-content h1 {
    font-size: 2.0rem;
    line-height: 1.15;
  }

  .btn-primary {
    font-size: 0.85rem;
    margin-left: 0;
    padding: 6px 16px;
  }

  .suporte {
    font-size: 0.85rem;
    margin-left: 0;
    border-radius: 10px;
  }

  .hero-content2 h1 {
    font-size: 1.15rem;
  }

  .hero-content3 h1 {
    font-size: 0.85rem;
    line-height: 1.25;
    margin-left: 2rem;
    margin-right: 2rem;
  }

  .metodologia-content p {
    font-size: 0.85rem;
    margin-left: 2rem;
    margin-right: 2rem;
  }

  .depoimento-content h1 {
    font-size: 2.0rem;
  }

  .depoimento-content2 h1 {
    font-size: 0.8rem;
  }

  .faq-title {
    font-size: 1.8rem;
  }

  .faq-question span {
    font-size: 0.95rem;
  }

  .faq-answer p {
    font-size: 0.92rem;
  }

  .btn-secondary {
    font-size: 0.95rem;
    margin-left: 0;
    padding: 6px 22px;
  }
}

@media (max-width: 768px) {

  .nav-menu {
    margin-left: 0;
  }

  /* Menu vira drawer */
  .nav-menu {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-height);
    background: #fff;

    padding: 14px 16px 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);

    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;

    transition: transform 240ms ease, opacity 240ms ease;
    z-index: 999;
  }

  .nav-menu ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* <- essencial: ocupa a largura */
    gap: 10px;
    width: 100%;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: flex;
    width: 100%;
    justify-content: center;
    /* troque pra flex-start se quiser alinhado à esquerda */
    align-items: center;

    padding: 14px 14px;
    border-radius: 14px;

    background: rgba(10, 35, 66, 0.04);
    color: #0a2342;
    font-size: 1rem;
    font-weight: 600;

    transition: transform 160ms ease, background 160ms ease;
  }

  .nav-menu a:hover {
    background: rgba(10, 35, 66, 0.08);
    transform: translateY(-1px);
  }

  .nav-menu a.cta {
    background: #CDDD00;
    color: #0a2342;
    font-weight: 700;
  }

  /* Estado aberto */
  body.menu-open .nav-menu {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  body.menu-open .menu-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a:focus-visible {
    outline: 3px solid rgba(219, 235, 51, 0.8);
    outline-offset: 2px;
  }

  /* trava scroll do fundo */
  body.menu-open {
    overflow: hidden;
  }

  /* remove o antigo ícone */
  .mobile-menu-icon {
    display: none;
  }

  .mobile-menu-button {
    display: block;
  }

  .floating-buttons {
    right: 5px;
    bottom: 110px;
  }

  .hero {
    min-height: calc(35vh - var(--header-height) - 70px);
    flex-direction: column;
    text-align: center;
  }

  .depoimento {
    min-height: calc(25vh - var(--header-height) - 70px);
    flex-direction: column;
    text-align: center;
  }

}

@media (min-width: 768px) and (max-width: 1024px) {

  .container {
    max-width: 900px;
    padding: 0 30px;
  }

  /* HERO */
  .hero {
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    min-height: calc(85vh - var(--header-height));
    padding-bottom: 3rem;
  }

  .hero-content h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    text-align: center;
    margin-top: 2rem;
  }

  .hero-content2 h1 {
    font-size: 1.3rem;
    text-align: center;
  }

  .hero-content3 h1 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-left: 0;
    margin-right: 0;
    text-align: center;
  }

  .logo img {
    height: 42px;
    margin-right: 10px;
    padding-left: 1.7rem;
  }

  .item-menu {
    margin-top: 0rem;

    background-color: #CDDD00;

    margin-left: 0rem;
    padding: 8px 15px;
    border-radius: 20px;

    font-weight: 600;
    font-size: 0.7rem;

    text-align: center;
    text-decoration: none;

    transition: all 0.3s ease;

    line-height: 1.2;
    text-align: left;
    margin-bottom: 0rem;
  }

  .nav-menu a {
    font-size: 1rem;
    margin-top: 0rem;
    color: var(--primary-color);
  }

  .whatsapp-caderno {
    left: 8.5%;
    top: 99.3%;
    width: 12%;
  }

  .btn-secondary {
    font-size: 0.95rem;
    padding: 8px 71px;
    margin-left: 6rem;
    display: inline-block;
  }

  .whatsapp-caderno i {
    font-size: 240%;
  }

  .btn-primary {
    font-size: 1.2rem;
    padding: 8px 22px;
    margin-left: 6rem;
  }

  .btn-secondary {
    padding: 8px 43px;
  }


  .hero-content2 h1 {
    font-size: 1.3rem;
    text-align: left;
  }

  .hero-content3 h1 {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-left: 8.5rem;
    margin-right: 0;
    text-align: left;
  }

  .estudante {
    width: 28rem;
    margin: 2rem auto;
    display: block;
  }

  .suporte {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
  }

  /* CADERNO */
  .caderno-wrap {
    width: min(650px, 80vw);
  }

  .page-text1,
  .page-text2,
  .page-text3,
  .page-text4 {
    font-size: 0.95rem;
  }

  /* BOTÕES */
  .btn-secondary {
    font-size: 0.95rem;
    padding: 8px 80px;
    margin-left: 7rem;
    display: inline-block;
  }

  .btn-primary {
    font-size: 0.95rem;
    padding: 8px 71px;
    margin-left: 6rem;
    display: inline-block;
  }

  /* METODOLOGIA */
  .section.metodologia {
    max-height: none;
    padding-bottom: 3rem;
  }

  .metodologia-content p {
    font-size: 0.95rem;
    margin-left: 0;
    margin-right: 0;
  }

  .timeline-item,
  .timeline-item2 {
    width: 46%;
  }

  .timeline-item h3,
  .timeline-item2 h3 {
    font-size: 1.1rem;
  }

  .timeline-item p,
  .timeline-item2 p {
    font-size: 0.85rem;
  }

  /* DEPOIMENTO */
  .depoimento {
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    min-height: calc(90vh - var(--header-height));
    padding-bottom: 2rem;
  }

  .depoimento-content h1 {
    font-size: 2.3rem;
    text-align: center;
  }

  .depoimento-content2 h1 {
    font-size: 0.9rem;
  }

  .carousel-slide img {
    width: 75%;
  }

  /* FAQ */
  .faq-container {
    margin-left: 5rem;
    margin-right: 5rem;
  }

  .faq-title {
    font-size: 2rem;
  }

  .faq-question span {
    font-size: 1rem;
  }

  .faq-answer p {
    font-size: 0.95rem;
  }

  .faq-content h1 {
    font-size: 1.2rem;
    text-align: center;
    margin-left: 5rem;
  }

  .faq-content2 h1 {
    font-size: 0.95rem;
    text-align: left;
    margin-left: 0;
    margin-left: 5rem;
    margin-right: 5rem;
  }

  /* FOOTER */
  .footer-block h4 {
    font-size: 0.8rem;
  }

  .footer-link {
    font-size: 0.75rem;
  }

}

@media (min-width: 1024px) and (max-width: 1366px) {
  .container {
    max-width: 1024px;
  }

  .header-container {
    display: flex;
    justify-content: center;
  }

  .logo img {
    height: 42px;
    margin-right: 10px;
    padding-left: 1.7rem;
  }

  .item-menu {
    margin-top: 0rem;

    background-color: #CDDD00;

    margin-left: 0rem;
    padding: 8px 15px;
    border-radius: 20px;

    font-weight: 600;
    font-size: 0.7rem;

    text-align: center;
    text-decoration: none;

    transition: all 0.3s ease;

    line-height: 1.2;
    text-align: left;
    margin-bottom: 0rem;
  }

  .nav-menu a {
    font-size: 1rem;
    margin-top: 0rem;
    color: var(--primary-color);
  }

  .hero {
    min-height: calc(35vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    text-align: center;
  }

  .hero-content3 h1 {
    margin-top: 0.5rem;
    margin-left: 1.5rem;
    font-size: 0.7rem;
    font-weight: 400;
    text-align: left;
    line-height: 1;
    margin-left: 8rem;
    margin-right: 5rem;
  }

  .hero h1 {
    font-size: 2.3rem;
    margin-top: 3rem;
    margin-left: 14rem;
    margin-right: 4rem;
    text-align: left;
  }

  .hero-content2 h1 {
    font-size: 2em;
    margin-top: 1rem;
    margin-left: 6rem;
    margin-right: 1rem;
  }

  .hero-content3 h1 {
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-left: 12.5rem;
    margin-right: 1rem;
    margin-bottom: 2rem;
  }

  .hero-content4 h1 {
    font-size: 1.8rem;
    margin-top: 1rem;
    margin-left: 12.5rem;
    margin-right: 1rem;
    margin-bottom: 3rem
  }

  .nav-menu a {
    font-size: 1rem;
    margin-top: 0rem;
    color: var(--primary-color);
  }

  .nav-menu ul {
    gap: 10px;
  }

  .caderno-wrap .caderno {
    width: 114%;
  }

  .whatsapp-caderno {
    position: absolute;
    left: 9.5%;
    top: 101.3%;
    width: 13%;
  }

  .whatsapp-caderno i {
    font-size: 40px;
  }

  .btn-primary {
    margin-left: 11rem;
    font-size: 1.18rem;
  }

  .page-text1 {
    font-size: 1rem;
  }

  .page-text2 {
    font-size: 0.9rem;
  }

  .page-text3 {
    font-size: 1rem;
    margin-left: 6rem;
  }

  .page-text4 {
    font-size: 0.9rem;
    margin-left: 6rem;
  }

  .estudante {
    width: 37rem;
    margin-left: 4rem;
  }

  .suporte {
    font-size: 1.3rem;
    border-radius: 10px;
    margin-left: 27rem;
    margin-top: -45px;
  }


  .metodologia h2 {
    font-size: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .metodologia-content p {
    font-size: 1.5rem;
  }

  .timeline {
    margin-top: 3rem;
  }

  .timeline-item h3 {
    font-size: 2rem;
  }

  .timeline-item2 h3 {
    font-size: 2rem;
  }

  .timeline-item p {
    font-size: 1.2rem;
  }

  .timeline::before {
    bottom: 110px;
  }

  .depoimento {
    margin-top: 10rem;
    display: flex;
    flex-direction: column;
    padding-top: 2rem;
  }

  .depoimento-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    text-align: center;
  }

  .depoimento-content2 h1 {
    font-size: 1.5rem;
  }

  .faq {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .faq-container {
    margin-left: 15rem;
    margin-right: 15rem;
  }

  .faq-content h1 {
    font-size: 2rem;
    text-align: center;
    margin-left: 9rem;
  }

  .faq-content2 h1 {
    font-size: 1.5rem;
    text-align: left;
    margin-left: 9rem;
    margin-right: 5rem;
    margin-bottom: 2rem
  }

  .btn-secondary {
    font-size: 1.5rem;
    border-radius: 10px;
    padding: 4px 19px;
    margin-left: 20rem;
    margin-right: 20rem;
  }

  .footer-logo img {
    height: 60px;
    /* combina com sua logo do header */
  }

  .footer-block h4 {
    font-family: 'NeulisCursive', cursive;
    color: #8aa7c0;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .footer-link {
    font-size: 0.7rem;
  }

  .site-footer .container {
    max-width: 1280px;
  }

  .footer-grid {
    justify-content: flex-start;
    margin-top: 3rem;
  }

  .footer-block {
    margin-right: 9rem;
  }

}

@media (min-width: 1367px) {

  .container {
    max-width: 1280px;
  }

  .header-container {
    display: flex;
    justify-content: center;
  }

  .logo img {
    height: 40px;
    margin-right: 10px;
    padding-left: 1.7rem;
  }

  .nav-menu a {
    font-weight: 400;
    font-size: 1.65rem;
  }

  .logo img {
    height: 42px;
    margin-right: 10px;
    padding-left: 1.7rem;
  }

  .nav-menu a {
    font-size: 1rem;
    margin-top: 0rem;
    color: var(--primary-color);
  }

  .item-menu {
    margin-top: 0rem;

    background-color: #CDDD00;

    margin-left: 0rem;
    padding: 8px 15px;
    border-radius: 20px;

    font-weight: 600;
    font-size: 0.7rem;

    text-align: center;
    text-decoration: none;

    transition: all 0.3s ease;

    line-height: 1.2;
    text-align: left;
    margin-bottom: 0rem;
  }

  .hero {
    min-height: calc(95vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: 3.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-text1,
  .page-text3 {
    font-size: 1.5rem;
  }

  .page-text2,
  .page-text4 {
    font-size: 1.1rem;
  }

  .whatsapp-caderno {
    width: 13%;
    height: 53%;
    left: 8.5%;
    bottom: -31%;
    border-width: 3px;
  }

  .whatsapp-caderno i {
    font-size: 40px;
  }

  .btn-primary {
    font-size: 1.05rem;
    padding: 8px 10px;
    margin-left: 5rem;
    display: inline-block;
  }

  .estudante {
    width: 32.5rem;
  }

  .suporte {
    margin-left: 5rem;
    font-size: 1.05rem;
    border-radius: 10px;
    margin-left: 17rem;
    margin-top: -45px;
  }

  .hero-content2 h1 {
    font-size: 1.9rem;
  }

  .hero-content3 h1 {
    margin-top: 0.5rem;
    margin-left: 1.5rem;
    font-size: 1.6rem;
    font-weight: 400;
    text-align: left;
    line-height: 1;
    margin-left: 19rem;
    margin-right: 15rem;
  }

  .metodologia h2 {
    font-size: 2.5rem;
  }

  .timeline-item small,
  .timeline-item h3 {
    font-size: 1.9rem;
  }

  .metodologia-content p {
    font-size: 1.5rem;
    margin-left: 0;
    margin-right: 0;
  }

  .depoimento {
    min-height: calc(95vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    margin-top: 14rem;
  }

  .depoimento-content2 h1 {
    font-size: 1.9rem;
  }

  .depoimento-content h1 {
    font-size: 3.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }

  .carousel-slide img {
    width: 100%;
  }

  p {
    font-size: 1.15rem;
  }

  .faq-container {
    margin-left: 5rem;
    margin-right: 5rem;
  }

  .faq-title {
    font-size: 2.5rem;
    align-items: center;
  }

  .faq-container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }

  .faq-content h1:first-child {
    color: var(--secondary-color);
    text-align: center;
    font-size: 2rem;
    margin-left: 6rem;
  }

  .faq-content h1:nth-child(2) {
    color: var(--primary-color);
    text-align: center;
    font-size: 2rem;
    margin-left: 6rem;
  }

  .faq-content2 h1 {
    font-size: 1.8rem;
    text-align: left;
    margin-left: 6rem;
    margin-right: 6rem;
    line-height: 1;
  }

  .btn-secondary {
    font-size: 1.8rem;
    padding: 6px 22px;
    margin-left: 23rem;
    margin-right: 23rem;
    display: block;
  }

  .footer-logo img {
    height: 80px;
    /* combina com sua logo do header */
  }

  .footer-block h4 {
    font-family: 'NeulisCursive', cursive;
    color: #8aa7c0;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
  }

  .footer-link {
    font-size: 1.3rem;
  }
}

/* Ultrawide / alta resolução (1920px+) — ajustes finos de tipografia e larguras */
@media (min-width: 1920px) {
  .container {
    max-width: 1440px;
  }

  .header-container {
    display: flex;
    justify-content: center;
  }

  .logo img {
    height: 42px;
    margin-right: 10px;
    padding-left: 1.7rem;
  }

  .item-menu {
    margin-top: 0rem;

    background-color: #CDDD00;

    margin-left: 0rem;
    padding: 8px 15px;
    border-radius: 20px;

    font-weight: 600;
    font-size: 0.7rem;

    text-align: center;
    text-decoration: none;

    transition: all 0.3s ease;

    line-height: 1.2;
    text-align: left;
    margin-bottom: 0rem;
  }

  .nav-menu a {
    font-size: 1rem;
    margin-top: 0rem;
    color: var(--primary-color);
  }

  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .depoimento {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
  }

  .hero-content h1,
  .depoimento-content h1 {
    font-size: 3.9rem;
    max-width: 1050px;
  }

  .faq-container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }

  /* textos gerais um pouco mais confortáveis em telas grandes */
  .faq-answer p {
    font-size: 1.05rem;
  }

  .faq-content h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-left: 4rem;
  }

  .faq-content2 h1 {
    font-size: 2rem;
    text-align: left;
    margin-left: 4rem;
    margin-right: 4rem;
  }

  .btn-secondary {
    font-size: 1.8rem;
    padding: 6px 22px;
    margin-left: 50rem;
    margin-right: 50rem;
    display: block;
  }
}