/* assets/css/main.css */
:root {
  --zinc-100: #f4f4f5;
  --zinc-300: #d4d4d8;
  --zinc-400: #a1a1aa;
  --zinc-500: #71717a;
  --zinc-600: #52525b;
  --zinc-700: #3f3f46;
  --zinc-800: #27272a;
  --zinc-950: #09090b;
  --white: #ffffff;
  --border-subtle: rgba(39, 39, 42, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--zinc-950);
  color: var(--zinc-300);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--zinc-800);
  color: var(--white);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

/* Header */
.header {
  width: 100%;
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

@media (min-width: 1024px) {
  .header {
    padding: 2rem 3rem;
  }
}

.header-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.brand {
  color: var(--white);
  font-weight: 500;
  letter-spacing: -0.025em;
  font-size: 0.875rem;
  text-transform: uppercase;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-label span {
  display: block;
  width: 24px;
  height: 1px;
  background-color: var(--zinc-300);
  transition: all 0.2s ease;
}

.nav-menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-bottom: 1rem;
}

.nav-toggle:checked ~ .nav-menu {
  display: flex;
}

.nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) {
  opacity: 0;
}
.nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .nav-toggle-label {
    display: none;
  }
  .nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    margin-top: 0;
    padding-bottom: 0;
  }
}

.nav-link {
  font-size: 0.75rem;
  color: var(--zinc-400);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
}

.nav-link.active {
  border-bottom: 1px solid var(--zinc-700);
  padding-bottom: 2px;
}

/* Main */
.main {
  flex-grow: 1;
}

/* Hero Section */
.hero {
  padding: 6rem 0 8rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-content {
  max-width: 75ch;
}

.hero-title {
  color: var(--white);
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.05em;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-desc {
  color: var(--zinc-400);
  font-size: 1.125rem;
  line-height: 1.625;
  margin-bottom: 3rem;
}

.btn-outline {
  display: inline-block;
  border: 1px solid var(--zinc-700);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: border-color 0.2s ease;
}

.btn-outline:hover {
  border-color: var(--zinc-500);
}

/* Grid Layout Sections */
.section {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .section-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .section-grid {
    gap: 6rem;
  }
}

.section-label-col {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .section-label-col {
    grid-column: span 4;
  }
}

.section-label {
  color: var(--white);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.section-content-col {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .section-content-col {
    grid-column: span 8;
  }
}

/* Stats (Observabilidade & Impacto) */
.stats-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.stat-item {
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
}

.stat-item:last-child {
  border-bottom: none;
  padding-bottom: 1rem;
}

.stat-title {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .stat-title {
    font-size: 1.5rem;
  }
}

.stat-desc {
  color: var(--zinc-400);
  line-height: 1.625;
  max-width: 65ch;
}

/* Manifesto */
.manifesto-text {
  color: var(--zinc-400);
  line-height: 1.625;
  max-width: 65ch;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Assessment Form */
.assessment-section {
  padding: 6rem 0;
  border-bottom: none;
}

.assessment-desc {
  color: var(--zinc-400);
  line-height: 1.625;
  max-width: 65ch;
  margin-bottom: 3rem;
}

.form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 65ch;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

input, textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--zinc-800);
  border-radius: 0;
  color: var(--white);
  outline: none;
  padding: 0.5rem 0;
  transition: border-color 0.2s ease;
  font-family: inherit;
  font-size: 1rem;
  width: 100%;
}

input:focus, textarea:focus {
  border-bottom-color: var(--zinc-400);
}

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

input::placeholder, textarea::placeholder {
  color: var(--zinc-600);
}

.form-submit {
  margin-top: 2rem;
}

.btn-solid {
  background-color: var(--zinc-100);
  color: var(--zinc-950);
  border: none;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}

.btn-solid:hover {
  background-color: var(--white);
}

/* Footer */
.footer {
  width: 100%;
  padding: 3rem 1.5rem;
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
}

@media (min-width: 1024px) {
  .footer {
    padding: 3rem 3rem;
  }
}

.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.75rem;
  color: var(--zinc-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

/* ==== Floating CTA (duplicate class) ==== */
.floating-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: var(--zinc-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: background-color 0.2s ease;
}
.floating-cta:hover {
  background-color: var(--zinc-600);
}

/* ==== Modal overlay and content ==== */
.form-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.form-modal-overlay.is-active {
  display: flex;
}
.form-modal-content {
  background: var(--zinc-950);
  padding: 2rem;
  border-radius: 0.5rem;
  max-width: 90%;
  width: 400px;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.form-modal-content h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--white);
}
.form-modal-content input,
.form-modal-content textarea {
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--zinc-600);
  color: var(--white);
  border-radius: 4px;
}
.form-modal-content .close-btn {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  cursor: pointer;
}

/* ==== Floating WhatsApp Button (mobile) ==== */
.whatsapp-flutuante {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: var(--zinc-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: background-color 0.2s ease;
}
.whatsapp-flutuante:hover {
  background-color: var(--zinc-600);
  height: 60px;
  background-color: var(--zinc-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: background-color 0.2s ease;
}
.whatsapp-flutuante:hover {
  background-color: var(--zinc-600);
}

