/* ==========================================
   UNA TERCEIRIZAÇÕES — INDUSTRIAL CHIC CSS
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

:root {
  /* ── LIGHT CORPORATE PALETTE ── */
  --charcoal: #F4F2EF;
  /* page background — warm off-white */
  --anthracite: #ECEAE6;
  /* alternate section — slightly darker */
  --anthracite-light: #E2DFD9;
  --gold: #B8893A;
  --gold-light: #C8A165;
  --gold-dark: #8A6020;
  --off-white: #1E1A16;
  /* text on light bg — near-black warm */
  --off-white-dim: #5C5247;
  /* muted text */
  --surface: #FFFFFF;
  --surface-raised: #F9F7F4;
  --border: rgba(180, 140, 60, 0.18);
  --border-strong: rgba(140, 100, 30, 0.35);
  --shadow-gold: 0 0 40px rgba(184, 137, 58, 0.10);
  --shadow-deep: 0 20px 60px rgba(0, 0, 0, 0.10);
  --radius: 6px;
  --radius-lg: 8px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--charcoal);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILITIES ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gold-text {
  color: var(--gold);
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border-strong);
  background: rgba(200, 161, 101, 0.07);
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--off-white);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--off-white-dim);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* ── BUTTONS ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--charcoal);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--off-white);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 4px;
  text-decoration: none;
  border: 1.5px solid rgba(145, 100, 23, 0.575);
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 161, 101, 0.06);
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 12px 0;
}

/* Over the video the navbar needs to be readable on dark */
.navbar:not(.scrolled) .nav-link {
  color: rgba(240, 237, 232, 0.85);
}

.navbar:not(.scrolled) .nav-link:hover {
  color: #C8A165;
  background: rgba(200, 161, 101, 0.12);
}

.navbar.scrolled {
  background: rgba(244, 242, 239, 0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled .nav-link {
  color: var(--off-white-dim);
}

.navbar.scrolled .nav-link:hover {
  color: var(--gold);
  background: rgba(184, 137, 58, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  margin-right: auto;
  transform-origin: top left;
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Logo animate out of navbar when scroll=0 */
.navbar:not(.scrolled) .nav-logo {
  transform: translate(0, 12vh) scale(3.5);
}

.navbar.scrolled .nav-logo {
  transform: translate(0, 0) scale(1);
}

.logo-img {
  height: 52px;
  /* Base size used in navbar, scaled up by transform when unscrolled */
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 12px rgba(200, 161, 101, 0.25)) brightness(1.1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-link {
  color: var(--off-white-dim);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 4px;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--gold);
  background: rgba(200, 161, 101, 0.08);
}

.nav-cta {
  font-size: 0.85rem;
  padding: 10px 22px;
  white-space: nowrap;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--off-white);
  border-radius: 4px;
  transition: var(--transition);
}

/* ══════════════════════════════════════════
   HERO — APPLE-STYLE SCROLL-SCRUBBING VIDEO
   ══════════════════════════════════════════ */

/* 1. The section itself is the scroll-driver */
.hero {
  position: relative;
  height: 223vh;
  /* 250vh = roughly 2.5 screen-heights of scroll to run the full video */
}

/* 2. The sticky wrapper pins itself to the viewport and acts as the visible frame */
.hero-sticky-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* 3. Video fills the entire sticky frame */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Hidden until JS confirms first frame is ready — prevents flash */
  opacity: 0;
  transition: opacity 0.65s ease;
  will-change: opacity;
}

.hero-video.ready {
  opacity: 1;
}

/* 4. Gradient overlay: heavier on the left to make text legible */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg,
      rgba(10, 8, 5, 0.72) 0%,
      rgba(10, 8, 5, 0.45) 38%,
      rgba(10, 8, 5, 0.10) 70%,
      transparent 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, transparent 30%, rgba(0, 0, 0, 0.3) 100%);
  pointer-events: none;
}

