:root {
  --bg: #0b0d10;
  --bg-2: #0f1217;
  --card: #ffffff0f;
  --card-2: #ffffff14;
  --text: #ffffffeb;
  --muted: #ffffffa6;
  --muted-2: #ffffff73;
  --border: #ffffff1f;
  --accent: #8A6A45;
  --accent-2: #2F3945;
  /* Helpful RGB vars for future color/opacity composition */
  --accent-rgb: 124, 92, 255;

  /* accent */ 
  --accent-33: #8A6A4533; /* 0.20 */
  --accent-b3: #8A6A45b3;
  --accent-8c: #8A6A458c;
  --accent-2e: #8A6A452e;
  --accent-d1: #8A6A45d1;
  --accent-1f: #8A6A451f;
  --accent-40: #8A6A4540;
  
  /* accent-2 */ 
  --accent-2-1a: #2F39451a; /* 0.10 */
  --accent-2-24: #2F394524; /* 0.14 */
  --accent-2-50: #2F394550; /* 0.14 */
  --accent-2-e6: #2F3945e6; /* 0.90 */ /* 0.90 */
  --accent-2-none: none; /* reserved */
  
  --shadow: 0 20px 60px #00000073;
  --radius: 18px;
  --radius-2: 26px;
  --container: 1120px;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  
  --danger: #ff6b7af2;       /* vermelho suave */
  --danger-0f: #ff6b7a0f;
  --danger-e6: #ff6b7ae6;

  --danger-border: #ff6b7a8c;
  --danger-glow: #ff6b7a24;

  /* Success / Error (dark-friendly) */
  --success: #2ecc71; /* green */
  --success-border: #2ecc718c;
  --success-glow: #2ecc7122;

  --error: #ff4d5a; /* red */
  --error-border: #ff4d5a8c;
  --error-glow: #ff4d5a22;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 50% -10%, var(--accent-33), transparent 60%),
    radial-gradient(900px 500px at 20% 10%, var(--accent-2-50), transparent 55%),
    linear-gradient(180deg, var(--bg), #07080a 60%);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none
}

button {
  font-family: inherit
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: #0b0d104f;
  border-bottom: 1px solid var(--card)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2-e6));
  box-shadow: 0 10px 30px var(--accent-2e);
  border: 1px solid #ffffff2e
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-mark__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05
}

.brand-name strong {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.3px
}

.brand-name span {
  font-size: 12px;
  color: var(--muted-2)
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #ffffff0a;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap
}

.btn:hover {
  transform: translateY(-1px);
  background: #ffffff12;
  border-color: #ffffff33
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-b3));
  border-color: var(--accent-8c);
  box-shadow: 0 16px 45px var(--accent-2e)
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-d1));
  border-color: var(--accent-b3)
}

/* HERO */
main {
  padding: 34px 0 90px
}

.hero {
  padding: 48px 0 18px
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 18px;
  padding: 28px 0 0
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff0a;
  color: var(--muted);
  font-size: 12px
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-1f)
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.9px
}

.subtitle {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.6
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
  justify-content: center
}

.scroll-hint {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted-2);
  user-select: none
}

.scroll-hint span {
  font-size: 12px;
  letter-spacing: 0.2px
}

.arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff08;
  display: grid;
  place-items: center;
  animation: bounce 1.4s infinite ease-in-out
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(6px)
  }
}

.arrow svg {
  opacity: 0.85
}

/* FRAME */
.frame-section {
  padding: 44px 0 10px
}

.frame {
  position: relative;
  border-radius: var(--radius-2);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--card), #ffffff08);
  box-shadow: var(--shadow);
  overflow: hidden
}

.frame img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.95
}

.frame-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  pointer-events: none;
  background: radial-gradient(900px 420px at 50% 0%, var(--accent-2e), transparent 58%)
}

.frame-badge {
  pointer-events: none;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  max-width: 520px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #0b0d1099;
  backdrop-filter: blur(10px);
  padding: 14px 16px
}

.frame-badge strong {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: -0.2px
}

.frame-badge p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55
}

/* QA */
.qa {
  padding: 56px 0 20px
}

.qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
  padding: 22px;
  border-radius: var(--radius-2);
  border: 1px solid #ffffff1a;
  background: #ffffff08
}

.qa h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.4px
}

.qa .answer {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7
}

/* MOSAICO */
.mosaic {
  padding: 56px 0 20px
}

.mosaic-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  text-align: left
}

.mosaic-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.4px
}

.mosaic-head p {
  margin: 0;
  max-width: 820px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7
}

