/* ============================================================
   LLUM ARQUITETURA — Home
   Tokens e identidade derivados do Manual de Marca + Design System
============================================================ */

/* ---- PP Formula — fonte principal da marca ---- */
@font-face { font-family: 'PPFormula'; src: url('/assets/fonts/PPFormula-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'PPFormula'; src: url('/assets/fonts/PPFormula-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'PPFormula'; src: url('/assets/fonts/PPFormula-RegularItalic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'PPFormula'; src: url('/assets/fonts/PPFormula-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }

/* ---- PP Formula Extended — display e títulos ---- */
@font-face { font-family: 'PPFormulaExtended'; src: url('/assets/fonts/PPFormula-ExtendedLight.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'PPFormulaExtended'; src: url('/assets/fonts/PPFormula-ExtendedMedium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'PPFormulaExtended'; src: url('/assets/fonts/PPFormula-ExtendedBold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* ---- PP Editorial New — serif para citações e accents ---- */
@font-face { font-family: 'PPEditorialNew'; src: url('/assets/fonts/PPEditorialNew-Ultralight.woff2') format('woff2'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'PPEditorialNew'; src: url('/assets/fonts/PPEditorialNew-UltralightItalic.woff2') format('woff2'); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: 'PPEditorialNew'; src: url('/assets/fonts/PPEditorialNew-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'PPEditorialNew'; src: url('/assets/fonts/PPEditorialNew-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }

/* ---- PP Editorial Sans — nova sans-serif da marca ---- */
@font-face { font-family: 'PPEditorialSans'; src: url('/assets/fonts/PPEditorialSans-Ultralight.woff2') format('woff2'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'PPEditorialSans'; src: url('/assets/fonts/PPEditorialSans-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'PPEditorialSans'; src: url('/assets/fonts/PPEditorialSans-Heavy.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  /* Cores da marca */
  --green:        #415237;
  --green-dark:   #2e3b27;
  --green-deep:   #232d1d;
  --green-light:  #5a6e4b;
  --brown:        #413328;
  --brown-dark:   #2d231b;
  --sand:         #b39278;
  --sand-light:   #cdb09a;
  --cream:        #f0ece2;
  --cream-dark:   #e4dfd4;
  --near-white:   #f9f8f2;
  --paper:        #f7f5ef;
  --white:        #ffffff;
  --ink:          #1c1813;

  --border:       rgba(65,82,55,0.14);
  --border-light: rgba(240,236,226,0.12);

  /* Tipografia */
  --font:     'PPFormula', Arial, sans-serif;
  --font-ext: 'PPFormulaExtended', 'PPFormula', Arial, sans-serif;
  --font-ed:  'PPEditorialNew', Georgia, serif;
  --font-sans-ed: 'PPEditorialSans', 'PPFormula', Arial, sans-serif;

  --max-w: 1320px;
  --pad-x: clamp(1.4rem, 5vw, 6rem);

  /* Chanfro angular — assinatura gráfica (referência ao "M") */
  --chamfer: 34px;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  font-weight: 300;
  color: var(--brown);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
::selection { background: var(--green); color: var(--green-deep); }

/* ============================================================ UTILITÁRIOS ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }

.eyebrow {
  font-family: var(--font);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: '';
  width: 26px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow.no-rule::before { display: none; }

.display {
  font-family: var(--font-ext);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--brown);
}
.display em {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  color: inherit;
  letter-spacing: 0;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font); font-weight: 500; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 1.05rem 2.1rem; transition: all 0.3s cubic-bezier(.2,.7,.2,1);
  border: 1px solid transparent; position: relative; overflow: hidden;
}
.btn .ar { transition: transform 0.3s ease; }
.btn:hover .ar { transform: translateX(4px); }
img.ar { height: 0.8em; width: auto; vertical-align: middle; display: inline-block; }
.about-cta img.ar { transition: transform 0.3s ease; }
.about-cta:hover img.ar { transform: translateX(4px); }
.section-deco { display: none; }
.btn-primary   { background: var(--green); color: var(--cream); }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline   { background: transparent; color: var(--green); border-color: rgba(65,82,55,0.4); }
.btn-outline:hover { background: var(--green); color: var(--cream); border-color: var(--green); }
.btn-cream     { background: var(--cream); color: var(--brown); }
.btn-cream:hover { background: var(--white); }
.btn-ghost     { background: transparent; color: var(--cream); border-color: rgba(240,236,226,0.35); }
.btn-ghost:hover { background: rgba(240,236,226,0.08); border-color: rgba(240,236,226,0.6); }

/* Chanfro angular nas imagens — grafismo da marca */
.chamfer-tr { clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%); }
.chamfer-bl { clip-path: polygon(0 0, 100% 0, 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer))); }
.chamfer-tr-lg { --chamfer: 80px; clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%); }

/* image-slot defaults */
image-slot {
  --bg: var(--cream-dark);
  background: var(--cream-dark);
  display: block;
}

/* ============================================================ NAV ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
  padding-left: max(var(--pad-x), calc((100% - var(--max-w)) / 2));
  padding-right: max(var(--pad-x), calc((100% - var(--max-w)) / 2));
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.nav.scrolled {
  background: rgba(247,245,239,0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
  padding-top: 0.9rem; padding-bottom: 0.9rem;
}
.nav-logo { height: 32px; width: auto; transition: filter 0.4s ease; }
/* logo cream sobre hero → verde quando scrolled */
.nav-logo.to-green { filter: brightness(0) saturate(100%) invert(27%) sepia(13%) saturate(900%) hue-rotate(58deg) brightness(85%); }
.nav-links { display: flex; gap: 2.4rem; }
.nav-link {
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; color: var(--cream); position: relative; padding: 0.2rem 0;
  transition: color 0.3s;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0;
  background: currentColor; transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav.scrolled .nav-link { color: var(--brown); }
.nav-cta .btn { padding: 0.7rem 1.5rem; font-size: 0.68rem; background: var(--cream); color: var(--brown); border-color: var(--cream); }
.nav.scrolled .nav-cta .btn { background: var(--green); color: var(--cream); border-color: var(--green); }
.nav-mobile-toggle { display: none; color: var(--cream); font-size: 1.3rem; z-index: 2; }
.nav.scrolled .nav-mobile-toggle { color: var(--brown); }

/* ---- Dropdown de Serviços (desktop) ---- */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-toggle { cursor: default; user-select: none; }
.nav-dropdown-toggle.nav-link::after {
  content: '▾'; position: static; width: auto; height: auto; background: none;
  font-size: 0.6em; margin-left: 0.28em; opacity: 0.7; display: inline-block;
  transition: transform 0.25s ease;
}
.nav-dropdown:hover .nav-dropdown-toggle.nav-link::after,
.nav-dropdown:focus-within .nav-dropdown-toggle.nav-link::after { transform: rotate(180deg); opacity: 1; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 0.9rem); left: -1rem;
  background: var(--paper); border: 1px solid var(--border);
  min-width: 172px; padding: 0.5rem 0; z-index: 950;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  box-shadow: 0 10px 28px rgba(65,50,40,0.1);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; pointer-events: auto; transform: none; }
.nav-dropdown-menu a {
  display: block; padding: 0.58rem 1.2rem;
  font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  font-weight: 500; color: var(--brown); white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown-menu a:hover { color: var(--green); background: var(--cream-dark); }

/* ---- Mobile: sub-grupo Serviços ---- */
.mobile-sub-group { border-bottom: 1px solid var(--border-light); }
.mobile-sub-label {
  font-family: var(--font-ext); font-weight: 500;
  font-size: clamp(1.8rem, 8vw, 3rem); color: rgba(240,236,226,0.45);
  padding: 0.4rem 0; display: block; letter-spacing: -0.01em;
}
.mobile-sub-items { display: flex; flex-direction: column; padding-bottom: 0.5rem; }
.mobile-sub-items a {
  font-family: var(--font-ext); font-weight: 400;
  font-size: clamp(1.2rem, 5vw, 2rem); color: rgba(240,236,226,0.75);
  padding: 0.22rem 0 0.22rem 1.1rem; border-bottom: none !important;
  letter-spacing: -0.005em;
}
.mobile-sub-items a:hover { color: var(--cream); }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; z-index: 899;
  background: var(--brown-dark);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad-x); gap: 0.4rem;
  opacity: 0; pointer-events: none; transform: translateY(-12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu a {
  font-family: var(--font-ext); font-weight: 500;
  font-size: clamp(1.8rem, 8vw, 3rem); color: var(--cream);
  padding: 0.4rem 0; border-bottom: 1px solid var(--border-light);
}
.mobile-menu a em { font-family: inherit; font-style: normal; color: inherit; }

/* ============================================================ HERO ============================================================ */
.hero {
  min-height: 92svh; background: var(--brown); position: relative; overflow: hidden;
  display: flex; align-items: stretch;
}
.hero-grid {
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  align-items: stretch; gap: clamp(2rem, 5vw, 4.5rem);
  width: 100%;
  padding-top: calc(8rem + 2.5rem); padding-bottom: calc(3.5rem + 2.5rem);
  padding-left: max(var(--pad-x), calc((100% - var(--max-w)) / 2));
  padding-right: max(var(--pad-x), calc((100% - var(--max-w)) / 2));
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-figure {
  position: relative; overflow: hidden;
  align-self: stretch; min-height: 58svh;
  background: var(--green-dark);
}
.hero-figure image-slot {
  position: absolute; left: 0; top: -14%;
  width: 100%; height: 128%;
  display: block; --bg: var(--green-dark);
  will-change: transform;
}
.hero-eyebrow { color: rgba(240,236,226,0.7); margin-bottom: 1.4rem; text-transform: none; letter-spacing: 0.02em; }
.hero-eyebrow::before { display: none; }
.hero-title {
  font-family: var(--font-ext); font-weight: 700;
  font-size: clamp(3.6rem, 10vw, 8.5rem);
  line-height: 0.86; letter-spacing: -0.03em; color: var(--cream);
  margin-bottom: 1rem;
}
.hero-logo {
  display: block;
  width: auto; max-width: 100%;
  height: clamp(5rem, 11vw, 10rem);
  margin: -1rem 0 -0.4rem -0.4rem;
}
.hero-sub {
  font-family: var(--font); font-style: normal; font-weight: 300;
  font-size: clamp(1.3rem, 2.8vw, 2.2rem); color: var(--cream);
  line-height: 1.1; margin-bottom: 1.8rem;
}
.hero-desc {
  font-size: 0.9rem; color: rgba(240,236,226,0.74);
  line-height: 1.75; max-width: 480px; margin-bottom: 2rem; font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-bar {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  padding: 1.5rem var(--pad-x);
  border-top: 1px solid rgba(240,236,226,0.12);
  max-width: var(--max-w); margin: 0 auto; width: 100%;
}
.hero-stats { display: flex; gap: clamp(1.5rem,4vw,3.5rem); }
.hero-stat-n { font-family: var(--font-ext); font-weight: 700; font-size: clamp(1.4rem,2.5vw,1.9rem); color: var(--cream); line-height: 1; }
.hero-stat-l { font-size: 0.65rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(240,236,226,0.55); margin-top: 5px; }
.hero-scroll { display: flex; align-items: center; gap: 0.7rem; font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(240,236,226,0.4); }
.hero-scroll .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cream); animation: pulseDot 1.8s ease-in-out infinite; }
@keyframes pulseDot { 0%,100%{ opacity:0.3; transform:translateY(0);} 50%{ opacity:1; transform:translateY(4px);} }

/* ============================================================ MARQUEE ============================================================ */
.marquee {
  background: var(--brown); color: var(--near-white); overflow: hidden;
  padding: 0.9rem 0; border-bottom: 1px solid rgba(240,236,226,0.08);
}
.marquee-track { display: flex; gap: 2.2rem; width: max-content; animation: slideX 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-ext); font-weight: 500; font-size: 0.95rem;
  letter-spacing: 0.02em; color: var(--near-white); display: inline-flex; align-items: center; gap: 2.2rem;
  white-space: nowrap;
}
.marquee-item::after { content: '✦'; color: rgba(240,236,226,0.3); font-size: 0.6rem; }
@keyframes slideX { to { transform: translateX(-50%); } }

/* ============================================================ SECTION SHELL ============================================================ */
.section { padding: clamp(8rem, 12vw, 13rem) var(--pad-x); }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end; margin-bottom: 6rem; position: relative; z-index: 1; }
.sec-title { font-family: var(--font-ext); font-weight: 700; font-size: clamp(2.05rem, 4vw, 3.05rem); line-height: 1.02; letter-spacing: -0.02em; color: var(--brown); }
.sec-title em { font-family: inherit; font-style: normal; font-weight: inherit; color: inherit; display: block; }
.sec-desc { font-size: 0.9rem; line-height: 1.9; font-weight: 300; max-width: 52ch; }

/* ============================================================ SOBRE ============================================================ */
.about { background: var(--cream); }
.about-inner { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 8rem; align-items: start; }
.about-left { position: sticky; top: 7rem; }
.about-figure { position: relative; margin-bottom: 2.2rem; }
.about-figure image-slot { width: 100%; height: auto; aspect-ratio: 1/1; }
.about-figure .tag-float {
  position: absolute; left: -1px; bottom: -1px; background: var(--green); color: var(--cream);
  padding: 0.9rem 1.4rem; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.about-headline { font-family: var(--font-ext); font-weight: 700; font-size: clamp(2.05rem, 4vw, 3.05rem); line-height: 1.08; letter-spacing: -0.01em; color: var(--brown); margin-bottom: 1.6rem; }
.about-headline em { font-family: inherit; font-style: normal; font-weight: inherit; color: inherit; display: block; }
.about-cta { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--green); margin-top: 2rem; border-bottom: 1px solid rgba(65,82,55,0.3); padding-bottom: 0.3rem; }
.about-cta:hover { border-color: var(--green); }
.about-text { font-size: 0.9rem; line-height: 1.9; color: var(--brown); font-weight: 300; margin-bottom: 1.4rem; }
.about-text strong { font-weight: 500; color: var(--green); }
.about-quote { font-family: var(--font); font-style: normal; font-weight: 300; font-size: clamp(0.9rem,1.6vw,1.3rem); line-height: 1.45; color: var(--brown); border-left: 2px solid var(--green); padding-left: 2rem; margin: 2rem 0; }
.about-team { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.about-team-label { margin-bottom: 1.5rem; }
.about-team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.about-team-link { display: inline-flex; align-items: center; margin-top: 2rem; padding-top: 1.8rem; border-top: 1px solid var(--border); transition: opacity 0.3s; }
.about-team-link:hover { opacity: 0.7; }
.team-card { background: var(--paper); padding: 1.4rem 1.6rem; transition: background 0.3s; }
.team-card:hover { background: var(--white); }
.team-name { font-size: 0.92rem; font-weight: 500; color: var(--brown); margin-bottom: 0.25rem; }
.team-role { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); }
.team-city { font-size: 0.78rem; color: rgba(65,50,40,0.5); margin-top: 0.45rem; }

/* ============================================================ DIFERENCIAL ============================================================ */
.diferencial { background: var(--brown); position: relative; overflow: hidden; }
.diferencial .eyebrow { color: rgba(249,248,242,0.72); }
.diferencial .sec-title { color: var(--near-white); }
.diferencial .sec-title em { color: inherit; }
.diferencial .sec-desc { color: rgba(249,248,242,0.72); }
.dif-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(240,236,226,0.08); border: 1px solid rgba(240,236,226,0.08); position: relative; z-index: 1; }
.dif-card { background: var(--brown); padding: 4rem 3.2rem; transition: background 0.35s; position: relative; }
.dif-card:hover { background: var(--brown-dark); }
.dif-n { font-family: var(--font-ext); font-style: normal; font-weight: 700; font-size: 4.2rem; color: var(--near-white); line-height: 1; margin-bottom: 2rem; opacity: 0.55; }
.dif-title { font-size: 1.05rem; font-weight: 500; color: var(--near-white); margin-bottom: 1.1rem; line-height: 1.3; }
.dif-text { font-size: 0.9rem; line-height: 1.85; color: rgba(249,248,242,0.7); font-weight: 300; }

/* ============================================================ SERVIÇOS ============================================================ */
.servicos { background: var(--cream); }
.serv-list { border-top: 1px solid var(--border); }
.serv-item {
  display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 2.5rem;
  padding: 3rem 1rem; border-bottom: 1px solid var(--border);
  position: relative; transition: padding 0.35s ease, background 0.35s ease;
}
.serv-item::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--green); transition: width 0.35s ease; z-index: 0;
}
.serv-item:hover { padding-left: 2rem; }
.serv-item > * { position: relative; z-index: 1; }
.serv-n { font-family: var(--font-ext); font-style: normal; font-size: 1.6rem; color: var(--green); font-weight: 500; }
.serv-title { font-size: 1.2rem; font-weight: 500; color: var(--brown); margin-bottom: 0.45rem; transition: color 0.3s; }
.serv-desc { font-size: 0.9rem; color: rgba(65,50,40,0.62); line-height: 1.65; font-weight: 300; max-width: 60ch; }
.serv-tag { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.4rem 0.95rem; font-weight: 500; background: rgba(65,82,55,0.1); color: var(--green); white-space: nowrap; transition: all 0.3s; }
.serv-item:hover .serv-tag { background: var(--green); color: var(--cream); }

/* ============================================================ PROCESSO ============================================================ */
.processo { background: var(--brown); padding-bottom: 5rem; transition: background 0.4s ease; position: relative; overflow: hidden; }
.processo.proc-int-active { background: var(--brown); }

/* Tabs */
.proc-tabs { display: flex; gap: 0; margin-bottom: 4rem; width: fit-content; position: relative; z-index: 1; }
.proc-tab { background: transparent; border: 1px solid rgba(240,236,226,0.2); border-right: none; color: rgba(249,248,242,0.5); font-family: var(--font); font-size: 0.74rem; letter-spacing: 0.01em; text-transform: none; padding: 0.7rem 1.4rem; cursor: pointer; transition: all 0.3s; }
.proc-tab:last-child { border-right: 1px solid rgba(240,236,226,0.2); }
.proc-tab.active { background: rgba(249,248,242,0.1); border-color: rgba(249,248,242,0.4); color: var(--near-white); }
.proc-tab:hover:not(.active) { color: rgba(249,248,242,0.72); background: rgba(249,248,242,0.05); }

/* Variant toggle */
.proc-variant { display: none; }
.proc-variant.active { display: block; position: relative; z-index: 1; }

/* Top two-column layout */
.proc-top { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-bottom: 5rem; }
.proc-fases-title { font-family: var(--font-ext); font-weight: 700; font-size: clamp(2.05rem, 4vw, 3.05rem); line-height: 1.04; letter-spacing: -0.015em; color: var(--near-white); }
.proc-infos { display: flex; flex-direction: column; gap: 1.8rem; }
.proc-info-text { font-size: 0.9rem; line-height: 1.8; color: rgba(249,248,242,0.72); font-weight: 300; }

/* Timeline */
.proc-tl-top { display: flex; }
.proc-tl-step { flex: 1; display: flex; flex-direction: column; align-items: center; padding-bottom: 0.7rem; opacity: 0; transform: translateY(-14px); transition: opacity 0.38s ease, transform 0.38s ease; }
.proc-tl-step.tl-show { opacity: 1; transform: translateY(0); }
.proc-tl-n { font-family: var(--font); font-weight: 300; font-size: clamp(2.4rem, 5vw, 4.5rem); color: rgba(249,248,242,0.92); line-height: 1; margin-bottom: 0.7rem; }
.proc-tl-arr { width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid var(--sand); opacity: 0.65; }
.proc-tl-bar { height: 1px; background: rgba(240,236,226,0.12); width: 100%; position: relative; }
.proc-tl-bar-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: rgba(240,236,226,0.55); transition: width 0.42s cubic-bezier(0.4,0,0.2,1); }
.proc-tl-bottom { display: flex; margin-top: 1.2rem; }
.proc-tl-label { flex: 1; text-align: center; padding: 0 0.5rem; opacity: 0; transition: opacity 0.35s ease; }
.proc-tl-label.tl-show { opacity: 1; }
.proc-tl-name { font-size: 0.78rem; line-height: 1.4; color: rgba(249,248,242,0.76); margin-bottom: 0.3rem; font-weight: 300; }
.proc-tl-abbr { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(249,248,242,0.7); font-weight: 500; }

/* ============================================================ PORTFOLIO ============================================================ */
.portfolio { background: var(--paper); }
.portfolio-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.port-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

/* cards gerados pelo portfolio.js */
.port-card { position: relative; overflow: hidden; cursor: pointer; background: var(--cream-dark); aspect-ratio: 4/3; }
.port-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.55s cubic-bezier(.2,.7,.2,1); }
.port-card:hover img { transform: scale(1.05); }
.port-card:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.port-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(35,45,29,0.92) 0%, rgba(35,45,29,0.18) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.6rem 1.4rem;
  opacity: 0; transition: opacity 0.35s ease; pointer-events: none;
}
.port-card:hover .port-card-overlay,
.port-card:focus-visible .port-card-overlay { opacity: 1; }
.port-card-tag { font-size: 0.58rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--cream); margin-bottom: 0.4rem; }
.port-card-name { font-family: var(--font-ext); font-size: 1.15rem; font-weight: 500; color: var(--cream); line-height: 1.2; }
.port-card-count { font-size: 0.7rem; color: rgba(240,236,226,0.55); margin-top: 0.3rem; }
.portfolio-cta { margin-top: 2.6rem; display: flex; justify-content: center; }

