*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream: #f5f0e8;
  --warm-dark: #1c1a15;
  --brown: #6b4c2a;
  --bronze: #a0713a;
  --olive: #4a5240;
  --sand: #d4bfa0;
  --light-sand: #ede5d8;
  --text: #2a2520;
  --muted: #7a706a;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-aberto {
  overflow: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  height: 65px;
  background: rgba(28, 26, 21, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(160, 113, 58, 0.25);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 110px;
  width: auto;
  max-width: none;
}

/* Links desktop */
.nav-links-desktop {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links-desktop a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.nav-links-desktop a:hover {
  color: var(--sand);
}

.nav-links-desktop .nav-cta {
  background: var(--bronze) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 2px;
  font-weight: 500 !important;
}

.nav-links-desktop .nav-cta:hover {
  background: var(--brown) !important;
}

/* ── HAMBÚRGUER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index:10000;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--sand);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  transform-origin: center;
  pointer-events: none;
}

.nav-hamburger.aberto span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.aberto span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.aberto span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MENU MOBILE OVERLAY ──
   Fora da nav, direto no body.
   Sem backdrop-filter para não criar stacking context.
   Sem transform para não quebrar position:fixed no Safari.
*/
.nav-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #0e0d0a;
  z-index: 9999;
  padding: 90px 2rem 2rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.nav-mobile-overlay.aberto {
  opacity: 1;
  visibility: visible;
}

.nav-mobile-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-mobile-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-mobile-links a {
  display: block;
  padding: 1.2rem 0;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
}

.nav-mobile-links a:active {
  color: var(--sand);
}

.nav-mobile-links .nav-cta {
  display: block;
  margin-top: 2rem;
  padding: 1rem !important;
  text-align: center;
  background: var(--bronze) !important;
  color: var(--white) !important;
  border-radius: 2px;
  border-bottom: none !important;
  font-weight: 500 !important;
}

/* ── HERO ── */
#hero {
  height: 100svh;
  min-height: 600px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  animation: heroZoom 9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1);
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      135deg,
      rgba(28, 26, 21, 0.8) 0%,
      rgba(28, 26, 21, 0.4) 50%,
      rgba(28, 26, 21, 0.1) 100%
    ),
    linear-gradient(to top, rgba(28, 26, 21, 0.95) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 4rem 5rem;
  max-width: 800px;
  width: 100%;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(22px);
  animation: heroFadeUp 0.9s ease forwards;
}

.hero-title {
  animation-delay: 0.45s;
}

.hero-subtitle {
  animation-delay: 0.62s;
}

.hero-actions {
  animation-delay: 0.78s;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.4rem;
}

.hero-title em {
  font-style: italic;
  color: var(--sand);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--bronze);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    background 0.3s,
    transform 0.25s,
    box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(160, 113, 58, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-primary:hover::after {
  left: 150%;
}

.btn-primary:hover {
  background: var(--brown);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(160, 113, 58, 0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition:
    color 0.25s,
    border-color 0.25s,
    gap 0.25s;
}

.btn-ghost:hover {
  color: var(--sand);
  border-color: var(--sand);
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 4rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%,
  100% {
    width: 40px;
    opacity: 0.4;
  }

  50% {
    width: 60px;
    opacity: 0.8;
  }
}

/* ── SEÇÕES GERAIS ── */
section {
  padding: 6rem 4rem;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--warm-dark);
  margin-bottom: 1.2rem;
}

.section-title em {
  font-style: italic;
  color: var(--bronze);
}

.section-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 520px;
  font-weight: 300;
}

/* ── SOBRE ── */
#sobre {
  background: var(--warm-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding: 8rem 4rem;
  gap: 8rem;
}

.about-img-wrap {
  position: relative;
  height: 580px;
  border-radius: 3px;
  overflow: hidden;
  align-self: stretch;
}

