/* AtendSim — site institucional. Verde profundo + grafite + areia. */
:root {
  --green: #0e6655;
  --green-dark: #0a4f42;
  --green-soft: #d6ebe5;
  --graphite: #3a3b3e;
  --graphite-dark: #2c2d30;
  --ink: #232427;
  --muted: #5d5e63;
  --sand: #e9d5b0;
  --sand-bg: #f7f1e6;
  --sand-line: #e6dccb;
  --white: #ffffff;
  --radius: 20px;
  --max: 1160px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sand-bg);
  color: var(--ink);
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
h1, h2, h3 { font-family: 'Outfit', system-ui, sans-serif; letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
img, svg { display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* cabeçalho */
.top { position: sticky; top: 0; z-index: 5; background: rgba(247, 241, 230, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--sand-line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 23px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--green); }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 14px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--green); color: var(--white); box-shadow: 0 6px 18px rgba(14, 102, 85, 0.22); }
.btn-primary:hover { background: var(--green-dark); color: var(--white); }
.btn-ghost { border-color: var(--graphite); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--ink); }
.btn-sand { background: var(--sand); color: var(--ink); }
.btn-sand:hover { background: #dfc69a; color: var(--ink); }
.nav .btn { min-height: 42px; padding: 9px 18px; }
.nav .btn-primary { color: var(--white); }

/* hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 80px; }
.pill { display: inline-block; background: var(--sand); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 800; margin: 18px 0; }
.hero h1 span { color: var(--green); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 580px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.feed { background: var(--graphite); color: var(--white); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.feed small { color: #cfcbc2; font-size: 14px; }
.feed .item { background: var(--graphite-dark); border-radius: 16px; padding: 14px 16px; }
.feed .item b { display: block; }
.feed .item span { color: #cfcbc2; font-size: 15px; }
.feed .item.alert { background: var(--sand); color: var(--ink); }
.feed .item.alert span { color: var(--ink); }

/* seções */
section { padding: 72px 0; }
.band { background: var(--white); }
.dark { background: var(--graphite); color: var(--white); }
.dark p { color: #d8d4cb; }
.title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; margin-bottom: 14px; }
.sub { color: var(--muted); max-width: 680px; margin-bottom: 32px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--white); border-radius: var(--radius); padding: 26px; }
.band .card { background: var(--sand-bg); }
.card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.card p { color: var(--muted); }
.num { font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--green); line-height: 1; margin-bottom: 12px; }
.channels { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--sand-bg); border-radius: 999px; padding: 10px 18px; font-weight: 600; }
.chip.soon { color: var(--muted); font-weight: 500; }
.chip.soon::after { content: ' · em breve'; font-size: 14px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { flex-shrink: 0; margin-top: 4px; }

/* FAQ */
details { background: var(--white); border-radius: 16px; padding: 18px 22px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
details p { margin-top: 10px; color: var(--muted); }

/* formulário */
.form { background: var(--white); border-radius: 24px; padding: 30px; display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form .full { grid-column: 1 / -1; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
input, select, textarea { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--sand-line); background: var(--sand-bg); color: var(--ink); min-height: 48px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 14px; color: var(--muted); }
.consent input { min-height: auto; margin-top: 3px; }
.status { font-size: 15px; }
.status.err { color: #a12d22; }

/* rodapé */
footer { background: var(--graphite-dark); color: #d8d4cb; padding: 40px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
footer a { color: var(--sand); }
footer .legal { max-width: 640px; }

/* páginas de texto */
.doc { max-width: 760px; padding: 56px 20px 80px; margin: 0 auto; }
.doc h1 { font-size: 2.4rem; margin-bottom: 18px; }
.doc h2 { font-size: 1.4rem; margin: 30px 0 10px; }
.doc p, .doc li { color: #3d3e42; }

@media (max-width: 860px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero .wrap { padding-top: 36px; }
  .form { grid-template-columns: 1fr; }
  .nav { gap: 14px; }
  .nav .hide-sm { display: none; }
}
