/*
 * Modelo Cristal — claro e tecnológico (herda a estrutura do Institucional).
 * Branco predominante; azul nos títulos, botões e ícones; cinza-azulado no texto de apoio.
 * Sora (geométrica, técnica) nos títulos e Public Sans no texto.
 * Vidro fosco só em lugares estratégicos: topo fixo, cartões da abertura, seletor e plano em destaque.
 * Fora disso, superfícies brancas com fio fino: leve para o celular.
 */
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
    --font-display: "Sora", "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --paper: #ffffff;
    --surface: #f5f8fc;
    --mist: #eef3fb;
    --line: #e2e8f1;
    --muted: #5b6678;
    --heading: color-mix(in srgb, var(--brand) 38%, #0b1730);
    --radius: 12px;
    --radius-lg: 22px;
    --glass: rgba(255, 255, 255, .62);
    --glass-strong: rgba(255, 255, 255, .8);
    --glass-edge: rgba(255, 255, 255, .85);
    --glass-blur: blur(16px) saturate(170%);
    --shadow-glass: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 50px -24px rgba(16, 42, 92, .28), 0 2px 6px -2px rgba(16, 42, 92, .08);
    --wrap: 1220px;
}
body { color: #263142; font-size: 1.0625rem; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 650; letter-spacing: -.03em; color: var(--heading); }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.08; }
.section-text, .page-intro, .lead-text { color: var(--muted); }
::selection { background: color-mix(in srgb, var(--brand) 22%, #fff); color: var(--heading); }
a { color: var(--brand); }

/* Botões: arredondados, azul sólido; o secundário é contorno cinza */
.btn { border-radius: 999px; font-weight: 600; letter-spacing: -.005em; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--brand) 85%, transparent); }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost, .btn-outline { background: #fff; border-color: var(--line); color: var(--heading); }
.btn-ghost:hover, .btn-outline:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); color: var(--brand-deep); background: #fff; }
.btn-large { min-height: 54px; padding-inline: 1.6em; }

/* ---------- Barra de atendimento ---------- */
.cx-topbar { background: var(--heading); color: rgba(255, 255, 255, .82); font-size: .84rem; }
.cx-topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.cx-topbar-text { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-topbar-links { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.cx-topbar-links a { display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; opacity: .9; }
.cx-topbar-links a:hover { opacity: 1; text-decoration: underline; }
.cx-topbar-links .icon { width: 15px; height: 15px; }
@media (max-width: 760px) { .cx-topbar { display: none; } }

/* ---------- Topo em vidro fosco ---------- */
.site-header.cx-header { background: rgba(255, 255, 255, .72); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-bottom: 1px solid rgba(226, 232, 241, .6); }
.site-header.cx-header.is-scrolled { background: rgba(255, 255, 255, .8); border-bottom-color: var(--line); box-shadow: 0 10px 30px -18px rgba(16, 42, 92, .25); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header.cx-header { background: #fff; } }
.brand-name { font-family: var(--font-display); font-weight: 700; letter-spacing: -.035em; color: var(--heading); }
.brand-mark { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #6aa8ff)); color: #fff; border-radius: 10px; }
.nav-link { color: #334055; font-weight: 500; }
.nav-link:hover { background: var(--mist); color: var(--heading); }
.nav-link[aria-current="page"], .nav-toggle[data-current] { background: var(--mist); color: var(--brand-deep); }
.nav-sub { background: rgba(255, 255, 255, .96); }
.cart-button { background: #fff; }
.cart-count { background: var(--brand); color: #fff; }

/* ---------- Abertura ---------- */
.cx-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 8vw, 120px); }
.cx-aura { position: absolute; inset: -20% -10% -10%; z-index: -1; pointer-events: none;
    background:
        radial-gradient(38% 46% at 78% 34%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 70%),
        radial-gradient(30% 40% at 96% 80%, rgba(120, 140, 170, .28), transparent 70%),
        radial-gradient(34% 40% at 58% 92%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
        linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.cx-aura::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(16, 42, 92, .1) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(60% 60% at 70% 45%, #000, transparent 75%); -webkit-mask-image: radial-gradient(60% 60% at 70% 45%, #000, transparent 75%); }
.cx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cx-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .8); font-size: .9rem; font-weight: 600; color: var(--heading); }
.cx-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent); }
.cx-hero-title { margin: 0; max-width: 15ch; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: 1.02; font-weight: 700; letter-spacing: -.045em; color: var(--heading); }
.cx-hero-text { max-width: 50ch; margin: 22px 0 0; font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.6; color: var(--muted); }
.cx-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.cx-hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 26px 0 0; padding: 0; list-style: none; font-size: .93rem; color: var(--muted); }
.cx-hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.cx-hero-trust .icon { width: 17px; height: 17px; color: var(--brand); }

/* Painel de vidro: um navegador e três avisos flutuando sobre a aura */
.cx-stage { position: relative; min-height: 440px; }
.cx-glass { background: var(--glass); border: 1px solid var(--glass-edge); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--shadow-glass); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .cx-glass { background: rgba(255, 255, 255, .94); } }
.cx-browser { position: absolute; inset: 24px 6% 56px 4%; border-radius: 20px; overflow: hidden; }
.cx-browser-bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-bottom: 1px solid rgba(16, 42, 92, .08); }
.cx-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(16, 42, 92, .14); }
.cx-browser-bar span { margin-left: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .7); font-size: .75rem; color: var(--muted); }
.cx-browser-body { display: grid; gap: 12px; padding: 26px 24px; }
.cx-sk { display: block; height: 10px; border-radius: 6px; background: rgba(16, 42, 92, .1); }
.cx-sk-title { height: 18px; width: 70%; background: color-mix(in srgb, var(--brand) 45%, rgba(16, 42, 92, .2)); }
.cx-sk-short { width: 55%; }
.cx-sk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.cx-sk-card { display: block; height: 74px; border-radius: 12px; background: rgba(255, 255, 255, .75); border: 1px solid rgba(16, 42, 92, .07); }
.cx-sk-button { display: block; width: 130px; height: 34px; margin-top: 6px; border-radius: 999px; background: var(--brand); opacity: .9; }
.cx-chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; font-size: .9rem; max-width: 280px; }
.cx-chip strong { display: block; color: var(--heading); font-weight: 650; font-size: .92rem; }
.cx-chip small { display: block; color: var(--muted); font-size: .82rem; }
.cx-chip-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 11px; background: color-mix(in srgb, var(--brand) 12%, #fff); color: var(--brand); }
.cx-chip-icon .icon { width: 20px; height: 20px; }
.cx-chip-icon.cx-ok { background: #e6f6ee; color: #178a4c; }
.cx-chip-pay { left: -4%; bottom: 18px; }
.cx-chip-bot { right: -2%; top: 0; }
.cx-chip-cloud { right: 2%; bottom: 96px; }

/* Entrada única ao carregar (respeita quem prefere menos movimento) */
@media (prefers-reduced-motion: no-preference) {
    .cx-hero-copy > * { animation: cx-rise .7s var(--ease) both; }
    .cx-hero-copy > :nth-child(2) { animation-delay: .06s; }
    .cx-hero-copy > :nth-child(3) { animation-delay: .12s; }
    .cx-hero-copy > :nth-child(4) { animation-delay: .18s; }
    .cx-hero-copy > :nth-child(5) { animation-delay: .24s; }
    .cx-browser { animation: cx-rise .9s .1s var(--ease) both; }
    .cx-chip-bot { animation: cx-rise .8s .35s var(--ease) both; }
    .cx-chip-cloud { animation: cx-rise .8s .5s var(--ease) both; }
    .cx-chip-pay { animation: cx-rise .8s .65s var(--ease) both; }
}
@keyframes cx-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
    .cx-hero-grid { grid-template-columns: 1fr; }
    .cx-stage { min-height: 360px; max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 560px) {
    .cx-hero { padding-top: 40px; }
    .cx-stage { min-height: 300px; }
    .cx-browser { inset: 18px 0 52px 0; }
    .cx-chip { padding: 9px 12px 9px 9px; font-size: .82rem; }
    .cx-chip-icon { width: 32px; height: 32px; }
    .cx-chip-cloud { display: none; }
    .cx-chip-bot { right: 0; top: -6px; }
    .cx-chip-pay { left: 0; bottom: 6px; }
    .cx-sk-card { height: 54px; }
    .cx-hero-actions .btn { width: 100%; }
}

/* ---------- Números: faixa clara logo abaixo da abertura ---------- */
.section-numbers { padding-block: 0; margin-top: calc(-1 * clamp(28px, 4vw, 56px)); position: relative; z-index: 2; }
.section-numbers > .wrap { padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: #fff; color: var(--heading); border: 1px solid var(--line); box-shadow: 0 24px 60px -36px rgba(16, 42, 92, .35); }
.section-numbers > .wrap::before { display: none; }
.section-numbers .number { border-left-color: var(--line); }
.number-value { font-family: var(--font-display); color: var(--brand); letter-spacing: -.04em; }
.number-label { color: var(--muted); }

/* ---------- Serviços ---------- */
.section-services { background: linear-gradient(180deg, #fff, var(--surface)); }
.card-service:not(.has-media) { border-radius: 20px; border-color: var(--line); background: #fff; padding: 28px 26px; }
.card-service:not(.has-media):hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: 0 22px 50px -30px rgba(16, 42, 92, .4); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 14px; background: var(--mist); color: var(--brand); }
.card-icon .icon { width: 24px; height: 24px; }
.card-service .card-title { font-size: 1.2rem; letter-spacing: -.025em; }
.card-service .card-title a { color: var(--heading); }
.card-more { color: var(--brand); font-weight: 600; }

/* ---------- Planos: o plano em destaque é o único cartão de vidro ---------- */
.section-plans { position: relative; isolation: isolate; background: var(--surface); }
.section-plans::before { content: ""; position: absolute; z-index: -1; inset: 10% 15% auto; height: 70%; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%); pointer-events: none; }
.plans-toggle { background: var(--glass); border-color: var(--glass-edge); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--shadow-glass); }
.plans-toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; box-shadow: none; }
.plan { border-radius: 22px; border-color: var(--line); background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.plan:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -36px rgba(16, 42, 92, .45); }
.plan-featured { background: var(--glass-strong); border: 1.5px solid color-mix(in srgb, var(--brand) 55%, #fff); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--shadow-glass), 0 30px 70px -30px color-mix(in srgb, var(--brand) 55%, transparent); }
.plan-badge { background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #6aa8ff)); }
.plan-name { color: var(--heading); }
.plan-amount { color: var(--heading); }
@media (min-width: 1100px) { .plans-4 { grid-template-columns: repeat(4, 1fr); } .plans-3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Produtos (sites e lojas prontas) ---------- */
.card-product { border-radius: 20px; }
.price-now { color: var(--heading); }

/* ---------- Etapas ---------- */
.step { background: #fff; border: 1px solid var(--line); }
.step-number { background: var(--brand); color: #fff; box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--brand) 90%, transparent); font-family: var(--font-display); }

/* ---------- Sobre ---------- */
.section-about { background: #fff; }

/* ---------- Depoimentos e perguntas ---------- */
.section-testimonials { background: var(--surface); }
.testimonial { border: 1px solid var(--line); box-shadow: none; }
.testimonial-initials { background: var(--mist); color: var(--brand-deep); }
.faq-item { border-color: var(--line); }
.faq-item summary { color: var(--heading); }

/* ---------- Chamada: o único bloco azul da página ---------- */
.section-cta { background: linear-gradient(135deg, var(--brand-deep), var(--brand) 70%, color-mix(in srgb, var(--brand) 70%, #6aa8ff)); }
.section-cta .cta-title { color: #fff; }
.section-cta .cta-text { color: rgba(255, 255, 255, .85); }
.btn-light { background: #fff; color: var(--brand-deep); border-radius: 999px; }

/* ---------- Páginas internas ---------- */
.page-hero { background: linear-gradient(180deg, var(--mist), #fff); }
.page-title { color: var(--heading); letter-spacing: -.04em; }
.prose h2, .prose h3 { color: var(--heading); }
.tag { background: var(--mist); color: var(--brand-deep); }
.buy-box { border-radius: 20px; }
.checkout-step, .order-box, .account-card, .account-box { border-radius: 20px; }
.checkout-summary { background: var(--mist); }

/* ---------- Rodapé claro ---------- */
.prefooter-panel { background: var(--mist); border: 1px solid var(--line); }
.prefooter-title { color: var(--heading); }
.site-footer { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.site-footer a { color: #334055; }
.site-footer a:hover { color: var(--brand); }
.footer-heading, .footer-name { color: var(--heading); }
.footer-bottom { border-color: var(--line); color: var(--muted); }
.site-footer .socials a { background: #fff; border: 1px solid var(--line); color: var(--heading); }

/* ---------- Menu do celular e carrinho em vidro ---------- */
@media (max-width: 980px) {
    .site-header.cx-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .97); }
}

/* ---------- Cartões de oferta (serviços e projetos sem foto) ---------- */
.card-offer { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.card-offer:hover { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: 0 22px 50px -30px rgba(16, 42, 92, .4); transform: translateY(-3px); }
.card-offer .card-icon { margin-bottom: 0; }
.card-offer .card-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 0; }
.card-offer .card-title { margin: 0; font-size: 1.2rem; }
.card-offer .card-title a { color: var(--heading); text-decoration: none; }
.card-offer .card-text { margin: 0; color: var(--muted); font-size: .97rem; }
.card-offer .feature-list { flex: 1; font-size: .93rem; }
.card-offer .card-add { margin-top: auto; justify-self: start; align-self: flex-start; }
.card-badge-inline { position: static; align-self: flex-start; }
.section-products { background: #fff; }

/* ---------- Botão flutuante do WhatsApp em vidro claro ---------- */
.whats-float { background: rgba(255, 255, 255, .82); color: var(--heading); border-color: rgba(37, 211, 102, .45); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--shadow-glass); }
.whats-float:hover { color: var(--heading); box-shadow: var(--shadow-glass), 0 0 24px -6px rgba(37, 211, 102, .45); }
.whats-label small { color: var(--muted); }
.whats-go { color: #178a4c; }

/* ---------- Rodapé claro: contatos legíveis ---------- */
.site-footer .contact-info strong { color: var(--heading); }
.site-footer .contact-info .icon { color: var(--brand); }
.site-footer .contact-info, .site-footer .contact-info span { color: var(--muted); }
.site-footer .footer-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr); }
@media (max-width: 900px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sobre sem foto: painel dividido ---------- */
.cx-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: linear-gradient(135deg, var(--tint), #fff 70%); border: 1px solid var(--line); }
.cx-about .section-title { margin: 0; }
.cx-about .lead-text { margin-top: 0; }
@media (max-width: 820px) { .cx-about { grid-template-columns: 1fr; } }
.plan-amount { font-size: clamp(1.7rem, 2.4vw, 2.1rem); }

/* ---------- Celular: cartões de serviço compactos (ícone ao lado do título) ---------- */
@media (max-width: 640px) {
  .card-service:not(.has-media) { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 18px; }
  .card-service:not(.has-media) .card-icon { margin: 0; width: 44px; height: 44px; }
  .card-service:not(.has-media) .card-body { padding: 0; gap: 6px; }
  .card-service .card-title { font-size: 1.08rem; margin: 0; }
  .card-service .card-text { font-size: .93rem; margin: 0; }
  .card-service .card-more { display: none; }
  .grid-services, .section-services .grid { gap: 12px; }
  .card-offer { padding: 22px 20px; }
}
