/* ═══════════ FONTES (Source Sans 3 — self-hosted) ═══════════ */
@font-face { font-family:"Source Sans 3"; font-style:normal; font-weight:400; font-display:swap; src:url("../public/fonts/sourcesans-400.woff2") format("woff2"); }
@font-face { font-family:"Source Sans 3"; font-style:normal; font-weight:500; font-display:swap; src:url("../public/fonts/sourcesans-500.woff2") format("woff2"); }
@font-face { font-family:"Source Sans 3"; font-style:normal; font-weight:600; font-display:swap; src:url("../public/fonts/sourcesans-600.woff2") format("woff2"); }
@font-face { font-family:"Source Sans 3"; font-style:normal; font-weight:700; font-display:swap; src:url("../public/fonts/sourcesans-700.woff2") format("woff2"); }
@font-face { font-family:"Source Sans 3"; font-style:normal; font-weight:800; font-display:swap; src:url("../public/fonts/sourcesans-800.woff2") format("woff2"); }
@font-face { font-family:"Source Sans 3"; font-style:normal; font-weight:900; font-display:swap; src:url("../public/fonts/sourcesans-900.woff2") format("woff2"); }
@font-face { font-family:"Source Sans 3"; font-style:italic; font-weight:900; font-display:swap; src:url("../public/fonts/sourcesans-900i.woff2") format("woff2"); }

/* ═══════════ PERFORMANCE / BASE RESET ═══════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video, svg, iframe { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===================================================================
   INCAF — Instituto de Capacitação e Aperfeiçoamento Farmacêutico
   Folha de estilo principal · HTML/CSS/JS estático
   =================================================================== */

:root {
  /* Marca */
  --vermelho:        #C8272E;
  --vermelho-escuro: #9B2026;
  --navy:            #1B2B4B;   /* azul naval oficial INCAF */
  --navy-900:        #142036;
  --navy-800:        #25406B;
  --azul-medio:      #2D4A7A;
  --quase-preto:     #111827;

  /* Neutros — creme equilibrado (creme base + branco nas seções alternadas) */
  --branco:          #FFFFFF;
  --areia:           #F7F2E9;   /* fundo base creme */
  --cinza-claro:     #FFFFFF;   /* seções alternadas (branco) */
  --creme:           #FFFFFF;   /* cards */
  --cinza-borda:     #E8DFCE;   /* borda quente sutil */
  --cinza-medio:     #6B6354;   /* texto secundário quente */
  --texto:           #221F18;   /* quase-preto quente */

  /* Destaque */
  --dourado:         #F59E0B;
  --dourado-marca:   #C9A84C;
  --verde-whats:     #25D366;

  --serif:   "Source Sans 3", system-ui, sans-serif;
  --display: "Source Sans 3", system-ui, sans-serif;
  --sans:    "Source Sans 3", system-ui, "Segoe UI", sans-serif;

  --container: 1200px;
  --radius:    16px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(58,46,28,0.04), 0 4px 12px rgba(58,46,28,0.05);
  --shadow:    0 4px 10px rgba(58,46,28,0.05), 0 18px 40px rgba(58,46,28,0.10);
  --shadow-lg: 0 8px 18px rgba(58,46,28,0.07), 0 32px 70px rgba(58,46,28,0.16);
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--texto);
  background-color: var(--areia);
  line-height: 1.65;
}

