/* RESET E ESTILOS GLOBAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f8f8f8; /* Fundo suave */
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-weight: 900;
    color: #004d99; /* Azul escuro da marca (pode ser ajustado) */
    margin-bottom: 0.5em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

/* CLASSES DE IMAGENS */
.hero-image img, .about-image img, .product-card img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Borda suave para as imagens */
}

/* BOTÃO */
.btn-primary {
    display: inline-block;
    background-color: #ffcc00; /* Amarelo/Dourado como destaque */
    color: #333;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #e6b800;
}

/* CABEÇALHO */
.header {
    background-color: #004d99; /* Azul escuro principal */
    color: white;
    padding: 15px 0;
    border-bottom: 5px solid #ffcc00; /* Linha de destaque */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px; /* Tamanho da logo */
    border-radius: 50%;
}

.nav a {
    margin-left: 25px;
    font-weight: 700;
    padding: 5px 0;
}

.nav a:hover {
    color: #ffcc00; /* Destaque no hover */
}

/* SEÇÃO PRINCIPAL / HERO */
.hero-section {
    background-color: #e6f0ff; /* Fundo mais claro para o Hero */
    padding: 60px 0;
    text-align: center;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-content h1 {
    font-size: 3em;
    color: #004d99;
}

.slogan {
    font-size: 1.2em;
    font-weight: 700;
    color: #555;
    margin-top: 10px;
}

.hero-image {
    flex: 1;
    max-width: 400px;
}


/* SEÇÃO SOBRE */
.about-section {
    padding: 80px 0;
    background-color: white;
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.about-text {
    flex: 2;
}

.about-image {
    flex: 1;
    min-width: 250px;
}


/* SEÇÃO PRODUTOS */
.products-section {
    padding: 80px 0;
    background-color: #f0f0f0;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.product-card img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 15px;
}

.product-card h3 {
    color: #004d99;
    font-size: 1.5em;
}

/* SEÇÃO CONTATO */
.contact-section {
    padding: 60px 0;
    background-color: #004d99;
    color: white;
    text-align: center;
}

.contact-section h2 {
    color: #ffcc00;
}

.contact-info {
    margin-top: 20px;
    font-size: 1.1em;
}

.contact-info address {
    font-style: normal;
    font-size: 1.3em;
    margin: 15px 0;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-weight: 700;
}

.map-container {
    margin: 25px auto;
    max-width: 800px;
    /* Limita a largura máxima do mapa em telas grandes */
}

.map-iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 8px;
    /* Bordas arredondadas para combinar com o design */
}

/* RODAPÉ */
.footer {
    background-color: #222;
    color: #ccc;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
}

/* RESPONSIVIDADE (MEDIA QUERIES) */
@media (max-width: 768px) {
    /* Ajustes no Hero Section */
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content, .hero-image {
        flex: none;
        max-width: 100%;
    }
    
    .hero-content {
        order: 2; /* Move o conteúdo para baixo */
    }
    
    .hero-image {
        order: 1; /* Move a imagem para cima */
        margin-bottom: 20px;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    /* Ajustes no About Section */
    .about-grid {
        flex-direction: column;
    }
    
    .about-image {
        order: 1; /* Move a imagem para cima */
    }
    
    .about-text {
        order: 2; /* Move o texto para baixo */
    }

    /* Ajustes no Header/Nav */
    .header .container {
        flex-direction: column;
    }

    .nav {
        margin-top: 10px;
        width: 100%;
        display: flex;
        justify-content: space-around;
    }

    .nav a {
        margin: 0 10px;
        font-size: 0.9em;
    }
    
    .logo img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .nav a {
        font-size: 0.8em;
        padding: 5px;
    }

    .contact-info address {
        font-size: 1.1em;
        padding: 8px;
    }
}