/* ========================================
   CRM DE LEADS (LEADWHATS)
   Prefixo .lw- — espelha o modelo de
   Criação de Sites (.cs-hero)
   ======================================== */

.lw-text-orange {
    color: #FF6D00 !important;
}

.lw-brand-name {
    font-weight: 900;
}

.lw-brand-accent {
    color: #00E676;
}

/* ========================================
   HERO
   ======================================== */
.lw-hero-section {
    min-height: 85vh;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
}

.lw-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lw-hero-content h1 {
    font-size: 46px;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.lw-hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 30px;
}

.lw-hero-tag {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 109, 0, 0.1);
    border: 1px solid rgba(255, 109, 0, 0.3);
    border-radius: 25px;
    color: #FF6D00;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.lw-hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.lw-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 109, 0, 0.2);
    border-radius: 25px;
}

.lw-badge-item i {
    color: #FF6D00;
    font-size: 16px;
}

.lw-badge-item span {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.lw-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.lw-btn-primary,
.lw-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.lw-btn-primary {
    background: linear-gradient(135deg, #FF4000, #FF8C00);
    color: white;
    box-shadow: 0 8px 25px rgba(255, 64, 0, 0.4);
}

.lw-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 64, 0, 0.6);
    color: white;
}

.lw-btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.lw-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 109, 0, 0.5);
    color: white;
}

/* Formulário dentro do hero */
.lw-hero-form-wrap {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding-right: 60px;
}

.lw-hero-form-wrap .whatsapp-form-completo {
    margin: 0;
    max-width: 460px;
    width: 100%;
}

.lw-hero-form-wrap .whatsapp-header {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lw-hero-form-wrap .whatsapp-icon {
    position: static;
    font-size: 22px;
    margin-bottom: 0;
}

.lw-hero-form-wrap .whatsapp-header h2 {
    font-size: 19px;
    margin: 0;
}

.lw-hero-form-wrap .whatsapp-body {
    padding: 20px 25px;
}

.lw-hero-form-wrap .whatsapp-form {
    grid-template-columns: 1fr;
    gap: 12px;
}

.lw-hero-form-wrap .whatsapp-form label {
    font-size: 12px;
    margin-bottom: 5px;
}

.lw-hero-form-wrap .whatsapp-form input,
.lw-hero-form-wrap .whatsapp-form select,
.lw-hero-form-wrap .whatsapp-form textarea {
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 8px;
}

.lw-hero-form-wrap .whatsapp-form textarea {
    min-height: 90px;
    font-size: 12px;
    resize: none;
    overflow-y: hidden;
}

.lw-hero-form-wrap .check-terms-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
}

.lw-hero-form-wrap .check-terms-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
    min-width: 13px;
    max-width: 13px;
    padding: 0;
    margin-top: 2px;
    background: #1a1a1a;
    border: 1.5px solid rgba(255, 64, 0, 0.4);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.lw-hero-form-wrap .check-terms-label input[type="checkbox"]:checked {
    background: #FF4000;
    border-color: #FF4000;
}

.lw-hero-form-wrap .check-terms-label input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 3px;
    top: -1px;
    width: 3px;
    height: 7px;
    border: solid white;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.lw-hero-form-wrap .check-terms-label a {
    color: #FF8C00;
    text-decoration: underline;
}

.lw-hero-form-wrap .btn-container {
    margin-top: 2px;
}

.lw-hero-form-wrap .form-privacy-note {
    margin-top: 12px;
    text-align: center;
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.5);
}

.lw-hero-form-wrap .form-privacy-note a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: underline;
}

.lw-hero-form-wrap .btn-whatsapp {
    padding: 12px 20px;
    font-size: 14px;
}

.lw-hero-form-wrap .btn-whatsapp i {
    font-size: 16px;
}

/* ========================================
   SECTION HEAD (compartilhado)
   ======================================== */
.lw-section-head {
    max-width: 640px;
    margin: 0 auto 50px;
    text-align: center;
    padding: 0 20px;
}

.lw-section-head h2 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.65rem, 4vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 14px;
    text-wrap: balance;
}

.lw-section-head p {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   2 FONTES, 1 PAINEL
   ======================================== */
.lw-sources-section {
    background: #0a0a0a;
    padding: 90px 0;
}

.lw-sources-grid {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: stretch;
    gap: 24px;
}

.lw-source-card {
    flex: 1;
    background: #131313;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 36px 32px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.lw-source-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 109, 0, 0.4);
}

.lw-source-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF4000, #FF8C00);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(255, 64, 0, 0.3);
}

.lw-source-icon i {
    font-size: 28px;
    color: #ffffff;
}

.lw-source-card h3 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.lw-source-card p {
    font-family: "DM Sans", sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

.lw-source-plus {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 109, 0, 0.5);
    font-size: 22px;
}

/* ========================================
   FUNCIONALIDADES
   ======================================== */
.lw-features-section {
    background: #0a0a0a;
    padding: 90px 0;
}

