/* =========================================================================
   SEEN - Escola de Negócios
   Design system: fundo escuro, ciano + laranja como destaque, tipografia
   grande como elemento gráfico. Sem gradientes roxo/azul genéricos, sem
   glassmorphism, sem cards 3D.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #12161d;
  --bg-elevated: #1a1f27;
  --bg-elevated-2: #212734;
  --bg-card-border: rgba(255, 255, 255, 0.08);

  --green-900: #08201a;
  --green-700: #0b4536;
  --green-500: #0f7f63;

  --cyan: #17e6d4;
  --cyan-dim: rgba(23, 230, 212, 0.14);
  --orange: #ff7a1a;
  --orange-dim: rgba(255, 122, 26, 0.14);
  --whatsapp-green: #25d366;
  --whatsapp-green-dim: rgba(37, 211, 102, 0.16);

  --text: #f4f7f8;
  --text-muted: #a3aeb9;
  --text-faint: #8a95a1;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container-w: 1200px;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--cyan);
  color: #06201c;
  padding: 12px 18px;
  z-index: 999;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

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

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: 780px; }

.section { padding: clamp(56px, 7vw, 96px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { margin-top: 12px; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0;
}
.eyebrow--cyan { color: var(--cyan); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.2; }

.section-lead {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 60ch;
  margin-top: 16px;
}

.text-cyan { color: var(--cyan); }
.text-orange { color: var(--orange); }

.only-desktop { display: none; }
@media (min-width: 900px) { .only-desktop { display: inline; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--orange);
  color: #1a1004;
}
.btn-primary:hover { background: #ff8a38; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(18, 22, 29, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.logo-mark {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--text);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}
.logo-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  margin: 0 2px 10px;
  display: inline-block;
}
.logo-caption {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
}

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a:not(.btn) {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}
.main-nav a:not(.btn):hover { color: var(--text); }
.nav-cta { padding: 11px 22px; font-size: 0.88rem; }

.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav-instagram svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.nav-instagram:hover { color: var(--cyan); background: var(--cyan-dim); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 13, 0.6);
  z-index: 45;
}

@media (max-width: 899px) {
  .menu-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: 76px;
    right: 0;
    height: calc(100dvh - 76px);
    width: min(320px, 84vw);
    background: var(--bg-elevated);
    border-left: 1px solid var(--bg-card-border);
    flex-direction: column;
    align-items: stretch;
    padding: 32px 28px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    z-index: 50;
    overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav ul a {
    display: block;
    padding: 14px 4px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav-actions { flex-direction: column-reverse; align-items: stretch; margin-top: 8px; gap: 16px; }
  .nav-cta { text-align: center; }
  .nav-instagram { align-self: center; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  padding: clamp(100px, 15vw, 168px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 82% -10%, rgba(23, 230, 212, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(255, 122, 26, 0.08), transparent 55%),
    linear-gradient(165deg, #0c2620 0%, #10201d 32%, var(--bg) 68%);
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.bg-word {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4.5rem, 13vw, 8.5rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.07);
  white-space: nowrap;
  user-select: none;
  line-height: 1;
  z-index: 0;
}
.bg-word--1 { top: 4%; left: 3%; -webkit-text-stroke-color: rgba(23, 230, 212, 0.1); }
.bg-word--2 { top: 46%; right: 6%; -webkit-text-stroke-color: rgba(255, 122, 26, 0.12); }
.bg-word--3 { bottom: 2%; left: 6%; -webkit-text-stroke-color: rgba(255, 255, 255, 0.06); font-size: clamp(3rem, 9vw, 6rem); }

.hero-grid {
  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: 64px 64px;
  mask-image: radial-gradient(700px 500px at 75% 20%, black, transparent 70%);
}

.hero-network {
  position: absolute;
  top: 6%;
  right: 4%;
  width: min(360px, 40vw);
  opacity: 0.7;
}
.net-lines line { stroke: var(--cyan); stroke-width: 1; opacity: 0.35; }
.net-dots circle { fill: var(--orange); }

.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero-title {
  margin-top: 18px;
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.04;
}
.hero-subtitle {
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-muted);
  max-width: 52ch;
}
.hero-complement {
  margin-top: 14px;
  font-size: 0.98rem;
  color: var(--text-faint);
  max-width: 54ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-tags li {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-faint);
  position: relative;
  padding-left: 16px;
}
.hero-tags li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

/* =========================================================================
   PAGE HERO (subpáginas: /treinamentos, /empresas, /sobre, cursos)
   ========================================================================= */
