/* =========================================================================
   Site público — as cores, fontes e cantos vêm de variáveis geradas pelo
   painel (Aparência). Não edite as cores aqui: use o painel.
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary-ring); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 800px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: var(--radius-sm); z-index: 2000; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* ---------------------------------------------------------------- botões */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 22px; border-radius: var(--radius-btn); border: 2px solid transparent;
    font-weight: 700; font-size: .975rem; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s;
    white-space: nowrap;
}
.btn-sm { padding: 8px 16px; font-size: .875rem; }
.btn-lg { padding: 15px 28px; font-size: 1.04rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-dark); color: var(--on-primary); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-dark); color: var(--on-accent); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--on-primary); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--secondary); border-color: #fff; }

/* ---------------------------------------------------------------- marca */
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--on-header); flex-shrink: 0; }
.logo-img { max-height: 46px; width: auto; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; }
.wordmark-mark {
    width: 40px; height: 40px; border-radius: var(--radius-sm); background: var(--primary); color: var(--on-primary);
    display: grid; place-items: center; font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem;
}
.wordmark-text { font-family: var(--font-heading); font-weight: 800; font-size: 1.22rem; letter-spacing: -0.02em; }
.brand-light { color: var(--on-footer); }

/* ---------------------------------------------------------------- cabeçalho */
.site-header {
    position: sticky; top: 0; z-index: 500; background: var(--header-bg); color: var(--on-header);
    transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(20, 10, 50, .35); }