/* ─────────────── ELEMENTOS COMPARTILHADOS ─────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vermelho);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--vermelho);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: #FCA5A5; }
.eyebrow.on-dark::before { background: #FCA5A5; }

.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin-top: 18px;
  max-width: 18ch;
}
.section-title em { font-style: italic; color: var(--vermelho); font-weight: 900; }
.section-title.on-dark { color: var(--branco); }

.section-sub {
  font-size: 17px;
  font-weight: 400;
  color: var(--cinza-medio);
  margin-top: 18px;
  max-width: 620px;
  line-height: 1.65;
}
.section-sub.on-dark { color: rgba(255,255,255,0.78); }

/* Cabeçalho de seção — CENTRALIZADO por padrão */
.section-head { position: relative; margin-bottom: 52px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after {
  content: ""; width: 22px; height: 2px; background: var(--vermelho); display: inline-block;
}
.section-head .eyebrow.on-dark::after { background: #FCA5A5; }
.section-head .section-title { margin-left: auto; margin-right: auto; max-width: 24ch; }
.section-head .section-sub { margin-left: auto; margin-right: auto; }
/* Modificador opcional para alinhar à esquerda (usos específicos) */
.section-head.left { text-align: left; }
.section-head.left .eyebrow { justify-content: flex-start; }
.section-head.left .section-title,
.section-head.left .section-sub { margin-left: 0; margin-right: 0; }

.body-text { font-size: 16.5px; color: var(--cinza-medio); line-height: 1.7; }
.body-text + .body-text { margin-top: 16px; }

.section { padding: clamp(64px, 8vw, 110px) 0; }
.section.alt { background: var(--cinza-claro); }
.section-first { padding-top: clamp(72px, 9vw, 124px); }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 15px 28px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease),
              box-shadow 0.22s var(--ease);
  min-height: 48px;
}
.btn { position: relative; overflow: hidden; }
.btn svg { width: 18px; height: 18px; position: relative; z-index: 1; }
.btn span, .btn { z-index: 0; }
.btn::after {
  content: "";
  position: absolute; top: 0; left: -120%;
  width: 80%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease);
  pointer-events: none;
}
.btn:hover::after { left: 130%; }
.btn-primary { background: var(--vermelho); color: #fff; box-shadow: 0 8px 20px rgba(200,39,46,0.25); }
.btn-primary:hover { background: var(--vermelho-escuro); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(200,39,46,0.32); }
.btn-outline { background: transparent; border-color: var(--vermelho); color: var(--vermelho); }
.btn-outline:hover { background: var(--vermelho); color: #fff; }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.45); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-900); transform: translateY(-2px); }
.btn-whats { background: var(--verde-whats); color: #fff; }
.btn-whats:hover { background: #1da851; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37,211,102,0.3); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 16px; }

/* Pílula / chips de info */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: 999px;
  padding: 7px 13px;
  line-height: 1;
}
.chip svg { width: 15px; height: 15px; color: var(--vermelho); }

.badge-mec {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #7c4a03;
  background: linear-gradient(135deg, #FFE9B8, #F8C24E);
  border: 1px solid #e9a92b;
  border-radius: 999px;
  padding: 6px 13px;
  line-height: 1;
}
.badge-mec svg { width: 15px; height: 15px; }

.stars { display: inline-flex; align-items: center; gap: 3px; color: var(--dourado); }
.stars svg { width: 16px; height: 16px; }

/* ─────────────── HEADER (pílula vermelha flutuante, sobreposta e fixa) ─────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  padding: 16px 0;
  transition: padding 0.25s ease;
}
.site-header.scrolled { padding: 10px 0; }
.site-header.scrolled .header-inner { box-shadow: 0 16px 40px rgba(208,39,39,0.38); }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 62px;
  background: #D02727;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 9px 9px 9px 26px;
  box-shadow: 0 14px 36px rgba(208,39,39,0.28);
  transition: box-shadow 0.25s ease;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 34px; width: auto; }

.main-nav .nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  padding: 9px 15px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.15); }
.nav-link.active { color: #fff; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: #fff;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > .nav-link svg { transition: transform 0.2s ease; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 270px;
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown:hover > .nav-link svg { transform: rotate(180deg); }
.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 13px;
  border-radius: 9px;
  transition: background 0.18s ease;
}
.dropdown-item:hover { background: var(--cinza-claro); }
.dropdown-item strong { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.dropdown-item span { font-size: 12.5px; color: var(--cinza-medio); }

.header-cta { display: flex; align-items: center; gap: 8px; }
.header-cta .btn-primary {
  background: var(--areia);
  color: #D02727;
  border-color: transparent;
  border-radius: 999px;
  padding: 12px 22px;
  min-height: 46px;
  font-weight: 700;
  box-shadow: none;
}
.header-cta .btn-primary:hover { background: #fff; color: #9B2026; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(0,0,0,0.14); }

.menu-toggle { display: none; color: #fff; padding: 9px; border-radius: 999px; background: rgba(255,255,255,0.14); }

/* ─────────────── DRAWER MOBILE ─────────────── */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(10,16,28,0.5);
  backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
  width: min(87vw, 350px);
  background: linear-gradient(165deg, var(--navy-900), var(--navy));
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.42s var(--ease);
  display: flex; flex-direction: column;
  padding: 20px 24px 28px;
  overflow-y: auto;
  box-shadow: -24px 0 60px rgba(0,0,0,0.35);
}
.drawer.open { transform: translateX(0); }
.drawer::before {
  content: ""; position: absolute; right: -50px; bottom: -30px;
  width: 280px; height: 355px;
  background: url("../public/emblema-creme.webp") center/contain no-repeat;
  opacity: 0.05; pointer-events: none;
}
.drawer > * { position: relative; z-index: 1; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.drawer-logo { height: 32px; width: auto; }
.drawer-close {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff;
  display: grid; place-items: center;
  transition: background 0.2s ease;
}
.drawer-close:hover { background: rgba(255,255,255,0.2); }
.drawer-links { display: flex; flex-direction: column; }
.drawer-links a {
  font-family: var(--display); font-weight: 700; font-size: 19px;
  color: #fff; padding: 14px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s ease, padding-left 0.25s var(--ease);
}
.drawer-links a:hover, .drawer-links a:focus-visible { color: #FF8A8A; padding-left: 8px; }
.drawer-whats {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 22px;
  background: var(--verde-whats); color: #fff;
  font-weight: 700; font-size: 15px;
  padding: 15px; border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.drawer-whats svg { width: 22px; height: 22px; }
.drawer-whats:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(37,211,102,0.35); }
.drawer-contacts { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.drawer-contacts li { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: rgba(255,255,255,0.82); line-height: 1.5; }
.drawer-contacts svg { width: 18px; height: 18px; color: #FF8A8A; flex-shrink: 0; margin-top: 2px; }
.drawer-contacts a { color: rgba(255,255,255,0.82); }
.drawer-contacts a:hover { color: #fff; }
.drawer-socials { display: flex; gap: 10px; margin-top: 24px; }
.drawer-socials a {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(255,255,255,0.1); color: #fff;
  display: grid; place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.drawer-socials a:hover { background: var(--vermelho); transform: translateY(-2px); }
.drawer-socials svg { width: 18px; height: 18px; }
@media (min-width: 769px) { .drawer, .drawer-overlay { display: none; } }

/* ─────────────── WHATSAPP FLUTUANTE ─────────────── */
.whats-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--verde-whats);
  color: #fff;
  border-radius: 999px;
  padding: 14px;
  box-shadow: 0 10px 30px rgba(37,211,102,0.4);
  transition: transform 0.25s var(--ease), padding 0.25s var(--ease);
  overflow: hidden;
}
.whats-float svg { width: 28px; height: 28px; flex-shrink: 0; }
.whats-float .whats-label {
  max-width: 0; opacity: 0;
  white-space: nowrap;
  font-weight: 600; font-size: 14px;
  transition: max-width 0.3s var(--ease), opacity 0.25s ease, margin 0.3s var(--ease);
}
.whats-float:hover { transform: translateY(-3px); }
.whats-float:hover .whats-label { max-width: 200px; opacity: 1; margin-left: 10px; margin-right: 6px; }

/* ─────────────── HERO SLIDESHOW ─────────────── */
.hero-slider {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1920 / 619;
  background: var(--navy-900);
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding-top: 84px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}
.hero-slider .slide.is-active { opacity: 1; visibility: visible; }
/* Fundos dos slides (desktop) */
.hero-slider .slide-red  { background-image: url("../public/images/hero-slide-1.webp"); }
.hero-slider .slide-navy { background-image: url("../public/images/hero-slide-2.webp"); }
.hero-slider .slide-gold { background-image: url("../public/images/hero-slide-3.webp"); }
.hero-slider .slide > .container { min-width: 0; width: 100%; }
.slide-inner { position: relative; z-index: 2; max-width: 47%; color: #fff; overflow-wrap: break-word; }
.slide-kicker {
  display: inline-block;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(14px, 1.9vw, 23px);
  color: #fff;
  background: rgba(0,0,0,0.30);
  padding: 3px 12px 4px;
  border-radius: 3px;
  margin-bottom: 7px;
}
.slide-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(19px, 2.6vw, 36px);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.slide-title span {
  color: #fff;
  padding: 0.06em 0.3em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.slide-cta {
  display: inline-block;
  margin-top: 22px;
  font-family: var(--display); font-weight: 700; font-style: italic;
  text-transform: uppercase; letter-spacing: 0.05em;
  font-size: clamp(12px, 1.4vw, 16px);
  color: var(--vermelho-escuro);
  background: #F3ECDD;
  border: 2px solid var(--vermelho-escuro);
  padding: 12px 26px;
  border-radius: 4px;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}
.slide-cta:hover { transform: translateY(-2px); }
/* entrada */
.slide.is-active .slide-inner > * { animation: slide-rise 0.7s var(--ease) both; }
.slide.is-active .slide-inner > *:nth-child(2) { animation-delay: 0.1s; }
.slide.is-active .slide-inner > *:nth-child(3) { animation-delay: 0.2s; }
@keyframes slide-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
/* cores por slide (caixa atrás do título) */
.slide-red  .slide-title span { background: #8e1f24; }
.slide-red  .slide-kicker { background: rgba(110,20,24,0.5); }
.slide-red  .slide-cta { color: #8e1f24; border-color: #8e1f24; }
.slide-red  .slide-cta:hover { background: #8e1f24; color: #fff; }
.slide-navy .slide-title span { background: #16304e; }
.slide-navy .slide-kicker { background: rgba(18,38,60,0.5); }
.slide-navy .slide-cta { color: var(--navy); border-color: var(--navy); }
.slide-navy .slide-cta:hover { background: var(--navy); color: #fff; }
.slide-gold .slide-title span { background: #8a6a1e; }
.slide-gold .slide-kicker { background: rgba(110,84,20,0.45); }
.slide-gold .slide-cta { color: #6b4e10; border-color: #6b4e10; }
.slide-gold .slide-cta:hover { background: #6b4e10; color: #fff; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 50%;
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.slider-arrow:hover { background: var(--vermelho); border-color: var(--vermelho); }
.slider-arrow svg { width: 22px; height: 22px; }
.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }
.slider-dots {
  position: absolute;
  bottom: 22px; left: 0; right: 0;
  z-index: 5;
  display: flex; justify-content: center; gap: 10px;
}
.slider-dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 0.2s ease, width 0.3s var(--ease);
}
.slider-dots button.is-active { background: #fff; width: 30px; border-radius: 6px; }

@media (max-width: 768px) {
  .hero-slider { aspect-ratio: auto; min-height: 470px; }
  .hero-slider .slide { background-position: left center; }
  /* Banners de celular */
  .hero-slider .slide-red  { background-image: url("../public/images/hero-mobile-1.avif"); }
  .hero-slider .slide-navy { background-image: url("../public/images/hero-mobile-2.avif"); }
  .hero-slider .slide-gold { background-image: url("../public/images/hero-mobile-3.avif"); }
  .slide-inner { max-width: 78%; }
  .slide-title { font-size: clamp(19px, 5.2vw, 28px); line-height: 1.4; }
  .slide-kicker { font-size: 14px; }
  .slider-arrow { display: none; }
  .slider-arrow.prev { left: 10px; }
  .slider-arrow.next { right: 10px; }
}

/* ─────────────── HERO HOME ─────────────── */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(200,39,46,0.22), transparent 60%),
    linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-800) 100%);
  color: #fff;
  overflow: hidden;
  padding: clamp(60px, 9vw, 120px) 0 clamp(120px, 12vw, 170px);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 30% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 30% 20%, #000, transparent 75%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 8px 16px;
  backdrop-filter: blur(6px);
}
.hero-badge .spark { color: var(--dourado); }
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.07;
  letter-spacing: -0.025em;
  margin-top: 22px;
}
.hero h1 .accent { color: #FF6B6B; }
.hero-lead {
  font-size: clamp(16px, 1.6vw, 19px);
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin-top: 22px;
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Cards de estatística (banda abaixo do slideshow) */
.hero-stats {
  position: relative;
  z-index: 3;
  padding: clamp(28px, 4vw, 44px) 0 0;
}
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.stat-card::before {
  content: "";
  position: absolute; top: 0; left: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--vermelho), var(--dourado-marca));
}
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.stat-card .stat-ico {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(200,39,46,0.10);
  color: var(--vermelho);
  border-radius: 10px;
  margin-bottom: 8px;
}
.stat-card .stat-ico svg { width: 21px; height: 21px; }
.stat-card .stat-num { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--navy); line-height: 1; }
.stat-card .stat-label { font-size: 13.5px; color: var(--cinza-medio); }

/* ─────────────── FEATURES "POR QUE INCAF" ─────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  position: relative;
  background: var(--creme);
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feature::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--vermelho);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature:hover::before { transform: scaleX(1); }
.feature-num {
  position: absolute; top: 22px; right: 24px;
  font-family: var(--serif); font-style: italic;
  font-size: 30px; color: var(--cinza-borda);
  line-height: 1;
}
.feature-ico {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: 15px;
  transition: background 0.3s ease, transform 0.4s var(--ease);
}
.feature:hover .feature-ico { background: var(--vermelho); transform: rotate(-6deg); }
.feature-ico svg { width: 27px; height: 27px; }
.feature h3 { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--navy); margin: 22px 0 9px; letter-spacing: -0.01em; }
.feature p { font-size: 14.5px; color: var(--cinza-medio); line-height: 1.65; }

/* ─────────────── CARDS DE CURSO ─────────────── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.course-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--navy);
}
.course-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s var(--ease);
}
.course-card:hover .course-media img { transform: scale(1.05); }
.course-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff;
  background: var(--navy);
  padding: 6px 11px;
  border-radius: 7px;
}
.course-flag {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: #fff;
  background: var(--vermelho);
  padding: 6px 11px;
  border-radius: 7px;
}
.course-flag.gold { background: var(--dourado); color: #5b3a02; }
.course-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.course-rating { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--cinza-medio); }
.course-rating strong { color: var(--navy); }
.course-name { font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.25; color: var(--navy); margin: 12px 0 16px; }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.course-mec { display: inline-flex; margin-bottom: 18px; }
.course-card .btn { margin-top: auto; }
.course-card .btn svg { transition: transform 0.2s ease; }
.course-card .btn:hover svg { transform: translateX(3px); }

/* ─────────────── BANDA DE STATS (vermelha) ─────────────── */
.stats-band {
  position: relative;
  background-color: var(--vermelho);
  background-image: url("../public/images/pattern.avif");
  background-size: cover; background-position: center; background-attachment: fixed;
  color: #fff;
  padding: clamp(56px, 7vw, 86px) 0;
  overflow: hidden;
}
.stats-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(155,32,38,0.88), rgba(200,39,46,0.90));
  pointer-events: none;
}
.stats-band .container { position: relative; z-index: 1; }
.stats-band-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.stat-band-item { text-align: center; padding: 8px 14px; }
.stat-band-item + .stat-band-item { border-left: 1px solid rgba(255,255,255,0.22); }
.stat-band-num { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.5vw, 52px); line-height: 1; }
.stat-band-label { font-size: 14px; color: rgba(255,255,255,0.85); margin-top: 10px; }

/* ─────────────── COMO FUNCIONA (timeline) ─────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 38px; left: 13%; right: 13%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--cinza-borda) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step-ico {
  position: relative;
  width: 76px; height: 76px;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  background: var(--navy);
  color: #fff;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(27,43,75,0.22);
  transition: transform 0.4s var(--ease), background 0.3s ease;
}
.step:hover .step-ico { transform: translateY(-6px) rotate(-4deg); background: var(--vermelho); }
.step-ico svg { width: 32px; height: 32px; }
.step-num {
  position: absolute; top: -8px; right: -8px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--vermelho);
  color: #fff;
  border: 2px solid var(--areia);
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 800;
  font-size: 12px;
}
.step h3 { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--cinza-medio); line-height: 1.55; }

/* ─────────────── DEPOIMENTOS (carrossel) ─────────────── */
.testi-viewport { overflow: hidden; }
.testi-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s var(--ease);
}
.testi-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testi-card .stars { margin-bottom: 14px; }
.testi-text { font-size: 15.5px; color: var(--texto); line-height: 1.65; }
.testi-author { display: flex; align-items: center; gap: 13px; margin-top: 22px; }
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-800));
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}
.testi-author .ta-name { font-weight: 700; font-size: 14.5px; color: var(--navy); }
.testi-author .ta-course { font-size: 12.5px; color: var(--cinza-medio); }
.testi-nav { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.testi-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--cinza-borda);
  display: grid; place-items: center;
  color: var(--navy);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.testi-btn:hover { background: var(--vermelho); border-color: var(--vermelho); color: #fff; }
.testi-btn:disabled { opacity: 0.4; cursor: default; }
.testi-btn:disabled:hover { background: #fff; color: var(--navy); border-color: var(--cinza-borda); }

/* ─────────────── CURSOS LIVRES ─────────────── */
.free-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.free-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.free-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.free-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cinza-claro); }
.free-media img { width: 100%; height: 100%; object-fit: cover; }
.free-media.placeholder {
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-900), var(--navy));
  color: #fff;
}
.free-media.placeholder svg { width: 64px; height: 64px; opacity: 0.85; }
.free-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.free-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--vermelho); }
.free-name { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--navy); margin: 8px 0 10px; }
.free-card .body-text { font-size: 14px; }
.free-card .btn { margin-top: auto; }

