:root {
    --primary: #c70a0d;
    --secondary: #c70a0d;
    --dark: #333333;
    --light: #FFFFFF;
    --accent: #F8F8F8;
    --gradient: linear-gradient(135deg, #333333 0%, #333333 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f9f9f9;
    color: #333;
    overflow-x: hidden;
    padding-top: 80px; /* Padding padrão para desktop */
}

/* Header Fixo */
header {
    background: var(--gradient);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 5px 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: all 0.3s ease;
    position: relative;
    flex-wrap: nowrap; /* Garante que os itens não quebrem em desktop */
}

header.scrolled .nav-container {
    padding: 10px 0;
}

/* CORREÇÃO DO LOGO - Fundo branco sólido atrás do logo */
.logo-container {
    background: white; /* Fundo branco sólido */
    padding: 5px 15px;
    border-radius: 5px;
    margin: 5px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: inline-block;
}

.logo {
    display: block;
    text-decoration: none;
}

.logo img {
    width: 250px;
    height: auto;
    display: block;
}

header.scrolled .logo-container {
    padding: 3px 12px;
}

header.scrolled .logo img {
    width: 220px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
    font-size: 16px;
}

.nav-menu a:hover {
    color: var(--secondary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    color: rgb(247, 247, 247);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: rgb(16, 83, 8);
}

.btn:hover {
    background: linear-gradient(135deg, #c70a0d 0%, #ff9600 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(199, 10, 13, 0.4);
}

.btn-whatsapp {
    background-color: #fff;
    color: var(--primary);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-left: 15px;
}

.btn-whatsapp i {
    color: #25D366;
    font-size: 1.2em;
}

.btn-whatsapp:hover {
    background-color: var(--primary);
    color: white;
}

.btn-whatsapp:hover i {
    color: white;
}

/* Hero Section */
.hero {
    padding: 0;
    background: url('/img/telainicial.png') no-repeat center center;
    background-size: cover; /* cobre toda a área */
    color: white;
    text-align: center;
    height: 650px;
}

.hero h1 {
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    margin-top: 140px;
    font-size: 50px;
}

/* Destaques */
.destaques {
    padding: 80px 0;
    background-color: var(--accent);
}

.destaques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.destaque-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: center;
    border-top: 5px solid var(--primary);
}

.destaque-card:hover {
    transform: translateY(-10px);
}

.destaque-icon {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.destaque-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.destaque-card p {
    color: #666;
}

/* Services */
.services {
    padding: 100px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 800;
}

.section-title h2 span {
    color: var(--primary);
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    text-align: center;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card p {
    color: #666;
}

/* Tipos de Plataforma */
.platform-types {
    padding: 100px 0;
    background: var(--gradient);
}

.platform-content {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.platform-text {
    flex: 1;
    padding: 50px;
}

.platform-text h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 800;
}

.platform-text h2 span {
    color: var(--primary);
}

.platform-text p {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.platform-list {
    list-style: none;
    margin: 25px 0;
}

.platform-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.platform-list li i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 20px;
}

.platform-image {
    flex: 1;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* empilhadeira */
.empilhadeira {
    padding: 100px 0;
    background-color: #f8f8f8;
}

.empilhadeira-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.empilhadeira-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    text-align: center;
    border: 1px solid #eee;
}

.empilhadeira-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.empilhadeira-icon {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 20px;
}

.empilhadeira-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.empilhadeira-card p {
    color: #666;
}

/* CTA */
.cta {
    padding: 100px 0;
    background: linear-gradient(rgb(0 0 0 / 0%), rgba(94, 93, 93, 0.69)), url(img/imagemembaixo.png);
    background-size: 900px auto;
    background-repeat: no-repeat;
    color: rgb(255, 255, 255);
    text-align: center;
    background-position: center;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta h2 span {
    color: var(--secondary);
}

.cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.btn-light {
    background-color: var(--secondary);
    color: #fbf4f4;
    box-shadow: 0 4px 15px rgba(255, 150, 0, 0.3);
}

.btn-light:hover {
    background-color: #e68600;
    box-shadow: 0 6px 20px rgba(255, 150, 0, 0.4);
}

/* Contact */
.contact {
    padding: 100px 0;
    background-color: white;
}

.contact-content {
    display: flex;
    align-items: stretch;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.contact-form {
    flex: 1;
    padding: 50px;
}

.contact-form h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 800;
}

.contact-form h2 span {
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    flex: 1;
    background: url('../img/atendimento.jpg') center/cover no-repeat;
    padding: 50px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.contact-icon i {
    font-size: 20px;
    line-height: 0;
    margin: 0;
    padding: 0;
    display: block;
}

/* Ajustes finos por ícone */
.contact-icon.whatsapp i {
    color: #25D366;
    transform: translateX(8px);
}

.contact-icon.clock i {
    color: #000000;
    transform: translateX(8px);
}

.contact-details i {
    margin-right: 15px;
    font-size: 1.2rem;
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: var(--light);
    border-radius: 50%;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 18px;
}

/* Ajuste no Hover para melhor contraste */
.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    color: white;
}

/* Cores Padrão das Redes Sociais */
.social-links a .fa-facebook-f {
    color: #3b5998;
}

.social-links a .fa-instagram {
    color: #C13584;
}

.social-links a .fa-whatsapp {
    color: #25D366;
}

/* Opcional: Remover qualquer sublinhado nos links e garantir que a cor seja aplicada */
.social-links a {
    text-decoration: none;
}

/* Footer */
footer {
    background: var(--gradient);
    color: white;
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 700;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
}

.footer-col p {
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 10px;
    color: var(--secondary);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.7;
    font-size: 0.9rem;
}

.developer-credit {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ========================================================== */
/* CORREÇÕES ESSENCIAIS PARA O MOBILE */
/* ========================================================== */

/* Menu Mobile */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 3px 0;
    transition: all 0.3s ease-in-out;
    background-color: var(--light);
}

/* Animação do Hamburger para o X */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Active menu item */
.nav-menu a.active {
    color: var(--secondary);
}

.nav-menu a.active::after {
    width: 100%;
}

/* ========================================================== */
/* SEÇÃO DE ESTILOS ESPECÍFICOS: LAYOUT DE ESPECIFICAÇÕES */
/* ========================================================== */

.specs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #f9f9f9;
}

/* Título e Header */
.specs-container .specs-header {
    text-align: center;
    margin-bottom: 40px;
}

.specs-container .specs-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Imagem */
.specs-container .specs-image {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    border: 1px solid #ddd; 
    padding: 10px; 
    background: white;
}

.specs-container .specs-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Grid dos Cards */
.specs-container .specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 20px;
    margin-bottom: 40px;
}

/* Card Individual */
.specs-container .specs-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #ff9600;
    height: 100%; 
}

.specs-container .specs-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    border-bottom: 2px solid var(--accent); 
    padding-bottom: 10px;
    text-transform: uppercase;
}

/* Lista de Especificações */
.specs-container .specs-list {
    list-style: none;
    padding: 0;
}

.specs-container .specs-list li {
    margin-bottom: 12px;
    padding: 10px;
    background: var(--accent); 
    border-radius: 4px;
    border-left: 3px solid #ff9600;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.specs-container .specs-value {
    font-weight: 600;
    color: var(--dark);
    font-size: 1.05rem;
}

.specs-container .specs-metric {
    color: #666;
    font-size: 0.9rem;
    margin-top: 2px;
}

/* Destaque (Fundo Gradiente) */
.specs-container .specs-highlight {
    background: var(--gradient);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.specs-container .specs-highlight h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.specs-container .specs-contact {
    text-align: center;
    margin-top: 50px;
}

/* ========================================================== */
/* MEDIA QUERIES PARA RESPONSIVIDADE */
/* ========================================================== */

@media (max-width: 992px) {
    /* 1. Resetando o padding do body para a nova altura do header mobile */
    body {
        padding-top: 70px; 
    }

    /* 2. Configurações gerais da navegação no mobile */
    .nav-container {
        flex-wrap: nowrap; 
        justify-content: space-between; /* Melhor alinhamento no mobile */
        align-items: center;
        padding: 10px 0; /* Ajusta o padding vertical */
    }
    
    .container {
        padding: 0 15px; 
    }
    
    /* 3. Ajuste do Logo */
    .logo-container {
        order: 1; 
        margin: 0;
        padding: 3px 10px; 
    }
    
    .logo img {
        width: 180px; /* Redução para 180px em tablets e celulares grandes */
    }

    /* 4. Ajuste do Botão de WhatsApp */
    .btn-whatsapp {
        order: 2;
        padding: 8px 12px; 
        font-size: 13px; 
        margin-left: 10px;
        white-space: nowrap; 
        display: inline-flex;
    }
    
    .btn-whatsapp i {
        font-size: 1em; 
    }

    /* 5. Hamburger (garante a exibição) */
    .hamburger {
        order: 3; 
        display: flex; 
        cursor: pointer;
        margin-left: 10px; 
    }

    /* 6. Menu Dropdown */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px; /* Fica logo abaixo do header */
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 999;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
        border-bottom: 1px solid var(--accent);
        width: 90%;
        margin-left: 5%;
        padding: 0;
    }
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        color: var(--dark);
        display: block;
        padding: 15px 0;
        font-size: 18px;
    }
    
    .nav-menu a:hover {
        color: var(--primary);
        background-color: var(--accent); 
    }
    .nav-menu a::after {
        display: none;
    }
    
    /* 7. Outros ajustes responsivos */
    .platform-content,
    .contact-content {
        flex-direction: column;
    }
    
    .platform-image {
        padding: 30px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-top: 100px;
    }
    
    .hero {
        height: 600px;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .specs-container .specs-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    /* Ajustes específicos para celulares menores (iPhone 14 Pro Max e outros) */

    .hero, .services, .platform-types, .destaques, .cta, .contact {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .logo img {
        width: 160px; /* Mais uma pequena redução no logo para 160px */
    }

    .btn-whatsapp {
        padding: 5px 10px; /* Reduzindo drasticamente o botão */
        font-size: 11px; /* Fonte menor */
    }

    .btn-whatsapp i {
        font-size: 0.9em;
    }
    
    .contact-form, .contact-info {
        padding: 30px; 
    }

    /* Força o grid de 1 coluna para celular */
    .empilhadeira-grid,
    .destaques-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .specs-container .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-top: 80px;
    }
    
    .hero {
        height: 500px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    /* Ajustes para telas muito pequenas */
    body {
        padding-top: 60px;
    }
    
    .nav-container {
        padding: 8px 0;
    }
    
    .logo img {
        width: 140px;
    }
    
    .btn-whatsapp {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .hamburger {
        margin-left: 5px;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-top: 60px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .platform-text, .contact-form, .contact-info {
        padding: 20px;
    }
    
    .specs-container {
        padding: 20px 15px;
    }
}