/* ─────────────────────────────────────────────────────────────
   Masterclass gratuita — Palestras Academy
   Estrutura: referência Sebrae SC (masterclass-hanah-franklin).
   Identidade: tokens do ecossistema (hv7) — coffee, flame, linen;
   títulos em Oswald, texto em DM Sans (régua tipográfica da marca).
   ───────────────────────────────────────────────────────────── */

:root {
  --coffee: #18131f;      /* quase-preto oficial */
  --coffee-2: #221a26;
  --wine: #2a0d06;        /* fundo quente do hero e do fechamento */
  --flame: #e85d04;       /* laranja oficial do logo */
  --ember: #ff6a00;
  --ember-soft: #ff9a4d;
  --ember-text: #b34500;  /* laranja legível sobre claro */
  --linen: #edede3;       /* off-white oficial */
  --cream: #fbf6ec;       /* fundo da dobra 2 */
  --peach: #ffe7d4;       /* blocos de ícone */
  --peach-2: #ffd3b0;
  --ink-soft: #4b4250;
  --line: #e9e0d2;
  --white: #fff;
  --err: #d92d20;

  --f-title: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* A página toda em 80% do tamanho a partir do tablet. No celular fica em 100%:
   em 80% o texto cairia abaixo de 14px e os campos abaixo de 16px, e o iOS
   daria zoom automático ao tocar no formulário. */
@media (min-width: 861px) { html { zoom: 0.8; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--coffee);
  font: 400 1.0625rem/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 700; }

.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico .fill { fill: currentColor; stroke: none; }

:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--flame); color: var(--white); font-weight: 700; text-decoration: none; border-radius: 999px; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ─── Barra de progresso de leitura ─── */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--flame), var(--ember-soft)); }

/* ─── Botões: pílula com degradê de laranjas deslizando e borda
   luminosa girando em volta (efeito da Conversão Extrema) ─── */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 34px;
  border: 2px solid transparent; border-radius: 999px;
  background:
    linear-gradient(100deg, #c94a00, var(--flame) 20%, var(--ember-soft) 40%, var(--ember) 55%, var(--flame) 75%, #c94a00) padding-box,
    conic-gradient(from var(--ang), rgb(255 255 255 / 0) 0%, rgb(255 255 255 / 0) 58%, #ffd9bd 72%, #fff 78%, #ffd9bd 84%, rgb(255 255 255 / 0) 96%) border-box;
  background-size: 300% 100%, 100% 100%;
  color: var(--white);
  font: 700 1.15rem/1 var(--f-body); letter-spacing: 0.005em; text-decoration: none;
  text-shadow: 0 1px 2px rgb(120 35 0 / 0.35);
  cursor: pointer;
  box-shadow: 0 14px 34px -12px rgb(232 93 4 / 0.75), inset 0 1px 1px rgb(255 255 255 / 0.3), inset 0 -2px 6px rgb(120 35 0 / 0.25);
  animation: btn-slide 6s linear infinite, btn-spin 3s linear infinite;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
@keyframes btn-slide { from { background-position: 0% 50%, 0 0; } to { background-position: 150% 50%, 0 0; } }
@keyframes btn-spin { to { --ang: 360deg; } }
.btn .ico { font-size: 1.25rem; stroke-width: 2.4; transition: transform 0.4s var(--ease); }
/* brilho que atravessa o botão no hover */
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.4) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.9s var(--ease);
}
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 24px 48px -14px rgb(232 93 4 / 0.9), 0 0 0 6px rgb(255 106 0 / 0.14), inset 0 1px 1px rgb(255 255 255 / 0.3); animation-duration: 2.5s, 1.6s; }
.btn:hover::after { transform: translateX(120%); }
.btn:hover .ico { transform: translateX(5px); }
.btn:active { transform: translateY(-1px) scale(0.98); }