/* ─────────────── BLOG CARDS ─────────────── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-media { aspect-ratio: 16 / 9; overflow: hidden; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.blog-card:hover .blog-media img { transform: scale(1.05); }
.blog-media.ph { background: linear-gradient(135deg, var(--navy), var(--navy-800)); }
.blog-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.blog-cat { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--vermelho); }
.blog-title { font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--navy); margin: 10px 0 10px; }
.blog-excerpt { font-size: 14px; color: var(--cinza-medio); line-height: 1.6; }
.blog-foot { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 12.5px; color: var(--cinza-medio); }
.blog-foot .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--cinza-medio); }

/* ─────────────── CTA FINAL ─────────────── */
.cta-final {
  position: relative;
  background-color: var(--navy-900);
  background-image: url("../public/images/pattern.avif");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
  padding: clamp(72px, 10vw, 128px) 0;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(16,24,42,0.90), rgba(20,32,54,0.93));
  pointer-events: none;
}
.cta-final .container { position: relative; z-index: 1; }
@media (hover: none), (max-width: 768px) { .cta-final { background-attachment: scroll; } }
.cta-final h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5.2vw, 60px); letter-spacing: -0.035em; line-height: 0.98; max-width: 20ch; margin: 0 auto; }
.cta-final h2 em { font-style: italic; color: #FF8A8A; font-weight: 900; }
.cta-final p { color: rgba(255,255,255,0.8); font-size: 18px; margin: 18px auto 0; max-width: 560px; }
.cta-final .hero-actions { justify-content: center; }

/* ─────────────── FOOTER ─────────────── */
.site-footer { background: var(--navy-900); color: #fff; padding-top: 70px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 44px;
  padding-bottom: 50px;
}
.footer-logo img { height: 42px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-about { font-size: 14px; color: rgba(255,255,255,0.55); max-width: 300px; margin-top: 18px; line-height: 1.65; }
.footer-cnpj { font-size: 12.5px; color: rgba(255,255,255,0.4); margin-top: 16px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 9px;
  color: rgba(255,255,255,0.8);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-socials a:hover { background: var(--vermelho); color: #fff; transform: translateY(-2px); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-heading { font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s ease, padding 0.2s ease; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { display: flex; gap: 11px; font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 14px; line-height: 1.5; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--vermelho); margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 10px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px;
}
.footer-copy, .footer-credit { font-size: 12.5px; color: rgba(255,255,255,0.4); }
.footer-credit a { color: #FCA5A5; transition: color 0.2s; }
.footer-credit a:hover { color: #fff; }

/* ─────────────── PAGE HERO (páginas internas) ─────────────── */
.page-hero {
  position: relative;
  background-color: var(--navy);
  background-image: url("../public/images/pattern.avif");
  background-size: cover; background-position: center; background-attachment: fixed;
  color: #fff;
  padding: clamp(124px, 13vw, 160px) 0 clamp(52px, 6vw, 80px);
  overflow: hidden;
  border-bottom: 4px solid var(--vermelho);
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(16,24,42,0.88), rgba(20,32,54,0.93));
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: 0.5; }
.breadcrumb .current { color: #FCA5A5; }
.page-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5.4vw, 64px); letter-spacing: -0.035em; line-height: 0.98; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 17px; margin-top: 16px; max-width: 620px; }

/* ─────────────── FILTROS (cursos) ─────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-btn {
  font-size: 14px; font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 1.5px solid var(--cinza-borda);
  border-radius: 999px;
  padding: 10px 20px;
  transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--vermelho); color: var(--vermelho); }
.filter-btn.active { background: var(--vermelho); border-color: var(--vermelho); color: #fff; }
.course-card.is-hidden { display: none; }

/* ─────────────── CURSO INDIVIDUAL ─────────────── */
.course-hero {
  position: relative;
  background-color: var(--navy);
  background-image: url("../public/images/pattern.avif");
  background-size: cover; background-position: center; background-attachment: fixed;
  color: #fff;
  padding: clamp(120px, 12vw, 150px) 0 clamp(48px, 6vw, 72px);
  overflow: hidden;
  border-bottom: 4px solid var(--vermelho);
}
.course-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(16,24,42,0.88), rgba(20,32,54,0.93));
  pointer-events: none;
}
.course-hero .container { position: relative; z-index: 1; }
.course-hero .meta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0; }
.course-hero h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4.8vw, 54px); line-height: 1.0; letter-spacing: -0.035em; }
.course-hero .rating-line { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 4px; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,0.85); }
.course-hero .rating-line svg { width: 17px; height: 17px; flex-shrink: 0; vertical-align: middle; }
.pill-line { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-dark {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: #fff;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 7px 13px;
}
.pill-dark svg { width: 15px; height: 15px; color: #FCA5A5; }

.course-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
  padding: clamp(48px, 6vw, 80px) 0;
}
.course-block + .course-block { margin-top: 44px; }
.course-block h2 { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--navy); letter-spacing: -0.01em; }
.course-block > p { margin-top: 14px; }
.learn-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; margin-top: 22px; }
.learn-list li { display: flex; gap: 11px; font-size: 15px; color: var(--texto); line-height: 1.5; }
.learn-list svg { width: 21px; height: 21px; color: var(--vermelho); flex-shrink: 0; margin-top: 1px; }
.audience-list { margin-top: 18px; }
.audience-list li { position: relative; padding-left: 24px; font-size: 15.5px; color: var(--cinza-medio); margin-bottom: 12px; }
.audience-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--vermelho); }

