/* ============================================================
   A CHAVE · OUTSIDER SCHOOL
   Design tokens + layout + components
   ============================================================ */

:root {
  /* Cores */
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --surface: #151515;
  --surface-2: #1e1e1e;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f5f5f5;
  --text-muted: #a1a1a1;
  --text-dim: #6b6b6b;

  /* Light surface tokens */
  --bg-light: #f5f5f3;
  --bg-gray: #16181b;
  --surface-light: #ffffff;
  --text-on-light: #0a0a0a;
  --text-on-light-muted: #555;
  --line-on-light: rgba(0, 0, 0, 0.08);

  /* Accents */
  --accent: #ebd197;      /* dourado Outsider — highlights de texto */
  --accent-soft: #f4e1b5;
  --accent-deep: #c9ab6b;

  /* CTA — verde (Outsider) */
  --cta: #22c55e;
  --cta-hover: #16a34a;
  --cta-deep: #15803d;
  --cta-fg: #02120a;

  --whatsapp: #25d366;
  --danger: #ff5a5a;

  /* Tipografia */
  --font-body: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;

  --fs-display-xl: clamp(2.5rem, 1.6rem + 4.2vw, 5rem);
  --fs-display-lg: clamp(2rem, 1.4rem + 2.8vw, 3.5rem);
  --fs-display: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --fs-h3: clamp(1.2rem, 1rem + 0.8vw, 1.5rem);
  --fs-body: 1rem;
  --fs-lede: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 640px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur: 260ms;
}

/* ---------- Reset moderno ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
em { font-style: italic; }

/* ---------- Primitives ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 6vw, 6rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 4vw, 4rem); }
.section--dark { background: var(--bg-soft); }
.section--gray { background: var(--bg-gray); }

.section--light {
  background: var(--bg-light);
  color: var(--text-on-light);
}
.section--light .eyebrow { color: var(--cta); }
.section--light h2 { color: var(--text-on-light); }
.section--light h2 em { color: var(--cta-deep); font-style: italic; }
.section--light .section-head__sub { color: var(--text-on-light-muted); }

.section--form { background: linear-gradient(180deg, var(--bg) 0%, #0b130e 100%); }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 var(--space-2);
}
.eyebrow.center { text-align: center; }

.display, h1.display {
  font-family: var(--font-display);
  font-size: var(--fs-display-xl);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.display em { font-style: italic; color: var(--accent); font-weight: 300; }
.display--muted { display: block; color: var(--text-muted); margin-top: 0.35em; }

.section-head {
  max-width: 780px;
  margin: 0 auto var(--space-5);
  text-align: center;
}
.section-head__icon {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  background: rgba(235, 209, 151, 0.1);
  color: var(--accent);
  border-radius: 50%;
  margin: 0 auto var(--space-2);
  border: 1px solid rgba(235, 209, 151, 0.25);
}
.section-head__icon svg { width: 24px; height: 24px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-display-lg);
  font-weight: 300;
  letter-spacing: -0.015em;
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-head__sub {
  color: var(--text-muted);
  margin-top: var(--space-2);
  font-size: var(--fs-lede);
  max-width: 600px;
  margin-inline: auto;
}
.section__cta { margin-top: var(--space-6); text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.2rem 2.4rem;
  background: var(--cta);
  color: var(--cta-fg);
  border: 1px solid var(--cta);
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.015em;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  text-decoration: none;
  font-size: 1.075rem;
  white-space: nowrap;
  box-shadow: 0 10px 28px -10px rgba(34, 197, 94, 0.55);
}
.btn:hover {
  transform: translateY(-2px);
  background: var(--cta-hover);
  border-color: var(--cta-hover);
  box-shadow: 0 16px 32px -10px rgba(34, 197, 94, 0.6);
}
.btn:active { transform: translateY(0); }

.btn--cta { background: var(--cta); color: var(--cta-fg); border-color: var(--cta); }
.btn--cta:hover { background: var(--cta-hover); border-color: var(--cta-hover); }

.btn--block { width: 100%; padding-block: 1.45rem; font-size: 1.1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  padding: 1rem 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; color: var(--accent); }
.brand img { width: 36px; height: 36px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.brand-right { font-size: 0.85rem; color: var(--text-muted); }
.brand-right strong { color: var(--accent); font-weight: 600; }
.brand-right sup { font-size: 0.65em; }

@media (max-width: 520px) {
  .brand__name { font-size: 1.1rem; letter-spacing: 0.12em; }
  .brand-right .powered { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-block: 7rem 4rem;
}
.hero__media { position: absolute; inset: 0; z-index: 1; }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero__overlay {
  position: absolute; inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.5) 50%, rgba(10,10,10,0.95) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.2) 50%, rgba(10,10,10,0.4) 100%);
}
.hero__content { position: relative; z-index: 3; max-width: 960px; }
.hero__content .eyebrow { margin-bottom: 1.25rem; }
.hero__lede {
  color: var(--text-muted);
  font-size: var(--fs-lede);
  max-width: 640px;
  margin-top: 1.5rem;
  line-height: 1.65;
}
.hero__lede strong { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

.hero__scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 22px; height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  display: grid; place-items: center;
  animation: float 2s ease-in-out infinite;
}
.hero__scroll span {
  width: 3px; height: 6px;
  background: var(--accent);
  border-radius: 2px;
}
@keyframes float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* ============================================================
   PROVA SOCIAL
   ============================================================ */
