/* ============================================================
   STUDIO CRIATIVO FABIANO CARDOSO — Design System v3
   Preto + bronze + champanhe · luxo editorial (ref. Zorge Nº9)
   Tipografia: Source Sans 3 (estilo Adobe Clean)
   ============================================================ */

@property --border-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --ink: #0b0a08;
  --ink-warm: #151009;
  --ink-deep: #100e0b;
  --paper: #efe9dd;
  --ink-glass: rgba(22, 19, 13, .58);
  --bronze: #8a7358;
  --bronze-deep: #5e4e3b;
  --champagne: #c9b08e;
  --gold: #d9a85f;
  --gold-bright: #ecc98b;
  --cream: #f2ede4;
  --stone: #a89f8f;
  --line: rgba(201, 176, 142, .16);
  --line-strong: rgba(201, 176, 142, .34);
  --glass: rgba(242, 237, 228, .04);
  --glass-2: rgba(242, 237, 228, .07);
  --shadow-card: 0 24px 60px rgba(0, 0, 0, .45);
  --font-sans: "Source Sans 3", "Adobe Clean", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1360px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor summary, body.has-cursor label { cursor: none; }
body.has-cursor input, body.has-cursor textarea, body.has-cursor select { cursor: auto; }

::selection { background: var(--gold); color: var(--ink); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- cursor custom (seta + bolinha) ---------- */
.cursor-arrow, .cursor-dot {
  position: fixed; left: 0; top: 0; z-index: 3000;
  pointer-events: none; opacity: 0;
  transition: opacity .3s;
  will-change: transform;
}
.cursor-arrow.on, .cursor-dot.on { opacity: 1; }
.cursor-arrow svg { width: 18px; height: 18px; display: block; }
.cursor-arrow svg path { fill: var(--gold-bright); stroke: rgba(11, 10, 8, .55); stroke-width: 1; }
.cursor-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--champagne);
  box-shadow: 0 0 12px rgba(217, 168, 95, .55);
}
.cursor-arrow.active svg { transform: scale(.75); }
@media (hover: none), (pointer: coarse) {
  .cursor-arrow, .cursor-dot { display: none; }
}

/* ---------- textura de filme ---------- */
.grain {
  position: fixed; inset: -50%;
  width: 200%; height: 200%;
  pointer-events: none; z-index: 2000;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 9s steps(6) infinite;
}
@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-6%, 4%); }
  40% { transform: translate(4%, -7%); }
  60% { transform: translate(-3%, 6%); }
  80% { transform: translate(6%, -3%); }
}

/* ---------- luzes ambiente ---------- */
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.ambient span { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .5; }
.ambient span:nth-child(1) {
  width: 44vw; height: 44vw; top: -16vw; right: -10vw;
  background: radial-gradient(circle, rgba(138, 115, 88, .3), transparent 70%);
  animation: drift 16s ease-in-out infinite alternate;
}
.ambient span:nth-child(2) {
  width: 36vw; height: 36vw; bottom: -14vw; left: -12vw;
  background: radial-gradient(circle, rgba(217, 168, 95, .16), transparent 70%);
  animation: drift 20s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(4vw, 3vw) scale(1.12); }
}

/* ---------- tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .4em; text-transform: uppercase;
  color: var(--champagne);
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

h1, h2, h3 {
  font-family: var(--font-sans);
  font-weight: 260;
  line-height: 1.04;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(46px, 7.2vw, 104px); }
h2 { font-size: clamp(34px, 4.8vw, 66px); }
h3 { font-weight: 380; }

h1 em, h2 em, .italic-accent {
  font-style: normal; font-weight: 420;
  background: linear-gradient(100deg, var(--gold-bright), var(--champagne) 55%, var(--bronze));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead { font-size: clamp(17px, 1.5vw, 21px); font-weight: 300; color: var(--stone); max-width: 56ch; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; border-radius: 100px;
  font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), background .3s, color .3s, border-color .3s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; transition: transform .4s var(--ease-out); }
.btn:hover svg { transform: translateX(5px); }

.btn-primary {
  background: linear-gradient(115deg, var(--gold-bright), var(--gold) 45%, var(--bronze));
  color: #17130c;
  box-shadow: 0 10px 34px rgba(217, 168, 95, .22);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 48px rgba(217, 168, 95, .34); }

.btn-ghost {
  border-color: var(--line-strong); color: var(--cream);
  background: var(--glass);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-3px); }

/* ---------- header flutuante centralizado ---------- */
.site-header {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 900;
  width: min(var(--container), calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 10px 20px;
  border: 1px solid transparent; border-radius: 100px;
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.site-header.scrolled {
  background: rgba(13, 11, 9, .72);
  backdrop-filter: blur(20px);
  border-color: var(--line);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .38);
}
.brand-mark { display: flex; align-items: center; gap: 12px; background: none; border: 0; color: var(--cream); }
.brand-mark img { width: 38px; height: 38px; }
.brand-mark span { font-size: 14.5px; font-weight: 600; letter-spacing: .04em; text-align: left; line-height: 1.25; }
.brand-mark small { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--bronze); }

