:root {
  --cream: #fbfbf7;
  --cream-alt: #f3f1e8;
  --ink: #3a3530;
  --ink-soft: #6b6459;
  --orange: #f86d2b;
  --orange-dark: #e0561a;
  --yellow: #fba021;
  --blue: #2da1d1;
  --green: #51b963;
  --radius-lg: 28px;
  --font-heading: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
}

p { margin: 0 0 16px; }

a { color: inherit; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-icon {
  display: block;
  width: 1.4em;
  height: 1.4em;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 16px rgba(248, 109, 43, 0.35);
}
.btn-primary:hover { background: var(--orange-dark); }

.btn-light {
  background: #fff;
  color: var(--orange-dark);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 247, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-wordmark { height: 26px; width: auto; }

/* Mascot — floating hero portrait, no background mask needed (transparent artwork) */
.mascot-stage {
  display: grid;
  place-items: center;
  width: min(100%, 420px);
}

.mascot-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.9));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a:not(.btn) {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}
.site-nav a:not(.btn):hover { color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--ink);
}

/* Hero */
.hero { padding: 72px 0 96px; overflow: hidden; }

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-copy { flex: 1.1; }

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  color: var(--ink);
}

.sparkle {
  display: inline-block;
  font-size: 0.5em;
  vertical-align: middle;
}

.brand-text {
  display: inline-block;
  background: linear-gradient(
    90deg,
    var(--blue),
    var(--orange),
    var(--yellow),
    var(--green),
    var(--yellow),
    var(--orange),
    var(--blue)
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brand-shift 6s ease-in-out infinite alternate;
}

@keyframes brand-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.3;
  color: var(--orange-dark);
}

.hero-text {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Section titles */
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 40px;
}

/* Shared decorative visual, centered under a section title */
.section-visual {
  display: flex;
  justify-content: center;
  margin: -12px 0 12px;
}

.section-visual img {
  width: min(100%, 320px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.85));
}

.pilares { padding: 24px 0 80px; }
.diferenciais { background: var(--cream-alt); padding: 80px 0; }
.faixas { padding: 80px 0; }

/* Pilares — plain columns divided by hairlines, no card chrome */
.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature-col {
  text-align: center;
  padding: 0 32px;
}

.feature-col + .feature-col { border-left: 1px solid rgba(58, 53, 48, 0.1); }

.feature-icon {
  font-size: 2.6rem;
  display: inline-block;
  margin-bottom: 14px;
}

.feature-col h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature-col p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.98rem; }

/* Sobre a ninömotion — stacked editorial list */
.about-list {
  max-width: 720px;
  margin: 0 auto;
}

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(58, 53, 48, 0.1);
}

.about-item:last-child { border-bottom: none; padding-bottom: 0; }
.about-item:first-child { padding-top: 0; }

.about-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(58, 53, 48, 0.08);
}

.about-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.about-item p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.98rem; }

/* Para quem é — connected age timeline */
.age-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.age-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--green));
  z-index: 0;
}

.age-stop { position: relative; text-align: center; }

.age-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(58, 53, 48, 0.1);
  font-size: 1.6rem;
}

.age-stop h3 { font-size: 1.1rem; margin-bottom: 8px; }
.age-stop p { color: var(--ink-soft); margin-bottom: 0; font-size: 0.98rem; }

/* CTA final */
.cta-final {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: #fff;
  text-align: center;
  padding: 80px 0;
}

.cta-final h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}

.cta-final p {
  font-size: 1.1rem;
  max-width: 50ch;
  margin: 0 auto 28px;
  opacity: 0.95;
}

/* FAQ */
.faq { background: var(--cream-alt); padding: 80px 0; }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 22px 40px 22px 0;
  font-family: var(--font-heading);
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  position: absolute;
  top: 20px;
  right: 4px;
  width: 22px;
  height: 22px;
  color: var(--orange);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-icon { transform: rotate(180deg); }

.faq-item p {
  color: var(--ink-soft);
  margin: 0;
  padding-bottom: 22px;
  padding-right: 40px;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.footer-logo {
  height: 20px;
  width: auto;
  margin-bottom: -6px;
}

.footer-slogan {
  max-width: 46ch;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 4px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  color: var(--yellow);
}
.footer-link:hover { color: var(--orange); }

.footer-link-icon {
  display: block;
  width: 1.5em;
  height: 1.5em;
  flex-shrink: 0;
  fill: currentColor;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 8px 0 0;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { flex-direction: column-reverse; text-align: center; }
  .hero-text { margin-left: auto; margin-right: auto; }

  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-col + .feature-col { border-left: none; border-top: 1px solid rgba(58, 53, 48, 0.1); padding-top: 32px; }

  .age-timeline { grid-template-columns: 1fr; gap: 36px; }
  .age-timeline::before { display: none; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .site-nav.open { max-height: 260px; }

  .site-nav a { padding: 16px 24px; border-top: 1px solid rgba(0, 0, 0, 0.06); }
  .site-nav a.btn { margin: 16px 24px; }
}
