/* Importação de fontes */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Variáveis CSS */
:root {
  --primary-color: #1a2942;
  --secondary-color: #b8965e;
  --accent-color: #9ba4b4;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --font-primary: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-secondary: 'Montserrat', sans-serif;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Reset e estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.8;
  color: var(--dark-color);
  background-color: var(--light-color);
  letter-spacing: 0.3px;
  font-weight: 300;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Utilitários */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 400;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.btn:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background-color: #111e36;
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover:after {
  width: 100%;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.section-title {
  font-family: var(--font-primary);
  font-size: 2.75rem;
  margin-bottom: 2.5rem;
  position: relative;
  color: var(--primary-color);
  line-height: 1.2;
  font-weight: 600;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 60px;
  height: 2px;
  background-color: var(--secondary-color);
}

.text-center {
  text-align: center;
}

.section-subtitle {
  font-size: 0.85rem;
  color: var(--secondary-color);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 500;
}

/* Header e Navegação */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.header.scrolled {
  padding: 8px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 45px;
  margin-right: 18px;
}

.logo-text {
  font-family: var(--font-primary);
  font-size: 1.65rem;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
}

.logo-text span {
  color: var(--secondary-color);
  font-style: italic;
  font-weight: 500;
}

.nav-menu {
  display: flex;
}

.nav-item {
  margin-left: 40px;
}

.nav-link {
  position: relative;
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-color);
}

/* Sublinhado dos links do menu desktop */
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

/* Efeitos no hover do menu desktop */
.nav-link:hover {
  color: var(--secondary-color);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--secondary-color);
}

.nav-link.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--primary-color);
  margin: 6px 0;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero Section */
#hero {
  height: 100vh;
  background: linear-gradient(rgba(26, 41, 66, 0.815), rgba(26, 41, 66, 0.63)), url('assets/images/hero-bg.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  padding-top: 80px;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-family: var(--font-primary);
  font-size: 3.75rem;
  margin-bottom: 1.75rem;
  line-height: 1.1;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-btn {
  padding: 15px 36px;
  border-radius: 2px;
  font-size: 1rem;
}

/* Sobre Section */
#sobre {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.sobre-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sobre-img {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.sobre-img::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid var(--secondary-color);
  z-index: -1;
  opacity: 0.3;
}

.sobre-img img {
  display: block;
  border-radius: 5px;
  transition: var(--transition);
}

.sobre-img:hover img {
  transform: scale(1.02);
}

.sobre-text {
  padding-right: 20px;
}

.sobre-text p {
  margin-bottom: 1.75rem;
  color: #495057;
}

.sobre-valores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.valor-item {
  display: flex;
  align-items: flex-start;
}

.valor-icon {
  background-color: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(26, 41, 66, 0.1);
}

.valor-item h4 {
  font-family: var(--font-primary);
  margin-bottom: 8px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.2rem;
}

.valor-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Areas de Atuação */
#areas {
  padding: 120px 0;
  background-color: #f9fafb;
  position: relative;
}

.areas-title {
  text-align: center;
  margin-bottom: 60px;
}

.areas-title .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.area-card {
  background-color: white;
  padding: 40px 30px;
  border-radius: 5px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
  z-index: -1;
  opacity: 0.02;
}

.area-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-medium);
}

.area-card:hover::before {
  height: 100%;
}

.area-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 25px;
  transition: var(--transition);
}

.area-card:hover .area-icon {
  transform: scale(1.1);
}

.area-card h3 {
  font-family: var(--font-primary);
  margin-bottom: 20px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.5rem;
  transition: var(--transition);
}

.area-card p {
  color: #6c757d;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Equipe */
#equipe {
  padding: 120px 0;
  position: relative;
}

.equipe-title {
  text-align: center;
  margin-bottom: 60px;
}

.equipe-title .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.equipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.membro-card {
  text-align: center;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  background-color: white;
}

.membro-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.membro-img {
  height: 320px;
  overflow: hidden;
  position: relative;
}

.membro-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(26, 41, 66, 0), rgba(26, 41, 66, 0.3));
  opacity: 0;
  transition: var(--transition);
}

.membro-card:hover .membro-img::after {
  opacity: 1;
}

.membro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.membro-card:hover .membro-img img {
  transform: scale(1.05);
}

.membro-info {
  padding: 30px 25px;
  position: relative;
}

.membro-name {
  font-family: var(--font-primary);
  color: var(--primary-color);
  margin-bottom: 5px;
  font-size: 1.5rem;
  font-weight: 600;
}

.membro-cargo {
  color: var(--secondary-color);
  font-style: italic;
  margin-bottom: 15px;
  font-family: var(--font-primary);
  font-size: 1.1rem;
}

.membro-desc {
  margin-bottom: 20px;
  color: #6c757d;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-link {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Depoimentos */
#depoimentos {
  padding: 120px 0;
  background-color: #f9fafb;
  position: relative;
}

