/* ============================================================
   Founder's Playbook - estetica neo-brutalista (ref avelloia.cloud)
   ============================================================ */
:root{
  --bg:#faf5ec;
  --bg-alt:#f8f1e7;
  --surface:#ffffff;
  --fg:#1b1714;
  --fg-muted:#6c6253;
  --ember:#ff5a1f;
  --ember-dk:#b8380a;
  --ember-lt:#ff8a3d;
  --line:#e8dccb;
  --ink:#160f0a;
  --lime:#00bb7f;
  --danger:#dc2626;
  --gold:#c98a00;
  --white:#ffffff;

  --shadow-brutal:5px 5px 0 0 var(--fg);
  --shadow-brutal-lg:8px 8px 0 0 var(--fg);
  --shadow-ember:6px 6px 0 0 var(--ember);

  --font-display:"Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body:"DM Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono:"Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container:1180px;
  --pad-x:clamp(1.25rem, 5vw, 3rem);
  --sec-pad-y:clamp(4.5rem, 9vw, 8.5rem);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--font-body);
  background:var(--bg);
  color:var(--fg);
  line-height:1.62;
  font-size:clamp(1rem,0.96rem + 0.2vw,1.075rem);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
em{font-style:italic;color:var(--ember-dk);font-weight:500}

.container{
  width:100%;
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:var(--pad-x);
}

/* ---------- eyebrow / labels mono ---------- */
.eyebrow{
  font-family:var(--font-mono);
  font-size:.78rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--ember-dk);
  margin-bottom:1.1rem;
  font-weight:500;
}
.eyebrow.center{text-align:center}

/* ============================================================
   HEADER
   ============================================================ */
.site-header{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;gap:1.25rem;
  padding:.8rem var(--pad-x);
  background:rgba(250,245,236,.86);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:2px solid var(--fg);
}
.brand{display:flex;align-items:center;gap:.6rem;margin-right:auto}
.brand-mark{
  font-family:var(--font-mono);
  font-weight:600;
  font-size:1.35rem;
  color:var(--bg);
  background:var(--ember);
  border:2px solid var(--fg);
  width:2.2rem;height:2.2rem;
  display:grid;place-items:center;
  border-radius:5px;
  box-shadow:3px 3px 0 0 var(--fg);
  line-height:1;
}
.brand-text{
  font-family:var(--font-display);
  font-weight:700;
  font-size:.82rem;
  line-height:1;
  letter-spacing:.02em;
}
.site-nav{display:flex;gap:.15rem;flex-wrap:wrap}
.site-nav a{
  font-family:var(--font-mono);
  font-size:.82rem;
  font-weight:500;
  padding:.35rem .55rem;
  border:2px solid transparent;
  border-radius:5px;
  color:var(--fg-muted);
  transition:transform .14s ease, box-shadow .14s ease, background .14s ease, color .14s ease, border-color .14s ease;
}
.site-nav a:hover{
  color:var(--fg);
  background:var(--surface);
  border-color:var(--fg);
  box-shadow:3px 3px 0 0 var(--fg);
  transform:translate(-2px,-2px);
}
.nav-cta{
  font-family:var(--font-mono);
  font-size:.8rem;
  font-weight:600;
  padding:.45rem .8rem;
  background:var(--fg);
  color:var(--bg);
  border:2px solid var(--fg);
  border-radius:5px;
  box-shadow:3px 3px 0 0 var(--ember);
  transition:transform .14s ease, box-shadow .14s ease;
  white-space:nowrap;
}
.nav-cta:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 0 var(--ember)}
.nav-toggle{
  display:none;
  font-family:var(--font-mono);
  font-size:.8rem;font-weight:600;
  background:var(--surface);
  color:var(--fg);
  border:2px solid var(--fg);
  border-radius:5px;
  padding:.45rem .7rem;
  box-shadow:3px 3px 0 0 var(--fg);
  cursor:pointer;
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;
  padding:clamp(3.5rem,9vw,7rem) 0 clamp(2.5rem,6vw,4.5rem);
  background:
    radial-gradient(120% 90% at 85% -10%, #ff5a1f1a, transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 38px, #e8dccb55 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, #e8dccb55 38px 39px),
    var(--bg);
  border-bottom:2px solid var(--fg);
}
.hero-title{
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(2.3rem,1.7rem + 6vw,6.2rem);
  line-height:.97;
  letter-spacing:-.025em;
  text-transform:uppercase;
  margin-bottom:1.6rem;
  overflow-wrap:break-word;
  word-break:break-word;
  hyphens:auto;
}
.hero-title .ember{color:var(--ember);display:inline-block}
.hero-sub{
  max-width:46ch;
  font-size:clamp(1.05rem,1rem + 0.4vw,1.3rem);
  color:var(--fg-muted);
  margin-bottom:1.8rem;
}
.hero-quote{
  font-family:var(--font-mono);
  font-size:clamp(1.05rem,1rem + 0.5vw,1.45rem);
  font-weight:500;
  color:var(--fg);
  border-left:4px solid var(--ember);
  padding:.4rem 0 .4rem 1.1rem;
  margin-bottom:2.4rem;
}
.hero-stats{
  display:flex;flex-wrap:wrap;gap:1rem 2.6rem;
  margin-bottom:2.6rem;
}
.stat{display:flex;flex-direction:column;gap:.15rem}
.stat-num{
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(2.4rem,1.8rem + 3vw,3.6rem);
  line-height:1;
  color:var(--fg);
}
.stat-label{
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--fg-muted);
  max-width:18ch;
}

