/* Complementos do site marketing — preços e CTAs */
.header-cta {
    position: absolute;
    top: 50%;
    right: 12rem;
    transform: translateY(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 500;
}

.header-cta .btn {
    padding: 0 1.25rem;
    height: 3.6rem;
    line-height: 3.6rem;
    font-size: 1.2rem;
}

.header-cta .btn--ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
}

.header-cta .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

@media only screen and (max-width: 1000px) {
    .header-cta {
        display: none;
    }
}

.s-precos {
    padding-top: 16.2rem;
    padding-bottom: 16rem;
    position: relative;
    background-image: url(../images/hero-bg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color: #fff;
}

.s-precos::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    background-color: #111111;
    z-index: 0;
}

.s-precos .grid-overlay {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 2;
}

.s-precos .grid-overlay > div,
.s-precos .grid-overlay::before,
.s-precos .grid-overlay::after {
    background-color: rgba(255, 255, 255, 0.05);
}

.s-precos .section-header,
.s-precos .precos-grid,
.s-precos .preco-aviso {
    position: relative;
    z-index: 3;
}

.s-precos .display-1 {
    color: #fff;
}

.s-precos .subhead {
    color: #793ea5;
}

.precos-lead {
    max-width: 52rem;
    margin: 1.5rem auto 0;
    font-size: 1.6rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

.precos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
    margin-top: 4rem;
    align-items: stretch;
}

/* ---- Card base ---- */
.preco-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(8, 12, 40, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    min-width: 0;
    box-sizing: border-box;
}

.preco-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(8, 12, 40, 0.28);
}

.preco-card--destaque {
    border-color: rgba(147, 112, 219, 0.6);
    box-shadow: 0 16px 48px rgba(121, 62, 165, 0.35);
    transform: scale(1.02);
}

.preco-card--destaque:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 24px 56px rgba(121, 62, 165, 0.42);
}

.preco-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 4;
    background: linear-gradient(135deg, #f0c14a 0%, #e8a838 100%);
    color: #2a1538;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ---- Topo visual: fundo abstrato + ícone ---- */
.preco-card__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-height: 13rem;
    padding: 2rem 1.6rem 1.6rem;
    overflow: hidden;
}

.preco-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.preco-card__bg::before,
.preco-card__bg::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.preco-card__bg::before {
    width: 14rem;
    height: 14rem;
    top: -4rem;
    right: -3rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, transparent 70%);
}

.preco-card__bg::after {
    width: 10rem;
    height: 10rem;
    bottom: -3rem;
    left: -2rem;
    background: radial-gradient(circle, rgba(100, 180, 255, 0.35) 0%, transparent 70%);
}

/* Gradientes roxo → azul por plano */
.preco-card--trial .preco-card__bg {
    background-image:
        linear-gradient(145deg, rgba(90, 45, 140, 0.92) 0%, rgba(61, 99, 201, 0.88) 55%, rgba(36, 72, 160, 0.9) 100%),
        url("https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?auto=format&fit=crop&w=800&q=80");
}

.preco-card--starter .preco-card__bg {
    background-image:
        linear-gradient(155deg, rgba(100, 50, 155, 0.9) 0%, rgba(55, 110, 210, 0.88) 60%, rgba(30, 85, 175, 0.92) 100%),
        url("https://images.unsplash.com/photo-1579546929518-9e396f3cc809?auto=format&fit=crop&w=800&q=80");
}

.preco-card--pro .preco-card__bg {
    background-image:
        linear-gradient(135deg, rgba(121, 62, 165, 0.95) 0%, rgba(70, 100, 220, 0.9) 50%, rgba(40, 90, 200, 0.95) 100%),
        url("https://images.unsplash.com/photo-1557683316-973673baf926?auto=format&fit=crop&w=800&q=80");
}

.preco-card--escritorio .preco-card__bg {
    background-image:
        linear-gradient(160deg, rgba(75, 40, 130, 0.92) 0%, rgba(45, 85, 190, 0.9) 55%, rgba(25, 65, 150, 0.94) 100%),
        url("https://images.unsplash.com/photo-1620121692029-d088224ddc74?auto=format&fit=crop&w=800&q=80");
}