.mosaic-wrap {
  padding: 22px;
  border-radius: var(--radius-2);
  border: 1px solid #ffffff1a;
  background: #ffffff08
}

.mosaic-row {
  display: flex;
  gap: 18px;
  align-items: stretch
}

.mosaic-row+.mosaic-row {
  margin-top: 18px
}

.card {
  position: relative;
  flex: 1;
  border-radius: 20px;
  border: 1px solid #ffffff1a;
  background: linear-gradient(180deg, var(--card), #ffffff08);
  box-shadow: 0 18px 50px #00000040;
  overflow: hidden;
  min-height: 210px
}

.card-inner {
  padding: 16px
}

.card h3 {
  margin: 10px 0 6px;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: -0.2px
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65
}

.card-media {
  height: 132px;
  width: 100%;
  border-bottom: 1px solid var(--card-2);
  background: radial-gradient(600px 220px at 30% 0%, var(--accent-40), transparent 60%), linear-gradient(135deg, var(--card-2), #ffffff08)
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.95
}

.card-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  height: 100%
}

.card-cta .left {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 520px
}

.card-cta.stacked {
  flex-direction: column;
  align-items: stretch
}

.card-cta.stacked .left {
  max-width: none;
  width: 100%
}

.card-cta.stacked .left p {
  width: 100%
}

.card-cta.stacked .cta-full {
  width: 100%;
  justify-content: center;
  height: 44px
}

.card-actions{
  margin-top: 0.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #ffffff24;
  background: #0b0d1066;
  color: #ffffffc6;
  font-size: 12px
}

.mosaic-bottom-left {
  flex: 0 0 60%
}

.mosaic-bottom-right {
  flex: 0 0 calc(40% - 18px)
}

.meeting {
  padding: 56px 0 20px
}

.meeting-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius-2);
  border: 1px solid #ffffff1a;
  background: radial-gradient(800px 260px at 0% 0%, var(--accent-2-24), transparent 55%), radial-gradient(900px 340px at 100% 0%, var(--accent-2e), transparent 60%), #ffffff08
}

.meeting-box h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.0vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.35px
}

.meeting-box p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14.5px;
  max-width: 760px
}

.lead-form {
  padding: 56px 0 10px
}

.form-shell {
  padding: 22px;
  border-radius: var(--radius-2);
  border: 1px solid #ffffff1a;
  background: #ffffff08
}

.form-shell h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.4px;
  text-align: left
}

.form-shell p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  max-width: 820px
}

form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px
}

label {
  font-size: 12px;
  color: #ffffffcc;
  letter-spacing: 0.2px
}

input,
textarea {
  border-radius: 14px;
  border: 1px solid #ffffff24;
  background: #ffffff0a;
  color: var(--text);
  padding: 10px 14px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
  font-family: inherit;
  font-size: 14px;
}

input {
  height: 44px;
  padding: 0 14px;
}

textarea {
  line-height: 1.4;
  resize: none;
  /* evita ficar muito extenso */
  min-height: calc(1.4em * 3 + 20px);
  /* ~3 linhas + padding */
  max-height: calc(1.4em * 3 + 20px);
  /* trava em 3 linhas */
}

input:focus,
textarea:focus {
  border-color: var(--accent-8c);
  background: var(--card);
}

.helper {
  color: var(--muted-2);
  font-size: 12px;
  margin-top: -2px;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap
}

.fineprint {
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.55
}

footer {
  padding: 70px 0 40px;
  color: var(--muted-2);
  font-size: 12px;
  text-align: center
}

@media (max-width:980px) {
  .mosaic-bottom-left {
    flex-basis: 58%
  }

  .mosaic-bottom-right {
    flex-basis: 42%
  }
}

@media (max-width:860px) {
  .qa-grid {
    grid-template-columns: 1fr
  }

  .meeting-box {
    flex-direction: column;
    align-items: flex-start
  }

  form {
    grid-template-columns: 1fr
  }

  .mosaic-row {
    flex-direction: column
  }

  .mosaic-bottom-left,
  .mosaic-bottom-right {
    flex: 1 1 auto;
    width: 100%
  }
}

@media (max-width:520px) {
  .brand-name span {
    display: none
  }

  .hero {
    padding-top: 34px
  }

  .nav-actions .btn {
    height: 38px;
    padding: 0 12px
  }
}


/* FORM VALIDATION */
.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--danger-border);
  background: var(--danger-0f);
}

.field.is-invalid input:focus,
.field.is-invalid textarea:focus {
  border-color: var(--danger);
  box-shadow: 0 0 0 6px var(--danger-glow);
}

