/* ============================================================
   TRÍADE — STYLESHEET
   Ordem: tokens → reset → componentes → seções → responsivo
   ============================================================ */

/* ===== TOKENS ===== */
:root {
  --dark:         #232120;
  --dark2:        #2e2b29;
  --cream:        #f5ede0;
  --cream2:       #ede3d4;
  --warm:         #c9a97a;
  --warm2:        #b8905e;
  --white:        #ffffff;
  --muted:        #9a8f84;
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'DM Sans', sans-serif;
  --ease:         cubic-bezier(.16,1,.3,1);
  --section-pad:  9rem;
}

/* ===== RESET / BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background: var(--warm); color: var(--dark); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar        { width: 4px; }
::-webkit-scrollbar-track  { background: var(--dark); }
::-webkit-scrollbar-thumb  { background: var(--warm); border-radius: 2px; }

/* ===== NOISE OVERLAY ===== */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .04;
  pointer-events: none;
  z-index: 9999;
}

/* ===== COLOR UTILITIES ===== */
.c-warm  { color: var(--warm); font-style: italic; }
.c-warm2 { color: var(--warm2); font-style: italic; }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.visible        { opacity: 1; transform: none; }
.reveal-delay-1        { transition-delay: .1s; }
.reveal-delay-2        { transition-delay: .2s; }
.reveal-delay-3        { transition-delay: .3s; }
.reveal-delay-4        { transition-delay: .4s; }
.reveal-delay-5        { transition-delay: .5s; }

/* ===== PARALLAX BLOBS ===== */
.parallax-blob {
  position: absolute; border-radius: 50%;
  pointer-events: none; will-change: transform;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,169,122,.05), transparent 70%);
  top: -200px; right: -200px;
}
.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,169,122,.04), transparent 70%);
  bottom: -100px; left: -100px;
}

/* ===== SECTION LABEL ===== */
.section-label {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 2.5rem;
  height: 1px;
  background: var(--warm);
}
/* FIX: centered variant — removes the left line that breaks alignment */
.section-label--center {
  justify-content: center;
}
.section-label--center::before {
  display: none;
}

/* ===== HORIZONTAL MARQUEE ===== */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(201,169,122,.1);
  border-bottom: 1px solid rgba(201,169,122,.1);
  padding: 1.2rem 0;
}
.marquee-inner {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 24s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(201,169,122,.4);
  white-space: nowrap;
}
.marquee-dot { color: var(--warm); font-style: normal; }

/* ================================================================
   NAVBAR
   ================================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 1.4rem 0;
  transition: background .5s var(--ease), padding .5s var(--ease), backdrop-filter .5s;
}
#navbar.scrolled {
  background: rgba(35,33,32,.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: .8rem 0;
  border-bottom: 1px solid rgba(201,169,122,.15);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -.02em;
  flex-shrink: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: rgba(245,237,224,.65);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 1px;
  background: var(--warm);
  transition: right .35s var(--ease);
}
.nav-links a:hover        { color: var(--warm); }
.nav-links a:hover::after { right: 0; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--cream);
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 998;
  background: rgba(35,33,32,.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -.02em;
  transition: color .3s;
}
.mobile-menu a:hover { color: var(--warm); }

/* ================================================================
   HERO
   ================================================================ */
#hero {
  min-height: 100svh;
  min-height: 100vh; /* fallback */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.hero-row {
  min-height: 100svh;
  min-height: 100vh;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201,169,122,.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(201,169,122,.05) 0%, transparent 60%);
}
.hero-line {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(201,169,122,.2) 30%, rgba(201,169,122,.2) 70%, transparent);
}

#hero-parallax {
  position: relative;
  will-change: transform;
}

.hero-eyebrow {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 1.8rem;
}
.hero-title {
  font-family: var(--font-display);
  /* FIX: clamp min reduced from 5rem to 3rem to prevent overflow on small phones */
  font-size: clamp(3rem, 14vw, 13rem);
  font-weight: 700;
  line-height: .9;
  color: var(--white);
  letter-spacing: -.03em;
}
.hero-title .accent { color: var(--warm); font-style: italic; }

