/* ============================================================
   BRAND — Workshop "Conteúdo que Cresce"
   Parallax · transições entre seções · animações de entrada
   ============================================================ */

:root {
  --dark: #2b1410;
  --brown: #4a1f15;
  --terra: #a8442a;
  --terra-light: #c4573a;
  --terra-deep: #8a3520;
  --cream: #fdf6ec;
  --sand: #f6e8d8;
  --tan: #efdcc6;
  --ink: #2a1a15;
  --muted: #7a625a;
  --r: clamp(28px, 5vw, 64px);
  --pad-x: clamp(20px, 6vw, 96px);
  --font: "Archivo", system-ui, -apple-system, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--terra); color: var(--cream); }

.wrap { width: min(1200px, 100%); margin: 0 auto; }

/* ===== Preloader ===== */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  background: var(--terra);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s cubic-bezier(0.77, 0, 0.18, 1) 0.2s;
}
.preloader__logo { width: min(46vw, 300px); animation: pulse 1.2s ease-in-out infinite; }
.preloader.done { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes pulse { 50% { opacity: 0.6; transform: scale(0.96); } }

/* ===== Progress ===== */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--terra-light);
  transform: scaleX(0); transform-origin: left;
  z-index: 9999;
}

/* ===== Nav ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px var(--pad-x);
  color: var(--cream);
  transition: background 0.4s, padding 0.4s, color 0.4s, transform 0.5s var(--ease);
}
.nav__img { height: 28px; width: auto; }
.nav__img--dark { display: none; }
.nav__meta { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; opacity: 0.85; }
.nav__cta {
  padding: 10px 20px; border-radius: 99px; font-size: 13px; font-weight: 700;
  background: var(--cream); color: var(--dark);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
}
.nav__cta:hover { transform: scale(1.06); background: var(--terra); color: var(--cream); }
.nav.is-scrolled {
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-block: 12px; color: var(--ink);
}
.nav.is-scrolled .nav__img--light { display: none; }
.nav.is-scrolled .nav__img--dark { display: block; }
.nav.is-scrolled .nav__cta { background: var(--terra); color: var(--cream); }
.nav.is-hidden { transform: translateY(-100%); }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px; border-radius: 99px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  will-change: transform;
}
.btn b { display: inline-block; transition: transform 0.35s var(--ease); font-weight: 600; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--dark);
  transform: translateY(101%); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  transition: transform 0.5s var(--ease), border-radius 0.5s var(--ease);
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn:hover b { transform: translateX(5px); }
.btn:hover { box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5); }
.btn--terra { background: var(--terra); color: var(--cream); }
.btn--cream { background: var(--cream); color: var(--dark); }
.btn--cream::before { background: var(--terra); }
.btn--cream:hover { color: var(--cream); }
.btn--block { width: 100%; justify-content: space-between; }

/* ===== Tipografia ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600;
  color: var(--terra-light); margin-bottom: 22px;
}
.eyebrow i { width: 7px; height: 7px; background: currentColor; display: inline-block; animation: blink 2s infinite; }
.eyebrow--cream { color: rgba(253, 246, 236, 0.75); }
@keyframes blink { 50% { opacity: 0.25; } }

.h2 {
  font-size: clamp(28px, min(4.2vw, 7.2vh), 56px);
  font-weight: 700; font-stretch: 85%;
  line-height: 1.05; letter-spacing: -0.01em; text-transform: uppercase;
  color: var(--ink);
  max-width: 14ch;
}
.h2--light { color: var(--cream); }
.lead { font-size: clamp(15px, 1.3vw, 17px); color: var(--muted); max-width: 52ch; margin-top: 24px; line-height: 1.7; }
.lead--light { color: rgba(253, 246, 236, 0.78); }

/* Split text (máscara por palavra) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.wi { display: inline-block; }
.js [data-split] .wi { transform: translateY(115%) rotate(4deg); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms + var(--base, 0ms)); }
.js [data-split].in .wi { transform: none; }
[data-split] em { font-family: var(--serif); font-style: italic; font-weight: 500; text-transform: none; color: var(--terra-light); }

/* Reveal genérico */
.js .reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ===== Seções + transição em cascata ===== */
.sec { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(72px, 10vh, 120px) var(--pad-x); overflow: hidden; }
.sec--cream { background: var(--cream); }
.sec--sand { background: var(--sand); }
.sec--tan { background: var(--tan); }
.sec--terra { background: var(--terra); }
.sec--dark { background: var(--dark); }
.sec--brown { background: var(--brown); }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; position: relative; z-index: 1; }
.split--center { align-items: center; }
.sec__shape {
  position: absolute; right: -10%; top: 10%; width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
}
.sec__shape--r { left: -12%; right: auto; top: auto; bottom: -10%; background: radial-gradient(circle, rgba(196, 87, 58, 0.35), transparent 65%); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100svh; overflow: hidden;
  display: flex; align-items: center;
  padding: clamp(90px, 14vh, 130px) var(--pad-x) clamp(48px, 8vh, 90px);
  color: var(--cream);
  background: var(--dark);
}
.hero__bg {
  position: absolute; inset: -20% 0 -10%;
  background:
    radial-gradient(60% 55% at 85% 20%, rgba(168, 68, 42, 0.55), transparent 70%),
    radial-gradient(70% 60% at 10% 90%, rgba(74, 31, 21, 0.9), transparent 70%),
    linear-gradient(160deg, #3a1a12 0%, #2b1410 60%, #1f0e0b 100%);
  will-change: transform;
}
.hero__orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.5; }
.hero__orb--a { width: 38vw; height: 38vw; right: 5%; top: 18%; background: #b5502f; animation: float 9s ease-in-out infinite; }
.hero__orb--b { width: 26vw; height: 26vw; left: -4%; bottom: 8%; background: #6a2a1a; animation: float 11s ease-in-out infinite reverse; }
@keyframes float { 50% { margin-top: -30px; margin-left: 20px; } }

.hero__word {
  position: absolute; right: -2vw; top: 4%;
  font-size: clamp(120px, 24vw, 380px); font-weight: 900; font-stretch: 80%;
  line-height: 0.9; letter-spacing: -0.02em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(253, 246, 236, 0.1);
  pointer-events: none; user-select: none; will-change: transform;
}
.hero__inner {
  position: relative; z-index: 2; width: min(1200px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center;
}
.hero__title {
  font-size: clamp(30px, min(5vw, 9vh), 72px); font-weight: 700; font-stretch: 85%;
  line-height: 1.02; text-transform: uppercase; letter-spacing: -0.015em;
  max-width: 14ch;
}
.hero__title em { display: inline-block; font-size: 1.05em; }
.hero__sub { margin-top: 28px; max-width: 46ch; color: rgba(253, 246, 236, 0.78); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.65; }
.hero__cta { margin-top: 36px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero__cta small { max-width: 36ch; font-size: 12px; color: rgba(253, 246, 236, 0.55); line-height: 1.5; }

.hero__card {
  border: 1px solid rgba(253, 246, 236, 0.18); background: rgba(253, 246, 236, 0.04);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 4px; overflow: hidden; transform-style: preserve-3d; transition: transform 0.2s;
}
.hero__date { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid rgba(253, 246, 236, 0.18); }
.hero__day { background: var(--terra); padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.hero__day strong { font-size: clamp(34px, 3.6vw, 52px); line-height: 1; font-weight: 600; font-stretch: 90%; }
.hero__day span { font-size: 11px; opacity: 0.85; }
.hero__live { padding: 22px; display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.hero__live strong { font-size: clamp(20px, 2vw, 28px); text-transform: uppercase; font-stretch: 85%; }
.hero__live span:last-child { font-size: 11px; opacity: 0.7; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff5a3c; box-shadow: 0 0 0 0 rgba(255, 90, 60, 0.7); animation: ping 1.8s infinite; margin-bottom: 6px; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(255, 90, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 60, 0); } }
.hero__name { padding: 22px; display: flex; flex-direction: column; gap: 6px; }
.hero__name small { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.6; }
.hero__name strong { font-size: clamp(20px, 2vw, 28px); text-transform: uppercase; font-stretch: 85%; line-height: 1.1; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 50px; background: rgba(253, 246, 236, 0.2); overflow: hidden; z-index: 2; }
.scroll-hint span { position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--cream); animation: drop 2s var(--ease) infinite; }
@keyframes drop { 100% { top: 100%; } }

/* ===== Marquee ===== */
.marquee { background: var(--terra); color: var(--cream); overflow: hidden; padding: 18px 0; position: relative; z-index: 0; }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 28s linear infinite; font-size: clamp(18px, 2.4vw, 30px); font-weight: 700; font-stretch: 80%; text-transform: uppercase; white-space: nowrap; }
.marquee__track i { font-style: normal; opacity: 0.6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Identifica ===== */
#identifica .h2, #para-voce .h2 { max-width: none; }
#identifica .h2 { max-width: 26ch; }
.pains { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 90px); margin-top: clamp(20px, 4vh, 44px); }
.pains li { border-top: 1px solid rgba(42, 26, 21, 0.18); padding: clamp(14px, 2.4vh, 22px) 0 clamp(16px, 3vh, 28px); position: relative; }
.pains li::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--terra); transition: width 1s var(--ease) 0.2s; }
.pains li.in::before { width: 100%; }
.pains em { font-style: normal; font-size: 11px; letter-spacing: 0.15em; color: var(--terra); font-weight: 700; }
.pains h3 { font-size: clamp(17px, 1.6vw, 21px); margin: 12px 0 8px; font-weight: 700; line-height: 1.3; }
.pains p { color: var(--muted); font-size: 15px; max-width: 42ch; }
.quote { margin-top: clamp(16px, 3vh, 32px); display: flex; gap: 24px; align-items: stretch; }
.quote__bar { width: 3px; background: var(--terra); flex: none; transform: scaleY(0); transform-origin: top; transition: transform 1s var(--ease) 0.3s; }
.quote.in .quote__bar { transform: scaleY(1); }
.quote p { font-size: clamp(19px, 2.2vw, 28px); font-weight: 500; line-height: 1.35; max-width: 42ch; }
.quote em { font-family: var(--serif); color: var(--terra); font-weight: 500; }

/* ===== Lista de pilares (terracota) ===== */
.pillars-list { margin-top: 10px; }
.pillars-list li {
  display: flex; align-items: baseline; gap: 22px;
  padding: 22px 0; border-bottom: 1px solid rgba(253, 246, 236, 0.28);
  color: var(--cream);
  transition: padding-left 0.5s var(--ease), color 0.3s;
}
.pillars-list li:hover { padding-left: 18px; }
.pillars-list em { font-style: normal; font-size: 11px; opacity: 0.6; font-weight: 600; letter-spacing: 0.1em; }
.pillars-list span { font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; font-stretch: 85%; text-transform: uppercase; letter-spacing: 0.01em; }

/* ===== Cinco pilares ===== */
.pill-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(24px, 6vh, 56px); }
.pill-head .lead { max-width: 30ch; margin: 0; }
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(253, 246, 236, 0.15); }
.pillar {
  padding: 24px 22px clamp(24px, 5vh, 44px); min-height: clamp(240px, 38vh, 340px);
  display: flex; flex-direction: column; gap: 18px; color: var(--cream); outline: none;
  position: relative; overflow: hidden;
  border-right: 1px solid rgba(253, 246, 236, 0.1);
  transition: background 0.5s var(--ease), transform 1s var(--ease), opacity 0.9s var(--ease);
}
.pillar::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--terra-light); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.pillar em { font-style: normal; font-size: 11px; opacity: 0.55; font-weight: 600; }
.pillar h3 { margin-top: auto; font-size: clamp(15px, 1.4vw, 19px); text-transform: uppercase; font-stretch: 90%; letter-spacing: 0.02em; }
.pillar p { font-size: 13px; line-height: 1.6; color: rgba(253, 246, 236, 0.68); }
.pillar:hover, .pillar:focus-visible, .pillar.is-active { background: var(--terra); }
.pillar:hover::after, .pillar.is-active::after { transform: scaleX(1); }
.pillars:hover .pillar.is-active:not(:hover) { background: transparent; }
.pillars:hover .pillar.is-active:not(:hover)::after { transform: scaleX(0); }

