/* ==========================================================================
   INSTITUTO LEAPY — SISTEMA DE DESIGN & ESTILOS GLOBAIS
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. RESET & BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Paleta Oficial do Instituto Leapy */
  --roxo: #150124;           /* Texto principal, painéis e seções escuras, rodapé */
  --roxo-medio: #4c3766;     /* Texto de apoio, legendas */
  --violeta: #373afd;        /* Todo CTA, botão, link e ícone de ação (atualizado para azul #373afd) */
  --violeta-claro: #585bfe;  /* Hover de botão, bordas em destaque */
  --mint: #f16b30;           /* Cor de destaque protagonista (atualizado para laranja #f16b30) */
  --mint-escuro: #c2410c;    /* Texto de acento sobre fundo claro */
  --mint-fundo: #fff5f0;     /* Fundo de seção, de chip e de badge em tom mint (agora tom de laranja claro) */
  --lavanda: #f0f2ff;        /* Fundo de seção alternada, badge, chip (agora tom de azul claro) */
  --lavanda-borda: #dbe0ff;  /* Bordas, divisores (agora tom de azul claro) */
  --amarelo: #f4b42f;        /* Amarelo - Tom de acento ativo (Brandbook 2026) */
  --amarelo-fundo: #fef8e7;  /* Fundo sutil para chips e detalhes em tom amarelo */
  --branco: #ffffff;         /* Fundo padrão */

  /* Tipografia */
  --font-heading: 'Krona One', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Efeitos */
  --shadow-card: 0 4px 20px rgba(21, 1, 40, 0.04);
  --shadow-card-hover: 0 16px 36px rgba(21, 1, 40, 0.10);
  --transition-fast: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--roxo-medio);
  background-color: var(--branco);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  width: 100%;
}

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--violeta);
  outline-offset: 2px;
}

a {
  color: var(--violeta);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 150ms ease;
}

a:hover {
  color: var(--violeta-claro);
}

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

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   1. LAYOUT & GRID
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 32px;
}

/* Section vertical rhythm */
.section {
  padding: 112px 0;
  width: 100%;
}

/* Section Backgrounds Alternation */
.bg-branco { background-color: var(--branco); }
.bg-lavanda { background-color: var(--lavanda); }
.bg-mint-fundo { background-color: var(--mint-fundo); }
.bg-roxo { background-color: var(--roxo); color: var(--branco); }
.bg-mint-solid { background-color: var(--mint); color: var(--roxo); }

/* 12-column Grid */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}

.grid-3-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.grid-4-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --------------------------------------------------------------------------
   2. TIPOGRAFIA & CABEÇALHO DE SEÇÃO
   -------------------------------------------------------------------------- */
.wordmark {
  font-family: var(--font-heading);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--roxo);
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
}

h1, .h1 {
  font-family: var(--font-heading);
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 900;
  color: var(--branco);
}

h2, .h2 {
  font-family: var(--font-heading);
  font-size: 42px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--roxo);
}

.bg-roxo h2, .bg-roxo .h2 {
  color: var(--branco);
}

h3, .h3 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--roxo);
}

.bg-roxo h3 {
  color: var(--branco);
}

h4, .h4 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 17px;
  color: var(--roxo);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--violeta);
  display: block;
}

.bg-roxo .eyebrow, .bg-mint-solid .eyebrow {
  color: var(--mint);
}

.bg-mint-solid .eyebrow {
  color: var(--roxo);
}

.micro-label {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--roxo-medio);
  max-width: 620px;
}

.lead-centered {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.bg-roxo .lead {
  color: rgba(255, 255, 255, 0.85);
}

.bg-mint-solid .lead {
  color: var(--roxo);
}

.body-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--roxo-medio);
  max-width: 68ch;
}

.body-highlight {
  font-weight: 700;
  color: var(--roxo);
}

.text-link {
  color: var(--violeta);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--mint);
  text-decoration-thickness: 2.5px;
  text-underline-offset: 4px;
  transition: var(--transition-fast);
}

.text-link:hover {
  color: var(--roxo);
  text-decoration-color: var(--violeta);
}

/* Marca-texto no H1 (Gradiente único permitido) */
.highlight-mint {
  background: linear-gradient(transparent 62%, var(--mint) 62%);
  display: inline;
}

