:root {
  --navy: #1d2a4c;
  --blue: #3766cc;
  --sky: #6ca0db;
  --green: #89b767;
  --white: #ffffff;
  --paper: #f5f7fb;
  --line: #dde3ee;
  --muted: #4a5674;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--white); color: var(--navy); border-radius: 8px; }
.skip:focus { left: 16px; }

h1, h2 { font-weight: 700; letter-spacing: -.015em; line-height: 1.12; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }

.pill {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 0;
  background: var(--green);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s ease, transform .15s ease;
}
.btn:hover { background: #9cc67c; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: .9375rem; }

/* Cabeçalho */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__tile { width: 40px; height: 40px; }
.brand__word { width: 104px; height: auto; }
.site-nav { display: flex; gap: 28px; margin-left: auto; font-size: .9375rem; }
.site-nav a { text-decoration: none; opacity: .85; }
.site-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { background: var(--navy); color: var(--white); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.hero__tag { color: var(--green); font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.hero__sub { margin-top: 24px; max-width: 34em; font-size: clamp(1.125rem, 1.7vw, 1.3125rem); line-height: 1.5; color: #e4e9f4; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 36px; }
.hero__ciep { font-size: .9375rem; color: #e4e9f4; max-width: 22em; line-height: 1.4; }
.hero__ciep strong { color: var(--green); font-weight: 700; }
.hero__photo { justify-self: end; width: 100%; max-width: 420px; border-radius: 28px; box-shadow: 0 0 0 1px rgba(137,183,103,.55); }

/* Apresentação */
.intro { padding-block: clamp(48px, 7vw, 80px); background: var(--white); }
.intro p { max-width: 30em; margin-inline: auto; text-align: center; font-size: clamp(1.3125rem, 2.4vw, 1.75rem); line-height: 1.38; font-weight: 500; text-wrap: balance; }

/* Gestão e acompanhamento */
.manage { background: var(--blue); color: var(--white); padding-block: var(--section); }
.manage .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.manage__lead { position: sticky; top: 112px; }
.manage__lead h2 { margin-top: 22px; }
.manage__lead p { margin-top: 20px; }
.steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; padding-block: 28px; border-top: 1px solid rgba(255,255,255,.55); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.55); }
.steps__n { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--green); color: var(--navy); font-size: 1.625rem; font-weight: 700; line-height: 1; }
.steps p { margin-top: 6px; }

/* Recursos */
.features { background: var(--paper); padding-block: var(--section); }
.features__head { max-width: 46em; }
.features__head .pill { color: var(--blue); }
.features__head h2 { margin-top: 22px; }
.features__head p { margin-top: 18px; color: var(--muted); }
.features__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 64px); margin-top: 44px; }
.features__grid li { display: flex; align-items: flex-start; gap: 14px; padding-block: 18px; border-top: 1px solid var(--line); font-weight: 500; }
.features__grid svg { flex: none; width: 24px; height: 24px; margin-top: 2px; }

/* Organização e controle */
.control { background: var(--green); color: var(--navy); padding-block: var(--section); }
.control__head { max-width: 46em; }
.control__head h2 { margin-top: 22px; }
.control__head p { margin-top: 18px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.card { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--blue); color: var(--white); }
.card__head { display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 24px; background: var(--navy); border-radius: var(--radius); }
.card__head img { height: 40px; width: auto; align-self: flex-start; }
.card__body { padding: 22px 26px 28px; }

/* Contato */
.contact { background: var(--navy); color: var(--white); padding-block: var(--section); }
.ciep { max-width: 26em; margin: 0 auto; text-align: center; font-size: clamp(1.5rem, 3vw, 2.125rem); font-weight: 600; line-height: 1.25; text-wrap: balance; }
.ciep em { font-style: normal; color: var(--green); }
.rule { position: relative; height: 5px; max-width: 620px; margin: 40px auto; background: var(--blue); border-radius: 999px; }
.rule::after { content: ""; position: absolute; right: 0; top: -4px; width: 12%; height: 13px; background: var(--green); border-radius: 999px; }
.contact__box { max-width: 880px; margin-inline: auto; padding: clamp(28px, 5vw, 52px); border: 1px solid var(--green); border-radius: 28px; text-align: center; }
.contact__tile { width: 72px; height: 72px; margin: 0 auto 22px; }
.contact__box h2 { font-size: clamp(1.625rem, 3vw, 2.25rem); }
.contact__box > p { margin: 14px auto 0; max-width: 34em; color: #e4e9f4; }
.contact__label { margin-top: 32px; font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.contact__mail { margin-top: 14px; white-space: nowrap; }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
.person { padding: 4px 16px; }
.person + .person { border-left: 1px solid rgba(255,255,255,.55); }
.person__role { font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #e4e9f4; }
.person__tel { display: inline-block; margin-top: 6px; padding-block: 4px; font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 700; text-decoration: none; white-space: nowrap; }
.person__tel span { color: var(--green); font-size: .7em; font-weight: 600; }
.person__tel:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Rodapé */
.site-foot { background: var(--navy); color: #cfd6e6; border-top: 1px solid rgba(255,255,255,.12); padding-block: 24px; font-size: .875rem; text-align: center; }

@media (max-width: 960px) {
  .site-nav { display: none; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__photo { justify-self: center; max-width: 380px; }
  .manage .wrap { grid-template-columns: 1fr; }
  .manage__lead { position: static; }
  .cards { grid-template-columns: 1fr; }
  .card__head { flex-direction: row; align-items: center; padding: 20px 22px; }
  .card__head img { align-self: center; flex: none; width: 36px; height: 36px; object-fit: contain; }
  .card__body { padding: 18px 22px 24px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  .site-head .wrap { min-height: 64px; gap: 12px; }
  .brand__tile { width: 34px; height: 34px; }
  .brand__word { width: 84px; }
  .btn--sm { padding: 8px 14px; font-size: .875rem; }
  .hero__actions .btn { width: 100%; }
  .features__grid { grid-template-columns: 1fr; margin-top: 32px; }
  .steps li { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; }
  .steps__n { width: 52px; height: 52px; font-size: 1.3125rem; border-radius: 14px; }
  .people { grid-template-columns: 1fr; gap: 20px; }
  .person + .person { border-left: 0; border-top: 1px solid rgba(255,255,255,.35); padding-top: 20px; }
  .contact__box { padding: 28px 16px; }
  .contact__mail { padding: 12px 16px; font-size: .9375rem; }
}
@media (max-width: 360px) {
  .brand__word { display: none; }
  .contact__mail { font-size: .875rem; }
  .contact__mail svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* Menu com o item "Conheça o sistema" e botão do menu no celular */
.site-nav a[aria-current="page"] { opacity: 1; color: var(--green); font-weight: 600; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; flex: none; border: 1px solid rgba(255,255,255,.45); border-radius: 12px; background: none; color: var(--white); cursor: pointer; }
.nav-toggle svg { width: 24px; height: 24px; }
.site-foot a { color: inherit; text-underline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px var(--green); }
.btn--ghost:hover { background: rgba(137,183,103,.18); }
.hero__ciep { flex-basis: 100%; max-width: none; }

@media (max-width: 1040px) {
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 16px; background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.18); font-size: 1rem; }
  .site-nav.is-open { display: flex; }
  .site-nav a { display: flex; align-items: center; min-height: 48px; opacity: 1; border-top: 1px solid rgba(255,255,255,.12); }
  .site-nav a:first-child { border-top: 0; }
  .nav-toggle { display: inline-flex; }
  .site-head__cta { margin-left: auto; }
}
@media (max-width: 480px) {
  .site-head__cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .brand__word { display: block; }
}
