/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= VARIÁVEIS ================= */

:root {
    --cor-primaria: #0A3D62;
    --cor-secundaria: #F39C12;
    --cor-texto: #333;
    --cor-fundo: #ffffff;
    --fonte-padrao: 'Poppins', sans-serif;
}

/* ================= ESTILO GLOBAL ================= */

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

/* ================= LOGO =================== */

.logo img {
    height: 85px;
}

/* ================= TOP BAR ================= */

.top-bar {
    display: flex;
    justify-content: space-between;
    padding: 5px 20px;
    font-size: 17px;
    font-weight: 500;
    background-color: var(--cor-primaria);
    color: white
}

/* ================= HEADER ================= */

header {
    background-color: var(--cor-primaria);
    color: white;
    padding: 10px 20px;
}

header nav ul {
    list-style: none;
}

header nav ul li {
    display: inline-block;
    margin-right: 15px;
}

header nav a {
    text-decoration: none;
    color: white;
}

header {
    background-color: var(--cor-primaria);
    color: white;
    padding: 0;
}

/* ================= HEADER PRINCIPAL ================= */

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

/* ================= MENU ================= */

.menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu a {
    font-weight: 600;
    font-size: 18px;
}

.menu a {
    font-weight: 600;
    font-size: 18px;
    position: relative;
    transition: 0.3s;
}

.menu a::after {
    content: "";
    width: 0%;
    height: 2px;
    background-color: var(--cor-secundaria);
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.menu a:hover::after {
    width: 100%;
}

/* ================= BOTÃO ================= */

.btn-principal {
    padding: 12px 22px;
    background-color: var(--cor-secundaria);
    border: none;
    border-radius: 6px;
    color: white;
    font-family: var(--fonte-padrao);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-principal:hover {
    background-color: #d68910;
    transform: scale(1.05);
}

/* ================= MAIN ================= */

main {
    padding: 20px;
}

/* ================= HERO ================= */

.hero {
    position: relative;
    width: 100%;
}

.hero img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
}

.hero-overlay h2 {
    font-size: 60px;
    font-weight: 700;
}

/* ================= CARDS ================= */

.cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cards article {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cards article:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.cards article:hover img {
    transform: scale(1.05);
}

.cards article img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 15px;
}

.cards article img {
    transition: transform 0.3s ease;
}

/* ================= SEÇÕES ================= */

section {
    margin-bottom: 40px;
}

h2 {
    margin-bottom: 20px;
    color: var(--cor-primaria);
    font-size: 32px;
    font-weight: 700;
}

article {
    margin-bottom: 20px;
}

/* ================= DEPOIMENTOS ================= */

.depoimentos-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; /* quebra no mobile */
}

.depoimentos-container article {
    flex: 1;
    min-width: 280px;
    background-color: #f5f5f5;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.depoimentos-container article img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 50%;
}

/* ================= CONTATO ================= */

.contato-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.formulario {
    flex: 1;
    min-width: 280px;
}

.campo {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.campo label {
    margin-bottom: 5px;
    font-weight: bold;
}

.campo input,
.campo textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.campo textarea {
    resize: vertical;
    min-height: 100px;
}

.info-contato {
    flex: 1;
    min-width: 250px;
}

/* ================= FOOTER ================= */

.footer {
    background-color: var(--cor-primaria);
    color: white;
    padding: 20px;
}

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

.footer-info p {
    margin-bottom: 5px;
}

.footer-redes img {
    width: 38px;
    margin-left: 15px;
    cursor: pointer;
}

/* ================= RESPONSIVIDADE ================= */

@media (max-width: 768px) {

    /* Header */
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .menu ul {
        flex-direction: column;
        gap: 10px;
    }

    /* Hero */
    .hero img {
        height: 350px;
    }

    .hero-overlay h2 {
        font-size: 28px;
    }

    /* Cards */
    .cards {
        flex-direction: column;
    }

    /* Depoimentos */
    .depoimentos-container {
        flex-direction: column;
    }

    /* Contato */
    .contato-container {
        flex-direction: column;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-redes img {
        margin: 0 8px;
    }
}