/* =========================================
   ESCOLA PRISMA - VARIÁVEIS DE MARCA E BASE
   ========================================= */

/* Google Fonts carregado via <link preload> no HTML para evitar bloqueio duplo */

:root {
  /* Cores Primárias */
  --amarelo-prisma: #FFD400;
  --laranja-prisma: #FF6A1A;

  /* Cores Neutras */
  --preto-carvao: #2B2B2B;
  --cinza-claro: #F5F5F7;
  /* Apple style gray */
  --branco: #FFFFFF;

  /* Fontes */
  --font-titulo: 'Poppins', sans-serif;
  --font-texto: 'Montserrat', sans-serif;

  /* Proporções e Espaçamentos (Grid) */
  --espacamento-secao: 100px 20px;
  --container-max-width: 1140px;
}

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

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

body {
  font-family: var(--font-texto);
  color: var(--preto-carvao);
  background-color: var(--branco);
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================================
   TIPOGRAFIA E HIERARQUIA
   ========================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-titulo);
  color: var(--preto-carvao);
  margin-bottom: 1rem;
}

h1 {
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.1;
}

h2 {
  font-weight: 600;
  font-size: 2.25rem;
  line-height: 1.2;
}

h3 {
  font-weight: 600;
  font-size: 1.5rem;
}

h4 {
  font-weight: 600;
  font-size: 1.25rem;
}

p {
  font-weight: 400;
  margin-bottom: 1rem;
  color: #4A4A4A;
}

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

.subtitle {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

a {
  text-decoration: none;
  color: var(--preto-carvao);
  transition: all 0.3s ease;
}

/* =========================================
   ESTRUTURA GRID & CONTAINERS
   ========================================= */

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: var(--espacamento-secao);
}

.section-bg-gray {
  background-color: var(--cinza-claro);
}

.section-header {
  margin-bottom: 50px;
}

/* =========================================
   BOTÕES E CTAs
   ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  min-height: 48px;
  /* Touch target mínimo Google */
  font-family: var(--font-titulo);
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--laranja-prisma);
  color: var(--branco);
  box-shadow: 0 4px 15px rgba(255, 106, 26, 0.3);
}

.btn-primary:hover {
  background-color: #e55c15;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 106, 26, 0.4);
  color: var(--branco);
}

.btn-secondary {
  background-color: transparent;
  color: var(--preto-carvao);
  border: 2px solid var(--amarelo-prisma);
}

.btn-secondary:hover {
  background-color: var(--amarelo-prisma);
  color: var(--preto-carvao);
}

.cta-pulse {
  position: relative;
  will-change: transform;
}

.cta-pulse::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background-color: rgba(255, 106, 26, 0.4);
  animation: pulse 2s infinite;
  z-index: -1;
  will-change: transform, opacity;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

/* Desktop: CTA do Header visível */
#cta-header {
  display: inline-flex;
}

/* Mobile: CTA do Header oculto (o WhatsApp flutuante já cobre) */
@media (max-width: 768px) {
  #cta-header {
    display: none !important;
  }
}

/* =========================================
   TOP BAR (BARRA DE UTILIDADES)
   ========================================= */

.top-bar {
  background-color: #2B2B2B;
  color: #FFF;
  font-size: 0.8rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
  padding: 8px 0;
  transition: transform 0.3s ease;
  will-change: transform;
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.logo-positivo-badge {
  height: 28px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
}

.top-bar-left {
  display: flex;
  align-items: center;
}

.logo-positivo {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-phone {
  color: #FFF;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-phone:hover {
  color: var(--amarelo-prisma);
}

.top-bar-link {
  color: #FFF;
  font-weight: 500;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.top-bar-link:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  color: #FFF;
}

/* =========================================
   HAMBURGER BUTTON
   ========================================= */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--preto-carvao);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) {
  margin-bottom: 6px;
}