/* ============================================================ NUMEROS / STATS ============================================================ */
.numeros { background: var(--cream); padding-top: 0 !important; padding-bottom: 0 !important; }
.numeros-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.num-item { padding: 4rem 2.6rem; border-right: 1px solid var(--border); display: flex; flex-direction: column; justify-content: flex-end; gap: 1rem; }
.num-item:last-child { border-right: none; }
.num-stat { font-family: var(--font-ext); font-weight: 700; font-size: clamp(2.2rem, 3.5vw, 3.2rem); color: var(--green); line-height: 1; }
.num-icon { color: var(--green); flex-shrink: 0; margin-bottom: 0.4rem; }
.num-phrase { font-family: var(--font-ext); font-size: clamp(0.78rem, 1vw, 0.88rem); font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--green-dark); line-height: 1.65; }

/* ============================================================ LIGHTBOX ============================================================ */
.llum-lb {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(28,24,19,0.97);
  display: flex; align-items: stretch;
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s ease;
}
.llum-lb.open { opacity: 1; pointer-events: auto; }
.llum-lb-inner { display: flex; flex-direction: column; width: 100%; }
.llum-lb-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.6rem; gap: 1rem; flex-shrink: 0;
  border-bottom: 1px solid rgba(240,236,226,0.08);
}
.llum-lb-title { font-family: var(--font-ext); font-size: 0.82rem; font-weight: 500; color: var(--cream); letter-spacing: 0.08em; text-transform: uppercase; }
.llum-lb-count { font-size: 0.7rem; color: rgba(240,236,226,0.6); letter-spacing: 0.1em; flex-shrink: 0; }
.llum-lb-close {
  font-size: 1.4rem; color: rgba(240,236,226,0.6); cursor: pointer;
  background: none; border: none; padding: 0.2rem 0.4rem; line-height: 1;
  transition: color 0.2s; flex-shrink: 0;
}
.llum-lb-close:hover { color: var(--cream); }
.llum-lb-stage {
  flex: 1; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; min-height: 0;
}
.llum-lb-img {
  max-width: calc(100% - 120px); max-height: 100%;
  object-fit: contain; display: block;
  transition: opacity 0.18s ease;
}
.llum-lb-img.llum-lb-loading { opacity: 0; }
.llum-lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(240,236,226,0.07); border: 1px solid rgba(240,236,226,0.15);
  color: var(--cream); font-size: 1.8rem; line-height: 1;
  width: 52px; height: 52px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 2;
}
.llum-lb-btn:hover { background: rgba(240,236,226,0.16); }
.llum-lb-prev { left: 1rem; }
.llum-lb-next { right: 1rem; }
.llum-lb-thumbs {
  display: flex; gap: 0.4rem; padding: 0.8rem 1.6rem;
  overflow-x: auto; flex-shrink: 0;
  scrollbar-width: thin; scrollbar-color: rgba(179,146,120,0.4) transparent;
  border-top: 1px solid rgba(240,236,226,0.08);
}
.llum-lb-thumb {
  width: 60px; height: 44px; object-fit: cover; cursor: pointer; flex-shrink: 0;
  opacity: 0.38; transition: opacity 0.2s; border: 1px solid transparent;
}
.llum-lb-thumb:hover { opacity: 0.75; }
.llum-lb-thumb.active { opacity: 1; border-color: var(--cream); }