.error-text {
  display: none;
  color: var(--danger-e6);
  font-size: 12px;
  line-height: 1.2;
  margin-top: 2px;
}

.field.is-invalid .error-text {
  display: block;
}

/* =========================
   TEACHER (FRAME + CURRÍCULO)
   ========================= */

.frame-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

/* Desktop: mostra o painel; Mobile: esconde */
.teacher-panel {
  display: none;
}

.teacher-card {
  height: 100%;
  border-radius: var(--radius-2);
  border: 1px solid #ffffff1a;
  background: #ffffff08;
  padding: 22px;
  margin-right: 16px;
}

.teacher-name {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.45px;
}

.teacher-bio {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ====== Teacher credential cards (desktop + modal) ====== */
.teacher-cred-list {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* Loader / Button loading state (used on form submit) */
.btn[aria-busy="true"] {
  cursor: wait;
  opacity: 0.95;
}

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.16);
  border-top-color: #ffffff;
  margin-right: 8px;
  vertical-align: middle;
  box-sizing: border-box;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-text { vertical-align: middle; }

button[disabled] { opacity: 0.9; }

.cred-card {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;

  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #ffffff1a;
  background: linear-gradient(180deg, #ffffff0c, #ffffff05);
}

.cred-date {
  width: 32px;
  height: 34px;
  display: grid;
  place-items: center;

  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0b0d1073;

  color: #ffffffc6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.cred-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  letter-spacing: -0.2px;
  color: #ffffffea;
  line-height: 1.25;
}

.cred-desc {
  margin-top: 4px;
  font-size: 12.5px;
  /* menor, mais fraquinho */
  color: var(--muted);
  line-height: 1.6;
}

/* Overlay: empilha badge + botão (e permite clique) */
.frame-overlay {
  pointer-events: auto;
  /* antes estava none no seu CSS [2](https://oxxyn-my.sharepoint.com/personal/everson_oliveira_solver_ind_br/Documents/Arquivos%20de%20Chat%20do%20Microsoft%20Copilot/styles.css) */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
}

/* Botão do currículo: aparece só no mobile */
.frame-more {
  margin-top: 0;
}

/* Desktop (>=861px): 40% / 60% e esconde o botão */
@media (min-width: 861px) {
  .frame-split {
    grid-template-columns: 40% 60%;
  }

  .teacher-panel {
    display: block;
  }

  .frame-more {
    display: none;
  }
}

/* =========================
   MODAL (mobile)
   - 90% altura / 95% largura
   ========================= */

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 120;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: #000000ad;
  backdrop-filter: blur(6px);
}

.modal-dialog {
  position: relative;
  width: 95vw;
  height: 90vh;
  border-radius: var(--radius-2);
  border: 1px solid var(--border);
  background: #0b0d10ea;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.modal-content {
  height: 100%;
  overflow: auto;
  padding: 18px 18px 22px;
}

/* Desktop: use a centered, narrower dialog for modals with .modal-large */
@media (min-width:861px) {
  .modal-dialog.modal-large {
    width: 70vw;
    max-width: 820px;
    height: auto;
    max-height: 80vh;
    border-radius: var(--radius-2);
  }

  .modal-content {
    max-height: calc(80vh - 60px);
    overflow: auto;
    padding: 22px;
  }
}

.modal-subtitle {
  margin: 16px 0 10px;
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: -0.2px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}

.modal-close:hover {
  transform: translateY(-1px);
  background: #ffffff19;
  border-color: #ffffff33;
}

body.modal-open {
  overflow: hidden;
}

/* TOASTS */
.toast-container {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 140;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 260px;
  max-width: 420px;
  background: linear-gradient(180deg, #ffffff0b, #ffffff05);
  color: var(--text);
  border: 1px solid #ffffff24;
  padding: 12px 12px;
  border-radius: 12px;
  box-shadow: 0 10px 30px #00000060;
  transform: translateY(8px) scale(.995);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
  display: flex;
  align-items: center;
}

.toast.is-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.toast-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.toast-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 10px;
}

.toast-body {
  flex: 1 1 auto;
  font-size: 13px;
  color: var(--text);
}

.toast-close {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.toast--success { border-color: var(--success-border); }
.toast--success .toast-icon { background: var(--success); box-shadow: 0 6px 20px var(--success-glow); }

.toast--error { border-color: var(--error-border); }
.toast--error .toast-icon { background: var(--error); box-shadow: 0 6px 20px var(--error-glow); }

@media (max-width:520px) {
  .toast-container { left: 20px; right: 20px; bottom: 40px; }
  .toast { max-width: calc(100% - 0px); }
}
