/* ============================================
   HEMATOCIA — Sales Page
   Design System: Barlow + creme/vinho/teal
   ============================================ */

:root {
  --color-primary: #362139;
  --color-accent: #199aa0;
  --color-bg: #FAF4EC;
  --color-surface: #F2E7D5;
  --color-text: #362139;
  --color-muted: #6b5560;
  --color-border: #E8DCC9;

  --icon-on-light: #DF3437;
  --icon-on-light-2: #D13133;
  --icon-on-dark: #199aa0;
  --icon-on-dark-2: #F1E0C7;

  --container-max: 1280px;
  --padding-x-m: 20px;
  --padding-x-d: 80px;
  --section-py-m: 64px;
  --section-py-d: 100px;

  --radius-btn: 999px;
  --radius-card: 20px;
  --radius-img: 24px;
  --radius-input: 12px;

  --shadow-sm: 0 2px 8px rgba(54, 33, 57, .06);
  --shadow-md: 0 8px 24px rgba(54, 33, 57, .08);
  --shadow-lg: 0 20px 50px rgba(54, 33, 57, .12);
  --shadow-cta-hover: 0 12px 28px rgba(54, 33, 57, .25);
  --shadow-glow-accent: 0 0 40px rgba(25, 154, 160, .35);
}

* { box-sizing: border-box; }
*::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Barlow', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  color: var(--color-primary);
  text-wrap: balance;
}

h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 3.4vw, 44px); letter-spacing: -0.015em; line-height: 1.08; }
h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; line-height: 1.2; }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin: 0 0 16px;
  display: inline-block;
}
.dark .eyebrow { color: var(--color-icon-on-dark-2, #F1E0C7); }

.muted { color: var(--color-muted); }
.dark .muted { color: rgba(241, 224, 199, .7); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--padding-x-m);
}
@media (min-width: 900px) {
  .container { padding: 0 var(--padding-x-d); }
}

section {
  position: relative;
  padding: var(--section-py-m) 0;
  overflow: hidden;
}
@media (min-width: 900px) {
  section { padding: var(--section-py-d) 0; }
}

.section-light { background: var(--color-bg); }
.section-stack { overflow: visible; }
.section-surface { background: var(--color-surface); }
.section-dark { background: var(--color-primary); color: var(--color-bg); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--color-bg); }
.section-dark .muted { color: rgba(241, 224, 199, .75); }

/* grain overlay */
section::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .04;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}
.section-dark::after { opacity: .06; mix-blend-mode: overlay; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 56px;
  padding: 0 14px 0 30px;
  border-radius: var(--radius-btn);
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 17px;
  line-height: 1;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 250ms ease, background 250ms ease, box-shadow 250ms ease, color 250ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-primary);
  color: var(--color-bg);
}
.btn-primary:hover {
  background: #4a2d4e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover);
}
.btn-primary .btn-arrow {
  width: 36px; height: 36px;
  background: var(--color-bg);
  color: var(--color-primary);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform 250ms ease;
}
.btn-primary:hover .btn-arrow { transform: translateX(4px) rotate(-45deg); }

.btn-on-dark {
  background: var(--color-bg);
  color: var(--color-primary);
}
.btn-on-dark:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
}
.btn-on-dark .btn-arrow {
  width: 36px; height: 36px;
  background: var(--color-primary);
  color: var(--color-bg);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform 250ms ease;
}
.btn-on-dark:hover .btn-arrow { transform: translateX(4px) rotate(-45deg); }

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 0 28px;
  height: 52px;
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-bg);
}

.btn-lg {
  height: 64px;
  font-size: 18px;
  padding: 0 16px 0 36px;
}
.btn-lg .btn-arrow { width: 42px; height: 42px; }