/* ============================================================ REEL / GALERIA FULLSCREEN ============================================================ */
.reel { position: relative; background: var(--brown-dark); height: 400svh; }
.reel-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.reel-track { display: flex; height: 100%; will-change: transform; }
.reel-slide { position: relative; flex: 0 0 100vw; height: 100%; overflow: hidden; }
.reel-slide image-slot { width: 100%; height: 100%; --bg: var(--brown-dark); }
.reel-bg { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.reel-img { display: none; }
.reel-slide::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(to top, rgba(35,45,29,0.9) 0%, rgba(35,45,29,0.25) 42%, rgba(35,45,29,0.08) 100%);
}
.reel-cap { position: absolute; left: max(var(--pad-x), calc((100% - var(--max-w)) / 2)); bottom: clamp(4rem, 9vh, 7rem); z-index: 3; max-width: 640px; }
.reel-cap-tag { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--near-white); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: 0.7rem; }
.reel-cap-tag::before { content: ''; width: 26px; height: 1px; background: currentColor; }
.reel-cap-title { font-family: var(--font-ext); font-weight: 700; font-size: clamp(2.05rem, 4vw, 3.05rem); line-height: 0.98; letter-spacing: -0.02em; color: var(--near-white); }
.reel-cap-title em { font-family: var(--font-ext); font-style: normal; font-weight: 700; color: inherit; }