.header-inner { display: flex; align-items: center; height: 78px; gap: 24px; }
.site-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 24px; }
.nav-list { list-style: none; margin: 0 auto; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a {
    display: inline-flex; align-items: center; gap: 5px; padding: 10px 13px; border-radius: var(--radius-sm);
    color: var(--on-header); font-weight: 700; text-decoration: none; font-size: .975rem;
}
.nav-item > a .bi { font-size: .7rem; transition: transform .2s; }
.nav-item > a:hover, .nav-item.is-current > a { color: var(--primary); }
.submenu-toggle { display: none; }
.submenu {
    list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 4px); left: 0; min-width: 250px;
    background: #fff; border-radius: var(--radius); box-shadow: 0 24px 50px -20px rgba(30, 10, 70, .35), 0 0 0 1px var(--line);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.submenu a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 600; font-size: .94rem; }
.submenu a:hover { background: var(--primary-tint); color: var(--primary); }
.nav-item.has-children:hover > .submenu, .nav-item.has-children:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.nav-item.has-children:hover > a .bi { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; }

/* ---------------------------------------------------------------- seções */
.section { padding: clamp(64px, 8vw, 104px) 0; position: relative; }
.bg-white { background: #fff; }
.bg-light { background: var(--bg-light); }
.bg-primary { background: var(--primary); color: var(--on-primary); }
.bg-dark { background: var(--secondary); color: var(--on-secondary); }
.section-head { max-width: 720px; margin: 0 auto 48px; }
.section-head.align-center { text-align: center; }
.section-head.align-left { margin-left: 0; text-align: left; }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 800; margin-bottom: .35em; }
.section-sub { font-size: 1.1rem; color: var(--muted); margin: 0; }
.bg-primary .section-sub, .bg-dark .section-sub { color: inherit; opacity: .82; }
.section-action { text-align: center; margin: 44px 0 0; }
.section-note { text-align: center; margin-top: 28px; color: var(--muted); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 0; }
.hero.bg-primary {
    background:
        radial-gradient(900px 520px at 88% 12%, var(--secondary-2), transparent 62%),
        linear-gradient(140deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--on-primary);
}
.hero.bg-dark { background: linear-gradient(150deg, var(--secondary) 0%, var(--secondary-2) 100%); }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; padding: 64px 0 150px; }
.hero-slide.has-bg {
    color: #fff;
    background-image: linear-gradient(90deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,.18) 42%, rgba(0,0,0,0) 65%), var(--slide-bg);
    background-size: cover, cover; background-position: center, right center; background-repeat: no-repeat;
}
.hero .has-bg .hero-badge { color: #fff; }
.hero .has-bg .btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.hero .has-bg .btn-ghost:hover { background: #fff; color: #111; border-color: #fff; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; min-height: 500px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px;
    border: 1.5px solid currentColor; font-weight: 700; font-size: .95rem; margin-bottom: 26px; opacity: .92;
}
.hero-title { font-size: clamp(2.3rem, 4.8vw, 4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 22px; max-width: 16ch; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 46ch; opacity: .9; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero.bg-white .btn-ghost, .hero.bg-light .btn-ghost { border-color: var(--primary); color: var(--primary); }
.hero.bg-white .btn-ghost:hover, .hero.bg-light .btn-ghost:hover { background: var(--primary); color: var(--on-primary); }
.hero.bg-white .hero-badge, .hero.bg-light .hero-badge { color: var(--primary); }
.hero-visual { position: relative; }
.hero-photo { width: 100%; max-height: 540px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); margin-left: auto; box-shadow: 0 40px 80px -40px rgba(10, 0, 30, .6); }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 84px; z-index: 2; display: flex; align-items: center; gap: 14px; }
.hero:has(.hero-slide.is-active.has-bg) .hero-controls { color: #fff; }
.hero-arrow {
    width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent;
    color: inherit; display: grid; place-items: center; cursor: pointer; opacity: .8;
}
.hero-arrow:hover { opacity: 1; background: rgba(255,255,255,.12); }
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: currentColor; opacity: .35; cursor: pointer; transition: width .25s, opacity .25s; }
.hero-dot.is-active { width: 32px; opacity: 1; }

/* painel ilustrativo do hero (aparece quando o banner não tem foto) */
.board { position: relative; height: 470px; max-width: 520px; margin-left: auto; color: var(--text); }
.board-main {
    position: absolute; inset: 44px 0 56px 56px; background: #fff; border-radius: var(--radius-lg); padding: 26px 26px 22px;
    box-shadow: 0 50px 90px -40px rgba(10, 0, 30, .65); display: flex; flex-direction: column;
}
.board-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--muted); font-size: .95rem; }
.board-bars { flex: 1; display: flex; align-items: flex-end; gap: 10px; padding: 22px 0 18px; }
.board-bars span { flex: 1; height: var(--h); background: var(--primary-soft); border-radius: 8px 8px 3px 3px; }
.board-bars span.on { background: var(--primary); }
.board-total { border-top: 1px solid var(--line); padding-top: 14px; }
.board-total small { display: block; color: var(--muted); font-size: .82rem; }
.board-total strong { font-family: var(--font-heading); font-size: 1.2rem; }
.board-chip {
    position: absolute; display: flex; align-items: center; gap: 12px; background: #fff; padding: 12px 18px 12px 12px;
    border-radius: var(--radius); box-shadow: 0 22px 44px -20px rgba(10, 0, 30, .55); min-width: 236px;
}
.board-chip strong { display: block; font-size: .93rem; line-height: 1.25; }
.board-chip small { color: var(--muted); font-size: .8rem; }
.chip-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }
.chip-ic.ok { background: #e2f6ea; color: #138a4b; }
.chip-1 { top: 0; left: 0; }
.chip-2 { top: 44%; right: -18px; }
.chip-3 { bottom: 0; left: 18px; }
.hero-slide.is-active .board-chip { animation: chip-in .55s cubic-bezier(.2, .8, .2, 1) both; }
.hero-slide.is-active .chip-2 { animation-delay: .15s; }
.hero-slide.is-active .chip-3 { animation-delay: .3s; }
@keyframes chip-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- números */
.section-stats.after-hero { padding-top: 0; }
.after-hero .stats-bar { margin-top: -64px; position: relative; z-index: 3; }
.stats-bar {
    list-style: none; margin: 0; padding: 30px 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    background: #fff; color: var(--text); border-radius: var(--radius-lg); box-shadow: 0 30px 60px -36px rgba(30, 10, 70, .45), 0 0 0 1px var(--line);
}
.stats-bar li { padding: 10px 24px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
.stats-bar li + li { border-left: 1px solid var(--line); }
.stat-ic { grid-row: span 2; width: 48px; height: 48px; border-radius: var(--radius); background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; font-size: 1.35rem; }
.stats-bar strong { font-family: var(--font-heading); font-size: 1.7rem; font-weight: 800; line-height: 1.1; color: var(--primary); }
.stats-bar span:last-child { color: var(--muted); font-size: .93rem; line-height: 1.35; }

/* ---------------------------------------------------------------- serviços */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px; }
.service-card {
    position: relative; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 28px 26px 24px; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s;
}
.service-card:hover { border-color: var(--primary); box-shadow: 0 24px 50px -34px var(--primary); }
.service-icon { width: 54px; height: 54px; border-radius: var(--radius); background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 20px; }
.service-card h3 { font-size: 1.16rem; font-weight: 800; margin-bottom: 8px; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.service-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.service-more { color: var(--primary); font-weight: 700; font-size: .93rem; display: inline-flex; align-items: center; }

/* ---------------------------------------------------------------- sobre */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.about-panel { background: var(--secondary); color: var(--on-secondary); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); }
.about-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 22px; }
.about-panel-title { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.about-panel p { opacity: .9; }
.about-hours { font-weight: 700; display: flex; gap: 8px; align-items: center; }
.about-copy .section-head { margin-bottom: 22px; }
.about-copy .btn { margin-top: 10px; }

/* listas com check (conteúdo editado no painel) */
.checklist ul { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.checklist ul li { position: relative; padding-left: 34px; }
.checklist ul li::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------------------------------------------------------------- como funciona */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; position: relative; counter-reset: none; }
.step { position: relative; padding-top: 4px; }
.step-num {
    width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: var(--on-primary);
    display: grid; place-items: center; font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem; position: relative; z-index: 1; margin-bottom: 18px;
}
.step:not(:last-child)::after {
    content: ""; position: absolute; top: 30px; left: 64px; right: -16px; border-top: 2px dashed var(--primary-soft);
}
.step-ic { display: block; color: var(--primary); font-size: 1.45rem; margin-bottom: 6px; }
.step h3 { font-size: 1.15rem; font-weight: 800; }
.step p { color: var(--muted); font-size: .96rem; }
.bg-primary .step-num, .bg-dark .step-num { background: var(--accent); color: var(--on-accent); }
.bg-primary .step p, .bg-dark .step p { color: inherit; opacity: .85; }

/* ---------------------------------------------------------------- planos */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; align-items: stretch; }
.plans-3, .plans-4 { max-width: 1120px; margin: 0 auto; }
.plan {
    position: relative; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 34px 30px 30px; display: flex; flex-direction: column;
}
.plan h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; }
.plan-desc { color: var(--muted); font-size: .95rem; min-height: 3em; }
.plan-price { margin: 6px 0 22px; display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.plan-price strong { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan-price span { color: var(--muted); font-weight: 600; }
.plan-features { list-style: none; margin: 0 0 28px; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; flex: 1; align-content: start; }
.plan-features li { display: flex; gap: 10px; font-size: .96rem; line-height: 1.45; }
.plan-features .bi { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.plan-badge { position: absolute; top: -14px; left: 30px; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: .82rem; padding: 6px 14px; border-radius: 999px; }
.plan.is-featured { background: var(--secondary); color: var(--on-secondary); border-color: var(--secondary); box-shadow: 0 40px 70px -40px var(--secondary); }
.plan.is-featured .plan-desc, .plan.is-featured .plan-price span { color: inherit; opacity: .78; }
.plan.is-featured .plan-features { border-color: rgba(255,255,255,.16); }
.plan.is-featured .plan-features .bi { color: var(--accent); }
@media (min-width: 980px) { .plan.is-featured { transform: translateY(-14px); } }

/* ---------------------------------------------------------------- depoimentos */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.testimonial { margin: 0; background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.stars { color: var(--accent-dark); display: flex; gap: 3px; margin-bottom: 14px; }
.testimonial blockquote { margin: 0 0 22px; flex: 1; font-size: 1.02rem; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial figcaption img, .avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar { background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; font-weight: 800; }
.testimonial figcaption strong { display: block; line-height: 1.2; }
.testimonial figcaption small { color: var(--muted); }

/* ---------------------------------------------------------------- chamada */
.section-cta { padding: clamp(40px, 6vw, 72px) 0; }
.cta-panel {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px);
    display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center;
}
.cta-panel.has-image { grid-template-columns: 1.3fr .7fr; }
.cta-panel.bg-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); }
.cta-panel.bg-light, .cta-panel.bg-white { border: 1px solid var(--line); }
.cta-panel::after {
    content: ""; position: absolute; right: -90px; bottom: -150px; width: 380px; height: 380px; border-radius: 50%;
    border: 56px solid currentColor; opacity: .06; pointer-events: none;
}
.cta-copy { position: relative; z-index: 1; max-width: 680px; }
.cta-panel h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
.cta-panel .rich, .cta-sub { font-size: 1.1rem; opacity: .9; margin-bottom: 26px; max-width: 56ch; }
.cta-img { border-radius: var(--radius); width: 100%; max-height: 340px; object-fit: cover; position: relative; z-index: 1; }

/* ---------------------------------------------------------------- FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.faq-intro .section-head { margin-bottom: 24px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item[open] { border-color: var(--primary-soft); box-shadow: 0 20px 40px -32px var(--primary); }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; font-size: 1.03rem;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .bi { color: var(--primary); transition: transform .2s; flex-shrink: 0; }
.faq-item[open] summary .bi { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 22px; color: var(--muted); }

/* ---------------------------------------------------------------- blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { position: relative; background: #fff; color: var(--text); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.post-thumb { display: block; aspect-ratio: 16 / 9; background: var(--primary-tint); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-thumb-ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--primary); font-size: 2.6rem; opacity: .7; }
.post-body { padding: 22px 24px 26px; }
.post-body time { font-size: .85rem; color: var(--muted); font-weight: 600; }
.post-body h3 { font-size: 1.2rem; font-weight: 800; margin: 6px 0 8px; }
.post-body h3 a { color: inherit; text-decoration: none; }
.post-body h3 a::after { content: ""; position: absolute; inset: 0; }
.post-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.post-card:hover h3 { color: var(--primary); }
.post-meta { color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.share { display: flex; align-items: center; gap: 10px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 700; }
.share a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-tint); text-decoration: none; }
.search-bar { display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 0 auto 40px; padding: 6px 6px 6px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.search-bar input { flex: 1; border: 0; outline: 0; padding: 8px 0; background: transparent; }
.search-bar .bi { color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--radius-sm); display: grid; place-items: center; text-decoration: none; font-weight: 700; border: 1px solid var(--line); color: var(--text); }
.pagination .current { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }

/* ---------------------------------------------------------------- contato */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 64px); align-items: start; }
.contact-info .section-head { margin-bottom: 26px; }
.contact-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-ic { width: 46px; height: 46px; border-radius: var(--radius); background: var(--primary-tint); color: var(--primary); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-list small { display: block; color: var(--muted); font-weight: 600; font-size: .82rem; }
.contact-list a, .contact-list span { color: inherit; text-decoration: none; font-weight: 700; }
.contact-list a:hover { color: var(--primary); }
.map iframe { width: 100%; height: 280px; border: 0; border-radius: var(--radius); }
.contact-card { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); box-shadow: 0 30px 70px -40px rgba(30, 10, 70, .45), 0 0 0 1px var(--line); }
.contact-card h3 { font-size: 1.45rem; font-weight: 800; margin-bottom: 4px; }
.contact-card-sub { color: var(--muted); margin-bottom: 22px; }