/* ===== Checks ===== */
.checks li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.5; }
.checks i { flex: none; width: 10px; height: 10px; margin-top: 8px; background: var(--terra); transition: transform 0.6s var(--ease); transform: rotate(45deg) scale(0); }
.checks li.in i { transform: rotate(45deg) scale(1); }

/* ===== Para você ===== */
.for { margin-top: clamp(20px, 4vh, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 90px); }
.for li { display: flex; gap: 16px; align-items: flex-start; padding: clamp(12px, 2.2vh, 20px) 0; border-bottom: 1px solid rgba(42, 26, 21, 0.12); font-size: 15px; line-height: 1.55; }
.for span { flex: none; width: 14px; height: 1.5px; background: var(--terra); margin-top: 11px; transition: width 0.6s var(--ease) 0.3s; width: 0; }
.for li.in span { width: 16px; }
.for__note { margin: clamp(16px, 3vh, 30px) 0 clamp(14px, 2.4vh, 26px); font-size: 13px; color: var(--muted); }

/* ===== Sobre ===== */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 100px); align-items: center; }
.about__logo { position: relative; padding: 40px 0; }
.about__logo img:last-child { width: min(100%, 360px); position: relative; }
.about__logo-bg { position: absolute; width: 130% !important; max-width: none; left: -10%; top: -5%; opacity: 0.35; mix-blend-mode: overlay; }
[data-tilt].in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
[data-tilt].tilt-ready { transition: transform 0.25s ease-out; }
.about .h2 { max-width: 16ch; margin-left: 0; }