/* overlay persistente */
.reel-head { position: absolute; top: clamp(5.5rem, 12vh, 8rem); left: max(var(--pad-x), calc((100% - var(--max-w)) / 2)); z-index: 4; pointer-events: none; }
.reel-head .eyebrow { color: rgba(249,248,242,0.72); }

/* UI: contador + progresso */
.reel-ui { position: absolute; right: max(var(--pad-x), calc((100% - var(--max-w)) / 2)); bottom: clamp(2.2rem, 5vh, 3.4rem); z-index: 4; display: flex; align-items: center; gap: 1rem; color: var(--near-white); }
.reel-count { font-family: var(--font-ext); font-weight: 700; font-size: 1rem; letter-spacing: 0.04em; }
.reel-count .total { color: rgba(249,248,242,0.52); }
.reel-dots { display: flex; gap: 0.5rem; }
.reel-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(249,248,242,0.32); transition: background 0.3s, transform 0.3s; }
.reel-dot.active { background: var(--cream); transform: scale(1.35); }
.reel-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: rgba(249,248,242,0.75); z-index: 4; transition: width 0.1s linear; }
.reel-hint { position: absolute; left: max(var(--pad-x), calc((100% - var(--max-w)) / 2)); bottom: clamp(2.2rem, 5vh, 3.4rem); z-index: 4; font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(249,248,242,0.62); display: flex; align-items: center; gap: 0.6rem; }
.reel-hint .arr { animation: hintX 1.6s ease-in-out infinite; }
.reel-hint img.arr { height: 0.9em; width: auto; vertical-align: middle; }
@keyframes hintX { 0%,100%{ transform: translateX(0); opacity:0.5; } 50%{ transform: translateX(5px); opacity:1; } }

