/* ==========================================
   VARIAVEIS E REGRAS GERAIS
========================================== */
/* :root {
    --primary-color: #1b2d3a;
    --accent-color: #d4a373;
    --accent-soft: #faedcd;
    --bg-light: #fefae0;
    --bg-gradient: linear-gradient(135deg, #fff5f5 0%, #f7f0eb 50%, #f0f4f8 100%);
    --text-main: #2b2d42;
    --text-muted: #6c757d;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 20px 40px rgba(179, 139, 89, 0.15);
} */
:root {

    --primary-color: #1b2d3a;
    /* Azul petróleo */
    --accent-color: #d4a373;
    /* Dourado suave */
    --background: #f7f4f1;
    /* Bege claro */
    --surface: #ffffff;
    /* Branco para cards */

}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    /* background: #fcfcfc; */
    /* background: #ebe9e9; */
    color: var(--text-main);
    overflow-x: hidden;
    background: var(--bg-gradient);
}

/* ==========================================
   SEÇÕES GERAIS
========================================== */
.titulo-secao {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 163, 115, 0.12);
    border-radius: 30px;
}

/* ==========================================
   HERO SECTION
========================================== */
.hero {
    /* background: var(--bg-gradient); */
    position: relative;
    padding: 40px 0;
    margin-top: 50px;
}

.subtitulo {
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.95rem;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.8rem;
    font-weight: 700;
    margin: 15px 0;
    color: var(--primary-color);
    line-height: 1.15;
}

h2 {
    font-size: 1.35rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 400;
}

p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4a5568;
}

.foto-perfil-wrapper {
    position: relative;
    display: inline-block;
}

.foto-perfil-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid var(--accent-color);
    border-radius: 35px;
    z-index: 0;
    opacity: 0.5;
}

.foto-perfil {
    position: relative;
    z-index: 1;
    width: 400px;
    max-width: 100%;
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease;
}

.foto-perfil:hover {
    transform: translateY(-5px);
}

.btn-gms {
    background: var(--primary-color);
    color: #fff;
    padding: 14px 38px;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(27, 45, 58, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-gms:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(212, 163, 115, 0.3);
}

/* ==========================================
   SOBRE
========================================== */
.sobre {
    padding: 20px 0;
    /* background: #ffffff; */
}

.sobre h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    margin: 10px 0 20px;
    color: var(--primary-color);
}

.foto-sobre {
    border-radius: 30px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

/* ==========================================
   CARDS DE INTERESSE
========================================== */
.cards-gms {
    /* background: #fdfbf7; */
    padding: 60px 0;
}

.card-item {
    /* background: #ffffff; */
    /* background: #f0f4f8; */
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.35s ease;
    box-shadow: var(--card-shadow);
    /* border: 1px solid rgba(0, 0, 0, 0.03); */

    background: #fdfcfb;

    border: 1px solid rgba(212, 163, 115, .15);
}

.card-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(212, 163, 115, 0.3);
}

.card-icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(212, 163, 115, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.card-item:hover .card-icon-box {
    background: var(--accent-color);
}

.card-item i {
    font-size: 2rem;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.card-item:hover i {
    color: #ffffff;
}

.card-item h4 {
    margin-bottom: 12px;
    color: var(--primary-color);
    font-weight: 600;
}

.card-item p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ==========================================
   GALERIA DE FOTOS
========================================== */
.galeria {
    padding: 50px 0;
    /* background: #ffffff; */
}

.galeria h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    color: var(--primary-color);
    margin: 10px 0 20px;
}

/* Reduz o espaço abaixo do título principal da Galeria */
.galeria p {
    max-width: 650px;
    margin: 0 auto 30px;
    /* Era margin-bottom: 60px */
}

.foto-galeria-container {

    overflow: hidden;

    border-radius: 18px;

    box-shadow: var(--card-shadow);

    transition: .35s;

    background: #fff;

}

.foto-galeria {

    width: 100%;

    aspect-ratio: 1/1;

    object-fit: cover;

    transition: transform .5s ease;

    display: block;

}

.foto-galeria-container:hover {

    box-shadow: var(--hover-shadow);

    transform: translateY(-6px);

}

.foto-galeria-container:hover .foto-galeria {

    transform: scale(1.08);

}

.foto-galeria-container {

    position: relative;

    overflow: hidden;

}

.foto-galeria-container::after {


    content: "🔍 Ampliar imagem";

    position: absolute;

    inset: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    background: rgba(0, 0, 0, .45);

    color: #fff;

    font-size: .95rem;

    opacity: 0;

    transition: .35s;

    font-weight: 500;
    pointer-events: none;

}

.foto-galeria-container:hover::after {

    opacity: 1;

}

/* .foto-galeria:hover {

    transform: scale(1.06);

    filter: brightness(108%);

} */

/* ==========================================
   TIMELINE (MINHA CAMINHADA)
========================================== */
.timeline {
    padding: 50px 0;
    /* background: #fdfbf7; */
    background: #f5f3f0;
}

.timeline h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2.6rem;
    margin-top: 10px;
    margin-bottom: 40px;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-container::before {
    content: "";
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 45px;
    position: relative;
}

.timeline-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(27, 45, 58, 0.25);
}

