/* ============================================================
   INSTITUTO IDEIA — Design System
   Identidade: Manual de Marca 2025
   ============================================================ */

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

:root {
  /* Cores — Manual de Marca IDEIA 2025 */
  --c-primary:        #EF7D00;
  --c-primary-dark:   #C96800;
  --c-primary-light:  #FDE8CC;
  --c-primary-xlight: #FFF5EB;
  --c-secondary:      #111111;
  --c-secondary-2:    #222222;

  /* Neutros */
  --c-white:    #FFFFFF;
  --c-bg:       #F7F8FA;
  --c-surface:  #FFFFFF;
  --c-border:   #E8EAED;
  --c-text:     #1C1E21;
  --c-text-2:   #5C6070;
  --c-text-3:   #6B7280;

  /* Tipografia — Poppins (títulos bold/hypertype) + Inter (corpo) */
  --f-head: 'Poppins', sans-serif;
  --f-body: 'Inter', sans-serif;

  /* Escala tipográfica */
  --t-xs:   0.75rem;
  --t-sm:   0.875rem;
  --t-base: 1rem;
  --t-lg:   1.125rem;
  --t-xl:   1.25rem;
  --t-2xl:  1.5rem;
  --t-3xl:  1.875rem;
  --t-4xl:  2.25rem;
  --t-5xl:  3rem;

  /* Espaçamento */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;
  --sp-4: 1rem;     --sp-5: 1.25rem;  --sp-6: 1.5rem;
  --sp-8: 2rem;     --sp-10: 2.5rem;  --sp-12: 3rem;
  --sp-16: 4rem;    --sp-20: 5rem;    --sp-24: 6rem;

  /* Bordas */
  --r-sm:   0.25rem;
  --r-md:   0.5rem;
  --r-lg:   1rem;
  --r-xl:   1.5rem;
  --r-2xl:  2rem;
  --r-full: 9999px;

  /* Sombras */
  --sh-sm:  0 1px 4px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --sh-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --sh-lg:  0 8px 32px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --sh-xl:  0 20px 60px rgba(0,0,0,.15);

  /* Transições */
  --tr-fast:   150ms ease;
  --tr-normal: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --tr-slow:   480ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --nav-bottom-h: 64px;
  --nav-sidebar-w: 256px;
  --content-max: 860px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.6;
  overflow: hidden;
  height: 100dvh;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: var(--t-base); }
svg { fill: currentColor; flex-shrink: 0; }

/* ── APP SHELL ────────────────────────────────────────────── */
#app {
  display: flex;
  height: 100dvh;
  overflow: hidden;
}

/* ── SIDEBAR (desktop) ────────────────────────────────────── */
#sidebar {
  display: none;
  flex-direction: column;
  width: var(--nav-sidebar-w);
  background: var(--c-secondary);
  color: var(--c-white);
  flex-shrink: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

@media (min-width: 1024px) {
  #sidebar { display: flex; }
  #bottom-nav { display: none !important; }
  #main-content { padding-bottom: 0; }
}

.sidebar__brand {
  padding: var(--sp-6) var(--sp-6) var(--sp-4);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sidebar__logo {
  width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav__list {
  flex: 1;
  padding: var(--sp-4) var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.nav__item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg);
  color: rgba(255,255,255,.65);
  font-size: var(--t-sm);
  font-weight: 500;
  transition: background var(--tr-fast), color var(--tr-fast);
}

.nav__item:hover {
  background: rgba(255,255,255,.08);
  color: var(--c-white);
}

.nav__item.active {
  background: var(--c-primary);
  color: var(--c-white);
}

.nav__item--cta {
  background: rgba(239,125,0,.15);
  color: var(--c-primary-light);
  margin-top: auto;
}
.nav__item--cta:hover { background: rgba(239,125,0,.25); }
.nav__item--cta.active { background: var(--c-primary); color: var(--c-white); }

.nav__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.sidebar__footer {
  padding: var(--sp-4) var(--sp-6);
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.3);
  font-size: var(--t-xs);
}

/* ── MAIN CONTENT ─────────────────────────────────────────── */
#main-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  padding-bottom: var(--nav-bottom-h);
  scroll-behavior: smooth;
}

#main-content:focus { outline: none; }

/* ── VIEWS (telas SPA) ────────────────────────────────────── */
.view {
  position: absolute;
  inset: 0;
  min-height: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--tr-slow), transform var(--tr-slow);
  pointer-events: none;
  visibility: hidden;
  overflow-y: auto;
  padding-bottom: var(--sp-16);
}

.view.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  position: relative;
}

/* ── VIEW HEADER ─────────────────────────────────────────── */
.view__header {
  padding: var(--sp-8) var(--sp-6) var(--sp-6);
  max-width: var(--content-max);
  margin: 0 auto;
}