/* Anatomia do cabeçalho de seção (Padrão 2.5) */
.section-header {
  margin-bottom: 48px;
}

.section-header-centered {
  margin-bottom: 48px;
  text-align: center;
}

.section-header-centered .mint-bar,
.section-header-centered .amarelo-bar {
  margin-inline: auto;
}

.mint-bar {
  width: 48px;
  height: 4px;
  background-color: var(--mint);
  border-radius: 2px;
  margin-bottom: 12px;
}

.amarelo-bar {
  width: 48px;
  height: 4px;
  background-color: var(--amarelo);
  border-radius: 2px;
  margin-bottom: 12px;
}

.section-header .eyebrow {
  margin-bottom: 16px;
}

.section-header h2 {
  margin-bottom: 20px;
}

/* Breadcrumb Subpáginas */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--roxo-medio);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--roxo-medio);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--violeta);
}

.breadcrumb span[aria-current="page"] {
  color: var(--roxo);
  font-weight: 700;
}

/* Top Header de Subpágina */
.subpage-hero {
  background-color: var(--lavanda);
  padding: 48px 0 88px;
  border-bottom: 1px solid var(--lavanda-borda);
}

.subpage-hero h1 {
  color: var(--roxo);
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   3. CABEÇALHO FIXO & NAVEGAÇÃO
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 98px;
  background-color: var(--branco);
  border-bottom: 1px solid var(--lavanda-borda);
  transition: box-shadow 200ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(21, 1, 40, 0.08);
}

.header-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.header-nav-link {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--roxo-medio);
  text-decoration: none;
  padding-block: 37px;
  position: relative;
  transition: color 150ms ease;
}

.header-nav-link:hover {
  color: var(--violeta);
}

.header-nav-link[aria-current="page"] {
  color: var(--roxo);
}

.header-nav-link[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--mint);
  border-radius: 3px 3px 0 0;
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--roxo);
  border-radius: 8px;
}

.mobile-menu-drawer {
  display: none;
}

/* --------------------------------------------------------------------------
   4. BIBLIOTECA DE COMPONENTES (SEÇÃO 2.6)
   -------------------------------------------------------------------------- */

/* Componente A: Card Base */
.card-base {
  background-color: var(--branco);
  border-radius: 28px;
  border: 1px solid rgba(21, 1, 40, 0.08);
  box-shadow: var(--shadow-card);
  padding: 36px;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.card-base:hover {
  border-color: var(--violeta-claro);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

/* Variação Card com Filete Mint */
.card-base.card-stripe-mint::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background-color: var(--mint);
}

/* Variação Card com Filete Amarelo */
.card-base.card-stripe-yellow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background-color: var(--amarelo);
}

/* Variação Card com Filete Roxo */
.card-base.card-stripe-purple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background-color: var(--violeta);
}

/* Componente B: Card de Item Numerado */
.card-numbered {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card-numbered .badge-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--mint-fundo);
  color: var(--mint-escuro);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.card-numbered .card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--roxo);
  margin-bottom: 8px;
}

/* Componente C: Card de Link Horizontal */
.card-horizontal-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-decoration: none;
  color: var(--roxo);
}

.card-horizontal-link .card-link-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.card-horizontal-link .icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--lavanda);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--violeta);
  flex-shrink: 0;
}

.card-horizontal-link .card-link-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  color: var(--roxo);
}

.card-horizontal-link .arrow-icon {
  color: var(--violeta);
  font-size: 20px;
  transition: transform 180ms ease;
}

.card-horizontal-link:hover .arrow-icon {
  transform: translateX(4px);
}

/* Componente D: Timeline em Zigue-zague */
.timeline-container {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  padding-block: 20px;
}

/* Linha vertical central */
.timeline-container::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-color: var(--lavanda-borda);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  width: 50%;
  margin-bottom: 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 48px;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 48px;
}

/* Nó central na timeline */
.timeline-node {
  position: absolute;
  top: 24px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--mint);
  color: var(--roxo);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-node {
  right: -14px;
}

.timeline-item:nth-child(even) .timeline-node {
  left: -14px;
}

