@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Belleza&family=Federo&family=Italiana&family=Roboto:ital,wght@0,100..900;1,100..900&family=Viaoda+Libre&display=swap');

:root{
    --cor-background-header: #162028;
    --cor-texto-menu: #425564;
    --cor-textos: #555;
    --cor-img-detalhe: #003d52;
    --cor-footer: #0b171f;
    --cor-texto-footer: #6f8597;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    font-size: 62.5%;
}

body{
    font-family: "Roboto", sans-serif;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--cor-background-header);
    padding: 20px 40px;
}

/* Cabeçalho */
header h1{
    color: white;
    font-size: 3.9rem;
    font-family: "Belleza", serif;
    font-weight: 500;
}

header nav ul{
    display: inline-flex;
    list-style-type: none;
    color: white;
    gap: 30px;
    font-family: "Italiana", serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

header nav ul li{
    position: relative;
    cursor: pointer;
    transition: .3s;
}

header nav ul li::after{
    content: '';
    position: absolute;
    bottom: -4px; /* Ajusta a posição da underline */
    left: 50%; /* Ponto inicial no centro */
    width: 0;
    height: 2px;/* Espessura da underline */
    background-color: white;/* Cor da underline */
    transform: translate(-50%); /* Alinha o ponto inicial no centro */
    transition: width .25s ease-in-out; /* Define a animação */
}

header nav ul li:hover::after{
    width: 100%; /* Expande a underline para os lados */
    /* left: 0; */ /* Garante a expansão completa */
    /* transform: translateX(0); */ /* Remove o deslocamento no hover */
}


header nav ul li:hover{
    color: #ccc;
    cursor: pointer;
    transition: color 0.25s ease-in-out; /* Animação da cor */
}

header nav ul li a {
    text-decoration: none;
    color: white;
}

/* Conteúdo Principal */
main{
    text-align: center;
}

section {
    margin-bottom: 60px;
}

.hero {
    background: url('../img/topo.jpg') center/cover no-repeat;
    background-attachment: fixed;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4); /* overlay */
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 90%;
    animation: fadeUp 1s ease;
}

/* === ADIÇÃO: eyebrow labels === */
.hero-eyebrow,
.section-eyebrow {
    display: block;
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-eyebrow {
    color: rgba(255, 255, 255, 0.5);
}

.section-eyebrow {
    color: var(--cor-img-detalhe);
    margin-bottom: 14px;
}

/* === ADIÇÃO: divider categorizador === */
.section-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 40px 20px;
    color: var(--cor-textos);
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

/* === ADIÇÃO: tag nos cards === */
.card-tag {
    display: inline-block;
    margin-top: 10px;
    font-size: 1.1rem;
    color: var(--cor-img-detalhe);
    border: 1px solid var(--cor-img-detalhe);
    border-radius: 3px;
    padding: 2px 8px;
    letter-spacing: 1px;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h2 {
    font-size: 4rem;
    font-family: "Belleza";
    margin-bottom: 10px;
}

.hero-content p {
    margin: 20px 0;
    font-size: 1.8rem;
}

.hero-content button {
    padding: 12px 28px;
    border: none;
    background: var(--cor-img-detalhe);
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 4px;
}

.hero-content button:hover {
    background: #005f7a;
}

.primeiro-artigo{
    padding: 60px 20px;
}

.primeiro-artigo article {
    max-width: 700px;
    margin: auto;
}

.primeiro-artigo article > h2{
    font-size: 3.2rem;
    color: var(--cor-textos);
    font-family: "Belleza", serif;
    margin-bottom: 20px;
}

.primeiro-artigo article > p{
    line-height: 1.6;
    letter-spacing: 0.5px;
    font-size: 1.6rem;
}

.grid-modelos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 60px 20px;
}

.imagens-modelos {
    text-align: center;
    background: white;
    padding: 15px;
    border-radius: 10px;
    transition: .3s;
}

.imagens-modelos:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
}

.imagens-modelos h3 {
    font-weight: 500;
}

.imagens-modelos img {
    width: 100%;
    border-radius: 8px;
    transition: transform .3s;
}

.imagens-modelos:hover img {
    transform: scale(1.05);
}

.imagens-modelos p {
    font-size: 1.4rem;
}

.img-fundo{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;

    background: url('../img/bg_detalhe.png') center/cover no-repeat;
}

.img-fundo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.img-fundo article{
    position: relative;
    max-width: 600px;
    text-align: left;
    padding-left: 28px;
    border-left: 3px solid #005f7a;
}

.img-fundo article > h1{
    color: white;
    font-size: 4.5rem;
    font-family: "Viaoda Libre", serif;
    letter-spacing: 2px;
    font-weight: 500;
    text-transform: uppercase;
}

.img-fundo article > p{
    color: white;
    font-size: 1.8rem;
    padding-top: 50px;
    letter-spacing: 2px;
    line-height: 30px;
    /* max-width: 600px; */
}

/* === ADIÇÃO: seção newsletter === */
.newsletter {
    padding: 50px 20px;
    text-align: center;
    background: #f7f7f5;
    border-top: 1px solid #e8e8e8;
}

.newsletter p {
    font-size: 1.5rem;
    color: var(--cor-textos);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    max-width: 400px;
    margin: auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.4rem;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-form input:focus {
    border-color: var(--cor-img-detalhe);
}

.newsletter-form button {
    padding: 12px 24px;
    background: var(--cor-img-detalhe);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.3rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s;
}

.newsletter-form button:hover {
    background: #005f7a;
}

/* Rodapé */
footer{
    background-color: var(--cor-footer);
    color: var(--cor-texto-footer);
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-family: "Belleza", serif;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, .4);
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    color: var(--cor-texto-footer);
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color .2s;
}

.footer-nav a:hover {
    color: white;
}

footer p {
    font-size: 1.2rem;
}

footer p{
    font-size: 1.3rem;
}

/* === RESPONSIVO: footer empilha em mobile === */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

    footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-nav {
        gap: 16px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .section-divider {
        padding: 0 20px 20px;
    }
}