@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lemon&display=swap');

:root {
    --laranja-claro: #FF862A;
    --preto: #000000;
    --branco: #ffffff;
    --cinza-claro: #F1EDEF;
    --alto-contraste-fundo: #000000;
    --alto-contraste-texto: #ffffff;
    --alto-contraste-link: #ffd700;
}

body {
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--branco);
    color: var(--preto);
}

header {
    background-color: #ffffff;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
}

section {
    padding: 5rem 2rem;
}

/* Navegação */
.nav-link {
    color: #CB6D43;
    font-weight: 600;
    transition: color 0.3s ease-in-out;
}
.nav-link:hover {
    color: var(--laranja-claro);
}

/* Hero / Início */
.inicio-fundo {
    background-image: url('img/35043-fernandinho-banner-opus-1180x420-px-natal.png'); 
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    width: 100%;
    height: 606px;
    padding: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.inicio-fundo::after {
    content: "";
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.4); /* Escurece p/ destacar texto */
    border-radius: 20px;
}
.inicio-fundo .esquerda-conteudo {
    position: relative;
    z-index: 2;
    color: var(--branco);
}

.botao-inicio {
    background-color: var(--laranja-claro);
    border-radius: 30px;
    border: none;
    padding: 0.8em 2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.botao-inicio:hover {
    background-color: #e56f1f;
    transform: scale(1.05);
}

.display-4 {
    font-size: 3rem;
    text-shadow: -3px 3px var(--laranja-claro);
}

/* BIOGRAFIA */
#biografia {
    background: url('img/fernandinho-palco.png') top right no-repeat,
                url('img/fernandinho-publico.png') bottom left no-repeat;
    background-size: 200px;
    text-align: center;
}

/* Títulos */
h2 {
    font-family: 'Lemon', serif;
    font-size: 2.5em;
    color: var(--laranja-claro);
    margin-bottom: 2rem;
}

/* GALERIA */
#galeria {
    background-color: #FAF4F4;
    text-align: center;
}
.fundo-galeria {
    background: url('img/fernandinho-adoracao.jpg') bottom right no-repeat;
    background-size: 200px;
}

/* AGENDA */
#agenda {
    background-color: #fff;
    text-align: center;
}

/* CONTATO */
#contato {
    background-image: url('img/fernandinho-igreja.jpg');
    background-size: cover;
    padding: 4rem 0;
}
.formulario {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    max-width: 600px;
    margin: auto;
}
.formulario button {
    background-color: #CB6D43;
    border: none;
    font-weight: bold;
    transition: 0.3s;
}
.formulario button:hover {
    background-color: var(--laranja-claro);
}
.form-control {
    background-color: var(--cinza-claro);
}

/* ACESSIBILIDADE */
.menu-acessibilidade{
    position: fixed;
    top:2rem;
    right:20px;
    z-index: 1000;
}
.rotacao-botao{
    transform: rotate(-90deg);
    transform-origin: right center;
}
.opcoes-acessibilidade{
    margin-top:10px;
    display: flex;
    flex-direction: column;
}
.opcoes-acessibilidade button{
    margin-bottom: 5px;
}
.apresenta-lista{
    display: none;
}

/* ALTO CONTRASTE */
.alto-contraste{
    background-color: var(--alto-contraste-fundo);
    color: var(--alto-contraste-texto);
}
.alto-contraste header,
.alto-contraste footer,
.alto-contraste .formulario{
    background-color: var(--alto-contraste-fundo);
    color: var(--alto-contraste-texto);
}
.alto-contraste .nav-link{
    color: var(--alto-contraste-link);
}
.alto-contraste .botao-inicio,
.alto-contraste .formulario button,
.alto-contraste .btn-primary{
    background-color: var(--alto-contraste-link);
    color: var(--alto-contraste-fundo);
}
.alto-contraste #biografia,
.alto-contraste #galeria {
    background: none;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .inicio-fundo {
        height: 400px;
        border-radius: 10px;
    }
    .display-4 {
        font-size: 2rem;
    }
    .img-inicio {
        display: none; /* esconde img lateral no mobile */
    }
    section {
        padding: 3rem 1rem;
    }
}