.timeline-content {
    margin-left: 25px;
    background: #ffffff;
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    width: 100%;
}

h2 {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 15px;
    /* Era 30px */
}

p {
    font-size: 1.1rem;
    line-height: 1.7;
    /* Era 1.9 */
    color: #666;
    margin-bottom: 20px;
    /* Era 35px */
}

.timeline-content .ano {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.timeline-content h4 {
    margin: 6px 0 10px;
    color: var(--primary-color);
    font-weight: 600;
}

.timeline-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* MENU */
/* .menu-gms {

    background: rgba(255, 255, 255, .95);

    backdrop-filter: blur(10px);

    box-shadow: 0 3px 15px rgba(0, 0, 0, .08);

} */
.menu-gms {

    background: rgba(250, 237, 205, .90);

    backdrop-filter: blur(12px);

    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);

    border-bottom: 1px solid rgba(212, 163, 115, .20);

}

.navbar-brand {

    font-family: 'Playfair Display', serif;

    font-size: 1.6rem;

}

/* .nav-link {

    margin-left: 18px;

    font-weight: 500;

} */
.nav-link {

    color: var(--primary-color);

    font-weight: 500;

    transition: .3s;

}

.nav-link:hover {

    color: var(--accent-color);

}

html {

    scroll-behavior: smooth;

}

/* RODAPÉ */
#topo {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 50px;

    height: 50px;

    border: none;

    border-radius: 50%;

    background: #1b2d3a;

    color: white;

    display: none;

    cursor: pointer;

    z-index: 999;

}

/* .rodape {

    background: #1b2d3a;

    color: white;

    padding: 70px 0;

} */
.rodape {

    background: linear-gradient(135deg,
            #243646,
            #1b2d3a);

    color: #fff;

    padding: 80px 0;
    border-top: 4px solid var(--accent-color);

}

.rodape p {

    color: #d7d7d7;

}

/* .rodape h4 {

    font-family: 'Playfair Display', serif;

} */

.rodape h4 {

    color: #ffffff;

    margin-bottom: 20px;

}

.easter-egg {

    cursor: pointer;

    transition: .35s;

    user-select: none;

    animation: estrelaBrilha 3s ease-in-out infinite;

}

.easter-egg:hover {

    transform: scale(1.35);

    filter: drop-shadow(0 0 10px #ffd54f);

}

.modal-content {

    animation: luz 1s ease;

}

#modalSegredo .modal-content {

    background: linear-gradient(180deg, #ffffff, #fffdf7);

    animation: modalLuz .6s ease;

}

#modalSegredo p {

    line-height: 1.8;

    color: #555;

}

@keyframes estrelaBrilha {

    0%,
    100% {

        opacity: .8;

        transform: scale(1);

    }

    50% {

        opacity: 1;

        transform: scale(1.15);

        filter: drop-shadow(0 0 8px #ffd54f);

    }

}

@keyframes modalLuz {

    from {

        opacity: 0;

        transform: scale(.92);

    }

    to {

        opacity: 1;

        transform: scale(1);

    }

}

@keyframes luz {

    0% {

        transform: scale(.90);

        opacity: 0;

    }

    100% {

        transform: scale(1);

        opacity: 1;

    }

}

#modalSegredo .btn-close {

    opacity: .55;

    transition: .3s;

}

#modalSegredo .btn-close:hover {

    opacity: 1;

    transform: rotate(90deg) scale(1.15);

}

/* BOTÃO MENSAGEM */
#mensagemHero .card {

    background: rgba(255, 255, 255, .90);

    backdrop-filter: blur(12px);

    border: none;

    animation: fadeMensagem .6s ease;

}

#mensagemHero p {

    line-height: 1.8;

    color: #555;

    text-align: justify;

}

@keyframes fadeMensagem {

    from {

        opacity: 0;
        transform: translateY(-20px);

    }

    to {

        opacity: 1;
        transform: translateY(0);

    }

}

/* LOGO */
.logo-gms {

    width: 52px;
    height: 52px;

    border-radius: 50%;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);

    background: #fff;

    padding: 4px;

}