/* =========================================================================
   MASTER MÁQUINAS - ESTILOS PRINCIPAIS (SEO & CONVERSÃO)
   ========================================================================= */

:root {
    --primary-color: #ff6b00;
    /* Vibrant Orange */
    --primary-hover: #e65c00;
    --secondary-color: #1a1a1a;
    /* Dark Grey/Black */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #121212;
    --border-color: #e0e0e0;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: var(--bg-light);
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
    color: var(--text-light);
    /* Ensure text stays white */

}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--secondary-color);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-white:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* =========================================================================
   HEADER & NAVIGATION
   ========================================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    padding: 10px 0;
    background: rgba(26, 26, 26, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 50px;
    border-radius: 4px;
    transition: var(--transition);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background: url('Foto\ de\ Servições/9.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding-top: 80px;
    /* Offset for header */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 40%, rgba(0, 0, 0, 0) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--text-light);
    animation: fadeInUp 1s ease-out;
    margin-left: 30px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 550px;
    color: #f0f0f0;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

/* Specific styling for hero buttons based on reference */
.hero-actions .btn-primary {
    background-color: var(--primary-color);
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 16px 32px;
    letter-spacing: 0.5px;
}

.hero-actions .btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-light);
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 14px 32px;
    /* 2px less to account for 2px border */
    letter-spacing: 0.5px;
}

.hero-actions .btn-outline:hover {
    background-color: var(--text-light);
    color: var(--secondary-color);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================================
   SOLUTIONS (OVERLAY CARDS)
   ========================================================================= */
.overlay-cards {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.solutions-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.solution-card {
    background: var(--text-light);
    padding: 40px 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Softer, wider shadow */
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.solution-card:hover,
.solution-card.active {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-bottom-color: var(--primary-color);
}

.solution-card .card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    background: rgba(255, 107, 0, 0.1);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.solution-card:hover .card-icon,
.solution-card.active .card-icon {
    background: var(--primary-color);
    color: var(--text-light);
}

.solution-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-weight: 800;
}

.solution-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* =========================================================================
   TYPOGRAPHY & UTILS
   ========================================================================= */
.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 15px;
}

.text-center .section-title::after {
    margin: 15px auto 0;
}

/* =========================================================================
   ABOUT US
   ========================================================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.stats-box {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--text-light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-left: 4px solid var(--primary-color);
}

.stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.2;
}

.features-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--secondary-color);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* =========================================================================
   PARTNER CAROUSEL
   ========================================================================= */
.partners {
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.brands-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.partners-carousel {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.partners-viewport {
    overflow: hidden;
    width: 100%;
}

.partners-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    column-gap: 30px;
}

.logo-item {
    flex: 0 0 calc((100% - (30px * 4)) / 5);
    /* Show 5 items */
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    height: 45px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
    object-fit: contain;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partners-nav {
    background: white;
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-color);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.partners-nav:hover {
    background: var(--primary-color);
    color: white;
}

.partners-nav.prev {
    left: -20px;
}

.partners-nav.next {
    right: -20px;
}

.partners-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.partners-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.partners-dots button.active {
    background: var(--primary-color);
    width: 20px;
    border-radius: 5px;
}

@media (max-width: 992px) {
    .logo-item {
        flex: 0 0 calc((100% - (30px * 3)) / 4);
        /* Show 4 */
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
    }
}

@media (max-width: 768px) {
    .logo-item {
        flex: 0 0 calc((100% - (30px * 2)) / 3);
        /* Show 3 */
    }
}

@media (max-width: 576px) {
    .logo-item {
        flex: 0 0 calc((100% - 30px) / 2);
        /* Show 2 */
    }
}

/* =========================================================================
   EQUIPMENT SECTION
   ========================================================================= */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.eq-card {
    background: var(--text-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.eq-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.eq-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.eq-card:hover .eq-img {
    transform: scale(1.05);
}

.eq-info {
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    color: white;
    text-align: left;
}

.eq-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* =========================================================================
   REASONS / WHY CHOOSE US
   ========================================================================= */
.reasons-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.rounded-img {
    border-radius: 8px;
}

.shadow {
    box-shadow: var(--shadow-lg);
}

.checklist {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.checklist li {
    display: flex;
    gap: 15px;
}

.checklist li i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.checklist li strong {
    font-size: 1.1rem;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 5px;
}

/* =========================================================================
   SERVICES & ADVANTAGES
   ========================================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.srv-card {
    background: var(--text-light);
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.srv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.srv-card:hover .icon-circle {
    background: var(--primary-color);
    color: var(--text-light);
}

.srv-card h3 {
    margin-bottom: 15px;
}

.srv-card p {
    margin-bottom: 25px;
    flex-grow: 1;
    /* Pushes the button to the bottom */
}

.srv-card .btn {
    margin-top: auto;
    align-self: center;
    /* keep button centered horizontally */
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns */
    gap: 20px;
}

.adv-box {
    background: var(--text-light);
    padding: 25px 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.adv-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.1);
}

.adv-box i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.adv-box h4 {
    font-size: 1rem;
    color: var(--secondary-color);
}

/* =========================================================================
   CONTACT SECTION
   ========================================================================= */
.contact-section {
    background: var(--secondary-color);
    color: var(--text-light);
}

.contact-section .section-title {
    color: var(--text-light);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-badges {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contact-badge {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.contact-badge.whatsapp {
    background: #25d366;
    color: white;
}

.contact-badge.email {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.box-shadow {
    background: var(--text-light);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

.box-shadow h3 {
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
    background: #0f0f0f;
    color: #aaa;
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    border-radius: 4px;
}

.footer-col h4 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-light);
}

.social-links a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    background: #0a0a0a;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* =========================================================================
   WHATSAPP FLOAT
   ========================================================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

/* =========================================================================
   RESPONSIVE DESIGN
   ========================================================================= */
@media (max-width: 992px) {

    .about-container,
    .reasons-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .stats-box {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 30px;
        flex-direction: row;
        justify-content: space-around;
        border-left: none;
        border-top: 4px solid var(--primary-color);
    }

    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .d-none-mobile {
        display: none !important;
    }

    .menu-toggle {
        display: block;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--secondary-color);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 40px;
        transition: var(--transition);
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .solutions-container {
        grid-template-columns: 1fr;
    }

    .overlay-cards {
        margin-top: 0;
        padding: 40px 20px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .stats-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}