/* ═══════════════ VERTENTE V2 — Premium Institucional ═══════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:          #232326;
  --gray-dark:    #2F2F2F;
  --gray-inst:    #4A4A4A;
  --gray-mid:     #7A7A7A;
  --gray-soft:    #ABABAB;
  --gray-light:   #F6F5F3;
  --gray-line:    #E8E6E3;
  --red:          #9E1B22;
  --red-deep:     #7C141A;
  --red-tint:     #FBF1F1;
  --white:        #FFFFFF;
  --off-white:    #FCFBFA;
  --max-w:        1240px;
  --radius-card:  16px;
  --radius-btn:   10px;
  --shadow-soft:  0 6px 30px rgba(35,35,38,0.06);
  --shadow-deep:  0 24px 64px rgba(35,35,38,0.10);
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.18; }
h1 { font-weight: 800; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 36px;
}

/* ─── Reveal animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: var(--radius-btn);
  padding: 16px 32px;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s var(--ease), box-shadow 0.25s;
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 12px 24px; font-size: 0.74rem; }
.btn-block { width: 100%; justify-content: center; padding: 17px; }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(158,27,34,0.25);
}
.btn-primary:hover { background: var(--red-deep); box-shadow: 0 12px 32px rgba(158,27,34,0.35); }

.btn-outline { border-color: var(--gray-line); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* botão secundário do hero */
.btn-ghost { color: var(--ink); background: transparent; padding-left: 0; }
.btn-ghost-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-line);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
.btn-ghost:hover .btn-ghost-circle { border-color: var(--red); background: var(--red); color: var(--white); }

/* botão claro sobre faixa vermelha (CTA) */
.btn-ghost-light {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  background: transparent;
}
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,0.12); }

.btn-white { background: var(--white); color: var(--red); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-white:hover { background: var(--gray-light); }

/* ─── Section Layout ─── */
.section { padding: 120px 0; }
.section-alt { background: var(--gray-light); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--red);
}
.section-label-light { color: var(--white); }
.section-label-light::before { background: var(--white); }

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.02rem;
  color: var(--gray-mid);
  max-width: 600px;
  line-height: 1.75;
}

.section-header { margin-bottom: 64px; }
.section-header-center { text-align: center; }
.section-header-center .section-label { justify-content: center; }
.section-header-center .section-subtitle { margin: 0 auto; }
.section-header-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.section-header-split .section-subtitle { max-width: 380px; padding-bottom: 8px; }

.lead-text {
  font-size: 1.08rem;
  color: var(--gray-dark);
  line-height: 1.75;
  font-weight: 500;
  margin-bottom: 18px;
}
.body-text { color: var(--gray-mid); line-height: 1.8; }

/* ─── HEADER ─── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  color: var(--ink);
  background: rgba(252,251,250,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#header.scrolled {
  border-bottom-color: var(--gray-line);
  box-shadow: 0 8px 32px rgba(0,0,0,0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  transition: height 0.3s;
}
#header.scrolled .header-inner { height: 72px; }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-symbol { width: 42px; height: 42px; color: var(--gray-inst); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.logo-tagline {
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--gray-mid);
  letter-spacing: 0.06em;
}

.nav { display: flex; align-items: center; gap: 38px; }
.nav a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--gray-inst);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  color: var(--ink);
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--gray-line);
  padding: 16px 0;
  box-shadow: 0 24px 48px rgba(0,0,0,0.1);
}
.mobile-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 28px;
  border-bottom: 1px solid var(--gray-line);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { margin: 16px 28px 10px; justify-content: center; }
.mobile-menu.open { display: flex; }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

/* linhas de grade arquitetônicas sutis */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-evenly;
  pointer-events: none;
}
.hero-grid-lines span {
  width: 1px;
  height: 100%;
  background: rgba(35,35,38,0.035);
}

.hero-glow {
  position: absolute;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158,27,34,0.06), transparent 65%);
  top: -200px; right: -160px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  /* espaçamentos fluidos: encolhem em telas mais baixas para a
     barra de estatísticas caber na primeira dobra */
  padding: clamp(110px, 16svh, 176px) 36px clamp(32px, 7svh, 88px);
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #F0D9DA;
  background: var(--red-tint);
  border-radius: 100px;
  padding: 8px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 32px;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
}

