/* ============================================================
   Automocao IA Coneki | site de verificação do app OAuth
   Identidade: azul-marinho #05193F + dourado #CC9B06 (Coneki)
   ============================================================ */

:root {
  --navy: #05193F;
  --navy-800: #0A2540;
  --navy-700: #123061;
  --gold: #CC9B06;
  --gold-light: #E8C766;
  --ink: #1F2937;
  --body: #4B5563;
  --light: #F8FAFC;
  --border: #E5E7EB;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--body);
  line-height: 1.65;
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a {
  color: var(--navy-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(5, 25, 63, 0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.2px;
}

.brand:hover {
  text-decoration: none;
}

.brand .logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--gold), #A87E05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--gold-light);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero (Home) ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 60%, #1B4A8C 100%);
  color: var(--white);
  padding: 96px 0 88px;
  text-align: center;
}

.hero .badge {
  display: inline-block;
  background: rgba(204, 155, 6, 0.16);
  border: 1px solid rgba(232, 199, 102, 0.5);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  max-width: 760px;
  margin: 0 auto 18px;
}

.hero .subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
  margin: 0 auto 34px;
  line-height: 1.7;
}

.hero .support {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero .support a {
  color: var(--gold-light);
  font-weight: 600;
}

/* ---------- Seções da Home ---------- */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--light);
}

.section h2 {
  color: var(--navy);
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.section .lead {
  max-width: 720px;
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(5, 25, 63, 0.08);
}

.card .card-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(204, 155, 6, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.35rem;
}

.card h3 {
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.94rem;
}

/* Lista de checagens (como o app usa os dados) */
.check-list {
  list-style: none;
  max-width: 680px;
}

.check-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.99rem;
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #059669;
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

/* ---------- Páginas legais ---------- */
.legal-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-700) 70%);
  color: var(--white);
  padding: 72px 0 60px;
}

.legal-hero .kicker {
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.legal-hero h1 {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.legal-hero .updated {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.legal-content {
  padding: 56px 0 80px;
  max-width: 820px;
}

.legal-content h2 {
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 38px 0 14px;
  letter-spacing: -0.2px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 24px 0 10px;
}

.legal-content p {
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 16px 22px;
}

.legal-content li {
  margin-bottom: 8px;
  font-size: 0.97rem;
}

.legal-content strong {
  color: var(--navy);
}

.legal-content .contact-box {
  background: var(--light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
  padding: 22px 26px;
  margin: 24px 0;
}

.legal-content .contact-box p {
  margin-bottom: 6px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 0 32px;
  font-size: 0.9rem;
}

.site-footer .footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 22px;
}

.site-footer .footer-brand {
  color: var(--white);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.site-footer .footer-brand .logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), #A87E05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--navy);
}

.site-footer .footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.site-footer .footer-col ul {
  list-style: none;
}

.site-footer .footer-col li {
  margin-bottom: 9px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer a:hover {
  color: var(--gold-light);
}

.site-footer .footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
  .grid-cards {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 24px rgba(5, 25, 63, 0.25);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 18px;
  }

  .main-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }

  .hero {
    padding: 64px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1.02rem;
  }

  .legal-hero h1 {
    font-size: 1.8rem;
  }

  .site-footer .footer-grid {
    flex-direction: column;
    gap: 24px;
  }
}
