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

:root {
  --dark: #0e2318;
  --mid: #163325;
  --accent-dark: #1f4030;
  --gold: #c9a96e;
  --gold-light: #e8d5b0;
  --gold-pale: #f5edd8;
  --cream: #f0e6cc;
  --text-dim: rgba(232, 213, 176, 0.55);
  --orb1: rgba(31, 80, 55, 0.6);
  --orb2: rgba(20, 60, 40, 0.7);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--gold-light);
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(14,35,24,0.97) 0%, transparent 100%);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.nav-sub {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 300;
  margin-top: 2px;
}

.nav-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-pill {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 5px 14px;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}

.nav-pill:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.08);
}

/* ── SLIDES ── */
.slide {
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Decorative orbs */
.orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

/* ───────────────────────────
   SLIDE 1 — CAPA
─────────────────────────── */
#s1 {
  background: var(--dark);
  justify-content: flex-start;
  padding: 120px 10% 80px;
}

#s1 .orb-a {
  width: 700px; height: 700px;
  background: var(--orb1);
  right: -100px; top: -120px;
}

#s1 .orb-b {
  width: 500px; height: 500px;
  background: var(--orb2);
  right: 100px; bottom: -80px;
}

.s1-inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.s1-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 300;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.s1-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
  display: block;
}

.s1-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(52px, 6vw, 84px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--gold-pale);
  margin-bottom: 24px;
}

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

.s1-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.5;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
}

/* ───────────────────────────
   SLIDE 2 — VISÃO
─────────────────────────── */
#s2 {
  background: linear-gradient(135deg, var(--dark) 0%, #122a1e 50%, var(--dark) 100%);
  padding: 120px 10%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

#s2 .orb-a {
  width: 600px; height: 600px;
  background: rgba(20, 60, 40, 0.5);
  left: -200px; bottom: -100px;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300;
  color: var(--gold-pale);
  line-height: 1.1;
  margin-bottom: 48px;
}

.s2-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
  max-width: 1100px;
}

.s2-intro {
  grid-column: 1 / -1;
  font-size: 18px;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1.7;
  max-width: 760px;
  margin-bottom: 16px;
}

.s2-intro strong {
  color: var(--gold);
  font-weight: 500;
}

.principle-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201, 169, 110, 0.15);
  border-radius: 6px;
  padding: 28px 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.2s, background 0.2s;
}

.principle-card:hover {
  background: rgba(201, 169, 110, 0.05);
  border-color: rgba(201, 169, 110, 0.3);
}

.p-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: rgba(201, 169, 110, 0.3);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}

.p-content h3 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.p-content p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ───────────────────────────
   SLIDES 3 & 4 — PILARES
─────────────────────────── */
.pilar-slide {
  background: var(--dark);
  padding: 120px 10%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.pilar-slide .orb-a {
  width: 550px; height: 550px;
  background: rgba(25, 65, 45, 0.55);
}

#s3 .orb-a { right: -100px; top: -100px; }
#s4 .orb-a { left: -100px; bottom: -100px; }

.pilar-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
}

.pilar-header {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
}

.pilar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 120px;
  font-weight: 300;
  color: rgba(201, 169, 110, 0.12);
  line-height: 1;
  margin-top: -16px;
  flex-shrink: 0;
}

.pilar-heading h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--gold-pale);
  line-height: 1.1;
  margin-bottom: 12px;
}

.pilar-heading p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 560px;
}

.pilar-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.focus-card {
  border-left: 2px solid var(--gold);
  padding: 20px 24px;
  background: rgba(201, 169, 110, 0.04);
}

.focus-card h4 {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 8px;
}

.focus-card p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.65;
}

.criteria-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.criteria-tag {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 20px;
  color: var(--gold-light);
  background: rgba(201, 169, 110, 0.06);
}

/* ───────────────────────────
   SLIDE 5 — MODELO
─────────────────────────── */
#s5 {
  background: linear-gradient(160deg, #0a1e14 0%, var(--dark) 60%);
  padding: 120px 10%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

#s5 .orb-a {
  width: 700px; height: 700px;
  background: rgba(14, 50, 32, 0.6);
  right: -200px; top: -100px;
}

.modelo-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
}

.modelo-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
  margin-top: 12px;
}

.modelo-left h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 300;
  color: var(--gold-light);
  margin-bottom: 24px;
}