/* Accordion */
.accordion { margin-top: 22px; border: 1px solid var(--cinza-borda); border-radius: var(--radius); overflow: hidden; }
.accordion-item + .accordion-item { border-top: 1px solid var(--cinza-borda); }
.accordion-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--navy);
  text-align: left;
  transition: background 0.2s ease;
}
.accordion-head:hover { background: var(--cinza-claro); }
.accordion-head .acc-ico { flex-shrink: 0; transition: transform 0.3s ease; color: var(--vermelho); }
.accordion-item.open .acc-ico { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.accordion-panel-inner { padding: 0 22px 20px; font-size: 15px; color: var(--cinza-medio); line-height: 1.65; }

/* Corpo docente */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 24px; }
.teacher {
  background: #fff; border: 1px solid var(--cinza-borda); border-radius: var(--radius);
  padding: 24px; text-align: center;
}
.teacher-avatar {
  width: 72px; height: 72px; margin: 0 auto 14px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--vermelho), var(--vermelho-escuro));
  color: #fff; font-family: var(--display); font-weight: 800; font-size: 24px;
}
.teacher h4 { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--navy); }
.teacher .role { font-size: 13px; color: var(--vermelho); font-weight: 600; margin: 3px 0 10px; }
.teacher p { font-size: 13.5px; color: var(--cinza-medio); line-height: 1.55; }

