﻿:root {
    --lp-brown: #4B382E;
    --lp-tab-tutorials: #4D4840;
    --lp-blue-footer: #0053a0;
    --lp-text-main: #ffffff;
    --lp-text-dark: #222222;
    --lp-text-muted: #666666;
    --lp-max-width: 1120px;
    --lp-header-height: 80px;
    --container: 1230px;
}

/* base */

* {
    box-sizing: border-box
}

.lp-body {
    margin: 0;
    font-family: "Lato",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
    background: #ffffff;
    color: var(--lp-text-dark);
}

.lp-container {
    width: 100%;
    max-width: var(--lp-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 24px;
}

/* HEADER */

.lp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 135px;
    background: #000;
    background: transparent;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    overflow: visible;
}

    /* camada do gradiente */
    .lp-header::before {
        content: "";
        position: absolute;
        inset: 0; /* top:0; right:0; bottom:0; left:0; */
        background: linear-gradient( to right, #000000 0%, #4f4f4f 30%, #8a8a8a 50%, #4f4f4f 70%, #000000 100% );
        opacity: 0; /* começa invisível */
        transition: opacity 0.5s ease; /* animação de 2s */
        z-index: 0;
        pointer-events: none;
    }

.lp-header--scrolled {
    background: #000;
}

    .lp-header--scrolled::before {
        opacity: 1;
    }

.lp-header__wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 64px;
    position: relative;
    z-index: 1;
}

.lp-header__brand img {
    height: 50px
}

.lp-burger {
    display: none;
    margin-left: auto;
    background: transparent;
    border: 0;
    cursor: pointer
}

    .lp-burger span {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        margin: 5px 0
    }

.lp-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: 15%;
    margin-right: auto;
}

    .lp-nav a {
        color: #ADADAD;
        text-decoration: none;
        font-weight: 400;
        opacity: .9;
        transition: opacity 0.2s;
        font-size: 18px;
    }

        .lp-nav a:hover {
            opacity: 1;
            color: #FFFFFF;
        }

    .lp-nav.is-open {
        display: flex;
    }