.preco-card__icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5.6rem;
    height: 5.6rem;
    margin-bottom: 0.8rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.preco-card__icon i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #793ea5 0%, #4a6cf7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.preco-card__icon-svg {
    width: 2.4rem;
    height: 2.4rem;
    display: block;
}

.preco-card__visual .preco-card__tag {
    position: relative;
    z-index: 2;
    display: inline-block;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    margin: 0;
}

/* ---- Corpo do card ---- */
.preco-card__body {
    flex: 1;
    padding: 1.6rem 1.8rem 1.2rem;
    text-align: center;
}

.preco-card__nome {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.8rem;
    line-height: 1.2;
}

.preco-card__valor {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.3rem;
    line-height: 1;
    margin-bottom: 0.6rem;
}

.preco-card__moeda {
    font-size: 1.4rem;
    font-weight: 600;
    color: #793ea5;
    margin-top: 0.5rem;
}

.preco-card__numero {
    font-size: 3.8rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.04em;
}

.preco-card__periodo {
    align-self: flex-end;
    font-size: 1.2rem;
    font-weight: 500;
    color: #888;
    margin-bottom: 0.4rem;
}

.preco-card__resumo {
    font-size: 1.3rem;
    line-height: 1.5;
    color: #666;
    margin: 0 0 1.4rem;
}

.preco-card__lista {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.preco-card__lista li {
    position: relative;
    padding-left: 2.2rem;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
    line-height: 1.45;
    color: #444;
}

.preco-card__lista li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #793ea5, #4a6cf7);
    opacity: 0.15;
}

.preco-card__lista li::after {
    content: "✓";
    position: absolute;
    left: 0.38rem;
    top: 0.32rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #793ea5;
}

/* ---- Botão de compra na base ---- */
.preco-card__action {
    margin-top: auto;
    padding: 0;
}