/* Sidebar sticky */
.course-sidebar { position: sticky; top: 100px; }
.enroll-card {
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.enroll-media { aspect-ratio: 16 / 11; background: var(--navy); overflow: hidden; }
.enroll-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.enroll-body { padding: 24px; }
.enroll-price-label { font-size: 13px; color: var(--cinza-medio); }
.enroll-price { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--navy); line-height: 1.1; margin: 2px 0 4px; }
.enroll-price small { font-size: 14px; font-weight: 600; color: var(--cinza-medio); }
.enroll-note { font-size: 13px; color: var(--cinza-medio); }
.enroll-actions { display: flex; flex-direction: column; gap: 11px; margin: 20px 0; }
.enroll-features { border-top: 1px solid var(--cinza-borda); padding-top: 18px; }
.enroll-features li { display: flex; gap: 10px; font-size: 14px; color: var(--texto); margin-bottom: 12px; line-height: 1.45; }
.enroll-features svg { width: 18px; height: 18px; color: var(--vermelho); flex-shrink: 0; margin-top: 1px; }

/* ─────────────── SOBRE ─────────────── */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mvv-card {
  background: #fff; border: 1px solid var(--cinza-borda); border-radius: var(--radius);
  padding: 32px 28px;
  border-top: 4px solid var(--vermelho);
}
.mvv-card .mvv-ico {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: rgba(200,39,46,0.10); color: var(--vermelho); border-radius: 12px; margin-bottom: 18px;
}
.mvv-card .mvv-ico svg { width: 24px; height: 24px; }
.mvv-card h3 { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--navy); margin-bottom: 10px; }
.mvv-card p { font-size: 15px; color: var(--cinza-medio); line-height: 1.65; }

.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 50%; width: 2px; background: var(--cinza-borda); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 44px 48px; }
.tl-item:nth-child(odd) { text-align: right; }
.tl-item:nth-child(even) { margin-left: 50%; text-align: left; }
.tl-item::after { content: ""; position: absolute; top: 4px; width: 15px; height: 15px; background: #fff; border: 3px solid var(--vermelho); border-radius: 50%; }
.tl-item:nth-child(odd)::after { right: -8px; }
.tl-item:nth-child(even)::after { left: -8px; }
.tl-year { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--vermelho); }
.tl-heading { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--navy); margin: 4px 0 8px; }
.tl-item p { font-size: 14.5px; color: var(--cinza-medio); line-height: 1.6; }

.about-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.about-visual {
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900), var(--navy));
  aspect-ratio: 4/3; display: grid; place-items: center; padding: 40px;
}
.about-visual img { width: 78%; filter: brightness(0) invert(1); opacity: 0.9; }

