/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --primary-color: #fe6610;
    --secondary-color: #333333;
    --light-gray: #f4f6f9;
    --text-color: #444444;
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: #fff;
    padding-top: 0;
    /* Header is no longer fixed in the same way or requires different padding */
}

/* --- New Header Style --- */
.header-area {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-logo {
    max-height: 110px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.header-logo:hover {
    transform: scale(1.05);
}

.navbar-custom {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.navbar-custom .nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary-color);
    padding: 10px 20px;
    text-transform: uppercase;
    position: relative;
}

.navbar-custom .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s;
    margin: 0 auto;
}

.navbar-custom .nav-link:hover::after {
    width: 100%;
}

.navbar-custom .nav-link:hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    min-height: 80vh;
    /* Occupy good screen real estate */
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero-content p.subtitle {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.hero-img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-img-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* --- Products Section --- */
.section-title h2 {
    font-weight: 800;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 5px;
}

/* Product Cards */
.product-card {
    border: none;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.card-img-container {
    height: 200px;
    /* Fixed height for uniformity */
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-container img {
    transform: scale(1.1);
}

.card-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
    flex-direction: column;
}

.product-card:hover .card-img-overlay {
    opacity: 1;
}

.card-img-overlay i {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.card-img-overlay span {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-body {
    padding: 25px;
}

.product-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.product-model {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

/* Specs List inside Card - FIXED */
.product-specs {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
    margin-bottom: 25px;
}

.product-specs li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.5;
    position: relative;
    padding-left: 25px;
    /* Space for the icon */
    display: block;
    /* Ensures text flows normally */
}

.product-specs li .fa-li {
    position: absolute;
    left: 0;
    top: 3px;
    width: 20px;
    text-align: center;
}

.product-specs li i {
    color: var(--primary-color);
    font-size: 12px;
}

/* WhatsApp CTA Button in Product Card - SUBTLE STYLE */
/* WhatsApp CTA Button in Product Card - CENTERED & SUBTLE */
.btn-whatsapp-card {
    display: table;
    /* Centers with margin auto */
    margin: 15px auto 0;
    width: auto;
    padding: 8px 15px;
    background-color: #fff;
    color: #444;
    font-weight: 600;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #fe6610;
    /* Orange border */
    text-transform: uppercase;
    font-size: 0.8rem;
    box-shadow: none;
}

.btn-whatsapp-card:hover {
    background-color: #fff3ed;
    color: #fe6610;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(254, 102, 16, 0.2);
}

.btn-whatsapp-card i {
    margin-right: 6px;
    font-size: 1.1rem;
    vertical-align: middle;
    color: #25d366;
}

/* --- New Hero Banner (Orange Gradient) --- */
.hero-banner {
    background: linear-gradient(135deg, #fe6610 0%, #ff8e4a 100%);
    /* Orange Gradient */
    padding: 80px 0;
    color: #fff;
    text-align: center;
    border-bottom: 5px solid #e0e0e0;
}

.hero-banner h1 {
    color: #fff;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-banner p.sub-hero {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Quem Somos Section --- */
.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* --- Partners Section Updated (Orange Gradient) --- */
#parceiros {
    background: linear-gradient(135deg, #fe6610 0%, #ff8e4a 100%);
    /* Orange Gradient */
    border-top: 4px solid #1a1a1a;
    /* Dark Grey Border (Footer Color) */
    color: #fff;
    /* White Text */
}

#parceiros h2,
#parceiros p {
    color: #fff !important;
}

/* Ensure section title underline is white in this section */
#parceiros .section-title:after {
    background-color: #fff !important;
}

.partner-logo {
    background: #fff;
    color: #777;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
}

.partner-logo i {
    font-size: 2.5rem;
    color: #ccc;
    margin-right: 10px;
}

/* --- Testimonials Section --- */
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    margin-top: 30px;
    border: 1px solid #eee;
}

.testimonial-card i.fa-quote-left {
    font-size: 2rem;
    color: #eee;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1rem;
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #eee;
}

.testimonial-author h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: #888;
}

/* --- Footer --- */
.footer-area {
    background-color: #1a1a1a;
    color: #bbb;
    padding: 60px 0;
    font-size: 0.95rem;
    border-top: 4px solid var(--primary-color);
}

/* Left Aligned Section Title Wrapper - MOVED OUTSIDE FOOTER */
.section-title-left {
    margin-bottom: 20px;
    text-align: left;
}

.section-title-left h2 {
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    color: #333;
}

.section-title-left h2:after {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
}




.footer-widget h4 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-logo {
    filter: brightness(0) invert(1);
    max-height: 40px;
    margin-bottom: 20px;
}

.footer-links a,
.footer-contact li {
    color: #bbb;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* --- Scroll Animation --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Decorative Bar */
.decorative-bar {
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #fe6610, transparent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* --- Mobile Responsiveness (Max Width: 768px) --- */
@media (max-width: 768px) {

    /* Hero Section */
    .hero-banner {
        padding: 50px 0;
    }

    .hero-banner h1 {
        font-size: 1.8rem;
        /* Smaller font */
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .hero-banner p.sub-hero {
        font-size: 0.95rem;
    }

    /* Quem Somos - Image First */
    #quem-somos .row {
        display: flex;
        flex-direction: column;
    }

    #quem-somos .col-lg-6:nth-child(2) {
        order: -1;
        /* Image moves to top */
        margin-bottom: 30px;
    }

    #quem-somos .hero-img-wrapper {
        margin-bottom: 20px;
    }

    .section-title-left {
        text-align: center;
    }

    /* Quem Confia */
    #parceiros h2 {
        font-size: 1.5rem;
    }

    #parceiros .section-title h2:after {
        background-color: #333 !important;
        /* Dark Grey Underline for Mobile */
    }

    .partner-logo {
        height: 70px;
        /* Even Smaller boxes */
        font-size: 0.7rem;
        /* Even Smaller Font */
        padding: 4px;
        text-align: center;
        flex-wrap: wrap;
        margin-bottom: 10px;
    }

    .partner-logo i {
        font-size: 1.3rem;
        /* Smaller Icons */
        margin-right: 5px;
    }

    /* Testimonials & Location */
    #depoimentos h2,
    #localizacao h2 {
        font-size: 1.6rem;
        text-align: center;
        /* Center Location Title */
    }

    /* Center container for Location title if needed */
    #localizacao .section-title {
        text-align: center;
    }

    /* FORCE VISIBILITY ON MOBILE */
    /* This overrides the scroll animation which might be failing to trigger on mobile */
    .animate-on-scroll {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* Footer */
    .footer-widget {
        text-align: center;
        margin-bottom: 30px;
    }

    .footer-logo {
        display: block;
        margin: 0 auto 15px auto;
        /* Center Logo */
    }

    .footer-widget p {
        text-align: center;
    }

    /* Social Icons bigger and centered */
    .footer-social {
        justify-content: center;
        margin-bottom: 25px;
        margin-top: 15px;
    }

    .footer-social a {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        margin: 0 8px;
    }

    /* Contact & Hours left aligned */
    .footer-contact {
        text-align: left;
        display: block;
        margin-top: 20px;
        /* Ensure it detaches from center alignment of parent */
    }

    .footer-contact li {
        justify-content: flex-start;
        text-align: left;
    }

    /* Copyright */
    .footer-bottom {
        font-size: 0.75rem;
        /* Smaller */
        line-height: 1.2;
    }

    /* Ensure no horizontal scroll */
    body,
    html {
        overflow-x: hidden;
    }
}

/* MKTAD Link Style */
.mktad-link {
    color: inherit;
    /* No color change */
    text-decoration: underline;
    font-weight: bold;
}

.mktad-link:hover {
    color: inherit;
    text-decoration: none;
}