.btn-block { display: flex; width: 100%; justify-content: space-between; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px 0;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease, backdrop-filter 200ms ease;
}
.nav.scrolled {
  background: rgba(250, 244, 236, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--color-border);
}
/* nav over dark hero — invert logo + CTA colors at top */
.nav:not(.scrolled) .logo { color: var(--color-bg); }
.nav:not(.scrolled) .logo-mark {
  background: rgba(250, 244, 236, .12);
  color: var(--color-bg);
  border: 1px solid rgba(250, 244, 236, .2);
}
.nav:not(.scrolled) .nav-price-tag { color: rgba(241, 224, 199, .7); }
.nav:not(.scrolled) .btn-primary {
  background: var(--color-bg);
  color: var(--color-primary);
}
.nav:not(.scrolled) .btn-primary .btn-arrow {
  background: var(--color-primary);
  color: var(--color-bg);
}
.nav:not(.scrolled) .btn-primary:hover {
  background: #fff;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 60px;
  width: auto;
  display: block;
  transition: filter 200ms ease, opacity 200ms ease;
}
/* logo over dark hero: keep as-is (dark bg of logo blends into dark blue) */
.nav:not(.scrolled) .logo img {
  filter: brightness(1.05);
}
.nav .btn {
  height: 46px;
  font-size: 15px;
  padding: 0 12px 0 22px;
  gap: 10px;
}
.nav .btn-arrow { width: 30px; height: 30px; }
.nav-price-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 4px;
}
@media (max-width: 700px) {
  .nav-price-tag { display: none; }
}

/* ---------- Hero (Dobra 1) — DARK BLUE ---------- */
.hero {
  --hero-bg: #0f1d3a;
  --hero-bg-accent: #16264a;
  background: var(--hero-bg);
  color: var(--color-bg);
  padding-top: 140px;
  padding-bottom: 0;
  position: relative;
  min-height: 760px;
  overflow: hidden;
}
@media (min-width: 900px) {
  .hero { padding-top: 160px; padding-bottom: 0; min-height: 900px; }
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(223, 52, 55, .14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 15% 90%, rgba(223, 52, 55, .10), transparent 60%);
  pointer-events: none;
}
.hero h1, .hero h2, .hero h3 { color: var(--color-bg); }
.hero .eyebrow { color: var(--color-accent); }
.hero-h1 .hl { color: var(--color-accent); }
.hero-sub { color: rgba(241, 224, 199, .75) !important; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  justify-items: center;
  position: relative;
  z-index: 1;
  min-height: 560px;
  text-align: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    align-items: end;
    justify-items: center;
  }
}
.hero-text {
  padding-bottom: 0;
  align-self: center;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 980px;
  width: 100%;
}
.hero-visual { min-width: 0; }
.hero-cta-row { justify-content: center; }
.hero-micro { justify-content: center; }
.hero-h1 { text-wrap: balance; }
.hero-sub { margin-left: auto; margin-right: auto; }
.hero-h1 {
  font-size: clamp(24px, 5.2vw, 66px);
  margin-bottom: 24px;
  line-height: 1.02;
}
.hero-sub {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--color-muted);
  margin-bottom: 36px;
  max-width: 560px;
  line-height: 1.5;
}
.hero-cta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  margin-bottom: 28px;
}
.hero-micro {
  display: flex; flex-wrap: wrap; gap: 12px;
  font-size: 14px;
  color: var(--color-muted);
}
.hero-micro span {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 14px;
  background: rgba(241, 224, 199, .06);
  border: 1px solid rgba(241, 224, 199, .15);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(241, 224, 199, .92);
  letter-spacing: 0.2px;
  transition: background 200ms ease, border-color 200ms ease, transform 200ms ease;
  backdrop-filter: blur(4px);
}
.hero-micro span:hover {
  background: rgba(25, 154, 160, .12);
  border-color: rgba(25, 154, 160, .45);
  transform: translateY(-2px);
}
.hero-micro span iconify-icon {
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: rgba(25, 154, 160, .18);
  border-radius: 50%;
  font-size: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  align-self: end;
  margin-bottom: 0;
  width: 100%;
  justify-self: center;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: visible;
  transform: none;
}
.hero-visual img.hero-photo {
  display: block;
  width: auto;
  height: 560px;
  max-width: none;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45));
  margin-right: 0;
}
@media (max-width: 1100px) {
  .hero-visual { transform: none; }
  .hero-visual img.hero-photo { height: 480px; margin-right: 0; }
}
@media (max-width: 899px) {
  .hero-visual {
    margin: 0 auto;
    justify-self: center;
    justify-content: center;
    transform: none;
  }
  .hero-visual img.hero-photo {
    height: 420px;
    margin-right: 0;
  }
}
/* mouse-follow orb */
.hero-blob {
  position: absolute;
  width: 360px; height: 360px;
  top: -80px; right: -100px;
  z-index: 0;
  opacity: .9;
  animation: float 7s ease-in-out infinite;
  pointer-events: none;
}
.hero-cursor-orb {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 52, 55, .42) 0%, rgba(223, 52, 55, .18) 35%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
  left: 0; top: 0;
  transform: translate(-50%, -50%) translate3d(var(--mx, 50%), var(--my, 50%), 0);
  opacity: 0;
  transition: opacity 500ms ease;
  will-change: transform, opacity;
  mix-blend-mode: screen;
}
.hero.is-hovering .hero-cursor-orb { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-cursor-orb { display: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(6deg); }
}

