:root {
  --bg: #f4f7f8;
  --bg-soft: #edf3f4;
  --surface: #ffffff;
  --surface-alt: #fbfcfd;
  --surface-warm: #f8f2e7;
  --ink: #152027;
  --muted: #5b6872;
  --line: rgba(21, 32, 39, 0.1);
  --blue: #4a82ab;
  --blue-deep: #244f73;
  --green: #5f9b7b;
  --gold: #d8b15c;
  --shadow: 0 20px 50px rgba(18, 31, 40, 0.1);
  --radius: 28px;
  --radius-sm: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at top left, rgba(74, 130, 171, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(95, 155, 123, 0.12), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 34%, #f7f8f1 100%);
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(22, 32, 40, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark img {
  width: 48px;
  height: 48px;
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  font-size: 0.88rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 1rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  padding: 0.45rem 0.2rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue-deep);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.7rem 1rem;
}

.header-cta {
  margin-left: 0.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(18, 31, 40, 0.08);
}

.button-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(74, 130, 171, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(74, 130, 171, 0.2);
  color: var(--blue-deep);
}

.button-large {
  padding-inline: 1.4rem;
  min-height: 52px;
}

.hero {
  padding: 5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 800;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.9rem);
  max-width: 12ch;
}

.lead {
  margin: 1.2rem 0 0;
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  color: var(--blue-deep);
  max-width: 48rem;
}

.hero-text,
.section-heading p,
.service-card p,
.feature-card p,
.contact-card p,
.faq-list p,
.survey-card p,
.document-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions,
.contact-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-note {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.2rem;
  color: var(--muted);
  font-weight: 600;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(95, 155, 123, 0.14);
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.hero-visual-card {
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(74, 130, 171, 0.12), rgba(255, 255, 255, 0.92));
  box-shadow: var(--shadow);
  border: 1px solid rgba(74, 130, 171, 0.12);
}

.hero-visual-card img {
  width: 100%;
  height: auto;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.mini-chip {
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(22, 32, 40, 0.04);
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: default;
  box-shadow: none;
  pointer-events: none;
}

.section {
  padding: 4rem 0;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.92) 100%),
    linear-gradient(90deg, rgba(75, 126, 168, 0.04), rgba(95, 155, 123, 0.04));
}

.section-heading {
  max-width: 820px;
  margin-bottom: 1.6rem;
}

.section-heading-wide {
  display: grid;
  gap: 0.3rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card-grid-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.service-card,
.survey-card,
.document-card,
.contact-card,
.timeline-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(22, 32, 40, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-card,
.service-card,
.survey-card,
.document-card {
  padding: 1.3rem;
}

.feature-card h3,
.service-card h3,
.survey-card h3,
.document-card h3,
.faq-list summary {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}

.feature-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card-accent {
  background: linear-gradient(180deg, rgba(248, 242, 231, 0.95), rgba(255, 255, 255, 0.92));
}

.service-kicker {
  margin: 0 0 0.6rem;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-cta .cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(75, 126, 168, 0.12), rgba(95, 155, 123, 0.12)), rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(75, 126, 168, 0.14);
  box-shadow: var(--shadow);
}

.small-note,
.source-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.small-note code {
  padding: 0.15rem 0.35rem;
  border-radius: 8px;
  background: rgba(22, 32, 40, 0.06);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0 1.25rem;
}

.filter-chip {
  border: 1px solid rgba(22, 32, 40, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-weight: 700;
}

.filter-chip.is-active {
  background: var(--blue-deep);
  color: #fff;
  border-color: var(--blue-deep);
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 1rem;
  padding: 1.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 55px rgba(18, 31, 40, 0.12);
}

.timeline-date {
  border-radius: 20px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(75, 126, 168, 0.12), rgba(255, 255, 255, 0.65));
}

.timeline-date strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
}

.timeline-date span {
  display: block;
  margin-top: 0.3rem;
  color: var(--muted);
  font-weight: 700;
}

.timeline-meta,
.document-meta,
.survey-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 800;
}

.pill-confirmada {
  background: rgba(75, 126, 168, 0.12);
  color: var(--blue-deep);
}

.pill-prevista {
  background: rgba(216, 177, 92, 0.2);
  color: #7c5c10;
}

.pill-realizada,
.pill-pechada {
  background: rgba(95, 155, 123, 0.16);
  color: #2f6b4d;
}

.pill-informativa {
  background: rgba(95, 109, 121, 0.14);
  color: #42515b;
}

.timeline-link,
.document-link,
.survey-link {
  display: inline-flex;
  margin-top: 0.9rem;
  font-weight: 700;
  color: var(--blue-deep);
}

.timeline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.timeline-button {
  min-height: 42px;
  padding: 0.7rem 1rem;
}

.document-grid,
.survey-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.document-card {
  display: grid;
  gap: 0.75rem;
}

.document-card-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.document-category {
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.document-date,
.survey-state {
  color: var(--muted);
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.faq-list details {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(22, 32, 40, 0.08);
  border-radius: 18px;
  padding: 0.2rem 1rem 0.35rem;
  box-shadow: var(--shadow);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 0.8rem 0;
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details[open] summary {
  color: var(--blue-deep);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 1.5rem;
  padding: 1.6rem;
}

.contact-meta {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(248, 242, 231, 0.72);
  border: 1px solid rgba(216, 177, 92, 0.18);
}

.contact-label {
  margin: 0 0 0.3rem;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-value {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  word-break: break-word;
}

.quick-links {
  display: grid;
  gap: 0.55rem;
}

.quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.78rem 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(22, 32, 40, 0.06);
  color: var(--blue-deep);
  font-weight: 700;
}

.site-footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(22, 32, 40, 0.08);
  padding-top: 1.2rem;
}

.sr-announcement {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.empty-state {
  padding: 1.2rem;
  border-radius: 18px;
  border: 1px dashed rgba(22, 32, 40, 0.15);
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
}

.source-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  color: var(--muted);
}

.source-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--green);
}

.pill-source {
  background: rgba(75, 126, 168, 0.1);
  color: var(--blue-deep);
}

*:focus-visible {
  outline: 3px solid rgba(75, 126, 168, 0.35);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .hero-grid,
  .section-cta .cta-shell,
  .contact-card,
  .feature-columns,
  .card-grid-six,
  .document-grid,
  .survey-grid {
    grid-template-columns: 1fr;
  }

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

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

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(22, 32, 40, 0.08);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 3rem;
  }

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

  .section {
    padding: 3.2rem 0;
  }

  .container {
    width: min(var(--max), calc(100% - 1.2rem));
  }
}
