/* =========================================================
   SWMS — Site de vendas · Selfsys Sistemas Online
   Paleta extraída da logo: #6F42C1 (principal) / #4E1D81 (escuro)
   ========================================================= */

:root {
    --brand: #6F42C1;
    --brand-dark: #4E1D81;
    --brand-deeper: #37135e;
    --brand-soft: #f3eefb;
    --brand-soft-2: #e7dcf7;
    --ink: #221a33;
    --ink-soft: #5c5470;
    --line: #e8e3f1;
    --bg: #ffffff;
    --bg-alt: #f8f6fc;
    --green: #1e9e6a;
    --amber: #d98f00;
    --blue: #2f6fd6;
    --radius: 14px;
    --shadow-sm: 0 2px 10px rgba(52, 26, 96, .07);
    --shadow-md: 0 12px 40px rgba(52, 26, 96, .13);
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-head: 'Sora', 'Inter', system-ui, sans-serif;
}

* { -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--ink); }

::selection { background: var(--brand); color: #fff; }

/* ---------------------------------------------------------
   Botões
--------------------------------------------------------- */
.btn { border-radius: 10px; font-weight: 600; padding: .62rem 1.4rem; transition: all .18s ease; }
.btn-lg { padding: .8rem 1.7rem; font-size: 1rem; }

.btn-brand {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 6px 18px rgba(111, 66, 193, .35);
}
.btn-brand:hover, .btn-brand:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(111, 66, 193, .45);
}

.btn-ghost {
    background: transparent;
    color: var(--brand-dark);
    border: 1.5px solid var(--brand-soft-2);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

.btn-outline-brand {
    border: 1.5px solid var(--brand);
    color: var(--brand);
    background: transparent;
}
.btn-outline-brand:hover { background: var(--brand); color: #fff; }

.btn-light-solid {
    background: #fff;
    color: var(--brand-dark);
    border: none;
    font-weight: 700;
}
.btn-light-solid:hover { background: var(--brand-soft); color: var(--brand-deeper); transform: translateY(-2px); }

/* ---------------------------------------------------------
   Navbar
--------------------------------------------------------- */
#mainNav {
    padding: 1rem 0;
    background: transparent;
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
#mainNav.scrolled {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(52, 26, 96, .06);
    padding: .55rem 0;
}
#mainNav .navbar-brand img { display: block; }

#mainNav .nav-link {
    color: var(--ink-soft);
    font-weight: 500;
    padding: .5rem .9rem;
    border-radius: 8px;
}
#mainNav .nav-link:hover, #mainNav .nav-link.active { color: var(--brand-dark); }

#mainNav .navbar-toggler { border: none; font-size: 1.6rem; color: var(--brand-dark); box-shadow: none; }
.btn-nav { white-space: nowrap; }

@media (max-width: 991.98px) {
    #mainNav { background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--line); }
    #mainNav .navbar-collapse { padding: 1rem 0; }
    .btn-nav { margin-top: .5rem; display: inline-block; }
}

