/**
 * CSS Exclusivo Landing Page - Madeira Tratada de Eucalipto e Pinus
 * Carregado APÓS hero.css para neutralizar overrides do header/nav
 * Estilo Premium UI/UX Pro Max isolado
 */

/* ========== NEUTRALIZAR hero.css overrides do header ========== */
/* A LP não tem .site-header, mas caso algo global vaze, reseta */
.landing-page .site-main {
    padding-top: 0 !important;
}

/* ========== BODY & BASE ========== */
.landing-page {
    background-color: #E9E4D0;
    font-family: 'Inter', sans-serif;
}

/* prefers-reduced-motion global desta página */
@media (prefers-reduced-motion: reduce) {
    .landing-page *,
    .landing-page *::before,
    .landing-page *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========== HERO SECTION (Inspirado em Eucalipto Tratado) ========== */
.lp-hero {
    position: relative;
    width: 100%;
    min-height: 90vh; /* Para garantir espaço para o form flutuante */
    display: flex;
    align-items: center;  
    overflow: hidden;
    background-color: #201101;
}

.lp-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 40%;
    filter: brightness(0.42);
    transition: transform 10s ease;
}

.lp-hero:hover .lp-hero__bg {
    transform: scale(1.03);
}

.lp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(32,17,1,0.85)  0%,
        rgba(32,17,1,0.4) 40%,
        rgba(32,17,1,0.4) 60%,
        rgba(32,17,1,0.9) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.lp-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 1.5rem 80px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.lp-hero__text-area {
    flex: 1 1 500px;
    max-width: 600px;
}

.lp-logo {
    max-width: 350px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.lp-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.lp-title span { color: #CD9C3D; }

.lp-title-line {
    display: block;
    width: 56px;
    height: 4px;
    background: #CD9C3D;
    border-radius: 2px;
    margin-bottom: 1.25rem;
}

.lp-subtitle {
    font-size: 1.1rem;
    color: rgba(233,228,208,0.9);
    line-height: 1.75;
    max-width: 720px;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* ==========================================================
   BOTÕES PREMIUM
   ========================================================== */
.btn-premium-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #CD9C3D;
    color: #201101;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #CD9C3D;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(205,156,61,0.3);
}

.btn-premium-primary:hover {
    background: #b8892f;
    border-color: #b8892f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(205,156,61,0.5);
}

/* Verde CTA (Form Submit) */
.btn-premium-green {
    background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
    border: none;
    color: #fff;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.btn-premium-green::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: none;
}

.btn-premium-green:hover::after {
    left: 200%;
    transition: all 0.7s ease-in-out;
}

.btn-premium-green:hover {
    background: linear-gradient(135deg, #1ebe5a 0%, #169345 100%);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
    color: #fff;
}

/* ==========================================================
   HERO FORM (FLUTUANTE DIREITA)
   ========================================================== */
.lp-hero-form {
    flex: 1 1 400px;
    max-width: 440px;
    background: #ffffff;
    padding: 2.2rem 2.2rem;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(205, 156, 61, 0.15);
    position: relative;
    z-index: 10;
    border: none;
}

.lp-hero-form::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

.lp-hero-form::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(205,156,61,0.1) 0%, transparent 70%);
    border-radius: 20px;
    z-index: -1;
    pointer-events: none;
}

.lp-form-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
    color: #201101;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.5px;
}

.lp-form-subtitle {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.lp-hero-form .form-group {
    margin-bottom: 0.9rem;
}

.lp-hero-form .form-label {
    display: block;
    margin-bottom: 0.4rem;
    color: #444;
    font-weight: 700;
    font-size: 0.85rem;
}

.lp-hero-form .form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #f0ece1;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #201101;
    background: #faf9f6;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
}

.lp-hero-form .form-control:hover {
    border-color: #e5dfcb;
    background: #ffffff;
}

.lp-hero-form .form-control:focus {
    border-color: #CD9C3D;
    background: #ffffff;
    outline: none;
    box-shadow: 0 4px 15px rgba(205, 156, 61, 0.1);
}

.lp-hero-form .lp-submit-btn {
    width: 100%;
    margin-top: 1.2rem;
    justify-content: center;
}

/* ==========================================================
   BARRA DIFERENCIAIS DOURADA (Guarantees)
   ========================================================== */
.lp-guarantee-bar {
    background: #201101;
    padding: 3rem 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.lp-guarantee-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 0 1.5rem;
    text-align: center;
}

