/* =====================================================
   RESET & BASE
===================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #F1FAEE;
  color: #1D3557;
  line-height: 1.7;
  overflow-x: hidden;
}

/* =====================================================
   CONTAINER
===================================================== */

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

/* =====================================================
   MENU
===================================================== */

.menu {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(241, 250, 238, 0.95);
  backdrop-filter: blur(6px);
  z-index: 999;
}

.menu nav {
  max-width: 1100px;
  margin: auto;
  padding: 40px 30px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.menu a {
  text-decoration: none;
  color: #1D3557;
  font-weight: 500;
}

.menu a:hover {
  color: #E63946;
}

.menu-cta {
  background: #E63946;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background: #0f172a;
    position: absolute;
    top: 64px;
    right: 16px;
    padding: 16px;
    border-radius: 12px;
  }

  .menu.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

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


.hero-scene {
  position: relative;
  height: 100vh;
  background-color: #F1FAEE;
  overflow: hidden;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-box {
  position: relative;
  z-index: 5;
  padding: 40px 50px;
  max-width: 700px;
  text-align: center;
  border-radius: 12px;
}

.hero-box h1 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  text-shadow: #F1FAEE 2px 3px 3px;
}

.hero-box p {
  margin-bottom: 30px;
  color: #457B9D;
}

/* =====================================================
   CENÁRIO
===================================================== */

.scene {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ground {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 120px;
  background-color: #457B9D;
}

.scene-item {
  position: absolute;
  bottom: 120px;
  height: auto;
}

/* Elementos*/

.scene-phone {
  position: absolute;
  bottom: 100px;
  left: 80px;
  width: 350px;
}

.scene-bus {
  position: absolute;
  bottom: 50px;
  left: 40%;
  width: 300px;
}

.scene-clock {
  position: absolute;
  bottom: 90px;
  right: 80px;
  width: 500px;
}

.scene-tree {
  position: absolute;
  bottom: 120px;
  width: 300px;
}

.tree-left {
  left: 300px;
}

.tree-right {
  right: 300px;
}

/*
.scene-phone { left: 80px; width: 140px; }
.scene-bus   { left: 50%; transform: translateX(-50%); width: 180px; }
.scene-clock { right: 80px; width: 180px; }
.scene-tree  { width: 120px; }

.tree-left  { left: 240px; }
.tree-right { right: 260px; }*/

/* =====================================================
   SEÇÕES
===================================================== */

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.section p {
  margin-bottom: 20px;
}

.soft {
  background-color: #A8DADC;
}

/* =====================================================
   ABOUT
===================================================== */

.about {
  display: flex;
  align-items: center;
  gap: 60px;
}

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

.about-photo img {
  width: 260px;
  height: 260px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #A8DADC;
  transition: transform 0.4s ease;
}

.badge {
  display: inline-block;
  margin-top: 15px;
  padding: 6px 16px;
  background-color: #457B9D;
  color: #F1FAEE;
  font-size: 0.85rem;
  border-radius: 20px;
}

/* =====================================================
   LISTAS — COMO POSSO AJUDAR
===================================================== */

.help-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.help-list li {
  background: rgba(241, 250, 238, 0.8);
  padding: 18px 22px 18px 48px;
  border-radius: 12px;
  font-weight: 500;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
  animation-delay: calc(var(--i) * 0.12s);
}

.help-list li::before {
  content: "✔";
  position: absolute;
  left: 18px;
  color: #E63946;
  font-weight: bold;
}

/* =====================================================
   COMO FUNCIONA
===================================================== */

.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.flow-step {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
  animation-delay: calc(var(--i) * 0.15s);
}

.flow-step .number {
  width: 52px;
  height: 52px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background-color: #457B9D;
  color: #F1FAEE;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* =====================================================
   DEPOIMENTOS
===================================================== */

.testimonials {
  text-align: center;
}

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

.testimonial {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fade 0.6s ease;
}

.testimonial.active {
  display: flex;
}

.testimonial img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #A8DADC;
}

.testimonial strong {
  color: #457B9D;
}

.nav {
  background: none;
  border: none;
  font-size: 2rem;
  color: #457B9D;
  cursor: pointer;
  padding: 10px;
}

.nav:hover {
  color: #E63946;
}

/* =====================================================
   INVESTIMENTO
===================================================== */

.investimento {
  text-align: center;
}

.precos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.preco-box {
  background: #F1FAEE;
  padding: 30px;
  border-radius: 16px;
}

.preco-box h3 {
  margin-bottom: 10px;
  color: #1D3557;
}

.preco-box .valor {
  font-size: 2rem;
  font-weight: 600;
  color: #E63946;
}

.preco-box span {
  color: #457B9D;
}

.preco-box.destaque {
  border: 2px solid #E63946;
}

/* decisão */

.decisao {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.decisao-box {
  background: rgba(241, 250, 238, 0.8);
  padding: 30px;
  border-radius: 16px;
  text-align: left;
}

.decisao-box h4 {
  margin-bottom: 15px;
  color: #1D3557;
}

.pix-img {
  display: block;
  margin: 20px auto 0;
  max-width: 180px;
}

/* =====================================================
   CTA
===================================================== */

.cta {
  background-color: #1D3557;
  color: #F1FAEE;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* =====================================================
   BOTÕES
===================================================== */

.btn-primary {
  background-color: #E63946;
  color: #fff;
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

/* =====================================================
   WHATSAPP FLOAT
===================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: max(16px, env(safe-area-inset-right));
  width: 44px;
  height: 44px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
  z-index: 999;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float img {
  width: 22px;
  height: 22px;
}

/* =====================================================
   ANIMAÇÕES
===================================================== */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   HOVER (somente desktop)
===================================================== */

@media (hover: hover) and (pointer: fine) {
  .about-photo img:hover {
    transform: scale(1.05);
  }

  .whatsapp-float:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0,0,0,.25);
  }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 768px) {

  .hero-scene {
    min-height: auto;
    padding: 80px 20px 200px;
    align-items: flex-start;
  }

  .scene {
    display: none;
  }

  .about {
    flex-direction: column;
    align-items: center;
  }

  .about-photo {
    margin: 0 auto;
  }

  .container {
    padding: 50px 20px;
  }

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


/* FOOTER */
footer {
  background-color: #1D3557;
  color: #F1FAEE;
  text-align: center;
  padding: 25px;
  font-size: 0.9rem;
}