.page-hero {
  position: relative;
  padding: clamp(72px, 11vw, 120px) 0 clamp(40px, 6vw, 64px);
  overflow: hidden;
  background:
    radial-gradient(1000px 560px at 85% -15%, rgba(23, 230, 212, 0.09), transparent 60%),
    linear-gradient(165deg, #0c2620 0%, #10201d 32%, var(--bg) 68%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 780px; }
.page-hero h1 { margin-top: 14px; font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; }
.page-hero .section-lead { margin-top: 18px; }
.page-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.page-hero-highlight {
  margin-top: 22px;
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--orange);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  transition: color 0.2s var(--ease);
}
.back-link:hover { color: var(--cyan); }

/* =========================================================================
   COMO FUNCIONA / STEPS
   ========================================================================= */
.how-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  position: relative;
}
.how-step {
  background: var(--bg-elevated);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-m);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 10px;
  min-width: 0;
}
.how-step-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
}
.how-step h3 { margin-top: 2px; }
.how-step p { color: var(--text-muted); font-size: 0.92rem; }
.how-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 1.4rem;
  font-weight: 700;
}
@media (max-width: 899px) {
  .how-grid { grid-template-columns: 1fr; gap: 16px; }
  .how-step { margin: 0; }
  .how-arrow { transform: rotate(90deg); height: 20px; }
}

/* =========================================================================
   PIPELINE (destaque grande, usada em /treinamentos/do-zero-ao-deploy)
   ========================================================================= */
.pipeline--hero {
  margin: 0;
  gap: 12px;
  justify-content: center;
}
.pipeline--hero .pipeline-step {
  padding: 14px 22px;
  font-size: 0.95rem;
  background: var(--bg-elevated-2);
  border-color: rgba(23, 230, 212, 0.3);
}
.pipeline--hero .pipeline-arrow { font-size: 1.1rem; }
@media (max-width: 640px) {
  .pipeline--hero { flex-direction: column; align-items: stretch; }
  .pipeline--hero .pipeline-step { text-align: center; }
  .pipeline--hero .pipeline-arrow { transform: rotate(90deg); align-self: center; }
}

/* =========================================================================
   FERRAMENTAS
   ========================================================================= */
.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg-elevated-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.88rem;
}
.tool-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

/* =========================================================================
   MINI CTA (Home: empresas / CTA final)
   ========================================================================= */
.mini-cta {
  background: linear-gradient(160deg, var(--green-700), var(--green-900));
  border-radius: var(--radius-l);
  padding: clamp(32px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.mini-cta-copy h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.mini-cta-copy p { color: rgba(255, 255, 255, 0.75); margin-top: 10px; max-width: 46ch; }
.mini-cta .btn { flex-shrink: 0; }

.final-cta {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.final-cta h2 { margin-top: 12px; }
.final-cta .btn { margin-top: 28px; }

/* =========================================================================
   FILTERS + TRAININGS
   ========================================================================= */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover { border-color: var(--cyan); color: var(--text); }
.filter-btn.is-active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #062622;
}
.filter-btn.filter-btn--ia {
  border-color: rgba(255, 122, 26, 0.4);
  color: var(--orange);
}
.filter-btn.filter-btn--ia:hover { background: var(--orange-dim); }

.trainings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.trainings-grid > *,
.ia-grid > *,
.contact-grid > *,
.split > *,
.company-list > * {
  min-width: 0;
}

.course-card {
  background: var(--bg-elevated);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-m);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.course-card:hover { border-color: rgba(23, 230, 212, 0.35); transform: translateY(-3px); }

.course-tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--cyan-dim);
  padding: 5px 12px;
  border-radius: 999px;
}
.course-card h3 { font-size: 1.2rem; }
.course-desc { color: var(--text-muted); font-size: 0.94rem; }

.course-tags-row { display: flex; flex-wrap: wrap; gap: 8px; }
.course-tags-row .modal-badge { font-size: 0.72rem; padding: 5px 11px; }