/* ---------- botao brutal ---------- */
.btn-brutal{
  display:inline-block;
  font-family:var(--font-display);
  font-weight:700;
  font-size:1rem;
  letter-spacing:.01em;
  padding:.85rem 1.6rem;
  background:var(--ember);
  color:var(--ink);
  border:2px solid var(--fg);
  border-radius:6px;
  box-shadow:var(--shadow-brutal);
  transition:transform .14s ease, box-shadow .14s ease, background .14s ease;
}
.btn-brutal:hover{
  transform:translate(-3px,-3px);
  box-shadow:var(--shadow-brutal-lg);
  background:var(--ember-lt);
}
.btn-brutal.big{font-size:1.3rem;padding:1.05rem 2.2rem}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee{
  background:var(--ember);
  border-bottom:2px solid var(--fg);
  overflow:hidden;
  padding:.7rem 0;
}
.marquee-track{
  display:flex;
  width:max-content;
  animation:marquee 38s linear infinite;
}
.marquee-track span{
  font-family:var(--font-mono);
  font-weight:600;
  font-size:.92rem;
  letter-spacing:.06em;
  color:var(--ink);
  white-space:nowrap;
  padding-right:1rem;
}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ============================================================
   SECTIONS
   ============================================================ */
.section{padding:var(--sec-pad-y) 0;border-bottom:2px solid var(--fg)}
.section.alt{background:var(--bg-alt)}
.sec-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(2rem,4vw,4.5rem);
  align-items:center;
}
.sec-grid.reverse .sec-text{order:2}
.sec-grid.reverse .infografico{order:1}
.sec-title{
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(1.8rem,1.4rem + 2.2vw,3rem);
  line-height:1.04;
  letter-spacing:-.02em;
  margin-bottom:1.4rem;
}
.sec-title.center{text-align:center;margin-inline:auto;max-width:18ch}
.sec-text p{margin-bottom:1.15rem;color:var(--fg)}
.sec-text p:last-child{margin-bottom:0}

/* ---------- moldura do infografico ---------- */
.infografico{
  background:var(--surface);
  border:2px solid var(--fg);
  border-radius:8px;
  padding:.6rem;
  box-shadow:var(--shadow-brutal-lg);
  transition:transform .18s ease, box-shadow .18s ease;
}
.infografico:hover{transform:translate(-3px,-3px);box-shadow:11px 11px 0 0 var(--fg)}
.infografico img{border-radius:4px;width:100%;background:var(--bg-alt)}
.infografico figcaption{
  font-family:var(--font-mono);
  font-size:.72rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--fg-muted);
  padding:.7rem .3rem .25rem;
}

