/* ======= ESTILOS BASE E VARIÁVEIS ======= */
:root {
  --bg-primary: #FFFFFF;
  --bg-secondary: #FAFAFA;
  --text-main: #000000;
  --text-muted: #4A4A4A;
  --gold-primary: #CDAA41;
  --gold-hover: #B09035;
  --gray-border: #E8E8E8;
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.12);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Utilitários de Texto */
.text-gold {
  color: var(--gold-primary);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--gold-primary);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background-color: var(--gold-primary);
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid var(--gold-primary);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  gap: 10px;
}

.btn:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(205, 170, 65, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--gold-primary);
}

.btn-outline:hover {
  background-color: var(--gold-primary);
  color: #FFFFFF;
}

/* ======= HEADER E NAVEGAÇÃO ======= */
.topbar {
  background-color: var(--text-main);
  color: #FFFFFF;
  padding: 8px 0;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-right,
.topbar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.topbar a:hover {
  color: var(--gold-primary);
}

.navbar {
  background-color: var(--bg-primary);
  padding: 30px 0;
  transition: all var(--transition);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  position: relative;
}

.logo img {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 160px !important;
  max-width: none !important;
  z-index: 1001;
}

.logo span {
  color: var(--gold-primary);
}

.nav-menu {
  display: flex;
  gap: 25px;
  align-items: center;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 10px 0;
  color: var(--text-main);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 5px;
  left: 0;
  background-color: var(--gold-primary);
  transition: width var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background-color: var(--gold-primary);
  color: #FFF !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-cta:hover {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
}

/* Dropdown */
.nav-item.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-primary);
  min-width: 240px;
  box-shadow: var(--shadow-hover);
  border-top: 3px solid var(--gold-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  border-radius: 0 0 4px 4px;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 12px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--gray-border);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: var(--bg-secondary);
  color: var(--gold-primary);
  padding-left: 25px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-main);
  cursor: pointer;
}

/* ======= HERO SECTION ======= */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 40%, rgba(255, 255, 255, 0.7) 100%), url('https://images.unsplash.com/photo-1589829085413-56de8ae18c73?auto=format&fit=crop&q=80') center/cover no-repeat;
}

.hero-content {
  max-width: 650px;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-main);
}

.hero p.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-bullet-points {
  margin-bottom: 40px;
  list-style: none;
}

.hero-bullet-points li {
  font-size: 1.05rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.hero-bullet-points li::before {
  content: '✔';
  color: var(--gold-primary);
  font-weight: bold;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ======= SECTONS GERAIS ======= */
.section {
  padding: 90px 0;
}

.bg-light {
  background-color: var(--bg-secondary);
}

/* ======= VOCÊ ESTÁ PASSANDO POR ISSO? ======= */
.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.pain-point-card {
  background: var(--bg-primary);
  border: 1px solid var(--gray-border);
  padding: 25px;
  border-radius: 4px;
  border-left: 4px solid var(--gold-primary);
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.pain-point-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.pain-point-card h4 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
}

.pain-cta-wrap {
  text-align: center;
  margin-top: 40px;
}

/* ======= QUEM SOMOS ======= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  text-align: left;
}

.about-text h2::after {
  left: 0;
  transform: none;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.feature-item::before {
  content: '✔';
  color: var(--gold-primary);
}

.about-auth {
  display: inline-block;
  background: var(--bg-secondary);
  padding: 15px 25px;
  border-left: 3px solid var(--gold-primary);
  font-weight: 600;
  color: var(--text-main);
  margin-top: 20px;
  font-size: 1.1rem;
}

.about-img {
  position: relative;
}

.about-img img {
  border-radius: 4px;
  box-shadow: 20px 20px 0 var(--gold-primary);
}

/* ======= ÁREAS DE ATUAÇÃO ======= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg-primary);
  padding: 40px 30px;
  border-radius: 4px;
  box-shadow: var(--shadow-light);
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-primary);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 25px;
  flex-grow: 1;
}

.service-link {
  color: var(--gold-primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
  display: inline-block;
}

.service-card:hover .service-link {
  text-decoration: underline;
}

/* ======= PROVA SOCIAL (SLIDER) ======= */
.testimonials-section {
  overflow: hidden;
}

.testimonial-slider {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
  padding: 20px 0;
}

.testimonial-item {
  min-width: calc(33.333% - 20px);
  background: var(--bg-primary);
  padding: 30px;
  border-radius: 4px;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--gray-border);
}

.stars {
  color: var(--gold-primary);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.client-meta {
  display: flex;
  align-items: center;
  gap: 15px;
}

.client-ava {
  width: 50px;
  height: 50px;
  background-color: var(--bg-secondary);
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--text-main);
}

.client-info h4 {
  color: var(--gold-primary);
  font-family: var(--font-body);
  font-size: 1rem;
}

/* Slider Controls */
.slider-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  background: var(--gray-border);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--gold-primary);
  transform: scale(1.2);
}

