/* ==========================================================================
   Variáveis e Reset
   ========================================================================== */
:root {
  --bg-primary: #0a0b0e; /* Preto mais rico e profundo */
  --bg-secondary: #13161c;
  --text-light: #ffffff;
  --text-muted: #a0aab2;
  --gold-primary: #d4af37;
  --gold-gradient: linear-gradient(
    135deg,
    #bf953f,
    #fcf6ba,
    #b38728,
    #fbf5b7,
    #aa771c
  );
  --accent-color: #d4af37;
  --font-main: "Montserrat", sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar Customizada */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #bf953f;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-primary);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}

#preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-spinner {
  width: 120px;
  height: 120px;
  border: 3px solid rgba(212, 175, 55, 0.1);
  border-top-color: var(--gold-primary);
  border-radius: 50%;
  animation: spin 1.2s cubic-bezier(0.5, 0.1, 0.4, 0.9) infinite;
}

.preloader-logo {
  width: 60px;
  position: absolute;
  animation: preloaderPulse 1.5s infinite alternate ease-in-out;
}

@keyframes preloaderPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* ==========================================================================
   Layout e Utilitários
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.highlight-underline {
  border-bottom: 2px solid rgba(212, 175, 55, 0.5);
  padding-bottom: 2px;
}

.text-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.125rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.btn--primary {
  background: var(--gold-gradient);
  color: #0a0b0e;
  border: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.btn--secondary {
  background-color: transparent;
  border: 2px solid var(--gold-primary);
  color: var(--gold-primary);
}

.btn--secondary:hover {
  background: var(--gold-gradient);
  color: var(--bg-primary);
  transform: translateY(-3px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Parallax suave */
}

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.hero__main-logo {
  max-width: 350px;
  width: 100%;
  height: auto;
  opacity: 0;
  animation: logoFadeUp 1.2s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s forwards;
}

.hero__title {
  font-size: 2.8rem;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero__title strong {
  font-weight: 800;
}

.hero__description {
  font-size: 1.125rem;
  margin-bottom: 40px;
  color: var(--text-muted);
}

.hero__scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.hero__scroll-down img {
  width: 25px;
}

/* ==========================================================================
   Seção: Como podemos te ajudar
   ========================================================================== */
.how-we-help {
  padding: 100px 20px;
  text-align: center;
}

.section-header {
  margin-bottom: 60px;
}

.section-icon {
  width: 40px;
  margin: 0 auto 20px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 600;
}

.profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.profile-card {
  background: rgba(19, 22, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 16px;
  transition: var(--transition);
}

.profile-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(212, 175, 55, 0.1);
}

.profile-card img {
  width: 85px;
  margin: 0 auto 20px;
}

.conclusion {
  max-width: 800px;
  margin: 0 auto;
}

.divider {
  width: 100px;
  margin: 0 auto 30px;
}

.steps-img {
  max-width: 450px;
  margin: 40px auto 0;
}

/* ==========================================================================
   Seção: Por que a Suno (Glassmorphism)
   ========================================================================== */
.why-suno {
  padding: 120px 20px;
  background-color: #030406;
  position: relative;
  overflow: hidden;
}

.why-suno::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.12) 0%,
    transparent 60%
  );
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulseGlow 6s ease-in-out infinite alternate;
  z-index: 0;
  pointer-events: none;
  filter: blur(50px);
}

.why-suno::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    black 20%,
    transparent 80%
  );
  z-index: 0;
  pointer-events: none;
}

.why-suno .container {
  position: relative;
  z-index: 1;
}