.prova__logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-block: 1.5rem 0;
  padding-block: 1rem;
  border-block: 1px solid var(--line);
}
.prova__logos img {
  max-height: 44px;
  width: auto;
  margin: 0 auto;
  opacity: 0.65;
  filter: grayscale(1) brightness(1.4);
  transition: opacity var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.prova__logos img:hover { opacity: 1; filter: grayscale(0) brightness(1); }

/* ============================================================
   TWO COMMA CLUB — SHOWCASE
   ============================================================ */
.two-comma__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.4fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.two-comma__media {
  background: radial-gradient(circle at center, rgba(235,209,151,0.14), transparent 70%);
  padding: 2rem;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
}
.two-comma__media img {
  max-width: 360px;
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(235,209,151,0.25));
}
.two-comma__copy h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-display-lg);
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}
.two-comma__copy h2 em { font-style: italic; color: var(--accent); }
.two-comma__copy .lede {
  color: var(--text-muted);
  font-size: var(--fs-lede);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 540px;
}
.two-comma__copy strong { color: var(--text); font-weight: 600; }

@media (max-width: 820px) {
  .two-comma__grid { grid-template-columns: 1fr; text-align: center; }
  .two-comma__copy .lede { margin-inline: auto; }
  .two-comma__media img { max-width: 280px; }
}

/* ============================================================
   PILARES
   ============================================================ */
.pilares__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.pilar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative;
}
.pilar:hover { transform: translateY(-4px); border-color: var(--accent-deep); }
.pilar__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: rgba(235, 209, 151, 0.08);
  border: 1px solid rgba(235, 209, 151, 0.18);
  color: var(--accent);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}
.pilar__icon svg { width: 24px; height: 24px; }
.pilar__num {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-dim);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.pilar h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.005em;
  padding-right: 3rem;
}
.pilar p { color: var(--text-muted); font-size: 0.95rem; }
.pilar em { color: var(--text); font-style: italic; }

/* ============================================================
   RESULTADOS · depoimento prints
   ============================================================ */
.resultados__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.resultados__grid img {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease);
}
.resultados__grid img:hover { transform: scale(1.02); }

/* ============================================================
   ALUNOS — Quem já passou
   ============================================================ */
.alunos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem 1.75rem;
  max-width: 1180px;
  margin: 0 auto;
}
@media (min-width: 960px) {
  .alunos__grid { grid-template-columns: repeat(4, 1fr); }
}
.aluno {
  margin: 0;
  text-align: center;
}
.aluno img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 50%;
  border: 2px solid var(--line);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.aluno:hover img {
  transform: scale(1.04);
  border-color: var(--accent-deep);
}
.aluno figcaption {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.005em;
  line-height: 1.2;
}

/* ============================================================
   TIMELINE · Jornada
   ============================================================ */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-left: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 1rem; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--accent-deep) 10%, var(--accent-deep) 90%, transparent 100%);
  opacity: 0.4;
}
.timeline__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  align-items: flex-start;
  position: relative;
}
.timeline__step:last-child { padding-bottom: 0; }
.timeline__marker {
  width: 44px;
  height: 44px;
  margin-left: -2rem;
  background: var(--bg);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--bg-gray);
}
.timeline__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.timeline__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.timeline__card:hover { transform: translateX(4px); border-color: var(--accent-deep); }
.timeline__card::before {
  content: "";
  position: absolute;
  left: -8px; top: 20px;
  width: 14px; height: 14px;
  background: var(--surface);
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.timeline__icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(235, 209, 151, 0.08);
  border: 1px solid rgba(235, 209, 151, 0.18);
  color: var(--accent);
  border-radius: 8px;
  margin-bottom: 0.25rem;
}
.timeline__icon svg { width: 20px; height: 20px; }
.timeline__card h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
.timeline__card p { color: var(--text-muted); font-size: 0.95rem; }

