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

html, body {
  height: 100%;
  width: 100%;
  font-family: 'Segoe UI', Arial, sans-serif;
}

body {
  display: flex;
  min-height: 100vh;
  background: #13152a;
}

.wrap {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* ══════════════════════════════
   SIDEBAR  —  35% da largura
══════════════════════════════ */
.sidebar {
  width: 35%;
  flex-shrink: 0;
  background: #1a1d2e;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 3rem 3.5rem;
  gap: 2.5rem;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  margin-left: 5vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sidebar-logo img {
  width: 35vh;
  height: 50px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sidebar-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-heading h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.sidebar-heading p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.4;
}

/* linha conectora */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  position: relative;
}
.step-list::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 32px;
  width: 1.5px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  position: relative;
  z-index: 1;
  transition: opacity 0.3s;
}
.step.pending { opacity: 0.35; }
.step.active  { opacity: 1; }
.step.done    { opacity: 0.9; }

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  background: #1a1d2e;
  transition: background 0.3s, border-color 0.3s;
}
.step.active .step-dot { background: #6c63ff; border-color: #6c63ff; color: #fff; }
.step.done   .step-dot { background: #27ae60; border-color: #27ae60; color: #fff; }
.step.done   .step-dot::after { content: '✓'; font-size: 14px; }
.step.done   .step-num { display: none; }

.step-text { display: flex; flex-direction: column; }
.step-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  line-height: 1.2;
  transition: color 0.3s;
}
.step.active .step-label { color: #fff; font-weight: 600; }
.step.done   .step-label { color: rgba(255, 255, 255, 0.75); font-weight: 500; }

.step-sublabel {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 2px;
}
.step.active .step-sublabel { color: rgba(255, 255, 255, 0.55); }
.step.done   .step-sublabel { color: rgba(255, 255, 255, 0.4); }

/* barra de progresso */
.progress-wrap { width: 100%; }
.progress-bar-wrap {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  height: 5px;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  background: #6c63ff;
  border-radius: 99px;
  transition: width 0.4s ease;
  width: 0%;
}
.progress-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 7px;
}

/* ══════════════════════════════
   PANEL  —  65% da largura
══════════════════════════════ */
.panel {
  flex: 1;
  background: #e8eaf6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-y: auto;
}

.panel-inner {
  flex: 1;
  padding: 3rem 3.5rem 2.5rem;
  width: 100%;
  max-width: 720px;
}

.panel-title {
  font-size: 24px;
  font-weight: 700;
  color: #2d2f4a;
  margin-bottom: 0.3rem;
}
.panel-sub {
  font-size: 14px;
  color: #6b6e8d;
  margin-bottom: 2rem;
}

/* ── campos ── */
.fields { display: flex; flex-direction: column; gap: 14px; margin-bottom: 1.2rem; }
.row2   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field-group { display: flex; flex-direction: column; gap: 5px; }
.field-label { font-size: 12px; font-weight: 500; color: #6b6e8d; padding-left: 2px; }

.field {
  background: #fff;
  border: 1px solid #c5c7e0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  height: 50px;
  gap: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field:focus-within {
  border-color: #6c63ff;
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.13);
}
.field.filled { border-color: #27ae60; }

.field svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  stroke: #9a9cbf;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s;
}
.field:focus-within svg { stroke: #6c63ff; }
.field.filled svg        { stroke: #27ae60; }

.field input,
.field select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #2d2f4a;
  flex: 1;
  font-family: inherit;
}
.field input::placeholder { color: #b0b2cc; }
.field select { cursor: pointer; color: #2d2f4a; }

.field-tall {
  background: #fff;
  border: 1px solid #c5c7e0;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field-tall:focus-within {
  border-color: #6c63ff;
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.13);
}
.field-tall.filled { border-color: #27ae60; }

.field-tall svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: #9a9cbf;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s;
}
.field-tall:focus-within svg { stroke: #6c63ff; }
.field-tall.filled svg        { stroke: #27ae60; }

.field-tall textarea {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #2d2f4a;
  flex: 1;
  resize: vertical;
  font-family: inherit;
  line-height: 1.6;
  min-height: 80px;
}
.field-tall textarea::placeholder { color: #b0b2cc; }

/* ── matérias ── */
.section-label {
  font-size: 12px;
  font-weight: 600;
  color: #6b6e8d;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
  margin-top: 8px;
}

.materia-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.materia-row .field { flex: 1; margin: 0; }

.btn-remover {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fde8e8;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: #c0392b;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.btn-remover:hover { background: #f5c0c0; }

.btn-adicionar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1.5px dashed #9a9cbf;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  color: #6b6e8d;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  transition: border-color 0.15s, color 0.15s;
  margin-bottom: 0.5rem;
}
.btn-adicionar:hover { border-color: #6c63ff; color: #6c63ff; }

/* ── rodapé do formulário ── */
.btn-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid #d0d3ee;
}

.btn-back {
  font-size: 14px;
  color: #6b6e8d;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 8px 0;
}
.btn-back:hover { color: #2d2f4a; }

.btn-next {
  background: #6c63ff;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0 32px;
  height: 46px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, transform 0.1s;
}
.btn-next:hover  { background: #574ed6; }
.btn-next:active { transform: scale(0.98); }

/* ══════════════════════════════
   MOBILE  —  ≤ 768px
══════════════════════════════ */
.mobile-progress { display: none; }

@media (max-width: 768px) {
  .wrap { flex-direction: column; }

  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 1.2rem 1.2rem 1rem;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
  }

  .sidebar-logo { width: 38px; height: 38px; }
  .sidebar-logo svg { width: 20px; height: 20px; }

  .sidebar-heading { display: none; }
  .step-list        { display: none; }
  .progress-wrap    { display: none; }

  .mobile-progress {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
  }
  .mobile-step-name  { font-size: 13px; font-weight: 600; color: #fff; }
  .mobile-step-count { font-size: 11px; color: rgba(255,255,255,0.45); }

  .panel-inner { padding: 1.5rem 1.2rem 2rem; }
  .panel-title { font-size: 19px; }
  .row2        { grid-template-columns: 1fr; }
}

/* ══════════════════════════════
   TOAST DE SUCESSO
══════════════════════════════ */
.toast-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19, 21, 42, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: toastFadeIn 0.3s ease;
}

.toast-box {
  background: #1a1d2e;
  border: 1px solid rgba(108, 99, 255, 0.3);
  border-radius: 20px;
  padding: 2.8rem 2.5rem 2.2rem;
  text-align: center;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(108,99,255,0.1);
  animation: toastSlideUp 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.toast-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(39, 174, 96, 0.15);
  border: 1.5px solid rgba(39, 174, 96, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #27ae60;
}
.toast-icon svg {
  width: 36px;
  height: 36px;
}

.toast-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.toast-msg {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.toast-btn {
  background: #6c63ff;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0 2.5rem;
  height: 46px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.toast-btn:hover  { background: #574ed6; }
.toast-btn:active { transform: scale(0.98); }

@keyframes toastFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes toastSlideUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* ══════════════════════════════
   FindProf — Home
   Reaproveita os tokens de cor/tipografia do projeto
   (fundo escuro #13152a/#1a1d2e, painel claro #e8eaf6, roxo #6c63ff)
   sem repetir seletores já existentes em style.css
══════════════════════════════ */

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

/* Blinda a home contra o body{display:flex} definido em style.css
   pra tela de cadastro (que assume o layout sidebar+panel) */
body:has(.home-page) {
  display: block;
  background: none;
  min-height: 0;
}

.home-page {
  width: 100%;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #e8eaf6;
  color: #2d2f4a;
}

.home-page a { text-decoration: none; color: inherit; }
.home-page svg { fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-page img { display: block; max-width: 100%; }

/* ══ HEADER ══ */
.home-page .site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3.5rem;
  background: #13152a;
  position: sticky;
  top: 0;
  z-index: 10;
}

.home-page .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.home-page .brand-logo {
  width: 20vh;
  height: 5vh;
 
  
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.home-page .brand-logo svg { width: 21px; height: 21px; stroke: #fff; }

.home-page .main-nav { display: flex; gap: 2rem; }
.home-page .main-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s;
}
.home-page .main-nav a:hover { color: #fff; }

.home-page .header-actions { display: flex; align-items: center; gap: 1.2rem; }

.home-page .btn-ghost {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.15s;
}
.home-page .btn-ghost:hover { color: #fff; }

.home-page .btn-solid {
  background: #6c63ff;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s, transform 0.1s;
  display: inline-block;
}
.home-page .btn-solid:hover { background: #574ed6; }
.home-page .btn-solid:active { transform: scale(0.98); }

/* ══ BANNER ══ */
.home-page .hero {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 5rem 3.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.home-page .hero-content { flex: 1.1; }

.home-page .hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6c63ff;
  background: rgba(108, 99, 255, 0.12);
  padding: 6px 12px;
  border-radius: 99px;
  margin-bottom: 1.2rem;
}

.home-page .hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  font-weight: 700;
  color: #1a1d2e;
  margin-bottom: 1rem;
  max-width: 560px;
}

.home-page .hero-lead {
  font-size: 15px;
  color: #6b6e8d;
  line-height: 1.6;
  max-width: 460px;
}

/* card de cadastro com abas (professor / aluno) */
.home-page .signup-card {
  flex: 0.9;
  background: #fff;
  border: 1px solid #d0d3ee;
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 20px 50px rgba(45, 47, 74, 0.1);
  max-width: 380px;
  width: 100%;
}

.home-page .signup-tabs {
  display: flex;
  background: #e8eaf6;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 1.4rem;
}
.home-page .signup-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  color: #6b6e8d;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.home-page .signup-tab.active {
  background: #fff;
  color: #6c63ff;
  box-shadow: 0 2px 8px rgba(45, 47, 74, 0.08);
}

.home-page .signup-panel h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1d2e;
  margin-bottom: 0.5rem;
}
.home-page .signup-panel p {
  font-size: 13px;
  color: #6b6e8d;
  line-height: 1.6;
  margin-bottom: 1.4rem;
}
.home-page .signup-panel .btn-solid { width: 100%; text-align: center; }

/* ══ SOBRE ══ */
.home-page .about {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding: 5rem 3.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.home-page .about-image {
  flex: 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(45, 47, 74, 0.12);
}
.home-page .about-image img { width: 100%; height: 360px; object-fit: cover; }

.home-page .about-text { flex: 1; }
.home-page .about-text h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #1a1d2e;
  margin-bottom: 1rem;
}
.home-page .about-text p {
  font-size: 14px;
  color: #6b6e8d;
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 480px;
}

/* ══ EQUIPE ══ */
.home-page .team {
  background: #1a1d2e;
  padding: 5rem 3.5rem;
  text-align: center;
}
.home-page .team h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
}
.home-page .section-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.5rem;
  margin-bottom: 3rem;
}

.home-page .team-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  max-width: 700px;
  margin: 0 auto;
}

.home-page .team-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.8rem 1.4rem 1.6rem;
}

.home-page .team-photo {
  width: 120px;
  height: 140px;
  border-radius: 13px;
  overflow: hidden;
  margin: 0 auto 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(108, 99, 255, 0.4);
}
.home-page .team-photo img { width: 100%; height: 100%; object-fit: cover; }

.home-page .team-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}
.home-page .team-card span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* ══ FOOTER ══ */
.home-page .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 3.5rem;
  background: #13152a;
}
.home-page .footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.home-page .site-footer p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ══════════════════════════════
   MOBILE  —  ≤ 768px
══════════════════════════════ */
@media (max-width: 768px) {
  .home-page .site-header { padding: 1rem 1.2rem; }
  .home-page .main-nav { display: none; }

  .home-page .hero {
    flex-direction: column;
    padding: 2.5rem 1.2rem 3rem;
    gap: 2rem;
  }
  .home-page .hero h1 { font-size: 1.7rem; }
  .home-page .signup-card { max-width: 100%; }

  .home-page .about {
    flex-direction: column;
    padding: 3rem 1.2rem;
    gap: 2rem;
  }
  .home-page .about-image img { height: 220px; }

  .home-page .team { padding: 3rem 1.2rem; }
  .home-page .team-row { grid-template-columns: 1fr; }

  .home-page .site-footer { flex-direction: column; gap: 1rem; padding: 2rem 1.2rem; text-align: center; }
}