/* ============================================================
   Vibe Code — Design System v2 (Editorial Dark)
   Inspirado em auraverdis.com.br: serif editorial, âmbar sóbrio,
   respiro generoso, mood premium "revista científica".
============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;0,9..144,800;1,9..144,400;1,9..144,600;1,9..144,700;1,9..144,800&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg:           #04050A;
  --bg-2:         #07090F;
  --card:         rgba(255,255,255,0.025);
  --card-hover:   rgba(255,255,255,0.045);
  --border:       rgba(255,255,255,0.07);
  --border-strong:rgba(255,255,255,0.14);
  --border-amber: rgba(255,138,31,0.22);
  --text:         #F4F6FA;
  --text-soft:    #C5CAD3;
  --text-muted:   #8A929F;
  --amber:        #FF8A1F;
  --amber-soft:   #FFC988;
  --amber-deep:   #C2620E;
  --serif:        "Fraunces", Georgia, "Times New Roman", serif;
  --sans:         "Inter", "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --max:          1080px;
}

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

html { scroll-behavior: smooth; background: var(--bg); }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* Soft amber glow — top center, very subtle. NO grid. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 45% at 50% -10%, rgba(255,138,31,0.08) 0%, transparent 65%),
    radial-gradient(50% 40% at 50% 110%, rgba(255,180,92,0.025) 0%, transparent 60%),
    linear-gradient(180deg, #05060B 0%, var(--bg) 100%);
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ============ Header ============ */
header {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  position: sticky; top: 0;
  background: rgba(4,5,10,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}
.logo span {
  color: var(--amber);
  font-style: normal;
  font-weight: 400;
  margin: 0 4px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
header nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .15s;
}
header nav a:hover { color: var(--text); }
header nav a.active { color: var(--text); }

/* ============ Buttons (clean pills, NO ::before) ============ */
.cta, .cta-outline {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.005em;
  text-decoration: none;
  transition: transform .15s, background .2s, border-color .2s, color .2s;
  cursor: pointer;
  border: 1px solid transparent;
}
.cta {
  background: var(--amber);
  color: #0A0A0A;
  font-weight: 700;
}
.cta:hover {
  transform: translateY(-1px);
  background: #FFA042;
}
.cta-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.cta-outline:hover {
  border-color: var(--amber);
  color: var(--amber);
}

/* ============ Hero ============ */
.hero {
  padding: 110px 0 90px;
  text-align: center;
  position: relative;
}
.hero-symbol {
  display: inline-block;
  font-size: 88px;
  line-height: 1;
  color: var(--amber);
  margin-bottom: 36px;
  text-shadow:
    0 0 36px rgba(255,138,31,0.45),
    0 0 90px rgba(255,138,31,0.22);
  font-family: var(--sans);
  font-weight: 500;
}
.badge {
  display: inline-block;
  color: var(--amber-soft);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(46px, 6.2vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 28px;
  font-feature-settings: "ss01" on;
}
h1 .it { font-style: italic; font-weight: 700; }
h1 .accent {
  color: var(--amber);
  font-style: italic;
  text-shadow: 0 0 28px rgba(255,138,31,0.25);
}
.hero-sub {
  font-family: var(--sans);
  font-size: 19px;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4px;
}
.cta-meta {
  display: block;
  color: var(--text-muted);
  font-size: 13.5px;
  margin-top: 28px;
}
.cta-meta strong { color: var(--text); font-weight: 600; }
.hero-proof {
  display: block;
  color: var(--text-muted);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  max-width: 760px;
  margin: 38px auto 0;
  line-height: 1.6;
  letter-spacing: 0.005em;
}
.hero-proof strong { color: var(--text-soft); font-weight: 600; }
.pilot-line {
  display: inline-block;
  margin-top: 18px;
  color: var(--amber-soft);
  font-style: italic;
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 500;
}

/* ============ Feature grid (curso pages hero blocks) ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 64px 0 24px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 16px;
  padding: 26px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, background .2s;
}
.feature-card:hover {
  border-color: var(--border-strong);
  background: var(--card-hover);
}
.fc-ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,138,31,0.08);
  border: 1px solid var(--border-amber);
  margin-bottom: 4px;
}
.fc-ic svg {
  width: 20px; height: 20px;
  stroke: var(--amber-soft);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.feature-card .num {
  font-size: 10.5px;
  color: var(--amber);
  letter-spacing: 0.22em;
  font-weight: 700;
  text-transform: uppercase;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ============ Sections ============ */
section { padding: 100px 0; }
section.dark { background: var(--bg-2); }
.section-label {
  color: var(--amber);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.24em;
  font-weight: 700;
  margin-bottom: 18px;
  text-align: center;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 54px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: center;
  font-weight: 700;
  margin-bottom: 22px;
}
h2 .it { font-style: italic; }
h2 .accent {
  color: var(--amber);
  font-style: italic;
}
.section-intro {
  text-align: center;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto 56px;
  font-size: 17px;
  line-height: 1.6;
}

/* ============ Two-courses comparison (home + curso pages) ============ */
.home-courses, .twocourses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 940px;
  margin: 8px auto 0;
}
.tc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, background .2s;
}
.tc:hover { border-color: var(--border-strong); background: var(--card-hover); }
.tc.this { border-color: var(--border-amber); }
.tc .tag {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.tc h3 {
  font-family: var(--serif);
  font-size: 26px; font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.tc .meta {
  font-size: 13px; color: var(--amber-soft);
  font-style: italic; font-family: var(--serif);
  font-weight: 500; margin-bottom: 16px;
}
.tc p {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.6;
}
.tc .grow { flex: 1; }
.tc ul { list-style: none; padding: 0; margin: 18px 0 0; }
.tc ul li {
  color: var(--text-muted);
  font-size: 14px;
  padding: 5px 0 5px 22px;
  position: relative;
  line-height: 1.5;
}
.tc ul li::before {
  content: "→"; position: absolute; left: 0;
  color: var(--amber);
  font-weight: 500;
}
.tc .arrow-link, .tc .pill {
  display: inline-block;
  margin-top: 22px;
  color: var(--amber);
  text-decoration: none;
  font-weight: 600;
  font-size: 14.5px;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  transition: border-color .15s;
}
.tc .arrow-link:hover, .tc .pill:hover { border-color: var(--amber); }

/* ============ Journey (home) ============ */
.journey {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 20px;
  max-width: 980px;
  margin: 8px auto 0;
  align-items: stretch;
}
.journey .step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
}
.journey .step .tag {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--amber);
}
.journey .step h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 12px 0 12px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.journey .step p {
  color: var(--text-soft);
  font-size: 14.5px;
  line-height: 1.6;
}
.journey .arrow {
  display: grid;
  place-items: center;
  color: var(--amber);
  font-size: 26px;
  font-family: var(--serif);
  font-style: italic;
}

