/* ═══════════════════════════════════════════════════════
   HIGOR OLIVER — Dark Luxury
   Paleta: charcoal profundo · ouro âmbar · cobre quente
   Referência visual: FAMA Corporate · interiores de alto padrão
   Tipografia: Cormorant Garamond + Jost
   ═══════════════════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  --bg:          #0B0D10;
  --bg-2:        #111417;
  --bg-3:        #181C22;
  --bg-4:        #1F242C;
  --gold:        #C9A257;
  --gold-lt:     #E3BC74;
  --gold-dk:     #A88340;
  --copper:      #C4783C;
  --copper-dk:   #A8622E;
  --cream:       #EDE8E0;
  --text:        #B0A89E;
  --muted:       #736D66;
  --rule:        rgba(237,232,224,0.09);
  --rule-2:      rgba(237,232,224,0.16);
  --rule-gold:   rgba(201,162,87,0.28);
  --rule-copper: rgba(196,120,60,0.30);

  --display:     'Cormorant Garamond', Georgia, serif;
  --body:        'Jost', system-ui, sans-serif;

  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io:     cubic-bezier(0.77, 0, 0.175, 1);

  --pad-x:       clamp(24px, 5.5vw, 88px);
  --pad-y:       clamp(72px, 10vw, 140px);
  --radius:      2px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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


/* ─── NAV ─── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--pad-x);
  transition: background .4s var(--ease-out), border-color .4s, padding .35s var(--ease-out);
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(11,13,16,0.90);
  backdrop-filter: blur(20px) saturate(1.3);
  border-color: var(--rule);
  padding-top: 13px; padding-bottom: 13px;
}

.logo-svg { display: block; }

.nav-links {
  display: flex; gap: 36px;
}
.nav-links a {
  font-size: .68rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
.nav-links a:hover { color: var(--cream); }

.nav-cta {
  font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--rule-gold);
  padding: 10px 20px; border-radius: var(--radius);
  transition: background .2s, color .2s, border-color .2s;
}
.nav-cta:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: 4px; width: 30px;
}
.nav-toggle span {
  display: block; width: 100%; height: 1px;
  background: var(--cream);
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }


/* ─── SHARED TYPOGRAPHY ─── */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: .6rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--copper); margin-bottom: 20px;
}
.eyebrow::after {
  content: ''; flex: 0 0 36px; height: 1px;
  background: var(--copper); opacity: .5;
}
.eyebrow-gold { color: var(--gold); }
.eyebrow-gold::after { background: var(--gold); }

.h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  font-weight: 400; line-height: 1.06; letter-spacing: -.015em;
  color: var(--cream);
}
.h2 em { font-style: italic; color: var(--gold); }
.h2-light { color: var(--cream); }
.h2-light em { color: var(--gold-lt); }
.h2-purpose em { color: var(--gold-lt); }


/* ─── HERO ─── */
.hero {
  position: relative; min-height: 100svh;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden; background: var(--bg);
  padding-top: 80px;
}

/* torre como fundo atmosférico (extrema direita, muito escuro) */
.hero-bg-tower {
  position: absolute; right: 0; top: 0; bottom: 0; width: 58%; z-index: 0;
}
.hero-bg-tower img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.tower-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(11,13,16,.75) 45%, rgba(11,13,16,.25) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 25%);
}

.hero-content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(80px, 12vw, 160px) var(--pad-x) clamp(60px, 8vw, 120px);
}

.hero-eyebrow { margin-bottom: 30px; }

.hero-title {
  font-family: var(--display);
  font-size: clamp(3rem, 6.2vw, 6.8rem);
  font-weight: 400; line-height: .94; letter-spacing: -.022em;
  color: var(--cream); margin-bottom: 34px;
}
.hero-title .reveal-line { display: block; overflow: hidden; }
.hero-title em { font-style: italic; color: var(--gold); }

