/* =========================================================
   GUSTAVO SOUZA — Landing Page
   Advogado • Investidor Imobiliário • Corretor de Imóveis
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
svg { display: block; }

/* ---------- Design tokens ---------- */
:root {
  --navy-950: #05070d;
  --navy-900: #080d1c;
  --navy-800: #0b1226;
  --navy-700: #101a35;
  --navy-600: #172449;

  --white: #f7f5f0;
  --white-pure: #ffffff;

  --gold: #c9a463;
  --gold-soft: #d8bd8a;
  --gold-light: #ecdcb8;
  --gold-dark: #a3813f;

  --ink: #f7f5f0;
  --ink-muted: rgba(247, 245, 240, 0.68);
  --ink-faint: rgba(247, 245, 240, 0.42);
  --line: rgba(201, 164, 99, 0.22);
  --line-soft: rgba(247, 245, 240, 0.12);

  --font-serif: 'Playfair Display', 'Georgia', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --pad: clamp(24px, 5vw, 64px);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background: var(--navy-900);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* film-grain overlay, fixed, extremely subtle */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin-right: 14px;
  vertical-align: middle;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.gold-text { color: var(--gold-soft); font-style: italic; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 76px); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); margin-top: 18px; }
.section-head p { margin-top: 20px; color: var(--ink-muted); font-size: 1.05rem; max-width: 600px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

section { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 34px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
  white-space: nowrap;
}

.btn .arrow { transition: transform 0.45s var(--ease); font-size: 1rem; line-height: 1; }
.btn:hover .arrow { transform: translateX(6px); }
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-dark));
  color: var(--navy-950);
}
.btn-gold:hover { box-shadow: 0 10px 40px -8px rgba(201, 164, 99, 0.55); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border: 1px solid var(--line-soft);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--gold); background: rgba(201, 164, 99, 0.08); transform: translateY(-2px); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 26px 0;
  transition: padding 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  padding: 16px 0;
  background: rgba(5, 7, 13, 0.78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo-plate {
  display: inline-flex;
  align-items: center;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.logo-plate:hover { transform: translateY(-1px); opacity: 0.88; }
.logo-plate img { height: 40px; width: auto; transition: height 0.4s var(--ease); }
.header.scrolled .logo-plate img { height: 32px; }

.nav-desktop { display: flex; align-items: center; gap: 40px; }
.nav-links { display: flex; gap: 34px; }
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.35s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.burger {
  display: none;
  width: 40px; height: 40px;
  position: relative;
  z-index: 600;
}
.burger span {
  position: absolute; left: 8px; right: 8px; height: 1px;
  background: var(--white);
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease), top 0.45s var(--ease);
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.active span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0;
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  z-index: 550;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 34px;
  opacity: 0; visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav a { font-family: var(--font-serif); font-size: 1.6rem; color: var(--white); }
.mobile-nav a:hover { color: var(--gold-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  background: var(--navy-950);
  overflow: hidden;
}

/* camada reservada para vídeo/GIF de fundo (ver comentário no HTML) */
.hero-bg-media {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-media img,
.hero-bg-media video {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* vídeo de fundo exclusivo do mobile — oculto no desktop */
.hero-bg-video {
  display: none;
  position: absolute; inset: 0;
  z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* escurece/uniformiza o que estiver na hero-bg-media (ou o navy sólido, se vazia) */
.hero-bg-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 82% 18%, rgba(201,164,99,0.16), transparent 60%),
    radial-gradient(ellipse 80% 60% at 15% 85%, rgba(23,36,73,0.5), transparent 60%),
    linear-gradient(160deg, rgba(5,7,13,0.6) 0%, rgba(8,13,28,0.52) 55%, rgba(11,18,38,0.46) 100%);
}

.hero-watermark {
  position: absolute;
  top: 50%; left: 50%;
  width: min(1400px, 160vw);
  transform: translate(-50%, -50%);
  opacity: 0.035;
  pointer-events: none;
  z-index: 2;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(20px, 5vw, 60px);
  width: 100%;
}

.hero-copy h1 {
  margin-top: 22px;
  font-size: clamp(2.3rem, 4.6vw, 3.9rem);
  color: var(--white);
}
.hero-copy h1 em { color: var(--gold-soft); font-style: italic; }

.hero-copy p.lead {
  margin-top: 26px;
  max-width: 520px;
  font-size: 1.06rem;
  color: var(--ink-muted);
  font-weight: 300;
}

.hero-actions { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 18px; }

.hero-photo-wrap {
  position: relative;
  height: clamp(420px, 62vw, 640px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-photo-glow {
  position: absolute;
  width: 70%; height: 70%;
  top: 8%; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201,164,99,0.35), transparent 70%);
  filter: blur(30px);
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: min(420px, 88%);
  height: 100%;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  filter: saturate(0.96) contrast(1.04);
}
.hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(5,7,13,0) 40%, rgba(5,7,13,0.55) 100%),
              linear-gradient(90deg, rgba(5,7,13,0.35), transparent 30%, transparent 70%, rgba(5,7,13,0.35));
}

.hero-photo-line {
  position: absolute;
  left: -18px; top: 6%; bottom: 12%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  z-index: 2;
}

/* floating gold particles */
.particles { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.particle {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 8px 1px rgba(201, 164, 99, 0.65);
  opacity: 0;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { transform: translate(0, 0); opacity: 0; }
  12% { opacity: 0.6; }
  88% { opacity: 0.3; }
  100% { transform: translate(var(--drift-x, 16px), var(--drift-y, -160px)); opacity: 0; }
}

/* ---------- Reveal animation system ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
[data-reveal="fade"] { transform: translateY(18px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="left"] { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Authority stats ---------- */
.stats {
  padding: 68px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--navy-950);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: left; padding-right: 20px; border-left: 1px solid var(--line); padding-left: 24px; }
.stat .num {
  font-family: 'Montserrat', var(--font-sans);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  color: var(--gold-soft);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.stat .label { margin-top: 14px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); font-weight: 600; }
.stat .sub { margin-top: 6px; font-size: 0.8rem; color: var(--ink-faint); }

/* ---------- More than a broker ---------- */
.about-intro { padding: clamp(90px, 12vw, 160px) 0; }
.about-intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-intro h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-top: 18px; text-align: center; }
.about-intro-text p { color: var(--ink-muted); margin-bottom: 22px; font-size: 1.02rem; max-width: 560px; }

/* foto ao lado do título, cantos bem arredondados — só no desktop (ver media query) */
.about-intro-photo {
  position: relative;
  margin: 40px auto 0;
  width: min(420px, 92%);
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  overflow: hidden;
}
.about-intro-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  filter: saturate(0.96) contrast(1.03);
}