.hero-title {
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-title em {
  font-style: normal;
  color: var(--red);
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 5px;
  height: 11px;
  background: rgba(158,27,34,0.1);
  z-index: -1;
  border-radius: 2px;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--gray-mid);
  max-width: 480px;
  margin-bottom: 44px;
  line-height: 1.8;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }

/* Hero visual */
.hero-visual {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}
.hero-image-frame {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  /* a foto escala com a altura da tela em vez de estourar a dobra */
  height: clamp(380px, 56svh, 620px);
  max-width: 100%;
  background: var(--gray-light);
  box-shadow: var(--shadow-deep);
}
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(165deg, transparent 55%, rgba(35,35,38,0.35));
}
.hero-frame-corner {
  position: absolute;
  width: 56px; height: 56px;
  border: 2px solid var(--red);
  pointer-events: none;
  opacity: 0.85;
}
.hero-frame-corner-tl { top: 18px; left: 18px; border-right: none; border-bottom: none; border-radius: 10px 0 0 0; }
.hero-frame-corner-br { bottom: 18px; right: 18px; border-left: none; border-top: none; border-radius: 0 0 10px 0; }

.hero-card {
  position: absolute;
  bottom: -26px; left: -32px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--gray-line);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-deep);
  max-width: 300px;
}
.hero-card-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--red);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.hero-card strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
}
.hero-card span { font-size: 0.74rem; color: var(--gray-mid); line-height: 1.45; display: block; }

/* Hero stats bar */
.hero-stats-bar {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--gray-line);
  background: var(--white);
}
.hero-stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stat {
  padding: 34px 28px;
  border-left: 1px solid var(--gray-line);
}
.hero-stat:first-child { border-left: none; padding-left: 0; }
.hero-stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.hero-stat-num i { font-style: normal; color: var(--red); margin-left: 2px; font-size: 1.6rem; }
.hero-stat-label { font-size: 0.78rem; color: var(--gray-mid); margin-top: 8px; }

/* ─── MARQUEE ─── */
.marquee {
  background: var(--white);
  border-top: 1px solid var(--gray-line);
  border-bottom: 1px solid var(--gray-line);
  overflow: hidden;
  padding: 20px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-soft);
}
.marquee-track i {
  font-style: normal;
  color: var(--red);
  font-size: 0.55rem;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── SOBRE ─── */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 88px;
  align-items: center;
}

.sobre-visual { position: relative; padding-bottom: 64px; }
.sobre-image-main {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/5;
  width: 82%;
  background: var(--gray-light);
  box-shadow: var(--shadow-deep);
}
.sobre-image-small {
  position: absolute;
  bottom: 0; right: 0;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  border: 8px solid var(--off-white);
  box-shadow: var(--shadow-deep);
  background: var(--gray-light);
}
.sobre-badge {
  position: absolute;
  top: 28px; right: 4%;
  background: var(--red);
  color: var(--white);
  border-radius: 14px;
  padding: 22px 26px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 16px 44px rgba(158,27,34,0.3);
}
.sobre-badge-num { font-size: 2.3rem; line-height: 1; }
.sobre-badge-num i { font-style: normal; font-size: 1.4rem; opacity: 0.8; }
.sobre-badge-text { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; margin-top: 4px; }

.sobre-pillars {
  display: flex;
  flex-direction: column;
  margin-top: 36px;
  border-top: 1px solid var(--gray-line);
}
.sobre-pillar {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-line);
}
.sobre-pillar-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--red);
  padding-top: 2px;
  flex-shrink: 0;
}
.sobre-pillar-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}
.sobre-pillar-text { font-size: 0.84rem; color: var(--gray-mid); line-height: 1.6; }