/* ---------------------------------------------------------
   Hero
--------------------------------------------------------- */
.hero {
    position: relative;
    padding: 10rem 0 6rem;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(111, 66, 193, .14), transparent 60%),
        radial-gradient(700px 420px at -10% 30%, rgba(78, 29, 129, .08), transparent 55%),
        var(--bg);
    overflow: hidden;
}
.hero-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(111, 66, 193, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(111, 66, 193, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 30%, transparent 75%);
    pointer-events: none;
}
.hero-illustration {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: min(52%, 400px);
    background: url('../img/hero-warehouse.svg') center bottom / auto 100% repeat-x;
    opacity: .35;
    -webkit-mask-image: linear-gradient(to top, #000 55%, transparent 100%);
    mask-image: linear-gradient(to top, #000 55%, transparent 100%);
    pointer-events: none;
}
.hero .container { position: relative; }
.hero-visual { position: relative; }

.hero h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.15rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 1.2rem;
}
.hero h1 .grad {
    background: linear-gradient(120deg, var(--brand) 20%, var(--brand-dark) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lead-text { font-size: 1.08rem; color: var(--ink-soft); max-width: 34rem; margin-bottom: 1.8rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.8rem; }

.hero-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.hero-checks li { color: var(--ink-soft); font-size: .93rem; display: flex; align-items: center; gap: .55rem; }
.hero-checks i { color: var(--green); font-size: 1rem; }

/* --- Ilustração do hero --- */
.hero-art {
    position: relative;
    z-index: 1;
}
.hero-art img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 720 / 540;
    border-radius: 26px;
    box-shadow: var(--shadow-md), 0 40px 90px rgba(52, 26, 96, .18);
}

/* --- Mockup do painel --- */
.mock-window {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.shadow-window { box-shadow: var(--shadow-md), 0 40px 90px rgba(52, 26, 96, .16); }

.mock-titlebar {
    display: flex; align-items: center; gap: 6px;
    background: #faf9fd;
    border-bottom: 1px solid var(--line);
    padding: 10px 14px;
}
.mock-titlebar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-titlebar > span:first-child { background: #f0b9b3; }
.mock-titlebar > span:nth-child(2) { background: #ecd9a4; }
.mock-titlebar > span:nth-child(3) { background: #b3d9bd; }
.mock-url {
    flex: 1; margin-left: 10px;
    background: #fff; border: 1px solid var(--line);
    border-radius: 6px; font-size: .68rem; color: var(--ink-soft);
    padding: 3px 10px;
}

.mock-body { display: flex; min-height: 320px; }
.mock-sidebar {
    width: 64px; background: var(--brand-deeper);
    padding: 14px 12px; display: flex; flex-direction: column; gap: 12px;
}
.mock-logo { height: 26px; border-radius: 7px; background: var(--brand); margin-bottom: 8px; }
.mock-navitem { height: 12px; border-radius: 6px; background: rgba(255,255,255,.16); }
.mock-navitem.active { background: rgba(255,255,255,.55); }

.mock-content { flex: 1; padding: 18px; background: #fdfcff; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.mock-kpi {
    background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px;
    box-shadow: var(--shadow-sm);
}
.mock-kpi small { display: block; color: var(--ink-soft); font-size: .62rem; margin-bottom: 2px; }
.mock-kpi strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--brand-dark); }
.mock-bar { height: 5px; background: var(--brand-soft); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.mock-bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-dark)); }

.mock-rows { display: grid; gap: 8px; }
.mock-row {
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--line);
    border-radius: 9px; padding: 9px 12px;
}
.mock-line { height: 8px; border-radius: 4px; background: #efecf6; }
.w-60 { width: 42%; } .w-50 { width: 34%; } .w-70 { width: 48%; }
.w-45 { width: 30%; } .w-25 { width: 16%; } .w-20 { width: 13%; } .w-15 { width: 10%; } .w-30 { width: 20%; }

.tag {
    font-size: .6rem; font-weight: 700; letter-spacing: .02em;
    padding: 3px 9px; border-radius: 100px; white-space: nowrap;
}
.tag-green { background: rgba(30,158,106,.12); color: var(--green); }
.tag-blue { background: rgba(47,111,214,.12); color: var(--blue); }
.tag-purple { background: var(--brand-soft); color: var(--brand); }
.tag-amber { background: rgba(217,143,0,.13); color: var(--amber); }

/* --- Cartões flutuantes --- */
.float-card {
    position: absolute;
    display: flex; align-items: center; gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 10px 16px;
    z-index: 2;
    animation: floaty 5s ease-in-out infinite;
}
.float-card i { font-size: 1.3rem; color: var(--brand); }
.float-card strong { display: block; font-size: .78rem; }
.float-card small { color: var(--ink-soft); font-size: .68rem; }
.float-card-1 { top: 6%; right: -6px; }
.float-card-2 { bottom: 8%; left: -10px; animation-delay: 2.5s; }

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@media (max-width: 991.98px) {
    .hero { padding: 8rem 0 4rem; }
    .float-card-1 { right: 4px; }
    .float-card-2 { left: 4px; }
}
@media (max-width: 575.98px) {
    .mock-kpis { grid-template-columns: 1fr 1fr; }
    .mock-kpi:last-child { display: none; }
    .float-card { display: none; }
}

/* ---------------------------------------------------------
   Faixa de números
--------------------------------------------------------- */
.stats-strip {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-deeper) 100%);
    padding: 2.4rem 0;
}
.stat strong {
    display: block;
    font-family: var(--font-head);
    color: #fff; font-size: 1.25rem; font-weight: 700;
    margin-bottom: .15rem;
}
.stat span { color: rgba(255,255,255,.72); font-size: .86rem; display: block; max-width: 230px; margin: 0 auto; }

/* ---------------------------------------------------------
   Seções — base
--------------------------------------------------------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 3.2rem; }
.section-head h2, .section h2 {
    font-size: clamp(1.6rem, 2.8vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -.015em;
    margin-bottom: .8rem;
}
.section-head p { color: var(--ink-soft); font-size: 1.02rem; margin: 0; }

.kicker {
    display: inline-block;
    color: var(--brand);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-bottom: .7rem;
}
.kicker-light { color: #cdb6f2; }

.section-lead { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 1.6rem; }

/* ---------------------------------------------------------
   Abas do ciclo
--------------------------------------------------------- */
.cycle-tabs { gap: .5rem; margin-bottom: 2.6rem; }
.cycle-tabs .nav-link {
    color: var(--ink-soft);
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 100px;
    font-weight: 600;
    padding: .6rem 1.5rem;
    display: inline-flex; align-items: center; gap: .5rem;
}
.cycle-tabs .nav-link i { font-size: 1.05rem; }
.cycle-tabs .nav-link:hover { border-color: var(--brand-soft-2); color: var(--brand-dark); }
.cycle-tabs .nav-link.active {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 18px rgba(111,66,193,.3);
}

.tab-intro {
    text-align: center;
    color: var(--ink-soft);
    font-size: .97rem;
    max-width: 700px;
    margin: -0.6rem auto 2rem;
}

.feature-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-soft-2); }
.fc-icon {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.04rem; margin-bottom: .5rem; }
.feature-card p { color: var(--ink-soft); font-size: .9rem; margin: 0; }

.cycle-extra { margin-top: 2rem; }
.mini-callout {
    display: flex; gap: 1rem;
    background: var(--brand-soft);
    border: 1px solid var(--brand-soft-2);
    border-radius: var(--radius);
    padding: 1.2rem 1.4rem;
    height: 100%;
}
.mini-callout i { font-size: 1.5rem; color: var(--brand); flex-shrink: 0; margin-top: .1rem; }
.mini-callout strong { display: block; margin-bottom: .2rem; font-family: var(--font-head); font-size: .98rem; }
.mini-callout p { margin: 0; color: var(--ink-soft); font-size: .89rem; }