/* 5. Content panel — left side, no glass background */
.hero-content {
  position: absolute;
  top: 40%;
  left: max(48px, 5vw);
  transform: translateY(-50%);
  max-width: 560px;
  z-index: 2;
  /* No background — only text with subtle text-shadow for legibility */
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.hero-tag {
  display: inline-block;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C8A165;
  margin-bottom: 20px;
  padding: 7px 16px;
  border: 1px solid rgba(200, 161, 101, 0.40);
  border-radius: 4px;
  background: rgba(200, 161, 101, 0.10);
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.09;
  margin-bottom: 20px;
  color: #F0EDE8;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-title .gold-text {
  color: #C8A165;
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(240, 237, 232, 0.90);
  line-height: 1.75;
  margin-bottom: 36px;
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Override btn-outline for dark video context */
.hero-content .btn-outline {
  color: rgba(240, 237, 232, 0.9);
  border-color: rgba(240, 237, 232, 0.35);
}

.hero-content .btn-outline:hover {
  border-color: #C8A165;
  color: #C8A165;
  background: rgba(200, 161, 101, 0.10);
}

/* 6. Scroll cue arrow */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(240, 237, 232, 0.6);
  animation: bounce 2s infinite;
  text-decoration: none;
  display: flex;
  z-index: 3;
}

@keyframes bounce {

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

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

/* ── SOBRE ── */
.sobre {
  padding: 80px 0;
  background: var(--anthracite);
  position: relative;
  z-index: 1;
}

/* Logo da empresa na seção sobre */
.sobre-logo-wrap {
  display: none;
}

.sobre-logo-img {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  margin: 0 0 32px 0;
  object-fit: contain;
}

/* Mapa de localização */
.sobre-mapa {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sobre-mapa iframe {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.sobre-mapa-label {
  font-size: 0.78rem;
  color: var(--off-white-dim);
  font-weight: 500;
  text-align: center;
}

.sobre::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.sobre-img-mock {
  background: linear-gradient(135deg, #2A1F14 0%, #1A1208 100%);
  border-radius: var(--radius-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.factory-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.factory-icon svg {
  width: 120px;
  height: 120px;
}

.factory-badge {
  font-size: 0.75rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: rgba(200, 161, 101, 0.08);
}

.sobre-stats-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.side-stat:hover {
  border-color: var(--border-strong);
  background: rgba(200, 161, 101, 0.04);
}

.side-stat-icon {
  font-size: 1.5rem;
}

.side-stat strong {
  display: block;
  font-size: 0.9rem;
  color: var(--off-white);
  font-weight: 600;
}

.side-stat span {
  font-size: 0.78rem;
  color: var(--off-white-dim);
}

.sobre-text {
  padding-top: 8px;
}

.sobre-desc {
  font-size: 1rem;
  color: var(--off-white-dim);
  line-height: 1.8;
  margin-bottom: 32px;
}

.sobre-desc strong {
  color: var(--gold);
  font-weight: 600;
}

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mvv-card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px 22px;
  transition: var(--transition);
}

.mvv-card:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.85);
}

.mvv-card.full-width {
  grid-column: 1 / -1;
}

.mvv-card h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--off-white);
}

.mvv-card p {
  font-size: 0.85rem;
  color: var(--off-white-dim);
  line-height: 1.65;
}

/* ── CATÁLOGO MINIMALISTA ── */
.catalogo-minimalista {
  padding: 80px 0;
  background: var(--charcoal);
  position: relative;
}

.cat-min-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.cat-min-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.cat-min-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 600px;
  overflow: hidden;
  text-decoration: none;
  background: #111;
  border-radius: 4px;
}

.cat-min-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.95s cubic-bezier(0.2, 0, 0.2, 1);
  opacity: 0.85;
}

.cat-min-card:hover .cat-min-img {
  transform: scale(1.10);
  opacity: 1;
}

.cat-min-title {
  position: relative;
  z-index: 2;
  font-family: 'Inter', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: white;
  mix-blend-mode: difference;
  pointer-events: none;
  text-align: center;
  margin: 0;
}

.cat-min-cta {
  text-align: center;
}

.btn-min-outline {
  display: inline-block;
  padding: 16px 40px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--off-white);
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--off-white);
  transition: all 0.65s ease;
  background: transparent;
  border-radius: 4px;
}

.btn-min-outline:hover {
  background: var(--off-white);
  color: var(--charcoal);
}

/* ── BANNER CTA PREMIUM ── */
.cat-custom-banner {
  margin-top: 80px;
  position: relative;
  background: #1C1915;
  overflow: hidden;
  border-radius: 4px;
}