/* No fundo laranja do "Quem é": pílula escura, mesma borda girando */
.btn--dark {
  background:
    linear-gradient(180deg, #2a2230, var(--coffee)) padding-box,
    conic-gradient(from var(--ang), rgb(255 255 255 / 0) 0%, rgb(255 255 255 / 0) 55%, var(--ember-soft) 70%, #fff 78%, var(--ember-soft) 86%, rgb(255 255 255 / 0) 98%) border-box;
  background-size: 100% 100%, 100% 100%;
  color: var(--linen); text-shadow: none;
  box-shadow: 0 16px 34px -14px rgb(24 19 31 / 0.85), inset 0 1px 1px rgb(255 255 255 / 0.12);
  animation: btn-spin 3s linear infinite;
}
.btn--dark:hover { box-shadow: 0 24px 44px -14px rgb(24 19 31 / 0.9), 0 0 0 6px rgb(255 255 255 / 0.12); animation-duration: 1.6s; }
.btn--block { width: 100%; }
.btn--lg { min-height: 62px; padding: 0 44px; font-size: 1.25rem; }
.btn--sm { min-height: 42px; padding: 0 22px; font-size: 0.95rem; }

.btn__spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / 0.35); border-top-color: var(--white); animation: spin 0.7s linear infinite; }
.btn[aria-busy="true"] { pointer-events: none; opacity: 0.9; }
.btn[aria-busy="true"] .ico { display: none; }
.btn[aria-busy="true"] .btn__spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Topbar que aparece ao rolar ─── */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgb(24 19 31 / 0.78);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgb(237 237 227 / 0.08);
  transform: translateY(-105%); transition: transform 0.5s var(--ease);
}
.topbar.is-on { transform: none; }
.topbar__inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.topbar img { width: 104px; }
.topbar__info { margin-left: auto; color: rgb(237 237 227 / 0.75); font-size: 0.92rem; font-weight: 500; }

/* ═════════════ DOBRA 1 — HERO ═════════════ */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--white);
  background: linear-gradient(105deg, var(--coffee) 0%, var(--wine) 38%, #7a2603 72%, var(--flame) 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.glow--a { width: 620px; height: 620px; right: 4%; top: 6%; background: radial-gradient(circle, rgb(255 106 0 / 0.75), transparent 65%); animation: breathe 9s ease-in-out infinite; }
.glow--b { width: 520px; height: 520px; left: -10%; bottom: -30%; background: radial-gradient(circle, rgb(232 93 4 / 0.28), transparent 70%); animation: breathe 12s ease-in-out infinite reverse; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.9; } 50% { transform: scale(1.12); opacity: 1; } }
/* textura fina de ruído para tirar o "chapado" do degradê */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__grid {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: end; gap: 24px;
  min-height: min(92svh, 720px);
}
.hero__content { align-self: center; padding-block: 56px 72px; }
.hero__logo img { width: 168px; transition: transform 0.4s var(--ease); }
.hero__logo:hover img { transform: scale(1.04); }

.eyebrow {
  margin-top: 40px;
  font: 600 0.85rem/1 var(--f-body); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ember-soft);
}