/* ---------- chip grid (sec 07) ---------- */
.chip-grid{display:flex;flex-wrap:wrap;gap:.55rem;margin:1.4rem 0}
.chip{
  font-family:var(--font-mono);
  font-size:.78rem;
  font-weight:500;
  padding:.4rem .7rem;
  background:var(--surface);
  border:2px solid var(--fg);
  border-radius:5px;
  box-shadow:3px 3px 0 0 var(--fg);
  transition:transform .14s ease, box-shadow .14s ease;
}
.chip:hover{transform:translate(-2px,-2px);box-shadow:5px 5px 0 0 var(--fg)}
.chip.danger{border-color:var(--danger);box-shadow:3px 3px 0 0 var(--danger);color:var(--danger)}
.chip.danger:hover{box-shadow:5px 5px 0 0 var(--danger)}
.chip.gold{border-color:var(--gold);box-shadow:3px 3px 0 0 var(--gold);color:var(--gold)}
.chip.gold:hover{box-shadow:5px 5px 0 0 var(--gold)}

/* ============================================================
   CLOSING
   ============================================================ */
.section.closing{background:var(--fg);color:var(--bg);border-bottom:none}
.section.closing .sec-title{color:var(--bg)}
.section.closing .eyebrow{color:var(--ember-lt)}
.quotes{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));
  gap:1.1rem;
  margin:2.6rem 0;
}
.quotes blockquote{
  font-family:var(--font-mono);
  font-size:1rem;
  font-weight:400;
  line-height:1.45;
  color:var(--bg);
  background:#241e19;
  border:2px solid var(--ember);
  border-left-width:5px;
  border-radius:6px;
  padding:1.1rem 1.2rem;
  box-shadow:5px 5px 0 0 var(--ember-dk);
}
.quotes blockquote.big{
  grid-column:1/-1;
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(1.5rem,1.2rem + 2.4vw,2.8rem);
  text-align:center;
  letter-spacing:-.01em;
  background:var(--ember);
  color:var(--ink);
  border-color:var(--ink);
  box-shadow:6px 6px 0 0 var(--ink);
}
.closing-statement{
  max-width:60ch;
  margin:0 auto;
  text-align:center;
  font-size:clamp(1.1rem,1rem + 0.6vw,1.45rem);
  color:#e8dccb;
}
.closing-cta{display:flex;justify-content:center;margin:2.6rem 0 2rem}
.source{
  font-family:var(--font-mono);
  font-size:.74rem;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#9a8c79;
  text-align:center;
  margin-top:1.5rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{background:var(--ink);color:var(--bg);padding:1.6rem 0}
.footer-inner{display:flex;align-items:center;gap:.8rem;justify-content:center}
.footer-inner .brand-mark{box-shadow:2px 2px 0 0 var(--bg);width:1.9rem;height:1.9rem;font-size:1.1rem}
.footer-inner p{font-family:var(--font-mono);font-size:.78rem;letter-spacing:.06em;color:#cbbda9}

/* ============================================================
   REVEAL (scroll animation)
   ============================================================ */
.reveal{opacity:0;transform:translateY(26px);transition:opacity .6s ease, transform .6s ease}
.reveal.is-visible{opacity:1;transform:none}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width:920px){
  .sec-grid{grid-template-columns:1fr;gap:2.2rem}
  .sec-grid.reverse .sec-text{order:1}
  .sec-grid.reverse .infografico{order:2}
  .infografico{order:2}
}
@media (max-width:760px){
  .site-nav{
    position:absolute;top:100%;left:0;right:0;
    flex-direction:column;gap:.2rem;
    background:var(--bg);
    border-bottom:2px solid var(--fg);
    padding:.8rem var(--pad-x);
    display:none;
  }
  .site-nav.open{display:flex}
  .site-nav a{width:100%}
  .nav-cta{display:none}
  .nav-toggle{display:inline-block}
  .hero-stats{gap:1.2rem 1.8rem}
}
@media (max-width:480px){
  .hero-title{font-size:clamp(2rem,1.1rem + 7vw,2.9rem)}
}
@media (max-width:420px){
  .brand-text{font-size:.72rem}
  .quotes blockquote{font-size:.92rem}
  .hero-quote{font-size:1rem;word-break:break-word}
}

/* ============================================================
   reduced motion
   ============================================================ */
@media (prefers-reduced-motion:reduce){
  *{animation-duration:.001ms !important;animation-iteration-count:1 !important;transition-duration:.001ms !important;scroll-behavior:auto !important}
  .reveal{opacity:1;transform:none}
  .marquee-track{animation:none}
}