.hero-card-float {
  position: absolute;
  left: 20px; bottom: 20px;
  background: rgba(250, 244, 236, .96);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .3);
  max-width: 260px;
}
.hero-card-float iconify-icon {
  font-size: 28px;
  color: var(--icon-on-light);
  flex-shrink: 0;
}
.hero-card-float-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.3;
}
.hero-card-float-text small {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 2px;
}

/* ---------- Image placeholders ---------- */
.img-ph {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--color-muted);
  padding: 24px;
  background:
    repeating-linear-gradient(135deg,
      rgba(54, 33, 57, .03) 0px,
      rgba(54, 33, 57, .03) 1px,
      transparent 1px,
      transparent 9px),
    var(--color-surface);
  border: 1px solid var(--color-border);
  position: relative;
}
.img-ph.dark {
  color: rgba(241, 224, 199, .65);
  background:
    repeating-linear-gradient(135deg,
      rgba(241, 224, 199, .05) 0px,
      rgba(241, 224, 199, .05) 1px,
      transparent 1px,
      transparent 9px),
    rgba(25, 154, 160, .08);
  border-color: rgba(241, 224, 199, .15);
}
.img-ph-label {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--color-primary);
  font-weight: 500;
  margin-bottom: 8px;
}
.img-ph.dark .img-ph-label {
  background: rgba(241, 224, 199, .1);
  border-color: rgba(241, 224, 199, .2);
  color: var(--icon-on-dark-2);
}
.img-ph-desc { max-width: 220px; line-height: 1.4; }

/* ---------- Dobra 2 — Identificação ---------- */
.ident-head { text-align: center; margin-bottom: 56px; }
.ident-head h2 { max-width: 720px; margin: 0 auto; }
.ident-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 760px) {
  .ident-grid { grid-template-columns: 1fr 1fr; gap: 20px 32px; }
}
.ident-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 12px 0;
}
.ident-icon {
  width: 64px; height: 64px;
  flex-shrink: 0;
  display: grid; place-items: center;
}
.ident-icon img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(54, 33, 57, .18));
  transition: transform 350ms ease;
}
.ident-item:hover .ident-icon img { transform: translateY(-3px) rotate(-4deg); }
.ident-text { font-size: 17px; line-height: 1.5; color: var(--color-text); padding-top: 18px; }
.ident-text strong { font-weight: 600; }

/* ---------- Dobra 3 — Problema ---------- */
.prob-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .prob-grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 72px; }
}
.prob-visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius-img);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.prob-text { position: relative; }
@media (min-width: 900px) {
  .prob-text {
    position: sticky;
    top: 120px;
    align-self: start;
  }
}
.prob-text h2 { margin-bottom: 28px; max-width: 540px; }
.prob-text p { font-size: 18px; line-height: 1.65; margin-bottom: 20px; color: var(--color-muted); }
.prob-text p strong { color: var(--color-primary); font-weight: 500; }
.prob-anchor {
  margin-top: 32px;
  padding: 28px 32px;
  background: var(--color-bg);
  border-left: 3px solid var(--color-accent);
  border-radius: 4px 16px 16px 4px;
  font-size: 22px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.3;
}

/* card stack — pinned + scroll-driven entrance */
.prob-grid.has-stack {
  align-items: start;
}
.prob-stack-wrap {
  position: relative;
  min-height: 70vh;
}
.prob-stack {
  position: sticky;
  top: 120px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  padding-bottom: 200px;
}
.prob-card {
  grid-row: 1;
  grid-column: 1;
  position: relative;
  width: 100%;
  aspect-ratio: 1.91 / 1;
  border-radius: 20px;
  overflow: hidden;
  margin: 0;
  box-shadow: 0 24px 50px rgba(54, 33, 57, .22), 0 0 0 1px rgba(54, 33, 57, .04);
  background: var(--color-surface);
  transform-origin: top center;
  /* fallback starting positions (slightly spread) — JS overrides on desktop */
  will-change: transform;
}
/* default fallback: cards lightly spread (visible without JS) */
.prob-card-1 { z-index: 1; transform: translateY(0);   }
.prob-card-2 { z-index: 2; transform: translateY(60px);  }
.prob-card-3 { z-index: 3; transform: translateY(120px); }
.prob-card-4 { z-index: 4; transform: translateY(180px); }
.prob-card-5 { z-index: 5; transform: translateY(240px); }
.prob-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 899px) {
  .prob-stack-wrap { min-height: 150vh; }
}

