/* Gerado por scripts/marketing-theme.mjs — não edite à mão. */
:root {
  --blue: #0F2D52;
  --blue-deep: #0B2038;
  --teal: #00A6A6;
  --teal-dark: #00706F;
  --emerald: #2ECC71;
  --amber: #F39C12;
  --gray: #F2F4F6;
  --ink: #0B1B2B;
  --line: #dde3e9;
  --muted: #5b6b7a;
  --grad-primary: linear-gradient(135deg, #0F2D52 0%, #00A6A6 100%);
  --shadow-sm: 0 1px 3px rgba(15,45,82,.06);
  --shadow-md: 0 4px 14px rgba(15,45,82,.08);
  --shadow-lg: 0 18px 40px -18px rgba(15,45,82,.35);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 6px; }

/* ---------- navegação ---------- */
.site-nav {
  display: flex; align-items: center; gap: 14px;
  padding: 6px 24px; min-height: 52px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  position: sticky; top: 0; z-index: 20; flex-wrap: wrap;
}
.site-nav .brand { display: flex; align-items: center; gap: 8px; color: var(--blue); font-size: 14px; font-weight: 500; letter-spacing: -.01em; }
.site-nav .brand:hover { text-decoration: none; }
.site-nav .brand img { width: 26px; height: 26px; object-fit: contain; border-radius: 50%; }
.site-nav .brand strong { font-weight: 800; }
.site-nav nav { display: flex; gap: 2px; flex-wrap: wrap; margin-left: auto; }
.site-nav nav a { color: #33404d; font-weight: 500; font-size: 13.5px; padding: 6px 10px; border-radius: 8px; transition: all .15s ease; }
.site-nav nav a:hover { background: var(--gray); color: var(--blue); text-decoration: none; }
.site-nav nav a[aria-current="page"] { background: var(--gray); color: var(--blue); }
.site-nav .btn { min-height: 34px; padding: 6px 14px; font-size: 13.5px; border-radius: 8px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 20px; border-radius: 10px;
  font-weight: 600; font-size: 15px; border: 1px solid transparent;
  cursor: pointer; transition: all .2s ease; font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 6px 18px -6px rgba(0,166,166,.55); }
.btn-primary:hover { box-shadow: 0 10px 26px -8px rgba(0,166,166,.6); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--blue); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
.hero .btn-ghost { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); color: #fff; }
.hero .btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }

/* ---------- layout e tipografia ---------- */
.wrap { max-width: 820px; margin: 0 auto; padding: 56px 24px; }
.wrap.wide { max-width: 1140px; }
/* Títulos em Instrument Serif, como na landing: o serif é a assinatura da marca
   e o Inter fica para leitura corrida. */
h1 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(34px, 5vw, 46px); line-height: 1.1; color: var(--blue); margin-bottom: 16px; letter-spacing: -.01em; }
h2 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: clamp(25px, 3vw, 31px); color: var(--blue); margin: 44px 0 12px; letter-spacing: -.01em; }
h3 { font-size: 17px; color: var(--blue); margin: 24px 0 8px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 10px 0; color: #33414f; }
ul, ol { margin: 12px 0 12px 22px; }
li { margin: 6px 0; }
.lead { font-size: 18px; color: var(--muted); margin-bottom: 26px; }
.crumbs { max-width: 1140px; margin: 0 auto; padding: 16px 24px 0; font-size: 12.5px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.meta { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; color: var(--muted); margin: 0 0 28px; }

/* faixa de topo das páginas internas */
main > section:first-child:not(.hero) { position: relative; z-index: 0; }
main > section:first-child:not(.hero)::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100vw; height: 100%; max-height: 360px;
  background: linear-gradient(180deg, var(--gray) 0%, rgba(242,244,246,0) 100%); z-index: -1;
}
main > section:first-child:not(.hero) > h1::after {
  content: ""; display: block; width: 56px; height: 3px; border-radius: 999px;
  background: var(--grad-primary); margin-top: 14px;
}

/* ---------- prosa dos guias ---------- */
.wrap h2 { position: relative; padding-left: 16px; }
.wrap.wide h2, .cta h2 { padding-left: 0; }
.wrap h2::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 4px; border-radius: 999px; background: var(--teal); }
.wrap.wide h2::before, .cta h2::before { display: none; }
.wrap > ul, .wrap > ol { margin: 14px 0 18px 22px; color: #33414f; }
.wrap > ul > li, .wrap > ol > li { margin: 9px 0; padding-left: 4px; }
.wrap > ul > li::marker, .wrap > ol > li::marker { color: var(--teal); }
.wrap > p > a { font-weight: 600; border-bottom: 1px solid rgba(0,166,166,.35); }
.wrap > p > a:hover { text-decoration: none; border-bottom-color: var(--teal); }

/* bloco de resposta direta, o trecho que motores de IA costumam citar */
.answer {
  font-size: 19px; line-height: 1.6; color: var(--blue);
  background: var(--gray); border-left: 4px solid var(--teal);
  border-radius: 0 12px 12px 0; padding: 18px 22px; margin: 22px 0 28px;
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--blue-deep); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: url('/lovable-uploads/imgs/backgrounds/cc-bg-v5.png');
  background-size: cover; background-position: center right; opacity: .55;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,34,56,.96) 0%, rgba(15,45,82,.86) 45%, rgba(0,166,166,.28) 100%); }
