/* Multistore — estilos do site público (mesmo visual do site Astro) */

@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(../fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --ink: #0b1b33;
  --ink-soft: #4a5a72;
  --brand: #0a4dff;
  --brand-dark: #0838b8;
  --accent: #ff7a00;      /* cor exclusiva dos CTAs */
  --accent-dark: #e06600;
  --ok: #12b76a;
  --line: #e3e9f2;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 27, 51, .08);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans Variable', 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
section { padding: 88px 0; }
.soft { background: var(--bg-soft); }
.dark { background: var(--ink); color: #fff; }
.dark p { color: #c5d0e0; }

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.2; font-weight: 800; letter-spacing: -.01em; margin-bottom: 14px; }
h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
p { color: var(--ink-soft); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); background: #e8efff; padding: 6px 12px; border-radius: 99px; margin-bottom: 16px; }
.center { text-align: center; }
.lead { font-size: 1.2rem; max-width: 640px; }
.center .lead { margin-inline: auto; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 28px; border-radius: 12px; font-weight: 700; font-size: 1rem; border: 0; cursor: pointer; transition: .2s; font-family: inherit; }
.btn-cta { background: var(--accent); color: var(--ink); box-shadow: 0 8px 20px rgba(255, 122, 0, .35); }
.btn-cta:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-wa { background: #15803d; color: #fff; }  /* verde escuro: contraste AA com texto branco */
.btn-wa:hover { background: #116b33; }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .2s; display: block; color: inherit; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: #c9d6ee; }
.icon { font-size: 2rem; margin-bottom: 12px; }
/* h2 com visual de h3 (mantém a ordem correta de títulos para acessibilidade) */
.h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; letter-spacing: 0; line-height: 1.4; }
.check { list-style: none; display: grid; gap: 10px; margin: 18px 0; }
.check li::before { content: '✓'; color: var(--ok); font-weight: 800; margin-right: 10px; }
.x li::before { content: '✕'; color: #e5484d; }
.more { display: inline-block; margin-top: 14px; color: var(--brand); font-weight: 700; }
.mt40 { margin-top: 40px; }
.mt48 { margin-top: 48px; }

.prose h2 { font-size: 1.6rem; margin: 32px 0 10px; }
.prose p, .prose li { margin-bottom: 12px; color: var(--ink-soft); }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 12px; }
.prose h3 { margin: 24px 0 8px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose img { border-radius: 12px; margin: 16px 0; height: auto; }
.prose figure { margin: 20px 0; }
.prose figcaption { font-size: .9rem; color: var(--ink-soft); text-align: center; }
.prose blockquote { border-left: 4px solid var(--brand); padding: 4px 0 4px 16px; margin: 16px 0; color: var(--ink); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; margin: 16px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }

@media (max-width: 720px) { section { padding: 60px 0; } }

/* ---------------------------------------------------------------- Cabeçalho */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hd .row { display: flex; align-items: center; gap: 28px; height: 72px; }
.hd .logo { font-weight: 800; font-size: 1.25rem; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.hd .logo .marca-m { height: 36px; width: auto; }
.hd .logo .logo-proprio { width: auto; max-width: min(240px, 50vw); object-fit: contain; }
.hd nav { display: flex; gap: 24px; margin-left: auto; }
.hd nav a { color: var(--ink-soft); font-weight: 600; font-size: .95rem; }
.hd nav a:hover { color: var(--brand); }
.hd .sm { padding: 11px 18px; font-size: .9rem; }
.hd .burger { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }
@media (max-width: 900px) {
  .hd nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; border-bottom: 1px solid var(--line); }
  .hd nav.open { display: flex; }
  .hd .burger { display: block; }
  .hd .sm { margin-left: auto; }
}
@media (max-width: 480px) { .hd .sm { display: none; } .hd .burger { margin-left: auto; } }

/* ---------------------------------------------------------------- Rodapé */
.ft-site { padding: 64px 0 24px; }
.ft-site .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.ft-site .brand { font-size: 1.3rem; display: block; margin-bottom: 10px; }
.ft-site .ft { font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; margin-bottom: 12px; }
.ft-site a { display: block; color: #c5d0e0; margin-bottom: 8px; font-size: .95rem; }
.ft-site a:hover { color: #fff; }
.ft-site a.inline { display: inline; text-decoration: underline; text-underline-offset: 3px; }
.ft-site p { font-size: .95rem; margin-bottom: 8px; }
.ft-site .copy { border-top: 1px solid #22324d; margin-top: 40px; padding-top: 20px; font-size: .85rem; color: #8a99b2; }
@media (max-width: 800px) { .ft-site .cols { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- Botão flutuante do WhatsApp */
.wf { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: .2s; }
.wf:hover { transform: scale(1.08); }

/* ---------------------------------------------------------------- Formulário de demonstração */
.lf { background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 20px 50px rgba(11,27,51,.14); display: grid; gap: 14px; color: var(--ink); scroll-margin-top: 96px; }
.lf .sub { font-size: .95rem; margin-top: -6px; }
.lf label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.lf input, .lf select { font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
.lf input:focus, .lf select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px #e8efff; }
.lf .full { width: 100%; justify-content: center; margin-top: 6px; }
.lf small { color: var(--ink-soft); font-size: .8rem; text-align: center; }
.lf .erro { background: #fdecec; color: #b42318; border-radius: 10px; padding: 10px 12px; font-size: .9rem; }

/* ---------------------------------------------------------------- Início (hero, logos, segmentos, passos) */
.hero { background: radial-gradient(1200px 500px at 80% -10%, #dfe8ff, transparent), var(--bg); padding: 72px 0 64px; }
.hero .hgrid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero .hl { color: var(--brand); }
.hero .lead { margin-top: 18px; }
.hero .trust { display: flex; gap: 32px; margin-top: 28px; flex-wrap: wrap; }
.hero .trust strong { display: block; font-size: 1.7rem; font-weight: 800; }
.hero .trust span { color: var(--ink-soft); font-size: .88rem; }
@media (max-width: 900px) { .hero .hgrid { grid-template-columns: 1fr; } }

.logos { display: flex; gap: 40px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 28px 0; color: #5b6a82; }
.logos b { font-size: 1.15rem; color: #5b6a82; }

.segc { display: flex; gap: 20px; align-items: flex-start; padding: 32px; }
.segc .icon { font-size: 2.6rem; line-height: 1; flex-shrink: 0; }
.segc h3 { font-size: 1.35rem; }
.tambem { margin-top: 32px; text-align: center; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; align-items: center; }
.tambem a { font-weight: 600; }
@media (max-width: 900px) { .segc { flex-direction: column; gap: 8px; padding: 28px; } }

.steps b { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 14px; }

/* ---------------------------------------------------------------- Depoimentos */
.depo .stars { color: #f5a524; letter-spacing: 2px; margin-bottom: 10px; }
.depo blockquote { font-size: 1.08rem; color: var(--ink); margin-bottom: 14px; }
.depo figcaption { color: var(--ink-soft); font-size: .92rem; }

/* ---------------------------------------------------------------- Perguntas frequentes */
.faq .narrow { max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin-top: 12px; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin-top: 12px; }

/* ---------------------------------------------------------------- CTA final */
.cta { background: linear-gradient(135deg, #0b1b33, #0a3cc2); }
.cta .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }

/* ---------------------------------------------------------------- Vídeo */
.video .narrow-v { max-width: 900px; }
.video .yt, .video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; margin-top: 32px; border: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video .yt { position: relative; padding: 0; cursor: pointer; background: #000; }
.video .yt img { width: 100%; height: 100%; object-fit: cover; }
.video .play { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .2s; }
.video .yt:hover .play, .video .yt:focus-visible .play { transform: scale(1.12); }

/* ---------------------------------------------------------------- Mapa */
.mapa .mgrid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.mapa address { font-style: normal; margin: 20px 0; line-height: 1.8; color: var(--ink-soft); }
.mapa address strong { color: var(--ink); }
.mapa .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.mapa iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: #e8eef7; }
@media (max-width: 900px) { .mapa .mgrid { grid-template-columns: 1fr; } .mapa iframe { height: 320px; } }

/* ---------------------------------------------------------------- Páginas de módulo / segmento / cidade */
.lh { padding: 56px 0 72px; background: radial-gradient(900px 400px at 90% 0, #e3ebff, transparent); }
.lh .lgrid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.lh .bc { font-size: .85rem; color: var(--ink-soft); margin-bottom: 18px; }
.lh .lead { margin: 16px 0; }
.lh .sticky { position: sticky; top: 96px; }
@media (max-width: 900px) { .lh .lgrid { grid-template-columns: 1fr; } .lh .sticky { position: static; } }

.ds { margin: 8px 0 40px; }
.ds h2 { font-size: 1.6rem; margin-bottom: 18px; }
.ds ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ds .item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.ds .dor, .ds .sol { display: flex; gap: 10px; align-items: baseline; margin: 0; }
.ds .dor { color: var(--ink); }
.ds .dor span { color: #e5484d; font-weight: 800; }
.ds .sol { margin-top: 8px; color: var(--ink-soft); }
.ds .sol span:first-child { color: var(--ok); font-weight: 800; }
.ds .mod { display: inline-block; margin: 10px 0 0 24px; font-weight: 700; font-size: .92rem; }

.usam { margin-top: 32px; }
.outros { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.outros h2 { font-size: 1.1rem; margin: 0 0 12px; }
.outros p { display: flex; flex-wrap: wrap; gap: 8px 16px; }

/* ---------------------------------------------------------------- Blog */
.post { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.post aside { position: sticky; top: 96px; }
.post .capa { border-radius: 16px; margin: 16px 0 8px; width: 100%; height: auto; }
.post .cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.post .cats a { font-size: .8rem; font-weight: 700; background: #e8efff; padding: 4px 10px; border-radius: 99px; }
@media (max-width: 900px) { .post { grid-template-columns: 1fr; } .post aside { position: static; } }
.card-img { border-radius: 12px; margin-bottom: 14px; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------------------------------------------------------------- Texto livre */
.texto .narrow { max-width: 820px; }

/* ---------------------------------------------------------------- Aviso de pré-visualização (painel) */
.previa-aviso { position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 100; background: #0b1b33; color: #fff; padding: 10px 18px; border-radius: 99px; font-size: .9rem; box-shadow: var(--shadow); }
.previa-aviso a { color: #9db8ff; margin-left: 10px; }
