:root {
  --red-dark: #531114;
  --red: #c62127;
  --yellow: #fdba13;
  --blue-dark: #001f3f;
  --white: #ffffff;
  --light: #f9f9f9;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.section-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
}

.section-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.gradient-text {
  background: linear-gradient(to right, var(--red), var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.card {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    transition: none;
  }
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

@media (max-width: 600px) {
  .container {
    width: 100%;
    padding-inline: 1rem;
  }
}

.hero {
  background: radial-gradient(
    circle at center,
    var(--red) 0%,
    var(--red-dark) 100%
  );
  color: var(--white);
  padding: 60px 0;
  position: relative;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hero-text h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin-bottom: 20px;
}
.hero-text p {
  margin-bottom: 30px;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.hero .cta-buttons,
.cta-final .cta-buttons {
  justify-content: center;
}
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cta-small {
  font-size: 0.8rem;
}
.btn {
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 4px;
  transition: opacity 0.3s;
  text-align: center;
}
.btn:hover {
  opacity: 0.8;
}
.btn-yellow {
  background: var(--yellow);
  color: #000;
}
.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-red {
  background: var(--red);
  color: var(--white);
}
.hero-image img {
  width: 100%;
  border-radius: 8px;
}

.logo-animated {
  width: 240px;
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.top-logo {
  display: block;
  margin: 0 auto 20px;
}

.cta-logo {
  display: block;
  margin: 0 auto 20px;
}

.problemas {
  padding: 60px 0;
  text-align: center;
}
.problemas-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 40px 0;
}
.problema-item i {
  font-size: 2rem;
}
.destaque {
  font-weight: 700;
  margin-bottom: 20px;
}

.recursos {
  padding: 60px 0;
  text-align: center;
}
.recursos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.recursos-grid .recurso-item {
  flex: 1 1 calc(25% - 20px);
  max-width: calc(25% - 20px);
}

@media (max-width: 1024px) {
  .recursos-grid .recurso-item {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
  }
}

@media (max-width: 768px) {
  .recursos-grid .recurso-item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .recursos-grid .recurso-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
.recurso-item {
  background: var(--light);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
}
.recurso-item i {
  font-size: 2rem;
  color: var(--red);
}
.recursos-cta {
  background: radial-gradient(
    circle at center,
    var(--red) 0%,
    var(--red-dark) 100%
  );
  color: var(--white);
  padding: 40px 0;
  margin-top: 40px;
}
.recursos-cta .cta-inner {
  text-align: center;
  width: 100%;
}

.cta-buttons-white {
  background: var(--white);
  padding: 40px 0;
}
.cta-buttons-white .cta-buttons {
  align-items: center;
  justify-content: center;
}
.cta-buttons-white .ou {
  margin: 0 10px;
  font-weight: 600;
}

.preview {
  padding: 60px 0;
  text-align: center;
}

.phone-mockup {
  position: relative;
  max-width: 320px;
  margin: 40px auto 0;
  border: 12px solid #000;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  background: #000;
}

.phone-mockup::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 12px;
  background: #000;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.phone-mockup img {
  width: 100%;
  display: block;
  transition: opacity 0.5s;
}

.phone-mockup img.fade-out {
  opacity: 0;
}

.resultados {
  padding: 60px 0;
  text-align: center;
}
.stats-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 40px;
}
.stat-item {
  background: var(--red-dark);
  color: var(--white);
  padding: 30px 20px;
  border-radius: 8px;
}
.stat-value {
  font-size: 2rem;
  font-weight: 700;
}

.depoimentos {
  background: var(--light);
  padding: 60px 0;
}
.depoimentos-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-top: 40px;
}
.depoimento-item {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
}
.stars i {
  color: var(--yellow);
}

.cta-final {
  background: radial-gradient(
    circle at center,
    var(--red) 0%,
    var(--red-dark) 100%
  );
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}
.cta-final .ou {
  margin: 0 10px;
  font-weight: 600;
}
.info-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 40px 0 20px;
}
.footer-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.footer-col ul {
  list-style: none;
  margin-top: 10px;
}
.footer-col a {
  color: var(--white);
  text-decoration: none;
}
.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.social {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-block;
}
.social.red {
  background: var(--red);
}
.social.yellow {
  background: var(--yellow);
}
.social.green {
  background: #00a650;
}

.site-footer .copyright {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
}

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 0;
}

.whatsapp-button img {
  width: 60%;
  height: 60%;
}

.floating-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal-content {
  background: var(--white);
  max-width: 800px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  border-radius: 8px;
  position: relative;
}
.modal-left,
.modal-right {
  flex: 1 1 300px;
  padding: 20px;
}
.modal-content h3,
.modal-content h4 {
  margin-bottom: 20px;
}
.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-content input,
.modal-content textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.modal-content textarea {
  min-height: 80px;
}
.modal .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}
.nota {
  font-size: 0.8rem;
  margin-top: 10px;
}

.agradecimento {
  text-align: center;
  padding: 100px 20px;
}

@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
  }
  .hero-text {
    flex: 1;
  }
  .hero-image {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .hero .cta-group {
    width: 100%;
  }
  .hero .cta-group .btn {
    width: 100%;
    display: block;
  }
  .hero .cta-small {
    display: block;
    text-align: center;
  }
}
/* Container do card */
.card {
  background-color: #ffffff; /* fundo branco */
  border-radius: 0.75rem; /* borda arredondada (12px) */
  border: 1px solid transparent; /* borda inicial transparente */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* sombra sutil */
  transition: all 0.3s ease-in-out; /* transição suave para todas as propriedades */
  padding: 1.5rem; /* espaçamento interno */
}

/* Estado hover do card */
.card:hover {
  border-color: #fbbf24; /* borda amarela */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); /* sombra um pouco mais forte */
  transform: translateY(-4px); /* leve “elevação” */
}

/* Wrapper do ícone dentro do card */
/* Problema cards red theme */
.problema-item.card {
  background-color: #fef2f2; /* bg-red-50 */
  border-left: 4px solid #dc2626; /* border-l-4 border-red-600 */
}

.problema-item.card:hover {
  background-color: #fee2e2; /* hover:bg-red-100 */
  box-shadow: 0 4px 16px rgba(254, 202, 202, 0.5); /* hover:shadow-red-200 */
  border-color: transparent;
  border-left-color: #dc2626;
  transform: translateY(-4px); /* leve “elevação” */
}

.problema-item.card h3 {
  color: #b91c1c; /* text-red-700 */
}

.problema-item.card p {
  color: #dc2626; /* text-red-600 */
}