.hero-tagline {
  font-size: clamp(.88rem, 1.1vw, 1.01rem);
  color: var(--text); line-height: 1.82; max-width: 460px;
  margin-bottom: 42px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--copper); color: #fff;
  padding: 15px 30px; border-radius: var(--radius);
  font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  transition: background .2s, transform .15s var(--ease-out), box-shadow .2s;
  box-shadow: 0 6px 32px rgba(196,120,60,.3);
}
.btn-primary:hover { background: var(--copper-dk); box-shadow: 0 10px 44px rgba(196,120,60,.42); }
.btn-primary:active { transform: scale(.97); }

.btn-ghost {
  display: inline-flex; align-items: center;
  color: var(--cream); padding: 15px 30px; border-radius: var(--radius);
  border: 1px solid var(--rule-2);
  font-size: .72rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase;
  transition: border-color .2s, color .2s, transform .15s var(--ease-out);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-ghost:active { transform: scale(.97); }

/* foto do Higor — coluna direita, sobre a torre */
.hero-visual {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: clamp(40px, 6vw, 80px);
  padding-right: var(--pad-x);
}
.hero-figure {
  position: relative; width: 340px; max-width: 90%;
}
.hero-figure img {
  width: 100%; display: block;
  filter: contrast(1.06) brightness(.95);
  border-radius: 2px;
}
.hero-figure::before {
  content: ''; position: absolute;
  top: -12px; left: -12px; right: 12px; bottom: 12px; z-index: -1;
  border: 1px solid var(--rule-gold);
  border-radius: 2px;
}
.hero-figure-line {
  position: absolute; top: 0; bottom: 0; left: -1px; width: 2px;
  background: linear-gradient(to bottom, transparent 5%, var(--gold) 35%, var(--copper) 65%, transparent 95%);
}
.hero-figure::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,13,16,.65) 0%, transparent 45%);
  border-radius: 2px;
}
.hero-badge {
  position: absolute; bottom: clamp(44px, 8vw, 90px); right: var(--pad-x);
  background: var(--bg-3); border: 1px solid var(--rule-gold);
  padding: 16px 22px; text-align: right; z-index: 4;
  opacity: 0; animation: fadeUp .7s var(--ease-out) .9s forwards;
}
.badge-num {
  display: block; font-family: var(--display);
  font-size: 1.7rem; font-weight: 500; line-height: 1;
  color: var(--gold);
}
.badge-label {
  display: block; font-size: .58rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 6px;
}


/* ─── STATS ─── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-2);
  position: relative; z-index: 2;
}
.stat {
  padding: 48px var(--pad-x);
  border-right: 1px solid var(--rule);
  position: relative;
  transition: background .25s;
}
.stat::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--copper), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.stat:hover { background: var(--bg-3); }
.stat:hover::before { transform: scaleX(1); }
.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 400; line-height: 1;
  color: var(--cream); margin-bottom: 14px;
  display: flex; align-items: baseline; gap: 2px;
}
.stat-prefix, .stat-suffix {
  font-size: .55em; color: var(--muted); font-weight: 300;
}
.stat-static { display: block; }
.stat-brand { font-style: italic; color: var(--cream); }
.stat-brand em { color: var(--gold); font-style: normal; }
.stat-num sup {
  font-size: .42em; line-height: 1; margin-left: 1px;
  vertical-align: super; color: var(--gold);
}
.stat-label {
  font-size: .66rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); line-height: 1.5;
}


/* ─── ABOUT / TRAJETÓRIA ─── */
.about {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.about-photo {
  position: relative; overflow: hidden; min-height: 600px;
}
.about-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: brightness(.65) contrast(1.1);
  transition: transform 1.2s var(--ease-out);
}
.about:hover .about-photo img { transform: scale(1.04); }
.about-photo-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 55%, var(--bg) 100%),
    linear-gradient(0deg, rgba(11,13,16,.7) 0%, transparent 40%);
}

.about-body {
  padding: var(--pad-y) var(--pad-x);
  display: flex; flex-direction: column; justify-content: center;
}
.about-body .h2 { margin-bottom: 30px; }
.about-text p {
  font-size: .95rem; color: var(--text); line-height: 1.85;
  margin-bottom: 18px;
}
.about-text p:last-child { margin-bottom: 0; }