.section--gray .timeline__marker { box-shadow: 0 0 0 6px var(--bg-gray); }
.section--gray .timeline__card { background: #1e2126; }
.section--gray .timeline__card::before { background: #1e2126; }

/* ============================================================
   INCLUSO — light section with SVG icons
   ============================================================ */
.incluso__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  max-width: 1080px;
  margin: 0 auto;
}
.inc-card {
  background: var(--surface-light);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.inc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -18px rgba(0,0,0,0.12);
  border-color: rgba(34,197,94,0.35);
}
.inc-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(34,197,94,0.12);
  color: var(--cta-deep);
  border-radius: 10px;
  margin-bottom: 1rem;
}
.inc-card__icon svg { width: 22px; height: 22px; }
.inc-card h3 {
  font-size: 1.05rem;
  color: var(--text-on-light);
  margin-bottom: 0.35rem;
  letter-spacing: -0.005em;
}
.inc-card p {
  color: var(--text-on-light-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ============================================================
   PREMIAÇÕES
   ============================================================ */
.premiacoes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.premio {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.premio:hover { transform: translateY(-4px); border-color: var(--accent-deep); }
.premio img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}
@media (min-width: 960px) {
  .premio img { aspect-ratio: 4 / 5; }
}

@media (min-width: 960px) {
  .premiacoes__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================================
   FORMULÁRIO
   ============================================================ */
.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  gap: 1.15rem;
  margin-top: 2rem;
  position: relative;
}
.form__row { display: grid; gap: 1.15rem; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form__row--2 { grid-template-columns: 1fr; } }

.field { display: grid; gap: 0.45rem; }
.field__label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.field input,
.field select,
.field textarea {
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  color: var(--text);
  width: 100%;
  font-family: inherit;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cta);
  background: #0b1a11;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%2322c55e' stroke-width='1.5' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field textarea { resize: vertical; min-height: 110px; }

.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form__note {
  font-size: var(--fs-xs);
  color: var(--text-dim);
  text-align: center;
  margin-top: 0.5rem;
}
.field.is-error input,
.field.is-error select,
.field.is-error textarea { border-color: var(--danger); }
.field__error { font-size: var(--fs-xs); color: var(--danger); margin-top: 0.25rem; }
.form--loading { opacity: 0.6; pointer-events: none; }
.form__success, .form__fail {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-top: 1rem;
}
.form__success { background: rgba(34, 197, 94, 0.1); border: 1px solid var(--cta); color: var(--cta); }
.form__fail { background: rgba(255, 90, 90, 0.1); border: 1px solid var(--danger); color: var(--danger); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060606;
  padding-block: 3rem;
  border-top: 1px solid var(--line);
}
.footer__row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: flex-end;
}
.footer__brand p {
  color: var(--text-dim);
  font-size: var(--fs-xs);
  margin-top: 1rem;
  line-height: 1.6;
}
.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  text-align: right;
}
.footer__meta a { transition: color var(--dur) var(--ease); }
.footer__meta a:hover { color: var(--cta); }

/* Footer no padrão Outsider School (centralizado, com logo + brands) */
.footer--os { text-align: center; }
.footer--os .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.footer--os p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0.25rem 0;
}
.footer--os .footer-brands {
  color: var(--text-dim);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin-top: 0.75rem;
}
.footer--os .footer-contact {
  margin-top: 1rem;
  font-size: 0.85rem;
}
.footer--os .footer-contact a {
  color: var(--text-muted);
  transition: color var(--dur) var(--ease);
}
.footer--os .footer-contact a:hover { color: var(--cta); }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 50;
  width: 56px; height: 56px;
  background: var(--whatsapp);
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform var(--dur) var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }

/* WhatsApp FAB padrão Outsider School (mais compacto, sombra sutil) */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 40;
  width: 52px;
  height: 52px;
  background: rgb(37, 211, 102);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow:
    0 4px 24px rgba(37, 211, 102, 0.41),
    0 0 0 0.25px rgba(37, 211, 102, 0.004);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow:
    0 6px 28px rgba(37, 211, 102, 0.55),
    0 0 0 0.5px rgba(37, 211, 102, 0.05);
}
.whatsapp-fab svg { display: block; }
@media (max-width: 540px) {
  .whatsapp-fab { width: 48px; height: 48px; bottom: 20px; right: 20px; }
}