/* ======= BLOCO DE URGÊNCIA ======= */
.urgency-section {
  background-color: rgba(205, 170, 65, 0.1);
  border-top: 4px solid var(--gold-primary);
  border-bottom: 4px solid var(--gold-primary);
  text-align: center;
  padding: 60px 20px;
}

.urgency-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* ======= FORMULÁRIO DE CAPTAÇÃO ======= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form {
  background: var(--bg-primary);
  padding: 40px;
  border-radius: 4px;
  box-shadow: var(--shadow-hover);
  border-top: 4px solid var(--gold-primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--gray-border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(205, 170, 65, 0.2);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-trust {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-side h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info-side p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.info-item-icon {
  font-size: 1.5rem;
  color: var(--gold-primary);
}

.info-item-text h4 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  margin-bottom: 5px;
}

.info-item-text p {
  margin-bottom: 0;
  color: var(--text-muted);
}

/* ======= MAPA ======= */
.map-embed {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ======= FOOTER ======= */
footer {
  background-color: #111111;
  color: #FFFFFF;
  padding: 70px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col .logo {
  color: #FFFFFF;
  display: inline-block;
  margin-bottom: 15px;
}

.footer-col p {
  color: #AAAAAA;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--gold-primary);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-links li {
  color: #AAAAAA;
  font-size: 0.95rem;
  /* Match modern size */
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid #333333;
  color: #777777;
  font-size: 0.9rem;
}

/* ======= BOTÃO WHATSAPP FLUTUANTE ======= */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: #FFF;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #FFF;
  animation: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ======= BOTÃO VOLTAR AO TOPO ======= */
.back-to-top {
  position: fixed;
  bottom: 105px;
  /* Acima do botão do WhatsApp (30px bottom + 65px height + 10px gap) */
  right: 30px;
  background-color: var(--gold-primary);
  color: #000000;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 9998;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  text-decoration: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  background-color: #000000;
  color: var(--gold-primary);
}

/* ======= RESPONSIVE EFEITOS ======= */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

/* ======= COOKIE BANNER ======= */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: #ffffff;
  color: #000000;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.5s ease-in-out;
  max-width: 500px;
  margin: 0 auto;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

.btn-cookie {
  background-color: var(--gold-primary);
  color: #000000;
  border: none;
  padding: 10px 25px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-cookie:hover {
  background-color: #000000;
  color: var(--gold-primary);
}

@media (min-width: 768px) {
  .cookie-banner {
    flex-direction: row;
    right: auto;
    bottom: 30px;
    left: 30px;
    margin: 0;
  }

  .cookie-banner p {
    text-align: left;
  }

  .btn-cookie {
    width: auto;
    white-space: nowrap;
  }
}

/* ======= RESPONSIVIDADE ======= */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-item {
    min-width: calc(50% - 15px);
  }

  .topbar {
    display: none;
  }

  /* Hide topbar on smaller screens */
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease-in-out;
  }

  .nav-menu.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .nav-item {
    width: 100%;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    background-color: var(--bg-secondary);
    padding: 10px 0;
    text-align: center;
  }

  .nav-item.dropdown.active .dropdown-menu {
    display: block;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .testimonial-item {
    min-width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}