.hero-inner { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; padding: 88px 24px 96px; }
.hero h1 { color: #fff; letter-spacing: -.025em; }
.hero .lead { color: #c9dbe6; font-size: 19px; max-width: 640px; }
.hero .pill { background: rgba(0,166,166,.22); color: #7fe9e0; border: 1px solid rgba(0,166,166,.4); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- seções e cards ---------- */
.section-alt { background: var(--gray); border-block: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 28px 0; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: #fff; display: block; box-shadow: var(--shadow-sm); transition: all .2s ease; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: #c9d6e0; text-decoration: none; }
.card h3 { margin-top: 0; font-size: 16px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- planos ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin: 28px 0; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 26px; background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan ul { list-style: none; margin: 14px 0 20px; padding: 0; flex: 1; }
.plan li { padding-left: 24px; position: relative; font-size: 15px; color: #33414f; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--emerald); font-weight: 800; }
.plan.popular { border-color: var(--teal); box-shadow: var(--shadow-lg); }
.plan .price { font-size: 34px; font-weight: 800; color: var(--blue); margin: 10px 0; letter-spacing: -.03em; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.badge { display: inline-block; background: var(--grad-primary); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 11px; border-radius: 999px; margin-bottom: 8px; }

/* ---------- chamada, pill, formulário ---------- */
.cta { background: var(--grad-primary); color: #fff; border-radius: 20px; padding: 44px 32px; text-align: center; margin: 44px 0; box-shadow: var(--shadow-lg); }
.cta h2 { color: #fff; margin: 0 0 8px; }
.cta p { color: #d5eef0; margin-bottom: 20px; }
.cta .btn-primary { background: #fff; color: var(--blue); box-shadow: 0 8px 22px -8px rgba(0,0,0,.5); }
.cta a:not(.btn) { color: #d5eef0; border-bottom: 1px solid rgba(255,255,255,.4); }
.pill {
  display: inline-block; font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px; text-transform: uppercase; letter-spacing: .18em;
  color: var(--teal-dark); background: rgba(0,166,166,.1);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.note { font-size: 13.5px; color: #6a5a3a; background: #fff8e6; border-left: 3px solid var(--amber); padding: 12px 16px; border-radius: 8px; margin: 16px 0; }

form.calc { border: 1px solid var(--line); border-radius: 16px; padding: 8px 22px 22px; margin: 20px 0; background: #fff; box-shadow: var(--shadow-sm); }
.calc fieldset { border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin: 16px 0; background: #fff; box-shadow: var(--shadow-sm); }
.calc label { display: block; font-weight: 600; font-size: 14px; margin: 12px 0 5px; color: var(--blue); }
.calc .hint { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 2px; }
.calc input, .calc select { width: 100%; min-height: 44px; padding: 11px; border: 1px solid #cfd6dd; border-radius: 10px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; }
.calc input:focus, .calc select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,166,166,.15); }
.result { background: var(--gray); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-top: 16px; }
.result[hidden] { display: none; }
.result .big { font-size: 30px; font-weight: 800; color: var(--blue); letter-spacing: -.02em; }
.result dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin-top: 14px; font-size: 14.5px; }
.result dt { color: var(--muted); }
.result dd { margin: 0; color: var(--blue); font-weight: 600; }
.result .memo { white-space: pre-wrap; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin-top: 14px; font-size: 13.5px; color: #33414f; }
.error { color: #b3261e; font-size: 14px; margin-top: 10px; }

/* ---------- tabelas ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin: 20px 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14.5px; }
th, td { border-bottom: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
th { background: var(--gray); color: var(--blue); font-weight: 700; }
tbody tr:last-child td { border-bottom: none; }

/* ---------- rodapé ---------- */
footer { border-top: 1px solid var(--line); background: var(--blue-deep); color: #9db2c4; padding: 40px 28px 28px; font-size: 13.5px; }
.foot-inner { max-width: 1140px; margin: 0 auto; display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.foot-brand img { width: 32px; height: 32px; object-fit: contain; }
footer nav { display: flex; flex-direction: column; gap: 7px; }
footer a { color: #bcd0de; }
footer a:hover { color: #fff; }
.foot-col b { display: block; color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.foot-bottom { max-width: 1140px; margin: 28px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: #7f97ab; }

@media (max-width: 860px) {
  .hero-inner { padding: 64px 24px 72px; }
  .wrap { padding: 40px 20px; }
}