/* ─── SERVIÇOS ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-num {
  position: absolute;
  top: 28px; right: 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--gray-line);
  letter-spacing: 0.08em;
  transition: color 0.3s;
}
.service-card:hover .service-num { color: var(--red); }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--red-tint);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: background 0.3s;
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--red); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.service-card:hover .service-icon { background: var(--red); }
.service-card:hover .service-icon svg { stroke: var(--white); }

.service-title { font-size: 1.02rem; color: var(--ink); margin-bottom: 12px; }
.service-text { font-size: 0.87rem; color: var(--gray-mid); line-height: 1.7; }

.service-arrow {
  display: inline-flex;
  margin-top: 22px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gray-line);
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.service-arrow svg { width: 14px; height: 14px; stroke: var(--gray-mid); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.service-card:hover .service-arrow { background: var(--red); border-color: var(--red); transform: rotate(45deg); }
.service-card:hover .service-arrow svg { stroke: var(--white); }

/* ─── DIFERENCIAIS ─── */
.diferenciais-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 88px;
  align-items: start;
}
.diferenciais-sticky { position: sticky; top: 130px; }

.diferenciais-list { display: flex; flex-direction: column; }
.diferencial-item {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  padding: 30px 0;
  border-bottom: 1px solid var(--gray-line);
  transition: padding-left 0.3s var(--ease);
}
.diferencial-item:first-child { padding-top: 6px; }
.diferencial-item:hover { padding-left: 12px; }

.diferencial-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--red-tint);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.diferencial-icon svg { width: 22px; height: 22px; stroke: var(--red); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.diferencial-item:hover .diferencial-icon { background: var(--red); }
.diferencial-item:hover .diferencial-icon svg { stroke: var(--white); }

.diferencial-title { font-size: 1rem; color: var(--ink); margin-bottom: 6px; }
.diferencial-text { font-size: 0.88rem; color: var(--gray-mid); line-height: 1.7; }

/* ─── PROJETOS ─── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 320px;
  gap: 22px;
}
.project-card-featured { grid-row: span 2; }

.project-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.project-image {
  position: absolute;
  inset: 0;
  background: var(--gray-inst);
}
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.project-card:hover .project-image img { transform: scale(1.05); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, rgba(35,35,38,0.02) 35%, rgba(35,35,38,0.82) 88%);
}

.project-tag {
  position: absolute;
  top: 18px; left: 18px;
  background: var(--white);
  color: var(--red);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 7px;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.project-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px;
  z-index: 2;
  color: var(--white);
}
.project-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.project-meta svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; }
.project-title { font-size: 1.15rem; color: var(--white); margin-bottom: 8px; }
.project-desc {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease), opacity 0.4s, margin-bottom 0.45s var(--ease);
}
.project-card:hover .project-desc { max-height: 120px; opacity: 1; margin-bottom: 16px; }

.project-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--red);
  padding-bottom: 4px;
  transition: gap 0.25s;
}
.project-link:hover { gap: 13px; }
.project-link svg { width: 14px; height: 14px; stroke: var(--white); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

.projects-footer { text-align: center; margin-top: 56px; }

/* ─── PROCESSO ─── */
/* cards numerados, mesmo padrão premium dos cards de serviços */
.processo-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: stretch;
}

.processo-step {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.3s;
}
.processo-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.processo-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
  border-color: transparent;
}
.processo-step:hover::before { transform: scaleX(1); }

.step-marker { display: flex; }
.step-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: #EDD7D8;
  transition: color 0.35s;
}
.processo-step:hover .step-num { color: var(--red); }
.step-line { display: none; }

.step-body { padding-top: 18px; }
.step-title { font-size: 1rem; color: var(--ink); margin-bottom: 8px; }
.step-text { font-size: 0.84rem; color: var(--gray-mid); line-height: 1.65; }

/* ─── DEPOIMENTOS ─── */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.depoimento-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  border: 1px solid var(--gray-line);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.depoimento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep); }

.depoimento-card-featured {
  border-top: 4px solid var(--red);
  box-shadow: var(--shadow-soft);
}