/* ============ Compare table ============ */
.compare-table {
  width: 100%;
  max-width: 900px;
  margin: 12px auto 0;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
}
.compare-table th, .compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--text);
  vertical-align: top;
}
.compare-table th {
  color: var(--amber);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  background: transparent;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody td:first-child {
  color: var(--text-muted);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

/* ============ Instructor ============ */
.instructor {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 48px;
  margin-top: 32px;
}
.instructor-photo {
  width: 220px; height: 220px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 76px; font-weight: 700;
  font-style: italic;
  color: #0A0A0A;
  box-shadow: 0 0 60px -16px rgba(255,138,31,0.6);
}
.instructor h3 {
  font-family: var(--serif);
  font-size: 32px;
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.instructor .role {
  color: var(--amber-soft);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 22px;
  font-size: 14.5px;
  line-height: 1.5;
}
.instructor p {
  color: var(--text-soft);
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.7;
}
.instructor p strong { color: var(--text); font-weight: 600; }
.credentials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.credential {
  background: rgba(255,138,31,0.05);
  border: 1px solid var(--border-amber);
  color: var(--text);
  padding: 6px 13px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
}
a.credential { text-decoration: none; }
a.credential:hover { background: rgba(255,138,31,0.12); }

/* ============ FAQ (custom accordion) ============ */
#faq details {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  transition: border-color .25s;
}
#faq details:first-of-type { border-top: 1px solid var(--border); }
#faq details[open] { border-bottom-color: var(--border-amber); }
#faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19.5px;
  color: var(--text);
  list-style: none;
  position: relative;
  padding-right: 40px;
  letter-spacing: -0.005em;
  line-height: 1.4;
  transition: color .15s;
}
#faq summary:hover { color: var(--amber); }
#faq summary::-webkit-details-marker { display: none; }
#faq summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -4px;
  color: var(--amber);
  font-size: 28px;
  font-weight: 300;
  transition: transform .3s;
  font-family: var(--sans);
  line-height: 1;
}
#faq details[open] summary::after { content: "−"; }
#faq details p {
  margin-top: 16px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.7;
  padding-right: 32px;
}
#faq { max-width: 840px; margin: 0 auto; }
#faq h2 { margin-bottom: 56px; }

