/* =========================================================================
   SistemaSOU — landing page
   Paleta extraída do logotipo (teal profundo, menta, verde do "check") e do tema do sistema.
   ========================================================================= */

:root {
  /* Marca */
  --ink: #153a46;            /* teal profundo: títulos e seções escuras */
  --ink-2: #1f4a57;
  --teal: #2b7a7a;           /* cor principal */
  --teal-600: #226565;
  --teal-100: #d7ecea;
  --mint: #8cc7b8;           /* menta do logotipo */
  --mint-50: #eef7f4;
  --green: #6aae4f;          /* verde do "check" */
  --green-600: #3f8f2c;      /* botões de ação (contraste AA com texto grande) */
  --green-700: #347a24;
  --sky: #49b7be;            /* destaque do tema do sistema */
  --navy: #1f3f6f;           /* azul do tema do sistema (uso pontual) */

  /* Neutros */
  --text: #1f2937;
  --muted: #4b5563;
  --line: #dbe5ef;
  --bg: #f6faf9;
  --white: #ffffff;

  /* Status do produto (mesmos da agenda) */
  --st-scheduled: #f59e0b;
  --st-confirmed: #059669;
  --st-completed: #3b82f6;
  --st-cancelled: #ef4444;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(21, 58, 70, 0.06);
  --shadow: 0 12px 32px rgba(21, 58, 70, 0.10);
  --shadow-lg: 0 28px 64px rgba(21, 58, 70, 0.18);
  --container: 1180px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[hidden] { display: none !important; }
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-600); }
h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
section { scroll-margin-top: var(--header-h); }

.icon { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-fill { fill: currentColor; stroke: none; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 700; font-size: 1.0625rem; line-height: 1;
  padding: 16px 28px; border-radius: 14px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--green-600); color: #fff;
  box-shadow: 0 10px 24px rgba(63, 143, 44, 0.32);
}
.btn-primary:hover { background: var(--green-700); color: #fff; box-shadow: 0 14px 30px rgba(63, 143, 44, 0.4); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--teal-100); background: #fff; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-600); }

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { color: var(--teal-600); }

.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }

.btn-sm { padding: 12px 20px; font-size: .95rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 42px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); font-weight: 600; font-size: .96rem; }
.nav a:not(.btn):hover { color: var(--teal); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}

