/* ═══════════════════════════════════════════════════════════════
   NewPDV — Design system "clara" (LP inteira)
   Fonte da verdade do shell: base, quality floor, nav (.npcm-*),
   cards (.npc-*), forms, FAQ, footer, marquee, atributos data-*.
   Carregado por layouts/clara.blade.php DEPOIS do stack 'vendor',
   então vence bootstrap e afins nos estilos de base.
   ═══════════════════════════════════════════════════════════════ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Geist', system-ui, sans-serif; background: #F6F9F8; color: #122522; -webkit-font-smoothing: antialiased; }
::selection { background: #BEE99C; color: #143318; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
/* compat: quando o bootstrap está no stack 'vendor' (páginas ftr-*),
   alinha o .container à coluna clara (nav/footer usam 1200px) */
.container { max-width: 1200px; }

@keyframes pulseDot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.72); } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

[data-reveal] { transform: translateY(28px); transition: transform .85s cubic-bezier(.16,1,.3,1); }
[data-reveal].in { transform: none; }

/* ── piso de qualidade ── */
/* âncoras (#precos, #demo, #faq…) não somem sob a nav sticky */
[id] { scroll-margin-top: 84px; }
/* navegação por teclado sempre visível */
:focus-visible { outline: 2px solid #4E9E33; outline-offset: 2px; border-radius: 4px; }
/* títulos de seção sem palavra órfã na quebra */
h2[data-h2] { text-wrap: balance; }
/* redução de movimento vale para a página inteira, não só o hero */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .15s !important;
    }
    [data-reveal] { transform: none !important; }
}