.main-nav { display: flex; gap: 2px; }
.main-nav a {
  position: relative; padding: 10px 13px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--stone); transition: color .3s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.main-nav a:hover { color: var(--cream); }
.main-nav a:hover::after { transform: scaleX(1); }

.header-cta { padding: 11px 22px; font-size: 12px; }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; z-index: 1001; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--cream); transition: .35s var(--ease-out); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(11, 10, 8, .96); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
  opacity: 0; pointer-events: none; transition: opacity .4s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-size: 26px; font-weight: 260; letter-spacing: .18em; text-transform: uppercase;
  padding: 10px 20px; color: var(--cream); transition: color .3s;
}
.mobile-menu a:hover { color: var(--gold-bright); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 150px clamp(20px, 5vw, 72px) 90px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--ink-warm); }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 68% center;
  transform: scale(1.06);
  animation: hero-zoom 12s var(--ease-out) forwards;
}
@keyframes hero-zoom { to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 10, 8, .96) 0%, rgba(11, 10, 8, .82) 34%, rgba(11, 10, 8, .28) 68%, rgba(11, 10, 8, .55) 100%),
    linear-gradient(0deg, var(--ink) 2%, transparent 30%);
}
.hero-frame {
  position: absolute; inset: clamp(14px, 2vw, 28px);
  border: 1px solid rgba(201, 176, 142, .22);
  pointer-events: none;
  animation: frame-in 2s var(--ease-out) both;
}
@keyframes frame-in { from { opacity: 0; transform: scale(1.015); } to { opacity: 1; transform: scale(1); } }
.hero-content { max-width: var(--container); margin: 0 auto; width: 100%; }
.hero-copy { max-width: 760px; }
.hero-copy .eyebrow { margin-bottom: 28px; }
.hero-copy h1 { margin-bottom: 26px; }
.hero-copy .lead { margin-bottom: 42px; }
.hero-choices { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: .4em; text-transform: uppercase; color: var(--stone);
}
.hero-scroll::after {
  content: ""; width: 1px; height: 44px;
  background: linear-gradient(var(--gold), transparent);
  animation: scroll-pulse 2.2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(.4); transform-origin: top; opacity: .4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ---------- faixas (bands) — variação de cor entre dobras ---------- */
.band { position: relative; z-index: 1; }
.band-ink { background: var(--ink); }
.band-warm {
  background:
    radial-gradient(1100px 480px at 82% 0%, rgba(138, 115, 88, .14), transparent 60%),
    var(--ink-warm);
}
.band-deep {
  background:
    radial-gradient(900px 420px at 14% 0%, rgba(217, 168, 95, .09), transparent 60%),
    var(--ink-deep);
}
.band-cream {
  --cream: #241d12;
  --stone: #6f6350;
  --champagne: #8a7358;
  --gold-bright: #8a6a35;
  --stone-soft: #8d8171;
  --line: rgba(36, 29, 18, .13);
  --line-strong: rgba(36, 29, 18, .3);
  --glass: rgba(36, 29, 18, .035);
  --glass-2: rgba(36, 29, 18, .06);
  --ink-glass: rgba(255, 255, 255, .55);
  --shadow-card: 0 24px 55px rgba(64, 50, 30, .18);
  background:
    radial-gradient(1200px 500px at 50% -5%, rgba(255, 255, 255, .55), transparent 60%),
    var(--paper);
  color: var(--cream);
}
.band-cream ::selection { background: var(--bronze); color: #fff; }

/* transição entre dobras */
.band-fold {
  position: relative; height: 0; z-index: 5;
  display: flex; justify-content: center;
}
.band-fold span {
  position: absolute; top: -19px;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 13px;
  background: inherit;
}
.band-fold::before, .band-fold::after {
  content: ""; position: absolute; top: 0; height: 1px;
  width: calc(50% - 40px);
  background: linear-gradient(90deg, transparent, var(--line-strong));
}
.band-fold::after { right: 0; background: linear-gradient(90deg, var(--line-strong), transparent); }
.band-fold::before { left: 0; }
.band-fold span svg { width: 13px; height: 13px; fill: var(--gold); transition: transform 1s var(--ease-out); }
.band-fold.visible span svg { transform: rotate(225deg); }

/* ---------- marquee centralizado ---------- */
.marquee-wrap { padding: 0 clamp(14px, 3vw, 40px); position: relative; z-index: 2; }
.marquee {
  max-width: var(--container); margin: -34px auto 0;
  border: 1px solid var(--line-strong); border-radius: 100px;
  background: rgba(16, 13, 9, .82); backdrop-filter: blur(16px);
  padding: 18px 0; overflow: hidden; position: relative;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .35);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-size: 15px; font-weight: 300; letter-spacing: .26em; text-transform: uppercase;
  color: var(--stone); white-space: nowrap; padding: 0 20px;
  display: flex; align-items: center; gap: 40px;
}
.marquee span::after { content: "✦"; font-size: 10px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- estrutura de seções ---------- */
.section {
  position: relative;
  padding: clamp(90px, 11vw, 150px) clamp(20px, 5vw, 72px);
  max-width: var(--container); margin: 0 auto;
}
.section-heading { max-width: 800px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-heading .eyebrow { margin-bottom: 20px; }
.section-heading p { margin-top: 20px; color: var(--stone); font-size: 17px; font-weight: 300; }

/* ---------- cards com borda animada ---------- */
.card-anim { position: relative; }
.card-anim::after {
  content: ""; position: absolute; inset: -1px;
  border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--border-angle),
    transparent 0%, transparent 62%,
    rgba(217, 168, 95, .25) 74%, var(--gold-bright) 82%,
    rgba(217, 168, 95, .25) 90%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0; transition: opacity .45s;
  pointer-events: none;
}
.card-anim:hover::after {
  opacity: 1;
  animation: border-spin 3.2s linear infinite;
}
@keyframes border-spin { to { --border-angle: 360deg; } }

/* ---------- manifesto ---------- */
.manifesto { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.manifesto-copy .eyebrow { margin-bottom: 22px; }
.manifesto-copy h2 { margin-bottom: 24px; }
.manifesto-copy p { color: var(--stone); font-size: 17.5px; font-weight: 300; max-width: 52ch; }

.metrics { display: flex; gap: clamp(28px, 4vw, 64px); margin-top: 48px; }
.metric strong {
  display: block; font-weight: 200;
  font-size: clamp(42px, 4.4vw, 68px); line-height: 1;
  background: linear-gradient(120deg, var(--gold-bright), var(--champagne));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.metric span { display: block; margin-top: 10px; font-size: 13.5px; color: var(--stone); max-width: 20ch; }

.manifesto-media { position: relative; }
.manifesto-media::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  z-index: -1; transition: transform .6s var(--ease-out);
}
.manifesto-media:hover::before { transform: translate(6px, 6px); }
.manifesto-media img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3.4; object-fit: cover;
}

/* ---------- ecossistema ---------- */
.ecosystem-map {
  position: relative; max-width: 1080px; margin: 0 auto clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 0;
}
.eco-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(150px, 19vw, 250px); z-index: 2;
  filter: drop-shadow(0 20px 50px rgba(217, 168, 95, .25));
  animation: eco-float 7s ease-in-out infinite;
}
@keyframes eco-float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-14px); }
}
.eco-rings { position: absolute; inset: 0; pointer-events: none; }
.eco-rings span {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  border: 1px solid var(--line); border-radius: 50%;
}
.eco-rings span:nth-child(1) { width: 340px; height: 340px; animation: ring-spin 40s linear infinite; border-style: dashed; }
.eco-rings span:nth-child(2) { width: 540px; height: 540px; opacity: .6; }
.eco-rings span:nth-child(3) { width: 760px; height: 760px; opacity: .3; }
@keyframes ring-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.eco-node {
  position: relative; padding: 26px 28px; margin: 12px;
  max-width: 330px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ink-glass); backdrop-filter: blur(12px);
  transition: transform .5s var(--ease-out), border-color .4s, background .4s;
}
.eco-node:hover { transform: translateY(-6px); }
.eco-node:nth-child(even) { justify-self: end; text-align: right; }
.eco-node > span { font-size: 11px; font-weight: 600; letter-spacing: .3em; color: var(--gold); }
.eco-node h3 { font-size: 22px; margin: 6px 0 8px; font-weight: 340; letter-spacing: .06em; text-transform: uppercase; }
.eco-node p { font-size: 14px; font-weight: 300; color: var(--stone); }