.about-img-accent {
  width: 100%;
  height: 100%;
  background-image: url("../img/banqueta-nautica-03.png");
  background-size: cover;
  background-position: center 50%;
  border-radius: 3px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-img-wrap:hover .about-img-accent {
  transform: scale(1.03);
}

.about-img-wrap::after {
  content: "";
  position: absolute;
  top: 2rem;
  left: -6px;
  width: 6px;
  height: 60%;
  background: var(--bronze);
  border-radius: 0 2px 2px 0;
}

.about-text .section-label {
  color: var(--sand);
}

.about-text .section-title {
  color: var(--white);
}

.about-text .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: var(--sand);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  letter-spacing: 0.04em;
}

/* ── MOSAICO ── */
.produtos-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 380px 280px;
  gap: 5px;
}

.mosaic-card {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: grab;
  user-select: none;
}

.mosaic-card:active {
  cursor: grabbing;
}

.mc-big {
  grid-column: 1;
  grid-row: 1 / 3;
}

.mc-b {
  grid-column: 2;
  grid-row: 1;
}

.mc-c {
  grid-column: 3;
  grid-row: 1;
}

.mc-d {
  grid-column: 2;
  grid-row: 2;
}

.mc-e {
  grid-column: 3;
  grid-row: 2;
}

.mc-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mc-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.8) saturate(0.9);
}

.mosaic-card:hover .mc-slide {
  filter: brightness(0.65) saturate(1.05);
}

.mc-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: var(--bronze);
  border-radius: 2px;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  padding: 4px 9px;
}

.mc-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 1.5rem 1.25rem 2.5rem;
  background: linear-gradient(
    to top,
    rgba(20, 18, 14, 0.93) 0%,
    transparent 100%
  );
  pointer-events: none;
}

.mc-cat {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand);
  font-weight: 500;
  margin-bottom: 4px;
}

.mc-name {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.2;
}

.mc-big .mc-name {
  font-size: 1.35rem;
}

.mc-dots {
  position: absolute;
  bottom: 0.85rem;
  right: 1rem;
  display: flex;
  gap: 5px;
  z-index: 4;
  align-items: center;
}

.mc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition:
    background 0.3s,
    transform 0.3s;
  cursor: pointer;
  flex-shrink: 0;
}

.mc-dot.active {
  background: var(--sand);
  border-color: var(--sand);
  transform: scale(1.35);
}

.mc-drag-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(20, 18, 14, 0.55);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
  animation: dragHintPulse 2.2s ease-in-out infinite;
}

.mc-drag-hint svg {
  width: 13px;
  height: 13px;
  stroke: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.mc-drag-hint.ocultar {
  opacity: 0;
}

@keyframes dragHintPulse {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-3px);
  }
}

/* ── PRODUTOS ── */
#produtos {
  background: var(--cream);
}

.produtos-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

/* ── MATERIAIS ── */
#materiais {
  background: var(--light-sand);
}

.materiais-intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.materiais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.material-card {
  background: var(--white);
  border-radius: 4px;
  padding: 1.8rem 1.2rem 1.2rem;
  border: 1px solid rgba(107, 76, 42, 0.1);
  border-left: 3px solid transparent;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.material-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(107, 76, 42, 0.12);
  border-left-color: var(--bronze);
}

.material-icon-wrap {
  width: 36px;
  height: 36px;
  margin-bottom: 1.25rem;
  color: var(--bronze);
}

.material-icon-wrap svg {
  width: 100%;
  height: 100%;
  stroke: var(--bronze);
}

.material-num {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: rgba(160, 113, 58, 0.1);
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-weight: 600;
  pointer-events: none;
}

.material-name {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  color: var(--warm-dark);
  margin-bottom: 0.6rem;
}

.material-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

.material-specs {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--light-sand);
}

.spec-tag {
  display: inline-block;
  background: var(--light-sand);
  color: var(--brown);
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  margin: 0.2rem 0.2rem 0 0;
  font-weight: 500;
}