.lw-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.lw-feature-card {
    --lw-c1: #FF4000;
    --lw-c2: #FF8C00;
    --lw-glow: rgba(255, 64, 0, 0.20);
    --lw-border-hover: rgba(255, 109, 0, 0.55);
    --lw-shadow-hover: rgba(255, 64, 0, 0.22);

    position: relative;
    z-index: 0;
    background: #131313;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.lw-feature-card::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -70px;
    right: -70px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--lw-glow) 0%, transparent 72%);
    opacity: 0.8;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.lw-feature-card:hover::before {
    opacity: 1;
    transform: scale(1.2);
}

.lw-feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--lw-border-hover);
    box-shadow: 0 18px 36px var(--lw-shadow-hover);
}

.lw-feature--organize {
    --lw-c1: #2E7CF6;
    --lw-c2: #6FB1FC;
    --lw-glow: rgba(46, 124, 246, 0.20);
    --lw-border-hover: rgba(46, 124, 246, 0.55);
    --lw-shadow-hover: rgba(46, 124, 246, 0.22);
}

.lw-feature--capture {
    --lw-c1: #00B368;
    --lw-c2: #5CE8A6;
    --lw-glow: rgba(0, 179, 104, 0.20);
    --lw-border-hover: rgba(0, 179, 104, 0.55);
    --lw-shadow-hover: rgba(0, 179, 104, 0.22);
}

.lw-feature--tracking {
    --lw-c1: #FF2D78;
    --lw-c2: #FF7EB3;
    --lw-glow: rgba(255, 45, 120, 0.20);
    --lw-border-hover: rgba(255, 45, 120, 0.55);
    --lw-shadow-hover: rgba(255, 45, 120, 0.22);
}

.lw-feature--team {
    --lw-c1: #00A8C4;
    --lw-c2: #6FE3F5;
    --lw-glow: rgba(0, 168, 196, 0.20);
    --lw-border-hover: rgba(0, 168, 196, 0.55);
    --lw-shadow-hover: rgba(0, 168, 196, 0.22);
}

.lw-feature--templates {
    --lw-c1: #8B5CF6;
    --lw-c2: #C4A6FF;
    --lw-glow: rgba(139, 92, 246, 0.20);
    --lw-border-hover: rgba(139, 92, 246, 0.55);
    --lw-shadow-hover: rgba(139, 92, 246, 0.22);
}

.lw-feature--reports {
    --lw-c1: #E69500;
    --lw-c2: #FFCE54;
    --lw-glow: rgba(230, 149, 0, 0.20);
    --lw-border-hover: rgba(230, 149, 0, 0.55);
    --lw-shadow-hover: rgba(230, 149, 0, 0.22);
}

.lw-feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--lw-c1), var(--lw-c2));
    border-radius: 14px;
    box-shadow: 0 8px 20px var(--lw-glow);
    margin-bottom: 22px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lw-feature-card:hover .lw-feature-icon {
    transform: scale(1.08) rotate(-4deg);
}

.lw-feature-icon i {
    font-size: 24px;
    color: #ffffff;
}

.lw-feature-card h3 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
}

.lw-feature-card p {
    font-family: "DM Sans", sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

/* Revelação em cascata — só ativa quando o JS confirma suporte */
body.lw-js .lw-feature-card,
body.lw-js .lw-source-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

body.lw-js .lw-feature-card.is-visible,
body.lw-js .lw-source-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    body.lw-js .lw-feature-card,
    body.lw-js .lw-source-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ========================================
   TESTE GRÁTIS
   ======================================== */
.lw-trial-section {
    background: linear-gradient(180deg, #0a0a0a 0%, #140900 100%);
    padding: 90px 0;
}

.lw-trial-inner {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.lw-trial-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF4000, #FF8C00);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(255, 64, 0, 0.3);
}

.lw-trial-icon i {
    font-size: 28px;
    color: #ffffff;
}

.lw-trial-inner h2 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 14px;
    text-wrap: balance;
}

.lw-trial-inner p {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 32px;
}

.lw-trial-inner .lw-btn-primary {
    display: inline-flex;
}

/* ========================================
   RESPONSIVO
   ======================================== */
@media (max-width: 1200px) {
    .lw-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .lw-sources-grid {
        flex-direction: column;
    }

    .lw-source-plus {
        transform: rotate(90deg);
    }

    .lw-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .lw-hero-section {
        min-height: auto;
        padding: 30px 0 30px;
    }

    .lw-hero-content h1 {
        font-size: 32px;
    }

    .lw-hero-form-wrap {
        order: -1;
        padding-right: 0;
        justify-content: center;
    }

    .lw-hero-form-wrap .whatsapp-form-completo {
        max-width: 100%;
    }

    .lw-sources-section,
    .lw-features-section,
    .lw-trial-section {
        padding: 60px 0;
    }

    .lw-features-grid {
        grid-template-columns: 1fr;
    }
}