.eco-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.eco-strip article {
  padding: 26px 22px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--glass);
  transition: transform .5s var(--ease-out), border-color .4s;
}
.eco-strip article:hover { transform: translateY(-8px); border-color: var(--line-strong); }
.eco-strip span { font-size: 11px; font-weight: 600; letter-spacing: .3em; color: var(--bronze); }
.eco-strip h3 { font-size: 19px; margin: 12px 0 10px; font-weight: 380; letter-spacing: .05em; text-transform: uppercase; }
.eco-strip p { font-size: 13.5px; font-weight: 300; color: var(--stone); }

/* ---------- serviços ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
  position: relative; overflow: visible;
  display: flex; flex-direction: column; gap: 14px;
  padding: 34px 28px 30px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--glass), transparent 60%);
  transition: transform .55s var(--ease-out), box-shadow .55s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.service-card i { font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--bronze); }
.service-card h3 { font-size: 24px; line-height: 1.12; font-weight: 330; }
.service-card p { font-size: 14px; font-weight: 300; color: var(--stone); flex: 1; }
.service-card a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-bright);
}
.service-card a::after { content: "→"; transition: transform .4s var(--ease-out); }
.service-card a:hover::after { transform: translateX(6px); }
.service-card.feature {
  grid-column: span 2;
  background: linear-gradient(140deg, rgba(138, 115, 88, .2), rgba(18, 16, 9, .3) 65%);
}
.service-card.feature h3 { font-size: 30px; }

/* ---------- visual story ---------- */
.visual-story { text-align: left; }
.visual-stack { position: relative; height: clamp(420px, 52vw, 640px); margin-top: clamp(40px, 5vw, 70px); }
.visual-panel {
  position: absolute; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card); border: 1px solid var(--line);
}
.visual-panel img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.visual-panel:hover img { transform: scale(1.05); }
.visual-panel-large { left: 0; top: 0; width: 58%; height: 88%; }
.visual-panel-small { right: 6%; top: 10%; width: 34%; height: 52%; }
.visual-panel-logo {
  right: 16%; bottom: 0; width: 24%; aspect-ratio: 1; height: auto;
  background: radial-gradient(circle at 50% 35%, #241e13, #17130d);
  display: flex; align-items: center; justify-content: center;
  border-color: var(--line-strong);
}
.visual-panel-logo img { object-fit: contain; padding: 14%; }

/* ---------- fotografia ---------- */
.photo-split { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.photo-media { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.photo-media img { aspect-ratio: 3.4 / 4; object-fit: cover; object-position: top center; transform: scale(1.08); }
.photo-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(11, 10, 8, .55));
}
.photo-copy .eyebrow { margin-bottom: 22px; }
.photo-copy h2 { margin-bottom: 24px; }
.photo-copy p { color: var(--stone); font-size: 16.5px; font-weight: 300; margin-bottom: 16px; max-width: 56ch; }

.mini-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.mini-chips span {
  padding: 10px 20px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line-strong); color: var(--champagne);
  background: var(--glass);
}