/* mobile: carousel com setas */
.reel-mobile-only { display: none; }
.reel-mobile { display: none; }
.reel-arrows { display: none; pointer-events: none; }
.reel-arrow { width: 44px; height: 44px; border-radius: 50%; background: rgba(240,236,226,0.15); border: 1px solid rgba(240,236,226,0.25); color: var(--cream); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; pointer-events: auto; }
.reel-arrow:active { background: rgba(240,236,226,0.35); }
@media (max-width: 1024px) {
  .reel { height: auto; }
  .reel-sticky { position: relative; height: 80svh; overflow: hidden; }
  .reel-track { display: flex; height: 100%; transition: transform 0.45s cubic-bezier(.4,0,.2,1); }
  .reel-slide { flex: 0 0 100vw; scroll-snap-align: unset; }
  .reel-slide image-slot { display: none; }
  .reel-bg { display: block; }
  .reel-head { top: 1.5rem; }
  .reel-hint, .reel-progress, .reel-count { display: none !important; }
  .reel-ui { display: flex; left: 0; right: 0; transform: none; justify-content: center; bottom: 1.4rem; }
  .reel-mobile { display: flex; }
  .reel-mobile-only { display: flex; }
  .reel-arrows { display: flex; align-items: center; justify-content: space-between; position: absolute; top: 0; left: 0; right: 0; bottom: 0; padding: 0 1.5rem; z-index: 5; }
}