.hero__title {
  margin-top: 16px; display: flex; flex-direction: column;
  font: 700 clamp(2.7rem, 5.6vw, 4.6rem)/1.16 var(--f-title);
  text-transform: uppercase; letter-spacing: 0.002em; color: var(--white);
}
.t-grad {
  background: linear-gradient(110deg, var(--flame) 0%, var(--ember-soft) 35%, #ffe0c7 50%, var(--ember-soft) 65%, var(--flame) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { from { background-position: 0% 50%; } to { background-position: 250% 50%; } }

.hero__sub {
  margin-top: 22px; max-width: 580px;
  font: 500 clamp(1.25rem, 2.1vw, 1.65rem)/1.25 var(--f-body);
  color: var(--white);
}
.hero__sub strong { color: var(--ember-soft); font-weight: 700; }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pill {
  display: inline-flex; align-items: center;
  padding: 7px 18px; border: 2px solid var(--flame); border-radius: 999px;
  font: 700 clamp(1rem, 1.5vw, 1.25rem)/1.2 var(--f-body); color: var(--white);
  background: rgb(24 19 31 / 0.25); backdrop-filter: blur(6px);
  transition: background-color 0.3s, transform 0.4s var(--ease);
}
.pill:hover { background: rgb(232 93 4 / 0.25); transform: translateY(-2px); }
.hero__content .btn { margin-top: 28px; }

/* lado da foto */
.hero__visual { position: relative; align-self: end; display: flex; justify-content: center; }
.hero__photo {
  position: relative; z-index: 1;
  width: 124%; max-width: 840px; margin-inline: 2% -26%;
  filter: drop-shadow(0 30px 50px rgb(0 0 0 / 0.45));
  will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 82%, transparent 100%);
}
.halo {
  position: absolute; z-index: 0; left: 50%; bottom: 10%;
  width: 70%; aspect-ratio: 1; translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgb(255 154 77 / 0.55), rgb(232 93 4 / 0.2) 45%, transparent 70%);
  animation: breathe 7s ease-in-out infinite;
}
/* anéis girando com pontos em órbita, atrás da foto */
.rings { position: absolute; z-index: 0; left: 50%; bottom: 4%; width: 84%; aspect-ratio: 1; transform: translateX(-50%); pointer-events: none; }
.ring { position: absolute; left: 50%; top: 50%; aspect-ratio: 1; border-radius: 50%; translate: -50% -50%; border: 1px solid rgb(255 255 255 / 0.1); }
.ring--1 { width: 64%; animation: rotate 80s linear infinite reverse; }
.ring--2 { width: 100%; border-color: rgb(255 255 255 / 0.12); animation: rotate 30s linear infinite; }
.ring--3 { width: 130%; border-color: rgb(255 255 255 / 0.07); animation: rotate 46s linear infinite reverse; }
.ring i { position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--ember-soft); box-shadow: 0 0 14px 3px rgb(255 154 77 / 0.7); }
.ring--3 i { width: 6px; height: 6px; top: -3px; background: #fff; box-shadow: 0 0 12px 2px rgb(255 255 255 / 0.6); }
@keyframes rotate { to { transform: rotate(360deg); } }

.float {
  position: absolute; z-index: 2;
  display: grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: rgb(255 255 255 / 0.14);
  border: 1px solid rgb(255 255 255 / 0.28);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 34px -14px rgb(0 0 0 / 0.5), inset 0 1px 0 rgb(255 255 255 / 0.3);
  color: var(--white); font-size: 1.6rem;
}
.float .ico { animation: bob 6s ease-in-out infinite; }
.float--a { left: 10%; top: 60%; }
.float--b { right: 6%; top: 18%; width: 56px; height: 56px; font-size: 1.4rem; background: var(--flame); border-color: rgb(255 255 255 / 0.35); }
.float--c { right: 10%; top: 50%; }
.float--b .ico { animation-delay: -2s; }
.float--c .ico { animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

.nametag {
  position: absolute; z-index: 3; right: 0; bottom: 64px;
  display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 12px;
  font-family: var(--f-body); line-height: 0.92; color: var(--white);
  text-shadow: 0 6px 24px rgb(0 0 0 / 0.35);
}
.nametag__first { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 500; text-transform: uppercase; letter-spacing: 0.02em; }
.nametag__arrow {
  display: grid; place-items: center; width: 44px; height: 30px; border-radius: 999px;
  border: 2px solid var(--white); font-size: 1rem;
  transition: transform 0.5s var(--ease), background-color 0.3s;
}
.nametag__last { grid-column: 1 / -1; font-size: clamp(2.3rem, 4vw, 3.5rem); font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; }
.hero__visual:hover .nametag__arrow { transform: rotate(45deg); background: var(--flame); border-color: var(--flame); }

/* ═════════════ FAIXA DESLIZANTE (padrão PodPalco) ═════════════ */
.ticker { position: relative; z-index: 5; margin-block: -58px -40px; padding-block: 36px; overflow: hidden; pointer-events: none; }
.ticker__row { overflow: hidden; }
.ticker__row--a {
  position: relative; z-index: 2;
  rotate: -1.6deg; scale: 1.06;
  background: linear-gradient(90deg, #c94a00, var(--flame) 30%, var(--ember) 60%, var(--ember-soft));
  color: var(--coffee);
  box-shadow: 0 20px 40px -20px rgb(120 35 0 / 0.6);
}
.ticker__row--b {
  rotate: -0.5deg; scale: 1.06; margin-top: -4px;
  background: var(--coffee); color: var(--linen);
  border-block: 1px solid rgb(237 237 227 / 0.1);
}
.ticker__track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.ticker__track--rev { animation-direction: reverse; animation-duration: 44s; }
.ticker__group { display: flex; flex-shrink: 0; align-items: center; }
.ticker__group span {
  padding: 20px clamp(18px, 2.6vw, 34px);
  font: 700 clamp(1.6rem, 3.4vw, 2.6rem)/1 var(--f-title);
  text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap;
}
.ticker__row--b .ticker__group span { padding-block: 16px; font-size: clamp(1.3rem, 2.6vw, 2rem); color: rgb(237 237 227 / 0.88); }
.ticker__group i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--coffee); }
.ticker__row--b .ticker__group i { background: var(--flame); box-shadow: 0 0 12px rgb(255 106 0 / 0.8); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═════════════ DOBRA 2 — CONTEÚDO + FORMULÁRIO ═════════════ */
.learn { background: var(--cream); padding-block: clamp(56px, 7vw, 80px) clamp(64px, 8vw, 96px); }
.learn__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(32px, 6vw, 88px); align-items: start;
}

.h2 { font: 800 clamp(1.9rem, 3.4vw, 2.6rem)/1.08 var(--f-body); letter-spacing: -0.02em; color: var(--coffee); max-width: 20ch; text-wrap: balance; }
.h2 .hl { color: var(--flame); }
.h2--light { color: var(--white); }
.h3 { margin-top: 14px; max-width: 30ch; font: 600 clamp(1.25rem, 2.2vw, 1.75rem)/1.2 var(--f-body); letter-spacing: -0.01em; color: var(--coffee); }

.items { margin-top: 36px; display: grid; gap: 16px; }
.item {
  position: relative;
  display: grid; grid-template-columns: 88px 1fr; gap: 20px; align-items: center;
  padding: 10px 18px 10px 10px; margin-left: -10px;
  border-radius: 22px;
  transition: background-color 0.35s, box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}
.item:hover { background: var(--white); box-shadow: 0 18px 40px -24px rgb(24 19 31 / 0.35); transform: translateX(6px); }
.item__icon {
  display: grid; place-items: center;
  width: 88px; height: 82px; border-radius: 20px;
  background: linear-gradient(145deg, var(--peach), var(--peach-2));
  color: var(--flame); font-size: 2.3rem;
  transition: transform 0.5s var(--ease-spring), background 0.35s, color 0.35s;
}
.item__icon .ico { stroke-width: 1.7; }
.item:hover .item__icon { transform: rotate(-6deg) scale(1.06); background: var(--flame); color: var(--white); }
.item__text p { font-size: 1.22rem; line-height: 1.3; color: var(--coffee); }
.item__text .item__sub { margin-top: 4px; font-size: 1.02rem; color: var(--ink-soft); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tags li {
  padding: 5px 13px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--peach-2);
  color: var(--ember-text); font-size: 0.9rem; font-weight: 600;
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.tags li:hover { background: var(--flame); border-color: var(--flame); color: var(--white); transform: translateY(-2px); }

/* Formulário — cartão claro */
.form-col { position: sticky; top: 88px; scroll-margin-top: 88px; }
/* Box laranja de destaque atrás do cartão do formulário */
.form-box {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 18px;
  border-radius: 32px;
  background: linear-gradient(150deg, var(--ember-soft) 0%, var(--flame) 45%, #b94200 100%);
  box-shadow: 0 40px 70px -34px rgb(232 93 4 / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.35);
}
.form-box::before {
  content: ""; position: absolute; inset: -40%; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 40% at 80% 10%, rgb(255 255 255 / 0.35), transparent 70%), radial-gradient(45% 45% at 10% 95%, rgb(120 35 0 / 0.35), transparent 70%);
  animation: breathe 9s ease-in-out infinite;
}
.form-box .card { box-shadow: 0 24px 44px -24px rgb(90 25 0 / 0.55); border-color: rgb(255 255 255 / 0.6); }
.card {
  position: relative;
  padding: 30px 28px 26px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 40px 70px -40px rgb(24 19 31 / 0.35), 0 2px 6px rgb(24 19 31 / 0.04);
}
.card::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 4px; border-radius: 0 0 6px 6px;
  background: linear-gradient(90deg, var(--flame), var(--ember-soft));
}
.form-box.is-pulse { animation: pulse-box 1.1s var(--ease); }
@keyframes pulse-box { 0% { box-shadow: 0 0 0 0 rgb(232 93 4 / 0.55), 0 40px 70px -34px rgb(232 93 4 / 0.7); } 100% { box-shadow: 0 0 0 22px rgb(232 93 4 / 0), 0 40px 70px -34px rgb(232 93 4 / 0.7); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(232 93 4 / 0.45), 0 40px 70px -40px rgb(24 19 31 / 0.35); } 100% { box-shadow: 0 0 0 20px rgb(232 93 4 / 0), 0 40px 70px -40px rgb(24 19 31 / 0.35); } }

.card__head h2 { font: 800 1.35rem/1.2 var(--f-body); letter-spacing: -0.01em; color: var(--flame); text-align: center; text-wrap: balance; }
.form { display: grid; gap: 12px; margin-top: 22px; }
.field { position: relative; }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0 16px;
  border: 1.5px solid #e3dccf; border-radius: 12px;
  background: #fdfbf7; color: var(--coffee);
  font: 500 1rem var(--f-body);
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.field select:invalid, .field select:has(option[value=""]:checked) { color: #8d8590; }
.field select option { color: var(--coffee); }
.field__chev { position: absolute; right: 16px; top: 25px; translate: 0 -50%; font-size: 1.15rem; color: var(--ember-text); pointer-events: none; transition: rotate 0.3s var(--ease); }
.field select:focus + .field__chev { rotate: 180deg; }
.field input::placeholder { color: #8d8590; }
.field input:hover, .field select:hover { border-color: #d3c8b6; }
.field input:focus, .field select:focus { outline: none; border-color: var(--flame); background: var(--white); box-shadow: 0 0 0 4px rgb(232 93 4 / 0.14); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--err); box-shadow: 0 0 0 4px rgb(217 45 32 / 0.1); }
/* mensagens de erro: as nossas e as do capture.js usam a mesma caixa */
.field-error { display: none; margin-top: 6px; font-size: 0.84rem; font-weight: 500; color: var(--err); }
.field-error.show { display: block; }
.form .btn { margin-top: 6px; min-height: 56px; font-size: 1.2rem; }
.form__foot { display: grid; gap: 12px; }
/* durante o envio o capture.js esconde os blocos do formulário com .hidden */
.form > div.hidden { display: none !important; }
.loading-box, .error-box { display: none; text-align: center; padding: 28px 8px; }
.loading-box.show, .error-box.show { display: grid; justify-items: center; gap: 14px; animation: rise 0.5s var(--ease) both; }
.loading-box__spin { width: 54px; height: 54px; border-radius: 50%; border: 4px solid var(--peach); border-top-color: var(--flame); animation: spin 0.8s linear infinite; }
.loading-box div { font-weight: 700; color: var(--coffee); }
.error-box__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #fdecea; color: var(--err); font: 800 1.6rem/1 var(--f-body); }
.error-box div { color: var(--coffee); font-weight: 500; line-height: 1.45; }
.error-box div span { display: inline; }
.form__note { text-align: center; font-weight: 700; font-size: 0.95rem; color: var(--ember-text); }
.form__legal { text-align: center; font-size: 0.8rem; line-height: 1.5; color: #6f6672; }
.form__legal a { color: var(--coffee); }

.success { text-align: center; padding-block: 6px; outline: none; animation: rise 0.6s var(--ease) both; }
.success__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--flame); color: var(--white); font-size: 2.2rem; box-shadow: 0 16px 30px -12px rgb(232 93 4 / 0.8); animation: pop 0.7s var(--ease-spring) both 0.1s; }
.success__icon .ico { stroke-width: 2.6; }
.success h3 { font: 800 1.7rem/1.1 var(--f-body); color: var(--coffee); }
.success p { margin-top: 10px; color: var(--ink-soft); }
.pill--soft { margin-top: 16px !important; border-color: var(--peach-2); background: var(--peach); color: var(--ember-text) !important; font-size: 0.95rem; backdrop-filter: none; }
.success .btn { margin-top: 18px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ═════════════ DOBRA 3 — QUEM É ═════════════ */
.about {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--white);
  background: linear-gradient(266deg, var(--flame) 0%, #a83a02 48%, #6a1d02 100%);
}
.about::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 70% at 22% 60%, rgb(255 180 120 / 0.35), transparent 70%);
}
.about__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 64px); align-items: end; }
.about__photo { position: relative; align-self: end; padding-top: 48px; }
.about__photo img {
  position: relative; z-index: 1; width: 100%; max-width: 520px; margin-inline: auto;
  filter: drop-shadow(0 30px 40px rgb(60 15 0 / 0.45));
  will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, #000 85%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 85%, transparent 100%);
}
/* mesmo efeito do hero, em branco para o fundo laranja */
.halo--light { bottom: 16%; width: 80%; background: radial-gradient(circle at 50% 45%, rgb(255 236 220 / 0.6), rgb(255 255 255 / 0.16) 45%, transparent 70%); }
.rings--light { bottom: 10%; width: 96%; }
.rings--light .ring--3 { width: 122%; }
.rings--light .ring { border-color: rgb(255 255 255 / 0.22); }
.rings--light .ring--2 { border-color: rgb(255 255 255 / 0.28); }
.rings--light .ring--3 { border-color: rgb(255 255 255 / 0.14); }
.rings--light .ring i { background: #fff; box-shadow: 0 0 14px 3px rgb(255 255 255 / 0.75); }
.rings--light .ring--3 i { background: var(--coffee); box-shadow: 0 0 10px 2px rgb(24 19 31 / 0.4); }
/* entrada: a foto sobe e cresce quando a seção aparece */
.js .about__photo img { opacity: 0; translate: 0 40px; scale: 0.96; transition: opacity 1.2s var(--ease), translate 1.2s var(--ease), scale 1.2s var(--ease); }
.js .about__photo.is-in-view img { opacity: 1; translate: 0 0; scale: 1; }
.js .about__photo .rings, .js .about__photo .halo { opacity: 0; transition: opacity 1.4s var(--ease) 0.2s; }
.js .about__photo.is-in-view .rings, .js .about__photo.is-in-view .halo { opacity: 1; }

.stat {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 14px; border-radius: 18px;
  background: rgb(255 255 255 / 0.16);
  border: 1px solid rgb(255 255 255 / 0.3);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 36px -18px rgb(40 10 0 / 0.6);
  font-size: 0.86rem; font-weight: 600; line-height: 1.2;
  transition: transform 0.4s var(--ease);
}
.stat strong { font: 700 2.4rem/1 var(--f-title); color: var(--white); }
.stat strong { display: flex; flex-direction: column; align-items: flex-start; }
.stat strong small { font: 600 0.62rem/1 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; margin-bottom: 2px; }
.stat .ico { width: 42px; height: 42px; padding: 9px; border-radius: 50%; background: var(--white); color: var(--flame); stroke-width: 2; }
.stat--a { left: 0; top: 34%; }
.stat--b { right: 2%; bottom: 18%; }

.about__content { padding-block: clamp(56px, 8vw, 96px); }
.about__role { margin-top: 12px; font-weight: 700; font-size: 1.02rem; letter-spacing: 0.02em; color: #ffe1c9; }
.about__text { margin-top: 24px; display: grid; gap: 14px; font-size: 1.12rem; line-height: 1.5; color: rgb(255 255 255 / 0.94); }
.about__quote { margin-top: 6px; padding: 16px 20px; border-radius: 16px; background: rgb(24 19 31 / 0.22); border-left: 4px solid var(--linen); font-size: 1.2rem; line-height: 1.4; }
.about__content > .btn { margin-top: 28px; }

/* ═════════════ DOBRA 4 — FECHAMENTO ═════════════ */
.closing {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--coffee); color: var(--white); text-align: center;
  padding-block: clamp(72px, 9vw, 112px);
}
.glow--c { width: 760px; height: 420px; left: 50%; top: -40%; transform: translateX(-50%); background: radial-gradient(ellipse, rgb(232 93 4 / 0.55), transparent 65%); z-index: -1; animation: none; }
.closing__inner { display: flex; flex-direction: column; align-items: center; }
.closing__title { max-width: 22ch; font: 800 clamp(2rem, 4vw, 2.9rem)/1.1 var(--f-body); letter-spacing: -0.02em; color: var(--ember-soft); text-wrap: balance; }
.closing__sub { margin-top: 18px; max-width: 34ch; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.35; color: var(--linen); text-wrap: balance; }
.closing .btn { margin-top: 32px; }

/* ═════════════ RODAPÉ (padrão do ecossistema) ═════════════ */
.footer { background: var(--coffee); color: var(--linen); border-top: 1px solid rgb(237 237 227 / 0.12); padding-block: 44px 28px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer__brand { display: flex; align-items: center; gap: 22px; }
.footer__brand img { width: 128px; }
.footer__brand p { max-width: 30ch; font-size: 0.9rem; color: rgb(237 237 227 / 0.7); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgb(237 237 227 / 0.4); color: rgb(237 237 227 / 0.85); font-size: 1.05rem;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s, transform 0.4s var(--ease-spring);
}
.footer__social a:hover { border-color: var(--flame); background: var(--flame); color: var(--white); transform: translateY(-3px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgb(237 237 227 / 0.14); font-size: 0.8rem; color: rgb(237 237 227 / 0.55); }
.footer__bottom a { text-decoration: none; transition: color 0.25s; }
.footer__bottom a:hover { color: var(--ember-soft); }

/* ═════════════ CTA FIXO (celular) ═════════════ */
.sticky-cta {
  display: none; position: fixed; inset: auto 0 0 0; z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgb(251 246 236 / 0.95) 40%);
  transform: translateY(110%); transition: transform 0.45s var(--ease);
}
.sticky-cta.is-on { transform: none; }

/* ═════════════ PÁGINA DE OBRIGADO ═════════════ */
.hero--thanks .hero__content { padding-block: 48px 96px; max-width: 560px; }
.thanks__badge {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 36px;
  padding: 7px 16px 7px 8px; border-radius: 999px;
  background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.22);
  backdrop-filter: blur(8px);
  font: 700 0.85rem/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--white);
}
.thanks__check { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--flame); color: var(--white); font-size: 1rem; box-shadow: 0 0 0 0 rgb(255 106 0 / 0.6); animation: ping 2.4s var(--ease) infinite; }
.thanks__check .ico { stroke-width: 3; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgb(255 106 0 / 0.6); } 70%, 100% { box-shadow: 0 0 0 12px rgb(255 106 0 / 0); } }