/* ============ Project cards (curso pages) ============ */
.project {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0 0 36px;
  margin-bottom: 28px;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.project:hover { border-color: var(--border-strong); background: var(--card-hover); }
.project-cover { width: 100%; height: auto; display: block; }
.project-body { padding: 32px 36px 0; }
.project-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px; gap: 16px; flex-wrap: wrap;
}
.project-tag {
  color: var(--amber);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
}
.project-week { color: var(--text-muted); font-size: 13px; font-weight: 500; }
.project h3 {
  font-family: var(--serif);
  font-size: 28px; font-weight: 600;
  color: var(--text);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.project .lead {
  color: var(--text-soft);
  font-size: 16px; line-height: 1.6;
  margin-bottom: 24px;
}
.project .lead strong { color: var(--text); font-weight: 600; }
.project h4 {
  color: var(--amber);
  font-size: 11.5px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 12px;
}
.project ul { padding-left: 0; list-style: none; margin-bottom: 8px; }
.project ul li {
  color: var(--text-soft);
  font-size: 14.5px; line-height: 1.65;
  padding: 4px 0 4px 22px;
  position: relative;
}
.project ul li::before {
  content: "·";
  position: absolute; left: 8px;
  color: var(--amber); font-weight: 700;
  font-size: 18px; line-height: 0.8;
}
.project .ship {
  display: inline-block;
  margin-top: 22px;
  padding: 10px 18px;
  background: rgba(255,138,31,0.06);
  border: 1px solid var(--border-amber);
  border-radius: 100px;
  font-size: 12.5px; font-weight: 600;
  color: var(--amber);
  font-style: italic;
  letter-spacing: 0.005em;
  font-family: var(--serif);
}

/* ============ Bonus cards ============ */
.bonus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}
.bonus-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 36px;
  transition: border-color .2s, background .2s;
}
.bonus-card:hover { border-color: var(--border-strong); background: var(--card-hover); }
.bonus-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

/* ============ Concepts ============ */
#conceitos { padding: 100px 0; }
.concepts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max);
  margin: 0 auto;
}
.concept-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: border-color .2s, background .2s;
}
.concept-card:hover { border-color: var(--border-strong); background: var(--card-hover); }
.concept-card img {
  width: 100%; height: auto;
  border-radius: 8px;
  margin-bottom: 14px;
}
.concept-card h4 {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 4px;
}
.concept-card p {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.4;
}

/* ============ Schedule ============ */
.schedule {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}
.week {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.week-bar {
  width: 28px; height: 3px;
  background: var(--amber);
  margin-bottom: 14px;
}
.week-label {
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.week-session {
  font-size: 12.5px;
  color: var(--text-soft);
  margin-bottom: 6px;
  line-height: 1.4;
}

/* ============ Final CTA + newsletter ============ */
.final-cta {
  padding: 110px 0 130px;
  text-align: center;
}
.newsletter {
  padding: 80px 0 100px;
  text-align: center;
}

/* ============ Footer ============ */
footer {
  padding: 50px 0 60px;
  border-top: 1px solid var(--border);
  margin-top: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  font-family: var(--sans);
}

/* ============ Responsive ============ */
@media (max-width: 920px) {
  .home-courses, .twocourses { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .journey .arrow { transform: rotate(90deg); margin: 0 auto; padding: 6px 0; }
  .instructor { grid-template-columns: 1fr; text-align: center; }
  .instructor-photo { margin: 0 auto; }
  .credentials { justify-content: center; }
  .schedule { grid-template-columns: repeat(2, 1fr); }
  .concepts { grid-template-columns: 1fr 1fr; }
  .compare-table th, .compare-table td { padding: 14px 16px; font-size: 13.5px; }
  header nav { gap: 18px; }
  .hero-symbol { font-size: 72px; }
  section { padding: 70px 0; }
}
@media (max-width: 640px) {
  header nav a:not(.cta) { display: none; }
  .schedule { grid-template-columns: 1fr; }
  .concepts { grid-template-columns: 1fr; }
  .instructor { padding: 32px 24px; }
  .project-body { padding: 28px 24px 0; }
  .container { padding: 0 22px; }
}
