:root {
  --burgundy: #6b0f1a;
  --burgundy-deep: #3a070e;
  --burgundy-mid: #8b1a28;
  --ink: #10080a;
  --paper: #f7f3f1;
  --muted: #6e5c5f;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 60px rgba(16, 8, 10, 0.35);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Figtree", Georgia, sans-serif;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 100;
  background: transparent;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--burgundy), #c43b4a);
  transform-origin: left;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(16, 8, 10, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 3rem;
  height: 3rem;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  color: #fff;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  font-weight: 400;
}

.brand-text small {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.25s;
}

.nav a:hover {
  color: #fff;
}

.nav-cta {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  transition: background 0.25s, border-color 0.25s !important;
}

.nav-cta:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.4rem;
  height: 2px;
  margin: 0.35rem auto;
  background: #fff;
  transition: transform 0.3s var(--ease);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: end start;
  color: #fff;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(58, 7, 14, 0.9) 6%, rgba(58, 7, 14, 0.5) 42%, rgba(10, 22, 48, 0.28) 100%),
    linear-gradient(to top, rgba(16, 8, 10, 0.82) 0%, transparent 48%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-content {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 5.5rem;
  padding-top: calc(var(--header-h) + 3rem);
  max-width: 40rem;
  animation: rise 1s var(--ease) both;
}

.hero-kicker {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 500;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  font-weight: 400;
  text-transform: uppercase;
}

.hero h1 em {
  font-style: normal;
  color: #fff;
}

.hero-lead {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
}

.btn-primary:hover {
  background: var(--burgundy-mid);
  border-color: var(--burgundy-mid);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 0.4rem;
}

.scroll-hint span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  animation: drip 1.6s ease-in-out infinite;
}

@keyframes drip {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* Sections */
.section {
  padding: clamp(4.5rem, 10vw, 7rem) 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 3rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 700;
}

.section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 400;
}

.section-lead,
.por-que-copy > p,
.escola-copy > p,
.aula-copy > p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.metodo {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(107, 15, 26, 0.08), transparent 55%),
    var(--paper);
}

.metodo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.5rem;
}

.metodo-item {
  padding-top: 1.25rem;
  border-top: 2px solid var(--burgundy);
}

.metodo-item .num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--burgundy);
  margin-bottom: 0.75rem;
}

.metodo-item h3 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

.metodo-item p {
  margin: 0;
  color: var(--muted);
}

.por-que {
  background: var(--burgundy-deep);
  color: #fff;
}

.por-que .eyebrow {
  color: #e8b4bb;
}

.por-que-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.checklist {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.checklist li {
  position: relative;
  padding-left: 1.5rem;
  color: rgba(255, 255, 255, 0.88);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--burgundy-mid);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.quote-panel {
  position: relative;
  padding: 2.25rem 2rem;
  border-left: 3px solid var(--burgundy-mid);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent);
}

.quote-panel blockquote {
  margin: 0;
}

.quote-panel p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.45;
  font-weight: 500;
}

.quote-panel footer {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8b4bb;
}

.strip {
  padding: 3.5rem 0;
  background:
    linear-gradient(120deg, var(--burgundy) 0%, #4a0a12 55%, var(--burgundy-deep) 100%);
  color: #fff;
}

.strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.strip-inner p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.strip .btn-primary {
  background: #fff;
  color: var(--burgundy-deep);
  border-color: #fff;
}

.strip .btn-primary:hover {
  background: #f0e4e6;
  border-color: #f0e4e6;
}

.escola-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.facts {
  margin: 2rem 0 1.25rem;
  display: grid;
  gap: 1.25rem;
}

.facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.facts dd {
  margin: 0;
  font-size: 1.05rem;
}

.text-link {
  font-weight: 600;
  color: var(--burgundy);
  border-bottom: 1px solid currentColor;
  align-self: start;
}

.escola-visual {
  position: relative;
  min-height: 22rem;
}

.escola-visual img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  filter: grayscale(0.15) contrast(1.05);
}

.tri-mark {
  position: absolute;
  z-index: 1;
  width: 5.5rem;
  height: 5.5rem;
  top: -1rem;
  left: -1rem;
  background: var(--burgundy);
  clip-path: polygon(50% 8%, 100% 100%, 0 100%);
  opacity: 0.95;
  animation: pulse-soft 4s ease-in-out infinite;
}

@keyframes pulse-soft {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.aula {
  background:
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(107, 15, 26, 0.1), transparent 50%),
    #efe8e6;
}

.aula-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.aula-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  background: #fff;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.aula-form label {
  display: grid;
  gap: 0.4rem;
}

.aula-form label.full,
.aula-form .full {
  grid-column: 1 / -1;
}

.aula-form span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.aula-form input,
.aula-form select,
.aula-form textarea {
  width: 100%;
  border: 1px solid #d9cecb;
  background: #faf7f6;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.aula-form input:focus,
.aula-form select:focus,
.aula-form textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(107, 15, 26, 0.12);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.92rem;
  color: var(--burgundy);
  font-weight: 600;
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
}

.footer-inner {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.footer-inner .brand-text {
  color: #fff;
}

.copy {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  opacity: 0.55;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 880px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: rgba(16, 8, 10, 0.96);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.35);
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .metodo-grid,
  .por-que-layout,
  .escola-layout,
  .aula-layout,
  .aula-form {
    grid-template-columns: 1fr;
  }

  .escola-visual {
    order: -1;
  }

  .hero-content {
    margin-bottom: 4rem;
  }

  .scroll-hint {
    display: none;
  }
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 60;
  width: 3.6rem;
  height: 3.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(16, 8, 10, 0.28);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.25s;
}

.wa-float svg {
  display: block;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
  background: #1ebe57;
  box-shadow: 0 14px 32px rgba(16, 8, 10, 0.35);
}

.wa-float:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .wa-float {
    right: 1rem;
    bottom: 1rem;
    width: 3.15rem;
    height: 3.15rem;
  }
}
