/* ============================================================
   FAROL TRIBUTÁRIO — Sistema visual
   Vinho profundo · Dourado metálico · Branco
   Premium / autoridade · público: contadores
   ============================================================ */

:root {
  /* Vinho */
  --vinho:        #421424;
  --vinho-deep:   #2B0B16;
  --vinho-night:  #1C0610;
  --vinho-soft:   #5A2038;
  --vinho-mist:   #6E3149;

  /* Dourado (metálico, do logo) */
  --gold:         #C9A24B;
  --gold-bright:  #E7C878;
  --gold-pale:    #F1E2BC;
  --champagne:    #F6EDD8;
  --gold-grad: linear-gradient(135deg, #B98A38 0%, #E7C878 38%, #F6EDD8 52%, #D8AE55 70%, #B98A38 100%);

  /* Claros / papel */
  --paper:   #FFFFFF;
  --cream:   #FAF5EE;
  --cream-2: #F3EADC;

  /* Tinta sobre claro */
  --ink:        #2B0B16;
  --ink-soft:   #6B4A55;
  --ink-faint:  #9A8088;

  /* Linhas */
  --line-gold: rgba(201,162,75,0.30);
  --line-dark: rgba(43,11,22,0.12);
  --line-light: rgba(255,255,255,0.14);

  --shadow-soft: 0 24px 60px -28px rgba(28,6,16,0.55);
  --shadow-card: 0 18px 44px -26px rgba(28,6,16,0.30);

  --maxw: 1200px;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Mulish", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.on-dark .eyebrow { color: var(--gold-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  padding: 15px 28px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold-grad);
  color: var(--vinho-deep);
  box-shadow: 0 12px 30px -12px rgba(201,162,75,0.6);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(201,162,75,0.75); }
.btn-ghost {
  background: transparent;
  color: var(--gold-bright);
  border-color: var(--line-gold);
}
.btn-ghost:hover { border-color: var(--gold-bright); background: rgba(231,200,120,0.07); }
.btn-dark {
  background: var(--vinho);
  color: var(--champagne);
}
.btn-dark:hover { background: var(--vinho-soft); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Top navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(27,6,16,0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-light);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 40px;
  height: 78px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt .b1 {
  font-family: var(--font-display);
  font-size: 19px; color: var(--champagne); font-weight: 600;
  letter-spacing: 0.01em; white-space: nowrap;
}
.brand-txt .b2 {
  font-size: 10px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold); font-weight: 700; margin-top: 4px;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 14.5px; font-weight: 600; color: rgba(246,237,216,0.74);
  padding: 9px 12px; border-radius: 2px; transition: color .2s ease;
  position: relative; white-space: nowrap;
}
.nav-links a:hover { color: var(--champagne); }
.nav-links a.active { color: var(--gold-bright); }
.nav-links a.active::after {
  content:""; position:absolute; left:12px; right:12px; bottom:2px; height:1px;
  background: var(--gold);
}
.nav-cta { margin-left: 10px; }

/* burger */
.nav-burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line-light);
  background: transparent; border-radius: 3px; cursor: pointer;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.nav-burger span { width: 18px; height: 1.5px; background: var(--champagne); transition: transform .25s ease, opacity .2s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 78px 0 0 0; z-index: 99;
  background: var(--vinho-night);
  display: flex; flex-direction: column; padding: 28px 22px; gap: 4px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 24px; color: var(--champagne);
  padding: 16px 6px; border-bottom: 1px solid var(--line-light);
}
.mobile-menu a.mm-cta {
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  color: var(--vinho-deep); background: var(--gold-grad); border: 0;
  border-radius: 3px; text-align: center; margin-top: 22px; padding: 16px;
}
@media (min-width: 1025px) { .mobile-menu { display: none; } }

/* ---------- Footer ---------- */
.footer {
  background: var(--vinho-night);
  color: rgba(246,237,216,0.66);
  padding: 72px 0 36px;
  border-top: 1px solid var(--line-gold);
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid var(--line-light);
}
.footer h4 {
  font-family: var(--font-body); font-weight: 700; font-size: 12px;
  letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 15px; transition: color .2s; }