/* ---------------------------------------------------------------- formulários */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    background: #faf9fd; color: var(--text); font-size: .95rem; transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select {
    appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23716a85' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-ring); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #d0333b; }
.form-legal { font-size: .78rem; color: var(--muted); text-align: center; margin: 14px 0 0; }
.form-legal a { color: var(--primary); }
.form-feedback:empty { display: none; }
.form-feedback { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: .93rem; }
.form-feedback.is-success { background: #e3f6ec; color: #11613a; }
.form-feedback.is-error { background: #fdecee; color: #9b1c24; }
.lead-form.is-loading button { opacity: .6; pointer-events: none; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius-sm); margin: 20px auto; max-width: 1156px; font-weight: 600; }
.alert-success { background: #e3f6ec; color: #11613a; }
.alert-error { background: #fdecee; color: #9b1c24; }
.alert-warning, .alert-info { background: #fff6dc; color: #7a5600; }

/* ---------------------------------------------------------------- popup de captação */
.lead-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.lead-modal[hidden] { display: none; }
.lead-backdrop { position: absolute; inset: 0; background: rgba(18, 8, 40, .58); backdrop-filter: blur(3px); }
.lead-dialog {
    position: relative; width: min(980px, 100%);
    display: grid; grid-template-columns: .78fr 1.22fr; background: var(--primary); color: var(--on-primary);
    border-radius: var(--radius-lg); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .5);
    animation: modal-in .32s cubic-bezier(.2, .8, .2, 1);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.lead-side { padding: 38px 34px 0; display: flex; flex-direction: column; }
.lead-side h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.lead-side p { font-size: 1.08rem; opacity: .92; }
.lead-person { position: relative; margin-top: auto; padding-top: 18px; }
.lead-person img { width: 100%; max-height: 300px; object-fit: cover; object-position: top; border-radius: var(--radius) var(--radius) 0 0; }
.lead-tag {
    position: absolute; left: 16px; bottom: 16px; background: rgba(20, 10, 40, .72); color: #fff; padding: 8px 14px;
    border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,.25); line-height: 1.3; backdrop-filter: blur(4px);
}
.lead-tag strong { display: block; font-size: .85rem; }
.lead-tag span { font-size: .75rem; opacity: .85; }
.lead-illustration { position: relative; height: 210px; }
.li-doc {
    position: absolute; left: 6%; bottom: 0; width: 58%; height: 180px; background: #fff; border-radius: var(--radius) var(--radius) 0 0;
    padding: 24px 20px; display: grid; align-content: start; gap: 12px; box-shadow: 0 -10px 40px -20px rgba(0,0,0,.4);
}
.li-doc span { display: block; height: 10px; border-radius: 6px; background: var(--primary-soft); }
.li-doc span:nth-child(2) { width: 70%; }
.li-doc span:nth-child(3) { width: 85%; }
.li-doc .bi { position: absolute; right: 16px; bottom: 16px; font-size: 2rem; color: var(--primary); }
.li-doc-2 { left: 46%; width: 46%; height: 130px; transform: rotate(6deg); background: var(--accent); }
.li-doc-2 span { background: rgba(0,0,0,.12); }
.li-doc-2 .bi { color: var(--on-accent); }
.lead-main { position: relative; background: #fff; color: var(--text); margin: 12px; border-radius: var(--radius-lg); padding: 38px 34px 30px; }
.lead-main h3 { font-size: 1.3rem; font-weight: 800; text-align: center; margin-bottom: 2px; }
.lead-sub { text-align: center; color: var(--muted); margin-bottom: 22px; }
.lead-close { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg-light); cursor: pointer; display: grid; place-items: center; }
.lead-close:hover { background: var(--primary-soft); }
.lead-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-buttons .full { grid-column: 1 / -1; }
.lead-form .form-grid { gap: 12px; }

/* ---------------------------------------------------------------- cookies / WhatsApp */
.cookie-bar {
    position: fixed; left: 18px; bottom: 18px; z-index: 900; max-width: 360px; background: #fff; color: var(--text);
    padding: 18px 20px; border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgba(20, 10, 50, .45), 0 0 0 1px var(--line);
    font-size: .88rem; line-height: 1.5;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0 0 12px; }
.wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 800; width: 60px; height: 60px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.85rem; text-decoration: none;
    box-shadow: 0 16px 36px -12px rgba(18, 140, 70, .7);
}
.wa-float:hover { background: #1fbd5a; }

/* ---------------------------------------------------------------- páginas internas */
.page-hero {
    background: radial-gradient(700px 360px at 90% 0%, var(--secondary-2), transparent 60%), linear-gradient(140deg, var(--primary), var(--secondary));
    color: var(--on-primary); padding: 44px 0 60px;
}
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; margin-bottom: 18px; opacity: .85; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .bi { font-size: .7rem; }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.page-hero p { font-size: 1.12rem; max-width: 62ch; opacity: .9; margin: 0; }
.page-hero-icon { width: 60px; height: 60px; border-radius: var(--radius); background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 1.7rem; flex-shrink: 0; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: clamp(32px, 5vw, 56px); align-items: start; }
.content-cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 30px; }
.content-side { display: grid; gap: 22px; position: sticky; top: 100px; }
.side-card { background: var(--bg-light); border-radius: var(--radius-lg); padding: 26px; }
.side-card h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.side-card > p { color: var(--muted); font-size: .94rem; }
.side-card .form-grid { grid-template-columns: 1fr; }
.side-links { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 600; }
.side-links a:hover { background: #fff; color: var(--primary); }
.side-links .bi { color: var(--primary); }

/* texto rico vindo do editor */
.rich { font-size: 1.04rem; }
.rich h2 { font-size: 1.55rem; font-weight: 800; margin: 1.6em 0 .5em; }
.rich h3 { font-size: 1.25rem; font-weight: 800; margin: 1.4em 0 .4em; }
.rich h2:first-child, .rich h3:first-child { margin-top: 0; }
.rich ul:not(.checklist ul), .rich ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.rich li { margin-bottom: .35em; }
.rich img { border-radius: var(--radius); margin: 1.2em 0; }
.rich blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--primary); color: var(--muted); font-style: italic; }
.rich a { color: var(--primary); }
.bg-primary .rich a, .bg-dark .rich a { color: inherit; }
.rich .ql-align-center { text-align: center; }
.rich .ql-align-right { text-align: right; }

/* ---------------------------------------------------------------- rodapé */
.site-footer { background: var(--footer-bg); color: var(--on-footer); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand .logo-img { max-height: 44px; }
.footer-brand p { color: var(--footer-muted); margin: 20px 0; max-width: 36ch; font-size: .95rem; }
.footer-col h2 { font-size: 1rem; font-weight: 800; margin-bottom: 18px; letter-spacing: 0; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-col span { color: var(--footer-muted); text-decoration: none; font-size: .95rem; }
.footer-col a:hover { color: var(--on-footer); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .bi { color: var(--accent); margin-top: 3px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--on-footer); border: 1px solid rgba(255,255,255,.22); text-decoration: none; font-size: 1.05rem; }
.social a:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.footer-bottom { margin-top: 56px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: var(--footer-muted); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--footer-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--on-footer); }

/* ---------------------------------------------------------------- responsivo */
@media (max-width: 1100px) {
    .nav-toggle {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; margin-left: auto;
        border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: transparent; cursor: pointer; padding: 0 11px;
    }
    .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--on-header); transition: transform .2s, opacity .2s; }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .site-nav {
        position: fixed; top: 78px; left: 0; right: 0; bottom: 0; background: var(--header-bg); flex-direction: column;
        align-items: stretch; justify-content: flex-start; padding: 16px 22px 30px; overflow-y: auto; gap: 18px;
        transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s;
    }
    .site-nav.is-open { transform: none; visibility: visible; }
    .nav-list { flex-direction: column; align-items: stretch; margin: 0; gap: 0; }
    .nav-item { border-bottom: 1px solid var(--line); }
    .nav-item > a { padding: 15px 4px; font-size: 1.05rem; width: 100%; }
    .nav-item > a .bi { display: none; }
    .submenu-toggle { display: grid; place-items: center; position: absolute; right: 0; top: 6px; width: 42px; height: 42px; border: 0; background: var(--bg-light); border-radius: var(--radius-sm); cursor: pointer; }
    .nav-item.is-open .submenu-toggle .bi { transform: rotate(180deg); }
    .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; padding: 0 0 12px 8px; min-width: 0; background: transparent; }
    .nav-item.is-open .submenu { display: block; }
    .nav-actions { flex-direction: column; align-items: stretch; }
    body.nav-open { overflow: hidden; }
}
@media (max-width: 960px) {
    .hero-slide { padding: 44px 0 150px; }
    .hero-slide.has-bg { background-image: linear-gradient(rgba(0,0,0,.58), rgba(0,0,0,.58)), var(--slide-bg); background-position: center, 72% center; }
    .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 34px; }
    .hero-title { max-width: none; }
    .board { display: none; }
    .hero-photo { max-height: 340px; aspect-ratio: 16 / 10; }
    .about-grid, .faq-grid, .contact-grid, .content-grid, .cta-panel.has-image { grid-template-columns: 1fr; }
    .about-media img { aspect-ratio: 16 / 10; }
    .content-side { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-bar li + li { border-left: 0; }
    .step:not(:last-child)::after { display: none; }
    .lead-dialog { grid-template-columns: 1fr; }
    .lead-side { padding: 28px 26px 0; }
    .lead-person { display: none; }
    .lead-main { padding: 30px 22px 24px; }
}
@media (max-width: 600px) {
    .container { padding: 0 18px; }
    .header-inner { height: 70px; }
    .site-nav { top: 70px; }
    .logo-img { max-height: 38px; }
    .wordmark-text { font-size: 1.05rem; }
    .form-grid, .lead-buttons { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .stats-bar { grid-template-columns: 1fr 1fr; padding: 18px 6px; }
    .stats-bar li { padding: 12px 12px; grid-template-columns: 1fr; }
    .stat-ic { display: none; }
    .stats-bar strong { font-size: 1.35rem; }
    .lead-main h3 { font-size: 1.12rem; padding: 0 30px; }
    .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; }
    .wa-float { width: 54px; height: 54px; font-size: 1.6rem; bottom: 16px; right: 16px; }
    .cookie-bar:not([hidden]) ~ .wa-float { bottom: 150px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------------------------------------------------------------- popup: sempre inteiro na tela
   O formulário fica mais compacto conforme a altura da janela diminui.
   Em telas muito baixas o site.js reduz o popup proporcionalmente (zoom) para caber sem rolagem. */
.lead-modal { padding: 12px; }
.lead-dialog { overflow: hidden; }
.lead-dialog.is-scroll { overflow: auto; }
.lbl-short { display: none; }
@media (max-height: 800px) {
    .lead-side { padding: 30px 28px 0; }
    .lead-side h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
    .lead-side p { font-size: 1rem; }
    .lead-illustration { height: 170px; }
    .li-doc { height: 150px; }
    .li-doc-2 { height: 108px; }
    .lead-main { margin: 10px; padding: 24px 28px 16px; }
    .lead-main h3 { font-size: 1.15rem; }
    .lead-sub { margin-bottom: 14px; font-size: .93rem; }
    .lead-form .form-grid { gap: 9px 12px; margin-bottom: 12px; }
    .lead-form .field label { margin-bottom: 4px; font-size: .8rem; }
    .lead-form .field input, .lead-form .field select { padding: 9px 12px; }
    .lead-form .field select { padding-right: 36px; }
    .lead-buttons .btn { padding: 10px 14px; }
    .lead-form .form-legal { margin-top: 10px; }
    .lead-form .form-feedback { margin-top: 10px; padding: 9px 14px; }
    .lead-close { top: 12px; right: 12px; width: 34px; height: 34px; }
}
@media (max-height: 640px) {
    .lead-side { padding: 24px 24px 0; }
    .lead-side h2 { font-size: 1.55rem; }
    .lead-side p { font-size: .94rem; }
    .lead-illustration { height: 140px; }
    .li-doc { height: 124px; padding: 18px 16px; }
    .li-doc-2 { height: 90px; }
    .lead-main { margin: 8px; padding: 18px 24px 12px; }
    .lead-main h3 { font-size: 1.04rem; }
    .lead-sub { margin-bottom: 10px; font-size: .86rem; }
    .lead-form .form-grid { gap: 6px 12px; margin-bottom: 10px; }
    .lead-form .field label { font-size: .76rem; margin-bottom: 3px; }
    .lead-form .field input, .lead-form .field select { padding: 7px 11px; font-size: .9rem; }
    .lead-buttons .btn { padding: 8px 12px; font-size: .9rem; }
    .lead-form .form-legal { font-size: .72rem; margin-top: 8px; }
    .lead-form .form-feedback { margin-top: 8px; padding: 7px 12px; font-size: .86rem; }
}
/* tablet e celular: lado colorido vira um cabeçalho curto */
@media (max-width: 960px) {
    .lead-side { padding: 20px 22px 2px; }
    .lead-side h2 { font-size: 1.45rem; margin-bottom: 4px; }
    .lead-side p { font-size: .92rem; margin: 0 0 6px; }
    .lead-main { margin: 8px; padding: 20px 18px 14px; }
    .lead-main h3 { font-size: 1.02rem; padding: 0 36px; }
    .lead-sub { font-size: .86rem; margin-bottom: 12px; }
}
/* celular: campos em duas colunas para caber na altura da tela */
@media (max-width: 600px) {
    .lead-form .form-grid { grid-template-columns: 1fr 1fr; gap: 8px 10px; margin-bottom: 12px; }
    .lead-form .field.full { grid-column: 1 / -1; }
    .lead-form .field label { font-size: .74rem; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .lead-form .field input, .lead-form .field select { padding: 8px 9px; font-size: 16px; }
    .lead-form .field select { padding-right: 30px; background-position: right 10px center; }
    .lbl-long { display: none; }
    .lbl-short { display: inline; }
    .lead-buttons { grid-template-columns: 1fr 1fr; gap: 8px; }
    .lead-buttons .btn { padding: 10px 8px; font-size: .85rem; white-space: normal; line-height: 1.15; }
    .lead-form .form-legal { font-size: .7rem; margin-top: 8px; }
    .lead-close { top: 10px; right: 10px; }
}
