@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Cores de Acolhimento e Confortáveis (HSL) */
  --primary: 174 75% 28%;      /* Verde-água/Teal (#115E59) */
  --primary-light: 174 75% 95%;
  --primary-hover: 174 75% 20%;
  
  --secondary: 215 47% 15%;    /* Azul Escuro/Slate Profundo (#1E293B) */
  --secondary-muted: 215 25% 27%;
  
  --accent: 335 70% 60%;       /* Rosa Suave para Empatia/Acolhimento (#D946EF ou #E11D48 adaptado) */
  --accent-light: 335 70% 97%;
  
  --bg-light: 210 40% 98%;     /* Fundo Branco Suave (#F8FAFC) */
  --white: 0 0% 100%;
  
  --text-dark: 217 33% 17%;    /* Texto escuro (#1E293B) */
  --text-muted: 215 16% 47%;   /* Texto secundário (#64748B) */
  --border-color: 214 32% 91%; /* Bordas discretas (#E2E8F0) */
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(17, 94, 89, 0.1), 0 8px 10px -6px rgba(17, 94, 89, 0.05);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: hsl(var(--bg-light));
  color: hsl(var(--text-dark));
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Tipografia */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: hsl(var(--secondary));
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* Layout Geral */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border-color));
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: hsl(var(--primary));
  letter-spacing: -0.02em;
}

.logo span {
  color: hsl(var(--secondary));
  font-weight: 500;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: hsl(var(--primary-light));
  border: 1px solid hsl(var(--primary) / 0.15);
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: hsl(var(--primary));
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: hsl(var(--primary));
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--white));
  box-shadow: 0 4px 12px hsl(var(--primary) / 0.2);
}

