/* ===== CSS Variables & Reset ===== */
:root {
  /* Colors */
  --background: #0a0a0a;
  --foreground: #e8e4dc;
  --card: #121212;
  --card-foreground: #e8e4dc;
  --primary: #c9a65c;
  --primary-foreground: #0a0a0a;
  --primary-light: #d4b76e;
  --secondary: #1f1812;
  --muted: #262626;
  --muted-foreground: #8c8578;
  --border: #3d3428;
  --gold: #c9a65c;
  --gold-light: #d4b76e;
  --cream: #e8dcc8;

  /* Gradients */
  --gradient-gold: linear-gradient(135deg, #c9a65c, #d4b76e);

  /* Shadows */
  --shadow-gold: 0 0 40px rgba(201, 166, 92, 0.15);
  --shadow-elegant: 0 20px 60px rgba(0, 0, 0, 0.5);

  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;

  /* Spacing */
  --radius: 0.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Evita rolagem lateral indesejada globalmente */
  width: 100%;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== Utilities ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hidden {
  display: none !important;
}

.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-divider {
  width: 6rem;
  height: 2px;
  background: var(--gradient-gold);
  margin: 0 auto;
}

.section-divider.left {
  margin: 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gold {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 10px 30px rgba(201, 166, 92, 0.3);
}

.btn-gold-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-gold-outline:hover {
  background: rgba(201, 166, 92, 0.1);
  box-shadow: 0 10px 30px rgba(201, 166, 92, 0.2);
}

.btn-hero {
  padding: 1rem 2rem;
  font-size: 1rem;
  letter-spacing: 0.15em;
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-hero:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(201, 166, 92, 0.3);
}

.btn-hero-outline {
  padding: 1rem 2rem;
  font-size: 1rem;
  letter-spacing: 0.15em;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-hero-outline:hover {
  background: rgba(201, 166, 92, 0.1);
  box-shadow: 0 15px 40px rgba(201, 166, 92, 0.2);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.btn-full {
  width: 100%;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  50% {
    transform: translateY(-10px) translateX(-50%);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.5s;
}

.delay-4 {
  animation-delay: 0.6s;
}

.delay-5 {
  animation-delay: 0.8s;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.5s ease;
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 228, 220, 0.8);
  transition: color 0.3s ease;
}

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

.nav-cta {
  display: none;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
}

.mobile-menu-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-menu {
  position: absolute;
  top: 5rem;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  animation: fadeUp 0.3s ease-out;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1rem;
  gap: 1rem;
}

.mobile-nav-link {
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 228, 220, 0.8);
  transition: color 0.3s ease;
}

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

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .nav-cta {
    display: inline-flex;
  }

  .mobile-menu-btn {
    display: none;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  position: absolute;
  /* Coloca uma em cima da outra */
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  /* Escondido por padrão */
  transition: opacity 1.5s ease-in-out;
  /* Velocidade da troca */
}

.hero-img.active {
  opacity: 1;
  /* Mostra a que tiver a classe active */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(10, 10, 10, 0.7),
      rgba(10, 10, 10, 0.5),
      var(--background));
}

.hero-overlay-side {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(10, 10, 10, 0.8),
      transparent,
      rgba(10, 10, 10, 0.8));
}

.hero-decor-1 {
  position: absolute;
  top: 5rem;
  left: 2.5rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
}

.hero-decor-2 {
  position: absolute;
  bottom: 10rem;
  right: 2.5rem;
  width: 6rem;
  height: 6rem;
  border: 1px solid rgba(201, 166, 92, 0.1);
  animation: pulse 3s ease-in-out infinite;
  animation-delay: 1s;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  padding: 0 1rem;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  font-weight: 300;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 32rem;
  margin: 3rem auto 0;
}

.stat {
  text-align: center;
}

.stat-border {
  border-left: 1px solid rgba(61, 52, 40, 0.5);
  border-right: 1px solid rgba(61, 52, 40, 0.5);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}


@media (min-width: 640px) {
  .hero-cta {
    flex-direction: row;
  }

  .stat-number {
    font-size: 2.5rem;
  }
}

/* ===== Section Headers ===== */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 4rem;
}

.section-subtitle {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-description {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-top: 1.5rem;
}

/* ===== About Section ===== */
.about {
  position: relative;
  padding: 6rem 0;
  background: var(--card);
  overflow: hidden;
}

.pattern-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 2px 2px, var(--primary) 1px, transparent 0);
  background-size: 40px 40px;
}