/* ---------- Dobra 4 — Mecanismo ---------- */
.mec {
  padding-top: 120px;
  padding-bottom: 120px;
  position: relative;
}
.mec-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
}
.mec-head h2 {
  font-size: clamp(24px, 4.2vw, 52px);
  margin-bottom: 24px;
}
.mec-head p {
  font-size: clamp(17px, 1.4vw, 20px);
  color: rgba(241, 224, 199, .8);
  line-height: 1.5;
}
.mec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto 64px;
  position: relative;
}
@media (min-width: 900px) {
  .mec-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
  }
}
.mec-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mec-video-slot {
  min-height: 360px;
  border-radius: var(--radius-card);
  border: 1px dashed rgba(241, 224, 199, .18);
  background:
    repeating-linear-gradient(135deg,
      rgba(241, 224, 199, .03) 0px,
      rgba(241, 224, 199, .03) 1px,
      transparent 1px,
      transparent 14px),
    rgba(25, 154, 160, .04);
  display: grid;
  place-items: center;
  position: relative;
}

@media (max-width: 899px) {
  .mec-video-slot { height: auto !important; aspect-ratio: 9/16; min-height: 480px !important; margin-top: 32px; }
  .desktop-only { display: none !important; }
}
.mec-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(241, 224, 199, .14);
  border-radius: var(--radius-card);
  padding: 32px 32px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(4px);
  transition: transform 350ms cubic-bezier(.2,.6,.2,1), background 300ms ease, border-color 300ms ease, box-shadow 350ms ease;
}
.mec-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  padding: 1px;
  background: linear-gradient(135deg, rgba(25, 154, 160, 0) 0%, rgba(25, 154, 160, .55) 50%, rgba(25, 154, 160, 0) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
}
.mec-card:hover {
  transform: translateY(-4px);
  background: rgba(25, 154, 160, .08);
  border-color: rgba(25, 154, 160, .22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28), 0 0 0 1px rgba(25, 154, 160, .15);
}
.mec-card:hover::before { opacity: 1; }
.mec-card:hover .mec-num {
  background: rgba(25, 154, 160, .25);
  border-color: rgba(25, 154, 160, .6);
  color: var(--icon-on-dark-2);
  transform: scale(1.05);
}
.mec-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(25, 154, 160, .15);
  border: 1px solid rgba(25, 154, 160, .35);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
  transition: background 300ms ease, border-color 300ms ease, color 300ms ease, transform 300ms ease;
}
.mec-card h3 {
  color: var(--color-bg);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
}
.mec-card p {
  color: rgba(241, 224, 199, .75);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

/* depoimento heloísa */
.mec-quote {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(241, 224, 199, .14);
  border-radius: var(--radius-card);
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
}
@media (max-width: 700px) {
  .mec-quote { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
}
.mec-quote-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(25, 154, 160, .4);
  position: relative;
}
@media (max-width: 700px) {
  .mec-quote-avatar { justify-self: center; }
}
.mec-quote-mark {
  position: absolute;
  top: 18px; right: 36px;
  font-size: 56px;
  color: var(--color-accent);
  font-family: Georgia, serif;
  font-weight: 700;
  line-height: 1;
  opacity: .35;
}
.mec-quote-text {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-bg);
  line-height: 1.4;
  margin: 0 0 14px;
  font-style: italic;
}
.mec-quote-meta {
  font-size: 14px;
  color: rgba(241, 224, 199, .65);
  font-weight: 400;
}
.mec-quote-meta strong { color: var(--icon-on-dark-2); font-weight: 600; margin-right: 6px; }
.mec-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Dobra 5 — O que inclui ---------- */
.inc-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}
@media (min-width: 900px) {
  .inc-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; align-items: center; }
}
.inc-head h2 { margin-bottom: 20px; max-width: 480px; }
.inc-head p { color: var(--color-muted); font-size: 18px; max-width: 480px; }

