/* 
 * ALS Engenharia - CSS Compartilhado das Landing Pages
 * Destino: assets/css/lp-shared.css
 * Usado por todas as 4 LPs de serviço
 */

:root {
    --als-blue-primary: #00D9FF;
    --als-blue-secondary: #00B8E6;
    --als-blue-dark: #006B99;
    --als-blue-light: #00FFFF;
    --als-orange: #FF6B35;
    --als-gray-dark: #E0E0E0;
    --als-gray-medium: #B0B0B0;
    --als-gray-light: #2A2A2A;
    --als-white: #FFFFFF;
    --als-black: #0F0F0F;
    --als-bg-primary: #1A1A1A;
    --als-bg-secondary: #252525;
    --als-bg-tertiary: #303030;
    --als-text-primary: #E0E0E0;
    --als-text-secondary: #B0B0B0;
    --als-border-color: #404040;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--als-gray-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--als-bg-primary);
}

.container { max-width: 1400px; }

/* HEADER */
.navbar-custom {
    background: var(--als-bg-secondary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--als-border-color);
}
.navbar-custom.scrolled { padding: 0.5rem 0; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.navbar-brand img { height: 60px; transition: all 0.3s ease; }
.navbar-custom.scrolled .navbar-brand img { height: 50px; }
.nav-link { color: var(--als-blue-secondary) !important; font-weight: 500; padding: 0.5rem 1rem !important; transition: all 0.3s ease; }
.nav-link:hover { color: var(--als-blue-primary) !important; }

.btn-primary-custom {
    background: linear-gradient(135deg, var(--als-blue-primary), var(--als-blue-light));
    border: none; color: var(--als-white); padding: 0.75rem 2rem; border-radius: 6px;
    font-weight: 600; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0, 118, 190, 0.3);
}
.btn-primary-custom:hover {
    transform: translateY(-2px); box-shadow: 0 6px 25px rgba(0, 118, 190, 0.4);
    background: linear-gradient(135deg, var(--als-blue-dark), var(--als-blue-primary));
}

/* HERO LP */
.hero-lp {
    position: relative; height: 500px;
    background-size: cover; background-position: center;
    display: flex; align-items: center;
}
.hero-lp::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0, 90, 140, 0.85) 0%, rgba(0, 118, 190, 0.75) 100%);
}
.hero-content-lp { position: relative; z-index: 1; color: var(--als-white); }
.hero-content-lp h1 { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; }
.hero-content-lp p { font-size: 1.3rem; margin-bottom: 2rem; }

/* SECTIONS */
.section-padding { padding: 80px 0; }
.section-title {
    font-size: 2.5rem; font-weight: 800; color: var(--als-blue-primary);
    margin-bottom: 1rem; position: relative; padding-bottom: 1rem;
}
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 80px; height: 4px;
    background: linear-gradient(90deg, var(--als-orange), var(--als-blue-primary)); border-radius: 2px;
}
.section-title.text-start::after { left: 0; transform: translateX(0); }
.section-subtitle { font-size: 1.1rem; color: var(--als-text-secondary); margin-bottom: 3rem; }
.bg-light-custom { background-color: var(--als-bg-tertiary); }

/* BENEFIT CARDS */
.benefit-card {
    background: var(--als-bg-secondary); padding: 2rem; border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3); transition: all 0.3s ease;
    height: 100%; border-left: 4px solid var(--als-orange);
}
.benefit-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.benefit-icon { font-size: 2.5rem; color: var(--als-blue-primary); margin-bottom: 1rem; }
.benefit-title { font-size: 1.3rem; font-weight: 700; color: var(--als-blue-primary); margin-bottom: 1rem; }

/* PROCESS STEPS */
.process-step { text-align: center; padding: 2rem 1rem; }
.step-number {
    width: 60px; height: 60px;
    background: linear-gradient(135deg, var(--als-blue-primary), var(--als-blue-light));
    color: var(--als-bg-primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 800; margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.4);
}
.step-title { font-size: 1.2rem; font-weight: 700; color: var(--als-blue-primary); margin-bottom: 1rem; }
.step-description { color: var(--als-text-primary); line-height: 1.6; }