.course-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -4px; }
.course-topic-chip {
  font-size: 0.76rem;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.course-outcome {
  border-left: 3px solid var(--cyan);
  background: rgba(23, 230, 212, 0.06);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 0.86rem;
}
.course-outcome-label {
  display: block;
  color: var(--cyan);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
  margin-bottom: 4px;
}
.course-outcome p { margin: 0; color: var(--text-muted); }

.course-card { margin-top: auto; }
.course-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.course-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.course-duration { font-size: 0.82rem; color: var(--text-faint); font-weight: 600; }
.course-footer-actions { display: flex; gap: 10px; }

.course-link {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.course-link:hover { border-color: var(--orange); color: var(--orange); }

.btn-whatsapp-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--whatsapp-green-dim);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: var(--whatsapp-green);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn-whatsapp-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn-whatsapp-icon:hover { background: var(--whatsapp-green); color: #04140a; transform: translateY(-2px); }

/* =========================================================================
   IA SECTION
   ========================================================================= */
.section--ia {
  background: linear-gradient(180deg, var(--bg) 0%, #0e1a17 50%, var(--bg) 100%);
  position: relative;
}
.ia-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.bg-word--ia {
  position: absolute;
  bottom: 4%;
  right: 7%;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(23, 230, 212, 0.1);
  white-space: nowrap;
}

.ia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}

.ia-card {
  background: linear-gradient(160deg, var(--bg-elevated-2), var(--bg-elevated));
  border: 1px solid rgba(23, 230, 212, 0.22);
  border-radius: var(--radius-l);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.ia-card.ia-card--flagship { border-color: rgba(255, 122, 26, 0.32); }
.ia-card-badge {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--cyan-dim);
  color: var(--cyan);
}
.ia-card--flagship .ia-card-badge { background: var(--orange-dim); color: var(--orange); }
.ia-card h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.ia-card .course-desc { color: var(--text-muted); }
.ia-card-highlight {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--orange);
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
}
.ia-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ia-card-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ia-card-footer-actions { display: flex; gap: 10px; }
.ia-card-footer-actions .btn { flex: 1; }

.ia-more { text-align: center; margin-top: 32px; position: relative; z-index: 1; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}
.link-arrow::after { content: "↓"; transition: transform 0.2s var(--ease); }
.link-arrow:hover { color: var(--cyan); }
.link-arrow:hover::after { transform: translateY(3px); }

/* Pipeline diagram (used inside modal for the SaaS course) */
.pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0;
}
.pipeline-step {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--bg-elevated-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.pipeline-arrow { color: var(--cyan); font-weight: 700; }

/* =========================================================================
   FLOW DIAGRAM (fluxo longo, conectado por uma linha - tipo roadmap)
   ========================================================================= */
.flow-diagram {
  list-style: none;
  margin: 32px auto 0;
  padding: 0;
  max-width: 420px;
}
.flow-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 8px 0;
}
.flow-node:not(:last-child) {
  padding-bottom: 22px;
}
.flow-node:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 22px;
  bottom: -8px;
  width: 2px;
  background: linear-gradient(rgba(23, 230, 212, 0.45), rgba(23, 230, 212, 0.15));
}
.flow-dot {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-elevated-2);
  border: 2px solid var(--cyan);
}
.flow-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  padding: 11px 20px;
  background: var(--bg-elevated-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}
.flow-node--final .flow-dot { background: var(--cyan); border-color: var(--cyan); }
.flow-node--final .flow-label {
  color: var(--cyan);
  border-color: rgba(23, 230, 212, 0.5);
  background: var(--cyan-dim);
}

/* =========================================================================
   DIFERENCIAIS
   ========================================================================= */
.section--diferenciais { background: var(--bg-elevated); }
.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.diferencial-card {
  padding: 28px 24px;
  background: var(--bg-elevated-2);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-m);
}
.diferencial-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange-dim);
  margin-bottom: 18px;
}
.diferencial-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.diferencial-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.diferencial-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* =========================================================================
   PRICING (turma / investimento / certificado)
   ========================================================================= */
