:root {
  --bg: #f7f8fb;
  --card: #ffffff;
  --accent: #FF8533;
  --accent-100: #fff4ea;
  --accent-200: #ffd8bf;
  --muted: #6b7280;
  --max-width: 1100px;
  --gap: 24px;
  --radius-12: 12px;
  --text: #0f172a;
  --shadow-1: 0 6px 18px rgba(16, 24, 40, 0.06);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  font-family: Inter, system-ui, "Segoe UI", Arial, sans-serif;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 1000;
}

/* Focus visible */
.btn:focus-visible,
.nav a:focus-visible,
.skip-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

/* Header */
.site-header {
  background: linear-gradient(90deg, #ffffff, #f8fafc);
  border-bottom: 20px solid var(--accent-100);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 1rem;
  color: var(--text);
  font-family: 'Righteous', cursive;
}

.brand img {
  width: 50px;
  height: 40px;
}
.hero-image img {
  width: 85%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: none;
}

.nav a {
  margin-left: 18px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}



/* Hero */
.hero {
  padding: 56px 0;
  background: linear-gradient(180deg, var(--accent-100), transparent);
  padding-bottom: 15%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--gap);
  align-items: start;
}

.hero-content h2 {
  margin: 0 0 12px;
  font-size: 1.9rem;
}

.lead {
  color: var(--muted);
  margin: 0 0 16px;
}

.hero-image {
  height: 200px;
  border-radius: var(--radius-12);
  margin-top: -60px;
}

/* Buttons */
.btn {
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  opacity: .95;
}

.btn:active {
  opacity: .9;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-12);
}

.btn.outline {
  border: 1px solid var(--accent-200);
  color: var(--accent);
  background: transparent;
  padding: 10px 16px;
  border-radius: var(--radius-12);
}

.btn.outline.green {
  border-color: #86efac;
  color: #16a34a;
}

.btn.outline.green:hover,
.btn.outline.green:focus-visible {
  background: #ecfdf5;
}

.btn.sm {
  padding: 6px 10px;
  font-size: .85rem;
  border-radius: var(--radius-12);
}

/* Main / Cards */
.main {
  padding-bottom: 56px;
}

.card {
  background: var(--card);
  padding: 20px;
  margin-top: 18px;
  border-radius: var(--radius-12);
  box-shadow: var(--shadow-1);
}

/* Grid da seção MVP */
.mvp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 12px;
}

.features-list {
  order: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-left: 0;
}

.features-list li {
  margin-bottom: 8px;
}

.mvp-video video {
  order: 1;
  width: 80%;
  height: auto;
  border-radius: 12%;
  display: block;
}

/* Contact */
.contact-grid {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-image {
  width: 96px;
  height: auto;
  border-radius: var(--radius-12);
  flex-shrink: 0;
}

.contact-content h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.contact-content p {
  margin: 0;
  color: var(--muted);
}

/* Figma embed */
.figma-embed {
  width: 100%;
  max-width: 900px;
  margin: 1.5rem auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius-12);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.figma-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.team-member {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  padding: 12px;
  border: 1px solid var(--accent-100);
  border-radius: var(--radius-12);
  background: #fff;
  min-height: 220px;
  height: 100%;
}

.team-member img {
  border-radius: 50%;
  box-shadow: var(--shadow-1);
}

.team-name {
  font-weight: 600;
  text-align: center;
}

.team-handle {
  color: var(--muted);
  font-size: .9rem;
}

.role-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--accent-100);
  color: var(--accent);
  border: 1px solid var(--accent-200);
  border-radius: 9999px;
  font-size: .75rem;
  font-weight: 600;
}

.team-member.coordinator {
  border-color: var(--accent-200);
}

/* Footer */
.site-footer {
  padding: 20px 0;
  border-top: 1px solid var(--accent-100);
  margin-top: 28px;
  text-align: center;
}

/* Charts */
.chart-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 1.5rem;
}

.chart-card {
  background: #fff;
  padding: 1rem;
  border-radius: var(--radius-12);
  box-shadow: var(--shadow-1);
}

.badge {
  display: inline-block;
  margin-left: .5rem;
  padding: .2rem .5rem;
  background: var(--accent-100);
  color: var(--accent);
  border: 1px solid var(--accent-200);
  border-radius: 9999px;
  font-size: .8rem;
}

/* Testimonials */
.testimonials-wrapper {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
  margin-top: 1rem;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-12);
  padding: 1rem;
  box-shadow: var(--shadow-1);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.85rem;
  color: #333;
  margin-top: auto;
  text-align: right;
}

.testimonials-controls {
  display: none;
}

/* Responsive: testimonials to simple carousel on small */
@media (max-width:780px) {
  .testimonials-wrapper {
    display: block;
    position: relative;
  }

  .testimonial-card {
    display: none;
  }

  .testimonial-card.is-active {
    display: block;
  }

  .testimonials-controls {
    display: flex;
    gap: .5rem;
    justify-content: center;
    margin-top: .5rem;
  }
}

/* Carousel (oc- prefix) */
#only-carousel {
  margin-top: 1rem;
}

.oc-carousel {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.oc-track-wrapper {
  overflow: hidden;
  width: 100%;
  border-radius: 10px;
}

.oc-track {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  transition: transform .36s ease;
}

.oc-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oc-slide img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 66vh;
  object-fit: contain;
  cursor: zoom-in;
  border-radius: 8px;
}

/* controls */
.oc-btn {
  background: #fff;
  border: 0;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  font-size: 20px;
}

.oc-prev {
  order: 0;
}

.oc-next {
  order: 2;
}

/* dots */
.oc-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}

.oc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e6eaf0;
  border: 0;
  cursor: pointer;
}

.oc-dot.is-active {
  background: var(--accent);
}

/* lightbox */
.oc-lb {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1600;
}

.oc-lb[aria-hidden="false"] {
  display: flex;
}

.oc-lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.6);
}

.oc-lb-inner {
  position: relative;
  z-index: 1601;
  max-width: 92%;
  max-height: 92%;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.oc-lb-inner img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  display: block;
}

.oc-lb-close,
.oc-lb-prev,
.oc-lb-next {
  background: rgba(255, 255, 255, 0.95);
  border: 0;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  font-size: 18px;
}

.oc-lb-close {
  position: absolute;
  top: 8px;
  right: 8px;
}

/* responsive tweaks */
@media (max-width:980px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .brand {
    font-size: 1.1rem;
  }

  .oc-carousel {
    gap: 8px;
  }

  .oc-btn {
    padding: 6px 10px;
  }
}

@media (max-width:480px) {
  .hero-content h2 {
    font-size: 1.3rem;
  }

  .container {
    padding: 18px;
  }

  .contact-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-image {
    width: 80px;
  }
}

@media (max-width: 760px) {
  .mvp-grid {
    grid-template-columns: 1fr;
  }
}

/* small visual helpers */
.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Desktop: 5 colunas e coordenador central na coluna 3 */
@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  /* posiciona o card do coordenador na coluna 3 (abaixo da 3ª pessoa) */
  .team-member.coordinator {
    grid-column: 3;
  }
}