/* GALLERY */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: 6px; cursor: pointer; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: all 0.3s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 118, 190, 0.8); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.3s ease; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--als-white); font-size: 2rem; }

/* FAQ */
.accordion-item { border: none; margin-bottom: 1rem; border-radius: 8px; overflow: hidden; box-shadow: 0 3px 10px rgba(0,0,0,0.3); background-color: var(--als-bg-secondary); }
.accordion-button { background-color: var(--als-bg-secondary); color: var(--als-blue-primary); font-weight: 600; font-size: 1.1rem; padding: 1.5rem; border: none; }
.accordion-button:not(.collapsed) { background-color: var(--als-blue-primary); color: var(--als-white); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border: none; }
.accordion-button::after { filter: brightness(0) invert(1); }
.accordion-body { padding: 1.5rem; background-color: var(--als-bg-tertiary); color: var(--als-text-primary); line-height: 1.8; }

/* CTA */
.cta-section-lp { background: linear-gradient(135deg, var(--als-blue-dark) 0%, var(--als-blue-primary) 100%); color: var(--als-white); }
.form-control:focus { border-color: var(--als-orange); box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25); }

/* FOOTER */
.footer { background-color: var(--als-black); color: var(--als-white); padding-top: 4rem; }
.footer h5 { font-weight: 700; margin-bottom: 1.5rem; color: var(--als-white); font-size: 1.2rem; }
.footer-logo { max-width: 200px; margin-bottom: 1.5rem; }
.footer-text { color: rgba(255,255,255,0.7); line-height: 1.8; }
.footer-link { color: rgba(255,255,255,0.7); text-decoration: none; display: block; margin-bottom: 0.75rem; transition: all 0.3s ease; }
.footer-link:hover { color: var(--als-orange); padding-left: 5px; }
.social-links { display: flex; gap: 1rem; margin-top: 1.5rem; }
.social-link { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; border-radius: 50%; background: rgba(255,255,255,0.1); color: var(--als-white); font-size: 1.3rem; transition: all 0.3s ease; text-decoration: none; }
.social-link:hover { background: var(--als-orange); color: var(--als-white); transform: translateY(-3px); }
.footer-bottom { background-color: rgba(0,0,0,0.3); padding: 2rem 0; margin-top: 3rem; }

/* WHATSAPP */
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.3); z-index: 9999; transition: all 0.3s ease; text-decoration: none; animation: pulse 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float i { color: var(--als-white); font-size: 2rem; }
@keyframes pulse { 0% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); } 50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7); } 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); } }

/* SCROLL TOP */
.scroll-top { position: fixed; bottom: 100px; right: 30px; width: 45px; height: 45px; background: var(--als-blue-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--als-white); cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 9998; }
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--als-orange); transform: translateY(-5px); }

/* RESPONSIVE */
@media (max-width: 1200px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .hero-lp { height: 400px; }
    .hero-content-lp h1 { font-size: 2rem; }
    .hero-content-lp p { font-size: 1.1rem; }
    .section-title { font-size: 1.75rem; margin-bottom: 0.75rem; padding-bottom: 0.75rem; }
    .section-subtitle { font-size: 0.95rem; margin-bottom: 2rem; }
    .section-padding { padding: 40px 0; }
    .benefit-card, .process-step { padding: 1.5rem 1rem; margin-bottom: 1rem; }
    .benefit-icon { font-size: 2rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .accordion-button { font-size: 1rem; padding: 1rem; }
    .accordion-body { padding: 1rem; font-size: 0.95rem; }
    .card-body { padding: 2rem 1.5rem !important; }
    .row.g-4 { gap: 1rem !important; }
    .form-control-lg { padding: 0.75rem 1rem; font-size: 1rem; }
    .btn.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
    .navbar-brand img { height: 45px; }
    .container { padding-left: 1rem; padding-right: 1rem; }
}