.view__title {
  font-family: var(--f-head);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  color: var(--c-text);
  line-height: 1.0;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: var(--sp-3);
}

.view__subtitle {
  color: var(--c-text-2);
  font-size: var(--t-lg);
}

/* ── BOTTOM NAV (mobile) ──────────────────────────────────── */
#bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--nav-bottom-h);
  background: var(--c-secondary);
  display: flex;
  align-items: stretch;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}

.bnav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: rgba(255,255,255,.65);
  font-size: 10px;
  font-weight: 500;
  transition: color var(--tr-fast), background var(--tr-fast);
  padding: var(--sp-2) 0;
}

.bnav__item:hover { color: rgba(255,255,255,.8); }

.bnav__item.active { color: var(--c-primary); }

.bnav__item--cta {
  background: var(--c-primary);
  color: var(--c-white);
  margin: var(--sp-2);
  border-radius: var(--r-lg);
  flex: 1.2;
}
.bnav__item--cta.active { background: var(--c-primary-dark); color: var(--c-white); }

.bnav__icon {
  width: 22px;
  height: 22px;
}

/* ── BOTÕES ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--r-full);
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--t-base);
  transition: background var(--tr-fast), color var(--tr-fast),
              transform var(--tr-fast), box-shadow var(--tr-fast);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(0.97); }

.btn--primary {
  background: var(--c-primary);
  color: var(--c-white);
  box-shadow: 0 4px 14px rgba(239,125,0,.35);
}
.btn--primary:hover {
  background: var(--c-primary-dark);
  box-shadow: 0 6px 20px rgba(239,125,0,.45);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--c-white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn--outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--c-white);
}

.btn--white {
  background: var(--c-white);
  color: var(--c-primary);
  font-weight: 700;
}
.btn--white:hover { background: var(--c-primary-xlight); transform: translateY(-1px); }

.btn--ghost {
  background: var(--c-primary-xlight);
  color: var(--c-primary-dark);
}
.btn--ghost:hover { background: var(--c-primary-light); }

.btn--lg { padding: var(--sp-4) var(--sp-8); font-size: var(--t-lg); }
.btn--sm { padding: var(--sp-2) var(--sp-4); font-size: var(--t-sm); }
.btn--full { width: 100%; }

.btn[disabled] { opacity: .55; pointer-events: none; }

.btn__loader {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}

.btn__loader::before {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin 0.6s linear infinite;
  flex-shrink: 0;
}

@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ── SECTION HELPERS ──────────────────────────────────────── */
.section-header {
  padding: var(--sp-8) var(--sp-6) var(--sp-4);
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-family: var(--f-head);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--c-text);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: var(--sp-2);
}

.section-subtitle {
  color: var(--c-text-2);
  font-size: var(--t-base);
}

/* ── ANIMAÇÕES (Intersection Observer) ────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.38s ease, transform 0.38s ease;
}

[data-animate="fade-in"] {
  transform: scale(0.94);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  TELA: HOME                                              ║
   ╚══════════════════════════════════════════════════════════╝ */

/* Hero */
/* ── HERO SLIDESHOW ───────────────────────────────────────── */

@keyframes kenBurns1 { from { transform: scale(1)    translate(0,0);        } to { transform: scale(1.1)  translate(-1.5%,-1%);   } }
@keyframes kenBurns2 { from { transform: scale(1)    translate(0,0);        } to { transform: scale(1.1)  translate(1.5%, -1.5%); } }
@keyframes kenBurns3 { from { transform: scale(1.05) translate(1%,0);       } to { transform: scale(1.12) translate(-1%, 1%);     } }
@keyframes kenBurns4 { from { transform: scale(1)    translate(0,1%);       } to { transform: scale(1.1)  translate(0, -1%);      } }
@keyframes kenBurns5 { from { transform: scale(1.05) translate(-1%,0);      } to { transform: scale(1.12) translate(1.5%, 1.5%);  } }
@keyframes kenBurns6 { from { transform: scale(1)    translate(0,0);        } to { transform: scale(1.08) translate(-1%, -1.5%); } }

.hero {
  position: relative;
  min-height: clamp(520px, 92dvh, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--c-secondary);
  padding: var(--sp-12) var(--sp-8);
}

/* Container dos slides */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Cada slide */
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-color: #1a1a1a;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero__slide.active { opacity: 1; }