.pricing-block {
  display: grid;
  grid-template-columns: minmax(280px, 400px) 1fr;
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  padding: 32px 28px;
  background: linear-gradient(165deg, rgba(255, 122, 26, 0.12), rgba(255, 122, 26, 0.02) 60%);
  border: 1.5px solid rgba(255, 122, 26, 0.35);
  border-radius: var(--radius-m);
  display: flex;
  flex-direction: column;
}
.pricing-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
}
.pricing-value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--text);
  margin-top: 10px;
  line-height: 1.1;
}
.pricing-value span { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); }
.pricing-installments { margin-top: 8px; color: var(--cyan); font-weight: 700; font-size: 1.05rem; }
.pricing-cta { margin-top: 24px; width: 100%; text-align: center; }
.pricing-hint { margin-top: 12px; color: var(--text-faint); font-size: 0.82rem; text-align: center; }

.pricing-facts { display: flex; flex-direction: column; gap: 16px; }
.pricing-fact {
  flex: 1;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 22px 24px;
  background: var(--bg-elevated-2);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-m);
}
.pricing-fact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--cyan-dim);
  color: var(--cyan);
}
.pricing-fact-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pricing-fact h3 { font-size: 1rem; margin-bottom: 4px; }
.pricing-fact p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

@media (max-width: 767px) {
  .pricing-block { grid-template-columns: 1fr; }
}
.pricing-card--solo { max-width: 460px; margin-inline: auto; }
.pricing-card .check-list { text-align: left; }

/* =========================================================================
   COURSE HERO (páginas de treinamento: hero em 2 colunas)
   ========================================================================= */
.course-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.course-hero-copy { max-width: 620px; }
.course-hero-copy h1 { margin-top: 14px; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.1; }
.course-hero-copy .section-lead { margin-top: 18px; }

/* Painel conceitual - composição abstrata das aplicações, sem imagens de
   estoque nem clichês visuais de IA (robôs, cérebros, circuitos). */
.hero-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-l);
  padding: 28px;
}
.hero-panel-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}
.hero-panel-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hero-panel-tools .tool-chip { padding: 8px 14px; font-size: 0.8rem; }
.hero-panel-list { display: grid; gap: 10px; }
.hero-panel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-elevated-2);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-s);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
}
.hero-panel-item-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--orange-dim);
  color: var(--orange);
}
.hero-panel-item-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-panel-item:nth-child(2) .hero-panel-item-icon { background: var(--cyan-dim); color: var(--cyan); }
.hero-panel-item:nth-child(4) .hero-panel-item-icon { background: var(--cyan-dim); color: var(--cyan); }

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

/* Destaque secundário no hero (ex.: bônus) - mesma linguagem visual do
   .page-hero-highlight, com acento em ciano em vez de laranja. */
