html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

* {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
}

p,
h1,
h2,
h3 {
  word-wrap: break-word;
}

body {
  background: #ff0000;
  color: white;
  text-align: center;
  padding-top: 20px;
}

.topbar {
  background: linear-gradient(90deg, #ff0000, #cc0000);
  padding: 8px 15px;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.topbar a {
  background: white;
  color: #ff0000;
  padding: 4px 10px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  transition: 0.3s;
}

.topbar a:hover {
  background: #000;
  color: #fff;
}

.header {
  position: fixed;
  width: 100%;
  background: rgba(255, 0, 0, 0.199);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;

  height: 80px;
  padding: 0 20px;
}

.nav h1 {
  margin: 0;
  font-size: 35px;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  color: white;
  font-size: 14px;
}

nav a:hover {
  opacity: 0.7;
}

.nav .btn {
  margin: 0;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  height: auto; /* 👈 REMOVE o 40px */
}

.menu-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.menu-center a {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.menu-center a:hover {
  opacity: 0.7;
}

.menu-center a {
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}

.menu-center a:hover {
  border-bottom: 1px solid white;
}

.hero {
  height: 100dvh;
  display: flex;
  min-height: 500px;
  justify-content: center;
  align-items: center;

  background:
    linear-gradient(rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0.253)),
    url(/img/hero.jpg.jpg);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero {
  animation: zoom 10s infinite alternate;
}

@keyframes zoom {
  from {
    background-size: 100%;
  }
  to {
    background-size: 110%;
  }
}

.info-strip {
  background: #ffffff;
  padding: 20px 10px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.info-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-around;
  text-align: center;
  gap: 20px;
  flex-wrap: wrap;
}

.info-item {
  flex: 1;
  min-width: 200px;
}

.info-item p {
  margin: 5px 0;
  font-size: 14px;
  color: #666;
}

.info-item strong {
  font-size: 16px;
  color: #000;
}

.icon {
  font-size: 22px;
  display: block;
  margin-bottom: 5px;
}

.check-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #ff0000;
  position: relative;
}

/* DESENHA O CHECK (SEM EMOJI) */
.check-icon::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 10px;
  width: 10px;
  height: 16px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* TEXTO MAIS ELEGANTE */
.info-item p {
  margin: 6px 0 4px;
  font-size: 13px;
  color: #888;
  letter-spacing: 0.4px;
}

.info-item strong {
  font-size: 17px;
  font-weight: 600;
  color: #111;
}

/* SEÇÃO */
.invest-section {
  display: flex;
  min-height: 650px;
  flex-wrap: wrap;
}

/* LADO ESQUERDO */
.invest-left {
  flex: 1;
  background: #111;
  color: #fff;
  padding: 80px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.invest-left h2 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.invest-left p {
  font-size: 18px;
  margin: 0 auto 15px;
  margin-bottom: 15px;
  max-width: 420px;
  color: #ccc;
}

/* BOTÃO */
.btn-outline {
  margin-top: 20px;
  padding: 12px 28px;
  border: 2px solid #ff0000;
  color: #ff0000;
  text-decoration: none;
  border-radius: 30px;
  width: fit-content;
  transition: 0.3s;
  font-weight: 600;
}

.btn-outline:hover {
  background: #ff0000;
  color: #fff;
}

/* LADO DIREITO */
.invest-right {
  flex: 1;
  position: relative;
  background: url(/img/invest2.jpg) center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* OVERLAY */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* FORM CARD */
.form-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  width: 340px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.form-card h3 {
  margin-bottom: 5px;
  font-size: 18px;
  color: #ff0000;
}

.form-card p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #666;
}

/* INPUTS */
.form-card input {
  width: 100%;
  padding: 13px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

/* TEXTO */
.form-card small {
  display: block;
  font-size: 11px;
  color: #777;
  margin: 10px 0 15px;
}

/* BOTÃO */
button,
.btn,
.btn-outline {
  min-height: 44px;
}

.form-card button {
  width: 100%;
  padding: 14px;
  border: none;
  background: #ff0000;
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.form-card button:hover {
  opacity: 0.9;
}

.diferenciais {
  background: #ff5900;
  padding: 80px 20px;
  text-align: center;
}

.diferenciais h2 {
  color: #ff0000;
  background: white;
  font-size: 32px;
  margin-bottom: 40px;
  border: 1px solid #7fffd4;
  display: inline-block;
  padding: 10px 25px;
  border-radius: 12px;
}

.grid-diferenciais {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.card {
  border: 1px solid #7fffd4;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  background: transparent;
  transition: 0.3s;
}

.card,
.featured {
  background: white;
  color: black;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(238, 255, 0, 0.1);
}

.featured {
  border: 2px solid red;
  transform: scale(1.05);
}

.card:hover {
  background: rgb(255, 255, 255);
  transform: translateY(-3px);
}

.card p {
  font-weight: bold;
  margin: 0;
  text-align: left;
  font-size: 15px;
}

.franqueado {
  background: #f5f5f5;
  padding: 80px 20px;
}

.container {
  width: 100%;
  padding: 0 20px;
  margin: 0 auto;
}

.franqueado .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.texto {
  flex: 1;
}

.texto h2 {
  font-size: 42px;
  color: #0f5c5c;
  margin-bottom: 20px;
}

.texto p {
  font-size: 16px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  background: #0f5c0f;
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  background: #0c4a4a;
}

/* IMAGEM */
.imagem {
  flex: 1;
  display: flex;
  justify-content: center;
}

.imagem img {
  width: 100%;
  max-width: 500px;
  border-radius: 50% / 40%;
  object-fit: cover;
}

.numbers {
  padding: 80px 20px;
  background: #ff5900;
  text-align: center;
}

.numbers h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.numbers .desc {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #ffffff;
}

.numbers-header h2 {
  font-size: 32px;
  margin-bottom: 50px;
}

.numbers .grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.numbers .box {
  width: 230px;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #eee;
  background: #fafafa;
  transition: 0.3s;
}

.numbers .box:hover {
  transform: translateY(-5px);
}

.numbers .box h3 {
  font-size: 26px;
  color: #0f5c5c;
  margin-bottom: 5px;
}

.numbers .box span {
  font-weight: bold;
  font-size: 14px;
  color: #000;
}

.numbers .box p {
  font-size: 13px;
  color: #000000;
  margin-top: 5px;
}

.obs {
  margin-top: 30px;
  font-size: 12px;
  color: #ffffff;
}

.box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px 25px;
  width: 260px;
  transition: 0.3s;
}

.box:hover {
  transform: translateY(-5px);
  background: rgb(255, 255, 255);
}

.box h3 {
  font-size: 36px;
  margin: 10px 0;
  font-weight: bold;
}

.box span {
  font-size: 14px;
  opacity: 0.8;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .franqueado .container {
    flex-direction: column;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .grid,
  .numbers .grid,
  .timeline {
    flex-direction: column;
    align-items: center;
  }
  .hero {
    height: 90vh;
    min-height: 500px;
    min-height: 500px;
    animation: none;
    background-attachment: scroll;
  }

  @keyframes zoomMobile {
    from {
      background-size: 110%;
    }
    to {
      background-size: 120%;
    }
  }

  .texto h2 {
    font-size: 30px;
  }

  .nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    text-align: center;
    height: 55px;
    padding: 0 10px;
  }

  .menu-center {
    position: static; /* remove o absoluto */
    transform: none;
    display: none;
    order: 2;
  }

  .menu-center a {
    font-size: 14px;
  }

  .nav h1 {
    order: 1;
    font-size: 18px;
  }

  .nav .btn {
    padding: 6px 12px;
    font-size: 12px;
    order: 3;
  }

  .menu-center {
    position: static; /* remove o absoluto */
    transform: none;
    order: 2;
  }

  .nav h1 {
    order: 1;
  }

  .nav .btn {
    order: 3;
  }
}

.btn:hover {
  background: #000000;
  color: #ffffff;
}

.btn {
  background: white;
  color: red;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
}

.btn.dark {
  background: black;
  color: white;
}

.grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 50px 0;
}

.box,
.card {
  background: rgb(255, 255, 255);
  padding: 30px;
  border-radius: 15px;
}

.map {
  padding: 60px 20px;
}

.map-box {
  height: 250px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.pulse {
  width: 20px;
  height: 20px;
  background: #00ff88;
  border-radius: 50%;
  position: absolute;
  animation: pulse 1.5s infinite;
}

.expansion {
  padding: 80px 20px;
  text-align: center;
}

.expansion h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.expansion p {
  max-width: 100%;
  margin: 10px auto;
  color: #ffffff;
  line-height: 1.6;
  font-size: 18px;
}

@media (min-width: 768px) {
  .expansion p {
    white-space: normal;
  }
}

.highlight {
  margin: 25px auto;
  padding: 15px 25px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.05);
  font-weight: 500;
  max-width: 600px;
}

.simulator {
  padding: 80px 20px;
  text-align: center;
  background: #ff5900;
}

.simulator h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.simulator .desc {
  max-width: 700px;
  margin: 0 auto 50px;
  color: #555;
}

.timeline {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.step {
  background: white;
  border-radius: 14px;
  padding: 25px;
  width: 260px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.step:hover {
  transform: translateY(-5px);
}

.step span {
  font-size: 13px;
  color: #888;
}

.step h3 {
  margin: 10px 0;
  font-size: 22px;
  color: #0f5c5c;
}

.step p {
  font-size: 14px;
  color: #666;
}

/* BENEFITS */
.benefits {
  padding: 100px 20px;
  background: linear-gradient(180deg, #fd0000, #ff000021);
}

.benefits .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.benefits h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.benefits .desc {
  max-width: 700px;
  margin: 0 auto 50px;
  color: #ffffff;
  line-height: 1.6;
}

.benefits .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

@media (max-width: 900px) {
  .benefits .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .benefits .grid {
    grid-template-columns: 1fr;
  }
}

.benefits .card {
  background: #fff;
  padding: 30px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}

.benefits .card.show {
  opacity: 1;
  transform: translateY(0);
}

.benefits .card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.benefits .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: 0.6s;
}

.benefits .card:hover::before {
  left: 100%;
}

.benefits .featured {
  background: linear-gradient(135deg, #ff0000, #cc0000);
  color: #fff;
  transform: scale(1.08);
  box-shadow: 0 25px 60px rgba(255, 0, 0, 0.3);
}

.benefits .featured::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(45deg, #ff0000, #ff4d4d, #ff0000);
  z-index: -1;
  filter: blur(15px);
  opacity: 0.7;
  animation: glow 3s infinite linear;
}

@keyframes glow {
  0% {
    filter: blur(10px);
  }
  50% {
    filter: blur(20px);
  }
  100% {
    filter: blur(10px);
  }
}

.benefits .icon {
  font-size: 28px;
}

.benefits .card h3 {
  margin: 10px 0;
  font-size: 18px;
}

.benefits .card p {
  font-size: 14px;
  color: #666;
}

.benefits .featured p {
  color: #fff;
}

@media (max-width: 900px) {
  .benefits .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits .featured {
    transform: scale(1);
  }
}

@media (max-width: 500px) {
  .benefits .grid {
    grid-template-columns: 1fr;
  }
}

/* CTA */

.cities {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.9;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

.simulator {
  padding: 50px;
}

input[type="range"] {
  width: 80%;
}

.cta {
  background: black;
  padding: 50px;
}

.form {
  padding: 100px 20px;
  background: linear-gradient(135deg, #ff5900, #ff590079);
  display: flex;
  justify-content: center;
  align-items: center; /* garante centralização vertical também */
}

.form-wrapper {
  background: white;
  padding: 50px 40px;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.form h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #0f5c5c;
}

.subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

#leadForm {
  display: flex;
  flex-direction: column;
}

#leadForm input {
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  transition: 0.3s;
}

#leadForm input:focus {
  border-color: #ff0000;
  outline: none;
}

#leadForm button {
  background: #ff0000;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  font-size: 15px;
}

#leadForm button:hover {
  background: #cc0000;
  transform: translateY(-2px);
}

/* MENSAGEM */
#msg {
  margin-top: 10px;
  font-size: 14px;
  color: green;
}

/* RESPONSIVO */
@media (max-width: 480px) {
  .form-wrapper {
    padding: 30px 20px;
  }
}

input,
button {
  padding: 12px;
  border-radius: 5px;
  border: none;
}

button {
  background: black;
  color: white;
}

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 60px;
  height: 60px;

  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  font-size: 26px;
  text-decoration: none;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  z-index: 999;

  transition: 0.3s;
}

/* HOVER */
.whatsapp:hover {
  transform: scale(1.1);
}

/* ANIMAÇÃO LEVE (CHAMA CLIQUE) */
.whatsapp::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: pulseWhats 2s infinite;
  z-index: -1;
}

@keyframes pulseWhats {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.footer {
  background: #0b0b0b;
  color: #fff;
  padding: 60px 20px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #ccc;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 8px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.7;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  opacity: 1;
}

/* SOCIAL */
.footer-social {
  margin-top: 15px;
}

.footer-social a {
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;

  border-radius: 50%;
  margin-right: 12px;

  font-size: 20px;
  color: #fff;

  overflow: hidden;
  transition: all 0.4s ease;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.footer-social a:hover {
  opacity: 1;
  transform: translateY(-6px) scale(1.1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.footer-social a:nth-child(1) {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.footer-social a:nth-child(2) {
  background: #1877f2;
}

.footer-social a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );

  transition: 0.6s;
}

.footer-social a:hover::before {
  left: 100%;
}

.footer-social a:active {
  transform: scale(0.95);
}

/* BLOCO JURÍDICO */
.footer-legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 12px;
  opacity: 0.6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* COPYRIGHT */
.footer-bottom {
  margin-top: 20px;
  text-align: center;
  font-size: 12px;
  opacity: 0.5;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