.creds { margin-top: 40px; display: flex; flex-direction: column; gap: 9px; }
.cred {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border: 1px solid var(--rule);
  transition: border-color .2s, background .2s;
}
.cred:hover { border-color: var(--rule-gold); background: var(--bg-3); }
.cred strong {
  font-family: var(--display);
  font-size: 1rem; font-weight: 500; color: var(--cream);
}
.cred span {
  font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}


/* ─── MÉTODO ─── */
.method {
  background: var(--bg-2);
  padding: var(--pad-y) var(--pad-x);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.method-header { max-width: 680px; margin-bottom: 68px; }
.method-header .h2 { margin-bottom: 22px; }
.method-intro {
  font-size: .96rem; color: var(--text); line-height: 1.85; max-width: 540px;
}

.pillars {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--rule);
}
.pillar {
  background: var(--bg-2); padding: 46px 42px;
  position: relative; overflow: hidden;
  transition: background .25s;
}
.pillar::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--copper), var(--gold));
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.pillar:hover { background: var(--bg-3); }
.pillar:hover::before { transform: scaleX(1); }

.pillar-num {
  display: block; font-family: var(--display);
  font-size: 3.8rem; font-weight: 300; line-height: 1;
  color: var(--gold); opacity: .2; margin-bottom: 18px;
  transition: opacity .3s;
}
.pillar:hover .pillar-num { opacity: .4; }
.pillar-title {
  font-family: var(--display); font-size: 1.38rem; font-weight: 500;
  color: var(--cream); margin-bottom: 12px; line-height: 1.25;
}
.pillar-desc { font-size: .85rem; color: var(--text); line-height: 1.75; }


/* ─── GALLERY: FAMA Corporate ─── */
.gallery {
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  height: 300px;
  cursor: grab;
}
.gallery:active { cursor: grabbing; }
.gallery-track {
  display: flex; gap: 3px; height: 100%;
  animation: galleryScroll 40s linear infinite;
  width: max-content;
}
.gallery:hover .gallery-track { animation-play-state: paused; }

.gallery-item {
  flex: 0 0 400px; height: 100%; overflow: hidden; position: relative;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.7) saturate(1.05) contrast(1.05);
  transition: filter .5s var(--ease-out), transform .6s var(--ease-out);
}
.gallery-item:hover img { filter: brightness(.95) saturate(1.2) contrast(1.06); transform: scale(1.06); }

.gi-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 20px 18px;
  background: linear-gradient(to top, rgba(11,13,16,.85) 0%, transparent 100%);
  font-size: .6rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s, transform .3s var(--ease-out);
}
.gallery-item:hover .gi-label { opacity: 1; transform: none; }

@keyframes galleryScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ─── CASE LUX ─── */
.case {
  position: relative; min-height: 88vh;
  display: flex; align-items: center; overflow: hidden;
}
.case-bg {
  position: absolute; inset: 0; z-index: 0;
}
.case-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.4s var(--ease-out);
}
.case:hover .case-bg img { transform: scale(1); }
.case-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,13,16,.95) 0%, rgba(11,13,16,.8) 50%, rgba(11,13,16,.45) 100%),
    linear-gradient(0deg, rgba(11,13,16,.7) 0%, transparent 35%);
}
.case-content {
  position: relative; z-index: 2;
  padding: var(--pad-y) var(--pad-x); max-width: 700px;
}
.case-content .h2 { margin-bottom: 28px; }
.case-text {
  font-size: .96rem; color: rgba(237,232,224,.65); line-height: 1.85;
  margin-bottom: 18px; max-width: 540px;
}
.case-figure {
  margin-top: 32px; padding-top: 28px;
  border-top: 1px solid var(--rule-gold);
  font-family: var(--display); font-size: 1.1rem; font-weight: 300; font-style: italic;
  color: var(--gold); letter-spacing: .02em;
}