/* ── PARCEIROS ── */
#parceiros {
  background: var(--cream);
  padding: 3rem 0;
  border-top: 1px solid rgba(107, 76, 42, 0.12);
  border-bottom: 1px solid rgba(107, 76, 42, 0.12);
  overflow: hidden;
}

.parceiros-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 4rem;
  margin-bottom: 2rem;
}

.parceiros-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  white-space: nowrap;
}

.parceiros-line {
  flex: 1;
  height: 1px;
  background: rgba(107, 76, 42, 0.15);
}

.parceiros-track-wrap {
  position: relative;
  overflow: hidden;
}

.parceiros-track-wrap::before,
.parceiros-track-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.parceiros-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--cream), transparent);
}

.parceiros-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--cream), transparent);
}

.parceiros-track {
  display: flex;
  flex-direction: row;
  width: max-content;
  animation: scrollParceiros 30s linear infinite;
}

.parceiros-track:hover {
  animation-play-state: paused;
}

@keyframes scrollParceiros {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.parceiro-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  border-right: 1px solid rgba(107, 76, 42, 0.1);
  min-width: 160px;
  transition: background 0.25s;
  text-decoration: none;
  cursor: pointer;
}

a.parceiro-item:hover {
  background: rgba(160, 113, 58, 0.08);
}

.parceiro-logo {
  height: 50px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.5);
  transition: filter 0.3s;
}

.parceiro-logo--grande {
  height: 80px;
  max-width: 170px;
}

.parceiro-logo--xl {
  height: 105px;
  max-width: 210px;
}

a.parceiro-item:hover .parceiro-logo {
  filter: grayscale(0) brightness(1);
}

/* ── AVALIAÇÕES ── */
#avaliacoes {
  background: var(--warm-dark);
}

.av-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.av-header .section-title {
  color: var(--white);
}

.av-header .section-label {
  color: var(--sand);
}

.av-score-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.av-score-num {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: var(--white);
  line-height: 1;
}

.av-stars {
  display: flex;
  gap: 3px;
  color: var(--bronze);
}

.av-stars svg {
  width: 16px;
  height: 16px;
}

.av-score-label {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
}

.av-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.av-card {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 1.5rem;
  transition: border-color 0.25s;
}

.av-card:hover {
  border-color: rgba(160, 113, 58, 0.4);
}

.av-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.av-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(107, 76, 42, 0.35);
  color: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 500;
  flex-shrink: 0;
}

.av-name {
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 500;
}

.av-date {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 2px;
}

.av-text {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  font-weight: 300;
  font-style: italic;
}

.av-link {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  text-decoration: none;
  border-bottom: 1px solid rgba(160, 113, 58, 0.4);
  padding-bottom: 2px;
  font-weight: 500;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.av-link:hover {
  color: var(--sand);
  border-color: var(--sand);
}

/* ── DIFERENCIAIS ── */
#diferenciais {
  background: var(--cream);
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(107, 76, 42, 0.12);
  border-left: 1px solid rgba(107, 76, 42, 0.12);
}

.diferencial {
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid rgba(107, 76, 42, 0.1);
  border-radius: 4px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  position: relative;
}

.diferencial::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 2.5rem;
  width: 0;
  height: 2px;
  background: var(--bronze);
  transition: width 0.4s ease;
}

.diferencial:hover::after {
  width: calc(100% - 5rem);
}

.diferencial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.diferencial-header svg {
  width: 22px;
  height: 22px;
  stroke: var(--bronze);
}

.diferencial-num {
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  color: rgba(160, 113, 58, 0.35);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.diferencial-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--warm-dark);
  margin-bottom: 0.75rem;
}

.diferencial-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ── CONTATO ── */
#contato {
  background: var(--warm-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: unset;
  padding: 0;
  overflow: hidden;
}

.contato-visual {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.contato-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  filter: brightness(0.55) saturate(0.8);
}