/* ---------------------------------------------------------
   Telas do sistema (prints)
--------------------------------------------------------- */
.screen-shell {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.browser-frame {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md), 0 30px 70px rgba(52, 26, 96, .12);
}
.bf-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #faf9fd;
    border-bottom: 1px solid var(--line);
    padding: 10px 14px;
}
.bf-bar > span { width: 11px; height: 11px; border-radius: 50%; }
.bf-bar > span:nth-child(1) { background: #f0b9b3; }
.bf-bar > span:nth-child(2) { background: #ecd9a4; }
.bf-bar > span:nth-child(3) { background: #b3d9bd; }
.bf-url {
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 100px;
    font-size: .72rem;
    color: var(--ink-soft);
    padding: 3px 16px;
}

.browser-frame .carousel-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9; /* reserva a altura antes de carregar (evita salto no scroll) */
}
.tela-legenda {
    text-align: center;
    color: var(--ink-soft);
    font-size: .85rem;
    padding: .8rem 1rem;
    background: #faf9fd;
    border-top: 1px solid var(--line);
}

/* setas do carrossel */
.screen-shell .carousel-control-prev,
.screen-shell .carousel-control-next {
    width: 46px; height: 46px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 8px 22px rgba(111, 66, 193, .35);
    transition: transform .15s ease;
}
.screen-shell .carousel-control-prev { left: -23px; }
.screen-shell .carousel-control-next { right: -23px; }
.screen-shell .carousel-control-prev:hover,
.screen-shell .carousel-control-next:hover { transform: translateY(-50%) scale(1.08); color: #fff; }

/* indicadores (bolinhas) abaixo da moldura */
.telas-indicadores {
    position: static;
    margin: 1.1rem 0 0;
    justify-content: center;
    gap: .35rem;
}
.telas-indicadores button {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--brand-soft-2);
    border: none;
    opacity: 1;
}
.telas-indicadores button.active { background: var(--brand); }

/* slider do coletor: 2 celulares por página no desktop, 1 no mobile */
.coletor-shell {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
}
.coletor-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.coletor-slider::-webkit-scrollbar { display: none; }
.coletor-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 0 .8rem;
    text-align: center;
}
@media (min-width: 768px) {
    .coletor-slide { flex: 0 0 50%; }
}
.coletor-slide .phone-print { margin: 0 auto; }

.coletor-seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px; height: 46px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 8px 22px rgba(111, 66, 193, .35);
    transition: transform .15s ease;
    z-index: 5;
}
.coletor-seta:hover { transform: translateY(-50%) scale(1.08); }
.coletor-seta-prev { left: -23px; }
.coletor-seta-next { right: -23px; }
@media (max-width: 767.98px) {
    .coletor-seta-prev { left: 2px; }
    .coletor-seta-next { right: 2px; }
}

.slider-dots { display: flex; }

/* molduras de celular (coletor) */
.phone-print {
    border: 8px solid #241040;
    border-radius: 30px;
    overflow: hidden;
    background: #241040;
    box-shadow: var(--shadow-md);
    max-width: 250px;
    margin: 0 auto;
}
.phone-print img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 430 / 932; /* reserva a altura antes de carregar */
    border-radius: 22px;
}
#telas-coletor .tela-legenda {
    background: transparent;
    border-top: none;
    padding-top: .7rem;
}

@media (max-width: 767.98px) {
    .screen-shell .carousel-control-prev { left: 6px; }
    .screen-shell .carousel-control-next { right: 6px; }
}

/* clique para ampliar */
#telas .carousel-item img,
#telas .phone-print img { cursor: zoom-in; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(14, 6, 25, .93);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    padding: 2.5rem 1rem 1.5rem;
    animation: lightbox-surgir .18s ease;
}
.lightbox[hidden] { display: none; }
.lightbox img {
    max-width: 94vw;
    max-height: 82vh;
    border-radius: 10px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
    cursor: zoom-out;
}
.lightbox-legenda {
    color: #d9cfec;
    font-size: .9rem;
    text-align: center;
    max-width: 90vw;
}
.lightbox-fechar {
    position: absolute;
    top: 18px; right: 22px;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    color: #fff;
    font-size: 1.15rem;
    transition: background .15s ease;
}
.lightbox-fechar:hover { background: rgba(255, 255, 255, .22); }
body.lightbox-aberto { overflow: hidden; }