.depoimentos-title {
  text-align: center;
  margin-bottom: 60px;
}

.depoimentos-title .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.depoimentos-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.depoimentos-track {
  min-height: 250px;
  display: flex;
  transition: transform 0.5s ease;
  justify-content: center;
  align-items: center;
}

.depoimento {
  min-width: 100%;
  padding: 50px 40px;
  background-color: white;
  border-radius: 5px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  position: relative;
  opacity: 0;
  animation: fadeIn 0.5s forwards;
  width: 100%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.depoimento::before {
  content: '"';
  font-size: 8rem;
  position: absolute;
  top: -20px;
  left: 30px;
  color: var(--secondary-color);
  opacity: 0.1;
  font-family: Georgia, serif;
}

.depoimento-texto {
  font-style: italic;
  margin-bottom: 30px;
  position: relative;
  font-family: var(--font-primary);
  font-size: 1.25rem;
  line-height: 1.8;
  color: #495057;
}

.depoimento-autor {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.depoimento-cargo {
  font-size: 0.95rem;
  color: #6c757d;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--secondary-color);
  transform: scale(1.2);
}

/* Contato */
#contato {
  padding: 120px 0;
  position: relative;
}

.contato-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: flex-start;
}

.contato-info h2 {
  margin-bottom: 30px;
}

.contato-info>p {
  margin-bottom: 40px;
  color: #495057;
}

.contato-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contato-icon {
  background-color: var(--primary-color);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(26, 41, 66, 0.1);
}

.contato-item h4 {
  font-family: var(--font-primary);
  margin-bottom: 5px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.2rem;
}

.contato-item p {
  color: #6c757d;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary-color);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: #f9fafb;
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(184, 150, 94, 0.1);
  background-color: white;
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.form-control.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.25);
}

.error-message {
  color: #e74c3c;
  font-size: 0.85rem;
  margin-top: 5px;
  font-weight: 500;
  animation: fadeIn 0.3s ease-in-out;
}

/* Modal de opções de contato */
.contact-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.contact-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  width: 90%;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.contact-modal.active .modal-content {
  transform: translateY(0);
}

