/* ============================================================
   Viva Sem TOC — landing page
   Design tokens
   ============================================================ */

:root {
  /* Brand colors — taken from the app/logo artwork */
  --navy-950: #060b2c;
  --navy-900: #00167a;   /* exact match to the logo background */

  --blue-400: #2f8fc7;

  --gold-500: #f5a524;
  --gold-600: #d68c11;

  --ink: #10163a;
  --ink-soft: #575f85;

  --paper: #f8fafc;
  --white: #ffffff;

  --line: rgba(16, 22, 58, 0.1);
  --line-on-dark: rgba(255, 255, 255, 0.16);

  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1120px;
}

/* ============================================================
   Reset & base
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p {
  max-width: 62ch;
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   Navigation
   ============================================================ */

nav {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 100;
  background-color: var(--navy-900);
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 3rem);
  list-style: none;
  height: 64px;
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

nav ul li a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.4rem 0.1rem;
  position: relative;
  transition: color 0.2s ease;
}

nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  background-color: var(--gold-500);
  transition: right 0.25s ease;
}

nav ul li a:hover {
  color: var(--gold-500);
}

nav ul li a:hover::after {
  right: 0;
}

/* ============================================================
   Hero
   ============================================================ */

#Inicio {
  padding-top: 64px;
  background-color: var(--paper);
}

#Inicio .imagem {
  background-color: var(--navy-900);
  width: 100%;
}

#Inicio .imagem img {
  width: 100%;
  height: auto;
  display: block;
}

#Inicio .tagline {
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  text-align: center;
  padding-top: clamp(2rem, 5vw, 3rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

/* ============================================================
   Shared section heading treatment
   ============================================================ */

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

.section-head h1 {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  color: var(--navy-900);
}

/* ============================================================
   Método RQD
   ============================================================ */

.rqd-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding-top: clamp(1rem, 3vw, 1.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.rqd-step {
  border-top: 3px solid var(--gold-500);
  padding-top: 1.25rem;
}

.rqd-step .num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--navy-900);
  line-height: 1;
  display: block;
  margin-bottom: 0.6rem;
}

.rqd-step h3 {
  font-size: 1.3rem;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.rqd-step p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ============================================================
   Nosso App
   ============================================================ */

section#APP main {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

section#APP .phone {
  justify-self: center;
  width: 80%;
  max-width: 300px;
}

section#APP .text p.intro {
  color: var(--ink);
  font-size: 1.15rem;
  margin-bottom: 1.75rem;
  max-width: 50ch;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.feature-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 50ch;
}

.feature-list li strong {
  color: var(--navy-900);
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.feature-list .dot {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background-color: var(--gold-500);
}

/* ============================================================
   Footer (also serves as the compact contact block)
   ============================================================ */

footer {
  background-color: var(--navy-900);
  padding: 2.5rem 0 2rem;
}

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

.footer-brand {
  font-size: 0.9rem;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.75rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-500);
}

.footer-links a svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 860px) {
  nav ul {
    gap: 1.1rem;
    height: 56px;
  }

  nav ul li a {
    font-size: 0.85rem;
  }

  .rqd-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  section#APP main {
    grid-template-columns: 1fr;
    text-align: center;
  }

  section#APP .text p.intro {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-list li {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 520px) {
  nav ul {
    gap: 0.75rem;
  }

  nav ul li a {
    font-size: 0.78rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.85rem;
  }
}
