/* ============================================================
   TECNOBASE - ESTILOS CSS
   Design Industrial Brutalist - Amarelo e Preto
   ============================================================ */

:root {
    --primary: #FBBF24;
    --secondary: #1F2937;
    --white: #FFFFFF;
    --light-gray: #F3F4F6;
    --dark-gray: #374151;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--secondary);
    background-color: var(--white);
    line-height: 1.6;
}

/* ============================================================
   CONTAINER
   ============================================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   NAVEGAÇÃO
   ============================================================ */

.navbar {
    background-color: var(--secondary);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Roboto', sans-serif;
    color: var(--primary);
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-link:hover {
    background-color: var(--primary);
    color: var(--secondary);
}

.nav-whatsapp {
    background-color: var(--primary);
    color: var(--secondary);
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.nav-whatsapp:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================================
   HERO BANNER
   ============================================================ */

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.7) 0%, rgba(251, 191, 36, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: slideDown 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.8s ease-out 0.2s both;
}

/* ============================================================
   BOTÕES
   ============================================================ */

.btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--secondary);
}

.btn-primary:hover {
    background-color: #F59E0B;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(251, 191, 36, 0.3);
}

/* ============================================================
   SEÇÕES
   ============================================================ */

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary);
}

/* ============================================================
   SERVIÇOS
   ============================================================ */

.servicos {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.servico-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.servico-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.servico-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.servico-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary);
    font-weight: 700;
}

.servico-card p {
    color: var(--dark-gray);
    font-size: 0.95rem;
}

/* ============================================================
   MÁQUINAS
   ============================================================ */

.maquinas {
    padding: 4rem 0;
    background-color: var(--white);
}

.maquinas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.maquina-card {
    background-color: var(--white);
    border: 2px solid var(--primary);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.maquina-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
}

.maquina-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.maquina-card h3 {
    padding: 1.5rem 1rem 0.5rem;
    font-size: 1.2rem;
    color: var(--secondary);
    font-weight: 700;
}

.maquina-card p {
    padding: 0 1rem 0.5rem;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.maquina-card p:last-child {
    padding-bottom: 1.5rem;
}

/* ============================================================
   REGIÕES
   ============================================================ */

.regioes {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

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

.regioes-lista h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-weight: 700;
}

.regioes-lista ul {
    list-style: none;
}

.regioes-lista li {
    font-size: 1.1rem;
    padding: 0.8rem 0;
    color: var(--secondary);
    font-weight: 500;
    border-bottom: 1px solid rgba(31, 41, 55, 0.1);
}

.regioes-mapa img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   CLIENTES
   ============================================================ */

.clientes {
    padding: 4rem 0;
    background-color: var(--white);
}

.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.cliente-card {
    background: linear-gradient(135deg, var(--secondary) 0%, #111827 100%);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.cliente-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(251, 191, 36, 0.2);
}

.cliente-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.cliente-card p {
    color: var(--primary);
    font-weight: 600;
}

/* ============================================================
   CONTATO
   ============================================================ */

.contato {
    padding: 4rem 0;
    background-color: var(--light-gray);
}

.contato-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contato-form input,
.contato-form textarea {
    padding: 1rem;
    border: 2px solid var(--primary);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.contato-info {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.contato-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    font-weight: 700;
}

.contato-info p {
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.contato-info a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.contato-info a:hover {
    text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    background-color: var(--secondary);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 700;
}

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

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary);
}

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

/* ============================================================
   ANIMAÇÕES
   ============================================================ */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--secondary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .regioes-content,
    .contato-content {
        grid-template-columns: 1fr;
    }

    .servicos-grid,
    .maquinas-grid,
    .clientes-grid {
        grid-template-columns: 1fr;
    }

    .navbar-logo {
        font-size: 1.2rem;
    }

    .nav-link {
        padding: 0.7rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 300px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* ============================================================
   ACESSIBILIDADE
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