/* ─────────────── CONTATO ─────────────── */
.contact-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--cinza-borda); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--cinza-borda);
  border-radius: 10px;
  background: var(--cinza-claro);
  color: var(--texto);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--vermelho); background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 13px; color: var(--cinza-medio); margin-top: 6px; }
.form-success { display: none; background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 10px; padding: 14px 16px; font-size: 14px; font-weight: 500; margin-bottom: 18px; }
.form-success.show { display: block; }

.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; gap: 15px; align-items: flex-start;
  background: #fff; border: 1px solid var(--cinza-borda); border-radius: var(--radius);
  padding: 20px 22px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.contact-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.contact-item .ci-ico {
  width: 44px; height: 44px; flex-shrink: 0;
  display: grid; place-items: center;
  background: rgba(200,39,46,0.10); color: var(--vermelho); border-radius: 11px;
}
.contact-item .ci-ico svg { width: 21px; height: 21px; }
.contact-item h4 { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--navy); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 14px; color: var(--cinza-medio); line-height: 1.5; }
.contact-item a:hover { color: var(--vermelho); }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--cinza-borda); margin-top: 44px; line-height: 0; }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ─────────────── ÁREA DO ALUNO ─────────────── */
.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.platform-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--cinza-borda); border-radius: var(--radius);
  padding: 36px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.platform-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.platform-ico {
  width: 58px; height: 58px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-800)); color: #fff;
  border-radius: 14px; margin-bottom: 22px;
}
.platform-ico svg { width: 28px; height: 28px; }
.platform-card h3 { font-family: var(--display); font-weight: 700; font-size: 21px; color: var(--navy); margin-bottom: 10px; }
.platform-card p { font-size: 15px; color: var(--cinza-medio); line-height: 1.6; }
.platform-card .btn { margin-top: 24px; align-self: flex-start; }

.help-band {
  background: var(--cinza-claro);
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  margin-top: 44px;
}
.help-band h3 { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--navy); }
.help-band p { color: var(--cinza-medio); margin: 10px auto 24px; max-width: 460px; }

/* ─────────────── FAQ ─────────────── */
.faq-wrap { max-width: 800px; margin: 0 auto; }