.preco-card .preco-btn,
.preco-card .preco-btn--primary {
    display: block;
    width: 100%;
    padding: 1.4rem 1.6rem;
    margin: 0;
    border: none;
    border-radius: 0;
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: none;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
    color: #ffffff !important;
    background: linear-gradient(90deg, #793ea5 0%, #5a5fd6 45%, #3d7cc9 100%) !important;
    transition: filter 0.2s ease, box-shadow 0.2s ease;
}

.preco-card .preco-btn:hover,
.preco-card .preco-btn:focus,
.preco-card .preco-btn--primary:hover,
.preco-card .preco-btn--primary:focus {
    color: #ffffff !important;
    background: linear-gradient(90deg, #6b3792 0%, #4f54c4 45%, #3570b8 100%) !important;
    filter: brightness(1.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    outline: none;
}

.preco-card--destaque .preco-btn,
.preco-card--destaque .preco-btn--primary {
    background: linear-gradient(90deg, #6b2f96 0%, #4a52d4 40%, #2d6fc4 100%) !important;
    font-size: 1.4rem;
    padding: 1.5rem 1.6rem;
}

.preco-card--destaque .preco-btn:hover,
.preco-card--destaque .preco-btn:focus,
.preco-card--destaque .preco-btn--primary:hover,
.preco-card--destaque .preco-btn--primary:focus {
    background: linear-gradient(90deg, #5f2885 0%, #4248bd 40%, #2865b0 100%) !important;
    color: #ffffff !important;
}

.preco-aviso {
    margin-top: 3.5rem;
    text-align: center;
    font-size: 1.35rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
}

.preco-aviso a {
    color: #c9a227;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.preco-aviso a:hover,
.preco-aviso a:focus {
    color: #e0b83a;
}

@media only screen and (max-width: 1200px) {
    .precos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .preco-card--destaque {
        grid-column: span 1;
        transform: none;
    }

    .preco-card--destaque:hover {
        transform: translateY(-8px);
    }
}

@media only screen and (max-width: 700px) {
    .s-precos {
        padding-top: 12rem;
        padding-bottom: 12rem;
    }

    .precos-grid {
        grid-template-columns: 1fr;
        max-width: 38rem;
        margin-left: auto;
        margin-right: auto;
    }

    .preco-card__numero {
        font-size: 3.6rem;
    }
}

.s-cta-app {
    padding: 8rem 0;
    text-align: center;
    background: linear-gradient(135deg, #0d3b66 0%, #1a5490 100%);
    color: #fff;
}

.s-cta-app .display-1 {
    color: #fff;
    font-size: 3.6rem;
}

.s-cta-app .btn {
    margin: 0.5rem;
}

.footer-legal {
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

.footer-legal a {
    margin: 0 0.75rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-legal a:hover {
    color: #fff;
}

.s-login-cta {
    padding: 10rem 0 12rem;
    text-align: center;
}

.s-login-cta .btn {
    margin: 0.5rem;
}

/* ---- Formulário de contato (seção roxa) ---- */
.contact-form-row {
    position: relative;
    z-index: 3;
    margin-top: 2rem;
    text-align: left;
}

.s-contact .contact-main {
    margin-top: 4rem;
}

.s-contact .contact-form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 56rem;
    margin: 0 auto;
    padding: 2.8rem 2.4rem;
    text-align: left;
    background: rgba(42, 21, 56, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.s-contact .contact-form__honeypot {
    display: none !important;
}

.s-contact .contact-form__group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-bottom: 1.6rem;
    float: none;
    clear: both;
}

.s-contact .contact-form__group:last-of-type {
    margin-bottom: 0;
}

.s-contact .contact-form label {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    color: rgba(255, 255, 255, 0.92);
    float: none;
}

.s-contact .contact-form input,
.s-contact .contact-form textarea {
    display: block;
    width: 100%;
    margin-bottom: 0;
    padding: 1.1rem 1.3rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    color: #ffffff;
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.35rem;
    line-height: 1.4;
    height: auto;
    min-height: 0;
    max-width: none;
    box-sizing: border-box;
    float: none;
    clear: both;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.s-contact .contact-form input::placeholder,
.s-contact .contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.s-contact .contact-form input:focus,
.s-contact .contact-form textarea:focus {
    outline: none;
    border-color: rgba(201, 162, 39, 0.75);
    background: rgba(0, 0, 0, 0.28);
}

.s-contact .contact-form textarea {
    resize: vertical;
    min-height: 12rem;
}

.s-contact .contact-form__btn {
    display: block;
    width: 100%;
    margin-top: 1.6rem;
    padding: 1.3rem 1.6rem;
    border: none;
    border-radius: 8px;
    font-family: "Nunito Sans", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(90deg, #793ea5 0%, #5a5fd6 50%, #3d7cc9 100%);
    transition: filter 0.2s ease;
}

.s-contact .contact-form__btn:hover,
.s-contact .contact-form__btn:focus {
    filter: brightness(1.08);
    outline: none;
}

.s-contact .contact-form__btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.s-contact .contato-feedback {
    margin: 1.2rem 0 0;
    font-size: 1.3rem;
    text-align: center;
    min-height: 1.4em;
    color: rgba(255, 255, 255, 0.85);
}

.contato-feedback--ok {
    color: #b8f0c8;
}

.contato-feedback--erro {
    color: #ffc9c9;
}

@media only screen and (max-width: 600px) {
    .s-contact .contact-form {
        padding: 2rem 1.6rem;
    }
}

/* WhatsApp flutuante */
.whatsapp-float {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 9999;
    width: 5.6rem;
    height: 5.6rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
    transition: transform .2s;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    color: #fff;
}

/* =====================================================
   LegalTech conversion — hero, demo, benefícios, FAQ
   ===================================================== */
:root {
    --pf-purple: #5e3080;
    --pf-purple-deep: #2a1538;
    --pf-green: #1faa5a;
    --pf-green-dark: #178a47;
    --pf-gray: #5c6570;
    --pf-gray-light: #f3f5f7;
}

/* Hero sem foto de mesa — fundo neutro jurídico/tech */
.s-home--legaltech {
    background-color: #1a1228 !important;
    background-image:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(121, 62, 165, 0.45), transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 20%, rgba(61, 124, 201, 0.28), transparent 50%),
        linear-gradient(160deg, #1a1228 0%, #2a1538 45%, #1e2a44 100%) !important;
    background-size: cover !important;
    min-height: 100vh;
}

.s-home--legaltech .home-bg-pattern {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

/* Overlays do tema antigo (foto) cobriam a metade direita e bloqueavam o card de login */
.s-home--legaltech::before,
.s-home--legaltech::after {
    display: none !important;
    pointer-events: none !important;
}

.s-home--legaltech .grid-overlay {
    z-index: 2;
    pointer-events: none !important;
}

.s-home--legaltech .home-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 12rem;
    padding-bottom: 6rem;
    pointer-events: auto;
}

.s-home--legaltech .home-login-card {
    position: relative;
    z-index: 11;
    pointer-events: auto;
}

.home-content__split {
    display: grid;
    grid-template-columns: 1.15fr minmax(280px, 380px);
    gap: 3.5rem;
    align-items: center;
    width: 89%;
    max-width: 1200px;
    margin: 0 auto;
}

.home-brand-kicker {
    font-family: "Montserrat", "Nunito Sans", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c9a227;
    margin: 0 0 1.2rem;
}

.s-home--legaltech .home-content__copy h1 {
    font-size: clamp(2.8rem, 4.2vw, 4.2rem);
    line-height: 1.15;
    margin-bottom: 1.6rem;
    text-align: left;
}

.s-home--legaltech .home-subtitle {
    font-size: clamp(1.45rem, 1.8vw, 1.75rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 400;
    max-width: 54rem;
    margin: 0 0 2.4rem;
    text-align: left;
}

.s-home--legaltech .home-content__button {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0;
    text-align: left;
}

.home-trust-list {
    list-style: none;
    margin: 5.8em 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
}

.home-trust-list li {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.home-trust-list i {
    color: var(--pf-green);
}

/* CTAs */
.btn--cta-trial,
a.btn--cta-trial {
    background: var(--pf-green) !important;
    border-color: var(--pf-green) !important;
    color: #fff !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 10px 28px rgba(31, 170, 90, 0.35);
}

.btn--cta-trial:hover,
.btn--cta-trial:focus,
a.btn--cta-trial:hover,
a.btn--cta-trial:focus {
    background: var(--pf-green-dark) !important;
    border-color: var(--pf-green-dark) !important;
    color: #fff !important;
    filter: brightness(1.05);
}

.btn--ghost-light,
a.btn--ghost-light {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
    color: #fff !important;
}

.btn--ghost-light:hover,
a.btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

/* Card de login no hero */
.home-login-card {
    background: #fff;
    border-radius: 14px;
    padding: 2.4rem 2.2rem;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
    text-align: left;
    color: #1a1a1a;
}

.home-login-card__title {
    margin: 0 0 0.4rem;
    font-size: 2rem;
    color: var(--pf-purple-deep);
}

.home-login-card__sub {
    margin: 0 0 1.8rem;
    font-size: 1.3rem;
    color: var(--pf-gray);
}

.home-login-form__group {
    margin-bottom: 1.2rem;
}

.home-login-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    text-align: left;
}

.home-login-form input {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 1rem 1.2rem;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fafbfc;
    color: #1a1a1a;
    font-size: 1.35rem;
    box-sizing: border-box;
}

.home-login-form input:focus {
    outline: none;
    border-color: var(--pf-purple);
    background: #fff;
    color: #1a1a1a;
}

.home-login-form__btn {
    display: block;
    width: 100%;
    margin-top: 0.4rem;
    padding: 1.15rem;
    border: none;
    border-radius: 8px;
    background: var(--pf-purple);
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    cursor: pointer;
}

.home-login-form__btn:hover {
    background: #4d2769;
}

.home-login-form__forgot {
    margin: 0.85rem 0 0;
    text-align: center;
    font-size: 1.2rem;
}

.home-login-form__forgot a {
    color: var(--pf-purple);
    font-weight: 600;
    border: none !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.home-login-form__hint {
    margin: 1.2rem 0 0;
    text-align: center;
    font-size: 1.25rem;
    color: var(--pf-gray);
}

.home-login-form__hint a {
    color: var(--pf-purple);
    font-weight: 600;
    border: none !important;
}

.s-home--legaltech .home-content__scroll {
    margin-top: 3rem;
}

/* Demo */
.s-demo {
    padding: 10rem 0 9rem;
    background: #fff;
    color: #2a2a2a;
}

.s-demo .subhead {
    color: var(--pf-purple);
}

.s-demo .display-1 {
    color: var(--pf-purple-deep);
}

.section-lead {
    max-width: 56rem;
    margin: 1.2rem auto 0;
    font-size: 1.6rem;
    color: var(--pf-gray);
    line-height: 1.6;
}

.demo-video-placeholder {
    margin: 3rem auto 0;
    max-width: 860px;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background: linear-gradient(145deg, #2a1538, #3d4a8f);
    box-shadow: 0 20px 50px rgba(42, 21, 56, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-video-placeholder__inner {
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.demo-video-placeholder__play {
    display: inline-flex;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.5);
    font-size: 2.4rem;
    margin-bottom: 1.2rem;
}

.demo-video-placeholder__note {
    display: block;
    margin-top: 0.6rem;
    font-size: 1.2rem;
    opacity: 0.7;
}

.demo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.demo-step {
    text-align: center;
    padding: 0 0.5rem;
}

.demo-step__visual {
    position: relative;
    height: 18rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    overflow: hidden;
    box-shadow:
        0 18px 36px rgba(26, 18, 40, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transform: perspective(700px) rotateX(4deg);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.demo-step:hover .demo-step__visual {
    transform: perspective(700px) rotateX(0deg) translateY(-4px);
    box-shadow: 0 24px 44px rgba(26, 18, 40, 0.24);
}

.demo-step__visual--1 {
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.28), transparent 45%),
        linear-gradient(145deg, #5e3080 0%, #793ea5 45%, #3d7cc9 100%);
}
.demo-step__visual--2 {
    background:
        radial-gradient(circle at 80% 15%, rgba(255, 224, 138, 0.35), transparent 40%),
        linear-gradient(145deg, #1e3a6e 0%, #3d7cc9 50%, #5e3080 100%);
}
.demo-step__visual--3 {
    background:
        radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.22), transparent 40%),
        linear-gradient(145deg, #0f6b3a 0%, #1faa5a 45%, #2bc96f 100%);
}

.demo-step__num {
    position: absolute;
    top: 1rem;
    left: 1.2rem;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.demo-icon {
    width: 11rem;
    height: 11rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: demoIconFloat 3.6s ease-in-out infinite;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.28));
}

.demo-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.demo-icon--ai { animation-delay: 0.35s; }
.demo-icon--doc { animation-delay: 0.7s; }

@keyframes demoIconFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
    .demo-icon { animation: none; }
    .demo-step__visual,
    .demo-step:hover .demo-step__visual {
        transform: none;
    }
}

.demo-step h4 {
    font-size: 1.8rem;
    margin: 0 0 0.6rem;
    color: #793ea5;
}

.demo-step p {
    font-size: 1.4rem;
    color: var(--pf-gray);
    line-height: 1.55;
    margin: 0;
}

.demo-abnt-note {
    margin: 3rem auto 0;
    max-width: 72rem;
    padding: 1.4rem 1.8rem;
    background: var(--pf-gray-light);
    border-left: 4px solid var(--pf-green);
    font-size: 1.35rem;
    color: #333;
    text-align: left;
}

.demo-cta-wrap {
    text-align: center;
    margin-top: 3rem;
}

/* Benefícios */
.s-beneficios {
    padding: 10rem 0;
    background: var(--pf-gray-light);
}

.s-beneficios .subhead { color: var(--pf-purple); }
.s-beneficios .display-1 { color: var(--pf-purple-deep); }

.beneficios-grid {
    list-style: none;
    margin: 3rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.beneficio-card {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(26, 18, 40, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.beneficio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(26, 18, 40, 0.14);
}

.beneficio-card__visual {
    position: relative;
    height: 12.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.beneficio-card__visual .demo-icon {
    width: 8.5rem;
    height: 8.5rem;
    animation: none;
    filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.22));
}

.beneficio-card__visual--1 {
    background: linear-gradient(145deg, #5e3080 0%, #793ea5 50%, #3d7cc9 100%);
}
.beneficio-card__visual--2 {
    background: linear-gradient(145deg, #1e3a6e 0%, #3d7cc9 55%, #5e3080 100%);
}
.beneficio-card__visual--3 {
    background: linear-gradient(145deg, #0f6b3a 0%, #1faa5a 55%, #2bc96f 100%);
}
.beneficio-card__visual--4 {
    background: linear-gradient(145deg, #4a2666 0%, #c9a227 55%, #5e3080 100%);
}
.beneficio-card__visual--5 {
    background: linear-gradient(145deg, #178a47 0%, #2b6cb0 50%, #e04545 100%);
}
.beneficio-card__visual--6 {
    background: linear-gradient(145deg, #2a1538 0%, #5e3080 45%, #1faa5a 100%);
}

.beneficio-card__body {
    padding: 1.5rem 1.6rem 1.7rem;
    text-align: left;
}

.beneficio-card__body strong {
    display: block;
    font-size: 1.55rem;
    color: #793ea5;
    margin-bottom: 0.45rem;
    line-height: 1.3;
}

.beneficio-card__body span {
    display: block;
    font-size: 1.35rem;
    line-height: 1.5;
    color: var(--pf-gray);
}

html[data-theme="dark"] .beneficio-card {
    background: #1f1630;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .beneficio-card__body strong {
    color: #e2c9f7;
}

html[data-theme="dark"] .beneficio-card__body span {
    color: #c8bed6;
}

.areas-block {
    margin-top: 4rem;
    text-align: center;
}

.areas-title {
    font-size: 2rem;
    color: var(--pf-purple-deep);
    margin-bottom: 1.5rem;
}

.areas-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.areas-chips span {
    padding: 0.6rem 1.2rem;
    background: #fff;
    border: 1px solid rgba(94, 48, 128, 0.2);
    border-radius: 999px;
    font-size: 1.3rem;
    color: var(--pf-purple);
    font-weight: 600;
}

.areas-dropdown {
    max-width: 48rem;
    margin: 0 auto;
    text-align: left;
    background: #fff;
    border-radius: 10px;
    padding: 1rem 1.4rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.areas-dropdown summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--pf-purple-deep);
}

.areas-list {
    margin: 1rem 0 0.5rem;
    padding-left: 1.8rem;
    font-size: 1.35rem;
    color: var(--pf-gray);
}

/* Billing toggle + 3 colunas */
.billing-toggle {
    display: inline-flex;
    margin-top: 2.4rem;
    padding: 0.4rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    gap: 0.4rem;
}

.billing-toggle__btn {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    padding: 0.85rem 1.6rem;
    border-radius: 999px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
}

.billing-toggle__btn em {
    font-style: normal;
    font-size: 1.05rem;
    opacity: 0.8;
    margin-left: 0.35rem;
}

.billing-toggle__btn.is-active {
    background: var(--pf-green);
    color: #fff;
}

.precos-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.s-precos {
    background-image: none !important;
    background: linear-gradient(160deg, #1a1228 0%, #2a1538 50%, #1e2a44 100%);
}

.s-precos::before {
    opacity: 0.35;
    background-color: #111;
}

/* Depoimentos */
.s-depoimentos {
    padding: 10rem 0;
    background: #fff;
}

.s-depoimentos .subhead { color: var(--pf-purple); }
.s-depoimentos .display-1 { color: var(--pf-purple-deep); }

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.depoimento-card {
    background: var(--pf-gray-light);
    border-radius: 14px;
    padding: 2.2rem;
    text-align: left;
}

.depoimento-card__texto {
    font-size: 1.45rem;
    line-height: 1.6;
    color: #333;
    margin: 0 0 1.8rem;
    font-style: italic;
}

.depoimento-card__autor {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.depoimento-card__avatar {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #793ea5, #3d7cc9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.depoimento-card__autor strong {
    display: block;
    font-size: 1.4rem;
    color: var(--pf-purple-deep);
}

.depoimento-card__autor span {
    display: block;
    font-size: 1.2rem;
    color: var(--pf-gray);
}

.depoimentos-disclaimer {
    margin-top: 2rem;
    text-align: center;
    font-size: 1.2rem;
    color: #888;
}

/* FAQ */
.s-faq {
    padding: 10rem 0;
}

.faq-list {
    max-width: 72rem;
    margin: 3rem auto 0;
    text-align: left;
}

.faq-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 0.4rem 1.6rem;
}

.faq-item summary {
    cursor: pointer;
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    padding: 1.2rem 0;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
    margin: 0 0 1.4rem;
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

.faq-item a {
    color: #c9a227;
}

/* Footer legal */
.site-footer-legal {
    background: #151018;
    padding: 6rem 0 4rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 3rem;
    text-align: left;
    margin-bottom: 3rem;
}

.footer-brand strong {
    display: block;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-brand p,
.footer-empresa p {
    font-size: 1.3rem;
    line-height: 1.55;
    margin: 0 0 0.8rem;
}

.footer-lgpd {
    margin-top: 1.2rem !important;
    color: #8fd9ae;
}

.footer-links h4,
.footer-empresa h4 {
    color: #fff;
    font-size: 1.4rem;
    margin: 0 0 1.2rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    border: none !important;
}

.footer-links a:hover {
    color: #fff;
}

.footer-empresa a {
    color: #c9a227;
    border: none !important;
}

.footer-ficticio {
    font-size: 1.1rem !important;
    opacity: 0.55;
    margin-top: 1rem !important;
}

.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    font-size: 1.25rem;
}

@media only screen and (max-width: 1000px) {
    .home-content__split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .s-home--legaltech .home-content__copy h1,
    .s-home--legaltech .home-subtitle {
        text-align: center;
    }

    .s-home--legaltech .home-content__button,
    .home-trust-list {
        justify-content: center;
    }

    .home-login-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .demo-gallery,
    .depoimentos-grid,
    .precos-grid--3 {
        grid-template-columns: 1fr;
    }

    .beneficios-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 700px) {
    .beneficios-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 600px) {
    .s-home--legaltech .home-content {
        padding-top: 10rem;
    }

    .home-content__split {
        width: auto;
        padding-left: 25px;
        padding-right: 25px;
    }

    .billing-toggle {
        flex-direction: column;
        border-radius: 12px;
        width: 100%;
        max-width: 32rem;
    }

    .demo-cta-wrap .btn--cta-trial {
        display: block;
        width: 100%;
        white-space: normal;
        line-height: 1.3;
        height: auto;
        padding: 1.4rem 1.2rem;
    }
}

/* =====================================================
   Toggle de tema (dentro do card de login)
   ===================================================== */
.home-login-card__theme {
    display: flex;
    justify-content: center;
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.theme-toggle--site {
    position: static;
    z-index: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(94, 48, 128, 0.28);
    background: rgba(94, 48, 128, 0.06);
    color: var(--pf-purple-deep);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.theme-toggle--site:hover {
    background: rgba(94, 48, 128, 0.12);
    border-color: rgba(94, 48, 128, 0.45);
}

.theme-toggle--site .theme-switch {
    position: relative;
    width: 36px;
    height: 20px;
    border-radius: 999px;
    background: rgba(94, 48, 128, 0.25);
    box-shadow: inset 0 0 0 1px rgba(94, 48, 128, 0.12);
    overflow: hidden;
}

.theme-toggle--site .theme-switch::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(26, 18, 40, 0.2);
    transition: transform 0.22s ease-out;
}

.theme-toggle--site.is-dark .theme-switch::before {
    transform: translateX(16px);
}

.theme-toggle--site .theme-icon {
    font-size: 0.85rem;
    line-height: 1;
    opacity: 0.55;
}

.theme-toggle--site .theme-icon-sun { opacity: 1; }
.theme-toggle--site .theme-icon-moon { opacity: 0.45; }
.theme-toggle--site.is-dark .theme-icon-sun { opacity: 0.45; }
.theme-toggle--site.is-dark .theme-icon-moon { opacity: 1; }

/* =====================================================
   Tema escuro — alinhado ao hero / app
   ===================================================== */
html[data-theme="dark"] body {
    background: #12101a;
    color: #e8e4ef;
}

html[data-theme="dark"] .s-demo,
html[data-theme="dark"] .s-beneficios,
html[data-theme="dark"] .s-areas,
html[data-theme="dark"] .s-servicos,
html[data-theme="dark"] .s-services,
html[data-theme="dark"] .s-faq,
html[data-theme="dark"] .s-depoimentos,
html[data-theme="dark"] .s-contact,
html[data-theme="dark"] .s-precos,
html[data-theme="dark"] .s-clients,
html[data-theme="dark"] .s-footer,
html[data-theme="dark"] .darker {
    background: #161022 !important;
    color: #e8e4ef;
}

html[data-theme="dark"] .demo-step h4 {
    color: #e2c9f7 !important;
}

html[data-theme="dark"] .demo-step p {
    color: #c8bed6 !important;
}

html[data-theme="dark"] .s-precos {
    background: linear-gradient(160deg, #1a1228 0%, #2a1538 50%, #1e2a44 100%) !important;
}

html[data-theme="dark"] .display-1,
html[data-theme="dark"] .item-title,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] .s-beneficios .display-1,
html[data-theme="dark"] .s-depoimentos .display-1 {
    color: #f5f0fa !important;
}

html[data-theme="dark"] .subhead,
html[data-theme="dark"] .s-beneficios .subhead,
html[data-theme="dark"] .s-depoimentos .subhead {
    color: #c9a227 !important;
}

html[data-theme="dark"] .section-lead,
html[data-theme="dark"] .lead,
html[data-theme="dark"] p {
    color: #b8b0c4;
}

html[data-theme="dark"] .home-login-card {
    background: #1f1630;
    color: #f3f0f7;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .home-login-card__title {
    color: #f5f0fa;
}

html[data-theme="dark"] .home-login-card__sub,
html[data-theme="dark"] .home-login-form__hint,
html[data-theme="dark"] .home-login-form label {
    color: #b8b0c4;
}

html[data-theme="dark"] .home-login-form input {
    background: #161022;
    border-color: #3a2f4f;
    color: #f3f0f7;
}

html[data-theme="dark"] .home-login-form input:focus {
    border-color: #5e3080;
    box-shadow: 0 0 0 3px rgba(94, 48, 128, 0.25);
}

html[data-theme="dark"] .home-login-form__forgot a,
html[data-theme="dark"] .home-login-form__hint a {
    color: #c4a0e0;
}

html[data-theme="dark"] .benefit-list li,
html[data-theme="dark"] .areas-list,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .depoimento-card,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .feature-card {
    background: #1f1630;
    color: #e8e4ef;
    border-color: #2f2540;
}

html[data-theme="dark"] .faq-item summary,
html[data-theme="dark"] .faq-item h4,
html[data-theme="dark"] .depoimento-card__nome,
html[data-theme="dark"] .item-title a {
    color: #f5f0fa;
}

html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form textarea,
html[data-theme="dark"] .contato-form input,
html[data-theme="dark"] .contato-form textarea,
html[data-theme="dark"] #form-contato input,
html[data-theme="dark"] #form-contato textarea {
    background: #161022 !important;
    border-color: #3a2f4f !important;
    color: #f3f0f7 !important;
}

html[data-theme="dark"] .s-footer a,
html[data-theme="dark"] .footer-legal a {
    color: #c4a0e0;
}

html[data-theme="dark"] .preco-card {
    border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .billing-toggle {
    background: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .home-login-card__theme {
    border-top-color: rgba(255, 255, 255, 0.1);
}

html[data-theme="dark"] .theme-toggle--site {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: #f3f0f7;
}

html[data-theme="dark"] .theme-toggle--site:hover {
    background: rgba(255, 255, 255, 0.14);
}

html[data-theme="dark"] .theme-toggle--site .theme-switch {
    background: rgba(255, 255, 255, 0.22);
}