.depoimento-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}
.depoimento-stars { color: #F5A623; font-size: 0.95rem; letter-spacing: 3px; }
.depoimento-quote-icon { width: 30px; height: 30px; color: var(--red); opacity: 0.18; }

.depoimento-text {
  font-size: 0.94rem;
  color: var(--gray-inst);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
  flex: 1;
}

.depoimento-author { display: flex; align-items: center; gap: 14px; }
.depoimento-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--red-tint);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--red);
}
.depoimento-name { font-family: 'Montserrat', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.depoimento-role { font-size: 0.74rem; color: var(--gray-mid); }

/* ─── CTA (faixa institucional vermelha) ─── */
#cta {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.cta-grid-lines {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-evenly;
  pointer-events: none;
}
.cta-grid-lines span { width: 1px; height: 100%; background: rgba(255,255,255,0.06); }

.cta-geo {
  position: absolute;
  right: -70px; top: 50%;
  transform: translateY(-50%);
  width: 520px; height: 520px;
  opacity: 0.07;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.cta-title {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  color: var(--white);
  letter-spacing: -0.02em;
}
.cta-title em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
  text-decoration-color: rgba(255,255,255,0.45);
}
.cta-text { font-size: 1.02rem; color: rgba(255,255,255,0.78); line-height: 1.8; margin-top: 20px; }
.cta-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; justify-content: center; }
#cta .btn-primary {
  background: var(--white);
  color: var(--red);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
#cta .btn-primary:hover { background: var(--gray-light); }

/* ─── CONTATO ─── */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 88px;
  align-items: start;
}

.contato-info-list { display: flex; flex-direction: column; gap: 14px; }
.contato-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: 14px;
  padding: 16px 20px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.contato-info-item:hover { border-color: rgba(158,27,34,0.3); box-shadow: var(--shadow-soft); }
.contato-info-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--red-tint);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contato-info-icon svg { width: 19px; height: 19px; stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contato-info-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  color: var(--ink);
}
.contato-info-value { font-size: 0.84rem; color: var(--gray-mid); }

.contato-form-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  border: 1px solid var(--gray-line);
  box-shadow: var(--shadow-deep);
  position: relative;
  overflow: hidden;
}
.contato-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--red-deep));
}
.contato-form-card h3 { font-size: 1.25rem; color: var(--ink); margin-bottom: 6px; }
.contato-form-sub { font-size: 0.82rem; color: var(--gray-mid); margin-bottom: 28px; }

#contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label {
  font-size: 0.74rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-inst);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 17px;
  border: 1.5px solid var(--gray-line);
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--off-white);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(158,27,34,0.08);
  background: var(--white);
}
.form-textarea { resize: vertical; }
.form-select { cursor: pointer; }

/* ─── FOOTER (claro institucional) ─── */
#footer {
  background: var(--white);
  border-top: 1px solid var(--gray-line);
  color: var(--gray-inst);
  padding: 72px 0 36px;
}

.footer-top {
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray-line);
  margin-bottom: 48px;
}
.footer-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.footer-logo-tag { font-size: 0.62rem; color: var(--gray-mid); letter-spacing: 0.06em; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-line);
  margin-bottom: 32px;
}

.footer-brand-text {
  font-size: 0.88rem;
  color: var(--gray-mid);
  line-height: 1.8;
  max-width: 300px;
}

.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 24px; height: 2px;
  background: var(--red);
}

.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links a {
  font-size: 0.86rem;
  color: var(--gray-mid);
  transition: color 0.2s, padding-left 0.25s var(--ease);
}
.footer-links a:hover { color: var(--red); padding-left: 6px; }

.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 11px; font-size: 0.86rem; color: var(--gray-mid); }
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--red); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 3px; }

.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 42px; height: 42px;
  border-radius: 11px;
  border: 1px solid var(--gray-line);
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.2s var(--ease);
}
.footer-social:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; stroke: var(--gray-mid); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s; }
.footer-social:hover svg { stroke: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray-soft);
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── IMAGENS REAIS ─── */
/* sobrepõe o placeholder; se o arquivo não existir, o onerror remove
   o <img> e o placeholder reaparece automaticamente */