.timeline-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.timeline-pill {
  background-color: var(--roxo);
  color: var(--branco);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.timeline-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  color: var(--mint-escuro);
}

.timeline-card-title {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 17px;
  color: var(--roxo);
  margin-bottom: 12px;
}

.timeline-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--roxo-medio);
}

.timeline-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--mint);
}

/* Componente E: Card Escuro com Número Fantasma */
.card-dark-ghost {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
}

.card-dark-ghost .ghost-number {
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 64px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  user-select: none;
  pointer-events: none;
}

.card-dark-ghost .card-ghost-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.card-dark-ghost .badge-mint-small {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--mint);
  color: var(--roxo);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-dark-ghost .ghost-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--branco);
}

.card-dark-ghost .ghost-body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

/* Componente F: Item de FAQ (Cards independentes com details) */
.faq-wrapper {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background-color: var(--branco);
  border-radius: 28px;
  border: 1px solid rgba(21, 1, 40, 0.06);
  box-shadow: var(--shadow-card);
  padding: 22px 28px;
  transition: var(--transition-fast);
}

.faq-card:hover {
  border-color: var(--violeta-claro);
}

.faq-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--roxo);
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--lavanda);
  color: var(--violeta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 200ms ease;
}

details[open] .faq-icon-circle {
  transform: rotate(180deg);
}

.faq-answer {
  padding-top: 16px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--roxo-medio);
}

/* Componente G: Chip / Tag */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.chip-mint {
  background-color: var(--mint-fundo);
  color: var(--mint-escuro);
}

.chip-lavanda {
  background-color: var(--lavanda);
  color: var(--violeta);
}

.chip-yellow {
  background-color: var(--amarelo-fundo);
  color: #9c6c06;
}

/* Componente H: Linha de Meta-Chips com Ícone */
.meta-chips-row {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.meta-chip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--branco);
}

.bg-branco .meta-chip-item, .bg-lavanda .meta-chip-item {
  color: var(--roxo);
}

.meta-chip-icon {
  color: var(--mint);
  flex-shrink: 0;
}

/* Componente I: Botões */
.btn {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  padding: 16px 32px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
  border: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

/* Primário: Mint Green */
.btn-primary {
  background-color: #35dcb2;
  color: var(--roxo);
  box-shadow: 0 4px 14px rgba(53, 220, 178, 0.25);
}

.btn-primary:hover {
  background-color: #50e4bd;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(53, 220, 178, 0.35);
  color: var(--roxo);
}

/* Secundário em fundo claro */
.btn-secondary-light {
  background-color: transparent;
  border: 1.5px solid var(--violeta);
  color: var(--violeta);
}

.btn-secondary-light:hover {
  background-color: var(--lavanda);
  color: var(--violeta);
  transform: translateY(-1px);
}

/* Secundário em painel escuro */
.btn-secondary-dark {
  background-color: var(--mint);
  color: var(--roxo);
  box-shadow: 0 4px 14px rgba(241, 107, 48, 0.25);
}

.btn-secondary-dark:hover {
  background-color: #f37d47;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(241, 107, 48, 0.35);
  color: var(--roxo);
}

/* Link de texto estilo botão */
.text-link {
  color: var(--violeta);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.text-link:hover {
  color: var(--violeta-claro);
}

/* Componente K: Bloco de Dado */
.data-block {
  background-color: var(--mint-fundo);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.data-block .data-number {
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1;
  color: var(--mint-escuro);
}

.data-block .data-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--roxo-medio);
}

.bg-roxo .data-block {
  background-color: rgba(255, 255, 255, 0.05);
}

.bg-roxo .data-block .data-number {
  color: var(--mint);
}

.bg-roxo .data-block .data-label {
  color: rgba(255, 255, 255, 0.6);
}

/* Componente 2.7: Placeholder de Imagem */
.image-placeholder {
  background-color: var(--lavanda);
  border: 1px solid var(--lavanda-borda);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: var(--roxo-medio);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: 100%;
}

.aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.aspect-3-4 {
  aspect-ratio: 3 / 4;
}

/* Bloco Veja Também */
.veja-tambem {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--lavanda-borda);
}

.veja-tambem-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--roxo-medio);
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   5. SEÇÕES ESPECÍFICAS
   -------------------------------------------------------------------------- */