/* Linha dourada superior */
.cat-custom-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Padrão decorativo de fundo sutil */
.cat-custom-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(200, 161, 101, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.cat-custom-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 40px;
  gap: 0;
}

.cat-banner-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(200, 161, 101, 0.35);
  background: rgba(200, 161, 101, 0.08);
  padding: 5px 16px;
  border-radius: 4px;
  margin-bottom: 28px;
}

.cat-banner-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #F0EDE8;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.cat-banner-divider {
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin-bottom: 24px;
}

.cat-banner-desc {
  font-size: 0.95rem;
  color: rgba(240, 237, 232, 0.65);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 480px;
}

.cat-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #1C1915;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-banner-cta:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 161, 101, 0.3);
}

.cat-banner-cta svg {
  transition: transform 0.65s ease;
}

.cat-banner-cta:hover svg {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .cat-custom-banner-inner {
    padding: 60px 24px;
  }

  .cat-banner-title {
    font-size: 1.7rem;
  }
}

/* Mobile carousel — transform-based infinite loop */
.cat-min-carousel-wrap {
  display: none;
  /* hidden on desktop */
}

.cat-min-indicators {
  display: none;
  /* hidden on desktop */
}

.clone-mobile {
  display: none;
  /* clones hidden on desktop */
}

@media (max-width: 768px) {

  /* Hide desktop grid, show mobile carousel wrapper */
  .cat-min-grid {
    display: none;
  }

  .cat-min-carousel-wrap {
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 0;
    /* Allow page to scroll vertically while we handle horizontal in JS */
    touch-action: pan-y;
  }

  .cat-min-carousel-wrap:active {
    cursor: grabbing;
  }

  .cat-min-carousel-track {
    display: flex;
    gap: 16px;
    transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
  }

  .cat-min-carousel-track .cat-min-card {
    flex: 0 0 80%;
    height: 450px;
    scroll-snap-align: unset;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cat-min-carousel-track .cat-min-title {
    font-size: 2.3rem;
    letter-spacing: 0.08em;
    text-align: center;
    width: 100%;
    padding: 0 4px;
    /* overflow: visible so letter-spacing on last char isn't clipped */
    overflow: visible;
  }

  /* Disable hover zoom on mobile, use active class instead */
  .cat-min-card:hover .cat-min-img {
    transform: scale(1);
    opacity: 0.85;
  }

  .cat-min-card.active-mobile .cat-min-img {
    transform: scale(1.10);
    opacity: 1;
  }

  /* Indicators */
  .cat-min-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 32px;
  }

  .cat-min-indicators .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(30, 26, 22, 0.20);
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .cat-min-indicators .dot.active {
    background-color: var(--gold);
    width: 24px;
    border-radius: 4px;
  }
}

/* ── DIFERENCIAIS ── */
.diferenciais {
  padding: 80px 0;
  background: var(--anthracite);
  position: relative;
}

.diferenciais::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

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

.diferencial-card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.diferencial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.diferencial-card:hover {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-4px);
}

.diferencial-card:hover::before {
  opacity: 1;
}

.dif-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
}

.diferencial-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--off-white);
}

.diferencial-card p {
  font-size: 0.85rem;
  color: var(--off-white-dim);
  line-height: 1.7;
}

/* ── ORÇAMENTO ── */
.orcamento {
  padding: 80px 0;
  background: var(--charcoal);
  position: relative;
}

.orcamento::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.orcamento-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.orcamento-info .section-title {
  font-size: 2.2rem;
}

.orcamento-info p {
  color: var(--off-white-dim);
  line-height: 1.8;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.orcamento-contatos {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid var(--border);
  color: var(--off-white);
  background: rgba(255, 255, 255, 0.025);
  width: fit-content;
}

.contact-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 161, 101, 0.06);
}

.orcamento-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--off-white-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: #FAFAF8;
  border: 1.5px solid rgba(140, 100, 30, 0.18);
  border-radius: 4px;
  color: var(--off-white);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(92, 82, 71, 0.45);
}

