:root {
  --primary: #cb5500;
  --dark: #192732;
  --light-gray: #f5f7fa;
  --secondary: #192732; /* usa aqui a tua cor secundária */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: white;
  color: var(--dark);
}

/* =========================
   TOPBAR
========================= */

.topbar {
  position: absolute;
  width: 100%;
  padding: 25px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo img {
  height: 90px;
}

.social-links a {
  margin-left: 25px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: 0.3s;
}

.social-links a:hover {
  color: var(--primary);
}

/* =========================
   HERO FULL SCREEN
========================= */

/* ================= BACKGROUND ================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10%;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
  /* BACKGROUND IMAGE */
  background:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.92) 40%,
      rgba(255, 255, 255, 0.75) 70%,
      rgba(255, 255, 255, 0.4) 100%
    ),
    url("img/background1.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.03);
  z-index: 0;
}

.hero-left,
.hero-right {
  position: relative;
  z-index: 2;
}

.hero::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(25, 39, 50, 0.04) 0%,
    transparent 70%
  );
  border-radius: 50%;
  bottom: -200px;
  left: -200px;
  z-index: 0;
}

/* Glow laranja suave */
.background-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(203, 85, 0, 0.15) 0%,
    transparent 70%
  );
  right: 10%;
  top: 20%;
  z-index: 0;
}

/* ================= SOCIAL ICONS ================= */

.social-links a {
  margin-left: 20px;
  display: inline-flex;
  width: 22px;
  height: 22px;
}

.social-links svg {
  width: 100%;
  fill: var(--dark);
  transition: 0.3s;
}

.social-links svg:hover {
  fill: var(--primary);
}

/* ================= PHONE FLOAT ================= */

.phone {
  position: absolute;
  width: 230px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
  background: white;
  animation: float 4s ease-in-out infinite;
}

.phone-1 {
  left: 0;
  top: 120px;
  transform: rotate(-8deg);
}
.phone-2 {
  left: 120px;
  top: 0;
  z-index: 3;
}
.phone-3 {
  left: 120px;
  top: 140px;
  transform: rotate(8deg);
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(0deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.hero-left {
  max-width: 550px;
}

.badge {
  display: inline-block;
  background: rgba(203, 85, 0, 0.1);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-left h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-left p {
  font-size: 18px;
  color: #555;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* =========================
   PHONE MOCKUPS
========================= */

.hero-right {
  position: relative;
  width: 500px;
  height: 600px;
}

.phone {
  position: absolute;
  width: 160px; /* antes 230px */
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.18);
  background: white;
  transition: transform 0.4s ease;
}

.phone img {
  width: 100%;
  display: block;
}

.phone-1 {
  left: -20px;
  top:250px;
  transform: rotate(-10deg);
  z-index: 1;
}

.phone-2 {
  left: 140px;
  top: 120px;
  z-index: 3;
}

.phone-3 {
  left: 300px;
  top: 250px;
  transform: rotate(10deg);
  z-index: 2;
}

/* =========================
   BUTTONS
========================= */

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #a94700;
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 12px 26px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* =========================
   COMO FUNCIONA FIX DESKTOP
========================= */

.como-funciona .cards {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 60px;
  flex-wrap: nowrap; /* IMPEDIR QUEBRA EM DESKTOP */
}

.como-funciona .card {
  flex: 1;              /* cada card ocupa espaço igual */
  max-width: 350px;     /* limita largura */
  min-width: 300px;     /* evita encolher demais */
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.card-image {
  height: 400px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-image img {
  transform: scale(1.08);
}

.card-content {
  padding: 30px;
}

.card-content h3 {
  margin-bottom: 15px;
  color: var(--primary);
  font-size: 20px;
}

.card-content p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

/* =========================
   APP PREVIEW CAROUSEL
========================= */

.app-preview {
  background: var(--light-gray);
  overflow: hidden;
  position: relative;
}

.carousel {
  width: 100%;
  overflow: hidden;
  margin-top: 60px;
}

.carousel-track {
  display: flex;
  gap: 40px;
  animation: scroll 25s linear infinite;
}

.carousel-track img {
  width: 240px;
  border-radius: 25px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease;
}

.carousel-track img:hover {
  transform: scale(1.05);
}

/* Animação infinita */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pausa ao hover */
.carousel:hover .carousel-track {
  animation-play-state: paused;
}

.app-preview::before,
.app-preview::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.app-preview::before {
  left: 0;
  background: linear-gradient(to right, var(--light-gray), transparent);
}

.app-preview::after {
  right: 0;
  background: linear-gradient(to left, var(--light-gray), transparent);
}

/* =========================
   INTERMEDIÁRIOS PRO
========================= */

.intermediarios-pro {
  background: linear-gradient(to bottom, #ffffff, #f8f9fb);
  position: relative;
}

.inter-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

/* TEXTO PRINCIPAL */

.inter-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.inter-description {
  font-size: 17px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
}

.inter-list {
  list-style: none;
  padding: 0;
  margin-bottom: 35px;
}

.inter-list li {
  margin-bottom: 12px;
  font-size: 16px;
  color: #444;
}

/* BLOCO HIGHLIGHT */

.inter-highlight {
  background: white;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  border-left: 5px solid var(--primary);
  z-index: 2;
}

/* IMAGEM FLUTUANTE */

.inter-image {
  position: absolute;
  right: -40px;
  bottom: -40px;
  z-index: 1;
}

.inter-image img {
  width: 260px;
  border-radius: 30px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.15);
  transform: rotate(-6deg);
  transition: 0.4s ease;
}

.inter-image img:hover {
  transform: rotate(-3deg) scale(1.03);
}

/* =========================
   CTA FINAL PREMIUM
========================= */

.cta-final {
  background: var(--secondary);
  color: white;
  padding: 120px 10%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-container {
  max-width: 700px;
  margin: auto;
}

.cta-final h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.cta-final p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  font-size: 17px;
}

.cta-form {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.cta-form input {
  padding: 16px 20px;
  width: 320px;
  border-radius: 12px;
  border: none;
  font-size: 16px;
}

.btn-cta {
  background: var(--primary);
  color: white;
  padding: 16px 30px;
  border-radius: 12px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Glow decorativo subtil */
.cta-final::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 70%
  );
  top: -200px;
  right: -200px;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #111c24;
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 10%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-social a {
  margin-left: 20px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: 0.3s;
}

.footer-social a:hover {
  color: white;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 140px 8% 80px 8%;
  }

  .hero-left {
    max-width: 700px;
  }

  .hero-left h1 {
    font-size: 42px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-right {
    margin-top: 70px;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    position: relative;
  }

  .phone {
    position: relative;
    transform: none !important;
    margin: 0 15px;
    animation: none;
  }
}

/* SECTION */
.section {
  padding: 100px 10%;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
}

/* CARDS */
.cards {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  width: 300px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

.card h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

/* APP PREVIEW */
.app-preview {
  background: var(--light-gray);
  text-align: center;
}

.app-preview img {
  width: 220px;
  margin: 20px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

/* INTERMEDIARIOS */
.intermediarios {
  background: var(--dark);
  color: white;
  text-align: center;
}

.intermediarios h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.intermediarios p {
  margin-bottom: 30px;
  font-size: 18px;
}

.intermediarios .btn-primary {
  background: var(--primary);
}

/* CTA FINAL */
.cta-final {
  text-align: center;
}

.cta-final input {
  padding: 15px;
  width: 300px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-right: 10px;
}

footer {
  text-align: center;
  padding: 40px;
  color: #999;
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }
}