@keyframes lightbox-surgir {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---------------------------------------------------------
   Coletor (seção escura)
--------------------------------------------------------- */
.section-dark {
    background:
        radial-gradient(800px 400px at 90% 0%, rgba(111,66,193,.35), transparent 60%),
        linear-gradient(150deg, var(--brand-deeper) 0%, #241040 60%, var(--brand-deeper) 100%);
    color: #e9e2f7;
}
.section-dark h2 { color: #fff; }
.section-dark .section-lead { color: #c7bade; }

.chip {
    display: flex; align-items: center; gap: .6rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 10px;
    padding: .7rem 1rem;
    font-size: .88rem; font-weight: 500;
    color: #efe9fb;
    height: 100%;
}
.chip i { color: #b795ec; font-size: 1.05rem; }

.collector-note {
    margin: 1.6rem 0 0;
    display: flex; gap: .6rem;
    color: #c7bade; font-size: .88rem;
    border-left: 3px solid var(--brand);
    padding-left: 1rem;
}
.collector-note i { color: #b795ec; margin-top: .1rem; }

/* --- Ilustração do operador com coletor --- */
.coletor-art {
    max-width: 440px;
    margin: 0 auto;
}
.coletor-art img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 560 / 620;
}

/* --- Mockup do celular --- */
.phone-mock {
    width: 290px;
    margin: 0 auto;
    background: #14091f;
    border: 3px solid #3a2358;
    border-radius: 38px;
    padding: 12px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.phone-notch {
    position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    width: 110px; height: 22px;
    background: #14091f;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}
.phone-screen {
    background: #1d1230;
    border-radius: 28px;
    overflow: hidden;
    padding: 34px 14px 12px;
}
.phone-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: #8f7cae; }
.phone-title {
    font-family: var(--font-head);
    color: #fff; font-weight: 700; font-size: .92rem;
    margin-bottom: 12px;
}
.phone-task { display: grid; gap: 7px; margin-bottom: 14px; }
.pt-row {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 10px;
    padding: 9px 11px;
    font-size: .74rem;
}
.pt-row span { color: #8f7cae; width: 74px; flex-shrink: 0; }
.pt-row strong { color: #efe9fb; flex: 1; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-row .ok { color: #4ade80; }
.pt-row.active { border-color: var(--brand); background: rgba(111,66,193,.18); }
.pt-row.active .pulse { color: #b795ec; animation: pulse-ic 1.6s ease-in-out infinite; }
.pt-row.muted { opacity: .45; }
@keyframes pulse-ic { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.phone-progress small { color: #8f7cae; font-size: .68rem; display: block; margin-bottom: 5px; }
.phone-progress .mock-bar { background: rgba(255,255,255,.09); }

.phone-menu {
    display: flex; justify-content: space-between;
    margin-top: 14px; padding-top: 11px;
    border-top: 1px solid rgba(255,255,255,.09);
}
.phone-menu span {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    color: #8f7cae; font-size: .58rem;
}
.phone-menu span i { font-size: .95rem; }
.phone-menu span.on { color: #b795ec; }

/* ---------------------------------------------------------
   Apps Android / iOS
--------------------------------------------------------- */
.app-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.6rem;
    display: grid;
    gap: .9rem;
}
.app-points li {
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    font-size: .94rem;
    color: var(--ink-soft);
}
.app-points li i {
    flex-shrink: 0;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 1.1rem;
}
.app-points li strong { color: var(--ink); }

.store-badges { display: flex; flex-wrap: wrap; gap: .7rem; }
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    font-size: .92rem;
    padding: .6rem 1.3rem;
    border-radius: 12px;
}
.store-badge i { font-size: 1.15rem; }

.apps-art {
    max-width: 520px;
    margin: 0 auto;
}
.apps-art img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 720 / 560;
}

/* ---------------------------------------------------------
   Diferenciais
--------------------------------------------------------- */
.diff-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem;
    position: relative;
    transition: transform .2s ease, box-shadow .2s ease;
}
.diff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.diff-num {
    font-family: var(--font-head);
    font-size: .82rem; font-weight: 800;
    color: var(--brand);
    background: var(--brand-soft);
    border-radius: 8px;
    padding: .25rem .6rem;
    display: inline-block;
    margin-bottom: 1rem;
}
.diff-card h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.diff-card p { color: var(--ink-soft); font-size: .91rem; margin: 0; }

.diff-card-cta {
    background: linear-gradient(140deg, var(--brand) 0%, var(--brand-dark) 90%);
    border: none;
    color: #fff;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
.diff-card-cta h3 { color: #fff; }
.diff-card-cta p { color: rgba(255,255,255,.85); margin-bottom: 1.1rem; }

/* ---------------------------------------------------------
   Gestão / perfis
--------------------------------------------------------- */
.role-list {
    display: grid;
    grid-auto-rows: 1fr;
    gap: 1rem;
    height: 100%;
}
.role-item {
    display: flex; gap: 1rem; align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.15rem 1.3rem;
}
.role-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    display: grid; place-items: center;
    border-radius: 11px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 1.2rem;
}
.role-item strong { font-family: var(--font-head); display: block; margin-bottom: .15rem; }
.role-item p { margin: 0; color: var(--ink-soft); font-size: .89rem; }

.mgmt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 1rem;
    height: 100%;
}
.mgmt-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease;
}
.mgmt-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mgmt-card i { font-size: 1.5rem; color: var(--brand); display: block; margin-bottom: .7rem; }
.mgmt-card strong { font-family: var(--font-head); display: block; font-size: .96rem; margin-bottom: .3rem; }
.mgmt-card span { color: var(--ink-soft); font-size: .85rem; }

@media (max-width: 575.98px) { .mgmt-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   Para quem é
--------------------------------------------------------- */
.audience-card {
    height: 100%;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-soft-2); }
.audience-card i {
    font-size: 1.7rem;
    color: var(--brand);
    background: var(--brand-soft);
    width: 60px; height: 60px;
    display: inline-grid; place-items: center;
    border-radius: 16px;
    margin-bottom: 1.1rem;
}
.audience-card h3 { font-size: 1.02rem; margin-bottom: .5rem; }
.audience-card p { color: var(--ink-soft); font-size: .88rem; margin: 0; }

/* ---------------------------------------------------------
   Depoimentos
--------------------------------------------------------- */
.depo-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.depo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.depo-stars { color: var(--amber); font-size: .95rem; display: flex; gap: .2rem; margin-bottom: .9rem; }
.depo-texto {
    color: var(--ink);
    font-size: .93rem;
    margin-bottom: 1.4rem;
    flex: 1;
}
.depo-autor { display: flex; align-items: center; gap: .8rem; }
.depo-avatar {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .85rem;
}
.depo-autor strong { display: block; font-family: var(--font-head); font-size: .92rem; }
.depo-autor small { color: var(--ink-soft); font-size: .8rem; }

/* ---------------------------------------------------------
   API / Integração
--------------------------------------------------------- */
.section-api {
    background:
        radial-gradient(800px 400px at 10% 0%, rgba(111,66,193,.32), transparent 60%),
        linear-gradient(160deg, #241040 0%, var(--brand-deeper) 55%, #2c1548 100%);
    color: #e9e2f7;
}
.section-api h2 { color: #fff; }
.section-api .section-lead { color: #c7bade; }

.api-points { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .85rem; }
.api-points li { font-size: .93rem; color: #ddd3f0; display: flex; gap: .7rem; align-items: flex-start; }
.api-points li i { color: #b795ec; font-size: 1.05rem; margin-top: .1rem; }
.api-points li strong { color: #fff; }

.btn-ghost-light {
    background: transparent;
    color: #e9e2f7;
    border: 1.5px solid rgba(255,255,255,.28);
}
.btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }

.api-code {
    background: #170b26;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
.api-code-bar {
    display: flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 10px 16px;
}
.api-code-bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.api-code-bar em {
    font-style: normal;
    font-family: Consolas, Menlo, monospace;
    font-size: .78rem;
    color: #b795ec;
    margin-left: 8px;
}
.api-code pre {
    margin: 0;
    padding: 18px 20px;
    font-family: Consolas, Menlo, monospace;
    font-size: .82rem;
    line-height: 1.6;
    color: #d9d0ec;
    overflow-x: auto;
}
.api-code pre .ok { color: #4ade80; font-weight: 600; }

.mgmt-card a { color: var(--brand); font-weight: 600; }

/* ---------------------------------------------------------
   Planos
--------------------------------------------------------- */
.plan-card {
    position: relative;
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 2.1rem 1.8rem;
    display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.plan-card h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.plan-tag { color: var(--ink-soft); font-size: .87rem; margin-bottom: 1.1rem; }

.plan-price {
    display: flex; align-items: baseline; gap: .25rem;
    padding-bottom: 1.1rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px dashed var(--line);
}
.pp-from { color: var(--ink-soft); font-size: .8rem; margin-right: .15rem; }
.pp-currency { font-family: var(--font-head); font-weight: 700; color: var(--brand-dark); font-size: 1rem; }
.pp-value { font-family: var(--font-head); font-weight: 800; color: var(--brand-dark); font-size: 2.3rem; line-height: 1; letter-spacing: -.02em; }
.pp-period { color: var(--ink-soft); font-size: .9rem; }
.plan-card ul { list-style: none; padding: 0; margin: 0 0 1.7rem; display: grid; gap: .6rem; flex: 1; }
.plan-card ul li { font-size: .9rem; color: var(--ink); display: flex; gap: .6rem; align-items: flex-start; }
.plan-card ul li i { color: var(--green); margin-top: .1rem; }

.plan-featured {
    border: 2px solid var(--brand);
    box-shadow: 0 16px 50px rgba(111,66,193,.18);
}
.plan-badge {
    position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    font-size: .72rem; font-weight: 700; letter-spacing: .04em;
    padding: .3rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}

.plans-nota {
    text-align: center;
    color: var(--ink-soft);
    font-size: .9rem;
    margin: 1.8rem 0 0;
}
.plans-nota a { color: var(--brand); font-weight: 600; }

.model-box {
    margin-top: 2.6rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 2rem 2.2rem;
    box-shadow: var(--shadow-sm);
}
.model-box h3 {
    font-size: 1.15rem;
    margin-bottom: .4rem;
    color: var(--brand-dark);
}
.model-intro {
    color: var(--ink-soft);
    font-size: .93rem;
    margin-bottom: 1.4rem;
    max-width: 760px;
}
.model-card {
    height: 100%;
    background: var(--bg-alt);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.3rem;
}
.model-card i {
    display: block;
    font-size: 1.5rem;
    color: var(--brand);
    margin-bottom: .6rem;
}
.model-card strong {
    display: block;
    font-family: var(--font-head);
    font-size: .95rem;
    margin-bottom: .35rem;
}
.model-card span { color: var(--ink-soft); font-size: .85rem; }

.hosting-box {
    margin-top: 1.4rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 2rem 2.2rem;
    box-shadow: var(--shadow-sm);
}
.hosting-box h3 {
    font-size: 1.15rem;
    margin-bottom: .4rem;
    color: var(--brand-dark);
}
.hosting-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: .88rem;
    min-width: 640px;
}
.hosting-table th {
    background: var(--brand);
    color: #fff;
    font-family: var(--font-head);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: .7rem 1rem;
}
.hosting-table th:first-child { border-radius: 10px 0 0 0; }
.hosting-table th:last-child { border-radius: 0 10px 0 0; }
.hosting-table td {
    padding: .65rem 1rem;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    vertical-align: top;
}
.hosting-table td:first-child { border-right: 1px solid var(--line); }
.hosting-table tbody tr:nth-child(even) td { background: var(--bg-alt); }
.hosting-table tbody tr:last-child td { border-bottom: none; }

.includes-box {
    margin-top: 2.6rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 2rem 2.2rem;
    box-shadow: var(--shadow-sm);
}
.includes-box h3 {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    color: var(--brand-dark);
}
.inc-item {
    display: flex; align-items: flex-start; gap: .55rem;
    font-size: .89rem;
    color: var(--ink);
}
.inc-item i { color: var(--brand); margin-top: .12rem; }

/* ---------------------------------------------------------
   FAQ
--------------------------------------------------------- */
.faq-accordion .accordion-item {
    border: 1px solid var(--line);
    border-radius: var(--radius) !important;
    margin-bottom: .8rem;
    overflow: hidden;
    background: #fff;
}
.faq-accordion .accordion-button {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .98rem;
    color: var(--ink);
    padding: 1.15rem 1.4rem;
    background: #fff;
    box-shadow: none;
}
.faq-accordion .accordion-button:not(.collapsed) {
    color: var(--brand-dark);
    background: var(--brand-soft);
}
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236F42C1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
.faq-accordion .accordion-body { color: var(--ink-soft); font-size: .93rem; padding: 1.2rem 1.4rem; }

/* ---------------------------------------------------------
   Contato
--------------------------------------------------------- */
.section-contact {
    background:
        radial-gradient(700px 400px at 10% 10%, rgba(255,255,255,.06), transparent 55%),
        linear-gradient(140deg, var(--brand-dark) 0%, var(--brand-deeper) 70%);
    color: #e9e2f7;
}
.section-contact h2 { color: #fff; }
.section-contact .section-lead { color: #cdc0e2; }

/* lista de novidades */
.news-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.news-list li {
    display: flex; gap: 1rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 1.15rem 1.3rem;
}
.news-list li > i {
    flex-shrink: 0;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 11px;
    background: rgba(255,255,255,.1);
    color: #b795ec;
    font-size: 1.25rem;
}
.news-list strong {
    display: block;
    color: #fff;
    font-family: var(--font-head);
    font-size: .98rem;
    margin-bottom: .2rem;
}
.news-list p { margin: 0; color: #c7bade; font-size: .89rem; }
.news-list p a { color: #d9c9f0; font-weight: 600; }
.news-list p a:hover { color: #fff; }

.news-badge {
    display: inline-block;
    margin-left: .45rem;
    background: rgba(240,180,41,.18);
    color: #f0b429;
    font-size: .6rem; font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: .18rem .55rem;
    border-radius: 100px;
    vertical-align: middle;
}

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */
.site-footer {
    background: #180b28;
    color: #a99cc0;
    padding: 4rem 0 0;
    font-size: .9rem;
}
.footer-logo { margin-bottom: 1rem; }
.site-footer p { color: #a99cc0; max-width: 320px; }
.site-footer h4 {
    color: #fff; font-size: .85rem;
    text-transform: uppercase; letter-spacing: .08em;
    margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #a99cc0; text-decoration: none; transition: color .15s ease; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: baseline; }
.footer-contact i { color: #b795ec; }

.footer-bottom {
    margin-top: 3rem;
    padding: 1.4rem 0;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
    font-size: .8rem;
    color: #7d6f96;
}

/* ---------------------------------------------------------
   WhatsApp flutuante
--------------------------------------------------------- */
.whats-float {
    position: fixed;
    right: 22px; bottom: 22px;
    width: 56px; height: 56px;
    display: grid; place-items: center;
    background: #25d366;
    color: #fff;
    font-size: 1.7rem;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
    z-index: 950;
    transition: transform .2s ease, box-shadow .2s ease;
}
.whats-float:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 14px 32px rgba(37, 211, 102, .55);
}
.whats-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: whats-pulse 2.4s ease-out infinite;
}
@keyframes whats-pulse {
    0%   { transform: scale(1); opacity: .7; }
    70%  { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .whats-float::after { animation: none; display: none; }
}

/* ---------------------------------------------------------
   Página de contratação
--------------------------------------------------------- */
.contract-body { background: var(--bg-alt); }
.contract-body #mainNav {
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
    padding: .7rem 0;
}
.contract-body #mainNav .container { display: flex; justify-content: space-between; align-items: center; }
.back-link {
    color: var(--ink-soft);
    text-decoration: none;
    font-weight: 600;
    font-size: .92rem;
}
.back-link:hover { color: var(--brand); }

.contract-main { padding: 8rem 0 4rem; }
.contract-head { margin-bottom: 2.4rem; }
.contract-head h1 {
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.015em;
    margin-bottom: .6rem;
}
.contract-head p { color: var(--ink-soft); margin: 0; }

.plan-picker { display: flex; gap: .5rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.plan-pill {
    border: 1.5px solid var(--line);
    background: #fff;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: .9rem;
    padding: .5rem 1.2rem;
    border-radius: 100px;
    transition: all .15s ease;
}
.plan-pill:hover { border-color: var(--brand-soft-2); color: var(--brand-dark); }
.plan-pill.active {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 18px rgba(111,66,193,.3);
}

.plan-summary {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.2rem;
}
.ps-plano { font-family: var(--font-head); font-weight: 700; color: var(--brand-dark); margin-bottom: .2rem; }
.ps-preco { display: flex; align-items: baseline; gap: .25rem; padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px dashed var(--line); }
.ps-de { color: var(--ink-soft); font-size: .8rem; margin-right: .15rem; }
.ps-moeda { font-family: var(--font-head); font-weight: 700; color: var(--brand-dark); font-size: 1rem; }
.ps-valor { font-family: var(--font-head); font-weight: 800; color: var(--brand-dark); font-size: 2.2rem; line-height: 1; letter-spacing: -.02em; }
.ps-mes { color: var(--ink-soft); font-size: .9rem; }
.ps-itens { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .55rem; }
.ps-itens li { font-size: .9rem; display: flex; gap: .6rem; align-items: flex-start; }
.ps-itens li i { color: var(--green); margin-top: .1rem; }
.ps-hospedagem {
    background: var(--brand-soft);
    border: 1px solid var(--brand-soft-2);
    border-radius: 12px;
    padding: 1rem 1.2rem;
}
.ps-hospedagem strong { display: block; font-size: .88rem; color: var(--brand-dark); margin-bottom: .3rem; }
.ps-hospedagem strong i { margin-right: .3rem; }
.ps-hospedagem span { font-size: .82rem; color: var(--ink-soft); }

.ps-tabela {
    width: 100%;
    margin-top: .8rem;
    border-collapse: collapse;
    font-size: .74rem;
}
.ps-tabela th {
    background: var(--brand);
    color: #fff;
    font-family: var(--font-head);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: .45rem .6rem;
    text-align: left;
}
.ps-tabela th:first-child { border-radius: 8px 0 0 0; }
.ps-tabela th:last-child { border-radius: 0 8px 0 0; }
.ps-tabela td {
    padding: .45rem .6rem;
    border-bottom: 1px solid var(--brand-soft-2);
    color: var(--ink);
    vertical-align: top;
    background: #fff;
}
.ps-tabela td:first-child { border-right: 1px solid var(--brand-soft-2); }
.ps-tabela tbody tr:last-child td { border-bottom: none; }

.info-strip {
    display: flex; gap: .9rem;
    background: rgba(30,158,106,.08);
    border: 1px solid rgba(30,158,106,.25);
    border-radius: 12px;
    padding: 1rem 1.2rem;
}
.info-strip i { color: var(--green); font-size: 1.3rem; flex-shrink: 0; margin-top: .1rem; }
.info-strip strong { display: block; font-size: .92rem; margin-bottom: .15rem; }
.info-strip span { font-size: .86rem; color: var(--ink-soft); }
.info-strip-compact { margin-top: 1.4rem; }
.info-strip-compact strong { display: inline; margin: 0; font-size: inherit; }

.contract-form, .contract-success {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 2rem 2.2rem;
    box-shadow: var(--shadow-sm);
}
.contract-form h2 {
    font-size: 1.02rem;
    color: var(--brand-dark);
    margin: 1.6rem 0 1rem;
    display: flex; align-items: center; gap: .5rem;
}
.contract-form h2:first-child { margin-top: 0; }
.contract-form .form-label { font-weight: 600; font-size: .85rem; margin-bottom: .3rem; }
.contract-form .form-control {
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: .6rem .85rem;
    font-size: .93rem;
}
.contract-form .form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 .2rem rgba(111,66,193,.12);
}
.contract-form .form-control.is-invalid { border-color: #d9534f; background-image: none; }

.field-hint { font-size: .78rem; margin-top: .3rem; min-height: 1rem; color: var(--ink-soft); }
.field-hint.ok { color: var(--green); font-weight: 600; }
.field-hint.err { color: #d9534f; font-weight: 600; }

.form-feedback { font-size: .88rem; font-weight: 600; }
.form-feedback.ok { color: var(--green); }
.form-feedback.err { color: #d9534f; }

.contract-terms { margin-top: 1.6rem; }
.contract-terms .form-check-input { margin-top: .3rem; }
.contract-terms .form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.contract-terms .form-check-input.is-invalid { border-color: #d9534f; }
.contract-terms .form-check-label { font-size: .86rem; color: var(--ink-soft); }

.contract-success { text-align: center; }
.contract-success > i { font-size: 3rem; color: var(--green); display: block; margin-bottom: .8rem; }
.contract-success h2 { margin-bottom: .8rem; }
.contract-success p { color: var(--ink-soft); max-width: 40rem; margin: 0 auto .6rem; }

/* documento de termos */
.terms-doc {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 2.6rem 2.8rem;
    box-shadow: var(--shadow-sm);
}
.terms-doc h1 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -.015em;
    margin: .4rem 0 .3rem;
}
.terms-updated {
    color: var(--ink-soft);
    font-size: .85rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1.4rem;
    border-bottom: 1px solid var(--line);
}
.terms-doc h2 {
    font-size: 1.08rem;
    color: var(--brand-dark);
    margin: 2rem 0 .8rem;
}
.terms-doc p { color: var(--ink); font-size: .93rem; margin-bottom: .7rem; }
.terms-doc a { color: var(--brand); font-weight: 600; }
.terms-doc .hosting-table { margin: 1rem 0; }
@media (max-width: 575.98px) {
    .terms-doc { padding: 1.8rem 1.4rem; }
}

/* termos dentro do modal (iframe) */
#modalTermos .modal-title { font-family: var(--font-head); color: var(--brand-dark); }
.modal-body-termos { padding: 0; }
#termosFrame {
    display: block;
    width: 100%;
    height: 68vh;
    border: 0;
}

/* modo embed do termos.html: sem navbar/rodapé, sem moldura de cartão */
body.embed #mainNav,
body.embed .site-footer { display: none; }
body.embed .contract-main { padding: 1rem 0 1.5rem; }
body.embed .terms-doc {
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0 1.6rem;
    max-width: none;
}

.contract-footer { padding-top: 0; margin-top: 2rem; }
.contract-footer .footer-bottom { border-top: none; }

@media (max-width: 991.98px) {
    .contract-main { padding-top: 6.5rem; }
}

/* ---------------------------------------------------------
   Blog
--------------------------------------------------------- */
.blog-grid { margin-top: 1rem; }
.post-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; background: #f3eefb; }
.post-card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .78rem; color: var(--ink-soft); margin-bottom: .5rem; }
.post-meta .post-cat { color: var(--brand); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.post-card h2 { font-size: 1.08rem; margin-bottom: .5rem; line-height: 1.35; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--brand); }
.post-card p { color: var(--ink-soft); font-size: .9rem; margin: 0 0 1rem; flex: 1; }
.post-link { color: var(--brand); font-weight: 600; font-size: .9rem; text-decoration: none; }
.post-link:hover { color: var(--brand-dark); }

/* artigo */
.article-doc {
    max-width: 780px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 2.6rem 2.8rem;
    box-shadow: var(--shadow-sm);
}
.article-cover {
    display: block;
    width: calc(100% + 5.6rem);
    margin: -2.6rem -2.8rem 1.8rem;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 18px 18px 0 0;
    background: #f3eefb;
}
@media (max-width: 575.98px) {
    .article-cover { width: calc(100% + 2.8rem); margin: -1.8rem -1.4rem 1.4rem; }
}
.article-doc h1 {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.015em;
    line-height: 1.2;
    margin: .4rem 0 .6rem;
}
.article-doc .post-meta { margin-bottom: 1.6rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); }
.article-doc h2 { font-size: 1.25rem; color: var(--brand-dark); margin: 2rem 0 .8rem; }
.article-doc h3 { font-size: 1.05rem; margin: 1.5rem 0 .6rem; }
.article-doc p, .article-doc li { color: var(--ink); font-size: .97rem; line-height: 1.75; }
.article-doc p { margin-bottom: 1rem; }
.article-doc ul, .article-doc ol { margin-bottom: 1.1rem; padding-left: 1.4rem; }
.article-doc li { margin-bottom: .4rem; }
.article-doc a { color: var(--brand); font-weight: 600; }
.article-doc figure { margin: 1.6rem 0; text-align: center; }
.article-doc figure img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
}
/* prints do coletor (formato vertical): largura de celular, centralizados */
.article-doc figure.fig-coletor img {
    width: auto;
    max-width: 320px;
    max-height: 640px;
    border: 8px solid #241040;
    border-radius: 30px;
    background: #241040;
}
.article-doc figcaption { font-size: .82rem; color: var(--ink-soft); text-align: center; margin-top: .5rem; }
.article-lead { font-size: 1.08rem; color: var(--ink-soft); }
.article-box {
    background: var(--brand-soft);
    border: 1px solid var(--brand-soft-2);
    border-left: 4px solid var(--brand);
    border-radius: 12px;
    padding: 1rem 1.3rem;
    margin: 1.4rem 0;
}
.article-box p { margin: 0; font-size: .93rem; }
.article-cta {
    margin-top: 2.4rem;
    background: linear-gradient(140deg, var(--brand) 0%, var(--brand-dark) 90%);
    color: #fff;
    border-radius: 16px;
    padding: 1.8rem 2rem;
}
.article-cta h3 { color: #fff; margin: 0 0 .5rem; font-size: 1.15rem; }
.article-cta p { color: rgba(255,255,255,.88); margin: 0 0 1.1rem; font-size: .95rem; }
.article-cta .btn-light-solid { color: var(--brand-dark); }
.article-nav { max-width: 780px; margin: 1.6rem auto 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.article-nav a { color: var(--brand); font-weight: 600; text-decoration: none; font-size: .92rem; }
@media (max-width: 575.98px) { .article-doc { padding: 1.8rem 1.4rem; } }

/* ---------------------------------------------------------
   Banner de cookies (LGPD)
--------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 1300;
    width: min(680px, calc(100% - 32px));
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(52, 26, 96, .25);
    padding: 1.1rem 1.3rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.cookie-banner p {
    margin: 0;
    flex: 1 1 300px;
    font-size: .85rem;
    color: var(--ink-soft);
}
.cookie-banner a { color: var(--brand); font-weight: 600; }
.cookie-acoes { display: flex; gap: .5rem; margin-left: auto; }
.btn-cookie {
    border-radius: 9px;
    font-weight: 600;
    font-size: .88rem;
    padding: .5rem 1.2rem;
    transition: all .15s ease;
}
.btn-cookie-aceitar {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    border: none;
    box-shadow: 0 6px 16px rgba(111, 66, 193, .3);
}
.btn-cookie-aceitar:hover { transform: translateY(-1px); }
.btn-cookie-recusar {
    background: transparent;
    color: var(--ink-soft);
    border: 1.5px solid var(--line);
}
.btn-cookie-recusar:hover { border-color: var(--brand-soft-2); color: var(--brand-dark); }

/* botão com aparência de link (Política de Privacidade) */
.link-botao {
    background: none;
    border: none;
    padding: 0;
    color: var(--brand);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

/* ---------------------------------------------------------
   Voltar ao topo
--------------------------------------------------------- */
.back-top {
    position: fixed;
    /* com o WhatsApp flutuante ativo, usar right: 27px / bottom: 92px */
    right: 22px; bottom: 22px;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(111,66,193,.4);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: all .25s ease;
    z-index: 900;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { color: #fff; transform: translateY(-3px); }

/* ---------------------------------------------------------
   Animações de entrada (via JS / IntersectionObserver)
--------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .float-card { animation: none; }
    .pt-row.active .pulse { animation: none; }
}