/* próximo passo: a comunidade em destaque */
.next {
  margin-top: 30px; padding: 22px;
  border-radius: 24px;
  background: linear-gradient(150deg, rgb(255 154 77 / 0.22), rgb(232 93 4 / 0.12));
  border: 1px solid rgb(255 154 77 / 0.45);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px -30px rgb(232 93 4 / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.15);
}
.next__step { font: 700 0.78rem/1 var(--f-body); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember-soft); }
.next__title { margin-top: 8px; font: 600 1.3rem/1.3 var(--f-body); color: var(--white); }
.next__title strong { color: var(--white); text-transform: uppercase; letter-spacing: 0.02em; }
.next .btn { margin-top: 16px; }
.btn .ico--wa { font-size: 1.45rem; stroke-width: 1.9; }
.btn:hover .ico--wa { transform: none; }

/* dúvidas: discreto */
.help {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  padding: 10px 14px 10px 10px; border-radius: 999px;
  color: rgb(237 237 227 / 0.78); font-size: 0.98rem; text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
}
.help .ico { font-size: 1.3rem; color: var(--ember-soft); }
.help u { text-decoration-color: rgb(255 154 77 / 0.6); text-underline-offset: 3px; transition: text-decoration-color 0.3s; }
.help:hover { background: rgb(255 255 255 / 0.08); color: var(--white); }
.help:hover u { text-decoration-color: var(--ember-soft); }

