/* copiloto.css */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #050d1a;
  --navy-2: #0a1628;
  --navy-3: #0f1f38;
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --blue: #3b82f6;
  --blue-glow: rgba(59,130,246,0.35);
  --emerald: #10b981;
  --gold: #d4af37;
  --text-primary: #f1f5f9;
  --text-muted: #94a3b8;
  --radius: 16px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  background: var(--navy);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Views ── */
.view { display: none; opacity: 0; transition: opacity 0.4s var(--ease); }
.view.active { display: block; opacity: 1; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 13, 26, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 2rem;
}
.nav__inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.nav__back { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.nav__back:hover { color: var(--text-primary); }
.nav__logo {
  display: flex; align-items: center; text-decoration: none;
}
.nav__logo-img {
  height: 32px; width: auto;
  /* Invert to white so it reads cleanly on the dark nav */
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}
.nav__logo:hover .nav__logo-img { opacity: 0.8; }

/* ── Hero Section ── */
.hero-section {
  position: relative; overflow: hidden;
  padding: 7rem 2rem 5rem;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(59,130,246,0.15), transparent);
}
.hero-section__inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.hero-section__badge {
  display: inline-block;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.3);
  color: #60a5fa;
  font-size: 0.85rem; font-weight: 700;
  padding: 0.4rem 1rem; border-radius: 50px;
  margin-bottom: 1.5rem; letter-spacing: 0.05em;
}
.hero-section__title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900; line-height: 1.15;
  margin-bottom: 1.2rem;
}
.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--emerald));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-section__subtitle {
  font-size: 1.15rem; color: var(--text-muted);
  line-height: 1.7; margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-section__particles {
  position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(circle, rgba(59,130,246,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* ── CTA Buttons ── */
.btn-cta-primary {
  display: inline-block;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white; text-decoration: none; font-weight: 700;
  font-size: 1.05rem; padding: 1rem 2.5rem;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none; cursor: pointer;
}
.btn-cta-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(37,211,102,0.45); }
.btn-cta-primary--lg { font-size: 1.2rem; padding: 1.2rem 3rem; }

/* ── Timeline Section ── */
.timeline-section {
  max-width: 1000px; margin: 0 auto;
  padding: 4rem 2rem 2rem;
  position: relative;
}

.timeline__line {
  position: absolute; left: 50%; top: 4rem; bottom: 2rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--emerald));
  transform: translateX(-50%);
  opacity: 0.3;
}

.timeline-item {
  display: flex; align-items: flex-start; gap: 2rem;
  margin-bottom: 4rem;
  cursor: pointer;
  justify-content: flex-start;
}

.timeline-item--right {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

.timeline-item__dot {
  width: 60px; height: 60px; flex-shrink: 0;
  background: var(--navy-2);
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 20px var(--blue-glow);
  z-index: 1;
  transition: transform 0.2s, box-shadow 0.2s;
}

.timeline-item:hover .timeline-item__dot {
  transform: scale(1.1);
  box-shadow: 0 0 35px var(--blue-glow);
}

.timeline-item__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 440px;
  backdrop-filter: blur(10px);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.timeline-item:hover .timeline-item__card {
  border-color: rgba(59,130,246,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}

.timeline-item__num {
  font-size: 0.75rem; font-weight: 800;
  color: var(--blue); letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.timeline-item__title {
  font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 800;
  margin-bottom: 0.8rem; line-height: 1.2;
}

.timeline-item__desc {
  font-size: 0.95rem; color: var(--text-muted); line-height: 1.65;
  margin-bottom: 1.5rem;
}

.btn-ver-mais {
  background: none; border: 1px solid var(--blue);
  color: var(--blue); padding: 0.6rem 1.4rem;
  border-radius: 50px; font-size: 0.9rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s, color 0.2s;
}
.btn-ver-mais:hover { background: var(--blue); color: white; }

/* ── Final CTA Section ── */
.final-cta-section {
  text-align: center;
  background: linear-gradient(to right, var(--navy-2), var(--navy-3));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 2rem;
  margin-top: 3rem;
}
.final-cta-section__title {
  font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 900;
  margin-bottom: 1rem;
}
.final-cta-section__desc { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2.5rem; }

/* ── Detail View ── */
.detail-wrapper {
  max-width: 1100px; margin: 0 auto; padding: 3rem 2rem 5rem;
}
.detail-back-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 0.95rem;
  padding: 0; margin-bottom: 3rem;
  transition: color 0.2s;
}
.detail-back-btn:hover { color: var(--text-primary); }

.detail-main {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; margin-bottom: 4rem;
}

.detail-img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: opacity 0.3s;
}

.detail-num {
  font-size: 0.75rem; font-weight: 800;
  color: var(--blue); letter-spacing: 0.15em;
  margin-bottom: 0.8rem; text-transform: uppercase;
}

.detail-title {
  font-family: 'Outfit', sans-serif; font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900; line-height: 1.2; margin-bottom: 1rem;
}

.detail-tagline {
  font-size: 1.1rem; color: var(--text-muted); line-height: 1.65;
  margin-bottom: 2rem;
}

.detail-bullets {
  list-style: none; display: flex; flex-direction: column; gap: 0.9rem;
  margin-bottom: 2.5rem;
}
.detail-bullets li {
  font-size: 0.95rem; color: var(--text-muted); padding-left: 1.5rem; position: relative; line-height: 1.5;
}
.detail-bullets li::before { content: '✦'; color: var(--emerald); position: absolute; left: 0; font-size: 0.75rem; top: 2px; }

/* ── Detail Nav ── */
.detail-nav {
  display: flex; align-items: center; justify-content: center; gap: 2rem;
  margin-bottom: 4rem;
  padding: 1.5rem; 
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.detail-nav__btn {
  background: none; border: 1px solid var(--border);
  color: var(--text-muted); padding: 0.6rem 1.4rem;
  border-radius: 50px; cursor: pointer; font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
}
.detail-nav__btn:hover { border-color: var(--blue); color: var(--text-primary); }
.detail-nav__btn:disabled { opacity: 0.3; cursor: not-allowed; }
.detail-nav__dots { display: flex; gap: 0.6rem; }
.detail-nav__dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; cursor: pointer; transition: border-color 0.2s, background 0.2s;
  color: var(--text-muted);
}
.detail-nav__dot.active { border-color: var(--blue); background: rgba(59,130,246,0.15); color: #60a5fa; }

/* ── Also Section ── */
.also-section__title {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--text-muted);
}
.also-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem;
}
.also-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.2rem 1.5rem;
  cursor: pointer; transition: border-color 0.2s, transform 0.15s;
  display: flex; align-items: center; gap: 0.75rem;
}
.also-card:hover { border-color: rgba(59,130,246,0.35); transform: translateY(-2px); }
.also-card__icon { font-size: 1.4rem; }
.also-card__name { font-size: 0.9rem; font-weight: 600; line-height: 1.3; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .timeline__line { display: none; }
  .timeline-item, .timeline-item--right {
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
  }
  .timeline-item__card { max-width: 100%; }
  .detail-main { grid-template-columns: 1fr; gap: 2rem; }
}