/* Ken Burns por slide */
.hero__slide.active.hero__slide--1 { animation: kenBurns1 8s ease-in-out forwards; }
.hero__slide.active.hero__slide--2 { animation: kenBurns2 8s ease-in-out forwards; }
.hero__slide.active.hero__slide--3 { animation: kenBurns3 8s ease-in-out forwards; }
.hero__slide.active.hero__slide--4 { animation: kenBurns4 8s ease-in-out forwards; }
.hero__slide.active.hero__slide--5 { animation: kenBurns5 8s ease-in-out forwards; }
.hero__slide.active.hero__slide--6 { animation: kenBurns6 8s ease-in-out forwards; }

/* Overlay de legibilidade — gradiente assimétrico */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(17,17,17,.90) 0%,
    rgba(17,17,17,.70) 40%,
    rgba(17,17,17,.30) 65%,
    rgba(17,17,17,.10) 100%
  );
}

/* Conteúdo acima do overlay */
.hero__content {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
  max-width: 560px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  background: rgba(239,125,0,.15);
  color: var(--c-primary-light);
  border: 1px solid rgba(239,125,0,.3);
  border-radius: var(--r-full);
  padding: var(--sp-1) var(--sp-4);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-5);
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--f-head);
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--c-white);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: var(--sp-6);
}

.hero__highlight {
  color: var(--c-primary);
  display: block;
}

.hero__subtitle {
  color: rgba(255,255,255,.70);
  font-size: var(--t-base);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
  max-width: 380px;
}

.hero__actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

/* Dots de navegação */
.hero__dots {
  position: absolute;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: 3;
  display: flex;
  gap: var(--sp-2);
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .3s, transform .3s;
  padding: 0;
}

.hero__dot.active {
  background: var(--c-primary);
  transform: scale(1.4);
}

.hero__dot:hover:not(.active) {
  background: rgba(255,255,255,.65);
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    min-height: 100dvh;
    height: auto;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 var(--sp-5) var(--sp-20);
  }

  /* Mobile: gradiente de baixo para cima */
  .hero__overlay {
    background: linear-gradient(
      to top,
      rgba(17,17,17,.97) 0%,
      rgba(17,17,17,.80) 40%,
      rgba(17,17,17,.30) 70%,
      rgba(17,17,17,.05) 100%
    );
  }

  .hero__content {
    padding-right: 0;
    max-width: 100%;
  }

  .hero__title {
    font-size: clamp(2.4rem, 14vw, 3.5rem);
  }

  .hero__subtitle {
    max-width: 100%;
    font-size: var(--t-sm);
  }

  .hero__tag { font-size: 10px; }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__dots {
    bottom: calc(var(--sp-20) + var(--sp-4));
    right: 50%;
    transform: translateX(50%);
  }
}

/* CTA Instagram */
.insta-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  max-width: var(--content-max);
  margin: var(--sp-2) auto var(--sp-10);
  padding: var(--sp-10) var(--sp-8);
  background: #111;
  border-radius: var(--r-lg);
  /* mesmo recuo lateral dos outros blocos */
  box-sizing: border-box;
  width: calc(100% - var(--sp-8));
}

.insta-cta__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.insta-cta__text {
  flex: 1;
  min-width: 180px;
}

.insta-cta__label {
  font-family: var(--f-head);
  font-size: var(--t-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-1);
}

.insta-cta__sub {
  font-size: var(--t-sm);
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}

.insta-cta__links {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  align-items: center;
}

.insta-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 10px var(--sp-5);
  border-radius: var(--r-full);
  font-size: var(--t-sm);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: filter .2s, transform .2s;
}

/* Pílula 1 — gradiente Instagram */
.insta-cta__btn:not(.insta-cta__btn--2) {
  background: linear-gradient(90deg, #f09433, #dc2743, #bc1888);
  color: #fff;
}

/* Pílula 2 — outline branco */
.insta-cta__btn--2 {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.35);
}

.insta-cta__btn:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

.insta-cta__btn--2:hover {
  border-color: rgba(255,255,255,.8);
}

@media (max-width: 640px) {
  .insta-cta { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
  .insta-cta__links { width: 100%; }
  .insta-cta__btn  { flex: 1; justify-content: center; }
}

/* Contadores */
.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  padding: var(--sp-6) var(--sp-4);
  max-width: var(--content-max);
  margin: 0 auto;
}

.counter-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  box-shadow: var(--sh-sm);
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
}

.counter-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}

.counter-card .counter {
  font-family: var(--f-head);
  font-size: var(--t-3xl);
  font-weight: 800;
  color: var(--c-primary);
  display: inline-block;
}

.counter-plus {
  font-family: var(--f-head);
  font-size: var(--t-2xl);
  font-weight: 800;
  color: var(--c-primary);
}

.counter-card p {
  font-size: var(--t-sm);
  color: var(--c-text-2);
  margin-top: var(--sp-1);
  font-weight: 500;
}

