/* ============================================================
   LP GÁS PROSPECT — CSS compartilhado (layout, componentes)
   Cores vêm de temas/{bandeira}.css — nunca hardcode cor de marca aqui.
   ============================================================ */

:root {
    --color-text: #111827;
    --color-text-muted: #6B7280;
    --color-background: #FFFFFF;
    --color-background-alt: #F9FAFB;
    --color-border: #E5E7EB;

    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #1DA851;

    --shadow-soft: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
    --shadow-medium: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
    --shadow-strong: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);

    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    --transition-base: 250ms ease;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--color-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== Foco visível (acessibilidade) ===== */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--color-primary-400, #3333FF);
    outline-offset: 2px;
}

/* ===== Header ===== */
.lp-topbar {
    background: var(--color-primary-900, #001433);
    color: rgba(255,255,255,.9);
}

.lp-navbar {
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 50;
}

.lp-nav-link {
    color: var(--color-text);
    font-weight: 500;
    transition: color var(--transition-base);
}
.lp-nav-link:hover {
    color: var(--color-primary, #002D72);
}

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    padding: .75rem 1.5rem;
    min-height: 44px;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.lp-btn:hover { transform: translateY(-2px); }

.lp-btn-primary {
    background: var(--color-primary, #002D72);
    color: #fff;
    box-shadow: var(--shadow-medium);
}
.lp-btn-whatsapp {
    background: var(--color-whatsapp);
    color: #fff;
    box-shadow: var(--shadow-medium);
}
.lp-btn-whatsapp:hover { background: var(--color-whatsapp-dark); }

.lp-btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary, #002D72);
    color: var(--color-primary, #002D72);
}

/* ===== Hero ===== */
.lp-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary-900, #001433) 0%, var(--color-primary-700, #001F4F) 60%, var(--color-primary-500, #002D72) 100%);
}

/* Se houver foto real de hero, adicione <div class="lp-hero-bg" style="background-image:url(...)"></div>
   + <div class="lp-hero-overlay"></div> como primeiros filhos da section (ver skill). */
.lp-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* Em telas estreitas o corte da foto de fundo é só horizontal (a altura já cobre o
   container inteiro), então "center" deixa o rosto perto da borda do recorte. Desloca
   o foco para onde o rosto está na heroliquigas.webp (~70% da largura da imagem). */
@media (max-width: 767px) {
    .lp-hero-bg {
        background-position: 70% center;
    }
}

.lp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(var(--color-primary-rgb, 0,45,114),.92) 0%, rgba(var(--color-primary-rgb, 0,45,114),.8) 55%, rgba(var(--color-primary-rgb, 0,45,114),.55) 100%);
    z-index: 1;
}

/* Overlay neutro (preto sutil) — usar quando a foto de fundo já tem boas cores e só falta
   contraste para o texto, sem tingir a imagem com a cor da marca. */
.lp-hero-overlay-dark {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.38);
    z-index: 1;
}

/* Quando o hero usa foto real sem tint de cor, aplique esta classe no texto para manter
   legibilidade sobre a imagem (sem cobrir as cores naturais da foto com overlay). */
.lp-hero-text-shadow {
    text-shadow: 0 2px 12px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.5);
}

.lp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: var(--radius-full);
    padding: .4rem 1rem;
    font-size: .8rem;
    font-weight: 600;
}
.lp-hero-badge-dot {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--color-secondary, #D90E21);
    animation: lp-pulse 1.6s infinite;
}

@keyframes lp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
}

/* ===== Trust badges ===== */
.lp-trust-badge-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.12);
    color: #fff;
}

/* ===== Cards ===== */
.lp-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.lp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

/* ===== Cards de Produto (padrão de referência SIS GLP DIGITAL) ===== */
.lp-product-card {
    position: relative;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border-radius: var(--radius-2xl, 2rem);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--color-border);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.lp-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong), 0 0 0 1px var(--color-secondary);
}

.lp-product-card-image {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(160deg, rgba(var(--color-tertiary-rgb, 255,199,44),.35) 0%, #fff 75%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 9rem;
}
.lp-product-card-image img {
    max-width: 100%;
    max-height: 7.5rem;
    object-fit: contain;
    transition: transform var(--transition-base);
}
.lp-product-card:hover .lp-product-card-image img {
    transform: scale(1.05);
}

.lp-product-card-badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    padding: .3rem .65rem;
    background: var(--color-secondary);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-soft);
}

.lp-product-card-content {
    padding: 1.25rem;
}
.lp-product-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: .5rem;
    line-height: 1.3;
}
.lp-product-card-description {
    font-size: .875rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lp-product-card-consult {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-size: .875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--color-primary-50);
    color: var(--color-primary);
    padding: .625rem 1rem;
    border-radius: var(--radius-lg);
    transition: background var(--transition-base);
}
.lp-product-card-consult:hover {
    background: var(--color-primary-100);
}

.lp-product-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}
.lp-product-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1rem;
    font-size: .875rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-base);
}
.lp-product-card-btn-primary {
    background: var(--color-whatsapp);
    color: #fff;
}
.lp-product-card-btn-primary:hover {
    background: var(--color-whatsapp-dark);
    transform: translateY(-2px);
}
.lp-product-card-btn-secondary {
    background: var(--color-primary-50);
    color: var(--color-primary);
}
.lp-product-card-btn-secondary:hover {
    background: var(--color-primary-100);
    transform: translateY(-2px);
}

/* ===== Realce de marca (fundo com leve tom da cor terciária) ===== */
.lp-section-tint {
    background: linear-gradient(180deg, rgba(var(--color-tertiary-rgb, 255,199,44),.14) 0%, #fff 65%);
}

/* ===== Reveal on scroll (substitui libs de animação) ===== */
[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ===== FAQ (usa <details>/<summary> nativo, sem JS) ===== */
.lp-faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: #fff;
    overflow: hidden;
}
.lp-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary .lp-faq-icon {
    transition: transform var(--transition-base);
    flex-shrink: 0;
}
.lp-faq-item[open] summary .lp-faq-icon {
    transform: rotate(180deg);
}
.lp-faq-item .lp-faq-body {
    padding: 0 1.5rem 1.25rem;
    color: var(--color-text-muted);
}

/* ===== WhatsApp flutuante ===== */
.lp-whatsapp-float {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 60;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    background: var(--color-whatsapp);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-strong);
    animation: lp-float-pulse 2.4s infinite;
}
.lp-whatsapp-float:hover { background: var(--color-whatsapp-dark); }

@keyframes lp-float-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5), var(--shadow-strong); }
    50% { box-shadow: 0 0 0 12px rgba(37,211,102,0), var(--shadow-strong); }
}

/* ===== Mobile menu ===== */
#lp-mobile-menu {
    display: none;
}
#lp-mobile-menu.is-open {
    display: block;
}