.page-hero-highlight--bonus {
  border-left-color: var(--cyan);
  background: var(--cyan-dim);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.page-hero-highlight--bonus .bonus-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* =========================================================================
   JOURNEY (encontros / etapas com lista de tópicos)
   ========================================================================= */
.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.journey-card {
  background: var(--bg-elevated-2);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-m);
  padding: 28px 26px;
}
.journey-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.8rem;
  color: var(--cyan);
  letter-spacing: 0.08em;
}
.journey-card h3 { margin-top: 8px; }
.journey-topics { margin-top: 18px; display: grid; gap: 9px; }
.journey-topics li {
  padding-left: 18px;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.journey-topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

/* =========================================================================
   BÔNUS (destaque premium)
   ========================================================================= */
.bonus-block {
  background: linear-gradient(160deg, var(--green-700), var(--green-900));
  border-radius: var(--radius-l);
  padding: clamp(32px, 5vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}
.bonus-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bonus-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bonus-copy { flex: 1; min-width: 240px; }
.bonus-copy .eyebrow { color: var(--cyan); }
.bonus-copy h2 { margin-top: 8px; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.bonus-copy p { color: rgba(255, 255, 255, 0.75); margin-top: 10px; max-width: 52ch; }

/* =========================================================================
   STICKY CTA (mobile)
   ========================================================================= */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px max(16px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(18, 22, 29, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
  transition: transform 0.25s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta-copy { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sticky-cta-name { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }
.sticky-cta-price { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
.sticky-cta .btn { flex-shrink: 0; width: auto; padding: 12px 20px; font-size: 0.88rem; }
.sticky-cta-copy { flex: 1; overflow: hidden; }
.sticky-cta-name, .sticky-cta-price { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 767px) {
  .sticky-cta { display: flex; }
  body.has-sticky-cta { padding-bottom: 72px; }
}

/* =========================================================================
   PICK FACTS (cards de decisão em /treinamentos)
   ========================================================================= */
.pick-facts { margin: 6px 0 4px; }
.pick-facts > div { margin-bottom: 14px; }
.pick-facts dt {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  margin-bottom: 3px;
}
.pick-facts dd { margin: 0; font-size: 0.94rem; color: var(--text); }
.pick-price { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.pick-price-value { font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; }
.pick-price-label { color: var(--text-muted); font-size: 0.85rem; }

/* =========================================================================
   COMPARE TABLE (comparação entre treinamentos)
   ========================================================================= */
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-m);
}
.compare-table { width: 100%; border-collapse: collapse; background: var(--bg-elevated-2); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; vertical-align: top; }
.compare-table thead th {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-faint);
  border-bottom: 1px solid var(--bg-card-border);
}
.compare-table tbody th {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.compare-table tbody td { font-size: 0.92rem; color: var(--text); }
.compare-table tbody tr:not(:last-child) th,
.compare-table tbody tr:not(:last-child) td { border-bottom: 1px solid var(--bg-card-border); }
.compare-table tbody tr:last-child td { padding-top: 20px; }
.compare-table .btn { padding: 10px 18px; font-size: 0.85rem; }
.compare-table td.is-highlight { color: var(--cyan); font-weight: 700; }

@media (max-width: 767px) {
  .compare-table-wrap { border: none; }
  .compare-table thead { display: none; }
  .compare-table, .compare-table tbody, .compare-table tr, .compare-table th, .compare-table td {
    display: block;
    width: 100%;
  }
  .compare-table tr {
    background: var(--bg-elevated-2);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-m);
    margin-bottom: 14px;
    padding: 6px 18px;
  }
  .compare-table tbody tr:not(:last-child) th,
  .compare-table tbody tr:not(:last-child) td { border-bottom: none; }
  .compare-table tbody th {
    padding: 12px 0 2px;
    white-space: normal;
    color: var(--orange);
  }
  .compare-table td {
    padding: 0 0 12px;
    display: grid;
    grid-template-columns: 108px 1fr;
    gap: 10px;
  }
  .compare-table td[data-label]::before {
    content: attr(data-label);
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-faint);
  }
  .compare-table tbody tr:last-child td {
    display: block;
    padding: 6px 0 16px;
  }
  .compare-table tbody tr:last-child td[data-label]::before { display: none; }
}

/* =========================================================================
   IN COMPANY + SOBRE (split layout)
   ========================================================================= */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.split--reverse { grid-template-columns: 0.9fr 1.1fr; }
.split--reverse .split-copy { order: 1; }

.split-copy p { color: var(--text-muted); margin-top: 16px; max-width: 56ch; }
.split-copy h2 { margin-top: 12px; }
.split-copy .btn { margin-top: 28px; }

.section--company { background: var(--bg-elevated); }

.company-list {
  display: grid;
  gap: 16px;
}
.company-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-elevated-2);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-m);
  font-weight: 700;
  font-family: var(--font-display);
}
.company-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--orange-dim);
  display: flex;
  align-items: center;
  justify-content: center;
}
.company-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check-list { margin-top: 24px; display: grid; gap: 10px; }
.check-list li {
  padding-left: 26px;
  position: relative;
  font-weight: 600;
  color: var(--text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--cyan-dim);
  border: 1.5px solid var(--cyan);
}

.atuacao-card {
  position: relative;
  background: linear-gradient(160deg, var(--green-700), var(--green-900));
  border-radius: var(--radius-l);
  padding: 36px;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
}
.atuacao-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}
.atuacao-main {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.atuacao-highlight {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0, 0, 0, 0.25);
  padding: 14px 18px;
  border-radius: var(--radius-s);
}
.atuacao-pin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 122, 26, 0.18);
  flex-shrink: 0;
}
.atuacao-highlight strong { display: block; font-family: var(--font-display); }
.atuacao-highlight span { color: rgba(255, 255, 255, 0.7); font-size: 0.88rem; }
.atuacao-network { position: absolute; top: 0; right: 0; width: 55%; opacity: 0.5; }
.atuacao-network .net-lines line { stroke: rgba(255, 255, 255, 0.5); }
.atuacao-network .net-dots circle { fill: var(--cyan); }

