/* Importação de fontes do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: #f0f0f0;
    /* Fundo cinza claro para a barra de contato */
    padding: 8px 20px;
    font-size: 0.9em;
    color: #666;
    display: flex;
    justify-content: flex-end;
    /* Alinha os contatos à direita */
    gap: 25px;
    /* Espaçamento entre email e telefone */
    flex-wrap: wrap;
    /* Permite quebrar linha em telas menores */
}

.header-top span {
    display: flex;
    align-items: center;
}

.header-top span::before {
    /* Ícones simples para email e telefone */
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background-size: contain;
    background-repeat: no-repeat;
}

.contact-email::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666666"><path d="M0 0h24v24H0z" fill="none"/><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}

.contact-phone::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666666"><path d="M0 0h24v24H0z" fill="none"/><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>');
}


.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 70px;
    /* Ajuste conforme o tamanho real do seu logo */
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    text-decoration: none;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.05em;
    padding: 5px 0;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: #0056b3;
    /* Azul mais escuro para destaque */
    border-bottom: 2px solid #0056b3;
}

/* Botões */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: #007bff;
    /* Azul vibrante */
    color: #fff;
    border: 2px solid #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary {
    background-color: #fff;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-secondary:hover {
    background-color: #007bff;
    color: #fff;
}


/* Seção Hero (Página Inicial) */
.hero-section {
    background: url('imagem/aquecimento-imersao.png') no-repeat center center/cover;
    background-size: 100% 100%;
    /* Isso estica a imagem para preencher completamente */
    /* Nova imagem de fundo */
    color: #fff;
    text-align: center;
    padding: 150px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-section::before {
    /* Overlay para melhorar contraste */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Escurece a imagem de fundo */
}

.hero-section .container {
    position: relative;
    /* Para garantir que o conteúdo fique acima do overlay */
    z-index: 1;
}

.hero-section h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3.8em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-section p {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Seções Gerais */
section {
    padding: 80px 0;
    text-align: center;
}

section:nth-of-type(even) {
    /* Para alternar cor de fundo em seções */
    background-color: #f0f0f0;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5em;
    /* Ajustado */
    margin-bottom: 20px;
    color: #222;
}

.section-description {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Seção de Produtos em Destaque */
.featured-products-section {
    padding: 100px 0;
    background-color: #fff;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    background-color: #fcfcfc;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #007bff;
    /* Detalhe azul no topo */
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.feature-item img {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
    /* Para resistências, 'contain' é melhor para não cortar */
    margin-bottom: 25px;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.1));
    /* Sombra para a imagem do produto */
}

.feature-item h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.7em;
    /* Ajustado */
    margin-bottom: 15px;
    color: #333;
}

.feature-item p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.7;
}

/* Seção Linha de Produtos */
.products-section {
    background-color: #f0f0f0;
    padding-bottom: 100px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Ajustado */
    gap: 40px;
    margin-top: 60px;
}

.product-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    /* Para controlar o layout interno */
    flex-direction: column;
    /* Conteúdo em coluna */
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    /* Ajustado */
    border-bottom: 1px solid #eee;
    padding: 20px;
    /* Espaçamento interno para a imagem */
    background-color: #fcfcfc;
    /* Fundo claro para a imagem */
}

.product-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Permite que o info cresça e empurre o botão para baixo */
}

.product-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5em;
    /* Ajustado */
    margin-bottom: 15px;
    color: #333;
}

.product-info p {
    font-size: 1.05em;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
    /* Permite que o parágrafo ocupe o espaço extra */
}

.product-card .btn-secondary {
    align-self: flex-start;
    /* Alinha o botão à esquerda */
    padding: 10px 20px;
    font-size: 0.95em;
    margin-top: auto;
    /* Empurra o botão para a parte inferior */
}


/* Seção Empresa (antigo Quem Somos) */
.about-section {
    background-color: #fff;
    padding: 100px 0;
}

.about-section h2 {
    font-size: 3em;
    margin-bottom: 60px;
    color: #1a1a1a;
    font-weight: 700;
}

.about-intro {
    max-width: 900px;
    margin: 0 auto 80px auto;
    font-size: 1.3em;
    line-height: 1.8;
    color: #4a4a4a;
    text-align: center;
    /* Centraliza o texto introdutório */
}

.about-intro p strong {
    color: #007bff;
}

.about-history-mission {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    /* Ajustado */
    margin-bottom: 100px;
    text-align: left;
}

.about-text-content {
    flex: 1;
    min-width: 350px;
    max-width: 550px;
}

.about-text-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2em;
    color: #333;
    margin-top: 40px;
    margin-bottom: 15px;
}

.about-text-content h3:first-of-type {
    margin-top: 0;
}

.about-text-content p {
    font-size: 1.15em;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

.about-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-image-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

/* Seção de Valores */
.values-section {
    margin-top: 80px;
    text-align: center;
}

.values-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.2em;
    color: #333;
    margin-bottom: 40px;
}

.values-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.values-list li {
    background-color: #fcfcfc;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    font-size: 1.1em;
    line-height: 1.6;
    color: #666;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid #007bff;
    text-align: center;
    /* Ajustado */
}

.values-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.values-list li span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #007bff;
    display: block;
    margin-bottom: 8px;
    font-size: 1.2em;
}


/* Seção Contato */
.contact-section {
    background-color: #f0f0f0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-top: 50px;
    text-align: left;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="assunto"],
/* Adicionado input para assunto */
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
}

.contact-form textarea {
    resize: vertical;
}

.contact-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #333;
}

.contact-info p {
    margin-bottom: 10px;
    color: #555;
    font-size: 1.05em;
}

.map-placeholder {
    width: 100%;
    height: 250px;
    background-color: #eee;
    margin-top: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.map-placeholder iframe {
    border: none;
}

/* Footer */
.main-footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

/* Responsividade Básica */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3em;
    }

    .hero-section p {
        font-size: 1.2em;
    }

    .header-top {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        padding: 15px 10px;
        /* Adicionado para garantir espaçamento */
    }

    .main-nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-nav ul li {
        margin: 5px 15px;
    }

    .hero-section {
        padding: 100px 0;
        min-height: 450px;
    }

    .hero-section h1 {
        font-size: 2.5em;
    }

    .hero-section p {
        font-size: 1.1em;
    }

    h2 {
        font-size: 2.2em;
    }

    .section-description {
        font-size: 1em;
    }

    .about-history-mission {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .about-text-content,
    .about-image-wrapper {
        max-width: 100%;
        min-width: unset;
        width: 100%;
    }

    .about-image-wrapper img {
        height: 350px;
    }

    .values-section h3 {
        font-size: 1.8em;
    }

    .values-list {
        grid-template-columns: 1fr;
    }

    .featured-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .main-nav ul li {
        margin: 5px 10px;
    }

    .hero-section h1 {
        font-size: 2em;
    }

    .hero-section p {
        font-size: 1em;
    }

    h2 {
        font-size: 1.8em;
    }

    .feature-item h3 {
        font-size: 1.5em;
    }

    .product-info h3 {
        font-size: 1.4em;
    }

    .hero-section {
        padding: 80px 0;
        /* Ajuste */
        min-height: 400px;
        /* Ajuste */
    }
}