.quote-block {
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.quote-block p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--gold-soft);
  line-height: 1.3;
}

/* ---------- Pillars ---------- */
.pillars { padding: clamp(80px, 11vw, 140px) 0 0; background: var(--navy-950); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.pillar {
  position: relative;
  background: var(--navy-950);
  padding: 52px 38px 44px;
  overflow: hidden;
  transition: background 0.5s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.pillar:hover { background: var(--navy-800); transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); z-index: 2; }
.pillar .num-bg {
  position: absolute;
  top: -0.15em; right: 8px;
  font-family: var(--font-serif);
  font-size: 9rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,164,99,0.22);
  line-height: 1;
  z-index: 0;
  user-select: none;
}
.pillar h3 { position: relative; z-index: 1; font-size: 1.4rem; color: var(--white); margin-top: 24px; }
.pillar p { position: relative; z-index: 1; margin-top: 18px; color: var(--ink-muted); font-size: 0.98rem; }
.pillar .tag { position: relative; z-index: 1; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- Marquee ticker ---------- */
.marquee-band {
  overflow: hidden;
  background: var(--navy-950);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 26px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-group span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  color: var(--ink-faint);
  white-space: nowrap;
  padding: 0 28px;
}
.marquee-group .dot { font-family: var(--font-sans); font-style: normal; color: var(--gold); font-size: 0.6rem; padding: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-band:hover .marquee-track { animation-play-state: paused; }

/* ---------- Cinematic section ---------- */
.cinematic {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-950);
}
.cinematic-bg {
  position: absolute; inset: -10%;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201,164,99,0.10), transparent 60%),
    linear-gradient(180deg, #05070d 0%, #0a1128 45%, #0d1730 78%, #05070d 100%);
  transform: scale(1);
  transition: transform 6s var(--ease-soft);
  will-change: transform;
}
.cinematic.zoomed .cinematic-bg { animation: cinematicBreathe 16s ease-in-out infinite; }
@keyframes cinematicBreathe {
  0% { transform: scale(1.04); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1.04); }
}

