/* Estilos para a página de equipamentos */

.equipamentos-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-image: linear-gradient(135deg, rgba(1, 23, 37, 0.475) 0%, rgba(2, 62, 92, 0) 50%), url('../img/13.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
}

.equipamentos-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/pattern.png');
    opacity: 0.1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 23, 37, 0.7);
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 20px;
}

.hero-content h1 {
    font-family: "Raleway", sans-serif;
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 24px;
    color: #f9f9f9;
    font-weight: 300;
}

.equipamentos-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
}

.intro-text {
    text-align: center;
    margin-bottom: 60px;
}

.intro-text h2 {
    font-family: "Raleway", sans-serif;
    font-size: 42px;
    color: #fff;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 18px;
    color: #f9f9f9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.equipamentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.equipamento-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equipamento-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.equipamento-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #e0e0e0;
}

.equipamento-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.equipamento-card:hover .equipamento-image img {
    transform: scale(1.1);
}

.equipamento-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 23, 37, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.equipamento-card:hover .equipamento-overlay {
    opacity: 1;
}

.btn-detalhes {
    background: #fff;
    color: #011725;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-detalhes:hover {
    background: #f9f9f9;
    transform: scale(1.05);
}

.body-sem-scroll {
    overflow: hidden;
}

.modal-detalhes {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-detalhes.aberto {
    display: flex;
}

.modal-detalhes-conteudo {
    position: relative;
    width: min(1120px, 96vw);
    max-height: 90vh;
    background: #e7e7e7;
    border-radius: 4px;
    padding: 38px 36px 24px;
    overflow: hidden;
}

.modal-fechar {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #b0b0b0;
    background: transparent;
    color: #5b6470;
    font-size: 20px;
    cursor: pointer;
}

.modal-cabecalho {
    margin-bottom: 22px;
}

.modal-cabecalho h2 {
    font-family: "Raleway", sans-serif;
    font-size: 34px;
    margin: 0;
    color: #151515;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.modal-cabecalho h2 span:first-child {
    font-weight: 800;
}

.modal-cabecalho h2 span:last-child {
    font-family: "Raleway", sans-serif;
    font-weight: 700;
}

.modal-cabecalho p {
    margin: 2px 0 0;
    font-size: 20px;
    color: #8d8d8d;
    line-height: 1;
}

.modal-corpo {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 34px;
    max-height: calc(90vh - 150px);
}

.modal-lista-wrapper {
    border-left: 2px solid #8f8f8f;
    padding-left: 28px;
    overflow: hidden;
}

.modal-lista {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow-y: auto;
    max-height: 220px;
}

.modal-lista li {
    margin-bottom: 0;
}

.modal-lista li button {
    border: 1px solid #bcc3ca;
    background: #f5f5f5;
    text-align: center;
    font-size: 14px;
    color: #1f2b38;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 999px;
    font-family: "Poppins", sans-serif;
    line-height: 1.2;
}

.modal-lista li button i {
    color: #eb6623;
    margin-right: 6px;
    font-size: 12px;
}

.modal-lista li.ativo button {
    font-weight: 700;
    background: #023e5c;
    color: #fff;
    border-color: #023e5c;
}

.modal-lista li.ativo button i {
    color: #fff;
}

.modal-detalhe-principal {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.modal-detalhe-principal h3 {
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 40px;
    color: #121212;
    line-height: 1.04;
}

.modal-detalhe-principal p {
    margin: 16px 0 20px;
    font-size: 18px;
    color: #313131;
    line-height: 1.32;
    max-width: 100%;
}

.modal-direita {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-direita h3 {
    margin: 0;
    font-family: "Raleway", sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 40px;
    color: #121212;
    line-height: 1.04;
}

.modal-direita p {
    margin: 0;
    font-size: 18px;
    color: #313131;
    line-height: 1.32;
}

.modal-esquerda {
    justify-content: center;
}

.modal-imagem-box {
    border-radius: 8px;
    background: #d8d8db;
    height: 360px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-imagem-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.modal-navegacao {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.modal-nav-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid #afb4bb;
    background: transparent;
    color: #2e3c4d;
    font-size: 20px;
    cursor: pointer;
}

.modal-nav-btn:hover,
.modal-fechar:hover {
    background: #f3f3f3;
}

.equipamento-info {
    padding: 25px;
}

.equipamento-info h3 {
    font-family: "Raleway", sans-serif;
    font-size: 24px;
    color: #011725;
    margin-bottom: 8px;
}

.equipamento-categoria {
    font-size: 14px;
    color: #023e5c;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.equipamento-descricao {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.equipamento-specs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.equipamento-specs span {
    font-size: 14px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
}

.equipamento-specs i {
    color: #023e5c;
}

.equipamento-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.equipamento-preco {
    font-size: 18px;
    font-weight: 700;
    color: #011725;
}

.btn-contato {
    background: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-contato:hover {
    background: #128C7E;
    transform: scale(1.05);
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #011725 0%, #023e5c 100%);
    padding: 60px 40px;
    border-radius: 12px;
    margin-top: 40px;
}

.cta-section h2 {
    font-family: "Raleway", sans-serif;
    font-size: 38px;
    color: #fff;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    color: #f9f9f9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: #25D366;
    color: #fff;
}

.btn-primary:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #011725;
    transform: translateY(-3px);
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .equipamentos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .intro-text h2 {
        font-size: 32px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .modal-detalhes {
        padding: 8px;
    }

    .modal-detalhes-conteudo {
        width: 100%;
        max-height: 95vh;
        padding: 18px 14px 14px;
    }

    .modal-fechar {
        width: 40px;
        height: 40px;
        top: 10px;
        right: 10px;
    }

    .modal-cabecalho {
        margin-bottom: 14px;
    }

    .modal-cabecalho h2 {
        font-size: 24px;
        padding-right: 48px;
    }

    .modal-cabecalho p {
        font-size: 16px;
    }

    .modal-corpo {
        display: flex;
        flex-direction: column;
        gap: 16px;
        max-height: calc(95vh - 110px);
        overflow-y: auto;
    }

    .modal-lista-wrapper {
        border-left: none;
        border-top: 1px solid #b5b5b5;
        padding-left: 0;
        padding-top: 12px;
    }

    .modal-lista {
        max-height: 190px;
    }

    .modal-lista li button {
        font-size: 13px;
    }

    .modal-direita h3 {
        font-size: 30px;
    }

    .modal-direita p {
        font-size: 18px;
        margin: 10px 0 14px;
    }

    .modal-imagem-box {
        height: 240px;
    }

    .modal-imagem-box img {
        width: 100%;
        height: 100%;
    }

    .modal-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .equipamentos-hero {
        margin-top: 60px;
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .equipamentos-container {
        padding: 40px 15px;
    }

    .intro-text h2 {
        font-size: 26px;
    }

    .equipamento-info h3 {
        font-size: 20px;
    }

    .cta-section {
        padding: 40px 20px;
    }
}
