/* ===================================================
   LRTech Site - CSS
   Design System: cores, fontes e estilo do orcamento
   =================================================== */

/* ===== VARIAVEIS ===== */
:root {
    --primary: #0a2b44;
    --primary-light: #2c6e9e;
    --accent: #e67e22;
    --bg: #e9eef3;
    --bg-card: #ffffff;
    --text: #1f2d3d;
    --text-muted: #5c6f87;
    --text-light: #8a9bb5;
    --border: #e2e8f0;
    --radius: 18px;
    --radius-sm: 12px;
    --shadow: 0 8px 24px -8px rgba(10, 43, 68, 0.12);
    --shadow-lg: 0 20px 40px -12px rgba(10, 43, 68, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    background: var(--bg);
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.text-accent {
    color: var(--primary-light);
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding: 0.8rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px -4px rgba(10, 43, 68, 0.1);
}

.brand-text {
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--primary);
    letter-spacing: -0.3px;
}

.navbar-toggler {
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    padding: 4px 8px;
}

.nav-link {
    color: var(--text) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-light) !important;
}

.btn-cta-sm {
    background: var(--primary);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 8px 18px;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.btn-cta-sm:hover {
    background: var(--primary-light);
    color: #fff !important;
    transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
    padding: 5rem 0 3rem;
    background: linear-gradient(160deg, #f8fafc 0%, #e9eef3 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(44, 110, 158, 0.08);
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid rgba(44, 110, 158, 0.15);
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
}

.hero-content > p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-primary-custom {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    border: none;
    font-size: 0.95rem;
}

.btn-primary-custom:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(10, 43, 68, 0.3);
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
}

.btn-whatsapp:hover {
    background: #1fb857;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.3);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat strong {
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 800;
}

.stat span {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Hero card */
.hero-visual {
    display: flex;
    justify-content: center;
}

.hero-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    width: 100%;
    max-width: 420px;
}

.hero-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.hero-card-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.hero-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.hero-card > p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.hero-checks {
    list-style: none;
    padding: 0;
}

.hero-checks li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    padding: 6px 0;
}

.hero-checks i {
    color: var(--accent);
    font-size: 1rem;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(230, 126, 34, 0.08);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 1rem;
    border: 1px solid rgba(230, 126, 34, 0.15);
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.8rem;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== SERVICOS ===== */
.services {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon i {
    font-size: 1.4rem;
    color: #fff;
}

.bg-orange {
    background: linear-gradient(135deg, var(--accent) 0%, #f0a04b 100%);
}

.bg-blue {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.service-card > p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
    padding: 3px 0;
}

.service-features i {
    color: var(--accent);
    font-size: 0.9rem;
}

/* ===== SOBRE ===== */
.about {
    padding: 5rem 0;
    background: #f0f4fa;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.about-content .section-badge {
    margin-bottom: 1rem;
}

.about-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.about-content > p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.about-feature i {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.about-feature h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.about-feature p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* About visual */
.about-visual {
    display: flex;
    justify-content: center;
}

.about-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 2rem;
    width: 100%;
    max-width: 360px;
}

.about-card-inner {
    text-align: center;
}

.about-card i.bi-geo-alt-fill {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.about-card > div > p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.about-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.region-tag {
    background: rgba(44, 110, 158, 0.08);
    color: var(--primary-light);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 14px;
    border: 1px solid rgba(44, 110, 158, 0.12);
}

/* ===== POR QUE ESCOLHER ===== */
.why-choose {
    padding: 5rem 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-card {
    text-align: center;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.why-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.why-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== DEPOIMENTOS ===== */
.testimonials {
    padding: 5rem 0;
    background: #f0f4fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.testimonial-stars {
    margin-bottom: 1rem;
    display: flex;
    gap: 2px;
}

.testimonial-stars i {
    color: var(--accent);
    font-size: 0.95rem;
}

.testimonial-card > p {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.author-avatar i {
    font-size: 2rem;
    color: var(--primary-light);
}

.testimonial-author strong {
    display: block;
    font-size: 0.88rem;
    color: var(--primary);
}

.testimonial-author span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== CTA ===== */
.cta-section {
    padding: 4rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-shadow: var(--shadow-lg);
}

.cta-content h2 {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.btn-cta-lg {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-cta-lg:hover {
    background: #f0f4fa;
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-whatsapp-lg {
    background: #25d366;
    color: #fff;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-whatsapp-lg:hover {
    background: #1fb857;
    color: #fff;
    transform: translateY(-2px);
}

/* ===== CONTATO ===== */
.contact {
    padding: 5rem 0;
    background: #f0f4fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.contact-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.8rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.3rem;
    color: #fff;
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-card > p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--primary);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary);
    color: #fff;
    padding: 3rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-brand p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.btn-footer-cta {
    background: var(--accent);
    color: #fff !important;
    font-weight: 600;
    font-size: 0.82rem !important;
    padding: 10px 16px !important;
    border-radius: 10px;
    display: inline-flex !important;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-footer-cta:hover {
    background: #d36f1a;
    color: #fff !important;
    padding-left: 16px !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-content > p {
        max-width: 100%;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-feature {
        text-align: left;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }

    .cta-actions {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 3rem 0 2rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .services,
    .about,
    .why-choose,
    .testimonials,
    .cta-section,
    .contact {
        padding: 3rem 0;
    }

    .services-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 1.5rem;
    }

    .cta-content h2 {
        font-size: 1.3rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-cta-lg,
    .btn-whatsapp-lg {
        justify-content: center;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }
}