/* ---------- processo ---------- */
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.timeline article {
  position: relative; padding: 30px 22px 26px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--glass);
  transition: transform .5s var(--ease-out);
}
.timeline article:hover { transform: translateY(-8px); }
.timeline strong {
  font-weight: 200; font-size: 44px; line-height: 1;
  background: linear-gradient(140deg, var(--gold-bright), var(--bronze));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.timeline h3 { font-size: 18px; margin: 16px 0 10px; font-weight: 420; letter-spacing: .12em; text-transform: uppercase; }
.timeline p { font-size: 13.5px; font-weight: 300; color: var(--stone); }

/* ---------- segmentos ---------- */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; max-width: 980px; }
.chip-cloud span {
  padding: 11px 22px; border-radius: 100px;
  font-size: 13px; font-weight: 500; color: var(--stone);
  border: 1px solid var(--line);
  transition: color .3s, border-color .3s, transform .4s var(--ease-out), background .3s;
}
.chip-cloud span:hover {
  color: var(--paper); background: var(--bronze); border-color: var(--bronze);
  transform: translateY(-3px);
}
.portfolio-links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* ---------- galeria portfólio ---------- */
.gallery-section { padding-left: 0; padding-right: 0; max-width: none; }
.gallery-section .section-heading { max-width: var(--container); margin-left: auto; margin-right: auto; padding: 0 clamp(20px, 5vw, 72px); }
.gallery-rows { display: grid; gap: 16px; }
.gallery-row { overflow: hidden; position: relative; }
.gallery-track { display: flex; gap: 16px; width: max-content; animation: gallery-scroll 80s linear infinite; }
.gallery-row:nth-child(2) .gallery-track { animation-direction: reverse; animation-duration: 95s; }
.gallery-row:nth-child(3) .gallery-track { animation-duration: 110s; }
.gallery-row:hover .gallery-track { animation-play-state: paused; }
@keyframes gallery-scroll { to { transform: translateX(-50%); } }
.gallery-item {
  height: clamp(180px, 24vw, 300px); flex-shrink: 0;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--glass-2);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.gallery-item:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-card); z-index: 2; }
