/* --- Estilos da Landing Page InspiraPRO --- */

/* BANNER FIXO NO TOPO */
.sticky-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-soft-dark);
    z-index: 1002;
    padding: 10px 0;
    border-bottom: 1px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex; /* <<---- ADICIONADO PARA GARANTIR O LAYOUT */
}

.sticky-banner.visible {
    display: flex;
}
.sticky-banner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.sticky-banner p {
    margin: 0;
    font-weight: 500;
    color: var(--text-light);
}
.countdown-sticky {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2rem;
}
.countdown-sticky span {
    background-color: var(--bg-dark);
    padding: 2px 8px;
    border-radius: 4px;
}
.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Ajusta o corpo da página para dar espaço ao banner fixo */
body.sticky-banner-active {
    padding-top: 55px;
}
/* Ajusta a posição do botão de voltar */
body.sticky-banner-active .back-button {
    top: 75px;
}

/* BOTÃO FLUTUANTE DE VOLTAR */
.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(12, 51, 77, 0.7);
    backdrop-filter: blur(5px);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}
.back-button:hover {
    background-color: var(--bg-soft-dark);
    color: var(--white-color);
    transform: translateY(-2px);
}
.back-button svg {
    width: 18px;
    height: 18px;
}

/* Hero Section */
.lp-hero {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.lp-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 100%;
    height: 150%;
    background: radial-gradient(circle, rgba(80, 175, 145, 0.15), transparent 60%);
    z-index: 0;
}
.lp-hero .container {
    position: relative;
    z-index: 1;
}
.lp-hero .hero-intro {
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}
.lp-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white-color);
    text-transform: uppercase;
    line-height: 1.1;
    max-width: 60%;
}
.lp-hero h1 span {
    color: var(--accent-color);
}
.lp-hero .hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-darker);
    max-width: 55%;
    margin: 1.5rem 0 2.5rem 0;
}
.lp-hero .btn-large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

.lp-hero .hero-image {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 480px;
    height: auto;
    z-index: 1;
    -webkit-mask-image: radial-gradient(circle at center, black 65%, transparent 66%);
    mask-image: radial-gradient(circle at center, black 65%, transparent 66%);
}


/* Seção Problema */
.lp-problem {
    padding: 100px 0;
    text-align: center;
}
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 3rem 0;
}
.problem-card {
    background: var(--bg-dark);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid var(--secondary-color);
}
.problem-card h3 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}
.problem-card p {
    color: var(--text-darker);
}
.problem-summary {
    max-width: 700px;
    margin: 2rem auto 0 auto;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Seção Solução */
.lp-solution {
    padding: 100px 0;
}
.solution-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.solution-image img {
    border-radius: 10px;
    max-width: 100%;
}
.solution-text .section-title {
    text-align: left;
}
.solution-text ul {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}
.solution-text li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}
.solution-text li svg {
    color: var(--accent-color);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Seção CTA Final */
.lp-cta {
    padding: 80px 0;
    text-align: center;
}
.lp-cta h2 {
    font-size: 2.5rem;
}
.lp-cta p {
    color: var(--text-darker);
    max-width: 500px;
    margin: 1rem auto 2rem auto;
}
.lp-cta .btn-large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

/* Rodapé da Landing Page */
.lp-footer {
    padding: 20px 0;
    text-align: center;
    background-color: var(--bg-dark);
    color: var(--text-darker);
    font-size: 0.9rem;
}

/* ESTILOS DO TEMPORIZADOR */
.countdown {
    margin: 1.5rem 0;
}
.countdown span {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    background-color: var(--bg-dark);
    padding: 10px 15px;
    border-radius: 5px;
    line-height: 1;
    min-width: 60px;
    display: inline-block;
}
.countdown span:not(:last-child) {
    margin-right: 5px;
}
.countdown span:not(:first-child) {
    margin-left: 5px;
}

/* Responsividade da Landing Page */
@media (max-width: 1100px) {
    .lp-hero .hero-image {
        right: 20px;
        width: 400px;
    }
}

@media (max-width: 992px) {
    .lp-hero .hero-image {
        width: 350px;
        right: 10px;
    }
    .lp-hero h1, .lp-hero .hero-subtitle {
        max-width: 65%;
    }
}

@media (max-width: 768px) {
    body.sticky-banner-active {
        padding-top: 90px; /* Mais espaço no mobile para o banner que quebra a linha */
    }
    body.sticky-banner-active .back-button {
        top: 110px; 
    }
    .back-button span {
        display: none;
    }
    .back-button {
        padding: 10px;
        border-radius: 50%;
    }
    .lp-hero {
        text-align: center;
        padding-top: 80px;
        padding-bottom: 60px;
        min-height: auto;
    }
    .lp-hero .hero-image {
        position: relative;
        transform: none;
        width: 250px;
        height: 250px;
        object-fit: cover;
        border-radius: 50%;
        margin: 2rem auto 0 auto;
        right: auto;
        top: auto;
        left: auto;
        bottom: auto;
        mask-image: none;
    }
    .lp-hero .container {
        display: flex;
        flex-direction: column;
    }
    .lp-hero h1, .lp-hero .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .solution-container {
        grid-template-columns: 1fr;
    }
    .solution-image {
        order: -1;
        margin-bottom: 2rem;
    }
    .solution-text .section-title {
        text-align: center;
    }
}