/* =========================================================================
   MANIFESTO
   ========================================================================= */
.manifesto {
  padding: clamp(56px, 9vw, 110px) 24px;
  text-align: center;
  background: var(--bg);
}
.manifesto-line {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0;
}
.manifesto-line--1 {
  font-size: clamp(3.2rem, 11vw, 8rem);
  color: var(--cyan);
}
.manifesto-line--2 {
  font-size: clamp(2.6rem, 9vw, 6.6rem);
  color: var(--orange);
}

/* =========================================================================
   FAQ
   ========================================================================= */
.accordion-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}
.accordion-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
}
.accordion-icon::before, .accordion-icon::after {
  content: "";
  position: absolute;
  background: var(--cyan);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  transition: transform 0.25s var(--ease);
}
.accordion-icon::before { width: 14px; height: 2px; }
.accordion-icon::after { width: 2px; height: 14px; }
.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }

.accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s var(--ease);
}
.accordion-panel > p {
  overflow: hidden;
  min-height: 0;
  color: var(--text-muted);
  padding-right: 32px;
}
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }
.accordion-item.is-open .accordion-panel > p { padding-bottom: 22px; }

/* =========================================================================
   CONTATO
   ========================================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.contact-card {
  background: linear-gradient(160deg, var(--green-700), var(--green-900));
  border-radius: var(--radius-l);
  padding: 32px;
}
.contact-priority {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(23, 230, 212, 0.14);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.contact-name { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
.contact-role { color: var(--cyan); font-weight: 600; margin-top: 2px; margin-bottom: 22px; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
}
.contact-line svg { width: 20px; height: 20px; fill: none; stroke: var(--cyan); stroke-width: 1.6; }
.contact-line--whatsapp svg { stroke: var(--whatsapp-green); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.contact-form {
  background: var(--bg-elevated);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-l);
  padding: 32px;
  display: grid;
  gap: 18px;
}
.form-row { display: grid; gap: 8px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.form-row input,
.form-row select,
.form-row textarea {
  background: var(--bg-elevated-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-s);
  padding: 13px 16px;
  color: var(--text);
  min-height: 48px;
}
.form-row textarea { min-height: 110px; resize: vertical; }
.form-row input, .form-row select, .form-row textarea { width: 100%; min-width: 0; max-width: 100%; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--cyan); }
.form-row input:invalid:not(:placeholder-shown), .form-row select:invalid { border-color: transparent; }
.form-submit { justify-self: start; margin-top: 4px; }
.form-hint { font-size: 0.82rem; color: var(--text-faint); margin: 0; }
.form-hint--top {
  background: var(--bg-elevated-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-s);
  padding: 12px 16px;
  color: var(--text-muted);
}

/* =========================================================================
   INSTAGRAM CTA
   ========================================================================= */
.instagram-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0;
  background: var(--bg-elevated);
}
.instagram-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.instagram-cta-inner h2 {
  margin-top: 8px;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  max-width: 46ch;
  font-weight: 700;
}
.instagram-cta-inner .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand { display: flex; flex-direction: column; gap: 2px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); font-weight: 600; font-size: 0.9rem; }
.footer-links a:hover { color: var(--cyan); }
.footer-channels { display: flex; gap: 12px; }
.footer-channels a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-elevated-2);
  color: var(--text-muted);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.footer-channels svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.footer-channels a:hover { color: var(--cyan); background: var(--cyan-dim); }
.footer-channels a.footer-channel--whatsapp { color: var(--whatsapp-green); }
.footer-channels a.footer-channel--whatsapp:hover { color: var(--whatsapp-green); background: var(--whatsapp-green-dim); }
.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--text-faint);
}
.footer-meta a { color: var(--text-muted); font-weight: 600; }

/* =========================================================================
   WHATSAPP FLUTUANTE
   ========================================================================= */