.hamburger span:nth-child(2) {
  margin-bottom: 6px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* =========================================
   MOBILE MENU OVERLAY
   ========================================= */

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: #FFF;
  z-index: 1060;
  flex-direction: column;
  padding: 100px 30px 40px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-nav {
  list-style: none;
  margin-bottom: 30px;
  padding: 0;
}

.mobile-menu-nav li {
  border-bottom: 1px solid #F0F0F0;
}

.mobile-menu-nav a {
  display: flex;
  align-items: center;
  padding: 16px 0;
  font-family: var(--font-titulo);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--preto-carvao);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-menu-nav a:hover {
  color: var(--laranja-prisma);
}

.mobile-menu-utils {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.mobile-menu-utils a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.mobile-util-phone {
  background: #F5F5F7;
  color: var(--preto-carvao);
}

.mobile-util-pais {
  background: var(--laranja-prisma);
  color: #FFF;
}

.mobile-util-pais:hover {
  color: #FFF;
}

.mobile-util-aluno {
  background: var(--preto-carvao);
  color: #FFF;
}

.mobile-util-aluno:hover {
  color: #FFF;
}

.mobile-menu-cta {
  margin-top: auto;
}

.mobile-menu-cta .btn {
  width: 100%;
  text-align: center;
}

/* =========================================
   HEADER & NAVEGAÇÃO
   ========================================= */

.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 40px;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  transition: padding 0.3s ease, top 0.3s ease, box-shadow 0.3s ease;
}

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

.logo {
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.logo-img-footer {
  height: 60px;
  width: auto;
  object-fit: contain;
  /* Sem filter: agora usamos um arquivo dedicado (logo-branca.webp) */
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-titulo);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--preto-carvao);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  color: var(--laranja-prisma);
}

/* =========================================
   HERO SECTION
   ========================================= */

