:root {
  --primary: #0756c9;
  --primary-dark: #06449d;
  --accent: #ff6a00;
  --background: #f6f8fc;
  --surface: #ffffff;
  --text: #172033;
  --muted: #667085;
  --border: #e4e7ec;
  --success: #16803a;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

a {
  color: var(--primary);
}

img {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
}

.header-content {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--primary);
  border-radius: 14px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
}

.main-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.main-nav a,
.footer-links a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--primary);
}

.hero {
  padding: 100px 0 78px;
}

.hero-content {
  max-width: 800px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 20px;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.05;
}

h2,
h3 {
  line-height: 1.3;
}

.hero-description {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.18rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border-radius: 12px;
  font-weight: 750;
  text-decoration: none;
}

.button-primary {
  background: var(--primary);
  color: #fff;
}

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

.button-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 90px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
}

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

.page-header {
  padding: 62px 0 28px;
}

.page-header h1 {
  font-size: clamp(2.3rem, 6vw, 4rem);
}

.meta {
  color: var(--muted);
}

.legal-document {
  max-width: 880px;
  margin-bottom: 80px;
  padding: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.legal-document h2 {
  margin-top: 38px;
}

.legal-document ul {
  padding-left: 22px;
}

.notice {
  margin-bottom: 28px;
  padding: 16px 18px;
  background: #fff4eb;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
}

.contact-card {
  margin-top: 28px;
  padding: 22px;
  background: #f3f7ff;
  border: 1px solid #d8e5ff;
  border-radius: 14px;
}

.status {
  display: inline-flex;
  padding: 6px 10px;
  background: #eaf8ee;
  border-radius: 999px;
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0;
}

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

@media (max-width: 780px) {
  .header-content,
  .footer-content {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 20px;
  }

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

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

  .legal-document {
    padding: 22px;
  }
}

.brand-logo {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
}

@media (max-width: 480px) {
  .brand-logo {
    width: 42px;
    height: 42px;
  }
}

/* Logótipo horizontal Kudyago */
.brand .brand-logo {
  display: block;
  width: 165px;
  height: 52px;
  max-width: 165px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.brand {
  line-height: 1;
  overflow: hidden;
}

@media (max-width: 600px) {
  .brand .brand-logo {
    width: 138px;
    height: 44px;
    max-width: 138px;
  }
}

.site-header .header-content {
  min-height: 70px;
  max-height: 76px;
  overflow: hidden;
}

.site-header .brand {
  height: 54px;
  display: flex;
  align-items: center;
}

/* Ajuste final do logótipo */
.brand .brand-logo {
  width: 220px;
  height: 58px;
  max-width: 220px;
}

.site-header .brand {
  height: 60px;
}

.site-header .header-content {
  min-height: 76px;
  max-height: 82px;
}

@media (max-width: 600px) {
  .brand .brand-logo {
    width: 170px;
    height: 48px;
    max-width: 170px;
  }

  .site-header .brand {
    height: 50px;
  }

  .site-header .header-content {
    min-height: 68px;
    max-height: none;
  }
}

/* Logótipo 240px */
.brand .brand-logo {
  width: 240px;
  max-width: 240px;
  height: 62px;
}