/* ─── PROPÓSITO ─── */
.purpose {
  position: relative; min-height: 85vh;
  display: flex; align-items: center; overflow: hidden;
}
.purpose-bg {
  position: absolute; inset: 0; z-index: 0;
}
.purpose-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.55) saturate(1.1) contrast(1.08);
}
.purpose-mask {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11,13,16,.88) 0%, rgba(11,13,16,.65) 55%, rgba(11,13,16,.35) 100%);
}
.purpose-content {
  position: relative; z-index: 2;
  padding: var(--pad-y) var(--pad-x); max-width: 720px;
}
.purpose-content .h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  margin-bottom: 28px;
}
.purpose-text {
  font-size: .97rem; color: rgba(237,232,224,.7); line-height: 1.85; max-width: 540px;
}


/* ─── CTA ─── */
.cta-section {
  background: var(--bg-2);
  position: relative; overflow: hidden;
  border-top: 1px solid var(--rule);
}
.cta-section::before {
  content: ''; position: absolute;
  top: -50%; right: -10%; width: 65%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(196,120,60,.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section::after {
  content: ''; position: absolute;
  bottom: -30%; left: -5%; width: 50%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(201,162,87,.07) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner {
  position: relative; z-index: 2;
  padding: var(--pad-y) var(--pad-x);
  max-width: 720px; margin: 0 auto; text-align: center;
}
.cta-inner .h2 { margin-bottom: 22px; }
.cta-text {
  font-size: .96rem; color: var(--text); line-height: 1.85;
  max-width: 540px; margin: 0 auto 44px;
}
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 12px;
  background: #25D366; color: #07140C;
  padding: 17px 38px; border-radius: var(--radius);
  font-size: .82rem; font-weight: 700; letter-spacing: .05em;
  transition: transform .15s var(--ease-out), box-shadow .2s;
  box-shadow: 0 8px 36px rgba(37,211,102,.2);
}
.btn-whatsapp:hover { box-shadow: 0 14px 50px rgba(37,211,102,.35); transform: translateY(-2px); }
.btn-whatsapp:active { transform: scale(.97); }


/* ─── CONTATO ─── */
.contact {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
  background: var(--bg);
}
.contact-info {
  padding: var(--pad-y) var(--pad-x);
  display: flex; flex-direction: column; justify-content: center;
}
.contact-info .h2 { margin-bottom: 44px; }
.contact-list { display: flex; flex-direction: column; gap: 30px; }
.contact-item dt {
  font-size: .58rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.contact-item dd { font-size: 1.02rem; color: var(--cream); }
.contact-item a { transition: color .2s; }
.contact-item a:hover { color: var(--gold); }

.contact-media {
  position: relative; overflow: hidden; min-height: 500px;
}
.contact-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 15%;
  filter: brightness(.55) contrast(1.08);
  transition: transform 1.2s var(--ease-out);
}
.contact:hover .contact-media img { transform: scale(1.05); }
.contact-photo-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, transparent 35%),
    linear-gradient(0deg, rgba(11,13,16,.8) 0%, transparent 40%);
}


/* ─── FOOTER ─── */
footer {
  background: var(--bg-2);
  border-top: 1px solid var(--rule);
  padding: 36px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.foot-brand {
  font-family: var(--display);
  font-size: 1.1rem; font-weight: 500; letter-spacing: .06em; color: var(--cream);
}
.foot-meta {
  font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.foot-links { display: flex; gap: 24px; }
.foot-links a {
  font-size: .64rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
.foot-links a:hover { color: var(--gold); }


/* ─── FAB ─── */
.fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 30px rgba(37,211,102,.35);
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.fab:hover { transform: scale(1.1); box-shadow: 0 10px 44px rgba(37,211,102,.48); }
.fab:active { transform: scale(.94); }
.fab-pulse {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,.4);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.55); opacity: 0; } }


/* ─── REVEAL ANIMATIONS ─── */
.js-reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.js-reveal.revealed { opacity: 1; transform: none; }

/* hero load animations */
.hero-eyebrow {
  opacity: 0;
  animation: fadeUp .6s var(--ease-out) .08s forwards;
}
.hero-tagline {
  opacity: 0; transform: translateY(16px);
  animation: fadeUp .7s var(--ease-out) .55s forwards;
}
.hero-actions {
  opacity: 0; transform: translateY(16px);
  animation: fadeUp .7s var(--ease-out) .72s forwards;
}