/* ===== Preço ===== */
.facts { margin-top: 32px; display: grid; gap: 10px; }
.facts li { color: rgba(253, 246, 236, 0.8); font-size: 14px; padding-left: 18px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--terra-light); }
.price {
  background: rgba(253, 246, 236, 0.05); border: 1px solid rgba(253, 246, 236, 0.18);
  padding: clamp(24px, 3vw, 40px); border-radius: 4px; display: flex; flex-direction: column; gap: 22px;
  color: var(--cream); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s;
}
.price small { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.6; }
.price__value { font-size: clamp(44px, 6vw, 76px); line-height: 1; font-weight: 600; font-stretch: 85%; }
.price p { font-size: 12px; opacity: 0.55; line-height: 1.5; }

/* ===== FAQ ===== */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.qa { border-bottom: 1px solid rgba(42, 26, 21, 0.14); }
.qa:first-child { border-top: 1px solid rgba(42, 26, 21, 0.14); }
.qa__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; text-align: left; font-size: clamp(14px, 1.3vw, 16px); font-weight: 600; transition: color 0.3s, padding-left 0.4s var(--ease); }
.qa__q:hover { color: var(--terra); padding-left: 8px; }
.qa__q i { position: relative; width: 14px; height: 14px; flex: none; }
.qa__q i::before, .qa__q i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease); }
.qa__q i::after { transform: rotate(90deg); }
.qa.open .qa__q i::after { transform: rotate(0); }
.qa.open .qa__q { color: var(--terra); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--ease); }
.qa__a > div { overflow: hidden; }
.qa__a p { padding-bottom: 24px; color: var(--muted); font-size: 15px; max-width: 56ch; line-height: 1.7; }
.qa.open .qa__a { grid-template-rows: 1fr; }