.pattern-bg.diagonal {
  background-image:
    linear-gradient(45deg, var(--primary) 25%, transparent 25%),
    linear-gradient(-45deg, var(--primary) 25%, transparent 25%);
  background-size: 60px 60px;
}

.about-grid {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-container {
  position: relative;
  z-index: 10;
}

.about-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  box-shadow: var(--shadow-elegant);
}

.about-frame-1 {
  position: absolute;
  top: -1rem;
  left: -1rem;
  right: 1rem;
  bottom: 1rem;
  border: 2px solid rgba(201, 166, 92, 0.3);
}

.about-frame-2 {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: -1rem;
  bottom: -1rem;
  border: 1px solid rgba(201, 166, 92, 0.2);
}

.about-badge {
  position: absolute;
  bottom: -2rem;
  right: 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-elegant);
  z-index: 20;
}

.badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
}

.badge-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-content {
  padding-top: 2rem;
}

.about-text {
  margin: 2rem 0;
  color: var(--muted-foreground);
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-text strong {
  color: var(--foreground);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  padding: 1rem;
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid rgba(61, 52, 40, 0.5);
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(201, 166, 92, 0.5);
}

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

.feature-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-image {
    height: 500px;
  }

  .about-badge {
    bottom: 2rem;
    right: -2rem;
  }
}

/* ===== Services Section ===== */
.services {
  position: relative;
  padding: 6rem 0;
  background: var(--background);
}

.services-border-top,
.services-border-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 166, 92, 0.3), transparent);
}

.services-border-top {
  top: 0;
}

.services-border-bottom {
  bottom: 0;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: 2rem;
  background: var(--card);
  border: 1px solid rgba(61, 52, 40, 0.5);
  transition: all 0.5s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 166, 92, 0.5);
  box-shadow: 0 20px 40px rgba(201, 166, 92, 0.05);
}

.service-card.featured {
  background: rgba(201, 166, 92, 0.1);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(201, 166, 92, 0.1);
}

.featured-badge {
  position: absolute;
  top: -0.75rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 1rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.featured-badge svg {
  width: 0.75rem;
  height: 0.75rem;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--primary-foreground);
}

.service-icon.featured-icon {
  background: var(--primary);
  color: var(--primary-foreground);
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.service-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  min-height: 3.75rem;
  margin-bottom: 1.5rem;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 1rem;
  border-top: 1px solid rgba(61, 52, 40, 0.5);
}

.service-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.service-duration {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.services-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Team Section ===== */
.team {
  position: relative;
  padding: 6rem 0;
  background: var(--card);
  overflow: hidden;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
  justify-items: center;
}

.team-card {
  width: 100%;
  max-width: 420px;
}

.team-image-container {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.team-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.team-card:hover .team-image {
  transform: scale(1.1);
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background), rgba(10, 10, 10, 0.2), transparent);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-overlay {
  opacity: 0.8;
}

.team-social {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 166, 92, 0.9);
  color: var(--primary-foreground);
  border-radius: 50%;
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.3s ease;
}

.team-card:hover .team-social {
  opacity: 1;
  transform: translateY(0);
}

.team-social svg {
  width: 1.25rem;
  height: 1.25rem;
}

.team-experience {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
}

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

.team-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.team-specialties {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.specialty {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(61, 52, 40, 0.5);
  border-radius: 9999px;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Contact Section ===== */
.contact {
  position: relative;
  padding: 6rem 0;
  background: var(--background);
}

.contact-border-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 166, 92, 0.3), transparent);
}

.contact-grid {
  display: grid;
  gap: 3rem;
  align-items: start;
  max-width: 72rem;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid rgba(61, 52, 40, 0.5);
  transition: border-color 0.3s ease;
}

.info-card:hover {
  border-color: rgba(201, 166, 92, 0.5);
}

.info-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 166, 92, 0.1);
  flex-shrink: 0;
}