.gallery-item img { height: 100%; width: auto; object-fit: cover; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1500;
  background: rgba(8, 7, 5, .94); backdrop-filter: blur(14px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .35s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(92vw, 1200px); max-height: 86vh;
  border-radius: var(--radius); box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
  transform: scale(.96); transition: transform .35s var(--ease-out);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 26px; right: 30px;
  background: none; border: 0; color: var(--cream);
  font-size: 34px; font-weight: 200; line-height: 1;
  transition: color .3s, transform .3s;
}
.lightbox-close:hover { color: var(--gold-bright); transform: rotate(90deg); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(242, 237, 228, .06); border: 1px solid var(--line-strong);
  color: var(--cream); border-radius: 50%;
  width: 52px; height: 52px; font-size: 20px;
  transition: background .3s, border-color .3s;
}
.lightbox-nav:hover { background: rgba(217, 168, 95, .18); border-color: var(--gold); }
.lightbox-prev { left: 26px; }
.lightbox-next { right: 26px; }

/* ---------- sobre ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 100%; margin: 0 auto; }
.about-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid var(--line); min-height: 560px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.about-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform 1.4s var(--ease-out);
}
.about-card:hover img { transform: scale(1.06); }
.about-card .about-info {
  position: relative; padding: 34px 30px;
  background: linear-gradient(0deg, rgba(11, 10, 8, .95) 30%, transparent);
}
.about-card h3 { font-size: 27px; font-weight: 330; margin-bottom: 8px; color: #f2ede4; }
.about-card i { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-bright); }
.about-card p { font-size: 14px; font-weight: 300; color: #a89f8f; margin-top: 10px; }

/* ---------- briefing entry ---------- */
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.entry-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 38px 30px; border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, var(--glass-2), transparent 70%);
  transition: transform .55s var(--ease-out), box-shadow .5s;
}
.entry-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.entry-card h3 { font-size: 24px; font-weight: 340; }
.entry-card p { color: var(--stone); font-weight: 300; font-size: 14.5px; flex: 1; }
.entry-card .btn { align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq-list { width: 100%; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 6px;
  font-size: clamp(17px, 2vw, 21px); font-weight: 380;
  transition: color .3s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; font-size: 26px; font-weight: 200; color: var(--gold);
  transition: transform .4s var(--ease-out); flex-shrink: 0;
}
.faq-list details[open] summary { color: var(--gold-bright); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 6px 26px; font-weight: 300; color: var(--stone); max-width: 68ch; }

/* ---------- CTA final ---------- */
.final-cta {
  position: relative; text-align: center;
  padding: clamp(110px, 14vw, 190px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; left: 50%; top: 55%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 115, 88, .22), transparent 62%);
  pointer-events: none;
}
.final-cta .eyebrow { justify-content: center; margin-bottom: 24px; }
.final-cta .eyebrow::before { display: none; }
.final-cta h2 { max-width: 22ch; margin: 0 auto 24px; font-size: clamp(36px, 5.6vw, 78px); }
.final-cta p { color: var(--stone); font-weight: 300; max-width: 52ch; margin: 0 auto 46px; font-size: 17px; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 72px) 40px;
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 2.2fr; gap: clamp(40px, 6vw, 90px);
}
.footer-lead img { width: 84px; opacity: .9; }
.footer-lead p { margin-top: 22px; font-weight: 300; font-size: 16px; color: var(--stone); max-width: 28ch; }
.footer-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.footer-column h3 {
  font-size: 11px; font-weight: 700;
  letter-spacing: .3em; text-transform: uppercase; color: var(--bronze);
  margin-bottom: 18px;
}
.footer-column a { display: block; padding: 6px 0; font-size: 14px; font-weight: 300; color: var(--stone); transition: color .3s, transform .3s; }
.footer-column a:hover { color: var(--gold-bright); transform: translateX(4px); }
.footer-rights {
  grid-column: 1 / -1; margin-top: 40px; padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 12px; color: var(--stone); letter-spacing: .08em;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ---------- botão voltar ao topo ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 94px; z-index: 940;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16, 13, 9, .72); backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong); color: var(--champagne);
  opacity: 0; pointer-events: none; transform: translateY(14px);
  transition: opacity .4s, transform .5s var(--ease-out), border-color .3s, color .3s;
}
.to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-3px); }
.to-top svg { width: 16px; height: 16px; }

