/* Estilos compartilhados por / (PT) e /en/ (EN). */

/* ============ TOKENS ============ */
:root {
  --bg: #0a0a0a;
  --bg-alt: #0f0f0f;
  --surface: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.09);
  --text: #ffffff;
  --text-soft: #d1d5db;
  --muted: #9ca3af;
  --faint: #6b7280;
  --green: #4ADE80;
  --green-dark: #22c55e;
  --green-tint: rgba(74, 222, 128, 0.1);
  --amber: #fbbf24;
  --amber-tint: rgba(251, 191, 36, 0.1);
  --blue: #93c5fd;
  --blue-tint: rgba(147, 197, 253, 0.1);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center { text-align: center; }
.green { color: var(--green); }

/* ============ FADE-IN (só com JS ativo e sem preferência por menos movimento) ============ */
.js .fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .fade-in.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img {
  width: 116px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--text); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--faint);
}

.lang-switch a { color: var(--muted); }
.lang-switch a[aria-current="true"] { color: var(--green); font-weight: 600; }

.btn-primary {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--green);
  color: var(--bg) !important;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.375rem;
  transition: background 0.3s;
}

.btn-primary:hover { background: var(--green-dark); }

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-outline {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text);
  font-weight: 500;
  border-radius: 0.375rem;
  transition: all 0.3s;
}

.btn-outline:hover {
  border-color: rgba(74, 222, 128, 0.5);
  color: var(--green);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.5rem 1.5rem;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text-soft);
}

.mobile-menu .lang-switch { padding: 0.75rem 0; }
.mobile-menu .lang-switch a { display: inline; padding: 0; }

.mobile-menu .btn-primary {
  display: block;
  text-align: center;
  margin-top: 0.5rem;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(74, 222, 128, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 85%, rgba(69, 206, 153, 0.08), transparent 70%),
    var(--bg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 7rem 1.5rem 4rem;
  text-align: center;
}

.eyebrow {
  color: var(--green);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.375rem, 5.2vw, 4.25rem);
  line-height: 1.12;
  margin-bottom: 1.5rem;
}

.hero-desc {
  color: var(--text-soft);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  max-width: 720px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

.hero-proof {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.9375rem;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  margin-bottom: 2.25rem;
}

.hero-proof strong { color: var(--text); font-weight: 600; }

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
  flex-shrink: 0;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ SECTIONS ============ */
.section { padding: 6.5rem 0; }
.section-alt { background: var(--bg-alt); }

.section-head {
  max-width: 760px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.section-tag {
  color: var(--green);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-desc {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.section-desc + .section-desc { margin-top: 1rem; }

/* ============ STATUS BADGES ============ */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.status-live { color: var(--green); background: var(--green-tint); }
.status-build { color: var(--amber); background: var(--amber-tint); }
.status-study { color: var(--blue); background: var(--blue-tint); }

/* ============ CARDS & GRIDS ============ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card {
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.card h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  line-height: 1.35;
}

.card p {
  color: var(--muted);
  line-height: 1.65;
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--green);
  margin-bottom: 0.75rem;
  line-height: 1;
}

/* ============ MARIA / NUMBERS ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.split .section-title,
.split .section-tag { text-align: left; }

.check-list {
  list-style: none;
  margin-top: 1.75rem;
  display: grid;
  gap: 0.75rem;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-soft);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.75rem;
  height: 0.4rem;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.stat {
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.stat-value {
  color: var(--green);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.375rem;
}

.stat-label {
  color: var(--text-soft);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.stat-note {
  color: var(--faint);
  font-size: 0.8125rem;
  margin-top: 0.25rem;
}

.stats-source {
  color: var(--faint);
  font-size: 0.8125rem;
  margin-top: 1rem;
  line-height: 1.5;
}

/* ============ TIMELINE ============ */
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
  counter-reset: none;
}

.timeline li {
  position: relative;
  padding: 1.5rem 1.25rem 1.25rem;
  border-top: 2px solid var(--border);
}

.timeline li.done { border-top-color: var(--green); }
.timeline li.now { border-top-color: var(--amber); }

.timeline-when {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.5rem;
}

.timeline li.done .timeline-when { color: var(--green); }
.timeline li.now .timeline-when { color: var(--amber); }

.timeline-what {
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.timeline-desc {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footnote {
  color: var(--faint);
  font-size: 0.875rem;
  text-align: center;
  margin-top: 2rem;
}

/* ============ TEAM ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
  max-width: 980px;
  margin: 0 auto;
}

.team-card { text-align: center; }

.team-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.25rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: var(--surface);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 1.125rem;
  font-weight: 600;
}

.team-role {
  color: var(--green);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.team-link {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  transition: all 0.3s;
  margin-bottom: 1rem;
}

.team-link:hover {
  border-color: rgba(74, 222, 128, 0.5);
  color: var(--green);
}

.team-desc {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============ CTA ============ */
.cta {
  background:
    radial-gradient(ellipse 60% 70% at 50% 100%, rgba(74, 222, 128, 0.14), transparent 70%),
    var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 0;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.3s;
}

.social-icon:hover {
  border-color: rgba(74, 222, 128, 0.5);
  color: var(--green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  color: var(--faint);
  font-size: 0.875rem;
}

.footer-contacts a:hover { color: var(--text-soft); }

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-copy {
  color: var(--faint);
  font-size: 0.875rem;
}

.footer-copy a { text-decoration: underline; text-underline-offset: 3px; }
.footer-copy a:hover { color: var(--text-soft); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 2.5rem; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .grid-3, .grid-2, .split { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 0; }
}

@media (max-width: 560px) {
  .stats, .team-grid, .timeline { grid-template-columns: 1fr; }
  .hero-proof { border-radius: 0.75rem; text-align: left; }
  .footer-top, .footer-bottom { flex-direction: column; text-align: center; }
  .footer-contacts { justify-content: center; }
}