/* ============================================================ NÚMEROS ============================================================ */
.numeros { background: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-top: 0; padding-bottom: 0; padding-left: max(var(--pad-x), calc((100% - var(--max-w)) / 2)); padding-right: max(var(--pad-x), calc((100% - var(--max-w)) / 2)); }
.num-grid { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.num-item { padding: clamp(2.5rem,5vw,4rem) clamp(1.5rem,3vw,2.6rem); border-right: 1px solid var(--border); }
.num-item:last-child { border-right: none; }
.num-n { font-family: var(--font-ext); font-weight: 700; font-size: clamp(2.6rem,5vw,4.2rem); color: var(--green); line-height: 1; margin-bottom: 0.7rem; }
.num-label { font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brown); font-weight: 500; margin-bottom: 0.5rem; }
.num-desc { font-size: 0.9rem; color: rgba(65,50,40,0.52); line-height: 1.55; font-weight: 300; }

/* ============================================================ DEPOIMENTOS ============================================================ */
.depoimentos { background: var(--white); }
.dep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.dep-card { background: var(--cream); padding: 3.4rem; border: 1px solid var(--border); }
.dep-feat { background: var(--brown); grid-column: span 2; border-color: transparent; }
.dep-stars { display: flex; gap: 3px; margin-bottom: 1.3rem; }
.dep-star { color: var(--green); font-size: 0.9rem; }
.dep-text { font-family: var(--font); font-style: normal; font-weight: 300; font-size: 0.9rem; line-height: 1.85; color: var(--brown); margin-bottom: 1.8rem; }
.dep-feat .dep-text { color: var(--near-white); font-size: 0.9rem; }
.dep-author { display: flex; align-items: center; gap: 1rem; }
.dep-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 500; color: var(--cream); flex-shrink: 0; }
.dep-feat .dep-avatar { background: rgba(240,236,226,0.2); color: var(--cream); }
.dep-name { font-size: 0.88rem; font-weight: 500; color: var(--brown); }
.dep-feat .dep-name { color: var(--near-white); }
.dep-proj { font-size: 0.74rem; color: rgba(65,50,40,0.5); }