.inc-mockup {
  position: relative;
  display: grid; place-items: center;
  width: 100%;
  min-width: 0;
  overflow: visible;
}
.inc-mockup-img {
  width: 100%;
  max-width: 1280px;
  min-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(54, 33, 57, .18));
  transition: transform 600ms ease;
}
@media (min-width: 1100px) {
  .inc-mockup-img {
    width: 140%;
    max-width: none;
    margin-right: -20%;
  }
}
.inc-mockup:hover .inc-mockup-img { transform: translateY(-6px); }
.phone-screen {
  width: 100%; height: 100%;
  background: var(--color-bg);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  padding: 22px 16px;
}
.phone-notch {
  width: 90px; height: 22px;
  background: #2a1a2c;
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  z-index: 2;
}
.phone-title {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  margin: 18px 0 4px;
}
.phone-h {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.1;
  margin-bottom: 14px;
}
.phone-list { display: flex; flex-direction: column; gap: 8px; }
.phone-lesson {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--color-surface);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-primary);
}
.phone-lesson.active {
  background: var(--color-primary);
  color: var(--color-bg);
}
.phone-lesson-play {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--icon-on-light);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.phone-lesson.active .phone-lesson-play {
  background: var(--color-accent); color: var(--color-bg);
}
.phone-lesson-info { flex: 1; min-width: 0; }
.phone-lesson-info small {
  display: block;
  font-weight: 400;
  font-size: 9px;
  opacity: .7;
  margin-top: 1px;
}

.inc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 700px) {
  .inc-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .inc-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.inc-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.inc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.inc-card-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--color-surface);
  display: grid; place-items: center;
  color: var(--icon-on-light);
  margin-bottom: 20px;
}
.inc-card-icon iconify-icon { font-size: 28px; }
.inc-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-primary);
}
.inc-card p {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

.inc-format {
  margin-top: 56px;
  background: var(--color-primary);
  border-radius: var(--radius-card);
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  color: var(--color-bg);
}
@media (min-width: 800px) {
  .inc-format {
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    padding: 28px 48px;
  }
}
.inc-format-item {
  display: flex; align-items: center; gap: 14px;
}
.inc-format-item iconify-icon {
  font-size: 28px;
  color: var(--icon-on-dark);
  flex-shrink: 0;
}
.inc-format-item-text {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.inc-format-item-text small {
  display: block;
  font-weight: 400;
  opacity: .65;
  font-size: 12px;
  margin-top: 2px;
}

/* ---------- Dobra 6 — Pra quem é ---------- */
.match-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 800px) {
  .match-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.match-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
}
.match-card.is-positive { border-color: rgba(25, 154, 160, .4); }
.match-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}
.match-head-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.is-positive .match-head-icon { background: rgba(25, 154, 160, .12); color: var(--color-accent); }
.is-negative .match-head-icon { background: rgba(209, 49, 51, .1); color: var(--icon-on-light-2); }
.match-head-icon iconify-icon { font-size: 24px; }
.match-head h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin: 0;
}
.match-list { display: flex; flex-direction: column; gap: 16px; list-style: none; padding: 0; margin: 0; }
.match-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
}
.match-list iconify-icon { flex-shrink: 0; font-size: 22px; margin-top: 1px; }
.is-positive .match-list iconify-icon { color: var(--color-accent); }
.is-negative .match-list iconify-icon { color: var(--icon-on-light-2); }
.is-negative .match-list li { color: var(--color-muted); }

/* ---------- Dobra 7 — Prova ---------- */
.proof-head {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
  z-index: 2;
}
.proof-sub {
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-muted);
  max-width: 640px;
  margin: 18px auto 0;
}
.proof-bg-quote {
  position: absolute;
  top: 40px; left: 50%; transform: translateX(-50%);
  font-size: clamp(200px, 28vw, 360px);
  font-family: Georgia, serif;
  color: var(--color-accent);
  opacity: .07;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  position: relative;
  z-index: 2;
}
@media (min-width: 800px) {
  .proof-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 24px; }
}
.proof-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.proof-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.proof-quote {
  flex: 1;
  font-size: 17px;
  line-height: 1.55;
  color: var(--color-text);
  margin: 0 0 24px;
  font-style: italic;
}
.proof-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.proof-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-surface);
}
.proof-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.2;
}
.proof-role {
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 2px;
}
.proof-stars {
  display: flex; gap: 2px;
  margin-bottom: 14px;
  color: var(--icon-on-light);
}
.proof-stars iconify-icon { font-size: 16px; }
.proof-cta { display: flex; justify-content: center; margin-top: 48px; }