.photo-real {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* ─── PHOTO PLACEHOLDER ─── */
.photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(35,35,38,0.012) 14px 28px),
    linear-gradient(135deg, #ECEAE7 0%, #DEDCD8 100%);
  gap: 12px;
}
.photo-placeholder svg { width: 46px; height: 46px; stroke: #B5B2AD; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.photo-placeholder span { font-size: 0.76rem; color: #A39F99; letter-spacing: 0.04em; }

/* placeholders dentro de áreas escuras (cards de projeto) */
.project-image .photo-placeholder {
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,0.015) 14px 28px),
    linear-gradient(135deg, #55534F 0%, #3F3D3A 100%);
}
.project-image .photo-placeholder svg { stroke: #8d8a85; }
.project-image .photo-placeholder span { color: #8d8a85; }

/* ─── FLOATING ELEMENTS ─── */
#scroll-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--gray-line);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(35,35,38,0.12);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s, transform 0.35s var(--ease), background 0.25s, border-color 0.25s;
  z-index: 999;
}
#scroll-top:hover { background: var(--red); border-color: var(--red); }
#scroll-top.visible { opacity: 1; transform: translateY(0); }
#scroll-top svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
#scroll-top:hover svg { stroke: var(--white); }

#wa-float {
  position: fixed;
  bottom: 92px; right: 28px;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,0.35);
  z-index: 998;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
#wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 38px rgba(37,211,102,0.45); }
#wa-float svg { width: 27px; height: 27px; fill: var(--white); }

/* ─── RESPONSIVE (altura) ─── */
/* telas baixas (notebooks, janelas reduzidas): compacta o hero
   para a barra de estatísticas permanecer visível */
@media (max-height: 860px) and (min-width: 769px) {
  .hero-badge { margin-bottom: 20px; padding: 7px 15px; }
  .hero-title { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 20px; }
  .hero-text { margin-bottom: 28px; font-size: 0.98rem; }
  .hero-stat { padding: 22px 24px; }
  .hero-stat-num { font-size: 1.7rem; }
  .hero-stat-num i { font-size: 1.3rem; }
  .hero-stat-label { font-size: 0.72rem; margin-top: 6px; }
  .hero-card { padding: 14px 18px; bottom: -18px; }
}

@media (max-height: 700px) and (min-width: 769px) {
  .hero-title { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
  .hero-text { margin-bottom: 22px; }
  .hero-stat { padding: 16px 20px; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .section { padding: 96px 0; }

  .hero-inner { gap: 48px; }
  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { padding: 24px 20px; }
  .hero-stat:nth-child(3) { border-left: none; padding-left: 0; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais-layout { grid-template-columns: 1fr; gap: 56px; }
  .diferenciais-sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  .processo-timeline { grid-template-columns: repeat(2, 1fr); }
  .processo-step:last-child { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .header-cta { display: none; }
  .nav { gap: 28px; }
}

@media (max-width: 768px) {
  .container { padding: 0 22px; }
  .section { padding: 72px 0; }

  .nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { height: 72px; }

  .hero-inner { grid-template-columns: 1fr; gap: 56px; padding: 140px 22px 64px; }
  .hero-visual { max-width: 420px; }
  .hero-card { left: 0; bottom: -20px; }
  .hero-stats-inner { padding: 0 22px; }

  .section-header-split { flex-direction: column; align-items: flex-start; gap: 16px; }

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

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

  .projects-grid { grid-template-columns: 1fr; grid-auto-rows: 360px; }
  .project-card-featured { grid-row: span 1; }
  .project-desc { max-height: 120px; opacity: 1; margin-bottom: 16px; }

  .processo-timeline { grid-template-columns: 1fr; }
  .processo-step:last-child { grid-column: auto; }

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

  .contato-grid { grid-template-columns: 1fr; gap: 56px; }
  .contato-form-card { padding: 34px 26px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  #scroll-top, #wa-float { right: 18px; }
  #wa-float { bottom: 88px; }
  #scroll-top { bottom: 26px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn-primary { justify-content: center; }
  .hero-stats-inner { grid-template-columns: 1fr 1fr; }
  .hero-stat-num { font-size: 1.6rem; }
  .cta-btns .btn { width: 100%; justify-content: center; }
  .sobre-badge { padding: 16px 18px; }
  .sobre-badge-num { font-size: 1.7rem; }
}
