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

body {
    background-color: #F0F6FA; 
    color: #2C3E50;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    font-weight: 400; 
    font-size: 18px; 
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #32587A; 
}

header {
    background-color: rgba(240, 246, 250, 0.95);
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #D5E3EE;
}

.logo-img {
    max-height: 60px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: #32587A;
    font-size: 16px; 
    font-weight: 600; 
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    text-decoration: none;
}

nav a:hover {
    color: #A0714E; 
}

section {
    padding: 120px 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.container {
    max-width: 1000px; 
    width: 100%;
}

#inicio {
    min-height: 100vh;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, #EAE0D5 0%, #F0F6FA 30%, #D5E3EE 70%, #E6EEF5 100%);
    background-size: 300% 300%;
    animation: movimentoOndas 35s ease-in-out infinite alternate;
}

@keyframes movimentoOndas {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px; 
}

.hero-text {
    flex: 1; 
    text-align: left; 
}

.hero-text h1 {
    font-size: 50px;
    margin-bottom: 20px;
    line-height: 1.2;
    min-height: 130px;
}

#palavra-dinamica {
    color: #A0714E; 
}

.cursor {
    display: inline-block;
    color: #32587A;
    animation: piscar 0.8s infinite;
}

.nao-quebra {
    white-space: nowrap;
}

@keyframes piscar {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

.hero-text p {
    font-size: 20px;
    color: #4B657D;
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-image {
    flex: 1; 
    display: flex;
    justify-content: center;
}

.foto-perfil-hero {
    max-width: 100%;
    height: auto;
    border-radius: 12px; 
    box-shadow: 0 15px 35px rgba(50, 88, 122, 0.15); 
    border: 2px solid rgba(160, 113, 78, 0.2); 
}

.btn-principal {
    display: inline-block;
    background-color: #32587A;
    color: #FFFFFF;
    padding: 18px 40px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    border: 1px solid #32587A;
    border-radius: 4px;
}

.btn-principal:hover {
    background-color: transparent;
    color: #32587A;
}

#trabalho {
    background-color: #FFFFFF;
    text-align: center;
}

h2 {
    font-size: 40px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    background-color: #A0714E;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.texto-destaque {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: justify;
    font-weight: 400;
}

.texto-centralizado {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#sobre { 
    background-color: #F0F6FA; 
    text-align: center;
}

.subtitulo-sobre {
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 20px;
    color: #32587A;
}

.galeria-profissional {
    display: flex; 
    justify-content: center; 
    gap: 30px; 
    margin-top: 50px;
    width: 100%;
}

.item-galeria {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden; 
    border: 2px solid #D5E3EE; 
    aspect-ratio: 3 / 4; 
    width: 100%; 
    max-width: 350px; 
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(50, 88, 122, 0.1);
    transition: transform 0.3s ease; 
}

.item-galeria:hover {
    transform: translateY(-5px); 
}

.foto-galeria {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

#contato {
    background-color: #FFFFFF;
    text-align: center;
}

.cards-contato {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
    width: 100%;
}

.card-item {
    border: 2px solid #32587A; 
    border-radius: 10px;
    padding: 40px 20px;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.card-item:hover {
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(50, 88, 122, 0.1);
    background-color: #F0F6FA; 
}

.card-item i {
    font-size: 40px; 
    color: #A0714E; 
    margin-bottom: 20px;
}

.card-item h3 {
    font-size: 20px;
    color: #32587A;
    margin-bottom: 10px;
}

.card-item p, .card-item a {
    font-family: 'Montserrat', sans-serif;
    color: #4B657D;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.card-item a:hover {
    color: #A0714E; 
}

footer {
    background-color: #32587A;
    color: #FFFFFF;
    text-align: center;
    padding: 40px 20px;
    font-size: 16px;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px;
    }
    .logo-img {
        margin-bottom: 15px;
    }
    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
        margin-top: 40px;
    }
    .hero-text {
        text-align: center; 
    }
    .hero-text h1 {
        font-size: 40px;
        min-height: auto;
    }

    .galeria-profissional {
        flex-direction: column; 
        align-items: center;
    }

    .item-galeria {
        max-width: 100%; 
    }

    .cards-contato {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}