/* Highlights grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  padding: 0 var(--sp-4) var(--sp-6);
  max-width: var(--content-max);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .highlights-grid { grid-template-columns: repeat(4, 1fr); }
}

.highlight-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6) var(--sp-4);
  text-align: center;
  cursor: pointer;
  box-shadow: var(--sh-sm);
  transition: transform var(--tr-normal), box-shadow var(--tr-normal), border-color var(--tr-normal);
}

.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--c-primary-light);
}

.highlight-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--c-primary-xlight);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-3);
}

.highlight-card__icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.highlight-card h3 {
  font-family: var(--f-head);
  font-size: var(--t-base);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}

.highlight-card p {
  font-size: var(--t-sm);
  color: var(--c-text-2);
  line-height: 1.5;
}

/* Quiz CTA */
.quiz-cta {
  margin: var(--sp-4) var(--sp-4) var(--sp-8);
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.quiz-cta__content {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  border-radius: var(--r-2xl);
  padding: var(--sp-8) var(--sp-8);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
  position: relative;
  overflow: hidden;
}

.quiz-cta__content::before {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 24px solid rgba(255,255,255,.1);
  pointer-events: none;
}

.quiz-cta__content h3 {
  font-family: var(--f-head);
  font-size: var(--t-xl);
  font-weight: 800;
  color: var(--c-white);
}

.quiz-cta__content p {
  color: rgba(255,255,255,.85);
  max-width: 400px;
}

@media (min-width: 640px) {
  .quiz-cta__content { flex-direction: row; align-items: center; }
  .quiz-cta__content > * { flex: 1; }
  .quiz-cta__content .btn { flex: none; }
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  TELA: SOBRE                                             ║
   ╚══════════════════════════════════════════════════════════╝ */

/* Vídeo institucional responsivo 16:9 */
.about-video-wrap {
  max-width: var(--content-max);
  margin: 0 auto var(--sp-8);
  padding: 0 var(--sp-4);
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* História */
.history-block {
  max-width: var(--content-max);
  margin: 0 auto var(--sp-10);
  padding: 0 var(--sp-4);
}

.history-founder {
  background: linear-gradient(135deg, #FFF5EB, #FDE8CC);
  border-left: 4px solid var(--c-primary);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  margin-bottom: var(--sp-8);
}

.history-founder__badge {
  display: inline-block;
  background: var(--c-primary);
  color: #fff;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 99px;
  margin-bottom: var(--sp-2);
}

.history-founder__name {
  font-family: var(--f-head);
  font-size: var(--t-2xl);
  font-weight: 800;
  color: var(--c-text-1);
  margin-bottom: var(--sp-3);
}

.history-founder__bio {
  color: var(--c-text-2);
  font-size: var(--t-base);
  line-height: 1.75;
  margin-bottom: var(--sp-3);
}

.history-founder__bio:last-child { margin-bottom: 0; }

.history-pillars {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.history-pillar {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
}

.history-pillar__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--f-head);
  font-size: var(--t-sm);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-pillar__content h4 {
  font-family: var(--f-head);
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--c-text-1);
  margin-bottom: var(--sp-2);
}

.history-pillar__content p {
  font-size: var(--t-base);
  color: var(--c-text-2);
  line-height: 1.7;
}

@media (min-width: 640px) {
  .history-pillars { flex-direction: row; flex-wrap: wrap; }
  .history-pillar  { flex: 1 1 calc(50% - var(--sp-2)); }
}

@media (min-width: 1024px) {
  .history-pillar { flex: 1 1 0; }
}

/* CTA final da página Sobre */
.about-cta {
  text-align: center;
  padding: var(--sp-8) var(--sp-4) var(--sp-10);
}

.about-cta p {
  font-size: var(--t-lg);
  color: var(--c-text-2);
  margin-bottom: var(--sp-4);
}

.about-intro {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--sp-6) var(--sp-8);
  color: var(--c-text-2);
  font-size: var(--t-lg);
  line-height: 1.75;
}

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  padding: 0 var(--sp-4) var(--sp-8);
  max-width: var(--content-max);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .mvv-grid { grid-template-columns: repeat(3, 1fr); }
}

.mvv-card {
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  position: relative;
  overflow: hidden;
}

.mvv-card--missao  { background: linear-gradient(135deg, #FFF5EB, #FDE8CC); }
.mvv-card--visao   { background: linear-gradient(135deg, #EBF3FF, #CCE0FD); }
.mvv-card--valores { background: linear-gradient(135deg, #EBFFF3, #CCFDDE); }

.mvv-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  color: var(--c-primary-dark);
}

.mvv-card__icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.mvv-card h3 {
  font-family: var(--f-head);
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}

.mvv-card p {
  font-size: var(--t-sm);
  color: var(--c-text-2);
  line-height: 1.65;
}

/* Unidades */
.units-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  padding: 0 var(--sp-4) var(--sp-8);
  max-width: var(--content-max);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .units-grid { grid-template-columns: repeat(2, 1fr); }
}

.unit-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--sh-sm);
  position: relative;
}

.unit-card__badge {
  display: inline-block;
  background: var(--c-primary);
  color: var(--c-white);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: var(--t-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
}

.unit-card__badge--2 {
  background: var(--c-secondary);
}

.unit-card h3 {
  font-family: var(--f-head);
  font-size: var(--t-xl);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-4);
}

.unit-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.unit-card__list li {
  font-size: var(--t-sm);
  color: var(--c-text-2);
}

.unit-card__list li {
  padding-left: var(--sp-4);
  position: relative;
}

.unit-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
}

.unit-card__sub {
  color: var(--c-text-3) !important;
  padding-left: var(--sp-8) !important;
}

.unit-card__sub::before {
  display: none !important;
}

.unit-card__address {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: var(--t-xs);
  color: var(--c-text-3);
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-4);
}

.unit-card__address svg { margin-top: 2px; fill: var(--c-primary); }

/* Metodologia */
.methodology-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  padding: 0 var(--sp-4) var(--sp-8);
  max-width: var(--content-max);
  margin: 0 auto;
}