.lp-guarantee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.lp-guarantee-item img {
    height: 60px;
    width: auto;
    object-fit: contain;
    /* Fundo dourado, caso as imagens estejam mesclando, se PNGs transparentes, eles destacam bem */
    filter: drop-shadow(0 4px 6px rgba(32,17,1,0.2));
}

.lp-guarantee-item h3 {
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.lp-guarantee-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================
   SEÇÕES DE CONTEÚDO GENÉRICO
   ========================================================== */
.lp-section {
    padding: 5rem 0;
}

.lp-bg-white { background: #fff; }
.lp-bg-cream { background: #E9E4D0; }
.lp-bg-dark  { background: #201101; color: #fff; }

.lp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.lp-section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.lp-section-label {
    display: inline-block;
    color: #AF8656;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 0.5rem;
}

.lp-section-title {
    color: #201101;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.lp-bg-dark .lp-section-title { color: #fff; }

.lp-section-title span { color: #CD9C3D; }

.lp-section-subtitle {
    color: #4a3728;
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 500;
}

.lp-bg-dark .lp-section-subtitle { color: rgba(255,255,255,0.8); }

/* ==========================================================
   CARROSSEL DE OBRAS (SWIPER)
   ========================================================== */
.lp-works-swiper {
    width: 100%;
    padding-bottom: 4rem;
}

.lp-works-swiper .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 320px;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.lp-works-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-works-swiper .swiper-pagination-bullet {
    background: #CD9C3D;
    opacity: 0.6;
}

.lp-works-swiper .swiper-pagination-bullet-active {
    background: #201101;
    opacity: 1;
}

/* ==========================================================
   PREMIUM CARDS (TRABALHAMOS TAMBÉM COM MATERIAIS)
   ========================================================== */
.lp-premium-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lp-premium-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(175, 134, 86, 0.15);
    text-decoration: none;
}

.lp-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(205,156,61,0.15);
    border-color: #CD9C3D;
}

.lp-premium-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.lp-premium-card:hover .lp-premium-card__img {
    transform: scale(1.05);
}

.lp-premium-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.lp-premium-card__title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: #201101;
    margin-bottom: 0.75rem;
    font-weight: 800;
    line-height: 1.3;
}

.lp-premium-card__text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.lp-premium-card__link {
    color: #CD9C3D;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================
   GRID DE SERVIÇOS (MÃO DE OBRA)
   ========================================================== */
.lp-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.lp-service-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 260px;
    display: block;
    text-decoration: none;
}

.lp-service-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(32,17,1,0.95) 0%, rgba(32,17,1,0.2) 60%, rgba(32,17,1,0) 100%);
    z-index: 1;
    transition: opacity 0.3s ease;
}

.lp-service-item:hover::after {
    background: linear-gradient(to top, rgba(205,156,61,0.95) 0%, rgba(32,17,1,0.4) 60%, rgba(32,17,1,0) 100%);
}

.lp-service-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.lp-service-item:hover .lp-service-item__img {
    transform: scale(1.08);
}

.lp-service-item__title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    z-index: 2;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
}

.lp-service-item:hover .lp-service-item__title {
    transform: translateY(-5px);
}

/* ==========================================================
   CTA FINAL SECTION
   ========================================================== */
.lp-cta-final {
    background: linear-gradient(160deg, #201101 0%, #2e1604 50%, #201101 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lp-cta-final::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(205,156,61,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.lp-cta-final .lp-section-title {
    color: #fff;
}

.lp-cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    color: #E9E4D0;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 1.05rem;
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid rgba(233,228,208,0.4);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.btn-cta-secondary:hover {
    border-color: #CD9C3D;
    background: rgba(205,156,61,0.1);
    color: #CD9C3D;
}

/* ==========================================================
   MINI FOOTER
   ========================================================== */
.lp-footer {
    background-color: #120900;
    color: rgba(255, 255, 255, 0.5);
    padding: 25px 0;
    text-align: center;
    font-size: 0.85rem;
}

.lp-footer img {
    max-width: 150px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* ==========================================================
   RESPONSIVIDADE
   ========================================================== */
@media (max-width: 1024px) {
    .lp-guarantee-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .lp-premium-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .lp-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .lp-hero__content {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    .lp-hero__text-area {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .lp-title-line {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .lp-guarantee-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .lp-guarantee-item img {
        height: 45px;
    }
    .lp-premium-cards {
        grid-template-columns: 1fr;
    }
    .lp-services-grid {
        grid-template-columns: 1fr;
    }
    .lp-cta-actions {
        flex-direction: column;
    }
    .lp-works-swiper .swiper-slide {
        width: 260px;
        height: 340px;
    }
}