/* ── estados :hover convertidos do atributo style-hover do mockup ── */
.npc-nav-link { transition: color .2s; }
.npc-nav-link:hover { color: #0D4F58; }
.npc-btn-primary { transition: background .2s; }
.npc-btn-primary:hover { background: #458C2D; }
.npc-btn-ghost { transition: background .2s; }
.npc-btn-ghost:hover { background: rgba(255,255,255,0.08); }
.npc-modulo-card { transition: all .3s; }
.npc-modulo-card:hover { border-color: rgba(13,79,88,0.3); box-shadow: 0 14px 34px rgba(13,79,88,0.1); transform: translateY(-3px); }
.npc-modulo-card:hover .npc-modulo-bar { opacity: 1; }
.npc-segmento-card { transition: all .3s; }
.npc-segmento-card:hover { box-shadow: 0 16px 38px rgba(13,79,88,0.13); transform: translateY(-3px); }
.npc-testi-card { transition: transform .3s, box-shadow .3s; }
.npc-testi-card:hover { transform: translateY(-3px); box-shadow: 0 20px 46px rgba(0,0,0,0.3); }
.npc-plan-card { transition: transform .3s, box-shadow .3s; }
.npc-plan-card:hover { transform: translateY(-4px); }
.npc-plan-cta { transition: background .2s, transform .2s; }
.npc-plan-cta--green:hover { background: #458C2D !important; }
.npc-plan-cta--teal:hover { background: #0A3E46 !important; }
@media (min-width: 961px) {
    .npc-plan-card--hi { transform: translateY(-10px); }
    .npc-plan-card--hi:hover { transform: translateY(-13px); }
}

/* ── form de demonstração (#demo) ── */
.npc-label { display: block; font-size: 12.5px; font-weight: 600; color: #46605B; margin: 0 0 6px; }
.npc-input {
    width: 100%; background-color: #F6F9F8; border: 1px solid rgba(18,37,34,0.12);
    border-radius: 12px; padding: 12px 15px; font: inherit; font-size: 14.5px; color: #122522;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.npc-input::placeholder { color: #9AACA7; }
.npc-input:focus {
    outline: none; background-color: #fff;
    border-color: rgba(13,79,88,0.55); box-shadow: 0 0 0 3px rgba(13,79,88,0.12);
}
select.npc-input {
    appearance: none; -webkit-appearance: none; padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2346605B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
}
textarea.npc-input { resize: vertical; min-height: 92px; }
.npc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 575px) { .npc-form-grid { grid-template-columns: 1fr; } }
.npc-whats-card { transition: transform .25s, box-shadow .25s; }
.npc-whats-card:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(46,107,28,0.18); }

/* ── FAQ (#faq) ── */
.npc-faq { border-bottom: 1px solid rgba(18,37,34,0.1); }
.npc-faq summary {
    display: flex; align-items: baseline; gap: 14px; list-style: none; cursor: pointer;
    padding: 19px 4px; font-size: 16.5px; font-weight: 600; color: #122522;
    transition: color .2s;
}
.npc-faq summary::-webkit-details-marker { display: none; }
.npc-faq summary:hover { color: #0D4F58; }
.npc-faq-num { flex: none; font-family: 'Geist Mono', monospace; font-size: 12.5px; font-weight: 600; color: #4E9E33; }
.npc-faq-q { flex: 1; }
.npc-faq-icon { flex: none; align-self: center; font-size: 20px; font-weight: 500; color: #4E9E33; line-height: 1; transition: transform .25s; }
.npc-faq[open] .npc-faq-icon { transform: rotate(45deg); }
.npc-faq-body { padding: 0 4px 20px 40px; font-size: 15px; line-height: 1.65; color: #5A716C; animation: npcFaqIn .3s ease; }
@keyframes npcFaqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 575px) {
    .npc-faq summary { font-size: 15px; padding: 16px 2px; gap: 10px; }
    .npc-faq-body { padding-left: 26px; }
}

/* ── footer completo ── */
.npc-foot-title { font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #0D4F58; margin: 0 0 14px; }
.npc-foot-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.npc-foot-list a { font-size: 14px; color: #5A716C; transition: color .2s; }
.npc-foot-list a:hover { color: #0D4F58; }
.npc-soc {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(18,37,34,0.14);
    color: #46605B; transition: all .2s;
}
.npc-soc:hover { background: #0D4F58; border-color: #0D4F58; color: #fff; transform: translateY(-2px); }

/* ── marquee de verbos ── */
.npc-marquee {
    overflow: hidden; position: relative;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.npc-marquee-track { display: flex; width: max-content; animation: npcMarquee 38s linear infinite; }
@keyframes npcMarquee { to { transform: translateX(-50%); } }
.npc-marquee-group { display: flex; align-items: center; }
.npc-marquee-item {
    display: inline-flex; align-items: center; gap: 22px; padding-right: 22px;
    font-size: 14px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
    color: #46605B; white-space: nowrap;
}
.npc-marquee-item::after { content: '✦'; font-size: 11px; color: #4E9E33; }
@media (prefers-reduced-motion: reduce) { .npc-marquee-track { animation: none; } }

/* ═══════════════ MENU (migrado da home antiga) — .npcm-* ═══════════════ */
.npcm-desktop { display: flex; align-items: center; gap: 26px; font-size: 14.5px; font-weight: 500; color: #46605B; }
.npcm-item > .npcm-link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 0; color: #46605B; transition: color .2s; cursor: pointer; }
.npcm-item > .npcm-link:hover, .npcm-item:focus-within > .npcm-link { color: #0D4F58; }
.npcm-caret { width: 12px; height: 12px; opacity: .65; transition: transform .25s; }
.npcm-item:hover .npcm-caret, .npcm-item:focus-within .npcm-caret { transform: rotate(180deg); }

/* painel full-width ancorado na barra sticky */
.npcm-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff;
    border-top: 1px solid rgba(18,37,34,0.06);
    border-bottom: 1px solid rgba(18,37,34,0.08);
    box-shadow: 0 34px 64px rgba(13,79,88,0.16);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(10px);
    transition: opacity .26s ease, transform .26s cubic-bezier(.2,.8,.2,1), visibility .26s;
    z-index: 90;
}
.npcm-item:hover > .npcm-panel,
.npcm-item:focus-within > .npcm-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
/* ponte invisível: evita fechar o painel no trajeto do mouse link→painel */
.npcm-panel::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.npcm-panel-in {
    max-width: 1200px; margin: 0 auto; padding: 28px 28px 24px;
    max-height: calc(100vh - 140px); overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: rgba(13,79,88,0.3) transparent;
}
.npcm-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; align-items: start; }
@media (max-width: 1100px) { .npcm-cols { grid-template-columns: repeat(3, 1fr); } }
.npcm-group {
    display: flex; align-items: baseline; gap: 8px; padding: 6px 10px; margin: 0 -10px 8px;
    border-radius: 10px; transition: background .2s;
}
.npcm-group:hover { background: rgba(13,79,88,0.06); }
.npcm-group:hover .npcm-group-arrow { opacity: 1; transform: translateX(2px); }
.npcm-tag {
    flex: none; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 999px; background: #E8F5DF; color: #2E6B1C; line-height: 1.2;
}
.npcm-group-title { font-size: 14px; font-weight: 700; color: #0D4F58; line-height: 1.3; }
.npcm-group-arrow { font-size: 12px; color: #4E9E33; opacity: 0; transform: translateX(-4px); transition: all .2s; }
.npcm-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1px; }
.npcm-list--split { display: block; column-count: 2; column-gap: 16px; }
.npcm-list--split li { break-inside: avoid; }
.npcm-list a {
    display: block; padding: 6px 10px; margin: 0 -10px; border-radius: 8px;
    font-size: 13px; font-weight: 500; color: #5A716C; line-height: 1.4;
    transition: background .15s, color .15s, padding-left .2s;
}
.npcm-list a:hover { background: rgba(13,79,88,0.05); color: #0D4F58; padding-left: 14px; }
.npcm-foot {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 0; background: #F6F9F8; border-top: 1px solid rgba(18,37,34,0.07);
    font-size: 13px; font-weight: 700; color: #0D4F58; transition: gap .2s, background .2s;
}
.npcm-foot:hover { gap: 13px; background: #EDF3F1; }
.npcm-foot svg { width: 13px; height: 13px; color: #4E9E33; }

/* burger + painel mobile */
.npcm-burger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 10px; border: 1px solid rgba(18,37,34,0.12);
    border-radius: 10px; background: #fff; cursor: pointer;
}
.npcm-burger span { display: block; height: 2px; border-radius: 2px; background: #0D4F58; transition: transform .25s, opacity .25s; }
.npcm-mobile {
    position: fixed; inset: 0; z-index: 300; background: #F6F9F8;
    overflow-y: auto; padding: 0 20px 34px;
    animation: npcmSlide .3s cubic-bezier(.2,.8,.2,1);
}
@keyframes npcmSlide { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.npcm-mobile-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid rgba(18,37,34,0.08); margin-bottom: 10px; }
.npcm-mobile-close { width: 42px; height: 42px; border: 1px solid rgba(18,37,34,0.12); border-radius: 10px; background: #fff; color: #0D4F58; font-size: 17px; cursor: pointer; }
.npcm-mobile > a, .npcm-mobile details > summary {
    display: block; padding: 15px 4px; font-size: 16.5px; font-weight: 600; color: #122522;
    border-bottom: 1px solid rgba(18,37,34,0.07); cursor: pointer;
}
.npcm-mobile details > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; }
.npcm-mobile details > summary::-webkit-details-marker { display: none; }
.npcm-mobile details > summary::after { content: '+'; font-size: 20px; color: #4E9E33; font-weight: 600; transition: transform .2s; }
.npcm-mobile details[open] > summary::after { transform: rotate(45deg); }
.npcm-mobile-sub { padding: 4px 0 10px 12px; }
.npcm-mobile-sub .npcm-sub-group { display: block; padding: 10px 4px 4px; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #0D4F58; }
.npcm-mobile-sub a { display: block; padding: 8px 4px; font-size: 14.5px; color: #5A716C; }
.npcm-mobile-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
@media (max-width: 960px) {
    .npcm-desktop { display: none !important; }
    .npcm-burger { display: flex; }
}


/* ── responsividade (do mockup + refinamentos mobile ≤575px) ── */
@media (max-width: 960px) {
    [data-col2] { grid-template-columns: 1fr !important; }
    [data-grid4] { grid-template-columns: 1fr 1fr !important; }
    [data-grid3] { grid-template-columns: 1fr 1fr !important; }
    [data-hide-sm] { display: none !important; }
    h1[data-h1] { font-size: 42px !important; }
    h2[data-h2] { font-size: 30px !important; }
}
@media (max-width: 575px) {
    [data-grid4], [data-grid3] { grid-template-columns: 1fr !important; }
    h1[data-h1] { font-size: 33px !important; }
    h2[data-h2] { font-size: 25px !important; }
    [data-pad-sm] { padding-left: 20px !important; padding-right: 20px !important; }
}