.footer-links a:hover { color: var(--champagne); }
.footer-brand img { height: 56px; margin-bottom: 18px; }
.footer-brand p { font-size: 15px; max-width: 320px; line-height: 1.7; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; font-size: 13px; color: rgba(246,237,216,0.45);
  flex-wrap: wrap; gap: 12px;
}

/* ---------- Section helpers ---------- */
.section { padding: 124px 0; }
.section.tight { padding: 80px 0; }
.on-dark { background: var(--vinho); color: var(--champagne); }
.on-deep { background: var(--vinho-deep); color: var(--champagne); }
.on-cream { background: var(--cream); color: var(--ink); }
.on-paper { background: var(--paper); color: var(--ink); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-deep h1, .on-deep h2, .on-deep h3 { color: var(--champagne); }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.lede { font-size: 20px; line-height: 1.65; color: var(--ink-soft); }
.on-dark .lede, .on-deep .lede { color: rgba(246,237,216,0.78); }

.section-head { max-width: 720px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -0.02em; margin-top: 22px; }
.section-head.center { margin: 0 auto; text-align: center; }

/* hairline divider */
.hr-gold { height:1px; background: var(--line-gold); border:0; margin:0; }

/* ---------- Utility ---------- */
.fade-up { opacity: 0; transform: translateY(34px); filter: blur(7px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1), filter 1s cubic-bezier(.2,.7,.2,1); }
.fade-up.in { opacity: 1; transform: none; filter: none; }
/* estado final instantâneo — usado pelas redes de segurança; não depende da transição rodar */
.fade-up.in-now { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
/* stagger cinematográfico dentro das grades de cards */
.pillars > .fade-up:nth-child(2), .programs > .fade-up:nth-child(2), .mat-grid > .fade-up:nth-child(2), .people > .fade-up:nth-child(2), .bposts > .fade-up:nth-child(2) { transition-delay: .09s; }
.pillars > .fade-up:nth-child(3), .programs > .fade-up:nth-child(3), .mat-grid > .fade-up:nth-child(3), .bposts > .fade-up:nth-child(3) { transition-delay: .18s; }
.bposts > .fade-up:nth-child(4) { transition-delay: .27s; }
@media (prefers-reduced-motion: reduce) {
  .fade-up { transition: none; opacity: 1; transform: none; filter: none; }
}

/* nav colapsa para o menu mobile mais cedo, evitando aperto em laptops pequenos */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

@media (max-width: 880px) {
  body { font-size: 16px; }
  .wrap, .nav-inner, .footer .footer-grid { padding-left: 22px; padding-right: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 72px 0; }
}



/* ---------- HERO ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 50% -10%, #5A2038 0%, var(--vinho) 34%, var(--vinho-deep) 78%, var(--vinho-night) 100%);
  color: var(--champagne);
  overflow: hidden;
  padding: 96px 0 120px;
}
/* facho de luz do farol */
.beam {
  position: absolute; top: -8%; left: 50%;
  transform: translate(calc(-50% + (var(--mx, .5) - .5) * 46px), calc((var(--my, .5) - .5) * 26px));
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
  width: min(760px, 100%); height: 720px; pointer-events: none; z-index: 0;
}
.beam::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(closest-side, rgba(231,200,120,0.52), rgba(231,200,120,0.13) 45%, transparent 72%);
}
.beam::after {
  content: ""; position: absolute; top: 120px; left: 50%; transform: translateX(-50%);
  width: 0; height: 560px;
  border-left: 240px solid transparent; border-right: 240px solid transparent;
  border-top: 560px solid rgba(231,200,120,0.10);
  filter: blur(8px);
}
.hero-logo {
  position: relative; z-index: 2; width: 156px; margin: 0 auto 26px;
  filter: drop-shadow(0 0 52px rgba(231,200,120,0.62)) drop-shadow(0 6px 18px rgba(0,0,0,0.4));
}
.hero-inner { position: relative; z-index: 3; text-align: center; max-width: 900px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(46px, 8vw, 96px);
  line-height: 1.0; font-weight: 600; letter-spacing: -0.026em; margin: 20px 0 0;
}
.hero h1 em { font-style: italic; }
.hero .sub {
  font-size: clamp(18px, 2.1vw, 23px); color: rgba(246,237,216,0.82);
  max-width: 660px; margin: 28px auto 0; line-height: 1.6;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-top: 42px; flex-wrap: wrap; }
.hero-strip {
  position: relative; z-index: 3; margin: 72px auto 0; max-width: 920px;
  display: grid; grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--line-gold); border-radius: 3px;
  background: rgba(27,6,16,0.4);
}
.hero-strip div { padding: 26px 28px; text-align: left; border-right: 1px solid var(--line-light); }
.hero-strip div:last-child { border-right: 0; }
.hero-strip .k { font-family: var(--font-display); font-size: 30px; color: var(--gold-bright); font-weight: 600; }
.hero-strip .v { font-size: 13.5px; color: rgba(246,237,216,0.7); margin-top: 6px; }