/* ---------- Seções (base) ---------- */
.section { padding: 104px 0; position: relative; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--ink); color: #dbe9ec; }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-100); padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section-dark .eyebrow { background: rgba(140, 199, 184, .16); color: var(--mint); }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.section-head p { color: var(--muted); font-size: 1.15rem; margin: 0; }
.section-dark .section-head p { color: #b9d3d6; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 72px 0 96px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(73, 183, 190, .20), transparent 60%),
    radial-gradient(700px 480px at -10% 30%, rgba(140, 199, 184, .28), transparent 60%),
    linear-gradient(180deg, #f2faf8 0%, #ffffff 100%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); margin-bottom: .45em; }
.hero h1 .hl {
  background: linear-gradient(100deg, var(--teal) 10%, var(--green) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 1.22rem; color: var(--muted); max-width: 580px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 26px; color: var(--ink); font-weight: 600; font-size: .98rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--green-600); }

/* ---------- Mockups ---------- */
.stage { position: relative; min-height: 520px; }

.window {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.window-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f1f6f6; border-bottom: 1px solid var(--line); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfdede; display: block; }
.window-bar span { margin-left: 10px; font-size: .78rem; color: #6b7f84; font-weight: 600; }

.app { display: grid; grid-template-columns: 56px 1fr; min-height: 380px; }
.app-side { background: var(--ink); display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 18px 0; }
.app-side .dot { width: 26px; height: 26px; border-radius: 8px; background: rgba(255, 255, 255, .14); }
.app-side .dot.on { background: var(--mint); }
.app-main { padding: 16px 18px 20px; }
.app-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.app-top strong { font-size: .95rem; color: var(--ink); }
.pill { font-size: .72rem; font-weight: 700; color: var(--teal-600); background: var(--teal-100); padding: 4px 10px; border-radius: 999px; }

.cal { display: grid; grid-template-columns: 42px repeat(5, 1fr); font-size: .68rem; color: #6b7f84; }
.cal-h { padding: 6px 4px; text-align: center; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--line); }
.cal-h.today { color: var(--teal-600); background: #eaf5f3; border-radius: 8px 8px 0 0; }
.cal-t { height: 54px; padding: 4px 4px 0 0; text-align: right; border-top: 1px solid #edf2f4; }
.cal-c { position: relative; height: 54px; border-top: 1px solid #edf2f4; border-left: 1px solid #edf2f4; }
.cal-c.today { background: #f3faf8; }

.ev {
  position: absolute; left: 3px; right: 3px; top: 3px; border-radius: 7px; padding: 4px 7px;
  font-size: .64rem; font-weight: 700; line-height: 1.25; color: #fff;
  border-left: 5px solid var(--st-scheduled); box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
  overflow: hidden;
}
.ev small { display: block; font-weight: 500; opacity: .9; font-size: .6rem; }
.ev.c1 { background: #2563eb; } .ev.c2 { background: #16a34a; } .ev.c3 { background: #7c3aed; }
.ev.c4 { background: #fff; color: var(--ink); border: 1px solid #d1d5db; border-left: 5px solid var(--st-scheduled); }
.ev.s-confirmed { border-left-color: var(--st-confirmed); }
.ev.s-completed { border-left-color: var(--st-completed); }
.ev.tall { bottom: 3px; }
.ev.tall2 { height: 104px; }

.caption { font-size: .72rem; color: #6b7f84; margin-top: 10px; text-align: center; }

/* Cartões flutuantes do hero */
.float { position: absolute; color: var(--text); background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }

.phone {
  width: 250px; padding: 12px; left: -34px; bottom: -28px; border-radius: 30px; z-index: 3;
  animation: floaty 7s ease-in-out infinite;
}
.phone-bar { display: flex; align-items: center; gap: 9px; padding: 6px 6px 12px; border-bottom: 1px solid #edf2f4; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(140deg, var(--teal), var(--green)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.phone-bar b { font-size: .8rem; color: var(--ink); display: block; line-height: 1.1; }
.phone-bar small { font-size: .66rem; color: #6b7f84; }
.chat { background: #e9f1ed; border-radius: 16px; padding: 12px 10px 10px; margin-top: 10px; }
.bubble {
  background: #fff; border-radius: 4px 14px 14px 14px; padding: 9px 11px; font-size: .74rem; line-height: 1.45; color: #1f2937;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
}
.bubble b { color: var(--ink); }
.bubble .time { display: block; text-align: right; font-size: .62rem; color: #8a979b; margin-top: 3px; }
.bubble-btns { margin-top: 6px; display: grid; gap: 4px; }
.bubble-btns span {
  background: #fff; border-radius: 10px; text-align: center; padding: 7px; font-size: .72rem; font-weight: 700; color: #0a7fb5;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .08); display: flex; justify-content: center; align-items: center; gap: 6px;
}
.bubble-btns .icon { width: 1em; height: 1em; }

.mail { width: 250px; right: -26px; top: -34px; padding: 14px 16px; z-index: 3; animation: floaty 8s ease-in-out -2s infinite; }
.mail-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mail-head .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--teal-100); color: var(--teal-600); display: grid; place-items: center; }
.mail-head b { font-size: .8rem; color: var(--ink); display: block; line-height: 1.15; }
.mail-head small { font-size: .68rem; color: #6b7f84; }
.mail p { font-size: .74rem; color: var(--muted); margin: 0 0 8px; line-height: 1.4; }
.mail .row, .mail-lg .row { display: flex; justify-content: space-between; gap: 12px; font-size: .7rem; padding: 5px 0; border-top: 1px solid #edf2f4; color: #4b5563; }
.mail .row b, .mail-lg .row b { color: var(--ink); }
.mail-lg p { color: var(--muted); margin: 0 0 8px; line-height: 1.4; }
.mail-lg .mail-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.mail-lg .mail-head .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--teal-100); color: var(--teal-600); display: grid; place-items: center; }
.mail-lg .mail-head b { color: var(--ink); display: block; line-height: 1.15; }
.mail-lg .mail-head small { font-size: .68rem; color: #6b7f84; }

.chip {
  right: 26px; bottom: 6px; padding: 10px 14px 10px 12px; display: flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; color: var(--ink); z-index: 3; border-radius: 14px;
  animation: floaty 6s ease-in-out -1s infinite;
}
.chip .ok { width: 26px; height: 26px; border-radius: 50%; background: #dff3e4; color: var(--green-600); display: grid; place-items: center; }
.chip small { display: block; font-weight: 500; color: #6b7f84; font-size: .68rem; }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Problema ---------- */
.problems { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.problem {
  grid-column: span 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.problem:nth-child(4) { grid-column: 2 / span 2; }
.problem:nth-child(5) { grid-column: 4 / span 2; }
.problem:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.problem .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: #fff3e6; color: #d97706; margin-bottom: 18px; }
.problem h3 { font-size: 1.15rem; margin-bottom: .4em; }
.problem p { color: var(--muted); margin: 0; font-size: .98rem; }
.bridge { text-align: center; margin: 48px auto 0; max-width: 720px; font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.bridge span { color: var(--teal); }

/* ---------- Solução (problema → solução → benefício) ---------- */
.flow { display: grid; gap: 16px; }
.flow-row {
  display: grid; grid-template-columns: 1fr 44px 1.25fr 44px 1fr; align-items: stretch; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm);
}
.flow-cell { padding: 16px 18px; border-radius: 12px; display: flex; flex-direction: column; justify-content: center; }
.flow-cell small { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.flow-cell strong { font-size: 1.02rem; color: var(--ink); line-height: 1.35; }
.flow-cell span { font-size: .93rem; color: var(--muted); margin-top: 3px; }
.flow-p { background: #fff6ec; } .flow-p small { color: #c2640a; }
.flow-s { background: var(--mint-50); } .flow-s small { color: var(--teal-600); }
.flow-b { background: #eaf7e5; } .flow-b small { color: var(--green-700); }
.flow-arrow { display: grid; place-items: center; color: var(--mint); }
.flow-arrow .icon { width: 26px; height: 26px; stroke-width: 2.4; }

/* ---------- Comunicação ---------- */
.comm { background: linear-gradient(180deg, var(--ink) 0%, #0f2f3a 100%); color: #dbe9ec; overflow: hidden; }
.comm::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 420px at 90% 10%, rgba(73, 183, 190, .22), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(106, 174, 79, .16), transparent 60%);
}
.comm .container { position: relative; }
.tagline { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 56px; }
.tagline .step {
  display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  padding: 16px 22px; border-radius: 16px; font-weight: 700; color: #fff; font-size: 1.08rem;
}
.tagline .step .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(140, 199, 184, .2); color: var(--mint); }
.tagline .step.last .ico { background: rgba(106, 174, 79, .25); color: #a8e089; }

.comm-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tab {
  font: inherit; font-weight: 700; font-size: .95rem; padding: 11px 18px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .08); color: #cfe3e6; border: 1px solid rgba(255, 255, 255, .16); transition: all .2s ease;
}
.tab:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.tab[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.tab-panel h3 { font-size: 1.6rem; }
.tab-panel p { color: #b9d3d6; font-size: 1.08rem; }
.checks { display: grid; gap: 12px; margin-top: 22px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: #e4f0f1; }
.checks .icon { color: #a8e089; margin-top: 3px; }
.section-light .checks li, .checks.dark li { color: var(--text); }
.checks.dark .icon { color: var(--green-600); }

.comm-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.comm-visual .phone-lg, .comm-visual .mail-lg { animation: none; position: relative; left: auto; right: auto; top: auto; bottom: auto; width: 100%; }
.phone-lg { padding: 14px; border-radius: 32px; }
.mail-lg { padding: 18px; margin-top: 34px; }
.mail-lg .mail-head b { font-size: .9rem; }
.mail-lg p { font-size: .82rem; }
.mail-lg .row { font-size: .78rem; }
.mail-lg .mail-cta { display: block; margin-top: 12px; text-align: center; font-weight: 700; font-size: .78rem; color: #fff; background: var(--teal); padding: 10px; border-radius: 10px; }
.swap { transition: opacity .25s ease, transform .25s ease; }
.swap.is-out { opacity: 0; transform: translateY(6px); }

.timing { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.timing-card { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 24px; }
.timing-card .ico { width: 44px; height: 44px; border-radius: 13px; background: rgba(140, 199, 184, .18); color: var(--mint); display: grid; place-items: center; margin-bottom: 14px; }
.timing-card h4 { color: #fff; font-size: 1.1rem; margin-bottom: .35em; }
.timing-card p { color: #b9d3d6; margin: 0; font-size: .96rem; }

/* ---------- Recursos ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--mint); }
.feature .ico { width: 52px; height: 52px; border-radius: 15px; background: var(--mint-50); color: var(--teal); display: grid; place-items: center; margin-bottom: 18px; }
.feature h3 { font-size: 1.15rem; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Benefícios ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { background: #fff; border-radius: var(--radius); padding: 30px 26px; border: 1px solid var(--line); position: relative; overflow: hidden; }
.benefit::after { content: ""; position: absolute; left: 0; top: 0; height: 5px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--green)); }
.benefit .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--teal-100); color: var(--teal-600); display: grid; place-items: center; margin-bottom: 16px; }
.benefit h3 { font-size: 1.12rem; }
.benefit p { color: var(--muted); margin: 0; font-size: .96rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.split .lead { color: var(--muted); font-size: 1.12rem; }
.patient-card {
  background: linear-gradient(160deg, var(--mint-50), #fff); border: 1px solid var(--line); border-radius: 26px; padding: 28px; box-shadow: var(--shadow);
}
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0; }
.slot { text-align: center; padding: 11px 0; border-radius: 12px; font-weight: 700; font-size: .92rem; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.slot.on { background: var(--green-600); color: #fff; border-color: var(--green-600); box-shadow: 0 8px 18px rgba(63, 143, 44, .3); }
.slot.off { color: #9db0b3; text-decoration: line-through; background: #f1f6f6; }
.pro { display: flex; align-items: center; gap: 14px; }
.pro .avatar { width: 52px; height: 52px; font-size: 1.1rem; }
.pro b { display: block; color: var(--ink); }
.pro small { color: var(--muted); }

/* ---------- Segmentos ---------- */
.segments { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.segment {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 14px 22px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .15s ease, border-color .2s ease;
}
.segment:hover { transform: translateY(-2px); border-color: var(--mint); }
.segment .icon { color: var(--teal); }

/* ---------- Passos ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px 28px; box-shadow: var(--shadow-sm); }
.step-card::before {
  counter-increment: step; content: counter(step); position: absolute; top: -22px; left: 26px;
  width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(140deg, var(--teal), var(--green)); color: #fff;
  font-weight: 800; font-size: 1.15rem; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(43, 122, 122, .35);
}
.step-card h3 { font-size: 1.2rem; margin-top: 6px; }
.step-card p { color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: var(--mint); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--ink); padding: 18px 34px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { color: var(--muted); padding: 0 0 18px; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- CTA final + formulário ---------- */
.cta {
  background:
    radial-gradient(700px 420px at 100% 0%, rgba(73, 183, 190, .28), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(106, 174, 79, .22), transparent 60%),
    var(--ink);
  color: #dbe9ec; padding: 104px 0;
}
.cta-grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: start; }
.cta h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.cta .lead { color: #b9d3d6; font-size: 1.15rem; }
.cta .checks { margin: 28px 0; }
.cta-alt { display: flex; flex-wrap: wrap; gap: 12px; }

.form-card { background: #fff; border-radius: 24px; padding: 34px; box-shadow: var(--shadow-lg); color: var(--text); }
.form-card h3 { font-size: 1.5rem; margin-bottom: .2em; }
.form-card .sub { color: var(--muted); font-size: .98rem; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .88rem; color: var(--ink); }
.field label .opt { font-weight: 500; color: #6b7f84; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: #f8fbfb; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 14px; width: 100%; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(43, 122, 122, .15); }
.field.invalid input, .field.invalid select { border-color: #dc2626; background: #fff8f8; }
.field .err { color: #b91c1c; font-size: .82rem; min-height: 0; display: none; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); flex: none; }
.consent.invalid { color: #b91c1c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { margin-top: 20px; }
.form-note { font-size: .8rem; color: #6b7f84; margin: 12px 0 0; text-align: center; }
.form-status { margin-top: 16px; border-radius: 14px; padding: 16px 18px; font-size: .96rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f6e3; color: #1f5c13; border: 1px solid #bfe3b3; }
.form-status.fail { background: #fdecec; color: #8f1d1d; border: 1px solid #f5c2c2; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.spinner { width: 18px; height: 18px; border: 3px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Rodapé ---------- */
.site-footer { background: #0d2830; color: #9fbcc0; padding: 56px 0 30px; font-size: .94rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 340px; margin: 0; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; align-items: flex-start; }
.footer-links a { color: #cfe3e6; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .86rem; }

/* Botão flutuante (mobile) */
.sticky-cta {
  position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 40; display: none;
  transform: translateY(140%); transition: transform .3s ease;
}
.sticky-cta.show { transform: translateY(0); }

/* ---------- Revelar ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Página de privacidade ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 64px 0 96px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 1.3em; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hero-grid, .comm-grid, .split, .cta-grid { grid-template-columns: 1fr; gap: 48px; }
  .stage { max-width: 640px; margin: 0 auto; width: 100%; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .timing { grid-template-columns: 1fr; }
  .flow-row { grid-template-columns: 1fr; gap: 6px; }
  .flow-arrow { transform: rotate(90deg); height: 30px; }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .section, .cta { padding: 72px 0; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; padding: 18px 22px 26px; flex-direction: column; align-items: stretch;
    gap: 6px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .3s ease; visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid #edf2f4; }
  .nav .btn { margin-top: 12px; }
  .problems { grid-template-columns: 1fr 1fr; }
  .problem, .problem:nth-child(4), .problem:nth-child(5) { grid-column: auto; }
  .problem:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .sticky-cta { display: block; }
  body { padding-bottom: 78px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, var(--container)); }
  .hero { padding: 40px 0 72px; }
  .hero .lead { font-size: 1.08rem; }
  .hero-cta .btn { width: 100%; }
  .problems, .features, .benefits { grid-template-columns: 1fr; }
  .problem:last-child { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }
  .tagline .step { width: 100%; }
  .comm-visual { grid-template-columns: 1fr; }
  .mail-lg { margin-top: 0; }
  .stage { min-height: 0; }
  .float.phone { position: relative; left: auto; bottom: auto; margin: 22px auto 0; }
  .float.mail { position: relative; right: auto; top: auto; margin: 18px auto 0; width: 100%; max-width: 300px; }
  .float.chip { position: relative; right: auto; bottom: auto; margin: 18px auto 0; width: fit-content; }
  .app { grid-template-columns: 40px 1fr; }
  .cal { grid-template-columns: 34px repeat(3, 1fr); }
  .cal .hide-sm { display: none; }
  .slots { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
