:root {
  --bg: #ffffff;
  --fg: #0a0a0a;
  --muted: #6b6b6b;
  --line: #eaeaea;
  --accent: #0a0a0a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Noto Sans", system-ui, -apple-system, sans-serif;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo {
  width: 40px;
  height: 40px;
}

.logo.small {
  width: 28px;
  height: 28px;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.site-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  color: var(--fg);
  padding: 8px 6px;
  border-radius: 6px;
}

.site-nav a:hover {
  background: #f7f7f7;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 8px 10px;
  border-radius: 8px;
}

.hero {
  padding: 40px 0 20px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: 40px;
  line-height: 1.1;
  margin: 0 0 12px;
}

.hero-text p {
  color: var(--muted);
  margin: 0 0 20px;
}

.hero-image {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--fg);
  transition: transform 120ms ease, box-shadow 120ms ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.06);
}

.btn.primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.section {
  padding: 48px 0;
}

.section.alt {
  background: #fbfbfb;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.bullets {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.stat-number {
  font-weight: 700;
  font-size: 20px;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.tags {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  flex-wrap: wrap;
}

.tags li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 13px;
  color: var(--muted);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 12px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
}

.accordion {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.acc-btn {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: none;
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  cursor: pointer;
}

.acc-btn:focus {
  outline: 2px solid #dcdcdc;
}

.acc-panel {
  display: none;
  padding: 0 16px 16px;
  color: var(--muted);
}

.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

blockquote {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

cite {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-style: normal;
}

.form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
}

input,
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  margin: 6px 0 0;
}

.form-status {
  margin-top: 10px;
  min-height: 24px;
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  /* Adicionado para responsividade */
}

.footer-meta a {
  color: var(--muted);
  text-decoration: none;
}

.to-top {
  border: 1px solid var(--line);
  padding: 8px 10px;
  border-radius: 8px;
}

/* ESTILOS PARA O MODAL DE LOGIN */
.admin-link {
  cursor: pointer;
}

.modal-overlay {
  display: none;
  /* Oculto por padrão */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Fundo escurecido */
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Deixei esta classe aqui para quando formos adicionar a lógica JS */
.modal-overlay.open {
  display: flex;
  /* Exibido quando a classe .open é adicionada */
}

.modal-content {
  background: var(--bg);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--line);
  width: 100%;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.modal-header h2 {
  margin: 0;
  font-size: 20px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: var(--muted);
  padding: 0 4px;
}

.login-status {
  margin-top: 10px;
  min-height: 20px;
  font-size: 14px;
}


@media (max-width: 960px) {

  .hero-inner,
  .two-col,
  .cards,
  .quotes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-nav {
    display: none;
    position: absolute;
    right: 20px;
    top: 64px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px;
  }

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

  .site-nav ul {
    flex-direction: column;
  }

  .nav-toggle {
    display: inline-block;
  }
}