/* =========================
   VARIÁVEIS ISNULL
========================= */

:root {
  --bg: #f9fafb;
  --surface: #ffffff;

  --fg: #1f2933;
  --muted: #6b7280;

  --accent-primary: #22630C;
  /* verde isnull */
  --accent-secondary: #740D75;
  /* roxo isnull */

  --border-light: #e5e7eb;
}

/* =========================
   RESET BÁSICO
========================= */

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

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  color: var(--fg);
  background-color: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* =========================
   LAYOUT GLOBAL
========================= */

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

.section {
  padding: 96px 0;
}

.section-muted {
  background-color: #f3f4f6;
}

.section-highlight {
  background:
    radial-gradient(
      800px 400px at 20% 0%,
      rgba(116, 13, 117, 0.25),
      transparent 60%
    ),
    radial-gradient(
      800px 400px at 80% 100%,
      rgba(34, 99, 12, 0.25),
      transparent 60%
    ),
    linear-gradient(
      180deg,
      #1b1f26,
      #111827
    );

  color: #ffffff;
}


.section-highlight .section-title,
.section-highlight p {
  color: #fff;
}

main {
  padding-top: 72px;
}

/* =========================
   TIPOGRAFIA
========================= */

h1,
h2,
h3,
h4 {
  margin: 0 0 16px 0;
  font-weight: 600;
  line-height: 1.3;
}

.hero-title {
  font-size: 2.6rem;
  max-width: 720px;
  color: var(--accent-secondary);
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--accent-primary);
}

h4 {
  font-size: 1.1rem;
  color: var(--accent-primary);
}

p {
  max-width: 720px;
  margin: 0 0 16px 0;
  color: var(--fg);
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

/* =========================
   HEADER
========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--surface);
  border-bottom: 1px solid var(--border-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 72px;
}

.site-header.compact {
  height: 56px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.site-header.compact .container {
  height: 56px;
}

.site-header.compact .logo {
  font-size: 1.05rem;
}

.site-header.compact .site-nav a {
  font-size: 0.9rem;
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

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

.logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
}

.logo-text {
  color: var(--accent-secondary);
  /* roxo isnull */
}

.logo-cursor {
  color: var(--accent-primary);
  /* verde isnull */
  margin-left: 2px;
  animation: cursor-blink 1.1s steps(2, start) infinite;
}

@keyframes cursor-blink {
  0% {
    opacity: 1;
  }

  45% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}


.site-nav a {
  margin-left: 24px;
  text-decoration: none;
  color: var(--fg);
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--accent-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* =========================
   HERO
========================= */

.hero {
  padding-top: 120px;
  padding-bottom: 120px;
}

.hero-text {
  font-size: 1.05rem;
}

/* =========================
   LISTAS
========================= */

.list {
  padding-left: 18px;
  margin: 16px 0 0 0;
}

.list li {
  margin-bottom: 10px;
}

/* =========================
   STEPS
========================= */

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

.step p {
  font-size: 0.95rem;
}

/* =========================
   CTA
========================= */

.cta {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 24px;
  border: 1px solid var(--accent-primary);
  text-decoration: none;
  color: var(--accent-primary);
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cta:hover {
  background-color: var(--accent-primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(34, 99, 12, 0.25);
}

/* CTA em seção escura */
.section-highlight .cta {
  border-color: #fff;
  color: #fff;
}

.section-highlight .cta:hover {
  background-color: #fff;
  color: var(--fg);
}

/* =========================
   FOOTER
========================= */

.site-footer {
  border-top: 1px solid var(--border-light);
  padding: 32px 0;
  font-size: 0.85rem;
  color: var(--muted);
  background-color: var(--surface);
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 600px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 16px 24px;
  }

  .site-nav {
    margin-top: 12px;
  }

  .site-nav a {
    margin-left: 0;
    margin-right: 16px;
  }

  .hero {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

.icon-instagram {
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  display: inline-block;
  fill: currentColor;
  opacity: 0.7;
}

.with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

@media (max-width: 600px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

body.no-scroll {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

/* =========================
   MODAL CONTENT
========================= */

.modal-content {
  background: var(--surface);
  color: var(--fg);
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--muted);
}

.modal-close:hover {
  color: var(--accent-secondary);
}

/* Conteúdo interno */

.modal-intro {
  font-size: 0.95rem;
  margin-bottom: 24px;
  color: var(--fg);
}

.modal-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* =========================
   INPUTS COM FOCO ISNULL
========================= */

.modal-section input:focus,
.modal-section textarea:focus {
  outline: none;
  border: 1px solid transparent;

  background-image:
    linear-gradient(var(--surface), var(--surface)),
    linear-gradient(
      135deg,
      var(--accent-primary),
      var(--accent-secondary)
    );

  background-origin: border-box;
  background-clip: padding-box, border-box;

  box-shadow:
    0 0 0 4px rgba(34, 99, 12, 0.12),
    0 0 0 6px rgba(116, 13, 117, 0.10);
}
.modal-section input,
.modal-section textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.95rem;
  transition:
    box-shadow 0.25s ease,
    background 0.25s ease;
}
/* =========================
   PREFERÊNCIA DE CONTATO
========================= */

.contact-preference {
  margin-top: 10px;
  display: flex;
  gap: 20px;
}

.contact-preference label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--fg);
  cursor: pointer;
  white-space: nowrap;
}

.contact-preference input[type="radio"] {
  accent-color: var(--accent-primary);
  cursor: pointer;
}
.modal-success {
  text-align: center;
  padding: 40px 20px;
}
[hidden] {
  display: none !important;
}
.modal-success h4 {
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.modal-success p {
  color: var(--muted);
  font-size: 0.95rem;
}

strong {
  font-weight: 600;
  color: var(--accent-secondary);
}

.section-highlight strong {
  color: #ffffff;
}

.list li::marker {
  color: var(--accent-primary);
}
.section-highlight .list li::marker {
  color: #ffffff;
}
