/* VARIÁVEIS GLOBAIS */
:root {
  --gold: #C9A96E;
  --gold-light: #E8D5B0;
  --obsidian: #0D0D0D;
  --obsidian-2: #141414;
  --obsidian-3: #1C1C1C;
  --obsidian-4: #252525;
  --text-primary: #F5F0E8;
  --text-secondary: #B8B0A0;
  --text-muted: #6B6560;
}

/* RESET E BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
  font-family: 'DM Sans', sans-serif; 
  background: var(--obsidian); 
  color: var(--text-primary); 
  font-weight: 300; 
  min-height: 100vh; 
  overflow-x: hidden;
}

body::before { 
  content: ''; 
  position: fixed; 
  inset: 0; 
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E"); 
  pointer-events: none; 
  z-index: 9999; 
  opacity: .4; 
}

/* ────────────────────────────────────────────────────────
   NAVEGAÇÃO GLOBAL (NOVA NAVBAR PARA O SITE COMPLETO)
   ──────────────────────────────────────────────────────── */
nav.global-nav { 
  padding: 24px 60px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  border-bottom: 1px solid rgba(201,169,110,.08); 
  background: var(--obsidian);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.nav-logo { 
  font-family: 'Playfair Display', serif; 
  font-size: 18px; 
  font-weight: 500; 
  letter-spacing: .15em; 
  color: var(--gold); 
  text-transform: uppercase; 
  line-height: 1.2;
}

.nav-subtitle {
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link { 
  font-size: 12px; 
  letter-spacing: .15em; 
  text-transform: uppercase; 
  color: var(--text-muted); 
  text-decoration: none; 
  transition: color .3s; 
}

.nav-link:hover, .nav-link.active { 
  color: var(--gold); 
}

.nav-cta {
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  font-size: 11px; 
  font-weight: 500; 
  letter-spacing: .2em; 
  text-transform: uppercase; 
  color: var(--obsidian); 
  background: var(--gold); 
  padding: 12px 24px; 
  text-decoration: none;
  border: none; 
  cursor: pointer; 
  transition: all .3s;
}

.nav-cta:hover { 
  background: var(--gold-light); 
}

/* ────────────────────────────────────────────────────────
   ESTILOS COMPARTILHADOS PARA PÁGINAS DO ECOSSISTEMA
   ──────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 0;
}

/* HERO SECTION GENÉRICA */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.eyebrow { 
  display: inline-flex; 
  align-items: center; 
  gap: 14px; 
  margin-bottom: 24px; 
}
.eyebrow span { 
  font-size: 11px; 
  letter-spacing: .3em; 
  text-transform: uppercase; 
  color: var(--gold); 
  font-weight: 500; 
}
.eyebrow::before, .eyebrow::after { 
  content: ''; 
  display: block; 
  width: 40px; 
  height: 1px; 
  background: var(--gold); 
  opacity: .4; 
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 40px;
}

.btn-primary { 
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  font-size: 12px; 
  font-weight: 500; 
  letter-spacing: .2em; 
  text-transform: uppercase; 
  color: var(--obsidian); 
  background: var(--gold); 
  padding: 18px 36px; 
  border: none; 
  cursor: pointer; 
  transition: all .3s; 
  text-decoration: none;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-primary.arrow-right::after { content: '→'; transition: transform .3s; }
.btn-primary.arrow-right:hover::after { transform: translateX(4px); }

.btn-secondary {
  display: inline-flex; 
  align-items: center; 
  font-size: 12px; 
  font-weight: 500; 
  letter-spacing: .2em; 
  text-transform: uppercase; 
  color: var(--gold); 
  background: transparent; 
  border: 1px solid var(--gold);
  padding: 17px 35px; 
  cursor: pointer; 
  transition: all .3s; 
  text-decoration: none;
}
.btn-secondary:hover {
  background: rgba(201,169,110,.05);
}

/* GRID DE CARDS (Pilares / Portfólio) */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.card {
  background: var(--obsidian-2);
  border: 1px solid rgba(201,169,110,.08);
  padding: 40px;
  transition: all .4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.card:hover {
  border-color: rgba(201,169,110,.3);
  transform: translateY(-4px);
  background: var(--obsidian-3);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity .4s ease;
}

.card:hover::before {
  opacity: 0.5;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--gold);
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--text-primary);
  margin-bottom: 16px;
  font-weight: 400;
}

.card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 32px;
  flex-grow: 1;
}

.card-link {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.card-link::after {
  content: '→';
  transition: transform .3s;
}

.card:hover .card-link::after {
  transform: translateX(4px);
}

/* IMAGEM PLACEHOLDER */
.img-placeholder {
  width: 100%;
  height: 240px;
  background: var(--obsidian-3);
  border: 1px solid rgba(201,169,110,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 40%, rgba(201,169,110,.05) 50%, transparent 60%);
  background-size: 200% 200%;
  animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* RODAPÉ GERAL */
.site-footer {
  border-top: 1px solid rgba(201,169,110,.08);
  padding: 60px 0;
  margin-top: 60px;
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-text {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: .05em;
}

/* ────────────────────────────────────────────────────────
   ESTILOS ESPECÍFICOS DO FORMULÁRIO DE APLICAÇÃO
   (Mantidos para compatibilidade com mentoria-ti-aplicacao.html)
   ──────────────────────────────────────────────────────── */

.nav-back { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; display: flex; align-items: center; gap: 8px; transition: color .3s; }
.nav-back:hover { color: var(--gold); }

.page-wrapper { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 81px); }

.left-panel { background: var(--obsidian-2); padding: 80px 60px; border-right: 1px solid rgba(201,169,110,.08); display: flex; flex-direction: column; justify-content: space-between; position: sticky; top: 80px; height: calc(100vh - 81px); overflow: hidden; }
.left-panel::before { content: ''; position: absolute; bottom: 0; right: 0; width: 300px; height: 300px; background: radial-gradient(circle, rgba(201,169,110,.06) 0%, transparent 70%); pointer-events: none; }
.left-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; }
.left-eyebrow span { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.left-eyebrow::after { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); opacity: .4; }
.left-title { font-family: 'Playfair Display', serif; font-size: clamp(26px, 2.5vw, 40px); font-weight: 400; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 24px; }
.left-title em { font-style: italic; color: var(--gold); }
.left-desc { font-size: 15px; line-height: 1.8; color: var(--text-secondary); font-weight: 300; max-width: 400px; margin-bottom: 48px; }
.left-bullets { display: flex; flex-direction: column; gap: 16px; }
.left-bullet { display: flex; align-items: flex-start; gap: 14px; font-size: 13px; color: var(--text-secondary); line-height: 1.5; font-weight: 300; }
.bullet-dot { width: 5px; height: 5px; background: var(--gold); border-radius: 50%; margin-top: 6px; flex-shrink: 0; opacity: .7; }
.left-footer { margin-top: auto; padding-top: 48px; }
.left-footer-text { font-size: 12px; color: var(--text-muted); line-height: 1.6; }

.right-panel { padding: 80px 60px; overflow-y: auto; }

.progress-wrap { margin-bottom: 56px; }
.progress-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.progress-step-text { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; }
.progress-pct { font-size: 11px; letter-spacing: .15em; color: var(--gold); font-weight: 500; }
.progress-bar { height: 1px; background: rgba(201,169,110,.12); }
.progress-fill { height: 100%; background: var(--gold); transition: width .5s ease; }

.form-page { display: none; animation: fadeIn .4s ease; }
.form-page.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.form-group { margin-bottom: 36px; }
.form-label { display: block; font-size: 14px; font-weight: 500; color: var(--text-primary); margin-bottom: 10px; line-height: 1.5; }
.form-label .req { color: var(--gold); margin-left: 3px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; font-style: italic; }

.form-input, .form-textarea { width: 100%; background: var(--obsidian-3); border: 1px solid rgba(201,169,110,.12); color: var(--text-primary); font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 300; padding: 16px 20px; outline: none; transition: border-color .3s, background .3s; border-radius: 0; -webkit-appearance: none; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-input:focus, .form-textarea:focus { border-color: rgba(201,169,110,.4); background: var(--obsidian-4); }
.form-input.error, .form-textarea.error { border-color: rgba(226,107,107,.5); }
.form-textarea { min-height: 120px; resize: vertical; line-height: 1.7; }

.options-grid { display: flex; flex-direction: column; gap: 10px; }
.option-item { position: relative; }
.option-item input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.option-label { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--obsidian-3); border: 1px solid rgba(201,169,110,.1); cursor: pointer; transition: all .2s; font-size: 14px; color: var(--text-secondary); font-weight: 300; line-height: 1.4; user-select: none; }
.option-label:hover { border-color: rgba(201,169,110,.3); background: var(--obsidian-4); color: var(--text-primary); }
.option-item input[type="radio"]:checked + .option-label { border-color: rgba(201,169,110,.5); background: rgba(201,169,110,.06); color: var(--text-primary); }
.option-dot { width: 16px; height: 16px; border: 1px solid rgba(201,169,110,.3); border-radius: 50%; flex-shrink: 0; transition: all .2s; position: relative; }
.option-item input[type="radio"]:checked + .option-label .option-dot { background: var(--gold); border-color: var(--gold); }
.option-item input[type="radio"]:checked + .option-label .option-dot::after { content: ''; position: absolute; inset: 3px; background: var(--obsidian); border-radius: 50%; }

.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(201,169,110,.08); }
.btn-next, .btn-submit { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--obsidian); background: var(--gold); padding: 18px 36px; border: none; cursor: pointer; transition: all .3s; font-family: 'DM Sans', sans-serif; }
.btn-next:hover, .btn-submit:hover { background: var(--gold-light); }
.btn-next::after { content: '→'; transition: transform .3s; }
.btn-next:hover::after { transform: translateX(4px); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }
.btn-prev { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--text-muted); background: none; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif; display: flex; align-items: center; gap: 8px; transition: color .3s; padding: 0; }
.btn-prev::before { content: '←'; }
.btn-prev:hover { color: var(--gold); }
.btn-prev.hidden { visibility: hidden; }

.spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(13,13,13,.3); border-top-color: var(--obsidian); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-submit.loading .spinner { display: inline-block; }
.btn-submit.loading .btn-label { display: none; }

.field-error { font-size: 12px; color: #E26B6B; margin-top: 8px; display: none; }

.form-section-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 400; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid rgba(201,169,110,.1); }
.form-section-title em { font-style: italic; color: var(--gold); }

.toast { position: fixed; bottom: 32px; right: 32px; padding: 16px 24px; font-size: 13px; font-weight: 500; letter-spacing: .05em; z-index: 10000; opacity: 0; transform: translateY(10px); transition: all .4s ease; pointer-events: none; max-width: 340px; line-height: 1.5; }
.toast.show { opacity: 1; transform: translateY(0); }
.toast.success { background: rgba(201,169,110,.15); border: 1px solid rgba(201,169,110,.3); color: var(--gold-light); }
.toast.error { background: rgba(226,107,107,.1); border: 1px solid rgba(226,107,107,.3); color: #F5A0A0; }
.toast.info { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: var(--text-secondary); }

.success-screen { display: none; text-align: center; padding: 60px 0; animation: fadeIn .5s ease; }
.success-screen.active { display: block; }
.success-icon { width: 72px; height: 72px; border: 1px solid rgba(201,169,110,.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 32px; }
.success-icon svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 1.5; }
.success-title { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 400; margin-bottom: 16px; }
.success-title em { font-style: italic; color: var(--gold); }
.success-text { font-size: 16px; color: var(--text-secondary); line-height: 1.8; max-width: 440px; margin: 0 auto 48px; font-weight: 300; }
.success-detail { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-muted); padding: 16px 28px; border: 1px solid rgba(201,169,110,.12); }
.success-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; opacity: .7; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .page-wrapper { grid-template-columns: 1fr; }
  .left-panel { position: relative; height: auto; padding: 48px 24px; top: 0; }
  .right-panel { padding: 48px 24px; }
  nav.global-nav { padding: 20px 24px; flex-direction: column; gap: 20px;}
  .nav-links { flex-wrap: wrap; justify-content: center; gap: 16px;}
  .left-footer { display: none; }
  .toast { bottom: 16px; right: 16px; left: 16px; }
}

/* ────────────────────────────────────────────────────────
   FAQ SECTION
   ──────────────────────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--obsidian-2);
  border: 1px solid rgba(201,169,110,.08);
  border-radius: 8px;
  overflow: hidden;
  transition: all .3s ease;
}

.faq-item:hover {
  border-color: rgba(201,169,110,.2);
}

.faq-question {
  padding: 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

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

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--gold);
  transition: transform .3s ease;
}

details[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 24px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 300;
  animation: fadeInDown .3s ease;
}