.method-item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  box-shadow: var(--sh-sm);
}

.method-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-lg);
  background: var(--c-primary-xlight);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
}

.method-item__icon svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.method-item h4 {
  font-family: var(--f-head);
  font-size: var(--t-base);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}

.method-item p {
  font-size: var(--t-sm);
  color: var(--c-text-2);
  line-height: 1.6;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  TELA: SEGMENTOS                                         ║
   ╚══════════════════════════════════════════════════════════╝ */

.segments-tabs {
  display: flex;
  gap: var(--sp-2);
  padding: 0 var(--sp-4) var(--sp-6);
  max-width: var(--content-max);
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.segments-tabs::-webkit-scrollbar { display: none; }

.seg-tab {
  flex-shrink: 0;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-full);
  font-family: var(--f-head);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-text-2);
  background: var(--c-white);
  border: 2px solid var(--c-border);
  transition: all var(--tr-fast);
  white-space: nowrap;
}

.seg-tab:hover { border-color: var(--c-primary-light); color: var(--c-primary); }

.seg-tab.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-white);
  box-shadow: 0 4px 12px rgba(239,125,0,.3);
}

.segments-content {
  padding: 0 var(--sp-4) var(--sp-8);
  max-width: var(--content-max);
  margin: 0 auto;
}

.seg-panel {
  animation: fadeSlideUp .35s ease forwards;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.seg-panel__header {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.seg-panel__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-xl);
  background: var(--c-primary-xlight);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.seg-panel__icon svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.seg-panel__title {
  font-family: var(--f-head);
  font-size: var(--t-2xl);
  font-weight: 800;
  color: var(--c-text);
}

.seg-panel__unit {
  font-size: var(--t-sm);
  color: var(--c-primary);
  font-weight: 600;
}

.seg-panel__desc {
  color: var(--c-text-2);
  font-size: var(--t-base);
  line-height: 1.75;
  margin-bottom: var(--sp-6);
}

.seg-panel__skills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
}

@media (min-width: 640px) {
  .seg-panel__skills { grid-template-columns: repeat(3, 1fr); }
}

.skill-chip {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--c-primary-xlight);
  border: 1px solid var(--c-primary-light);
  border-radius: var(--r-lg);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--c-primary-dark);
}

.skill-chip::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
  flex-shrink: 0;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  TELA: DIFERENCIAIS                                      ║
   ╚══════════════════════════════════════════════════════════╝ */

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  padding: 0 var(--sp-4) var(--sp-8);
  max-width: var(--content-max);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
}

.partner-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  cursor: pointer;
  box-shadow: var(--sh-sm);
  transition: transform var(--tr-normal), box-shadow var(--tr-normal), border-color var(--tr-normal);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--c-primary-light);
}

.partner-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-xl);
  background: var(--c-primary-xlight);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partner-card__icon svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.partner-card__name {
  font-family: var(--f-head);
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--c-text);
}

.partner-card__desc {
  font-size: var(--t-sm);
  color: var(--c-text-2);
  line-height: 1.65;
  flex: 1;
}

.partner-card__cta {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-primary);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}

.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadeIn .2s ease;
}

.modal__box {
  position: relative;
  background: var(--c-white);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--sh-xl);
  animation: slideUp .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal__close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  background: var(--c-bg);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-2);
  transition: background var(--tr-fast);
}
.modal__close:hover { background: var(--c-border); }