/* vídeo de fundo exclusivo do mobile — oculto no desktop */
.cinematic-bg-video {
  display: none;
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* vídeo de fundo exclusivo do desktop — oculto no mobile (ver media query) */
.cinematic-bg-video-desktop {
  display: block;
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cinematic-video-scrim {
  display: block;
  position: absolute; inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(5,7,13,0.75) 0%, rgba(5,7,13,0.55) 35%, rgba(5,7,13,0.68) 100%);
}

/* no desktop o vídeo já ocupa o fundo, o skyline dourado por cima ficava carregado demais */
.cinematic-skyline { display: none; position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; opacity: 0.55; z-index: 1; }
.cinematic-skyline path, .cinematic-skyline rect { stroke: var(--gold); }

.cinematic-content { position: relative; z-index: 2; text-align: center; padding: 0 var(--pad); }
.cinematic-content h2 {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  color: var(--white);
  letter-spacing: 0.01em;
}
.cinematic-content h2 .cinematic-em { display: block; color: var(--gold-soft); font-style: italic; }
.cinematic-content p {
  margin-top: 30px;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  color: var(--ink-muted);
  max-width: 560px;
  margin-left: auto; margin-right: auto;
}
.cinematic-line { width: 1px; height: 70px; background: linear-gradient(var(--gold), transparent); margin: 0 auto 30px; }

/* ---------- Regions ---------- */
.regions { display: grid; grid-template-columns: 1fr 1fr; }
.region {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 48px;
  overflow: hidden;
  isolation: isolate;
}
.region-parallax { position: absolute; left: 0; right: 0; top: -14%; bottom: -14%; z-index: -3; will-change: transform; }
.region-bg {
  position: absolute; inset: 0;
  background: var(--navy-900);
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-soft);
  animation: regionBreathe 17s ease-in-out infinite;
}
.region.portobelo .region-bg { animation-delay: -8.5s; }
.region:hover .region-bg { animation-play-state: paused; transform: scale(1.14); }
@keyframes regionBreathe {
  0%, 100% { transform: scale(1.02); }
  50% { transform: scale(1.09); }
}
.region-overlay { display: none; }

.region-lines { display: none; }

/* composição: card de vídeo grande (retrato 4:5, formato Instagram) em cima, texto embaixo */
.region-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  width: 100%;
  max-width: 480px;
}

.region-video-card {
  position: relative;
  align-self: center;
  width: min(440px, 90%);
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(201,164,99,0.12), rgba(255,255,255,0.03));
  box-shadow: 0 28px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,164,99,0.22);
}
.region-video-card video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.region-video-card::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 40%;
  background: linear-gradient(0deg, rgba(5,7,13,0.65) 0%, rgba(5,7,13,0) 100%);
  pointer-events: none;
}
.region-video-tag {
  position: absolute;
  left: 18px; bottom: 16px;
  z-index: 1;
  font-family: 'Montserrat', var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--white);
  background: rgba(5, 7, 13, 0.55);
  padding: 6px 16px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.region-text { width: 100%; }
.region-text .eyebrow { color: var(--gold-soft); font-size: 0.7rem; letter-spacing: 0.28em; }
.region-text h3 {
  margin-top: 14px;
  font-family: 'Fraunces', var(--font-serif);
  font-weight: 600;
  font-variation-settings: 'SOFT' 100, 'opsz' 28, 'WONK' 0;
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  color: var(--white);
}
.region-text p { margin-top: 18px; color: var(--ink-muted); font-size: 1.05rem; line-height: 1.6; }
.region-text .rule { width: 44px; height: 2px; background: var(--gold); margin-top: 24px; transition: width 0.5s var(--ease); }
.region:hover .region-text .rule { width: 80px; }

