/* ======================================== */
/*          CONFIGURAÇÕES GLOBAIS           */
/* ======================================== */
:root {
  --primary-color: #a9818a;
  --primary-color-light: #fdf8f9;
  --primary-color-dark: #8c6a73;
  --text-color: #4a4a4a;
  --background-color: #ffffff;
  --section-bg-alt: #fbfafb;
  --white-color: #ffffff;
  --border-color: #e0e0e0;
  --font-heading: "Playfair Display", serif;
  --font-body: "Montserrat", sans-serif;
  /* Bootstrap Override */
  --bs-primary: var(--primary-color);
  --bs-secondary: #6c757d;
  --bs-body-font-family: var(--font-body);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.7;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ======================================== */
/*        CABEÇALHO (ALTERADO AQUI)         */
/* ======================================== */
.main-header {
  padding: 15px 0; /* Diminuído um pouco para ficar mais elegante */
  position: sticky;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: var(--primary-color); /* Fundo com a cor primária */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra permanente para dar profundidade */
}
/* A classe .scrolled não é mais necessária para mudar a cor de fundo */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-logo {
  height: 45px;
  filter: none; /* Filtro removido para mostrar as cores originais do logo */
}
.link-generator-btn {
  background-color: transparent;
  border: 1px solid var(--white-color); /* Borda branca */
  color: var(--white-color); /* Texto branco */
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.link-generator-btn:hover {
  background-color: var(--white-color);
  color: var(--primary-color); /* Cor do texto muda no hover */
}

/* ======================================== */
/*              SEÇÃO HERO                  */
/* ======================================== */
.hero-section {
  padding: 80px 0 100px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color-light) 0%, #fff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}
.hero-text-content {
  text-align: left;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--primary-color-dark);
}
.hero-subtitle {
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 2.5rem;
}
.cta-button {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(169, 129, 138, 0.4);
  border: none;
  cursor: pointer;
  display: inline-block;
}
.cta-button:hover {
  background-color: var(--primary-color-dark);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(169, 129, 138, 0.6);
}
.hero-image-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(140, 106, 115, 0.25);
  position: relative;
  z-index: 2;
}
.shape {
  position: absolute;
  background-color: rgba(169, 129, 138, 0.1);
  z-index: 1;
}
.shape-1 {
  width: 90%;
  height: 90%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  top: -10%;
  left: -15%;
  animation: morph 8s ease-in-out infinite, pulse 4s infinite alternate;
}
.shape-2 {
  width: 70%;
  height: 70%;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  bottom: -10%;
  right: -15%;
  animation: morph 10s ease-in-out infinite reverse, pulse 5s infinite alternate;
}

/* ======================================== */
/*         ESTILOS GERAIS DE SEÇÃO          */
/* ======================================== */
section {
  padding: 100px 0;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}
.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: -40px auto 50px;
  font-size: 1.1rem;
}

/* ======================================== */
/*            SEÇÃO DE BENEFÍCIOS           */
/* ======================================== */
.benefits-section {
  background-color: var(--section-bg-alt);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.benefit-card {
  background: var(--white-color);
  padding: 40px 25px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(140, 106, 115, 0.1);
}
.benefit-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.benefit-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  font-weight: 500;
}

/* ======================================== */
/*           NOVA SEÇÃO "SOBRE NÓS"         */
/* ======================================== */
.about-section {
  background-color: var(--white-color);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-image-content img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(140, 106, 115, 0.15);
}
.about-text-content .section-title {
  text-align: left;
}
.about-text-content .section-title::after {
  margin: 15px 0 0;
}
.about-logo {
  height: 40px;
  margin-top: 30px;
  opacity: 0.7;
  filter: invert(47%) sepia(8%) saturate(1637%) hue-rotate(297deg)
    brightness(97%) contrast(85%);
}