/* enquanto a aula não chega */
.steps { background: var(--cream); padding-block: clamp(72px, 9vw, 104px) clamp(64px, 8vw, 96px); }
.steps .h2 { max-width: none; text-align: center; margin-inline: auto; }
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.step {
  padding: 26px 24px; border-radius: 24px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgb(24 19 31 / 0.04);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.step:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -30px rgb(24 19 31 / 0.4); border-color: var(--peach-2); }
.step:hover .item__icon { transform: rotate(-6deg) scale(1.06); background: var(--flame); color: var(--white); }
.step .item__icon { width: 64px; height: 60px; border-radius: 16px; font-size: 1.75rem; }
.step h3 { margin-top: 18px; font: 800 1.2rem/1.25 var(--f-body); color: var(--coffee); }
.step p { margin-top: 8px; color: var(--ink-soft); font-size: 1rem; }
.step__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 700; color: var(--ember-text); text-decoration: none; }
.step__link .ico { transition: transform 0.4s var(--ease); }
.step__link:hover .ico { transform: translateX(4px); }

@media (max-width: 860px) {
  .hero--thanks .hero__content { padding-block: 32px 8px; }
  .steps__list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .next { padding: 18px; }
  .next .btn { padding: 0 18px; gap: 8px; font-size: 1.08rem; white-space: nowrap; }
  .next__title { font-size: 1.15rem; }
  .help { font-size: 0.92rem; }
}

