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

body {
  font-family: 'MinhaFonte', Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #cb75e0;
  padding-top: 50px;
}

@font-face {
    font-family: 'MinhaFonte';
    src: url('fonts/CF\ Arpine\ Demo.ttf') format('woff2');
    font-weight: 400;
    font-style: normal;
}

a {
  text-decoration: none;
  color: inherit;
}

nav {
  position: fixed;   
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  background: #cb75e0;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: all 0.3s;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

nav ul li a {
  color: #fff;
  font-weight: bold;
  transition: color 0.3s;
}

/* SECTION com fundo e layout em coluna */
.titulo {
  background: url("./imagens/teste.jpg") center top/cover no-repeat;
  min-height: 100vh;
  display: flex;              /* ativa o flexbox */
  align-items: center;        /* centraliza verticalmente */
  justify-content: center;    /* centraliza no eixo horizontal */
  gap: 2rem;                  /* espaço entre colunas */
  padding: 2rem;
}

.titulo-conteudo, 
.titulo-imagem {
  text-align: center;
}

.titulo-coluna {
  display: flex;
  flex-direction: column;  /* um embaixo do outro */
  align-items: center;
  gap: 1rem;
}

/* Títulos */
.titulo-conteudo h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
  max-width: 100%;
}
.titulo-conteudo h2 {
  font-size: 1.25rem;
  color: #ffffff;
}

/* Botão WhatsApp */
.cta-whatsapp {
  display: inline-block;
  background: #25D366;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-whatsapp:hover {
  background: #1ebd5a;
}

.ads-section {
  background-color: #cb75e0; /* ou a cor que você quiser para o fundo */
  padding: 3rem 1rem;
  text-align: center;
}

.ads-section h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.ad-card {
  background-color: #ffffff; /* fundo branco dentro da seção */
  border: 2px solid #e0e0e0; /* borda em volta */
  border-radius: 12px;       /* cantos arredondados */
  padding: 2rem;
  max-width: 1000px;
  margin: 0 auto;            /* centraliza a caixa */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08); /* sombra leve */
}