/* ============================================================ CONSTRUTORAS ============================================================ */
.construtoras { background: var(--brown); }
.construtoras .eyebrow { color: rgba(249,248,242,0.72); }
.constr-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.constr-title { font-family: var(--font-ext); font-weight: 700; font-size: clamp(2.05rem, 4vw, 3.05rem); line-height: 1.08; color: var(--near-white); margin: 1.6rem 0 2rem; }
.constr-title em { font-family: inherit; font-style: normal; font-weight: inherit; color: inherit; display: block; }
.constr-text { font-size: 0.9rem; line-height: 1.85; color: rgba(249,248,242,0.74); font-weight: 300; margin-bottom: 1.3rem; }
.constr-text strong { color: var(--near-white); font-weight: 500; }
.constr-actions { display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.constr-figure { position: relative; margin-bottom: 1.5rem; }
.constr-figure image-slot { width: 100%; aspect-ratio: 16/10; --bg: var(--brown-dark); }
.constr-items { display: flex; flex-direction: column; gap: 1px; }
.constr-item { background: rgba(240,236,226,0.04); padding: 1.6rem 1.8rem; border-left: 2px solid transparent; transition: all 0.3s; }
.constr-item:hover { background: rgba(240,236,226,0.08); border-left-color: rgba(240,236,226,0.45); }
.constr-item-title { font-size: 0.9rem; font-weight: 500; color: var(--near-white); margin-bottom: 0.4rem; }
.constr-item-text { font-size: 0.9rem; color: rgba(249,248,242,0.62); line-height: 1.6; font-weight: 300; }

/* ============================================================ ATUAÇÃO ============================================================ */
.atuacao { background: var(--cream); }
.atuacao-inner { display: grid; grid-template-columns: 1fr 1.7fr; gap: 5rem; align-items: center; }
.atuacao-title { font-family: var(--font-ext); font-weight: 700; font-size: clamp(2.05rem, 4vw, 3.05rem); line-height: 1.1; color: var(--brown); margin: 1.1rem 0; }
.atuacao-text { font-size: 0.9rem; line-height: 1.8; color: rgba(65,50,40,0.62); font-weight: 300; }
.cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.city { background: var(--paper); padding: 1.7rem 1.5rem; transition: background 0.3s; }
.city:hover { background: var(--white); }
.city-name { font-size: 0.95rem; font-weight: 500; color: var(--brown); margin-bottom: 0.3rem; }
.city-state { font-size: 0.8rem; letter-spacing: 0.01em; text-transform: none; color: var(--green); }
.city-ext { background: var(--green); grid-column: span 3; padding: 1.4rem 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.city-ext .city-name { color: var(--cream); }
.city-ext .city-state { color: rgba(240,236,226,0.6); }
.city-ext-tag { font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--green); background: rgba(240,236,226,0.12); padding: 0.35rem 0.8rem; }
.city-group { display: flex; flex-direction: column; gap: 1.2rem; }
.city-label { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); font-weight: 500; padding-bottom: 0.9rem; border-bottom: 1px solid var(--border); }
.city-subitem { display: flex; flex-direction: column; gap: 0.2rem; }
.city-group-ext { background: var(--green) !important; }
.city-group-ext .city-label { color: rgba(240,236,226,0.5); border-bottom-color: rgba(240,236,226,0.15); }
.city-group-ext .city-name { color: var(--cream); }
.city-group-ext .city-state { color: rgba(240,236,226,0.6); }