.hero {
  padding-top: 180px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  min-height: 90vh;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.trust-badge {
  display: inline-block;
  background-color: transparent;
  color: #ffffff;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
  font-size: 0.875rem;
}

.trust-badge i {
  margin-right: 5px;
}

.hero-content h1 {
  margin-bottom: 25px;
  color: var(--preto-carvao);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.urgency-text {
  font-size: 0.85rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-image {
  position: relative;
}

/* =========================================
   HERO SLIDER
   ========================================= */

.hero-slider {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  z-index: 2;
  /* Define aspect ratio for the slider */
  aspect-ratio: 3/2;
}

.hero-slides {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  color: var(--preto-carvao);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.slider-btn:hover {
  background: var(--branco);
  color: var(--laranja-prisma);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slider-btn.prev {
  left: 15px;
}

.slider-btn.next {
  right: 15px;
}

.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

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

.dot.active {
  background: var(--laranja-prisma);
  width: 20px;
  border-radius: 5px;
}

/* =========================================
   A ESCOLA (PROPOSTA E DIFERENCIAIS)
   ========================================= */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--branco);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 106, 26, 0.1);
  color: var(--laranja-prisma);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
}

/* =========================================
   ROTINA REAL
   ========================================= */

.rotina-real .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.rotina-lista {
  list-style: none;
  margin-top: 40px;
}

.rotina-lista li {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.rotina-icone {
  width: 32px;
  height: 32px;
  background: var(--amarelo-prisma);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--preto-carvao);
  margin-top: 5px;
}

.rotina-video-placeholder {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('assets/hero_prisma.webp') center/cover;
  border-radius: 24px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.rotina-video-placeholder:hover {
  transform: scale(1.02);
}

.rotina-video-placeholder i {
  font-size: 3rem;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

/* =========================================
   FASES DE ENSINO
   ========================================= */

.fases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.fase-card {
  background: var(--branco);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.fase-card:hover {
  transform: translateY(-10px);
}

.fase-header {
  padding: 20px;
  font-family: var(--font-titulo);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--branco);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fase-header.amarela {
  background-color: var(--amarelo-prisma);
  color: var(--preto-carvao);
}

.fase-header.laranja {
  background-color: var(--laranja-prisma);
}

.fase-header.carvao {
  background-color: var(--preto-carvao);
}

.fase-body {
  padding: 40px 30px;
}

.fase-body h3 {
  margin-bottom: 15px;
}

.fase-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  /* Touch target mínimo Google */
  font-weight: 600;
  color: var(--laranja-prisma);
  margin-top: 15px;
}

.fase-link:hover {
  gap: 12px;
}

/* =========================================
   ECOSSISTEMA (DIFERENCIAIS)
   ========================================= */

.ecossistema .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ecossistema-content {
  max-width: 800px;
  margin-bottom: 60px;
}

.ecossistema-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
}

.eco-item {
  padding: 30px;
  border: 1px solid var(--cinza-claro);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.eco-item:hover {
  border-color: var(--amarelo-prisma);
  box-shadow: 0 10px 20px rgba(255, 212, 0, 0.1);
}

.eco-item i {
  font-size: 2.5rem;
  color: var(--preto-carvao);
  margin-bottom: 20px;
}

/* =========================================
   PROVA SOCIAL
   ========================================= */

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.depoimento-card {
  background: var(--branco);
  padding: 50px;
  border-radius: 24px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
  position: relative;
  text-align: left;
}

.quote-icon {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 3rem;
  color: rgba(230, 230, 230, 0.5);
}

.depoimento-texto {
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.depoimento-autor {
  display: flex;
  align-items: center;
  gap: 15px;
}

.autor-avatar {
  width: 50px;
  height: 50px;
  background: var(--laranja-prisma);
  color: var(--branco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-titulo);
  font-weight: 600;
  font-size: 1.2rem;
}

.depoimento-autor strong {
  display: block;
  font-family: var(--font-titulo);
  color: var(--preto-carvao);
}

.depoimento-autor span {
  font-size: 0.85rem;
  color: #888;
}

/* =========================================
   CTA FINAL E FOOTER
   ========================================= */

.cta-final {
  background-color: var(--preto-carvao);
  color: var(--branco);
  padding: 100px 20px;
}

.cta-final h2 {
  color: var(--branco);
}

.cta-final p {
  color: #AAA;
  max-width: 700px;
  margin: 0 auto 40px;
}

.footer {
  background-color: #FFF;
  color: var(--preto-carvao);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer .tagline {
  color: #888;
  margin-top: 15px;
}

.footer-contact h4 {
  color: var(--preto-carvao);
  margin-bottom: 20px;
}

.footer-contact p {
  color: #4A4A4A;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 0.875rem;
}

.footer-bottom p {
  color: #A0A0A0;
  /* Contraste reforçado sobre fundo #1A1A1A */
}

/* =========================================
   WHATSAPP FLUTUANTE
   ========================================= */

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  left: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  will-change: transform;
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  background-color: rgba(37, 211, 102, 0.5);
  animation: pulse-wa 2s infinite;
  z-index: -1;
  will-change: transform, opacity;
}

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

@keyframes pulse-wa {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* =========================================
   INSTAGRAM FEED
   ========================================= */

.instagram-feed {
  padding: 80px 20px;
}

.instagram-link {
  color: var(--laranja-prisma);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.instagram-link:hover {
  text-decoration: underline;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.insta-card {
  background: var(--branco);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insta-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.insta-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.insta-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.insta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insta-card:hover .insta-img img {
  transform: scale(1.05);
}

.insta-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: #FFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  backdrop-filter: blur(4px);
}

.insta-icon.center-play {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  color: var(--preto-carvao);
}

.insta-body {
  padding: 20px;
}

.insta-text {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insta-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: #888;
  font-size: 0.9rem;
  font-weight: 500;
}

.insta-stats span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.insta-dots {
  position: static;
  transform: none;
  margin-top: 30px;
  display: none;
}

/* =========================================
   RESPONSIVIDADE (MOBILE)
   ========================================= */

@media (max-width: 992px) {

  .hero .container,
  .rotina-real .container,
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
    align-items: center;
    text-align: center;
  }

  .hero-actions {
    align-items: center;
  }

  .hero-image {
    order: 2;
    margin-top: 30px;
  }

  .features-grid,
  .fases-grid {
    grid-template-columns: 1fr;
  }

  .ecossistema-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .insta-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
  }

  .insta-card {
    min-width: 280px;
    scroll-snap-align: center;
  }

  /* Hide scrollbar */
  .insta-grid::-webkit-scrollbar {
    display: none;
  }

  .insta-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .insta-dots {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .mobile-overlay {
    display: none;
  }

  .top-bar-left {
    display: none;
  }

  .top-bar .container {
    justify-content: center;
  }

  .header .container {
    justify-content: space-between;
  }

  .logo-img {
    height: 50px;
  }

  h1 {
    font-size: 2.25rem;
  }

  .rotina-lista li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 20px;
    left: 20px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  /* Touch targets e CTAs full-width no mobile */
  .btn {
    width: 100%;
    text-align: center;
  }

  .fase-link {
    width: 100%;
    justify-content: center;
  }

  .nav-links a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .ecossistema-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  section {
    padding: 60px 20px;
  }

  /* Garantia de legibilidade mínima (16px) */
  body {
    font-size: 16px;
  }

  p,
  .depoimento-texto,
  .rotina-lista p {
    font-size: 1rem;
  }

  .top-bar-right {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .top-bar-link {
    padding: 4px 10px;
    font-size: 0.7rem;
  }

  .top-bar-phone {
    font-size: 0.7rem;
  }
}

/* =========================================
   VOLTAR AO TOPO
   ========================================= */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 110px;
  background-color: var(--preto-carvao);
  color: var(--branco);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--laranja-prisma);
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .back-to-top {
    right: 20px;
    bottom: 90px;
    /* Acima do whatsapp no mobile */
  }
}