/* ---------- Problema ---------- */
.noise-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.noise-list span {
  font-size: 15px; color: var(--ink-soft); border: 1px solid var(--line-dark);
  border-radius: 100px; padding: 9px 18px; background: var(--paper);
  text-decoration: line-through; text-decoration-color: var(--gold);
}
.problem-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.pull {
  font-family: var(--font-display); font-size: clamp(26px,3vw,38px); line-height: 1.25;
  font-style: italic; color: var(--ink); font-weight: 500;
}
.pull b { font-style: normal; font-weight: 600; background: var(--gold-grad); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }

/* ---------- Metáfora ---------- */
.meta-quote { max-width: 980px; margin: 0 auto; text-align: center; }
.meta-quote .q {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 48px);
  line-height: 1.28; font-weight: 500; color: var(--champagne);
}
.meta-quote .q .g { color: var(--gold-bright); }

/* ---------- Pilares ---------- */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 56px; }
.pillar {
  background: var(--paper); border: 1px solid var(--line-dark); border-radius: 4px;
  padding: 38px 34px; box-shadow: var(--shadow-card); position: relative;
}
.pillar .num {
  font-family: var(--font-display); font-size: 15px; color: var(--gold);
  letter-spacing: 0.2em; font-weight: 700;
}
.pillar h3 { font-size: 24px; margin: 16px 0 12px; }
.pillar p { color: var(--ink-soft); font-size: 15.5px; }
.pillar .ic { width: 44px; height: 44px; margin-bottom: 22px; color: var(--gold); }

/* ---------- Dois grupos ---------- */
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line-gold); border-radius: 5px; overflow: hidden; }
.group { padding: 52px 46px; }
.group.a { background: rgba(27,6,16,0.5); }
.group.b { background: linear-gradient(160deg, rgba(90,32,56,0.55), rgba(43,11,22,0.4)); border-left: 1px solid var(--line-gold); position: relative; }
.group .tag { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; }
.group.a .tag { color: rgba(246,237,216,0.55); }
.group.b .tag { color: var(--gold-bright); }
.group h3 { font-size: 30px; margin: 16px 0 18px; }
.group.a h3 { color: rgba(246,237,216,0.78); }
.group ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.group li { font-size: 16px; padding-left: 28px; position: relative; color: rgba(246,237,216,0.74); }
.group li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; border-radius: 50%; }
.group.a li::before { background: rgba(246,237,216,0.22); }
.group.b li::before { background: var(--gold-grad); box-shadow: 0 0 10px rgba(231,200,120,0.5); }

/* ---------- Programas ---------- */
.programs { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 54px; }
.program { background: var(--paper); border: 1px solid var(--line-dark); border-radius: 6px; padding: 40px 34px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-card); position: relative;
  transition: transform .3s ease, box-shadow .3s ease; }