/* ============================================================ CONTATO ============================================================ */
.contato { background: var(--brown); padding-top: clamp(3.5rem, 6vw, 6rem); padding-bottom: clamp(3.5rem, 6vw, 6rem); }
.contato .eyebrow { color: rgba(249,248,242,0.72); }
.contato-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contato-centered { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 580px; margin: 0 auto; gap: 1.4rem; }
.contato-centered .contato-text { margin-bottom: 0; }
.contato-centered .contato-info { flex-direction: row; justify-content: center; gap: 1.4rem 2.4rem; flex-wrap: wrap; }
.contato-cta { margin-top: 0.6rem; }
.contato-title { font-family: var(--font-ext); font-weight: 700; font-size: clamp(2.05rem, 4vw, 3.05rem); line-height: 1.04; color: var(--near-white); margin: 1.2rem 0 1.5rem; }
.contato-title em { font-family: inherit; font-style: normal; font-weight: inherit; color: inherit; display: block; }
.contato-text { font-size: 0.9rem; line-height: 1.85; color: rgba(249,248,242,0.74); font-weight: 300; margin-bottom: 2.6rem; }
.contato-info { display: flex; flex-direction: column; gap: 1.1rem; }
.cinfo-label { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(249,248,242,0.76); font-weight: 500; }
.cinfo-value { font-size: 0.95rem; color: var(--near-white); }
.contato-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.fgroup { display: flex; flex-direction: column; gap: 0.45rem; }
.flabel { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: rgba(249,248,242,0.62); }
.finput { font-family: var(--font); font-size: 0.9rem; font-weight: 300; color: var(--near-white); background: rgba(249,248,242,0.07); border: 1px solid rgba(249,248,242,0.16); padding: 0.95rem 1rem; outline: none; transition: border-color 0.25s, background 0.25s; }
.finput::placeholder { color: rgba(249,248,242,0.36); }
.finput:focus { border-color: var(--green); background: rgba(240,236,226,0.1); }
select.finput { cursor: pointer; }
select.finput option { background: var(--brown-dark); }
.form-submit { margin-top: 0.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.form-note { font-size: 0.72rem; color: rgba(249,248,242,0.48); font-weight: 300; }

/* ============================================================ FOOTER ============================================================ */
.footer { background: var(--brown-dark); padding: 4rem var(--pad-x) 2rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(240,236,226,0.1); margin-bottom: 2rem; }
.footer-logo { height: 34px; margin-bottom: 1.2rem; filter: brightness(0) saturate(100%) invert(90%) sepia(8%) saturate(200%) hue-rotate(10deg) opacity(0.85); }
.footer-tagline { font-family: var(--font); font-style: normal; font-weight: 300; font-size: 1.05rem; color: var(--near-white); line-height: 1.5; margin-bottom: 0.7rem; }
.footer-brand-tagline { display: block; width: 200px; height: auto; opacity: 0.7; margin-bottom: 1.4rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; color: rgba(249,248,242,0.52); transition: color 0.25s; }
.footer-social a:hover { color: var(--near-white); }
.footer-col-title { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(249,248,242,0.7); font-weight: 500; margin-bottom: 1.3rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-links a, .footer-links span { font-size: 0.84rem; color: rgba(249,248,242,0.68); transition: color 0.25s; }
.footer-links a:hover { color: var(--near-white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-copy, .footer-credits { font-size: 0.72rem; color: rgba(240,236,226,0.32); }

/* ============================================================ LINGUAGEM VISUAL — SLIDES ============================================================ */
/* Texto justificado — alinha com o deck de apresentação da marca */
.about-text, .hero-desc, .sec-desc,
.dif-text, .serv-desc, .proc-info-text,
.constr-text, .atuacao-text, .contato-text,
.dep-text, .about-quote {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}

/* ============================================================ ANIMAÇÕES DE SCROLL ============================================================ */
/* Fallback (navegadores sem scroll-driven animations): JS adiciona .visible */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.85s cubic-bezier(.2,.7,.2,1), transform 0.85s cubic-bezier(.2,.7,.2,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.clip-reveal { opacity: 0; transition: opacity 1s cubic-bezier(.7,0,.2,1); }
.clip-reveal.visible { opacity: 1; }

@keyframes revealUp { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }

/* Preferencial: scroll-driven animations (Chrome/Edge/modernos) */
@supports (animation-timeline: view()) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 95%;
  }
  .clip-reveal {
    opacity: 1;
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 95%;
  }
  .reveal-d1 { animation-range: entry 6% entry 100%; }
  .reveal-d2 { animation-range: entry 12% cover 18%; }
  .reveal-d3 { animation-range: entry 18% cover 24%; }
  .reveal-d4 { animation-range: entry 24% cover 30%; }
}

.hero-anim { opacity: 0; transform: translateY(28px); animation: heroUp 1s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-anim.d1 { animation-delay: 0.15s; }
.hero-anim.d2 { animation-delay: 0.3s; }
.hero-anim.d3 { animation-delay: 0.45s; }
.hero-anim.d4 { animation-delay: 0.6s; }
.hero-anim.d5 { animation-delay: 0.75s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .clip-reveal, .hero-anim { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .marquee-track { animation: none !important; }
}

/* ============================================================ RESPONSIVO ============================================================ */
@media (max-width: 1024px) {
  .sec-head, .about-inner, .constr-inner, .atuacao-inner, .contato-inner { grid-template-columns: 1fr; gap: 2.6rem; }
  .about-left { position: static; }
  .about-figure image-slot { aspect-ratio: 1/1; }
  .dif-grid { grid-template-columns: 1fr 1fr; }
  .proc-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .num-grid { grid-template-columns: 1fr 1fr; }
  .num-item:nth-child(2) { border-right: none; }
  .num-item:nth-child(1), .num-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .numeros-grid { grid-template-columns: 1fr 1fr; }
  .numeros-grid .num-item:nth-child(2) { border-right: none; }
  .numeros-grid .num-item:nth-child(1),
  .numeros-grid .num-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .numeros-grid .num-item:nth-child(3) { border-right: 1px solid var(--border); }
  .num-phrase { font-size: 0.82rem; }
  .dep-grid { grid-template-columns: 1fr 1fr; }
  .dep-feat { grid-column: span 2; }
  .port-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-cta { display: none; }
  /* Hero mobile: título → imagem → texto + botão (bloco de título compacto) */
  .hero-grid { grid-template-columns: 1fr; gap: 0; padding: 7rem var(--pad-x) 3rem; }
  .hero-content { display: contents; }
  .hero-eyebrow { order: 1; margin: 0 0 0.6rem; }
  .hero-title  { order: 2; }
  .hero-logo   { margin: -0.8rem 0 -0.6rem -0.3rem; }
  .hero-sub    { order: 3; margin: 0; }
  .hero-figure { order: 4; min-height: 44svh; margin-top: 1.4rem; }
  .hero-desc   { order: 5; margin: 1.4rem 0 0; }
  .hero-actions{ order: 6; margin-top: 1.2rem; }
}
@media (max-width: 680px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-toggle { display: block; }
  .sec-head { margin-bottom: 2.6rem; }
  .dif-grid, .cities { grid-template-columns: 1fr; }
  .proc-tabs { flex-direction: column; width: 100%; }
  .proc-tab { border-right: 1px solid rgba(240,236,226,0.2) !important; border-top: none; }
  .proc-tab:first-child { border-top: 1px solid rgba(240,236,226,0.2); }
  .proc-tl-n { font-size: clamp(1.6rem, 4vw, 2.4rem); }
  .proc-tl-name { font-size: 0.65rem; }
  .city-ext { grid-column: span 1; }
  .num-grid { grid-template-columns: 1fr 1fr; }
  .dep-grid { grid-template-columns: 1fr; }
  .dep-feat { grid-column: span 1; }
  .serv-item { grid-template-columns: 1fr; gap: 0.7rem; }
  .serv-item .serv-tag { justify-self: start; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero-stats { gap: 0.9rem; flex-wrap: wrap; }
  .hero-bar { overflow: hidden; }
  .hero-scroll { display: none; }
  .port-grid { grid-template-columns: 1fr; }
  .portfolio-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .about-team-grid { grid-template-columns: 1fr; }
  .constr-inner { gap: 2rem; }
  .atuacao-inner { gap: 2rem; }

  /* ---- Legibilidade & organização (mobile) ---- */
  /* Texto justificado cria "rios" de espaço em telas estreitas — alinhar à esquerda */
  .about-text, .hero-desc, .sec-desc, .dif-text, .serv-desc, .proc-info-text,
  .constr-text, .atuacao-text, .contato-text, .dep-text, .about-quote {
    text-align: left; -webkit-hyphens: none; hyphens: none;
  }
  /* Menos respiro vertical nas seções */
  .section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  /* Números: empilhar em 1 coluna para o texto não espremer */
  .numeros-grid { grid-template-columns: 1fr; }
  .numeros-grid .num-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .numeros-grid .num-item:last-child { border-bottom: none; }
  .num-item { padding: 2rem 0.2rem; }
  .num-phrase { font-size: 0.95rem; }
  /* Cards do diferencial: menos padding e número menor */
  .dif-card { padding: 2.2rem 1.6rem; }
  .dif-n { font-size: 3rem; margin-bottom: 1.2rem; }
}