/* ---------- Dobra 8 — Garantia ---------- */
.guarantee-card {
  max-width: 980px;
  margin: 0 auto;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 800px) {
  .guarantee-card { grid-template-columns: 264px 1fr; gap: 48px; padding: 56px; }
}
.guarantee-seal {
  width: 242px; height: 242px;
  margin: 0 auto;
  position: relative;
  display: grid; place-items: center;
  animation: seal-float 4s ease-in-out infinite;
}
.guarantee-seal img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(15, 29, 58, .35));
}
@keyframes seal-float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-6px) rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .guarantee-seal { animation: none; }
}
.guarantee-text h2 { margin-bottom: 16px; font-size: clamp(24px, 2.6vw, 36px); }
.guarantee-text p { color: var(--color-muted); font-size: 17px; line-height: 1.6; margin: 0 0 14px; }
.guarantee-text p:last-child { margin: 0; font-weight: 500; color: var(--color-primary); font-style: italic; }

/* ---------- Dobra 9 — Oferta ---------- */
.offer { position: relative; padding: 120px 0; }
.offer-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.offer-head h2 {
  font-size: clamp(24px, 4.2vw, 52px);
  margin-bottom: 24px;
}
.offer-head p {
  font-size: clamp(17px, 1.4vw, 19px);
  color: rgba(241, 224, 199, .8);
  line-height: 1.55;
}

.offer-card {
  max-width: 504px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .04);
  border-radius: 28px;
  padding: 48px;
  position: relative;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-glow-accent);
  isolation: isolate;
}
/* animated rotating gradient border (animates conic angle via @property) */
@property --offer-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.offer-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 30px;
  padding: 2px;
  background: conic-gradient(
    from var(--offer-angle, 0deg),
    rgba(25, 154, 160, 0) 0%,
    rgba(25, 154, 160, 1) 10%,
    rgba(223, 52, 55, 1) 22%,
    rgba(25, 154, 160, 0) 38%,
    rgba(25, 154, 160, 0) 58%,
    rgba(25, 154, 160, 1) 70%,
    rgba(223, 52, 55, 1) 82%,
    rgba(25, 154, 160, 0) 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
  animation: offer-spin 5s linear infinite;
  z-index: -1;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(25, 154, 160, .35));
}
/* fallback static border below the animation for layered glow */
.offer-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  border: 1px solid rgba(241, 224, 199, .12);
  pointer-events: none;
}
@keyframes offer-spin {
  to { --offer-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .offer-card::before { animation: none; }
}
@media (max-width: 700px) {
  .offer-card { padding: 36px 28px; }
}
.offer-badge {
  position: absolute;
  top: -18px; left: 50%; transform: translateX(-50%);
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.offer-list {
  list-style: none; padding: 0; margin: 0 0 36px;
  display: flex; flex-direction: column; gap: 16px;
}
.offer-list-bottom {
  margin: 32px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(241, 224, 199, .12);
}
.offer-list li {
  display: flex; align-items: center; gap: 14px;
  font-size: 17px;
  font-weight: 400;
  color: var(--color-bg);
}
.offer-list iconify-icon {
  color: var(--color-accent);
  font-size: 22px;
  flex-shrink: 0;
}
.offer-price {
  text-align: center;
  margin: 8px 0 28px;
  padding: 0 20px 28px;
  border-bottom: 1px solid rgba(241, 224, 199, .12);
}
.offer-price-label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(241, 224, 199, .65);
  font-weight: 500;
  margin-bottom: 8px;
}
.offer-price-value {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 700;
  color: var(--color-bg);
  line-height: 1;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
}
.offer-price-value .currency {
  font-size: 0.4em;
  margin-top: 0.4em;
  font-weight: 500;
  color: var(--icon-on-dark-2);
}
.offer-price-foot {
  display: block;
  font-size: 13px;
  color: rgba(241, 224, 199, .6);
  margin-top: 10px;
}
.offer-cta-wrap { display: flex; justify-content: center; }
@media (max-width: 899px) {
  .offer-cta-wrap .btn { justify-content: center; }
  .offer-cta-wrap .btn .btn-arrow { display: none; }
}
.offer-cert {
  margin-top: 28px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 13px;
  color: rgba(241, 224, 199, .7);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.offer-cert iconify-icon { color: var(--color-accent); font-size: 18px; }

/* ---------- Dobra 9.5 — Seus professores ---------- */
.profs-head { text-align: center; margin-bottom: 56px; }
.profs-head h2 { max-width: 720px; margin: 0 auto; }
.profs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .profs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}
.prof-bio {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 300ms ease, box-shadow 300ms ease;
  display: flex;
  flex-direction: column;
}
.prof-bio:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.prof-bio-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}
.prof-bio-mark {
  width: 100px; height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(54, 33, 57, .2);
  background: var(--color-surface);
}
.prof-bio-mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.prof-bio-name {
  font-size: 19px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.2;
}
.prof-bio-role {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 4px;
}
.prof-bio-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-muted);
  margin: 0;
}
.prof-bio-text strong {
  color: var(--color-primary);
  font-weight: 500;
}
.faq-head { text-align: center; margin-bottom: 56px; }
.faq-head h2 { max-width: 680px; margin: 0 auto; }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 250ms ease, box-shadow 250ms ease;
}
.faq-item.open {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  padding: 22px 28px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.3;
}
.faq-q:hover { color: var(--color-accent); }
.faq-chevron {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--icon-on-light);
  display: grid; place-items: center;
  transition: transform 250ms ease, background 250ms ease, color 250ms ease;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--color-accent);
  color: var(--color-bg);
}
.faq-chevron iconify-icon { font-size: 20px; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease;
}
.faq-item.open .faq-a { max-height: 360px; }
.faq-a-inner {
  padding: 0 28px 24px;
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------- Dobra 11 — Final ---------- */
.final {
  padding: 120px 0;
  text-align: center;
  position: relative;
}
.final-eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 24px;
  display: inline-block;
}
.final h2 {
  font-size: clamp(24px, 5vw, 64px);
  max-width: 880px;
  margin: 0 auto 32px;
  line-height: 1.05;
}
.final p {
  font-size: clamp(17px, 1.5vw, 20px);
  color: rgba(241, 224, 199, .8);
  max-width: 640px;
  margin: 0 auto 16px;
  line-height: 1.5;
}
.final-quote {
  font-style: italic;
  font-weight: 500;
  color: var(--icon-on-dark-2);
  margin-bottom: 40px !important;
}
.final-cta { display: flex; justify-content: center; margin-bottom: 48px; }
.final-ps {
  max-width: 620px;
  margin: 0 auto;
  padding: 28px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(241, 224, 199, .14);
  border-radius: 16px;
  text-align: left;
  font-size: 16px;
  color: rgba(241, 224, 199, .85);
  line-height: 1.6;
}
.final-ps strong { color: var(--icon-on-dark-2); font-weight: 700; margin-right: 4px; }