/* HERO HOME */
.hero-home {
  background-color: var(--roxo);
  padding: 130px 0 150px;
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(55, 58, 253, 0.86) 0%, rgba(55, 58, 253, 0.68) 60%, rgba(55, 58, 253, 0.80) 100%);
  z-index: 2;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 48px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 820px;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content .lead {
  margin-bottom: 36px;
  max-width: 640px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

/* QUEM SOMOS */
.quem-somos-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.quem-somos-text {
  max-width: 580px;
}

.quem-somos-logo-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  transform: translateY(-24px);
}

.quem-somos-logo-img {
  max-width: 415px;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 992px) {
  .quem-somos-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .quem-somos-logo-box {
    justify-content: flex-start;
    transform: none;
  }
}

/* ONDE ESTAMOS */
.onde-estamos-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.onde-estamos-text {
  max-width: 540px;
}

.onde-estamos-img-box {
  display: flex;
  justify-content: center;
  align-items: center;
}

.onde-estamos-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

@media (max-width: 992px) {
  .onde-estamos-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Grafismo Pinwheel SVG no Hero */
.hero-graphic-pinwheel {
  position: absolute;
  top: -60px;
  right: -120px;
  width: 640px;
  height: 640px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

/* Faixa Mint (Seção 5.5) */
.mint-banner-cta {
  background-color: var(--mint);
  padding: 80px 0;
  text-align: center;
  color: var(--roxo);
}

.mint-banner-cta h2 {
  color: var(--roxo);
  margin-bottom: 16px;
}

.mint-banner-cta .lead {
  color: var(--roxo);
  margin-bottom: 32px;
}

/* Seção de Fechamento + Rodapé (5.7) */
.footer-dark-panel {
  background-color: var(--roxo);
  color: var(--branco);
}

.footer-cta-block {
  padding: 96px 0 72px;
  text-align: center;
}

.footer-cta-block h2 {
  color: var(--branco);
  font-size: 34px;
  margin-bottom: 28px;
}

.footer-subline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  margin-top: 20px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(241, 107, 48, 0.25);
}

.site-footer {
  padding: 48px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col-brand .wordmark {
  color: var(--branco);
  font-size: 18px;
}

.footer-col-brand .tagline {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mint);
  margin-top: 8px;
  margin-bottom: 16px;
}

.footer-col-brand .brand-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-col-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  text-decoration: none;
  transition: color 150ms ease;
}

.footer-links a:hover {
  color: var(--mint);
}

.footer-bottom-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
}

/* Material Ebook Cards */
.ebook-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ebook-card .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: var(--lavanda-borda);
  color: var(--roxo-medio);
}

/* Formulário de e-mail */
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 24px auto 0;
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--branco);
  font-size: 15px;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 2px rgba(241, 107, 48, 0.3);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.form-feedback {
  margin-top: 16px;
  font-size: 14px;
  color: var(--mint);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   5.8 ONDE NOSSAS FORMAÇÕES ACONTECEM & GALERIA ROTATIVA
   -------------------------------------------------------------------------- */
.onde-acontece-grid {
  display: block;
  width: 100%;
}

.onde-acontece-gallery {
  position: relative;
  width: 100%;
}

@media (min-width: 769px) {
  .onde-acontece-gallery {
    padding-right: 40px;
    margin-bottom: 60px;
  }
}

.onde-acontece-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.address-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.address-card {
  background-color: var(--branco);
  border-radius: 20px;
  border: 1px solid rgba(21, 1, 40, 0.06);
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
  transition: var(--transition-fast);
}

.address-card:hover {
  border-color: var(--violeta-claro);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.floating-address-card {
  position: absolute;
  bottom: -40px;
  right: 0;
  z-index: 10;
  max-width: 380px;
  background-color: var(--branco);
  box-shadow: 0 16px 40px rgba(21, 1, 40, 0.16);
  border: 1px solid rgba(21, 1, 40, 0.06);
}

@media (max-width: 768px) {
  .floating-address-card {
    position: relative;
    bottom: auto;
    right: auto;
    max-width: 100%;
    margin-top: 24px;
    background-color: var(--branco);
    box-shadow: var(--shadow-card);
  }
}

.address-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--lavanda);
  color: var(--violeta);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.address-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.address-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--roxo);
}