.contato-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, var(--warm-dark) 0%, transparent 40%);
}

.contato-form-area {
  padding: 2rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
}

.contato-form-area .section-label {
  color: var(--sand);
  font-size: 0.78rem;
}

.contato-form-area .section-title {
  color: var(--white);
  margin-bottom: 0.6rem;
  font-size: clamp(2.2rem, 3vw, 2.8rem);
}

.contato-form-area .section-desc {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.4rem;
  font-size: 1rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.4rem;
  font-weight: 400;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  padding: 1rem 1.15rem;
  color: var(--white);
  font-family: "DM Sans", sans-serif;
  font-size: 1.05rem;
  outline: none;
  transition:
    border-color 0.25s,
    background 0.25s;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--bronze);
  background: rgba(160, 113, 58, 0.08);
}

.form-group select option {
  background: var(--warm-dark);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  width: 100%;
  background: var(--bronze);
  color: var(--white);
  border: none;
  padding: 1.1rem;
  border-radius: 5px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.25s,
    transform 0.2s;
  margin-top: 0.6rem;
}

.submit-btn:hover {
  background: var(--brown);
  transform: translateY(-2px);
}

/* ── Erros de formulário ── */
.field-error {
  display: none;
  color: #e07070;
  font-size: 0.72rem;
  margin-top: 0.3rem;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown) {
  border-color: rgba(224, 112, 112, 0.5);
}

/* ── LOCALIZAÇÃO ── */
#localizacao {
  background: #100f0c;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  gap: 3rem;
  min-height: unset;
  border-top: 1px solid rgba(160, 113, 58, 0.15);
  padding: 3rem 4rem;
}

.loc-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.loc-info .section-label {
  color: var(--sand);
}

.loc-info .section-title {
  color: var(--white);
  margin-bottom: 2rem;
}

.loc-dados {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.loc-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.loc-icon {
  width: 32px;
  height: 32px;
  background: rgba(160, 113, 58, 0.12);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.loc-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--bronze);
}

.loc-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 3px;
}

.loc-value {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  font-weight: 300;
}

.loc-maps-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
  text-decoration: none;
  border-bottom: 1px solid rgba(160, 113, 58, 0.35);
  padding-bottom: 2px;
  font-weight: 500;
  width: fit-content;
  transition:
    color 0.2s,
    border-color 0.2s;
}

.loc-maps-link:hover {
  color: var(--sand);
  border-color: var(--sand);
}

.loc-map-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  height: 320px;
}

.loc-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: sepia(15%) saturate(0.85) brightness(0.92) contrast(1.02);
}


/* ── FOOTER ── */
footer {
  background: #100f0c;
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(160, 113, 58, 0.2);
}

.footer-logo {
  font-family: "Playfair Display", serif;
  color: var(--sand);
  font-size: 1.1rem;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.78rem;
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  font-size: 0.78rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--sand);
}

/* ── FADE-UP ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.3s;
}

/* ============================================================
   RESPONSIVIDADE
============================================================ */

@media (min-width: 1600px) {
  section {
    padding: 7rem 8rem;
  }

  nav {
    padding: 0 6rem;
  }

  .nav-logo-img {
    height: 110px;
  }

  .hero-content {
    padding-left: 6rem;
  }

  .parceiros-header {
    padding: 0 6rem;
  }
}