.form-group select option {
  background: #FAFAF8;
  color: var(--off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(200, 161, 101, 0.05);
  box-shadow: 0 0 0 3px rgba(200, 161, 101, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-btns {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.form-submit {
  flex: 1;
  justify-content: center;
}

/* ── FOOTER ── */
.footer {
  background: #1C1915;
  border-top: 1px solid rgba(200, 161, 101, 0.15);
}

/* Force footer text back to off-white since footer stays dark */
.footer,
.footer .footer-brand p,
.footer .footer-col ul li a,
.footer .contato-item a,
.footer .contato-item address,
.footer .footer-bottom p {
  color: rgba(240, 237, 232, 0.7);
}

.footer .footer-col h4 {
  color: #C8A165;
}

.footer .footer-col ul li a:hover,
.footer .contato-item a:hover {
  color: #C8A165;
}

.footer-top {
  padding: 80px 0 60px;
}

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

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--off-white-dim);
  line-height: 1.8;
  margin-bottom: 24px;
}

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

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--off-white-dim);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 161, 101, 0.06);
}

.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--off-white-dim);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

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

.contato-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contato-item a,
.contato-item address {
  font-size: 0.85rem;
  color: var(--off-white-dim);
  text-decoration: none;
  line-height: 1.7;
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: var(--transition);
}

.contato-item a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(196, 191, 184, 0.45);
}

/* ── WHATSAPP FLOAT ── */
.wpp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  z-index: 999;
  transition: var(--transition);
}

.wpp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

.wpp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--anthracite);
  color: var(--off-white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.wpp-float:hover .wpp-tooltip {
  opacity: 1;
}

/* ── ANIMATIONS ── */
.fade-in {
  animation: fadeIn 0.9s ease forwards;
}

.fade-in-right {
  animation: fadeInRight 0.9s 0.2s ease both;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-in-left.visible,
.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

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

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {

  /* Hero: on tablet keep it sticky, but widen content and move to bottom-left */
  .hero-content {
    position: absolute;
    top: auto;
    bottom: 80px;
    left: 32px;
    right: 32px;
    transform: none;
    max-width: 600px;
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .orcamento-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

@media (max-width: 768px) {

  /* Hamburger menu */
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #F4F2EF !important;
    padding: 32px 24px;
    gap: 8px;
    z-index: 999;
  }

  .nav-links.open .nav-link {
    font-size: 1.1rem;
    padding: 14px 16px;
    color: var(--off-white);
  }

  .hamburger {
    display: flex;
  }

  /* Hamburger lines brancas sobre o vídeo */
  .navbar:not(.scrolled) .hamburger span {
    background: #F0EDE8;
  }

  .navbar.menu-open {
    background: #F4F2EF !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid var(--border);
    transition: none !important;
    /* Force immediate rendering, avoid glitch */
    transform: translateZ(0);
  }

  .navbar.menu-open .hamburger span {
    background: var(--off-white) !important;
  }

  .navbar.menu-open .nav-logo {
    transform: translate(0, 0) scale(1) !important;
  }

  /* Show the right side of the video on smaller screens (featuring the rotating base) */
  .hero-video {
    object-position: 85% center;
  }

  /* 85% instead of 'right' to frame the base perfectly */

  /* Less grey overlay on mobile so video runs clear */
  .hero-video-overlay {
    background: linear-gradient(180deg, rgba(10, 8, 5, 0.7) 0%, transparent 45%, rgba(0, 0, 0, 0.3) 100%);
  }

  /* Align logo higher on mobile to match rotating base top, slightly smaller scale */
  .navbar:not(.scrolled) .nav-logo {
    transform: translate(0, 2vh) scale(2.0);
  }

  /* Hero: stack content higher to top on phones so buttons aren't hidden */
  .hero-content {
    top: 30%;
    bottom: auto;
    left: 20px;
    right: 20px;
    transform: translateY(-50%);
    max-width: 100%;
  }

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

  /* Increase legibility drastically for subtitle and tag over the video background */
  .hero-subtitle {
    color: #FFFFFF;
    font-weight: 500;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 1), 0 2px 6px rgba(0, 0, 0, 0.9);
  }

  .hero-tag {
    background: rgba(10, 8, 5, 0.7);
    border-color: rgba(200, 161, 101, 0.7);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 1);
    color: #E2DFD9;
  }

  .diferenciais-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Footer logo centered on mobile */
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    height: 96px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .mvv-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

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

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

  .hero-content {
    left: 16px;
    right: 16px;
  }

  .orcamento-form {
    padding: 24px 20px;
  }

  .form-btns {
    flex-direction: column;
  }
}