.lp-phone {
    color: #FFFFFF;
    opacity: 0.9;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

    /* BARRINHA antes do "Fale Conosco" */
    .lp-phone::before {
        content: "";
        display: inline-block;
        width: 1px;
        height: 16px;
        background-color: rgba(255, 255, 255, 0.6);
        margin-right: 12px;
    }

/* HERO */

.lp-hero {
    position: relative;
    background-image: url("/assets/images/background.png");
    background-size: 100% auto;
    background-position: top center;
    background-repeat: no-repeat;
    color: #ffffff;
    aspect-ratio: 3819 / 2160;
    display: flex;
    align-items: center;
    top: calc(-1 * var(--lp-header-height));
    margin-bottom: calc(-1 * var(--lp-header-height));
}

.lp-hero-content-wrap {
    position: relative;
    z-index: 1;
    top: -40px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.lp-hero-content {
    max-width: 730px;
    margin: auto;
    text-align: center;
    padding: 0px 80px;
}

.lp-hero-title {
    font-size: 32px;
    line-height: 1.4;
    margin: 0 0 12px;
    font-weight: 800;
}

.lp-hero-subtitle {
    font-size: 18px;
    line-height: 1.4;
    margin: 0 0 16px;
    font-weight: 500;
}

.lp-hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    justify-content: center;
}

.lp-hero-small-text {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* botões */

.lp-btn {
    border-radius: 8px;
    padding: 10px;
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.lp-btn-light {
    background: #ffffff;
    color: #292623;
}

    .lp-btn-light:hover {
        background: transparent;
        border: 2px solid #878787;
        color: #878787;
    }

.lp-btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

    .lp-btn-outline-light:hover {
        background: #FFFFFF;
        color: #1E1E1E;
        border-color: transparent;
    }

/* seta */

.lp-hero-scroll {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center; /* CENTRALIZA */
    margin-top: -122px; /* faz a bolinha encostar no final do hero, igual mock */
    z-index: 10;
}

.lp-hero-scroll-btn {
    width: 52px;
    height: 52px;
    border-radius: 50% 50% 0 0;
    background: #ffffff;
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* SEÇÕES */

.lp-section {
    padding: 40px 0;
}

.lp-section-header {
    margin-bottom: 24px;
    max-width: 730px;
    margin: auto;
}

.lp-section-header--center {
    text-align: center;
}

.lp-section-title {
    font-size: 1.4rem;
    margin: 0 0 8px;
}

.lp-section-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: var(--lp-text-muted);
}

.lp-anchor-target {
    scroll-margin-top: calc(var(--lp-header-height) + 8px);
}

/* TUTORIAIS */

.lp-section-tutorials {
    background: linear-gradient( to bottom, #ffffff 0%, #ffffff 68%, var(--lp-brown) 68%, var(--lp-brown) 100% );
}

.lp-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.lp-tab {
    border: 1px solid #C0C1BE;
    background: transparent;
    padding: 10px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    line-height: 1.4;
    font-weight: 500;
    color: #817972;
}

    .lp-tab:hover {
        background: var(--lp-tab-tutorials);
        border-color: var(--lp-tab-tutorials);
        color: #FFFFFF;
    }

    .lp-tab.is-active {
        background: var(--lp-tab-tutorials);
        border-color: var(--lp-tab-tutorials);
        color: #FFFFFF;
    }

        .lp-tab.is-active:hover {
            background: #39332D;
            border-color: #39332D;
        }

.lp-video-wrapper {
    max-width: 910px;
    margin: 0 auto;
    padding: 12px;
    border-radius: 8px;
}

    .lp-video-wrapper iframe,
    .lp-video-wrapper video {
        display: block;
        height: 450px;
        width: 100%;
    }

.lp-tutorials-title {
    font-size: 18px;
    margin: 0 0 6px;
    font-weight: 800;
    line-height: 1.4;
    color: #5E554C;
    margin: 16px 8px;
}

.lp-tutorials-subtitle {
    font-size: 32px;
    color: #0D468D;
    font-weight: 800;
    line-height: 1.4;
    margin: 16px 8px;
}

.lp-tutorials-paragraph {
    font-size: 18px;
    color: #292623;
    font-weight: 400;
    line-height: 1.4;
    margin: 16px 8px;
}

/* COMO FUNCIONA */

.lp-section-how {
    background: var(--lp-brown);
    color: #ffffff;
}

.lp-how-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 24px;
}

.lp-how-titles {
    max-width: 520px;
    margin: auto;
}

.lp-how-title {
    font-size: 18px;
    text-align: center;
    color: #C0C1BE;
    font-weight: 800;
    line-height: 1.4;
    margin: 16px 8px;
}

.lp-how-subtitle {
    font-size: 32px;
    margin: 16px 8px;
    text-align: center;
    color: #FFFFFF;
    line-height: 1.4;
    font-weight: 800;
}

.lp-how-text {
    padding: 0 8px 0 138px;
}

.lp-how-paragraph {
    font-size: 18px;
    line-height: 1.6;
    margin: 25px 0 10px 0;
    font-weight: 500;
    color: #C0C1BE;
}

.lp-how-image {
    text-align: right;
}

.lp-how-product {
    max-width: 470px;
}

/* FAQ */

.lp-section-faq {
    background: #ffffff;
    padding: 56px 0 72px;
}

.lp-faq-kicker {
    font-size: 18px;
    color: #5E554C;
    font-weight: 800;
    line-height: 1.4;
}

.lp-section-faq .lp-section-title {
    font-size: 24px;
    line-height: 1.4;
    color: #0D468D;
    font-weight: 800;
}

.lp-section-faq .lp-section-header {
    max-width: 760px;
}

/* lista e cards */
.lp-faq-list {
    max-width: 880px;
    margin: 32px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lp-faq-item {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #D9E2F3;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    overflow: hidden;
}

/* botão da pergunta */

.lp-faq-question {
    width: 100%;
    text-align: left;
    padding: 16px 22px;
    font-size: 20px;
    line-height: 1.4;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #0D468D;
    font-weight: 600;
}

/* seta (chevron) */

.lp-faq-arrow {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid #5E554C;
    border-bottom: 2px solid #5E554C;
    transform: rotate(45deg); /* ">" */
    transition: transform 0.2s ease;
}

    .lp-faq-question:hover .lp-faq-arrow,
    .lp-faq-arrow:hover {
        border-right: 2px solid #0D468D;
        border-bottom: 2px solid #0D468D;
    }

.lp-faq-item.is-open .lp-faq-arrow {
    transform: rotate(-135deg); /* "^" */
    border-right: 2px solid #0D468D;
    border-bottom: 2px solid #0D468D;
}

/* borda interna quando abre */

.lp-faq-item.is-open .lp-faq-question {
    border-bottom: 1px solid #E3EBF7;
}

/* resposta */

.lp-faq-answer {
    display: none;
    padding: 12px 22px 18px;
    font-size: 18px;
    line-height: 1.4;
    color: #0D468D;
    font-weight: 400;
}

.lp-faq-item.is-open .lp-faq-answer {
    display: block;
}


/* RODAPÉ */
.lp-footer {
    background: var(--lp-blue-footer);
    color: #ffffff;
}

.lp-footer-inner {
    min-height: 90px;
    padding: 16px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

/* “logo” Virbac no meio */

.lp-footer-brand {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

    .lp-footer-brand img {
        width: 110px;
    }

/* linha de texto */

.lp-footer-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 14px;
    font-size: 13px;
}

.lp-footer-separator {
    opacity: 0.7;
}

.lp-footer-link {
    color: #ffffff;
    text-decoration: underline;
}

/* RESPONSIVO */

@media (max-width: 960px) {
    .lp-hero-content {
        padding: 0px 16px;
    }

    .lp-hero-content-wrap {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .lp-how-grid {
        grid-template-columns: 1fr;
    }

    .lp-how-image {
        order: -1;
        text-align: center;
        margin-bottom: 16px;
    }

    .lp-video-wrapper iframe,
    .lp-video-wrapper video {
        width: 100%;
        height: 260px;
    }

    .lp-how-product {
        width: 100%;
    }

    .lp-how-text {
        padding: 0;
    }
}

@media (max-width: 920px) {
    .lp-nav {
        position: fixed;
        inset: 64px 0 auto 0;
        background: rgba(0,0,0,.9);
        backdrop-filter: blur(6px);
        padding: 16px 24px;
        display: none;
        flex-direction: column;
        gap: 12px;
        margin-left: 0;
        margin-right: 0;
    }

    .lp-burger {
        display: inline-block
    }

    .lp-header {
        padding: 8px 16px; /* <-- reduz para aproximar dos cantos */
    }

    .lp-header__wrap {
        min-height: 64px;
        padding-right: 0;
    }

    .lp-phone::before {
        content: "";
        display: none;
    }

    .lp-how-text {
        padding: 0 8px 0 16px;
        text-align: center;
    }

    .lp-hero-cta-row {
        align-items: stretch;
    }

    .lp-btn {
        width: 100%;
        text-align: center;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .lp-container {
        padding: 0 16px;
    }

    .lp-hero {
        background-image: url(/assets/images/background.png);
        background-position-x: right;
    }

    .lp-hero-title {
        font-size: 1.5rem;
    }

    .lp-video-wrapper iframe,
    .lp-video-wrapper video {
        width: 100%;
        height: 220px;
    }

    .lp-footer-inner {
        padding: 10px 0;
        flex-direction: column;
        gap: 6px;
    }

    .lp-tabs {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding: 0 16px 8px;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 16px;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
    }

        .lp-tabs .lp-tab {
            flex: 0 0 auto;
            white-space: nowrap;
            scroll-snap-align: center;
        }

    .lp-section-tutorials {
        background: linear-gradient(to bottom, #ffffff 0%, #ffffff 82%, var(--lp-brown) 82%, var(--lp-brown) 100%);
    }
}

@media (max-width: 600px) {
    .lp-footer-text {
        flex-direction: column;
        gap: 4px;
    }

    .lp-footer-separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .lp-hero-content-wrap {
        padding-top: 24px;
        padding-bottom: 28px;
    }

    .lp-video-wrapper iframe,
    .lp-video-wrapper video {
        width: 100%;
        height: 190px;
    }

    .lp-how-product {
        max-width: 360px;
    }
}

/* SMS Opt-Out Banner Section */
.lp-section-sms-optout-banner {
    background-color: #f5f5f5;
    padding: 40px 0;
}

.lp-sms-optout-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lp-sms-optout-banner-content {
    flex: 1;
}

.lp-sms-optout-banner-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--lp-brown);
    margin: 0 0 8px 0;
}

.lp-sms-optout-banner-text {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.lp-sms-optout-banner-action {
    flex-shrink: 0;
}

.lp-btn-outline-primary {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid var(--lp-brown);
    border-radius: 8px;
    color: var(--lp-brown);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    background: transparent;
}

.lp-btn-outline-primary:hover {
    background-color: var(--lp-brown);
    color: white;
}

/* SMS Opt-Out Page Styles */
.lp-header--simple {
    background-color: white;
    padding: 16px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.lp-section-sms-optout {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.lp-sms-optout-card {
    background: white;
    border-radius: 16px;
    padding: 48px;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.lp-sms-optout-form {
    margin-top: 32px;
}

.lp-form-group {
    margin-bottom: 24px;
}

.lp-form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.lp-form-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.lp-form-input:focus {
    outline: none;
    border-color: var(--lp-brown);
}

.lp-form-input--token {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 0.5em;
    font-weight: 600;
}

.lp-form-hint {
    display: block;
    font-size: 0.85rem;
    color: #777;
    margin-top: 6px;
}

.lp-form-actions {
    margin-top: 24px;
}

.lp-form-actions .lp-btn {
    width: 100%;
}

.lp-sms-optout-toggle {
    margin-top: 24px;
    text-align: center;
}

.lp-link {
    color: var(--lp-brown);
    text-decoration: none;
    font-size: 0.9rem;
}

.lp-link:hover {
    text-decoration: underline;
}

.lp-sms-optout-actions {
    margin-top: 32px;
    text-align: center;
}

/* Alert Styles */
.lp-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.lp-alert-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.lp-alert p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.lp-alert--success {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.lp-alert--error {
    background-color: #ffebee;
    color: #c62828;
}

.lp-alert--info {
    background-color: #e3f2fd;
    color: #1565c0;
}

/* Responsive adjustments for SMS Opt-Out */
@media (max-width: 768px) {
    /* ...existing code... */
    
    .lp-sms-optout-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .lp-sms-optout-card {
        padding: 32px 24px;
        margin: 0 16px;
    }
}