.hero-sub {
  /* FIX: clamp min increased slightly for readability on narrow screens */
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 300;
  color: rgba(245,237,224,.6);
  max-width: 480px;
  margin-top: 2rem;
  line-height: 1.7;
}
.hero-sub strong { color: var(--cream); font-weight: 500; }

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: 3rem;
  padding: 1rem 2rem;
  border: 1px solid var(--warm);
  color: var(--warm);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color .4s var(--ease);
}
.hero-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--warm);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.hero-cta:hover::before { transform: scaleX(1); }
.hero-cta:hover         { color: var(--dark); }
.hero-cta span          { position: relative; z-index: 1; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(245,237,224,.3);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  pointer-events: none;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(180deg, rgba(201,169,122,.6), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(.6); opacity: .4; }
}

/* ================================================================
   SOBRE
   ================================================================ */
#sobre {
  background: var(--cream);
  color: var(--dark);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
#sobre .section-label,
#sobre .section-label::before { color: var(--warm2); background: var(--warm2); }

.sobre-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark);
}
.sobre-title em { font-style: italic; color: var(--warm2); }

.sobre-text {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(35,33,32,.72);
  line-height: 1.8;
}
.sobre-text strong { color: var(--dark); font-weight: 600; }

/* MVV Grid */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.mvv-card {
  border: 1px solid rgba(35,33,32,.12);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease);
}
.mvv-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 3px;
  background: var(--warm2);
  transition: right .4s var(--ease);
}
.mvv-card:hover          { transform: translateY(-6px); }
.mvv-card:hover::after   { right: 0; }
.mvv-card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}
.mvv-card p {
  font-size: .9rem;
  color: rgba(35,33,32,.65);
  line-height: 1.75;
}

.bg-number {
  position: absolute;
  right: 1.5rem; bottom: -1rem;
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  color: rgba(35,33,32,.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.valores-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .8rem;
}
.chip {
  border: 1px solid rgba(35,33,32,.2);
  padding: .35rem .85rem;
  font-size: .78rem;
  font-weight: 500;
  color: var(--dark);
  border-radius: 100px;
}

/* ================================================================
   PROCESSO
   ================================================================ */
#processo {
  background: var(--dark2);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.processo-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
}

.steps-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 4rem;
  position: relative;
}
.steps-track::before {
  content: '';
  position: absolute;
  top: 2.4rem; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--warm) 20%, var(--warm) 80%, transparent);
}

.step {
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.step-num {
  width: 4.8rem; height: 4.8rem;
  border-radius: 50%;
  background: var(--dark);
  border: 1px solid var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--warm);
  position: relative;
  z-index: 2;
  transition: background .4s, color .4s;
}
.step:hover .step-num { background: var(--warm); color: var(--dark); }

.step-label {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}
.step-desc {
  margin-top: .6rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ================================================================
   SERVIÇOS
   ================================================================ */
#servicos {
  background: var(--dark);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.servicos-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--white);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
}
.serv-card {
  background: var(--dark2);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background .4s;
}
.serv-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,169,122,.08), transparent);
  opacity: 0;
  transition: opacity .4s;
}
.serv-card:hover          { background: #2a2724; }
.serv-card:hover::before  { opacity: 1; }

.serv-num {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(201,169,122,.12);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color .4s;
}
.serv-card:hover .serv-num { color: rgba(201,169,122,.25); }

.serv-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.serv-list { list-style: none; }
.serv-list li {
  font-size: .83rem;
  color: var(--muted);
  padding: .38rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  display: flex;
  align-items: center;
  gap: .6rem;
}
.serv-list li::before {
  content: '▷';
  font-size: .6rem;
  color: var(--warm);
  flex-shrink: 0;
}

/* ================================================================
   DIFERENCIAIS
   ================================================================ */
#diferenciais {
  background: var(--cream);
  color: var(--dark);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden; /* FIX: ensures dif-bg-text doesn't cause horizontal scroll */
}
#diferenciais .section-label,
#diferenciais .section-label::before { color: var(--warm2); background: var(--warm2); }

.dif-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
}
.dif-intro {
  color: rgba(35,33,32,.6);
  font-size: .95rem;
  margin-top: 1rem;
}