/* ═════════════ ANIMAÇÕES DE ENTRADA (scroll) ═════════════ */
.js .up { opacity: 0; transform: translateY(28px); filter: blur(4px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js .up.is-in { opacity: 1; transform: none; filter: none; }
.js .hero__photo { opacity: 0; translate: 0 40px; scale: 0.96; transition: opacity 1.2s var(--ease) 0.2s, translate 1.2s var(--ease) 0.2s, scale 1.2s var(--ease) 0.2s; }
.js .hero.is-ready .hero__photo { opacity: 1; translate: 0 0; scale: 1; }
.js .float, .js .nametag, .js .stat { opacity: 0; transition: opacity 0.8s var(--ease), translate 0.8s var(--ease); translate: 0 16px; }
.js .is-ready .float, .js .is-ready .nametag, .js .is-in-view .stat { opacity: 1; translate: 0 0; }
.js .is-ready .float--a { transition-delay: 0.7s; }
.js .is-ready .float--b { transition-delay: 0.85s; }
.js .is-ready .float--c { transition-delay: 1s; }
.js .is-ready .nametag { transition-delay: 0.6s; }
.js .is-in-view .stat--b { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js .about__photo .rings, .js .about__photo .halo { opacity: 1 !important; transition: none !important; }
  .js .up, .js .hero__photo, .js .about__photo img, .js .float, .js .nametag, .js .stat { opacity: 1 !important; transform: none !important; translate: none !important; scale: none !important; filter: none !important; transition: none !important; }
}

/* ═════════════ RESPONSIVO ═════════════ */
@media (max-width: 1024px) {
  .learn__grid { grid-template-columns: minmax(0, 1fr) 340px; }
  .float--c { display: none; }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero__content { padding-block: 32px 8px; }
  .hero__visual { margin-top: 8px; padding-bottom: 20px; }
  .hero__photo { width: 108%; max-width: 520px; margin-inline: -4%; }
  .nametag { right: 4%; bottom: 76px; }
  .float--a { left: 2%; }

  .learn__grid { grid-template-columns: 1fr; }
  .form-col { position: relative; top: 0; }

  .about__grid { grid-template-columns: 1fr; }
  .about__photo { order: 2; max-width: 440px; margin-inline: auto; padding-top: 0; }
  .about__content { padding-bottom: 24px; }

  .sticky-cta { display: block; }
  .topbar__info { display: none; }
  .topbar .btn { margin-left: auto; }
}

@media (max-width: 560px) {
  .eyebrow { margin-top: 28px; }
  .hero__title { font-size: clamp(2.3rem, 11.4vw, 3rem); }
  .btn--lg { min-height: 58px; }
  .hero__sub { font-size: 1.2rem; }
  .pill { font-size: 0.98rem; padding: 6px 14px; }
  .hero__content .btn, .closing .btn, .about__content > .btn { width: 100%; }
  .ticker { margin-block: -40px -26px; padding-block: 22px; }
  .ticker__group i { width: 9px; height: 9px; }
  .float { width: 52px; height: 52px; font-size: 1.3rem; }
  .float--b { width: 46px; height: 46px; }

  .item { grid-template-columns: 64px 1fr; gap: 14px; padding: 8px; margin-left: -8px; }
  .item__icon { width: 64px; height: 60px; border-radius: 16px; font-size: 1.75rem; }
  .item__text p { font-size: 1.08rem; }
  .card { padding: 26px 20px 22px; }
  .form-box { padding: 12px; border-radius: 26px; }

  .stat { padding: 10px 14px 10px 10px; font-size: 0.78rem; }
  .stat strong { font-size: 1.9rem; }

  .footer { padding-bottom: 104px; }
  .footer__inner, .footer__brand { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__bottom { flex-direction: column; }
}