/* ---------- botão WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 950;
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50px;
  background: #25d366; box-shadow: 0 12px 34px rgba(37, 211, 102, .35);
  transform: translateY(120px); transition: transform .5s var(--ease-out);
}
.wa-float.visible { transform: translateY(0); }
.wa-float:hover { transform: translateY(-4px) scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- páginas de formulário ---------- */
.form-page {
  max-width: 980px; margin: 0 auto;
  padding: clamp(140px, 16vw, 190px) clamp(20px, 4vw, 40px) 110px;
  position: relative; z-index: 1;
}
.form-hero { text-align: center; margin-bottom: clamp(46px, 6vw, 70px); }
.form-hero .eyebrow { justify-content: center; margin-bottom: 22px; }
.form-hero .eyebrow::before { display: none; }
.form-hero h1 { font-size: clamp(34px, 4.8vw, 60px); max-width: 22ch; margin: 0 auto 20px; }
.form-hero p { color: var(--stone); font-weight: 300; max-width: 58ch; margin: 0 auto; }

.briefing-form {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(170deg, var(--glass-2), rgba(18, 16, 9, .4));
  backdrop-filter: blur(14px);
  padding: clamp(26px, 4vw, 48px);
  box-shadow: var(--shadow-card);
}
.form-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.form-top span { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--bronze); font-weight: 700; }
.form-top strong { font-weight: 330; font-size: clamp(20px, 2.4vw, 26px); }

.progress { height: 3px; border-radius: 10px; overflow: hidden; background: rgba(201, 176, 142, .12); margin-bottom: 38px; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--bronze), var(--gold-bright)); transition: width .6s var(--ease-out); }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field.wide, .option-field, .check-field { grid-column: 1 / -1; }
.field > span, .option-field legend { font-size: 12.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--champagne); }
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: 15px; color: var(--cream);
  background: rgba(11, 10, 8, .55);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 168, 95, .14);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9b08e' fill='none' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field small, .option-field small, .check-field small { color: #e2795c; font-size: 12px; text-transform: none; letter-spacing: 0; }

.option-field { border: 0; }
.option-field legend { margin-bottom: 12px; }
.option-field .options { display: flex; flex-wrap: wrap; gap: 9px; }
.option-field label { position: relative; }
.option-field input { position: absolute; opacity: 0; pointer-events: none; }
.option-field label span {
  display: inline-block; padding: 10px 20px; border-radius: 100px;
  font-size: 13.5px; font-weight: 500; color: var(--stone);
  border: 1px solid var(--line);
  transition: all .3s;
}
.option-field label:hover span { border-color: var(--line-strong); color: var(--cream); }
.option-field input:checked + span {
  background: linear-gradient(115deg, var(--gold-bright), var(--gold));
  color: #17130c; border-color: transparent; font-weight: 600;
}