/* ======================================== */
/*           SEÇÃO PROVA SOCIAL             */
/* ======================================== */
.social-proof-section {
  background-color: var(--section-bg-alt);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.testimonial-card {
  background: var(--white-color);
  padding: 30px;
  border-radius: 8px;
  border-top: 5px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(140, 106, 115, 0.08);
}
.testimonial-quote {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.testimonial-quote::before {
  content: "“";
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--primary-color);
  margin-right: 5px;
  line-height: 0;
}
.testimonial-author {
  font-weight: 700;
  color: var(--primary-color-dark);
}
.video-testimonial {
  padding: 0;
  position: relative;
  cursor: pointer;
}
.video-testimonial img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}
.video-testimonial:hover .video-overlay {
  background-color: rgba(169, 129, 138, 0.5);
}
.video-overlay i {
  font-size: 3rem;
  color: var(--white-color);
  background: rgba(0, 0, 0, 0.4);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.video-testimonial:hover .video-overlay i {
  transform: scale(1.1);
}
.video-author {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: var(--white-color);
  font-weight: 700;
}

/* ======================================== */
/*          SEÇÃO DO FORMULÁRIO             */
/* ======================================== */
.form-section {
  background-color: var(--primary-color-light);
}
.form-title {
  color: var(--text-color);
}
.form-title::after {
  background-color: var(--primary-color);
}
.capture-form {
  max-width: 800px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  text-align: left;
}
.form-label {
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.form-control,
.form-select {
  width: 100%;
  padding: 16px 25px;
  border-radius: 10px !important;
  border: 1px solid var(--border-color);
  font-size: 1rem;
  font-family: var(--font-body);
  background: var(--white-color);
  color: var(--text-color);
  transition: all 0.3s ease;
}
.form-control::placeholder {
  color: #999;
}
.form-control:focus,
.form-select:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(169, 129, 138, 0.2) !important;
  border-color: var(--primary-color) !important;
}
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #dc3545 !important;
}
.invalid-feedback {
  font-size: 0.8rem;
  text-align: left;
  margin-top: 5px;
}
.capture-form .cta-button {
  margin-top: 20px;
  width: 100%;
}

/* ======================================== */
/*             ESTILOS DO MODAL             */
/* ======================================== */
.modal-content {
  border-radius: 10px;
  border: none;
}
.modal-header {
  border-bottom: 1px solid var(--border-color);
}
.modal-title {
  font-family: var(--font-heading);
  color: var(--primary-color-dark);
}
.modal-footer {
  border-top: 1px solid var(--border-color);
}
.modal .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.modal .btn-primary:hover {
  background-color: var(--primary-color-dark);
  border-color: var(--primary-color-dark);
}
.modal .form-control:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(169, 129, 138, 0.25) !important;
}

/* ======================================== */
/*                 RODAPÉ                   */
/* ======================================== */
.main-footer {
  background-color: var(--text-color);
  color: #ccc;
  text-align: center;
  padding: 25px 0;
  font-size: 0.9rem;
}

/* ======================================== */
/*             ANIMAÇÕES ON LOAD            */
/* ======================================== */
.animate-on-load {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}
.hero-title {
  animation-delay: 0.2s;
}
.hero-subtitle {
  animation-delay: 0.4s;
}
.hero-section .cta-button {
  animation-delay: 0.6s;
}
.hero-image-content {
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: rotate(0deg);
  }
  50% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(180deg);
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: rotate(360deg);
  }
}
@keyframes pulse {
  0% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1.05);
  }
}

/* ======================================== */
/*              RESPONSIVIDADE              */
/* ======================================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text-content {
    order: 2;
  }
  .hero-image-content {
    order: 1;
    margin-bottom: 40px;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-title {
    font-size: 3rem;
  }
  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-image-content {
    order: 1;
  }
  .about-text-content {
    order: 2;
  }
  .about-text-content .section-title {
    text-align: center;
  }
  .about-text-content .section-title::after {
    margin: 15px auto 0;
  }
  .about-logo {
    margin: 20px auto 0;
  }
}
@media (max-width: 768px) {
  .section-title {
    font-size: 2.2rem;
  }
  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .radio-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