/* ============================================================
   MODAL (form de aplicação em pop-up)
   ============================================================ */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
  animation: modal-in 200ms var(--ease);
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  animation: modal-panel-in 280ms var(--ease);
}
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  z-index: 2;
}
.modal__close:hover {
  color: var(--text);
  border-color: var(--accent);
  transform: scale(1.05);
}
.modal__head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.modal__head .eyebrow { margin-bottom: 0.5rem; }
.modal__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.8rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.modal__head h2 em { color: var(--accent); font-style: italic; }
.modal__sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.modal .form {
  background: transparent;
  border: 0;
  padding: 0;
  margin-top: 0;
}

/* Body scroll lock quando modal aberto */
body.modal-open {
  overflow: hidden;
}

@keyframes modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modal-panel-in {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 540px) {
  .modal { padding: 0.5rem; }
  .modal__panel { padding: 1.5rem 1.25rem; max-height: 100vh; border-radius: var(--radius); }
  .modal__close { top: 0.6rem; right: 0.6rem; }
}

/* ============================================================
   GARANTIA 90 DIAS
   ============================================================ */
.garantia__grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.garantia__seal {
  display: grid;
  place-items: center;
}
.garantia__seal svg {
  width: 100%;
  max-width: 260px;
  height: auto;
  filter: drop-shadow(0 18px 36px rgba(235, 209, 151, 0.18));
}

.garantia__copy h2 {
  font-family: var(--font-display);
  font-size: var(--fs-display-lg);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0.25rem 0 1rem;
}
.garantia__copy h2 em { color: var(--accent); font-style: italic; }
.garantia__copy p {
  color: var(--text-muted);
  font-size: var(--fs-lede);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.garantia__copy strong { color: var(--text); font-weight: 600; }
.garantia__cta { margin-top: 1.5rem; }

@media (max-width: 720px) {
  .garantia__grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .garantia__seal { order: -1; }
  .garantia__cta { display: flex; justify-content: center; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq__list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.faq__item[open] {
  border-color: var(--accent-deep);
  background: var(--surface-2);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 3rem 1.15rem 1.5rem;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
  position: relative;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--dur) var(--ease);
}
.faq__item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}
.faq__item summary:hover { color: var(--accent); }
.faq__answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq__answer p { margin: 0; }
.faq__answer strong { color: var(--accent); font-weight: 600; }

/* ============================================================
   WHATSAPP CTA FINAL
   ============================================================ */
.wpp-cta {
  text-align: center;
}
.wpp-cta__action {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}
.btn--whatsapp {
  --btn-bg: #25d366;
  --btn-hover: #1fb957;
  background: var(--btn-bg);
  color: #fff;
  border-color: var(--btn-bg);
  box-shadow: 0 10px 28px -10px rgba(37, 211, 102, 0.55);
}
.btn--whatsapp:hover {
  background: var(--btn-hover);
  border-color: var(--btn-hover);
  box-shadow: 0 16px 32px -10px rgba(37, 211, 102, 0.65);
}

/* ============================================================
   YOUTUBE FACADE (lazy-load do iframe pesado)
   Mostra só thumbnail + play. Quando o usuário clica, JS injeta o iframe.
   ============================================================ */
.depoimentos-video { padding-block: clamp(2.5rem, 4vw, 4rem); }

.yt-facade {
  position: relative;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  transition: transform var(--dur) var(--ease);
}
.yt-facade:hover { transform: translateY(-2px); }
.yt-facade picture,
.yt-facade img,
.yt-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.yt-facade img {
  object-fit: cover;
  display: block;
}
.yt-facade::after {
  /* dark overlay sutil */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}
.yt-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.yt-facade:hover .yt-facade__play {
  transform: translate(-50%, -50%) scale(1.08);
  filter: drop-shadow(0 6px 20px rgba(255, 0, 0, 0.45));
}
.yt-facade__play svg {
  width: 80px;
  height: 56px;
}

/* ============================================================
   REVEAL ON SCROLL — progressive enhancement
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .js-ready [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  .js-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* stagger na jornada */
  .js-ready .timeline__step[data-reveal] {
    transition-delay: calc(var(--idx, 0) * 80ms);
  }
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 720px) {
  .prova__logos { gap: 1.5rem; }
  .prova__logos img { max-height: 34px; }
  .timeline { padding-left: 1.5rem; }
  .timeline::before { left: 0.75rem; }
  .timeline__marker { margin-left: -1.5rem; width: 36px; height: 36px; }
  .timeline__num { font-size: 0.85rem; }
}