.ad-text {
  flex: 1;
  font-size: 1rem;
  line-height: 1.5;
  text-align: justify;

  /* Animação inicial */
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ad-image {
  flex: 1;
  display: none; /* começa oculta */
  justify-content: center;

  /* Animação inicial */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ad-image img {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.ad-image img:hover {
  transform: scale(1.05);
}

/* Estado quando aparece */
.ad-text.mostrar,
.ad-image.mostrar {
  display: block; /* ou flex no caso da imagem */
  opacity: 1;
  transform: translateY(0);
}


.cards-container {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding: 2rem;
}

.card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

.card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.cta-dashboard {
  padding: 4rem 2rem;
  position: relative;
  color: #fff;
  overflow: hidden;
}

.cta-dashboard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('./imagens/imagem10.png') no-repeat center center;
  background-size: cover;
  filter: blur(3px);
  z-index: 0;
}

.cta-dashboard > * {
  position: relative;
  z-index: 1;
}

.cta-dashboard .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}

.dashboard {
  background: #f5f5f5;
  color: #000000;
  padding: 2rem;
  border-radius: 12px;
  width: 300px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  flex-shrink: 0;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  margin-bottom: 1rem;
}

.dashboard-cards .card {
  margin-bottom: 1rem;
}

.dashboard-cards .card h4 {
  margin: 0;
  font-size: 1rem;
}

.dashboard-cards .card p {
  margin: 0.3rem 0;
  font-weight: bold;
}

.progress {
  background: #333;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  background: #DA70D6;
  height: 100%;
  width: 0;
  border-radius: 4px;
  transition: width 1s ease;
}

.cta-text {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.cta-text h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.cta-text p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.cta-text ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.cta-text ul li {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.cta-btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background: #DA70D6;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.cta-btn:hover {
  background: #c15bc4;
}

@media (max-width: 900px) {
  .cta-dashboard .container {
    flex-direction: column;
  }

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

.blog-section {
  background-color: #cb75e0;
}

.blog-cards {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding: 2rem;
}

.blog-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.storytelling-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.8rem;
}

.storytelling-timeline .step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.storytelling-timeline .step::after {
  content: '';
  position: absolute;
  top: 12px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: #ccc;
  z-index: -1;
}

.storytelling-timeline .step:last-child::after {
  content: none;
}

.storytelling-timeline .icon {
  font-size: 1.2rem;
  background: #f5f5f5;
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.storytelling-timeline .step:nth-child(1) .icon { background: #ff6b6b; }
.storytelling-timeline .step:nth-child(2) .icon { background: #ffd93d; }
.storytelling-timeline .step:nth-child(3) .icon { background: #4da6ff; }
.storytelling-timeline .step:nth-child(4) .icon { background: #2ed573; }
.storytelling-timeline .step:nth-child(5) .icon { background: #a55eea; }
/* Footer */
.footer-section {
    background: #2c2c2c; /* fundo escuro */
    color: #f5f5f5;
    padding: 3rem 2rem;
    font-family: 'MinhaFonte', sans-serif;
}

.footer-section .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-size: 0.9rem;
    color: #ccc;
}

.footer-contato h4,
.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #DA70D6;
}

.footer-contato p,
.footer-social ul li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-contato a,
.footer-social ul li a {
    color: #f39c12;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contato a:hover,
.footer-social ul li a:hover {
    color: #DA70D6;
}

.footer-social ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1rem;
}

.footer-social ul li {
    display: inline-block;
}

.footer-legal {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #aaa;
}

/* Responsividade */
@media (max-width: 768px) {
    .footer-section .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-social ul {
        justify-content: center;
    }

    .footer-logo img {
        margin-bottom: 1rem;
    }
}
@keyframes subir {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-grupo {
  display: inline-flex;
  margin-bottom: 2rem;
  border-radius: 50px;
  overflow: hidden; /* força os botões a ficarem grudados */
  justify-content: center; /* distribui dentro */
}

.btn {
  padding: 0.8rem 1.5rem;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1rem;
  background: #9b59b6;
  color: white;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-google {
  background: linear-gradient(45deg, #4285F4, #34A853);
  color: #fff;
}
.btn-google:hover {
  background: linear-gradient(45deg, #34A853, #4285F4);
}
.btn-facebook {
  background: linear-gradient(45deg, #1877F2, #0A4CA5);
  color: #fff;
}
.btn-facebook:hover {
  background: linear-gradient(45deg, #0A4CA5, #1877F2);
}

/* Estilos para telas menores (celulares) */
@media (max-width: 768px) {
  .ad-card {
    flex-direction: column;   /* empilha em coluna */
    text-align: center;       /* centraliza o texto */
    padding: 1.5rem;
  }

  .ad-text {
    text-align: center;       /* centraliza o texto */
  }

  .ad-image {
    justify-content: center;  /* garante que a imagem fique centralizada */
    margin-bottom: 1rem;      /* dá espaço entre a imagem e o texto */
  }

  .btn-grupo {
    flex-direction: column;   /* se quiser que os botões fiquem um em cima do outro no mobile */
    align-items: center;
    gap: 0.5rem;
  }

  .btn {
    border-radius: 25px; /* arredonda melhor no mobile */
    width: 80%;          /* ocupa boa parte da largura */
  }
}
.overlay-img {
  width: 750px;
  max-width: 100%;
  margin: 1rem auto;
}
/* Container do gráfico */

.grafico-animado {
  display: flex;
  gap: 12px;
  align-items: flex-end; /* encosta no "chão" */
}

.grafico-animado span {
  display: block;
  width: 60px;
  height: 600px;        
  border-radius: 15px;
  transform-origin: bottom;
  transform: scaleY(0.2);  /* começa baixinha */
  animation: crescer 1.5s ease forwards;
}

/* Escada com delays e alturas finais diferentes */
.grafico-animado span:nth-child(1) { 
  background: #EA4335;       /* cor da nova coluna */
  animation-delay: 0s;
  --escala-final: 0.2;    /* menor ainda */
 
}

.grafico-animado span:nth-child(2) { 
  background: #4285F4;
  animation-delay: 0.2s;
  --escala-final: 0.4;
}
.grafico-animado span:nth-child(3) { 
  background: #EA4335;
  animation-delay: 0.4s;
  --escala-final: 0.6;
}
.grafico-animado span:nth-child(4) { 
  background: #FBBC05;
  animation-delay: 0.6s;
  --escala-final: 0.8;
}
.grafico-animado span:nth-child(5) { 
  background: #34A853;
  animation-delay: 0.8s;
  --escala-final: 1;
}

/* animação */
@keyframes crescer {
  from { transform: scaleY(0.2); }
  to   { transform: scaleY(var(--escala-final)); }
}
/* 🌍 Telas muito grandes (monitores 4K, ultra-wide) */
@media (min-width: 1920px) {
  .titulo {
    max-width: 1600px;
    margin: 0 auto;
  }
}

/* 💻 Desktops médios (1440px até 1919px) */
@media (max-width: 1919px) {
  .titulo {
    padding: 2rem 4rem;
    gap: 1.5rem;
  }
}

/* 💻 Notebooks e desktops menores (1366px até 1439px) */
@media (max-width: 1439px) {
  .overlay-img {
    max-width: 320px;
  }
  .cta-whatsapp {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}

/* 📱 Tablets na horizontal (1024px até 1365px) */
@media (max-width: 1365px) {
  .titulo {
    padding: 1.5rem;
    gap: 1rem;
  }
  .overlay-img {
    max-width: 280px;
  }
}

/* 📱 Tablets na vertical (768px até 1023px) */
@media (max-width: 1023px) {
  .titulo {
    flex-direction: column;
    padding: 1rem;
    text-align: center;
  }
  .overlay-img {
    max-width: 250px;
  }
  .grafico-animado {
    display: none; /* opcional no tablet */
  }
}

/* 📱 Celulares grandes (425px até 767px) */
@media (max-width: 767px) {
  .overlay-img {
    max-width: 200px;
  }
  .cta-whatsapp {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}

/* 📱 Celulares médios (375px até 424px) */
@media (max-width: 424px) {
  .overlay-img {
    max-width: 180px;
  }
  .cta-whatsapp {
    font-size: 0.85rem;
  }
}

/* 📱 Celulares pequenos (320px até 374px) */
@media (max-width: 374px) {
  .overlay-img {
    max-width: 150px;
  }
  .cta-whatsapp {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px); /* começa fora da tela, à esquerda */
  }
  to {
    opacity: 1;
    transform: translateX(0); /* posição final */
  }
}

/* Aplica no título */
.ads-section h1, .titulo {
  animation: slideInLeft 1s ease forwards;
}

/* Aplica no botão WhatsApp, com delay */
.cta-whatsapp {
  animation: slideInLeft 1s ease forwards;
  animation-delay: 0.3s; /* atraso de 300ms */
}

@keyframes sobeDesce {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-20px); } /* sobe */
  100% { transform: translateY(0); }     /* volta para posição */
}

.grafico-animado span.animar {
  animation: sobeDesce 0.6s ease infinite;
}

  /* Botões de leitura */
  .tts-btn {
    margin: 5px;
    padding: 12px 22px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px; /* estilo mais moderno arredondado */
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  /* Botão Play */
  .tts-btn.play {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  }
  .tts-btn.play:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: scale(1.05);
  }

  /* Botão Stop */
  .tts-btn.stop {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  }
  .tts-btn.stop:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    transform: scale(1.05);
  }

