@charset "UTF-8";

/* ======== ESTILOS GERAIS ======== */
body {
    background-color: transparent;
    color: #453e3e;
    position: relative;
    top: 100px;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

h1 {
    text-align: center;
    
}

/* ======== HEADER ======== */
header {
    background-color: rgba(128, 128, 128, 0.441);
    width: 100%;
    height: 60px;
    border-radius: 5px;
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    box-sizing: border-box;
}

header img {
    width: 80px;
    margin-left: 10px;
}

header ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

header a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.637);
    font-weight: 600;
    transition: color 0.3s ease;
}

header a:hover {
    color: rgb(43, 132, 162);
}


/* ======== CONTAINERS ======== */
.conteiner1,
.conteiner2,
.conteiner3,
.conteiner4 {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding: 10px;
    box-sizing: border-box;
}



/* ======== CARDS (estilo base) ======== */
[class^="cards"] {
    background-color: transparent;
    border: 2px solid black;
    border-radius: 16px;
    width: 200px;
    padding: 16px;
    text-align: center;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    box-sizing: border-box;
}

[class^="cards"]:hover {
    transform: scale(1.02);
}

/* ======== IMAGENS DOS CARDS ======== */
[class^="cards"] img {
    width: 100%;
    height: 150px;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

/* ======== TEXTOS DOS CARDS ======== */
[class^="cards"] h3 {
    color: #453e3e;
    margin: 10px 0 5px 0;
}

[class^="cards"] p {
    color: gray;
    text-align: center;
    flex-grow: 1; 
    margin: 0;
}
.sessao {
  margin-top: 100px;
  padding-top: 50px;
}

.icones-card,
.icones-card-loc {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
    text-align: center;
    box-sizing: border-box;
}

.icones-card img,
.icones-card-loc img {
    width: 30px;
    height: 30px;
    object-fit: contain; 
}

.icones-card p,
.icones-card-loc p {
    margin: 0;
    position: relative;
    transition: color 0.3s ease;
}

.icones-card p:hover,
.icones-card-loc p:hover {
    color: rgb(53, 127, 151);
}

/* Ajuste específico de posicionamento */
.icones-card,
.icones-card-loc {
    display: flex;
    align-items: center;        
    justify-content: center;    
    gap: 8px;                   
    flex-wrap: wrap;            
    margin-top: 8px;
    
}

.icones-card p,
.icones-card-loc p {
    position: static;           
    margin: 0;
    font-size: 15px;
    color: #453e3e;
}

/* Links dentro dos ícones */
.icones-card a,
.icones-card-loc a {
    text-decoration: none;
    color: inherit;
}


/* ======== AJUSTES ESPECÍFICOS ======== */
.cards2 h3 { position: relative; top: -5px; }
.cards2 p { position: relative; top: -5px; }

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

/* --- Telas grandes (acima de 1200px) --- */
@media (min-width: 1200px) {
    body {
        top: 130px; /* dá mais espaço pro header fixo */
        font-size: 18px; /* letras um pouco maiores */
        max-width: 1400px; /* limita o conteúdo pra não ficar largo demais */
        margin: 0 auto; /* centraliza o conteúdo */
    }

    header {
        height: 90px;
        padding: 20px 100px;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    header img {
        width: 100px;
        margin-right: 40px;
    }

    header ul {
        gap: 50px; /* mais espaçamento entre os links */
    }

    header a {
        font-size: 20px;
    }

    /* Cards maiores e com mais espaçamento */
    [class^="cards"] {
        width: 250px;
        padding: 20px;
        border-width: 2px;
    }

    [class^="cards"] img {
        height: 180px;
    }

    [class^="cards"] h3 {
        font-size: 20px;
    }

    [class^="cards"] p {
        font-size: 16px;
    }

    .conteiner1,
    .conteiner2,
    .conteiner3,
    .conteiner4 {
        gap: 40px; /* mais espaço entre os cards */
        padding: 20px 40px;
    }

    .icones-card img,
    .icones-card-loc img {
        width: 35px;
        height: 35px;
    }

    .icones-card p,
    .icones-card-loc p {
        font-size: 16px;
    }
}

/* --- Tablets (até 900px) --- */
@media (max-width: 900px) {
    header {
        width: 100%;
        height: 60px;
        flex-direction: row-reverse;
        text-align: center;
        padding: 10px;
    }

    header img {
        width: 60px;
        margin: 10px 0;
    }

    header ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    [class^="cards"] {
        width: 45%; 
    }

     .icones-card,
    .icones-card-loc {
        flex-direction: column; 
        justify-content: center;
        gap: 10px;
    }

    .icones-card p,
    .icones-card-loc p {
        top: 0;
        left: 0;
        right: 0;
    }
   
}

/* --- Celulares (até 600px) --- */
@media (max-width: 600px) {
    body {
        top: 80px; 
    }

    header {
        padding: 10px;
    }

    header img {
        width: 60px;
    }

    header ul {
        flex-direction:row-reverse;
        gap: 10px;
    }
   
    [class^="cards"] {
        width: 100%; 
    }

    [class^="cards"] img {
        height: 120px; 
    }

    [class^="cards"] p {
        font-size: 14px;
    }

     .icones-card,
    .icones-card-loc {
        flex-direction: column;
        gap: 5px;
    }

    .icones-card img,
    .icones-card-loc img {
        width: 25px;
        height: 25px;
    }

    .icones-card p,
    .icones-card-loc p {
        font-size: 14px;
        top: 0;
        left: 0;
        right: 0;
    }
   
}
/* --- Telas grandes (acima de 900px) --- */
@media (min-width: 901px) {
    header {
        height: 80px;              
        padding: 20px 60px;        
        flex-direction: row-reverse;       
        justify-content: space-between;
    }

    header img {
        width: 80px;              
        margin: 0 20px;
        object-fit: contain;
        max-height: 100%;
        display: block;
    }

    header ul {
        gap: 30px;
    }

    header a {
        font-size: 18px;
    }

    body {
        top: 120px; 
    }
}