/* FIX: bg-text is clipped by overflow:hidden on parent, won't cause scroll */
.dif-bg-text {
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 14rem); /* FIX: responsive font size */
  font-weight: 700;
  color: rgba(35,33,32,.04);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  user-select: none;
}

.dif-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(35,33,32,.1);
  transition: transform .35s var(--ease);
}
.dif-item:hover { transform: translateX(1rem); }

.dif-check {
  width: 2.8rem; height: 2.8rem;
  border-radius: 50%;
  background: var(--dark);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm);
}
.dif-check svg { width: 14px; height: 14px; }

.dif-text { font-size: 1rem; color: var(--dark); }
.dif-text strong { font-weight: 600; }

/* ================================================================
   CLIENTES
   ================================================================ */
#clientes {
  background: var(--dark2);
  padding: 7rem 0;
}
.clientes-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 600;
  color: var(--white);
}
.clientes-title em { font-style: italic; color: var(--warm); }

.clients-track { overflow: hidden; }
.clients-inner {
  display: flex;
  gap: 1.5rem;
  animation: slideClients 22s linear infinite;
  width: max-content;
}
.clients-inner:hover { animation-play-state: paused; }
@keyframes slideClients {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-badge {
  flex-shrink: 0;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,169,122,.12);
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: rgba(245,237,224,.55);
  transition: color .3s, border-color .3s, background .3s;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.client-badge:hover {
  color: var(--cream);
  border-color: var(--warm);
  background: rgba(201,169,122,.06);
}

/* ================================================================
   CASES
   ================================================================ */
#cases {
  background: var(--dark);
  padding: var(--section-pad) 0;
}
.cases-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 600;
  color: var(--white);
}

/* FIX: Replaced direction:rtl with CSS grid order — avoids text alignment bugs */
.case-block {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: 5rem;
  border-bottom: 1px solid rgba(201,169,122,.12);
}
.case-block:last-of-type { border-bottom: none; }

/* Reversed case: visual goes to right, content to left */
.case-block--reverse .case-visual  { order: 2; }
.case-block--reverse .case-content { order: 1; }

.case-tag {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: .8rem;
}
.case-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.case-challenge {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.8;
}

.case-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.result-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.5rem;
  background: rgba(201,169,122,.06);
  border-left: 2px solid var(--warm);
}
.result-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--warm);
  line-height: 1;
  white-space: nowrap;
  min-width: 3rem;
}
.result-desc {
  font-size: .85rem;
  color: var(--cream);
  font-weight: 300;
}

.case-visual { position: relative; }
.case-deco {
  position: absolute;
  top: -2rem; right: -2rem;
  width: 10rem; height: 10rem;
  border: 1px solid rgba(201,169,122,.18);
  border-radius: 50%;
  pointer-events: none;
}