/* ---------- About / who's behind ---------- */
.founder { padding: clamp(90px, 12vw, 160px) 0; background: var(--navy-950); }
.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.founder-photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.96) contrast(1.03); }
.founder-photo::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(5,7,13,0) 55%, rgba(5,7,13,0.5) 100%);
}
.founder-photo::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--gold), transparent 80%);
}
.founder-text h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-top: 18px; }
.founder-text p { margin-top: 20px; color: var(--ink-muted); max-width: 560px; }
.founder-signature {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.founder-signature .name { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: var(--gold-soft); }
.founder-signature .role { margin-top: 8px; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }

/* ---------- Final CTA ---------- */
.final-cta {
  padding: clamp(100px, 14vw, 180px) 0;
  text-align: center;
  background: var(--navy-950);
}
.final-cta h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 760px; margin: 18px auto 0; }
.final-cta p { margin-top: 24px; color: var(--ink-muted); max-width: 520px; margin-left: auto; margin-right: auto; }
.final-cta .actions { margin-top: 44px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 34px; background: var(--navy-950); border-top: 1px solid var(--line-soft); }
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 56px;
}
.footer-brand .logo-plate { margin-bottom: 22px; }
.footer-brand .logo-plate img { height: 56px; }
.footer-brand .role { margin-top: 4px; font-size: 0.8rem; color: var(--ink-muted); }
.footer-brand .footer-region { margin-top: 18px; font-size: 0.82rem; color: var(--ink-faint); }
.footer-brand .footer-contact { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.footer-brand .footer-contact a { font-size: 0.85rem; color: var(--ink-muted); transition: color 0.3s var(--ease); }
.footer-brand .footer-contact a:hover { color: var(--gold-soft); }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 13px; }
.footer-col a { color: var(--ink-muted); font-size: 0.92rem; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--white); }
.footer-col .creds { margin-top: 4px; font-size: 0.82rem; color: var(--ink-faint); line-height: 1.9; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  padding-top: 30px; border-top: 1px solid var(--line-soft);
  font-size: 0.76rem; color: var(--ink-faint);
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 400;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.6);
  transition: transform 0.4s var(--ease);
}
.whatsapp-float::before {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(201,164,99,0.5);
  animation: pulse-ring 2.8s var(--ease-soft) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}
.whatsapp-float:hover { transform: translateY(-3px) scale(1.05); }
.whatsapp-float svg { width: 26px; height: 26px; }

/* ---------- Counters trigger helper ---------- */
.count { font-variant-numeric: tabular-nums; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }

  /* mobile: sem foto do Gustavo — texto centralizado, fundo em vídeo (ver comentário no HTML) */
  .hero-photo-wrap { display: none; }
  .hero-bg-media { display: none; }
  .hero-bg-video { display: block; }

  /* seção cinematográfica: vídeo mobile entra, vídeo desktop sai, skyline volta só no mobile */
  .cinematic-bg-video { display: block; }
  .cinematic-bg-video-desktop { display: none; }
  .cinematic-video-scrim { display: block; }
  .cinematic-skyline { display: block; }

  .cinematic-content p { color: rgba(247, 245, 240, 0.88); }
  .hero-copy {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
  }
  .hero-copy .eyebrow::before { display: none; }
  .hero-copy p.lead {
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85), 0 1px 14px rgba(0, 0, 0, 0.6);
  }
  .hero-actions { justify-content: center; }

  /* fundo mais claro no mobile, pra deixar o vídeo de Itapema visível atrás do texto */
  .hero-bg-overlay {
    background:
      radial-gradient(ellipse 60% 50% at 82% 18%, rgba(201,164,99,0.16), transparent 60%),
      radial-gradient(ellipse 80% 60% at 15% 85%, rgba(23,36,73,0.5), transparent 60%),
      linear-gradient(160deg, rgba(5,7,13,0.68) 0%, rgba(8,13,28,0.6) 55%, rgba(11,18,38,0.54) 100%);
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .about-intro-grid, .founder-grid { grid-template-columns: 1fr; }
  .about-intro-photo { display: none; }
  .about-intro h2 { text-align: left; }
  .founder-photo { max-width: 420px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .regions { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-desktop { display: none; }
  .burger { display: block; }
  .header .logo-plate img { height: 32px; }
  .header.scrolled .logo-plate img { height: 28px; }
  .hero { padding-top: 110px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding-left: 16px; }
  .pillar { padding: 44px 26px 36px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .region { padding: 42px 28px; min-height: 480px; }
  .final-cta .actions { flex-direction: column; align-items: stretch; }
  .whatsapp-float { bottom: 18px; right: 18px; width: 52px; height: 52px; }
}

@media (max-width: 400px) {
  :root { --pad: 20px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { transition: opacity 0.4s ease; transform: none !important; }
  .cinematic-bg, .region-bg, .logo-plate, .btn, .pillar { transition: none; }
  .whatsapp-float::before, .particle, .marquee-track, .region-bg, .cinematic.zoomed .cinematic-bg { animation: none; }
  .region-parallax { transform: none !important; }
}