.btn-primary:hover {
  background-color: hsl(var(--primary-hover));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px hsl(var(--primary) / 0.3);
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.btn-secondary {
  background-color: hsl(var(--white));
  color: hsl(var(--secondary));
  border: 1px solid hsl(var(--border-color));
}

.btn-secondary:hover {
  background-color: hsl(var(--bg-light));
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3.5rem;
  background: radial-gradient(circle at top right, hsl(var(--primary-light) / 0.6), transparent 45%),
              radial-gradient(circle at bottom left, hsl(var(--accent-light) / 0.4), transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-cols: 1.1fr 0.9fr;
  }
}

.hero-content {
  max-width: 600px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: hsl(var(--accent-light));
  border: 1px solid hsl(var(--accent) / 0.15);
  color: hsl(var(--accent));
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.25rem;
  color: hsl(var(--secondary));
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

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

.hero-desc {
  font-size: 1.05rem;
  color: hsl(var(--text-muted));
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-features {
  display: grid;
  grid-template-cols: 1fr sm:grid-cols-2;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 550;
  color: hsl(var(--secondary-muted));
}

.hero-feature-item svg {
  flex-shrink: 0;
  color: hsl(var(--primary));
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 576px) {
  .hero-ctas {
    flex-direction: row;
  }
}

/* Imagem do Hero / Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid hsl(var(--white));
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-cover: cover;
  filter: brightness(0.97);
}

.floating-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid hsl(var(--border-color));
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-width: 250px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 576px) {
  .floating-card {
    display: none;
  }
}

.floating-card-icon {
  background-color: hsl(var(--primary-light));
  color: hsl(var(--primary));
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-card-text p {
  font-size: 0.75rem;
  color: hsl(var(--text-muted));
}

.floating-card-text strong {
  font-size: 0.85rem;
  color: hsl(var(--secondary));
  font-family: var(--font-heading);
}

/* Info Ticker */
.info-ticker {
  background-color: hsl(var(--secondary));
  color: hsl(var(--white));
  padding: 0.75rem 0;
  overflow: hidden;
  position: relative;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ticker-dot {
  width: 5px;
  height: 5px;
  background-color: hsl(var(--accent));
  border-radius: 50%;
}

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

.section-tag {
  color: hsl(var(--primary));
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

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

.section-desc {
  color: hsl(var(--text-muted));
  font-size: 0.95rem;
}

/* Vídeo Informativo / Stories */
.video-section {
  padding: 5rem 0;
  background-color: hsl(var(--white));
}

.story-videos-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .story-videos-grid {
    flex-direction: row;
    align-items: stretch;
  }
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 330px;
  width: 100%;
}

.story-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: hsl(var(--secondary));
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.video-container {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid hsl(var(--secondary)); /* Moldura de smartphone */
  background-color: #000;
  position: relative;
  aspect-ratio: 9/16; /* Formato Story */
}

.video-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Diferenciais de Acolhimento (Cards) */
.diferenciais-section {
  padding: 5rem 0;
  background-color: hsl(var(--bg-light));
}

.grid-cards {
  display: grid;
  grid-template-cols: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-cards {
    grid-template-cols: repeat(3, 1fr);
  }
}

.card-item {
  background-color: hsl(var(--white));
  border: 1px solid hsl(var(--border-color));
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: hsl(var(--primary) / 0.2);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: hsl(var(--primary-light));
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.card-text {
  color: hsl(var(--text-muted));
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Seção de Métricas (Progress Bars Reconstruídas) */
.metrics-section {
  padding: 5rem 0;
  background-color: hsl(var(--white));
  border-top: 1px solid hsl(var(--border-color));
}

.metrics-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .metrics-grid {
    grid-template-cols: 1fr 1.1fr;
  }
}

.metrics-left {
  max-width: 500px;
}

.metrics-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.progress-item {
  width: 100%;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: hsl(var(--secondary));
  margin-bottom: 0.5rem;
}

.progress-track {
  width: 100%;
  height: 8px;
  background-color: hsl(var(--primary-light));
  border-radius: 9999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: hsl(var(--primary));
  border-radius: 9999px;
  width: 100%; /* Fixado em 100% conforme o original */
  transform: scaleX(0);
  transform-origin: left;
  animation: fillBar 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Depoimentos */
.testimonials-section {
  padding: 5rem 0;
  background-color: hsl(var(--bg-light));
}

.testimonials-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-cols: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: hsl(var(--white));
  border: 1px solid hsl(var(--border-color));
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.stars {
  color: #FFC107;
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  font-size: 0.9rem;
  color: hsl(var(--text-dark) / 0.85);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background-color: hsl(var(--primary-light));
  border: 2px solid hsl(var(--primary) / 0.15);
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: hsl(var(--secondary));
}

.testimonial-info span {
  font-size: 0.75rem;
  color: hsl(var(--text-muted));
}

/* FAQ / Acordion */
.faq-section {
  padding: 5rem 0;
  background-color: hsl(var(--white));
}

.faq-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid hsl(var(--border-color));
  padding: 1.25rem 0;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  padding: 0.5rem 0;
}

.faq-trigger h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: hsl(var(--secondary));
  transition: var(--transition-smooth);
}

.faq-trigger:hover h3 {
  color: hsl(var(--primary));
}

.faq-icon {
  font-size: 1.2rem;
  color: hsl(var(--text-muted));
  transition: var(--transition-smooth);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-content p {
  padding: 1rem 0 0.5rem;
  font-size: 0.9rem;
  color: hsl(var(--text-muted));
  line-height: 1.6;
}

/* faq ativo */
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: hsl(var(--primary));
}

.faq-item.active .faq-content {
  max-height: 250px; /* Suficiente para a resposta */
  transition: max-height 0.4s ease-in;
}

/* Footer */
.site-footer {
  background-color: hsl(var(--secondary));
  color: hsl(var(--white));
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-cols: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-cols: 1.5fr 1fr;
  }
}

.footer-left h3 {
  color: hsl(var(--white));
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-left p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.footer-badge-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer-right {
    align-items: flex-end;
  }
}

.security-badge {
  margin-top: 1rem;
  max-width: 200px;
  filter: brightness(0) invert(1) opacity(0.65);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links a:hover {
  color: hsl(var(--primary-light));
}

/* Botão do WhatsApp Flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 99;
  cursor: pointer;
  animation: pulseFloat 2.5s infinite;
  transition: transform 0.3s ease;
}

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

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* Modal de Configuração do WhatsApp */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: hsl(var(--white));
  border-radius: 16px;
  padding: 2.25rem 2rem;
  max-width: 440px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  border: 1px solid hsl(var(--border-color));
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: hsl(var(--primary-light));
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}

.modal-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.modal-card p {
  color: hsl(var(--text-muted));
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Animações */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 hsl(var(--primary) / 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px hsl(var(--primary) / 0);
  }
  100% {
    box-shadow: 0 0 0 0 hsl(var(--primary) / 0);
  }
}

@keyframes pulseFloat {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes fillBar {
  to {
    transform: scaleX(1);
  }
}
