/* Header - Estilos Específicos */

header {
    display: flex;
	flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    border-bottom: 2px solid #e0e0e0;
    min-height: 100px; /* Altura mínima do header */
    overflow: hidden;
}

header .container {
	display: flex;
	flex-direction: row;
    justify-content: center;
    align-items: center;
	width: 100%; /* Usa toda a largura disponível */
	margin: 0 auto; /* Mantém o container centralizado horizontalmente */
}

/* Logo */
header .logo {
    flex: 2;
    display: flex;
    justify-content: flex-start; /* Alinha o logo à esquerda por padrão */
    align-items: center;
    transition: all 0.5s ease;
}

header .logo img {
    width: 227px;
    height: 87px;
    object-fit: contain; /* Mantém a proporção do logo */
    transition: all 0.5s ease;
}

/* Contato */
header .contact {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
}

header .contact .icon {
    width: 40px;
    height: 40px;
    background-image: url('../img/icone-telefone.png');
    background-size: contain;
    background-repeat: no-repeat;
}

header .contact .details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

header .contact a {
    font-size: 14px;
    color: #003366;
    text-decoration: none;
    font-weight: bold; /* Deixa o telefone em negrito */
}

header .contact a:hover {
    text-decoration: underline;
}

header .contact .email {
    font-size: 13px;
    color: #666666;
}

/* Responsividade */

/* Smartphones pequenos (até 360px) */
@media (max-width: 360px) {
    header .container {
        justify-content: center;
        max-width: 350px;
    }

    header .logo {
        justify-content: center; /* Centraliza o logo para telas menores */
    }

    header .contact {
        display: none;
    }
}

/* Smartphones médios (361px - 640px) */
@media (min-width: 361px) and (max-width: 640px) {
    header .container {
        justify-content: center;
        max-width: 620px;
    }

    header .logo {
        justify-content: center; /* Centraliza o logo para telas menores */
    }

    header .contact {
        display: none;
    }
}

/* Dispositivos com resolução superior a 641px */
@media (min-width: 641px) {
    header .container {
        justify-content: space-between;
        align-items: center;
        padding: 0 30px; /* Aumenta o espaçamento horizontal */
    }

    header .logo {
        flex: 2;
        display: flex;
        justify-content: flex-start;
    }

    header .contact {
        flex: 1;
        display: flex;
        justify-content: flex-end; /* Alinha o conteúdo à direita */
    }
}

/* Smartphones grandes (641px - 768px) */
@media (min-width: 641px) and (max-width: 768px) {
    header .container {
        max-width: 748px;
    }
}

/* Tablets pequenos (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    header .container {
        max-width: 1004px;
    }

	header .logo img {
		width: 300px;
		height: auto;
	}

	header .contact a {
        font-size: 18px;
    }
}

/* Tablets grandes (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
    header .container {
        max-width: 1140px;
    }

	header .logo img {
		width: 300px;
		height: auto;
	}

	header .contact a {
        font-size: 18px;
    }
}

/* Laptops pequenos (1281px - 1366px) */
@media (min-width: 1281px) and (max-width: 1366px) {
    header .container {
        max-width: 1140px;
    }

	header .logo img {
		width: 300px;
		height: auto;
	}

	header .contact a {
        font-size: 20px;
    }

	header .contact .email {
        font-size: 15px;
    }
}

/* Laptops médios (1367px - 1440px) */
@media (min-width: 1367px) and (max-width: 1440px) {
    header .container {
        max-width: 1140px;
    }

	header .logo img {
		width: 300px;
		height: auto;
	}

	header .contact a {
        font-size: 20px;
    }

	header .contact .email {
        font-size: 15px;
    }
}

/* Laptops grandes (1441px - 1920px) */
@media (min-width: 1441px) and (max-width: 1920px) {
    header .container {
        max-width: 1220px;
    }

	header .logo img {
		width: 300px;
		height: auto;
	}

	header .contact a {
        font-size: 20px;
    }

	header .contact .email {
        font-size: 15px;
    }
}

/* Desktops Full HD (1921px - 2559px) */
@media (min-width: 1921px) and (max-width: 2559px) {
    header .container {
        max-width: 1220px;
    }

	header .logo img {
		width: 350px;
		height: auto;
	}

	header .contact a {
        font-size: 28px;
    }

	header .contact .email {
        font-size: 18px;
    }
}

/* Resolução 2K (2560px - 3840px) */
@media (min-width: 2560px) and (max-width: 3840px) {
    header .container {
        max-width: 1420px;
    }

	header .logo img {
		width: 350px;
		height: auto;
	}

	header .contact a {
        font-size: 28px;
    }

	header .contact .email {
        font-size: 18px;
    }
}

/* Resolução 4K (3840px e acima) */
@media (min-width: 3841px) {
    header .container {
        max-width: 1420px;
    }

	header .logo img {
		width: 350px;
		height: auto;
	}

	header .contact a {
        font-size: 28px;
    }

	header .contact .email {
        font-size: 18px;
    }
}