.check-field {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14.5px; color: var(--cream);
  padding: 4px 0;
}
.check-field input {
  appearance: none; flex-shrink: 0; margin-top: 2px;
  width: 21px; height: 21px; border-radius: 6px;
  border: 1px solid var(--line-strong); background: rgba(11, 10, 8, .5);
  transition: all .25s; position: relative;
}
.check-field input:checked { background: var(--gold); border-color: var(--gold); }
.check-field input:checked::after {
  content: ""; position: absolute; left: 6px; top: 2.5px;
  width: 5px; height: 10px;
  border: solid #17130c; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-status { margin-top: 22px; font-size: 14px; }
.form-status.error { color: #e2795c; }
.form-status.success { color: #9fce91; }
.form-status.loading { color: var(--champagne); }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; justify-content: flex-end; align-items: center; }
.form-actions .back { margin-right: auto; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ---------- página obrigado ---------- */
.thank-page {
  min-height: 100svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 140px clamp(20px, 5vw, 72px) 90px;
  position: relative; z-index: 1;
}
.thank-page > img { width: 96px; margin-bottom: 30px; animation: eco-float 6s ease-in-out infinite; }
.thank-page .eyebrow { justify-content: center; margin-bottom: 20px; }
.thank-page .eyebrow::before { display: none; }
.thank-page h1 { font-size: clamp(34px, 5vw, 62px); max-width: 20ch; margin-bottom: 22px; }
.thank-page p { color: var(--stone); font-weight: 300; max-width: 54ch; margin-bottom: 44px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(44px); filter: blur(8px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); filter: blur(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(40px) scale(.97); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal-stagger.visible > * { opacity: 1; transform: translateY(0) scale(1); }
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .24s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .32s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .4s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: .48s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: .56s; }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.feature { grid-column: span 2; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .eco-strip { grid-template-columns: repeat(3, 1fr); }
  .footer { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .site-header { padding-right: 8px; }
  .manifesto, .photo-split, .about-grid { grid-template-columns: 1fr; }
  .photo-media img { aspect-ratio: 4 / 3.2; }
  .ecosystem-map { grid-template-columns: 1fr; padding-top: clamp(180px, 42vw, 260px); }
  .eco-center { top: clamp(90px, 21vw, 130px); }
  .eco-rings span:nth-child(2), .eco-rings span:nth-child(3) { display: none; }
  .eco-rings span:nth-child(1) { top: clamp(90px, 21vw, 130px); }
  .eco-node, .eco-node:nth-child(even) { justify-self: stretch; text-align: left; max-width: none; margin: 0 0 4px; }
  .entry-grid { grid-template-columns: 1fr; }
  .visual-stack { height: auto; display: grid; gap: 14px; }
  .visual-panel { position: static; width: 100% !important; height: auto !important; }
  .visual-panel img { aspect-ratio: 16 / 10; }
  .visual-panel-logo { aspect-ratio: 16 / 10; }
  .visual-panel-logo img { max-height: 100%; }
  .field-grid { grid-template-columns: 1fr; }
  .footer-columns { grid-template-columns: repeat(2, 1fr); }
  .form-actions { justify-content: stretch; flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .form-actions .back { margin-right: 0; }
  .marquee { margin-top: -28px; }
  .gallery-item { height: clamp(150px, 30vw, 220px); }
}

@media (max-width: 560px) {
  .timeline { grid-template-columns: 1fr; }
  .eco-strip { grid-template-columns: 1fr; }
  .metrics { flex-direction: column; gap: 26px; }
  .about-card { min-height: 440px; }
  .hero { padding-top: 130px; }
  .hero-choices .btn { width: 100%; justify-content: center; }
  .button-row .btn { width: 100%; justify-content: center; }
  .lightbox-nav { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; transition-duration: .01s !important; }
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; filter: none; }
  .cursor-arrow, .cursor-dot { display: none; }
  .marquee-track, .gallery-track { animation: none; }
}