.hero-title .reveal-line { display: block; overflow: hidden; }
.hero-title .reveal-line span { display: block; opacity: 0; transform: translateY(105%); }
.reveal-line:nth-child(1) span { animation: slideUp .8s var(--ease-out) .12s forwards; }
.reveal-line:nth-child(2) span { animation: slideUp .8s var(--ease-out) .22s forwards; }
.reveal-line:nth-child(3) span { animation: slideUp .8s var(--ease-out) .32s forwards; }
.reveal-line:nth-child(4) span { animation: slideUp .8s var(--ease-out) .42s forwards; }

@keyframes fadeUp  { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(105%); } to { opacity: 1; transform: none; } }

/* pillar stagger */
.js-pillar {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.js-pillar.revealed { opacity: 1; transform: none; }
.js-pillar:nth-child(1) { transition-delay: 0s; }
.js-pillar:nth-child(2) { transition-delay: .06s; }
.js-pillar:nth-child(3) { transition-delay: .12s; }
.js-pillar:nth-child(4) { transition-delay: .18s; }
.js-pillar:nth-child(5) { transition-delay: .24s; }
.js-pillar:nth-child(6) { transition-delay: .30s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js-reveal, .js-pillar { opacity: 1; transform: none; }
  .hero-title .reveal-line span, .hero-tagline, .hero-actions, .hero-eyebrow { opacity: 1; transform: none; }
}


/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: 100svh;
  }

  /* foto do Higor ocupa o topo do hero, sem torre competindo */
  .hero-visual {
    display: flex; order: 1;
    height: 58svh; width: 100%;
    padding: 0; overflow: hidden;
    align-items: stretch; justify-content: stretch;
    position: relative;
  }
  .hero-figure {
    width: 100%; height: 100%; max-width: none;
    border-radius: 0;
  }
  .hero-figure img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center 12%;
  }
  /* remove o frame pontilhado no mobile */
  .hero-figure::before { display: none; }
  /* fade para o fundo escuro no rodapé da foto */
  .hero-figure::after {
    background: linear-gradient(to bottom, transparent 30%, rgba(11,13,16,.85) 75%, var(--bg) 100%);
    border-radius: 0;
  }
  /* linha de ouro na lateral esquerda */
  .hero-figure-line {
    width: 3px; top: 0; bottom: 0; left: 0;
  }

  /* conteúdo de texto abaixo da foto, com pequeno overlap */
  .hero-content {
    order: 2;
    padding: 0 var(--pad-x) clamp(48px, 8vw, 80px);
    min-height: auto;
    justify-content: flex-start;
    z-index: 3;
    margin-top: -56px;
  }

  /* torre escondida no mobile — o retrato já é o elemento visual */
  .hero-bg-tower { display: none; }
  .hero-badge { display: none; }

  .hero-eyebrow { font-size: .52rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--rule); }

  .about { grid-template-columns: 1fr; }
  .about-photo { min-height: 360px; order: 0; }
  .about-photo-mask { background: linear-gradient(0deg, var(--bg) 0%, transparent 40%); }
  .about-body { order: 1; }

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

  .contact { grid-template-columns: 1fr; }
  .contact-media { min-height: 320px; }
  .contact-photo-overlay { background: linear-gradient(0deg, var(--bg) 0%, transparent 35%); }

  footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  #nav { padding: 16px 20px; }
  .logo-svg { width: 140px; height: 32px; }
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex; position: fixed; top: 56px; left: 0; right: 0;
    background: var(--bg-2); padding: 16px 20px;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
  }
  .nav-links.open a {
    display: block; padding: 14px 0;
    border-bottom: 1px solid var(--rule); font-size: .8rem;
  }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 34px 18px; }
  .gallery { height: 220px; }
  .gallery-item { flex: 0 0 260px; }
  .about-body, .method, .case-content, .purpose-content, .cta-inner, .contact-info { padding: 60px 20px; }
  footer { padding: 28px 20px; }
  .foot-links { flex-wrap: wrap; gap: 14px; }
}