.program:hover { transform: translateY(-5px); box-shadow: 0 28px 56px -30px rgba(28,6,16,0.4); }
.program .icn { width: 44px; height: 44px; color: var(--gold); margin-bottom: 20px; }
.program .fmt { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.program h3 { font-size: 26px; margin: 12px 0 14px; }
.program p { color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.program .forwho { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-size: 13.5px; color: var(--ink-soft); }
.program .forwho b { color: var(--vinho); font-weight: 700; }
.program .pcta { margin-top: 24px; }
.program .pcta .btn { width: 100%; justify-content: center; }
.program.soon { background: linear-gradient(160deg, var(--vinho), var(--vinho-deep)); border-color: var(--line-gold); }
.program.soon h3 { color: var(--champagne); }
.program.soon p { color: rgba(246,237,216,0.78); }
.program.soon .fmt { color: var(--gold-bright); }
.program.soon .icn { color: var(--gold-bright); }
.program.soon .forwho { border-color: var(--line-light); color: rgba(246,237,216,0.78); }
.program.soon .forwho b { color: var(--gold-bright); }
.soon-badge { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--vinho-deep); background: var(--gold-grad); padding: 5px 12px; border-radius: 100px; }

/* ---------- Teasers ---------- */
.teasers { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.teaser {
  border: 1px solid var(--line-dark); border-radius: 5px; padding: 44px; background: var(--paper);
  display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: var(--shadow-card);
}
.teaser:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -28px rgba(28,6,16,0.4); }
.teaser h3 { font-size: 28px; margin: 14px 0 12px; }
.teaser p { color: var(--ink-soft); font-size: 16px; flex: 1; }
.teaser .go { margin-top: 24px; font-weight: 700; color: var(--vinho); font-size: 15px; display: inline-flex; gap: 8px; }

/* ---------- Comunidade CTA ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band .beam2 {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: min(700px, 100%); height: 700px;
  background: radial-gradient(closest-side, rgba(231,200,120,0.28), transparent 70%);
  pointer-events: none;
}
.cta-band .inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta-band h2 { font-size: clamp(32px,4.5vw,56px); }

@media (max-width: 880px) {
  .problem-grid, .groups, .teasers, .pillars, .hero-strip, .programs { grid-template-columns: 1fr; }
  .hero-strip div { border-right: 0; border-bottom: 1px solid var(--line-light); }
  .hero-strip div:last-child { border-bottom: 0; }
  .group.b { border-left: 0; border-top: 1px solid var(--line-gold); }
}

/* Ajuste fino para telas estreitas (celular) — não afeta o desktop aprovado */
@media (max-width: 560px) {
  h1, h2, h3 { overflow-wrap: break-word; }
  .beam::after { display: none; }
  .hero { padding: 76px 0 92px; }
  .hero h1 { font-size: clamp(33px, 8.6vw, 46px); }
  .hero .sub { font-size: 16.5px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .page-hero { padding: 70px 0 60px; }
  .page-hero h1 { font-size: clamp(31px, 8vw, 46px); }
  .section-head h2 { font-size: clamp(27px, 7.4vw, 40px); }
  .wrap, .nav-inner { padding-left: 18px; padding-right: 18px; }
}

/* ============================================================
   TEXTURA + INTERAÇÃO (elevação do acabamento) — global
   ============================================================ */

/* Grão de filme sobre a página inteira (bem sutil) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .34; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Raios do farol atrás do topo (textura sutil) */
.hero::before, .page-hero::before {
  content: ""; position: absolute; left: 50%; top: -6%; z-index: 0; pointer-events: none;
  width: 1300px; height: 1300px; transform: translateX(-50%); opacity: .09;
  background: repeating-conic-gradient(from 0deg at 50% 0%,
    transparent 0deg 5deg, rgba(231,200,120,.6) 5deg 5.3deg, transparent 5.3deg 10deg);
  -webkit-mask: radial-gradient(closest-side, #000, transparent 60%);
          mask: radial-gradient(closest-side, #000, transparent 60%);
}

/* Brilho que passa no botão dourado ao passar o mouse */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -125%; width: 55%; height: 100%;
  transform: skewX(-18deg); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
}
.btn-gold:hover::after { animation: btnShine .85s cubic-bezier(.2,.7,.2,1); }
@keyframes btnShine { to { left: 135%; } }

@media (prefers-reduced-motion: reduce) {
  .beam { transition: none !important; }
  .btn-gold:hover::after { animation: none; }
}