.modal-content h3 {
  font-family: var(--font-primary);
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.modal-content p {
  margin-bottom: 25px;
  color: #555;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.btn-whatsapp,
.btn-email {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  border-radius: 5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  gap: 10px;
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background-color: #1eb458;
  transform: translateY(-2px);
}

.btn-email {
  background-color: #4285F4;
  color: white;
}

.btn-email:hover {
  background-color: #3367d6;
  transform: translateY(-2px);
}

.btn-close {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-close:hover {
  background-color: #111e36;
}

/* Animação para mostrar mensagem de erro */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsividade */
@media (min-width: 768px) {
  .contact-options {
    flex-direction: row;
    justify-content: center;
  }

  .btn-whatsapp,
  .btn-email {
    min-width: 200px;
  }
}

/* Footer */
.footer {
  background-color: #112c58cc;
  color: white;
  padding: 80px 0 20px;
  position: relative;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  margin-bottom: 25px;
}

.footer-about p {
  margin-bottom: 25px;
  opacity: 0.8;
  line-height: 1.8;
}

.footer-title {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  font-family: var(--font-primary);
  font-weight: 600;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  transition: var(--transition);
  opacity: 0.8;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 5px;
  opacity: 1;
}

.footer-newsletter p {
  margin-bottom: 25px;
  opacity: 0.8;
  line-height: 1.8;
}

.newsletter-form {
  display: flex;
}

.footer-input {
  flex-grow: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 3px 0 0 3px;
  font-family: inherit;
  font-size: 0.95rem;
}

.footer-input:focus {
  outline: none;
}

.footer-btn {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  transition: var(--transition);
}

.footer-btn:hover {
  background-color: #a68550;
}

.footer-bottom {
  margin-top: 70px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.7;
}

.footer-bottom a {
  color: var(--secondary-color);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.footer-contact-item svg {
  margin-right: 12px;
  margin-top: 4px;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.footer-contact-item span {
  opacity: 0.8;
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 70px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.95rem;
  opacity: 0.7;
}

.footer-bottom a {
  color: var(--secondary-color);
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Responsividade */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }

  .footer-about {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-about p {
    max-width: 600px;
    margin: 0 auto 25px;
  }

  .social-links {
    justify-content: center;
  }

  .footer-contact-item {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 60px 0 20px;
  }

  .footer-container {
    gap: 40px;
  }
}

/* Responsividade */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.25rem;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.25rem;
  }

  .sobre-content,
  .contato-container,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .areas-grid,
  .equipe-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sobre-img {
    order: -1;
    max-width: 600px;
    margin: 0 auto 50px;
  }

  .footer-container {
    gap: 50px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }

  .hero-btn {
    width: 100%;
  }

  .areas-grid,
  .equipe-grid,
  .sobre-valores {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-about p,
  .footer-newsletter p {
    max-width: 600px;
    margin: 0 auto 25px;
  }

  .social-links {
    justify-content: center;
  }

  .newsletter-form {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2.25rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .sobre-img::after {
    display: none;
  }

  .depoimento {
    padding: 30px 25px;
  }

  .depoimento-texto {
    font-size: 1.1rem;
  }
}

/* ===== HEADER E NAVEGAÇÃO BASE ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.header.scrolled {
  padding: 8px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 45px;
  margin-right: 18px;
}

.logo-text {
  font-family: var(--font-primary);
  font-size: 1.65rem;
  color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
}

.logo-text span {
  color: var(--secondary-color);
  font-style: italic;
  font-weight: 500;
}

/* ===== NAVEGAÇÃO DESKTOP ===== */
.nav-menu {
  display: flex;
}

.nav-item {
  margin-left: 40px;
}

.nav-link {
  position: relative;
  padding-bottom: 6px;
  font-weight: 500;
  transition: var(--transition);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--secondary-color);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--secondary-color);
}

.nav-link.active::after {
  width: 100%;
}

/* ===== HAMBURGER MENU (inicialmente oculto) ===== */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--primary-color);
  margin: 6px 0;
  transition: var(--transition);
}

/* ===== RESPONSIVIDADE DO MENU ===== */
@media (max-width: 768px) {

  /* Mostrar o botão hamburger em dispositivos móveis */
  .hamburger {
    display: block;
    z-index: 1000;
    position: relative;
  }

  /* Animação do botão hamburger quando ativo */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  /* Estilos do menu móvel */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 20px 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 999;
    backdrop-filter: blur(10px);
    overflow-y: auto;
  }

  /* Mostrar menu quando ativo */
  .nav-menu.active {
    left: 0;
  }

  /* Ajustar itens do menu */
  .nav-item {
    margin: 0;
    width: 90%;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  /* Ajustar links do menu */
  .nav-link {
    display: block;
    width: 100%;
    padding: 15px 0;
    font-size: 1.1rem;
    position: relative;
    border-left: 4px solid transparent;
  }

  /* Remover efeito underline em dispositivos móveis */
  .nav-link::after {
    display: none;
  }

  /* Hover em dispositivos móveis */
  .nav-link:hover {
    background-color: rgba(184, 150, 94, 0.08);
  }

  /* Estilo para link ativo em dispositivos móveis */
  .nav-menu .nav-link.active {
    color: var(--secondary-color);
    background-color: rgba(184, 150, 94, 0.12);
    font-weight: 600;
    border-left: 4px solid var(--secondary-color);
  }

  /* Prevenir rolagem quando o menu está aberto */
  .no-scroll {
    overflow: hidden;
  }
}

/* Ajustes para telas ainda menores */
@media (max-width: 576px) {
  .logo-text {
    font-size: 1.4rem;
  }

  .logo-img {
    width: 40px;
    margin-right: 12px;
  }

  .nav-menu {
    top: 70px;
    height: calc(100vh - 70px);
  }
}

/* Ajuste para o header em dispositivos móveis */
@media (max-width: 768px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
  }

  /* Adicionar espaço no topo para compensar o header fixo */
  body {
    padding-top: 70px;
    /* Ajuste esse valor para corresponder à altura do seu header */
  }

  /* Ajustar a posição do menu mobile */
  .nav-menu {
    top: 70px;
    /* Mesmo valor do padding-top do body */
  }
}

/* Se necessário, ajuste para telas menores */
@media (max-width: 576px) {
  body {
    padding-top: 60px;
    /* Altura menor para telas menores */
  }

  .nav-menu {
    top: 60px;
    /* Mesmo valor do padding-top do body */
  }
}

/* Adicione estas regras ao final do seu arquivo styles.css */

/* Correção para o header fixo em mobile */
@media (max-width: 768px) {

  /* Remover padding-top excessivo que estava causando scroll horizontal */
  body {
    padding-top: 0;
    ;
    overflow-x: hidden;
    /* Prevenir scroll horizontal */
  }

  /* Corrigir altura e posicionamento do header */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    /* Altura automática baseada no conteúdo */
    z-index: 1000;
  }

  /* Ajustar o primeiro elemento após o header para compensar o espaço */
  #hero {
    padding-top: 80px;
    /* Ajuste conforme a altura do seu header */
  }

  /* Corrigir posição do menu mobile */
  .nav-menu {
    top: 100%;
    /* Posicionar logo abaixo do header */
    height: calc(100vh - 80px);
    overflow-y: auto;
  }

  .logo {
    margin-left: 1rem;
  }

  .hamburger {
    margin-right: 1rem;
  }

  /* Ajustar container para evitar overflow */
  .container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
}

/* Ajuste para telas ainda menores */
@media (max-width: 576px) {
  #hero {
    padding-top: 70px;
    /* Valor menor para telas menores */
  }

  .nav-menu {
    height: calc(100vh - 70px);
  }
}