/* ===== CTA final ===== */
.final { background: var(--sand); min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(72px, 10vh, 120px) var(--pad-x); text-align: center; position: relative; overflow: hidden; }
.final__inner { display: flex; flex-direction: column; align-items: center; }
.final__title { font-size: clamp(34px, 6vw, 80px); font-weight: 700; font-stretch: 82%; text-transform: uppercase; line-height: 1.02; max-width: 16ch; }
.final .lead { margin: 28px auto 40px; }

/* ===== Footer ===== */
.footer { background: var(--dark); color: rgba(253, 246, 236, 0.5); padding: 48px var(--pad-x); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; }
.footer img { height: 26px; width: auto; }

/* ===== CTA fixo mobile ===== */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 8000;
  display: none; text-align: center; padding: 16px; border-radius: 99px;
  background: var(--terra); color: var(--cream); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.5);
  transform: translateY(150%); transition: transform 0.5s var(--ease);
}
.sticky-cta.show { transform: none; }

/* ===== Responsivo ===== */
@media (max-width: 960px) {
  .hero__inner, .split, .about, .faq { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar { min-height: 220px; border-bottom: 1px solid rgba(253, 246, 236, 0.1); }
  .pains, .for { grid-template-columns: 1fr; }
  .nav__meta { display: none; }
  .hero { padding-top: 110px; }
  .hero__card { max-width: 420px; }
  .about__logo { max-width: 280px; }
}
@media (max-width: 640px) {
  .pillars { grid-template-columns: 1fr; }
  .sticky-cta { display: block; }
  .footer { padding-bottom: 96px; }
  .h2 { max-width: none; }
}

/* ===== Movimento reduzido ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js [data-split] .wi { opacity: 1; transform: none; }
}