.address-info p {
  font-size: 14px;
  color: var(--roxo-medio);
  margin: 0;
  line-height: 1.5;
}

.address-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--violeta);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  transition: var(--transition-fast);
}

.address-link:hover {
  color: var(--violeta-claro);
  text-decoration: underline;
}

/* Carousel / Galeria Rotativa */
.carousel-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--lavanda);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(21, 1, 40, 0.08);
}

.carousel-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), visibility 600ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Controles do Carousel */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--roxo);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-control:hover {
  background-color: var(--branco);
  color: var(--violeta);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.carousel-control.prev {
  left: 16px;
}

.carousel-control.next {
  right: 16px;
}

/* Indicadores / Dots */
.carousel-indicators {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  background-color: rgba(21, 1, 40, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
}

.carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
  background-color: var(--mint);
  width: 20px;
  border-radius: 4px;
}

@media (max-width: 992px) {
  .onde-acontece-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    aspect-ratio: 4 / 3;
  }
  
  .address-card {
    flex-direction: column;
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   6. RESPONSIVIDADE (DESKTOP-FIRST -> TABLET 768px -> MOBILE 390px)
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hero-home {
    padding: 88px 0 108px;
    min-height: 480px;
  }

  .section {
    padding: 80px 0;
  }

  h1, .h1 { font-size: 38px; line-height: 1.12; }
  h2, .h2 { font-size: 32px; line-height: 1.15; }
  h3, .h3 { font-size: 20px; }

  .container {
    padding-inline: 20px;
  }

  .card-base {
    padding: 28px;
  }

  .grid-12, .grid-3-col, .grid-2-col, .grid-4-col {
    grid-template-columns: 1fr;
  }

  /* Sticky header adjustments */
  .header-nav {
    display: none;
  }

  .header-cta-btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-drawer.is-active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 98px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--branco);
    padding: 32px 24px;
    gap: 24px;
    z-index: 99;
    border-top: 1px solid var(--lavanda-borda);
  }

  .mobile-menu-drawer .header-nav-link {
    font-size: 16px;
    padding-block: 12px;
  }

  /* Timeline mobile column layout */
  .timeline-container::before {
    left: 14px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 48px !important;
    padding-right: 0 !important;
  }

  .timeline-node {
    left: 0 !important;
  }

  .meta-chips-row {
    gap: 16px;
  }

  .footer-bottom-line {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 390px) {
  .section {
    padding: 60px 0;
  }

  h1, .h1 { font-size: 30px; }
  h2, .h2 { font-size: 25px; }

  .container {
    padding-inline: 16px;
  }

  .card-base {
    padding: 24px;
  }

  .btn {
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
}

/* LOGO IMAGES */
.header-logo-img {
  height: 88px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 85.5px; /* Aumentado em 150% (57px * 1.5 = 85.5px) */
  width: auto;
  display: block;
  margin-bottom: 8px;
}

/* 5.3 POR QUE A FORMAÇÃO AQUI É DIFERENTE */
.bg-diferenciais {
  background-color: #FAF5F0; /* Soft warm peach-cream from the screenshot */
}

.diff-card {
  background-color: var(--branco);
  border-radius: 24px;
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(21, 1, 40, 0.04);
  border: 1px solid rgba(21, 1, 40, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.diff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
}

.diff-card-orange::before {
  background-color: #f15a24; /* Warm orange */
}

.diff-card-teal::before {
  background-color: #26d0a0; /* Mint-teal */
}

.diff-card-yellow::before {
  background-color: #f9b821; /* Warm yellow/gold */
}

.diff-number {
  font-family: 'Krona One', sans-serif;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.diff-number-orange {
  color: #f15a24;
}

.diff-number-teal {
  color: #26d0a0;
}

.diff-number-yellow {
  color: #f9b821;
}

.diff-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--roxo);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.diff-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(21, 1, 40, 0.75);
  margin-bottom: 16px;
}

.diff-text:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .diff-card {
    padding: 36px 24px;
  }
  .diff-number {
    font-size: 44px;
    margin-bottom: 16px;
  }
  .diff-title {
    font-size: 18px;
    margin-bottom: 16px;
  }
}