.modal__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-xl);
  background: var(--c-primary-xlight);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.modal__icon svg { width: 32px; height: 32px; }
.modal__title {
  font-family: var(--f-head);
  font-size: var(--t-2xl);
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}
.modal__text {
  color: var(--c-text-2);
  line-height: 1.75;
  font-size: var(--t-base);
}

@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ╔══════════════════════════════════════════════════════════╗
   ║  TELA: EVENTOS                                           ║
   ╚══════════════════════════════════════════════════════════╝ */

.events-filter {
  display: flex;
  gap: var(--sp-2);
  padding: 0 var(--sp-4) var(--sp-6);
  max-width: var(--content-max);
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.events-filter::-webkit-scrollbar { display: none; }

.filter-btn {
  flex-shrink: 0;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  font-family: var(--f-head);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-text-2);
  background: var(--c-white);
  border: 2px solid var(--c-border);
  transition: all var(--tr-fast);
  white-space: nowrap;
}

.filter-btn:hover { border-color: var(--c-primary-light); color: var(--c-primary); }

.filter-btn.active {
  background: var(--c-secondary);
  border-color: var(--c-secondary);
  color: var(--c-white);
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  padding: 0 var(--sp-4) var(--sp-8);
  max-width: var(--content-max);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
}

.event-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  cursor: pointer;
  transition: transform var(--tr-normal), box-shadow var(--tr-normal);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}