.whatsapp-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  color: #04140a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 40;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), opacity 0.2s var(--ease), visibility 0.2s var(--ease);
}
/* .site-header creates its own stacking context (position + z-index), so the
   mobile nav drawer inside it can never out-rank a body-level element by
   raising its own z-index alone. Hide the floating button while the drawer
   is open instead of fighting stacking contexts (class toggled in JS). */
body.menu-open .whatsapp-float,
body.hero-in-view .whatsapp-float {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.whatsapp-float svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.whatsapp-float:hover { background: #2fe075; transform: translateY(-3px) scale(1.04); }

@media (max-width: 767px) {
  .whatsapp-float { width: 52px; height: 52px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}

/* =========================================================================
   MODAL / DRAWER
   ========================================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 9, 13, 0.72);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
  padding: 0;
}
.modal-overlay[hidden] { display: none; }

.modal {
  background: var(--bg-elevated);
  border-radius: 20px 20px 0 0;
  width: 100%;
  max-height: 92dvh;
  overflow-y: auto;
  position: relative;
  padding: 32px 24px 40px;
  animation: modal-up 0.28s var(--ease);
}
@keyframes modal-up {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated-2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.modal-close svg { width: 18px; height: 18px; fill: none; stroke: var(--text); stroke-width: 2; }

.modal-body h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  clear: both;
  padding-top: 4px;
}
.modal-subtitle { color: var(--cyan); font-weight: 700; margin-top: 6px; }
.modal-tagline { color: var(--text-muted); margin-top: 14px; }
.modal-section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 28px;
  margin-bottom: 12px;
}
.modal-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.modal-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-elevated-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.modal-instructor {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg-elevated-2);
  border-radius: var(--radius-m);
  padding: 18px;
  margin-top: 12px;
}
.modal-instructor-initial {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange-dim);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
}
.modal-instructor strong { display: block; margin-bottom: 4px; }
.modal-instructor p { color: var(--text-muted); font-size: 0.9rem; }

.modal-module {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-s);
  margin-bottom: 10px;
  overflow: hidden;
}
.modal-module-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.92rem;
  text-align: left;
}
.modal-module-trigger .accordion-icon { width: 18px; height: 18px; }
.modal-module-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}
.modal-module-panel > ul {
  overflow: hidden;
  min-height: 0;
  padding: 0 16px;
  display: grid;
  gap: 8px;
}
.modal-module.is-open .modal-module-panel { grid-template-rows: 1fr; }
.modal-module.is-open .modal-module-panel > ul { padding-bottom: 16px; }
.modal-module-panel li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.modal-module-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
}

.modal-closing-line {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  border-left: 3px solid var(--cyan);
  padding-left: 16px;
}
.modal-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 720px) {
  .modal-overlay { align-items: center; padding: 24px; }
  .modal {
    max-width: 640px;
    border-radius: var(--radius-l);
    max-height: 86dvh;
    padding: 40px;
  }
}

/* =========================================================================
   REVEAL ON SCROLL
   ========================================================================= */
/* Reveal-on-scroll only applies once JS confirms it can drive it (class set
   on <html> by an inline, render-blocking script). Without JS, content is
   simply visible - no animation dependency, no permanently-hidden sections. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================= */
@media (max-width: 1023px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split-copy { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .hero-actions .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .company-list { gap: 12px; }
  .atuacao-card { min-height: 220px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { align-items: flex-start; }
  .instagram-cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .instagram-cta-inner .btn { width: 100%; }
}

@media (max-width: 430px) {
  .container { padding-inline: 18px; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .btn { width: 100%; }
  .hero-tags { gap: 10px 18px; }
  .modal { padding: 24px 18px 32px; }
}

/* =========================================================================
   UTILIDADES
   Pequenas classes para casos pontuais, evitando atributos style="" inline
   (necessário para um Content-Security-Policy sem 'unsafe-inline' em style-src).
   ========================================================================= */
.mt-12 { margin-top: 12px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.h-compact { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.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;
}
.mx-auto { margin-inline: auto; }
.text-center { text-align: center; }
.section--alt { background: var(--bg-elevated); }
.lead-emphasis {
  margin-inline: auto;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--text);
}
