/* Estilo compartilhado da central grátis (/gratis) e dos guias. */
:root {
  --bg: #080808;
  --bg-2: #111111;
  --bg-3: #191919;
  --line: #222222;
  --line-2: #313131;
  --muted: #7b7b7b;
  --text: #b4b4b4;
  --title: #eeeeee;
  --blue: #0066ff;
  --cyan: #00d2ff;
  --blue-soft: #80b3ff;
  --gradient: linear-gradient(90deg, #0066ff 0%, #00d2ff 100%);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --wrap: 1120px;
  --h1: clamp(2.3rem, 1.6rem + 3vw, 4.4rem);
  --h2: clamp(1.8rem, 1.4rem + 1.6vw, 3rem);
  --h3: clamp(1.3rem, 1.15rem + 0.6vw, 1.75rem);
  --lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  color: var(--title);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
em.serif, .serif {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.grad {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
section { padding: clamp(72px, 9vw, 128px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-soft);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--gradient);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 32px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s, border-color 0.3s, color 0.3s;
}
.btn-primary { background: var(--gradient); color: #f5f5f5; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0, 102, 255, 0.25); }
.btn-outline { border: 1px solid var(--line-2); color: var(--title); background: transparent; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-soft); }

/* TOPO */
.top {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.05em; color: var(--title); }
.logo .l-studio { font-weight: 300; opacity: 0.7; }
.logo .l-dot { margin: 0 3px; }
.logo .l-name { font-family: 'Times New Roman', Times, serif; font-style: italic; font-weight: 500; letter-spacing: normal; }
.top small { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* HERO */
.hero { padding-top: clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 760px;
  max-height: 760px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.16) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero h1 { font-size: var(--h1); margin: 22px 0 22px; }
.hero .lead { font-size: var(--lead); color: var(--text); max-width: 34em; }
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 36px;
}
.stat {
  border: 1px solid var(--line-2);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--title);
  background: rgba(255, 255, 255, 0.02);
}
.stat b { font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.phone {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 80px rgba(0, 102, 255, 0.15);
}
.phone video { width: 100%; height: 100%; object-fit: cover; }
.phone-caption { text-align: center; font-size: 0.8rem; color: var(--muted); margin-top: 14px; }

/* HISTÓRIA */
.story {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.story-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.story h2 { font-size: var(--h2); margin-top: 18px; }
.story p { font-size: var(--lead); margin-bottom: 18px; }
.story p strong { color: var(--title); font-weight: 600; }
.quote {
  margin-top: 28px;
  padding: 22px 26px;
  border-left: 2px solid var(--blue);
  background: rgba(0, 102, 255, 0.06);
  border-radius: 0 16px 16px 0;
  color: var(--title);
  font-size: var(--lead);
}

/* PEÇAS */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: var(--h2); margin: 18px 0 16px; }
.section-head p { font-size: var(--lead); }

.piece {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(32px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
}
.piece:last-of-type { border-bottom: 1px solid var(--line); }
.piece-num {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
  font-size: clamp(2.6rem, 2rem + 2vw, 4rem);
  line-height: 1;
}
.piece-meta { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.piece h3 { font-size: var(--h3); margin: 10px 0 14px; }
.piece-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.problem { font-size: 1.05rem; margin-bottom: 20px; }
.problem b { color: var(--title); font-weight: 600; }
.label { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-soft); font-weight: 600; margin-bottom: 10px; }
.inside { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; }
.inside li { position: relative; padding-left: 22px; color: var(--title); font-size: 0.98rem; }
.inside li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
}
.adapt {
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 18px 20px;
  background: var(--bg-2);
  font-size: 0.95rem;
}
.adapt b { color: var(--title); font-weight: 600; }
.shot {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.shot + .shot { margin-top: 14px; }
.shot-note { font-size: 0.8rem; color: var(--muted); margin-top: 10px; }
.shot-narrow { max-width: 360px; margin-left: auto; margin-right: auto; }

/* VISÃO DO TODO */
.overview { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.overview .shot { margin-bottom: 14px; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.role { border: 1px solid var(--line-2); border-radius: 18px; padding: 22px; background: var(--bg); }
.role h4 { font-size: 1.05rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.role p { font-size: 0.95rem; }

/* ADAPTAR */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 0.95rem; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--bg-2); }
tbody th { color: var(--title); font-weight: 600; white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.tip { margin-top: 22px; font-size: 1.02rem; }
.tip b { color: var(--title); }

/* OFERTA */
.offer-card {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(0, 102, 255, 0.18) 0%, transparent 60%),
    var(--bg-2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.offer-card h2 { font-size: var(--h2); margin: 18px 0 16px; }
.offer-card > div > p { font-size: var(--lead); margin-bottom: 22px; }
.steps { list-style: none; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 34px 1fr; gap: 12px; color: var(--title); }
.steps li::before {
  content: counter(step);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: var(--blue-soft);
  font-weight: 600;
}
.steps li span { color: var(--text); display: block; font-size: 0.93rem; }

form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--title);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 104px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #7b7b7b 50%), linear-gradient(135deg, #7b7b7b 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: 0.82rem; color: var(--muted); }
.consent a { text-decoration: underline; }
form .btn { width: 100%; padding: 19px 24px; font-size: 1rem; }
form .btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.form-msg { font-size: 0.92rem; min-height: 1.4em; }
.form-msg.err { color: #ff8a8a; }
.form-msg.ok { color: #7dd3a8; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 0.85rem; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .hero-grid, .story-grid, .piece-body, .offer-card { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr; }
  .phone { max-width: 300px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .top small { display: none; }
  .piece { grid-template-columns: 1fr; gap: 6px; }
  .two { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
}

/* CENTRAL GRÁTIS: cards dos guias */
.top a.back { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; transition: color 0.2s; }
.top a.back:hover { color: var(--blue-soft); }
.library-head { padding-bottom: clamp(32px, 4vw, 48px); }
.library-head h1 { font-size: var(--h1); margin: 22px 0 18px; max-width: 14em; }
.library-head p { font-size: var(--lead); max-width: 34em; }
.library { padding-top: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 20px; }
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-2);
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-2);
  transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.5s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: rgba(0, 102, 255, 0.5); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(90% 90% at 100% 100%, rgba(0, 210, 255, 0.28) 0%, transparent 60%),
    radial-gradient(80% 80% at 0% 0%, rgba(0, 102, 255, 0.35) 0%, transparent 60%),
    var(--bg-3);
}
.card-cover img {
  position: absolute;
  left: 12%;
  top: 16%;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55);
  transition: transform 0.7s var(--ease);
}
.card:hover .card-cover img { transform: translate(-2%, -3%); }
.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--title);
  background: rgba(8, 8, 8, 0.72);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(6px);
}
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; flex: 1; }
.card-body h2 { font-size: var(--h3); }
.card-body p { font-size: 0.98rem; flex: 1; }
.card-link { margin-top: 8px; font-weight: 600; color: var(--blue-soft); display: inline-flex; align-items: center; gap: 8px; }
.card-link::after { content: '→'; transition: transform 0.3s var(--ease); }
.card:hover .card-link::after { transform: translateX(4px); }
.card-soon {
  border-style: dashed;
  background: transparent;
  justify-content: center;
  padding: 32px 26px;
  min-height: 220px;
}
.card-soon:hover { transform: none; box-shadow: none; border-color: var(--line-2); }
.card-soon h2 { font-size: 1.25rem; margin: 14px 0 10px; }
.card-soon p { font-size: 0.95rem; }
.card-cover-photo img { inset: 0; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
.card:hover .card-cover-photo img { transform: scale(1.04); }
.card-cover-photo .card-tag { left: auto; right: 14px; }