.event-card__cover {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card__cover-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-card__cover-icon svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.cover--cultura  .event-card__cover-icon { color: #994500; }
.cover--stem     .event-card__cover-icon { color: #1558B0; }
.cover--empreend .event-card__cover-icon { color: #0A6640; }
.cover--simulacao .event-card__cover-icon { color: #5B1598; }

.event-card__body {
  padding: var(--sp-5);
}

.event-card__tag {
  display: inline-block;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 2px var(--sp-3);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-3);
}

.event-card__title {
  font-family: var(--f-head);
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-2);
}

.event-card__desc {
  font-size: var(--t-sm);
  color: var(--c-text-2);
  line-height: 1.6;
}

.event-card--hidden { display: none; }

/* Tags por categoria */
.tag--cultura    { background: #FDE8CC; color: #994500; }
.tag--stem       { background: #CCE0FD; color: #1558B0; }
.tag--empreend   { background: #CCFDE8; color: #0A6640; }
.tag--simulacao  { background: #EDE8FD; color: #5B1598; }

/* Cover por categoria */
.cover--cultura   { background: linear-gradient(135deg, #FDE8CC, #F7C88A); }
.cover--stem      { background: linear-gradient(135deg, #CCE0FD, #8ABBE0); }
.cover--empreend  { background: linear-gradient(135deg, #CCFDE8, #8AE0BB); }
.cover--simulacao { background: linear-gradient(135deg, #EDE8FD, #C8A8E8); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4);
}

.lightbox[hidden] { display: none; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .2s ease;
}

.lightbox__box {
  position: relative;
  background: var(--c-white);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  max-width: 480px;
  width: 100%;
  animation: slideUp .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox__close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  background: var(--c-bg);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-2);
}
.lightbox__close:hover { background: var(--c-border); }

.lightbox__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-xl);
  background: var(--c-primary-xlight);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
}
.lightbox__icon svg { width: 32px; height: 32px; }
.lightbox__title {
  font-family: var(--f-head);
  font-size: var(--t-2xl);
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}
.lightbox__text {
  color: var(--c-text-2);
  line-height: 1.75;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  TELA: QUIZ                                              ║
   ╚══════════════════════════════════════════════════════════╝ */

.quiz-container {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 var(--sp-4) var(--sp-8);
}

.quiz-start {
  text-align: center;
  padding: var(--sp-8) 0;
}

.quiz-start__icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--c-primary-xlight);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-6);
}
.quiz-start__icon svg { width: 44px; height: 44px; }

.quiz-start h3 {
  font-family: var(--f-head);
  font-size: var(--t-2xl);
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}

.quiz-start p {
  color: var(--c-text-2);
  font-size: var(--t-lg);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.quiz-progress {
  margin-bottom: var(--sp-6);
}

.quiz-progress__bar {
  height: 6px;
  background: var(--c-border);
  border-radius: var(--r-full);
  overflow: hidden;
  margin-bottom: var(--sp-2);
}

.quiz-progress__fill {
  height: 100%;
  background: var(--c-primary);
  border-radius: var(--r-full);
  transition: width var(--tr-slow);
}

.quiz-progress__label {
  font-size: var(--t-sm);
  color: var(--c-text-3);
  font-weight: 500;
}

.quiz-question {
  animation: fadeSlideUp .35s ease;
}

.quiz-question__text {
  font-family: var(--f-head);
  font-size: var(--t-xl);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-6);
  line-height: 1.4;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.quiz-option {
  width: 100%;
  text-align: left;
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-white);
  border: 2px solid var(--c-border);
  border-radius: var(--r-xl);
  font-size: var(--t-base);
  font-weight: 500;
  color: var(--c-text);
  transition: all var(--tr-fast);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.quiz-option:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-xlight);
  color: var(--c-primary-dark);
  transform: translateX(4px);
}

.quiz-option__letter {
  width: 28px;
  height: 28px;
  border-radius: var(--r-full);
  background: var(--c-bg);
  border: 2px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-size: var(--t-sm);
  font-weight: 700;
  flex-shrink: 0;
  transition: all var(--tr-fast);
}

.quiz-option:hover .quiz-option__letter {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-white);
}

/* Quiz result */
.quiz-result {
  text-align: center;
  padding: var(--sp-8) 0;
  animation: fadeSlideUp .5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.quiz-result__confetti {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--c-primary-xlight);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
}
.quiz-result__confetti svg { width: 36px; height: 36px; }

.quiz-result__card {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  border-radius: var(--r-2xl);
  padding: var(--sp-8);
  color: var(--c-white);
  margin: var(--sp-6) 0;
  box-shadow: 0 12px 40px rgba(239,125,0,.35);
}

.quiz-result__title {
  font-family: var(--f-head);
  font-size: var(--t-2xl);
  font-weight: 800;
  margin-bottom: var(--sp-3);
}

.quiz-result__desc {
  font-size: var(--t-base);
  opacity: .9;
  line-height: 1.65;
  margin-bottom: var(--sp-6);
}

.quiz-result__actions {
  display: flex;
  gap: var(--sp-3);
  justify-content: center;
  flex-wrap: wrap;
}

.quiz-reset {
  font-size: var(--t-sm);
  color: var(--c-text-3);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  margin-top: var(--sp-4);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  TELA: MATRÍCULA                                         ║
   ╚══════════════════════════════════════════════════════════╝ */

.form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--sp-4) var(--sp-8);
}

.form-section {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  margin-bottom: var(--sp-5);
  box-shadow: var(--sh-sm);
}

.form-section__title {
  font-family: var(--f-head);
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.form-section__num {
  width: 28px;
  height: 28px;
  border-radius: var(--r-full);
  background: var(--c-primary);
  color: var(--c-white);
  font-size: var(--t-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 480px) {
  .form-row { grid-template-columns: repeat(2, 1fr); }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.form-group:last-child { margin-bottom: 0; }

.form-group label {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--sp-3) var(--sp-4);
  border: 2px solid var(--c-border);
  border-radius: var(--r-lg);
  color: var(--c-text);
  background: var(--c-bg);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-primary);
  background: var(--c-white);
  box-shadow: 0 0 0 3px rgba(239,125,0,.12);
}

.form-group input.is-error,
.form-group select.is-error,
.form-group textarea.is-error {
  border-color: #E53E3E;
  box-shadow: 0 0 0 3px rgba(229,62,62,.1);
}

.form-group input.is-valid,
.form-group select.is-valid,
.form-group textarea.is-valid {
  border-color: #38A169;
}

.field-error {
  font-size: var(--t-xs);
  color: #E53E3E;
  font-weight: 500;
  min-height: 16px;
}

.form-group[hidden] { display: none; }

.form-footer {
  padding-top: var(--sp-2);
}

.form-privacy {
  font-size: var(--t-xs);
  color: var(--c-text-3);
  text-align: center;
  margin-bottom: var(--sp-4);
}

/* Form success */
.form-success {
  text-align: center;
  padding: var(--sp-12) var(--sp-4);
  animation: fadeSlideUp .5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.form-success[hidden] { display: none; }

.form-success__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #D1FAE5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-4);
}
.form-success__icon svg { width: 40px; height: 40px; }

.form-success h3 {
  font-family: var(--f-head);
  font-size: var(--t-2xl);
  font-weight: 800;
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}

.form-success p {
  color: var(--c-text-2);
  font-size: var(--t-lg);
  line-height: 1.65;
  margin-bottom: var(--sp-8);
}

/* ── SKIP LINK ────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -999px;
  left: var(--sp-4);
  background: var(--c-primary);
  color: var(--c-white);
  font-family: var(--f-head);
  font-weight: 600;
  font-size: var(--t-sm);
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-full);
  z-index: 9999;
  text-decoration: none;
  transition: top var(--tr-fast);
}

.skip-link:focus {
  top: var(--sp-3);
  outline: 3px solid var(--c-primary-dark);
  outline-offset: 2px;
}

/* ── FOCUS RINGS GLOBAIS ─────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.nav__item:focus-visible,
.bnav__item:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
}

/* ── PREFERS-REDUCED-MOTION ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  [data-animate].animated {
    opacity: 1;
    transform: none;
  }

  .seg-panel,
  .quiz-question,
  .quiz-result,
  .form-success {
    animation: none;
  }
}


/* Fachadas das unidades */
.units-facade {
  max-width: var(--content-max);
  margin: 0 auto var(--sp-6);
  padding: 0 var(--sp-4);
}

.units-facade__img {
  width: 100%;
  border-radius: var(--r-2xl);
  object-fit: cover;
  max-height: 280px;
  box-shadow: var(--sh-lg);
}

/* Foto no painel de segmento */
.seg-panel__photo-wrap {
  width: 100%;
  height: 200px;
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: var(--sp-6);
  background: var(--c-secondary);
}

.seg-panel__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--tr-slow);
}

.seg-panel__photo-wrap:hover .seg-panel__photo {
  transform: scale(1.04);
}

/* PNG com fundo preto (EnsinoMedio, FundI) — preservar transparência */
section[data-view="segmentos"] .seg-panel__photo-wrap {
  background: var(--c-secondary);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Foto no modal de parceiro */
.modal__photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--r-xl);
  margin-bottom: var(--sp-5);
}

/* Foto no lightbox de evento */
.lightbox__photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--r-xl);
  margin-bottom: var(--sp-5);
}

/* Card de evento com foto real */
.event-card__cover--photo {
  padding: 0;
  overflow: hidden;
}

.event-card__cover--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}

.event-card:hover .event-card__cover--photo img {
  transform: scale(1.06);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  TELA: ÁREA DO ALUNO                                     ║
   ╚══════════════════════════════════════════════════════════╝ */

.aluno-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  padding: 0 var(--sp-4) var(--sp-6);
  max-width: var(--content-max);
  margin: 0 auto;
}

@media (min-width: 560px) {
  .aluno-grid { grid-template-columns: repeat(2, 1fr); }
}

.aluno-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  box-shadow: var(--sh-sm);
  text-decoration: none;
  color: inherit;
  transition: transform var(--tr-fast), box-shadow var(--tr-fast), border-color var(--tr-fast);
  -webkit-tap-highlight-color: transparent;
}

