/* =====================================================================
   MeuCRM Online — página de vendas
   Cores e fontes ficam nas variáveis abaixo.
   ===================================================================== */

@font-face { font-family: "Bricolage"; font-weight: 700; font-display: swap; src: url(../fonts/bricolage-grotesque-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Bricolage"; font-weight: 800; font-display: swap; src: url(../fonts/bricolage-grotesque-latin-800-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-700-normal.woff2) format("woff2"); }

:root {
    --azul: #0B5FE8;          /* azul da marca */
    --azul-escuro: #0848B4;
    --noite: #0A1F4D;         /* fundo das faixas escuras */
    --ceu: #19C6F2;           /* destaque */
    --tinta: #14213D;         /* texto principal */
    --cinza: #56627A;         /* texto secundário */
    --nevoa: #EEF4FF;         /* fundo claro azulado */
    --linha: #DCE4F2;
    --wa: #1FAF5A;            /* verde do WhatsApp (só nos botões dele) */
    --wa-escuro: #178A47;

    --titulo: "Bricolage", "Inter", system-ui, sans-serif;
    --texto: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --largura: 1180px;
    --gutter: clamp(18px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font: 400 17px/1.6 var(--texto); color: var(--tinta); background: #fff; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--titulo); line-height: 1.08; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; max-width: 22ch; }
h3 { font-size: clamp(22px, 2.2vw, 27px); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--azul); }
:focus-visible { outline: 3px solid var(--ceu); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.caixa { width: min(100% - 2 * var(--gutter), var(--largura)); margin-inline: auto; }
.caixa--estreita { width: min(100% - 2 * var(--gutter), 820px); }
section { padding-block: clamp(64px, 9vw, 120px); }
.intro { font-size: clamp(17px, 1.6vw, 19px); color: var(--cinza); max-width: 62ch; margin-top: 18px; }
.centro { text-align: center; margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
    font: 600 16px/1.2 var(--texto); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn--p { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.btn--g { min-height: 58px; padding: 16px 28px; font-size: 17px; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px rgba(31, 175, 90, .28); }
.btn--wa:hover { background: var(--wa-escuro); }
.btn--wa svg { width: 22px; height: 22px; }
.btn--linha { border-color: var(--tinta); color: var(--tinta); background: transparent; }
.btn--linha:hover { background: var(--tinta); color: #fff; }
.btn--branco { background: #fff; color: var(--noite); }
.btn--branco:hover { background: var(--nevoa); }

/* ---------- Topo ---------- */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.topo.rolou { border-bottom-color: var(--linha); }
.topo__in { width: min(100% - 2 * var(--gutter), var(--largura)); margin-inline: auto; display: flex; align-items: center; gap: 28px; height: 72px; }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinta); }
.marca img { width: 48px; height: auto; }
.marca__nome { font: 800 21px/1 var(--titulo); letter-spacing: -0.02em; }
.marca__nome b { color: var(--azul); }
.marca__nome span { font-weight: 700; }
.menu { display: flex; gap: 26px; margin-left: auto; }
.menu a { color: var(--tinta); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.menu a:hover { color: var(--azul); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 64px) 0; overflow: hidden; }
.hero__in { width: min(100% - 2 * var(--gutter), var(--largura)); margin-inline: auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center; }
.hero__texto { padding-bottom: clamp(24px, 5vw, 64px); }
.hero__para { font-weight: 600; color: var(--azul); margin-bottom: 16px; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; max-width: 13.5ch; }
.hero__sub { font-size: clamp(18px, 1.8vw, 20px); color: var(--cinza); margin-top: 22px; max-width: 46ch; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__fatos { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; font-weight: 500; color: var(--tinta); }
.hero__fatos li { display: flex; align-items: center; gap: 8px; }
.hero__fatos li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--nevoa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230B5FE8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.hero__foto { position: relative; align-self: end; display: grid; justify-items: center; }
.hero__nuvem { position: absolute; width: 124%; height: auto; bottom: -2%; left: 50%; transform: translateX(-50%); }
.hero__foto picture { position: relative; width: min(100%, 540px); }
.hero__foto img { filter: drop-shadow(0 30px 40px rgba(10, 31, 77, .25)); }

/* ---------- Desafio (faixa escura) ---------- */
.desafio { background: var(--noite); color: #fff; }
.desafio h2 { max-width: 24ch; }
.dores { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.dores li { padding: 26px 28px 30px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.dores li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.dores strong { display: block; font: 700 21px/1.2 var(--titulo); color: #fff; }
.dores span { display: block; margin-top: 8px; color: #B7C6E6; font-size: 16px; }

/* ---------- Fluxo ---------- */
.etapas { list-style: none; counter-reset: e; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.etapas::before { content: ""; position: absolute; top: 25px; left: 26px; right: 10%; height: 2px; background: linear-gradient(90deg, var(--azul), var(--ceu)); }
.etapas li { counter-increment: e; position: relative; padding-top: 70px; }
.etapas li::before {
    content: counter(e); position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center; background: #fff; border: 2px solid var(--azul); color: var(--azul); font: 800 20px/1 var(--titulo);
}
.etapas li:nth-child(4)::before { background: var(--azul); color: #fff; }
.etapas b { display: block; font: 700 21px/1.2 var(--titulo); }
.etapas span { display: block; margin-top: 6px; color: var(--cinza); font-size: 15.5px; }

/* ---------- Recursos (telas) ---------- */
.recursos { background: var(--nevoa); }
.recursos h2 { max-width: none; }
.tela { display: grid; grid-template-columns: 0.85fr 1.35fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(56px, 8vw, 104px); }
.tela--inv { grid-template-columns: 1.35fr 0.85fr; }
.tela--inv .tela__texto { order: 2; }
.tela__texto p { color: var(--cinza); margin-top: 14px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px; background: var(--azul) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.janela { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--linha); box-shadow: 0 30px 60px -20px rgba(10, 31, 77, .35); }
.janela__barra { display: block; height: 28px; background: #E6ECF6 radial-gradient(circle, #C4CFE1 4px, transparent 5px) 14px 50% / 16px 28px repeat-x; background-size: 16px 28px; background-position: 12px 0; background-repeat: no-repeat; }
.janela__barra { background: #E6ECF6; position: relative; }
.janela__barra::before { content: ""; position: absolute; left: 14px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: #C4CFE1; box-shadow: 14px 0 #C4CFE1, 28px 0 #C4CFE1; }
.papel { margin: 0; max-width: 560px; justify-self: center; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(10, 31, 77, .35); transform: rotate(-1.5deg); }

/* ---------- Equipe ---------- */
.tabela-rola { margin-top: 44px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.acesso { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 16px; }
.acesso th, .acesso td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--linha); }
.acesso thead th { font: 700 20px/1.2 var(--titulo); vertical-align: bottom; }
.acesso thead th small { display: block; font: 500 13.5px/1.4 var(--texto); color: var(--cinza); margin-top: 2px; }
.acesso tbody th { font-weight: 500; width: 40%; }
.acesso td { font-weight: 600; white-space: nowrap; }
.acesso td.sim { color: var(--azul); }
.acesso td.sim::before { content: "✓ "; }
.acesso td.nao { color: #8B96AB; font-weight: 500; }
.acesso thead th:nth-child(2) { color: var(--azul); }
.tres { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.tres li { color: var(--cinza); font-size: 16px; border-top: 3px solid var(--azul); padding-top: 16px; }
.tres b { display: block; color: var(--tinta); font: 700 19px/1.25 var(--titulo); margin-bottom: 6px; }

/* ---------- Celular ---------- */
.celular { background: var(--noite); color: #fff; overflow: hidden; }
.celular__in { display: grid; grid-template-columns: auto 1fr; gap: clamp(36px, 7vw, 96px); align-items: center; }
.celular .intro { color: #B7C6E6; }
.aparelho { width: 280px; border-radius: 40px; border: 11px solid #1D2C55; background: #1D2C55; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); max-height: 560px; }
.checks--claro li { color: #fff; }
.checks--claro li::before { background-color: var(--ceu); }

/* ---------- Ambiente ---------- */
.endereco { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; padding: 16px 24px; border-radius: 14px; background: var(--noite); color: #fff; font: 600 clamp(14px, 2vw, 22px)/1.2 var(--texto); max-width: 100%; }
.endereco span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.endereco svg { color: var(--ceu); }
.endereco em { font-style: normal; color: var(--ceu); font-weight: 800; }
.pilares { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.pilares li { color: var(--cinza); font-size: 16px; }
.pilares svg { width: 30px; height: 30px; color: var(--azul); margin-bottom: 14px; }
.pilares b { display: block; color: var(--tinta); font: 700 19px/1.25 var(--titulo); margin-bottom: 6px; }

/* ---------- Implantação ---------- */
.implantacao { background: var(--nevoa); }
.linha { list-style: none; counter-reset: l; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.linha li { counter-increment: l; padding: 0 18px 0 0; color: var(--cinza); font-size: 15.5px; }
.linha li::before { content: counter(l); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: var(--azul); color: #fff; font: 800 18px/1 var(--titulo); }
.linha b { display: block; color: var(--tinta); font: 700 19px/1.25 var(--titulo); margin-bottom: 4px; }
.nota { margin-top: 44px; padding: 20px 24px; border-left: 4px solid var(--azul); background: #fff; border-radius: 0 12px 12px 0; max-width: 70ch; }

/* ---------- Planos ---------- */
.planos { position: relative; }
.planos__in { position: relative; }
.planos__foto { position: absolute; right: -10px; top: -40px; width: 210px; pointer-events: none; }
.grade-planos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; align-items: stretch; position: relative; z-index: 1; }
.plano { display: flex; flex-direction: column; padding: 28px 24px; border: 1px solid var(--linha); border-radius: 22px; background: #fff; position: relative; }
.plano h3 { font-size: 26px; }
.plano__para { color: var(--cinza); font-size: 15px; margin-top: 4px; min-height: 2.6em; }
.preco { margin-top: 18px; font: 800 52px/1 var(--titulo); letter-spacing: -0.03em; display: flex; align-items: baseline; gap: 4px; }
.preco span { font-size: 20px; font-weight: 700; }
.preco small { font: 500 15px/1 var(--texto); color: var(--cinza); letter-spacing: 0; }
.preco--texto { font-size: 34px; }
.plano ul { list-style: none; padding: 18px 0 0; margin: 20px 0 24px; border-top: 1px solid var(--linha); display: grid; gap: 8px; font-size: 15.5px; flex: 1; }
.plano li { padding-left: 24px; position: relative; }
.plano li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 4px; background: linear-gradient(135deg, var(--azul), var(--ceu)); }
.plano .btn { width: 100%; }
.plano--destaque { border: 2px solid var(--azul); box-shadow: 0 30px 60px -24px rgba(11, 95, 232, .45); }
.selo { position: absolute; top: -14px; left: 24px; padding: 5px 14px; border-radius: 999px; background: var(--azul); color: #fff; font-size: 13px; font-weight: 700; }
.plano--escuro { background: var(--noite); border-color: var(--noite); color: #fff; }
.plano--escuro .plano__para, .plano--escuro li { color: #B7C6E6; }
.plano--escuro ul { border-color: rgba(255, 255, 255, .15); }
.planos__rodape { margin-top: 28px; color: var(--cinza); font-size: 15px; max-width: 80ch; }

/* ---------- Dúvidas ---------- */
.duvidas { background: var(--nevoa); }
.duvidas h2 { margin-bottom: 32px; }
details { border-bottom: 1px solid var(--linha); }
summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 700 19px/1.35 var(--titulo); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 2.5px solid var(--azul); border-bottom: 2.5px solid var(--azul); transform: rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
details p { padding: 0 0 22px; color: var(--cinza); max-width: 66ch; }

/* ---------- Chamada final ---------- */
.final { position: relative; color: #fff; overflow: hidden; padding-block: clamp(90px, 14vw, 170px); }
.final__fundo { position: absolute; inset: 0; }
.final__fundo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.final::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 31, 77, .15) 0%, rgba(10, 31, 77, .55) 45%, rgba(10, 31, 77, .92) 70%); }
.final__in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; margin-left: auto; padding-left: 52%; }
.final h2 { font-size: clamp(34px, 4.6vw, 54px); }
.final p { margin: 16px 0 30px; color: #DCE6FA; font-size: 19px; max-width: 34ch; }

/* ---------- Rodapé ---------- */
.rodape { background: #06142F; color: #9FB0D3; padding-block: 44px; font-size: 15px; }
.rodape__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.marca--claro { color: #fff; }
.marca--claro .marca__nome b { color: var(--ceu); }
.rodape__copy { margin-left: auto; text-align: right; line-height: 1.6; }


/* =====================================================================
   Responsivo
   ===================================================================== */
@media (max-width: 1080px) {
    .menu { display: none; }
    .topo__in .btn { margin-left: auto; }
    .grade-planos { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
    .planos__foto { display: none; }
    .pilares { grid-template-columns: repeat(2, 1fr); }
    .etapas, .linha { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
    .etapas::before { display: none; }
}
@media (max-width: 900px) {
    .hero__in { grid-template-columns: 1fr; gap: 8px; }
    .hero h1 { max-width: 16ch; }
    .hero__foto picture { width: min(86vw, 460px); }
    .hero__nuvem { width: 118%; }
    .dores { grid-template-columns: 1fr 1fr; }
    .dores li, .dores li:not(:nth-child(3n + 1)) { padding: 22px 22px 24px 0; border-left: 0; }
    .dores li:nth-child(2n) { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .14); }
    .tela, .tela--inv { grid-template-columns: 1fr; }
    .tela--inv .tela__texto { order: 0; }
    .tres { grid-template-columns: 1fr; gap: 20px; }
    .celular__in { grid-template-columns: 1fr; }
    .aparelho { width: 240px; margin-inline: auto; max-height: 480px; order: 2; }
    .final__in { padding-left: 0; }
    .final::after { background: linear-gradient(180deg, rgba(10, 31, 77, .25) 0%, rgba(10, 31, 77, .85) 55%, rgba(10, 31, 77, .95) 100%); }
    .final { padding-top: 240px; }
    .final__fundo img { object-position: 20% 0; height: 70%; }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    .topo__in { height: 64px; gap: 12px; }
    .marca img { width: 40px; }
    .marca__nome { font-size: 18px; }
    .topo__in .btn { padding: 8px 14px; font-size: 14px; min-height: 40px; }
    .hero__acoes .btn { width: 100%; }
    .dores { grid-template-columns: 1fr; }
    .dores li, .dores li:nth-child(2n) { padding: 20px 0; border-left: 0; }
    .etapas, .linha { grid-template-columns: 1fr; row-gap: 22px; }
    .etapas li { padding: 0 0 0 68px; min-height: 52px; }
    .linha li { padding: 0 0 0 56px; position: relative; min-height: 40px; }
    .linha li::before { position: absolute; left: 0; top: 0; margin: 0; }
    .grade-planos { grid-template-columns: 1fr; }
    .plano__para { min-height: 0; }
    .pilares { grid-template-columns: 1fr; gap: 24px; }
    .papel { transform: none; }
    .rodape__copy { margin-left: 0; }
}
@media (max-width: 380px) {
    .marca__nome span { display: none; }
}

/* ajustes de celular (v1.1) */
@media (max-width: 900px) {
    .final { padding-top: calc(62vw - 30px); padding-bottom: 72px; }
    .final__fundo { bottom: auto; height: 62vw; }
    .final__fundo img { height: 100%; object-position: 25% 30%; }
    .final::after { background: linear-gradient(180deg, rgba(10, 31, 77, 0) 0, rgba(10, 31, 77, 0) calc(62vw - 140px), var(--noite) calc(62vw - 10px), var(--noite) 100%); }
}
@media (max-width: 700px) {
    .tabela-rola { overflow: visible; }
    .acesso { min-width: 0; }
    .acesso thead { display: none; }
    .acesso tbody tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px 10px; padding: 16px 0; border-bottom: 1px solid var(--linha); }
    .acesso tbody th { grid-column: 1 / -1; width: auto; padding: 0 0 4px; border: 0; font-weight: 600; }
    .acesso td { padding: 0; border: 0; white-space: normal; font-size: 15px; }
    .acesso td::after { content: attr(data-rotulo); display: block; font: 500 12.5px/1.3 var(--texto); color: var(--cinza); }
    .acesso td.sim::before { content: "✓ "; }
}
@media (max-width: 600px) {
    .so-pc { display: none; }
    .endereco { padding: 14px 16px; gap: 8px; }
    .endereco svg { width: 18px; height: 18px; }
}

@media (max-width: 600px) { .rodape__copy { text-align: left; } }