/* Phone mockup */
.phone-mockup {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  display: block;
  background: #1a1a1a;
  border-radius: 2.5rem;
  border: 6px solid #333;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.05);
  aspect-ratio: 9/19;
}
.phone-inner {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.phone-alpes  { background: linear-gradient(160deg, #0a1a2e, #103060); }
.phone-ladies { background: linear-gradient(160deg, #1a0a1a, #4a1060); }

.phone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
  padding: 3px;
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.pg-cell {
  aspect-ratio: 1;
  border-radius: 3px;
  opacity: .7;
}
.phone-metric {
  position: absolute;
  top: 12%; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  white-space: nowrap;
}
.phone-metric-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
.phone-metric-lbl {
  font-size: .6rem;
  opacity: .6;
  margin-top: .2rem;
}

/* ================================================================
   NÚMEROS
   ================================================================ */
#numeros {
  background: var(--warm);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
#numeros::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(35,33,32,.1), transparent);
}

.numeros-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.numero-item { text-align: center; }
.numero-val {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.numero-div {
  width: 3rem; height: 1px;
  background: rgba(35,33,32,.25);
  margin: .8rem auto 0;
}
.numero-label {
  font-size: .82rem;
  font-weight: 500;
  color: rgba(35,33,32,.65);
  margin-top: .5rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ================================================================
   CONTATO
   ================================================================ */
#contato {
  background: var(--dark);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.contato-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.contato-title em { font-style: italic; color: var(--warm); }

.contato-sub {
  color: var(--muted);
  font-size: 1rem;
  margin-top: 1rem;
}

.contato-info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 2rem;
}
.info-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.info-icon {
  width: 2.5rem; height: 2.5rem;
  border: 1px solid rgba(201,169,122,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--warm);
}
.info-icon svg { width: 13px; height: 13px; }

.info-val { font-size: .9rem; color: var(--muted); }
.info-val a {
  color: var(--cream);
  text-decoration: none;
  transition: color .3s;
}
.info-val a:hover { color: var(--warm); }

/* Form — FIX: renamed from .form-label/.form-ctrl to avoid Bootstrap conflicts */
.field-group  { margin-bottom: .25rem; }
.field-label {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
  display: block;
}
.field-ctrl {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,169,122,.2);
  color: var(--cream);
  padding: .9rem 1.2rem;
  font-family: var(--font-body);
  font-size: .95rem;
  outline: none;
  transition: border-color .3s, background .3s;
  border-radius: 0 !important; /* override Bootstrap */
  resize: none;
  -webkit-appearance: none;
  appearance: none;
}
.field-ctrl::placeholder { color: rgba(245,237,224,.25); }
.field-ctrl:focus {
  border-color: var(--warm);
  background: rgba(201,169,122,.04);
  box-shadow: none; /* override Bootstrap focus ring */
}
.field-ctrl.error   { border-color: #e05050; }
.field-ctrl option  { background: var(--dark2); color: var(--cream); }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding: 1.1rem 2.5rem;
  background: var(--warm);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color .35s var(--ease);
}
.btn-submit::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--dark);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.btn-submit:hover::before { transform: scaleX(1); }
.btn-submit:hover         { color: var(--warm); }
.btn-submit span          { position: relative; z-index: 1; }

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}
.check-icon {
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: rgba(201,169,122,.1);
  border: 1px solid var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--warm);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
}
.form-success p { color: var(--muted); margin-top: .5rem; }

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: #1a1817;
  padding: 3rem 0;
  border-top: 1px solid rgba(201,169,122,.1);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}
.footer-copy {
  font-size: .78rem;
  color: var(--muted);
  margin: 0;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-link {
  color: var(--muted);
  text-decoration: none;
  font-size: .8rem;
  transition: color .3s;
}
.footer-link:hover { color: var(--warm); }

/* ================================================================
   RESPONSIVE — TABLET LARGO (≤ 1199px)
   ================================================================ */
@media (max-width: 1199px) {
  .servicos-grid        { grid-template-columns: repeat(3, 1fr); }
  .steps-track          { gap: 0; }
  .step                 { padding: 0 .6rem; }
  .step-desc            { font-size: .78rem; }
}

/* ================================================================
   RESPONSIVE — TABLET (≤ 991px)
   ================================================================ */
@media (max-width: 991px) {

  :root { --section-pad: 5.5rem; }

  /* Nav */
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero-line  { display: none; }
  .hero-sub   { max-width: 100%; }

  /* MVV */
  .mvv-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* Processo — 2 colunas, linha conectora removida */
  .steps-track {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.5rem;
    column-gap: 1.5rem;
  }
  .steps-track::before { display: none; }
  .step { padding: 0; }

  /* Serviços */
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }

  /* Cases — coluna única */
  .case-block {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-bottom: 3rem;
  }
  .case-block--reverse .case-visual  { order: 0; }
  .case-block--reverse .case-content { order: 0; }
  .phone-mockup { max-width: 220px; }
  .case-deco    { display: none; } /* remove círculo decorativo em tablet */

  /* Números */
  .numeros-grid { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }

  /* Contato — info e form empilhados */
  .contato-info { margin-top: 1.5rem; }

  /* Diferenciais — hover desativado em touch */
  .dif-item:hover { transform: none; }
}

/* ================================================================
   RESPONSIVE — MOBILE (≤ 767px)
   ================================================================ */