.aluno-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
  border-color: var(--c-primary-light);
}

.aluno-card:active { transform: scale(0.98); }

.aluno-card--wide {
  grid-column: 1 / -1;
}

.aluno-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aluno-card__icon svg {
  width: 26px;
  height: 26px;
}

.aluno-card__info {
  flex: 1;
  min-width: 0;
}

.aluno-card__info h3 {
  font-family: var(--f-head);
  font-size: var(--t-base);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: var(--sp-1);
}

.aluno-card__info p {
  font-size: var(--t-sm);
  color: var(--c-text-2);
  line-height: 1.5;
}

.aluno-card__arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--c-text-3);
  transition: transform var(--tr-fast), color var(--tr-fast);
}

.aluno-card:hover .aluno-card__arrow {
  transform: translateX(3px);
  color: var(--c-primary);
}

.aluno-tip {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  background: var(--c-primary-xlight);
  border: 1px solid var(--c-primary-light);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  color: var(--c-primary-dark);
  max-width: var(--content-max);
  margin: 0 auto var(--sp-8);
  width: calc(100% - var(--sp-8));
}

.aluno-tip svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--c-primary);
}

.aluno-tip p {
  font-size: var(--t-sm);
  line-height: 1.6;
}

.aluno-tip strong {
  font-weight: 700;
  color: var(--c-primary-dark);
}

/* ── SIDEBAR SOCIALS ──────────────────────────────────────── */
.sidebar__socials {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.sidebar__social-link {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-xs);
  color: rgba(255,255,255,.45);
  transition: color var(--tr-fast);
}

.sidebar__social-link:hover { color: rgba(255,255,255,.85); }

/* ── WHATSAPP FLUTUANTE ───────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: calc(var(--nav-bottom-h) + 16px);
  right: 20px;
  z-index: 150;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform var(--tr-fast), box-shadow var(--tr-fast);
  text-decoration: none;
  color: white;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.65);
}

.whatsapp-float:active { transform: scale(0.96); }

@media (min-width: 1024px) {
  .whatsapp-float { bottom: 28px; }
}

/* ── SCROLLBAR CUSTOMIZADA ────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--c-text-3); }

/* ── ACESSIBILIDADE ───────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