/* WhatsApp button (final section) */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, .45);
}
.btn-whatsapp .btn-arrow {
  width: 42px; height: 42px;
  background: #fff;
  color: #25D366;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: transform 250ms ease;
}
.btn-whatsapp:hover .btn-arrow { transform: scale(1.08); }
.footer-bar {
  border-top: 1px solid rgba(241, 224, 199, .12);
  padding-top: 48px;
  margin-top: 64px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
  color: rgba(241, 224, 199, .55);
  font-size: 13px;
}
.footer-bar a { color: inherit; text-decoration: none; }
.footer-bar a:hover { color: var(--color-bg); }

/* blob graphics */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.mec-blob-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(25, 154, 160, .25), transparent 70%);
  top: -120px; right: -120px;
  animation: float 8s ease-in-out infinite;
}
.mec-blob-2 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(25, 154, 160, .18), transparent 70%);
  bottom: -100px; left: -100px;
  animation: float 9s ease-in-out infinite reverse;
}
.offer-blob {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(25, 154, 160, .22), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .8; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease-out, transform 700ms ease-out;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="100"] { transition-delay: 100ms; }
.reveal[data-delay="200"] { transition-delay: 200ms; }
.reveal[data-delay="300"] { transition-delay: 300ms; }
.reveal[data-delay="400"] { transition-delay: 400ms; }
.reveal[data-delay="500"] { transition-delay: 500ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-blob, .blob, .phone-frame { animation: none; }
}

/* highlight word in body */
.hl { color: var(--color-accent); }
.hl-dark { color: var(--icon-on-dark-2); }
.hl-red { color: var(--icon-on-light); }

/* small touch — link hover */
a { color: var(--color-accent); }