@media (max-width: 767px) {

  :root { --section-pad: 4rem; }

  /* Marquee mais lento */
  .marquee-inner { animation-duration: 28s; }
  .marquee-item  { font-size: 1rem; }

  /* Hero */
  .hero-cta      { margin-top: 2rem; padding: .85rem 1.5rem; font-size: .75rem; }
  .hero-scroll   { display: none; }
  .hero-eyebrow  { font-size: .65rem; margin-bottom: 1.2rem; }

  /* Sobre */
  .sobre-title  { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .mvv-card h3  { font-size: 1.5rem; }
  .bg-number    { font-size: 5rem; }

  /* Processo — 1 coluna */
  .steps-track { grid-template-columns: 1fr; row-gap: 2rem; }
  .step        { flex-direction: row; text-align: left; gap: 1.2rem; align-items: flex-start; }
  .step-num    { width: 3.5rem; height: 3.5rem; font-size: 1.2rem; flex-shrink: 0; }
  .step-label  { margin-top: 0; font-size: 1.1rem; }
  .step-desc   { margin-top: .3rem; }

  /* Serviços — 1 coluna */
  .servicos-grid  { grid-template-columns: 1fr; gap: 2px; }
  .serv-card      { padding: 1.8rem 1.4rem; }
  .serv-num       { font-size: 3rem; margin-bottom: 1rem; }

  /* Diferenciais */
  .dif-bg-text { display: none; } /* esconde o texto de fundo no mobile — melhora performance */
  .dif-title   { font-size: clamp(1.8rem, 7vw, 3rem); }
  .dif-item    { gap: 1rem; padding: 1.1rem 0; }
  .dif-check   { width: 2.4rem; height: 2.4rem; flex-shrink: 0; }

  /* Clientes */
  .client-badge { min-width: 170px; padding: 1.2rem 1.8rem; font-size: 1.1rem; }

  /* Cases */
  .case-name      { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .result-item    { padding: .8rem 1rem; gap: 1rem; }
  .result-num     { font-size: 1.5rem; min-width: 2.5rem; }
  .phone-mockup   { max-width: 180px; }

  /* Números */
  .numeros-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .numero-val   { font-size: clamp(2.4rem, 8vw, 3.5rem); }

  /* Contato */
  .contato-title { font-size: clamp(2rem, 9vw, 3.5rem); line-height: 1.05; }
  .info-row      { gap: .8rem; }

  /* Footer */
  .footer-inner  { flex-direction: column; align-items: center; text-align: center; gap: .8rem; }

  /* section-label */
  .section-label { font-size: .65rem; }
}

/* ================================================================
   RESPONSIVE — SMALL PHONES (≤ 480px)
   ================================================================ */
@media (max-width: 480px) {

  :root { --section-pad: 3rem; }

  /* Hero: guard extra para 320px */
  .hero-title   { font-size: clamp(2.6rem, 18vw, 4.5rem); }
  .hero-sub     { font-size: .95rem; margin-top: 1.2rem; }

  /* Mobile menu letras menores */
  .mobile-menu a { font-size: 1.8rem; gap: 1.8rem; }

  /* MVV compacto */
  .mvv-card     { padding: 1.6rem 1.2rem; }
  .mvv-grid     { gap: .8rem; }

  /* Processo: step-num ainda menor */
  .step-num { width: 3rem; height: 3rem; font-size: 1.1rem; }

  /* Serviços: lista de itens menor */
  .serv-list li { font-size: .8rem; }

  /* Diferenciais */
  .dif-text     { font-size: .95rem; }

  /* Clientes: badges menores */
  .client-badge { min-width: 145px; padding: 1rem 1.3rem; font-size: 1rem; }

  /* Cases */
  .case-block   { margin-top: 2rem; padding-bottom: 2rem; }
  .phone-mockup { max-width: 160px; }

  /* Números: 2 colunas mantidas mas com menos gap */
  .numeros-grid { gap: 1rem; }
  .numero-label { font-size: .72rem; }

  /* Formulário */
  .btn-submit   { width: 100%; justify-content: center; padding: 1rem; }
  .field-ctrl   { font-size: .9rem; padding: .8rem 1rem; }

  /* Contato info */
  .info-icon    { width: 2.2rem; height: 2.2rem; }
  .info-val     { font-size: .82rem; }
  .info-val a   { word-break: break-all; }
}