.alloc-box {
  background: rgba(201, 169, 110, 0.08);
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 8px;
  padding: 36px;
  text-align: center;
  margin-bottom: 20px;
}

.alloc-pct {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.alloc-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 8px;
  font-weight: 300;
}

.alloc-note {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.6;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  border: 1px solid rgba(201, 169, 110, 0.12);
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.2s;
}

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

.service-icon {
  width: 32px;
  height: 32px;
  background: rgba(201, 169, 110, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 14px;
}

.service-item h4 {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
  margin-bottom: 4px;
}

.service-item p {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 300;
  line-height: 1.5;
}

/* ───────────────────────────
   SLIDE 6 — GANTT
─────────────────────────── */
#s6 {
  background: var(--dark);
  padding: 100px 6% 80px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 100vh;
}

#s6 .orb-a {
  width: 600px; height: 600px;
  background: rgba(20, 55, 38, 0.45);
  left: -200px; bottom: -100px;
}

.gantt-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1300px;
}

.gantt-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 300;
  color: var(--gold-pale);
  line-height: 1.1;
  margin-bottom: 8px;
}

.gantt-sub {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 300;
  margin-bottom: 36px;
}

.legend-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.legend-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Gantt table */
.g-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.g-head-label {
  text-align: left;
  padding: 10px 16px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(201, 169, 110, 0.18);
  white-space: nowrap;
  width: 230px;
}

.g-week-head {
  padding: 10px 3px;
  text-align: center;
  font-size: 9px;
  color: rgba(201, 169, 110, 0.35);
  border-bottom: 1px solid rgba(201, 169, 110, 0.18);
  letter-spacing: 0.04em;
}

.g-phase-header td {
  padding: 8px 16px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
}

.g-task-row { border-bottom: 1px solid rgba(255,255,255,0.04); }
.g-task-row:hover td { background: rgba(255,255,255,0.02); }

.g-task-info {
  padding: 9px 16px;
  vertical-align: middle;
  border-right: 1px solid rgba(201, 169, 110, 0.1);
}

.g-task-name {
  font-size: 12px;
  color: var(--gold-light);
  font-weight: 300;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.g-task-owner {
  display: inline-block;
  font-size: 9px;
  padding: 1px 7px;
  border-radius: 20px;
  margin-top: 3px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.badge-ana { background: rgba(180,90,90,0.2); color: #e8a8a8; }
.badge-rafa { background: rgba(60,130,90,0.2); color: #96d4b0; }
.badge-tivo { background: rgba(60,100,160,0.2); color: #9abce8; }
.badge-rapha { background: rgba(130,90,170,0.2); color: #c4a8e0; }
.badge-time { background: rgba(160,130,60,0.2); color: #e0c878; }

.g-cell {
  padding: 9px 2px;
  vertical-align: middle;
  position: relative;
}

.g-bar {
  height: 20px;
  border-radius: 3px;
  width: 100%;
  display: block;
}

.bar-p1 { background: linear-gradient(90deg, #b8924a, #d4ad72); }
.bar-p2 { background: linear-gradient(90deg, #5a8a6a, #78b08a); }
.bar-p3 { background: linear-gradient(90deg, #7a6a9e, #9880be); }

/* month strip */
.g-month-head {
  padding: 6px 3px;
  text-align: center;
  font-size: 9px;
  color: rgba(232, 213, 176, 0.6);
  border-bottom: 1px solid rgba(201, 169, 110, 0.1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ───────────────────────────
   SLIDE 7 — ENCERRAMENTO
─────────────────────────── */
#s7 {
  background: var(--dark);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 120px 10%;
}

#s7 .orb-a {
  width: 700px; height: 700px;
  background: var(--orb1);
  right: -180px; top: -100px;
}

#s7 .orb-b {
  width: 500px; height: 500px;
  background: var(--orb2);
  left: -150px; bottom: -80px;
}

.closing-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.closing-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 300;
  margin-bottom: 36px;
}

.closing-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 300;
  font-style: italic;
  color: var(--gold-pale);
  line-height: 1.3;
  margin-bottom: 48px;
}

.closing-body {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 52px;
}

.divider-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 40px;
}

.closing-calix {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.04em;
}

.closing-sub {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 300;
  margin-top: 4px;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.slide > * {
  animation: fadeUp 0.7s ease both;
}