.info-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.info-content h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.info-content p {
  color: var(--foreground);
}

.info-content span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.schedule-card {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid rgba(61, 52, 40, 0.5);
}

.schedule-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.schedule-title svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.schedule-list {
  display: flex;
  flex-direction: column;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(61, 52, 40, 0.3);
}

.schedule-item:last-child {
  border-bottom: none;
}

.hours {
  color: var(--primary);
}

.hours.closed {
  color: rgba(239, 68, 68, 0.7);
}

.contact-buttons {
  display: flex;
  gap: 1rem;
}

.contact-buttons .btn {
  flex: 1;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-top: 1rem;
}

.social-link {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid rgba(61, 52, 40, 0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-map {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.map-container {
  position: relative;
  height: 400px;
  border: 1px solid rgba(61, 52, 40, 0.5);
  overflow: hidden;
}

.map-container iframe {
  filter: grayscale(100%) contrast(1.1);
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: rgba(201, 166, 92, 0.05);
  pointer-events: none;
}

.directions-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
}

.directions-card svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.directions-card h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.directions-card p {
  font-size: 0.875rem;
  opacity: 0.9;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .map-container {
    height: 500px;
  }
}

/* ===== Footer ===== */
.footer {
  background: var(--card);
  border-top: 1px solid rgba(61, 52, 40, 0.5);
}

.footer-content {
  padding: 4rem 1rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

.footer-brand {
  max-width: 24rem;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer-description {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

.footer-social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  color: var(--muted-foreground);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-contact p,
.footer-address {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.footer-contact strong {
  color: var(--foreground);
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-address svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(61, 52, 40, 0.5);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-bottom-content {
    flex-direction: row;
    justify-content: center;
  }
}

html {
  scroll-behavior: smooth !important;
}

/* Garante que o menu fixo não cubra o conteúdo */
section[id] {
  scroll-margin-top: 80px;
}

/* Logo*/
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Espaço entre a imagem e o texto */
  text-decoration: none;
}

/* Controla o tamanho da imagem da logo */
.logo-img {
  height: 45px;
  /* Ajuste conforme a altura desejada */
  width: auto;
  object-fit: contain;
}

/* Mantém o texto empilhado verticalmente ao lado da logo */
.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

/* Garante que o texto não herde espaçamentos estranhos */
.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* ===== Correções Mobile (Responsividade) ===== */
/* ===== Correções Mobile (Responsividade) ===== */
@media (max-width: 768px) {
  
  /* 1. Ajuste da Logo Hero */
  .hero {
    flex-direction: column;
    padding-top: 8rem; /* Aumentei para garantir que não corte no topo */
    text-align: center;
    justify-content: center; /* Garante centralização vertical */
  }

  .hero-decor-1 {
    position: relative; 
    /* ZERA as posições do desktop para não ficar torto */
    top: auto; 
    left: auto; 
    right: auto;
    
    z-index: 50; 
    width: 180px; /* Tamanho da logo */
    height: auto;
    margin: 0 auto 1.5rem auto; /* O '0 auto' centraliza horizontalmente */
    display: block;
    border-radius: 0; /* Remove arredondamento se a imagem for quadrada/retangular */
  }

  .hero-decor-1 img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
  }

  /* Esconde a decoração 2 no mobile */
  .hero-decor-2 {
    display: none; 
  }
  
  /* 2. Ajuste de Fontes para evitar quebra de linha feia */
  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    padding: 0 1rem;
  }

  /* 3. CORREÇÃO DA ROLAGEM HORIZONTAL */
  
  /* Força o iframe do Google Maps a caber na tela */
  .map-container iframe {
    width: 100% !important;
    max-width: 100vw;
  }

  /* Remove margens negativas que estouram a tela na seção Sobre */
  .about-frame-1, 
  .about-frame-2 {
    left: 0 !important;
    right: 0 !important;
    width: 100%;
    box-sizing: border-box; /* Garante que a borda conte no tamanho total */
  }
  
  .about-image-wrapper {
    margin: 0 1rem;
    width: auto;
  }

  /* Ajuste no container geral para garantir margens */
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    overflow-x: hidden; /* Segurança extra */
  }
}