.glass-card {
  background: rgba(25, 28, 36, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  padding: 60px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.glass-card h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}

.glass-card p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.glass-card .btn {
  margin-top: 30px;
}

/* ==========================================================================
   Depoimentos & FAQ & Footer
   ========================================================================== */
.testimonials {
  padding: 120px 20px 80px;
  position: relative;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
  background: linear-gradient(
    145deg,
    rgba(30, 34, 43, 0.6) 0%,
    rgba(10, 11, 14, 0.9) 100%
  );
  border: 1px solid rgba(212, 175, 55, 0.15);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 10rem;
  color: rgba(212, 175, 55, 0.06);
  font-family: Georgia, serif;
  line-height: 1;
  z-index: -1;
  pointer-events: none;
}

.testimonial-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(212, 175, 55, 0.1);
}

.testimonial-card p {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-card .stars {
  font-size: 1.4rem;
  letter-spacing: 2px;
}

.testimonial-card h4 {
  margin-top: auto;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.faq {
  padding: 60px 20px 100px;
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accordion-item {
  background: rgba(19, 22, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 20px 25px;
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-icon {
  color: var(--gold-primary);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  padding: 0 25px;
  color: var(--text-muted);
  transition: all 0.4s ease;
}

.accordion-item.active .accordion-content {
  max-height: 300px;
  padding: 0 25px 25px;
}

.footer {
  background-color: #050608;
  padding: 60px 20px 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 25px;
}

.footer-logo {
  width: 150px;
  opacity: 0.8;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  max-width: 900px;
  line-height: 1.6;
}

.footer-copyright {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ==========================================================================
   Animações e Media Queries
   ========================================================================== */
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-15px) translateX(-50%);
  }
  60% {
    transform: translateY(-7px) translateX(-50%);
  }
}

@keyframes scale {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes pulseGlow {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

@keyframes logoFadeUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.animate-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}

/* ==========================================================================
   Botão Flutuante do WhatsApp
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  padding: 16px;
  border-radius: 50px;
  box-shadow:
    0 8px 20px rgba(37, 211, 102, 0.4),
    inset 0 0 10px rgba(255, 255, 255, 0.2);
  z-index: 1000;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #25d366;
  border-radius: 50px;
  z-index: -1;
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.whatsapp-icon {
  z-index: 2;
}

.whatsapp-text {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  font-weight: 600;
  font-size: 1.05rem;
  overflow: hidden;
  transition: all 0.4s ease;
}

.whatsapp-float:hover {
  transform: translateY(-5px);
  padding: 16px 26px;
}

.whatsapp-float:hover .whatsapp-text {
  max-width: 150px;
  opacity: 1;
  margin-left: 12px;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ==========================================================================
   Responsividade Total (Media Queries)
   ========================================================================== */
@media (max-width: 992px) {
  .hero__content {
    margin: 0 auto;
  }
  .hero {
    padding: 100px 0 60px; /* Aumenta o respiro no topo */
    min-height: auto;
  }
  .hero__scroll-down {
    display: none; /* Usuários naturalmente rolam a tela no mobile */
  }
  .how-we-help,
  .why-suno {
    padding: 80px 20px;
  }
}

@media (max-width: 768px) {
  .hero__main-logo {
    max-width: 240px; /* Reduz a logo em tablets */
  }
  .hero__title {
    font-size: 2.2rem;
  }
  .hero__description {
    font-size: 1.05rem;
  }
  .section-header h2 {
    font-size: 1.8rem;
  }
  .glass-card {
    padding: 40px 20px;
  }
  .glass-card h2 {
    font-size: 1.6rem;
  }
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 14px;
  }
  .whatsapp-float:hover .whatsapp-text {
    max-width: 0;
    opacity: 0;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .hero__main-logo {
    max-width: 180px; /* Deixa a logo em um tamanho ideal para celulares */
  }
  .hero__title {
    font-size: 1.8rem;
  }
  .hero__description {
    font-size: 0.95rem;
  }
  .btn,
  #cta-formulario {
    padding: 12px 24px;
    font-size: 1rem;
    width: 100%; /* Botões maiores e fáceis de clicar no celular */
  }
  .profile-card {
    padding: 30px 20px;
  }
  .glass-card h2 {
    font-size: 1.4rem;
  }
  .thank-you-message h2 {
    font-size: 2rem;
  }
}