@media (max-width: 1200px) {
  section {
    padding: 5rem 2rem;
  }

  nav {
    padding: 0 2rem;
  }

  .hero-content {
    padding: 0 2rem 4rem;
  }

  #sobre {
    gap: 4rem;
    padding: 6rem 2rem;
  }

  .materiais-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .parceiros-header {
    padding: 0 2rem;
  }

  #contato {
    padding: 0;
  }

  #localizacao {
    padding: 2rem;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }

  #sobre {
    grid-template-columns: 1fr;
  }

  .about-img-wrap {
    height: 450px;
  }

  .materiais-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .produtos-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .av-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .av-score-wrap {
    align-items: flex-start;
  }

  .av-cards {
    grid-template-columns: 1fr;
  }

  .diferenciais-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .produtos-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 190px 190px;
  }

  .mc-big {
    grid-column: 1 / 3;
    grid-row: 1;
  }

  .mc-b {
    grid-column: 1;
    grid-row: 2;
  }

  .mc-c {
    grid-column: 2;
    grid-row: 2;
  }

  .mc-d {
    grid-column: 1;
    grid-row: 3;
  }

  .mc-e {
    grid-column: 2;
    grid-row: 3;
  }
}

@media (max-width: 768px) {
  /* Nav */
  nav {
    padding: 0 1rem;
    height: 65px;
  }

  .nav-logo-img {
    height: 60px;
  }

  .nav-links-desktop {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Overlay mobile ativa */
  .nav-mobile-overlay {
    display: block;
  }

  /* Seções */
  section {
    padding: 4rem 1.25rem;
  }

  /* Hero */
  #hero {
    height: 100svh;
    min-height: 600px;
  }

  .hero-content {
    padding: 0 1.25rem 3.5rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    justify-content: center;
    text-align: center;
  }

  .hero-scroll {
    display: none;
  }

  /* Sobre */
  #sobre {
    padding: 4rem 1.25rem;
    gap: 3rem;
  }

  .about-img-wrap {
    height: 320px;
  }

  .about-stats {
    gap: 1rem;
  }

  /* Materiais */
  .materiais-intro {
    gap: 1.5rem;
  }

  .materiais-grid {
    grid-template-columns: 1fr 1fr;
  }

  .material-card {
    padding: 1.5rem;
  }

  /* Parceiros */
  .parceiros-header {
    padding: 0 1.25rem;
  }

  /* Diferenciais */
  .diferenciais-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Contato */
  #contato {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .contato-visual {
    display: block;
    height: 220px;
    min-height: unset;
  }

  .contato-visual img {
    object-position: center 40%;
  }

  .contato-visual-overlay {
    background: linear-gradient(
      to bottom,
      transparent 30%,
      var(--warm-dark) 100%
    );
  }

  .contato-form-area {
    padding: 2rem 1.25rem 3rem;
    max-width: 100%;
  }

  /* Localização */
  #localizacao {
    grid-template-columns: 1fr;
    padding: 2rem 1.25rem;
    gap: 1.5rem;
  }

  .loc-info {
    padding: 0;
  }

  .loc-map-wrap {
    height: 260px;
    border-radius: 6px;
  }

  .loc-map-wrap iframe {
    height: 100%;
  }

  /* Footer */
  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 2rem 1.25rem;
  }

  .footer-links {
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.9rem;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-desc {
    font-size: 0.9rem;
  }

  .about-img-wrap {
    height: 260px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat-num {
    font-size: 1.8rem;
  }

  .materiais-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .material-card {
    padding: 1.25rem;
  }

  .material-num {
    font-size: 2rem;
  }

  .material-name {
    font-size: 0.95rem;
  }

  .material-desc {
    font-size: 0.8rem;
  }

  .parceiro-logo {
    max-height: 40px;
    width: auto;
  }

  .av-cards {
    grid-template-columns: 1fr;
  }

  .produtos-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
  }

  .mc-big,
  .mc-b,
  .mc-c,
  .mc-d,
  .mc-e {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 420px) {
  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .btn-primary {
    padding: 0.85rem 1rem;
    font-size: 0.75rem;
  }

  .btn-ghost {
    font-size: 0.75rem;
  }

  .nav-logo-img {
    height: 50px;
  }

  .about-img-wrap {
    height: 220px;
  }

  .material-card {
    padding: 1rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  nav { padding: 0 1.5rem; }
  .nav-logo-img { height: 65px; }
  .nav-links-desktop { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile-overlay { display: block; }
}