/* ─────────────── BLOG / POST ─────────────── */
.blog-search { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.blog-search input { flex: 1; min-width: 240px; padding: 13px 16px; border: 1.5px solid var(--cinza-borda); border-radius: 10px; background: var(--cinza-claro); }
.blog-search input:focus { outline: none; border-color: var(--vermelho); background: #fff; }
.post-body { max-width: 760px; margin: 0 auto; }
.post-body p { font-size: 17px; color: var(--texto); line-height: 1.8; margin-bottom: 22px; }
.post-body h2 { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--navy); margin: 38px 0 14px; }
.post-meta { display: flex; gap: 12px; align-items: center; font-size: 13.5px; color: rgba(255,255,255,0.7); margin-top: 16px; }
.newsletter {
  background: var(--cinza-claro); border: 1px solid var(--cinza-borda);
  border-radius: var(--radius); padding: 34px; text-align: center; margin-top: 48px;
}
.newsletter h3 { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--navy); }
.newsletter p { color: var(--cinza-medio); margin: 8px auto 22px; max-width: 440px; }
.newsletter-form { display: flex; gap: 12px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; }
.newsletter-form input { flex: 1; min-width: 200px; padding: 14px 16px; border: 1.5px solid var(--cinza-borda); border-radius: 10px; background: #fff; }
.newsletter-form input:focus { outline: none; border-color: var(--vermelho); }

/* ─────────────── MARQUEE / TICKER ─────────────── */
.marquee {
  background: var(--vermelho);
  color: #fff;
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: marquee 28s linear infinite;
  will-change: transform;
}
.marquee-track span {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(16px, 2.2vw, 22px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
}
.marquee-track span::after { content: "✦"; color: rgba(255,255,255,0.55); font-size: 14px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ─────────────── METODOLOGIA ─────────────── */
.metodo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.metodo {
  text-align: center;
  padding: 32px 22px;
  background: #fff;
  border: 1px solid var(--cinza-borda);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.metodo:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.metodo-ico {
  width: 60px; height: 60px; margin: 0 auto 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--azul-medio));
  color: #fff; border-radius: 16px;
}
.metodo-ico svg { width: 28px; height: 28px; }
.metodo h3 { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.metodo p { font-size: 14px; color: var(--cinza-medio); line-height: 1.55; }

/* ─────────────── COORDENADORES / DOCENTES COM FOTO ─────────────── */
.coord-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.coord-card {
  background: #fff; border: 1px solid var(--cinza-borda); border-radius: var(--radius);
  overflow: hidden; text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.coord-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.coord-photo { aspect-ratio: 1/1; background: linear-gradient(135deg, var(--navy-900), var(--navy)); overflow: hidden; }
.coord-photo img { width: 100%; height: 100%; object-fit: cover; }
.coord-initials {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 46px; color: #fff;
  background: linear-gradient(135deg, var(--vermelho), var(--vermelho-escuro));
}
.coord-body { padding: 20px 18px 24px; }
.coord-body h4 { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--navy); }
.coord-body .coord-role { font-size: 12.5px; font-weight: 600; color: var(--vermelho); margin: 4px 0 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.coord-body .coord-cred { font-size: 13px; color: var(--cinza-medio); line-height: 1.5; margin-top: 6px; }
.course-cat-label { font-size: 12px; font-weight: 700; color: var(--vermelho); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.coord-body ul { text-align: left; }
.coord-body li { position: relative; padding-left: 16px; font-size: 13px; color: var(--cinza-medio); line-height: 1.45; margin-bottom: 6px; }
.coord-body li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--vermelho); }

/* ─────────────── PÚBLICO-ALVO ─────────────── */
.publico-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.publico-card {
  background: linear-gradient(160deg, var(--navy), var(--navy-900));
  color: #fff; border-radius: var(--radius); padding: 28px 24px;
  position: relative; overflow: hidden;
}
.publico-card::before {
  content: attr(data-n);
  position: absolute; top: -10px; right: 10px;
  font-family: var(--display); font-weight: 800; font-size: 70px;
  color: rgba(255,255,255,0.06);
}
.publico-card h4 { font-family: var(--display); font-weight: 800; font-size: 16px; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 10px; position: relative; }
.publico-card h4 span { color: #FF6B6B; }
.publico-card p { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.55; position: relative; }

/* ─────────────── A FARMÁCIA EM TRANSFORMAÇÃO ─────────────── */
.transform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.transform-card { background: #fff; border: 1px solid var(--cinza-borda); border-radius: var(--radius); padding: 32px; }
.transform-card.accent { background: linear-gradient(160deg, var(--navy), var(--navy-900)); color: #fff; border-color: transparent; }
.transform-card h3 { font-family: var(--display); font-weight: 800; font-size: 20px; margin-bottom: 18px; color: var(--navy); }
.transform-card.accent h3 { color: #fff; }
.transform-card .t-item { display: flex; gap: 13px; margin-bottom: 18px; }
.transform-card .t-item:last-child { margin-bottom: 0; }
.transform-card .t-ico { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; background: rgba(200,39,46,0.10); color: var(--vermelho); border-radius: 10px; }
.transform-card.accent .t-ico { background: rgba(255,255,255,0.12); color: #FF8A8A; }
.transform-card .t-ico svg { width: 19px; height: 19px; }
.transform-card .t-item strong { font-family: var(--display); font-weight: 700; font-size: 15px; display: block; margin-bottom: 2px; }
.transform-card .t-item p { font-size: 13.5px; color: var(--cinza-medio); line-height: 1.5; }
.transform-card.accent .t-item p { color: rgba(255,255,255,0.72); }

/* ─────────────── BANNER INÍCIO IMEDIATO ─────────────── */
.inicio-banner {
  background: var(--navy);
  color: #fff; border-radius: var(--radius);
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 32px; align-items: center;
  padding: 40px 44px;
}
.inicio-banner .ib-left h3 { font-size: 16px; font-weight: 500; color: rgba(255,255,255,0.7); }
.inicio-banner .ib-left .ib-big { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); color: #fff; line-height: 1.1; margin-top: 6px; }
.inicio-banner .ib-left .ib-big span { color: #FF6B6B; }
.inicio-banner .ib-right { font-size: 15.5px; color: rgba(255,255,255,0.82); line-height: 1.65; border-left: 2px solid rgba(255,255,255,0.18); padding-left: 28px; }

/* ─────────────── PARCERIA FACSM / VALIDAÇÃO MEC ─────────────── */
.facsm {
  display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center;
  background: #fff; border: 1px solid var(--cinza-borda); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 44px 48px;
  text-align: left;
}
.facsm-logo { width: 320px; max-width: 80%; height: auto; margin-bottom: 22px; }
.facsm-body p { font-size: 15px; color: var(--cinza-medio); line-height: 1.7; }
.facsm-body p + p { margin-top: 14px; }
.facsm-selo { width: 150px; height: auto; }
.facsm .btn { flex-shrink: 0; }
.facsm-cta { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.facsm-cta .emec-note { font-size: 11.5px; color: var(--cinza-medio); max-width: 220px; }

/* ─────────────── FORMULÁRIO DE LEAD (curso) ─────────────── */
.lead-section { background: var(--navy); color: #fff; }
.lead-inner { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: center; }
.lead-inner h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.8vw, 44px); line-height: 1.0; letter-spacing: -0.03em; }
.lead-inner > div > p { color: rgba(255,255,255,0.8); margin-top: 14px; font-size: 16px; }
.lead-card { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-lg); }
.lead-card .field { margin-bottom: 14px; }

/* ─────────────── RESPONSIVO dos novos componentes ─────────────── */
@media (max-width: 1024px) {
  .metodo-grid, .coord-grid, .publico-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-inner { grid-template-columns: 1fr; }
  .lead-card { max-width: 460px; }
  .facsm { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .facsm-body { text-align: center; }
  .inicio-banner { grid-template-columns: 1fr; gap: 20px; padding: 32px; }
  .inicio-banner .ib-right { border-left: none; border-top: 2px solid rgba(255,255,255,0.18); padding-left: 0; padding-top: 20px; }
}
@media (max-width: 768px) {
  .metodo-grid, .coord-grid, .publico-grid, .transform-grid { grid-template-columns: 1fr; }
  .coord-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .coord-grid { grid-template-columns: 1fr; }
}

/* ─────────────── BARRA DE PROGRESSO DE SCROLL ─────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--vermelho), var(--dourado-marca));
  z-index: 200;
  will-change: width;
}

/* ─────────────── FAIXA PARALLAX (padrão fixo) ─────────────── */
.parallax {
  position: relative;
  background-color: var(--navy-900);
  background-image: url("../public/images/pattern.avif");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;     /* efeito de rolagem fixa */
  color: #fff;
  overflow: hidden;
}
.parallax::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(rgba(16,24,42,0.90), rgba(20,32,54,0.93));
  pointer-events: none;
}
.parallax > .container { position: relative; z-index: 1; }

/* Faixa de slogan dramática */
.slogan-band { padding: clamp(80px, 12vw, 150px) 0; text-align: center; }
.slogan-band .sb-eyebrow { color: #FCA5A5; font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.slogan-band .sb-quote {
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(30px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 22px auto 0;
  max-width: 16ch;
}
.slogan-band .sb-quote .accent { color: #FF8A8A; }
.slogan-band .sb-actions { display: flex; justify-content: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* ─────────────── SPOTLIGHT (mouse) NOS CARDS ─────────────── */
.feature, .metodo, .course-card, .coord-card, .free-card, .blog-card, .platform-card, .mvv-card, .teacher { position: relative; }
.feature::after, .metodo::after, .course-card::after, .coord-card::after,
.free-card::after, .blog-card::after, .platform-card::after, .mvv-card::after, .teacher::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(200,39,46,0.10), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}
.feature:hover::after, .metodo:hover::after, .course-card:hover::after, .coord-card:hover::after,
.free-card:hover::after, .blog-card:hover::after, .platform-card:hover::after, .mvv-card:hover::after, .teacher:hover::after { opacity: 1; }
.course-card .course-body, .coord-card .coord-body, .free-card .free-body, .blog-card .blog-body { position: relative; z-index: 2; }

@media (hover: none), (max-width: 768px) {
  .parallax, .page-hero, .course-hero, .stats-band, .cta-final { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { display: none; }
}

/* Acessibilidade — título oculto visualmente (SEO/leitores de tela) */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─────────────── VIEWS (SPA) ─────────────── */
.view { display: none; }
.view.active { display: block; animation: view-in 0.5s var(--ease); }
@keyframes view-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .view.active { animation: none; } }

/* ─────────────── TRANSIÇÃO DE PÁGINA / VIEW (cortina) ─────────────── */
#page-transition {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: grid; place-items: center;
  transform: translateY(-100%);            /* padrão: revelado (seguro se o JS falhar) */
  transition: transform 0.55s var(--ease);
  pointer-events: none;
}
#page-transition.is-covering { transform: translateY(0); }   /* cobrindo */
#page-transition.no-anim { transition: none; }
#page-transition .pt-logo {
  width: 130px; height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
@media (prefers-reduced-motion: reduce) { #page-transition { display: none !important; } }

/* ─────────────── REVEAL DE IMAGEM (wipe) ─────────────── */
.reveal .course-media, .reveal .blog-media, .reveal .free-media, .reveal .coord-photo {
  clip-path: inset(0 0 102% 0);
}
.reveal.is-visible .course-media, .reveal.is-visible .blog-media,
.reveal.is-visible .free-media, .reveal.is-visible .coord-photo {
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.85s var(--ease) 0.12s;
}
@media (prefers-reduced-motion: reduce) {
  .reveal .course-media, .reveal .blog-media, .reveal .free-media, .reveal .coord-photo { clip-path: none; }
}

/* ─────────────── QUEM SOMOS (home) ─────────────── */
.quem {
  position: relative;
  overflow: hidden;
}
.quem::before {
  content: "";
  position: absolute; left: -60px; top: 50%; transform: translateY(-50%);
  width: 460px; height: 582px;
  background: url("../public/emblema-navy.webp") center/contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
}
.quem-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center;
}
.quem-art { display: grid; place-items: center; }
.quem-art img { width: 78%; max-width: 360px; opacity: 0.12; }
.quem-title {
  display: inline-block;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(30px, 4.4vw, 52px);
  letter-spacing: -0.02em;
  color: #fff;
  background: var(--vermelho);
  padding: 6px 20px;
  text-transform: uppercase;
}
.quem-text { font-size: 16.5px; color: var(--cinza-medio); line-height: 1.75; margin-top: 24px; }
.quem-text strong { color: var(--texto); font-weight: 700; }
.quem-slogan {
  display: inline-block;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(16px, 1.8vw, 21px);
  color: #fff; background: var(--navy);
  padding: 5px 16px; margin-top: 26px;
}
.quem-selo { margin-top: 28px; }
.quem-selo img { width: 320px; max-width: 80%; height: auto; }
@media (max-width: 900px) {
  .quem-inner { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .quem-art { display: none; }
  .quem-slogan, .quem-selo img { }
  .quem::before { opacity: 0.05; }
}

/* ─────────────── ANIMAÇÕES ─────────────── */
@keyframes fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.reveal.rev-scale.is-visible { animation: fade-scale 0.8s var(--ease) forwards; }
@keyframes fade-scale { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; }
.reveal.is-visible { animation: fade-up 0.7s var(--ease) forwards; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible { opacity: 1; animation: none; }
}

/* ─────────────── RESPONSIVO ─────────────── */
@media (max-width: 1024px) {
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid, .free-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band-list { grid-template-columns: repeat(3, 1fr); gap: 28px 12px; }
  .stat-band-item:nth-child(3n+1) { border-left: none; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .steps::before { display: none; }
  .course-layout { grid-template-columns: 1fr; gap: 36px; }
  .course-sidebar { position: static; max-width: 460px; }
  .testi-card { flex-basis: calc((100% - 24px) / 2); }
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; }                 /* substituído pelo drawer no mobile */
  .header-cta .btn:not(.menu-toggle) { display: none; }
  .header-inner { padding-left: 20px; padding-right: 9px; }

  .hero-stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .features-grid { grid-template-columns: 1fr; }
  .courses-grid, .free-grid, .blog-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-band-list { grid-template-columns: 1fr 1fr; gap: 30px 12px; }
  .stat-band-item:nth-child(odd) { border-left: none; }
  .steps { grid-template-columns: 1fr; }
  .testi-card { flex-basis: 100%; }
  .learn-list { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }

  .timeline::before { left: 7px; }
  .tl-item, .tl-item:nth-child(odd), .tl-item:nth-child(even) {
    width: 100%; margin-left: 0; text-align: left; padding: 0 0 40px 36px;
  }
  .tl-item:nth-child(odd)::after, .tl-item:nth-child(even)::after { left: 0; right: auto; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .whats-float:hover .whats-label { max-width: 0; opacity: 0; margin: 0; }
}

@media (max-width: 480px) {
  .hero-stats-grid { grid-template-columns: 1fr; }
}

/* ═══════════ BARRA DE ROLAGEM PERSONALIZADA ═══════════ */
html { scrollbar-width: thin; scrollbar-color: var(--vermelho) var(--cinza-claro); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--cinza-claro); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--vermelho), var(--vermelho-escuro));
  border-radius: 999px;
  border: 3px solid var(--cinza-claro);
}
::-webkit-scrollbar-thumb:hover { background: var(--vermelho-escuro); }
::-webkit-scrollbar-corner { background: var(--cinza-claro); }

/* ═══════════ CURSOR PERSONALIZADO ═══════════ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  z-index: 10000; pointer-events: none;
  border-radius: 50%;
  will-change: transform;
  mix-blend-mode: normal;
}
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--vermelho);
  transition: opacity 0.2s ease, transform 0.08s linear;
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(200,39,46,0.55);
  transition: width 0.25s var(--ease), height 0.25s var(--ease),
              background 0.25s ease, border-color 0.25s ease, opacity 0.2s ease;
}
.has-custom-cursor.cursor-hover .cursor-ring {
  width: 56px; height: 56px;
  background: rgba(200,39,46,0.12);
  border-color: var(--vermelho);
}
.has-custom-cursor.cursor-hover .cursor-dot { opacity: 0; }
.has-custom-cursor.cursor-down .cursor-ring { width: 30px; height: 30px; }
/* esconde o cursor nativo só quando o custom está ativo (fallback seguro) */
.has-custom-cursor,
.has-custom-cursor a,
.has-custom-cursor button,
.has-custom-cursor [role="button"],
.has-custom-cursor .course-card,
.has-custom-cursor label { cursor: none; }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}