@charset "UTF-8";

/* FONTES */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* RESET */

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

/* CORES */

:root {
    --Cor1: #FFB657;
    --Cor2: #57A389;
    --Cor3: #13326E;
    --Cor4: #ECFDF5;
    --Cor5: #F2F8F6;
    --Cor6: #0F2437;
    --Cor7: #2D4A71;
}

/* ANIMAÇÕES */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CONFIGURAÇÕES PARA TODO O DOCUMENTO */

html, body {
    font-family: "Be Vietnam Pro", sans-serif;
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: auto;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    height: 100svh;
    min-height: 100dvh;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: auto;
}

/* CABEÇALHO */

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
    position: relative;
    border-bottom: 5px solid #f0f0f0;
    /*background-color: red*/
}

#caixa-logo {
    width: max-content;
    justify-content: center;
    align-items: center;
    padding:20px 35px 15px 10px;
    width: max-content;
    /*background-color: purple;*/
}

#logo {
    display: block;
    height: 35px;
    border-radius: 50%;
    border: 1px solid rgb(255, 255, 255);
    box-shadow: 3px 1px 10px #00000042;
    margin: 0px 5px 0px 15px;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;
}

/* =========================================
   HEADER NOVO
========================================= */

.header-topo{
    display:flex;
    align-items:center;
    justify-content:space-between;
     height:35px;
    padding:18px 22px;

    background:#fff;

    gap:18px;

    border-bottom:1px solid #ececec;
    position: sticky;
    top: 0;
    z-index: 9999;
    background: white;
    
}

/* =========================================
   BLOCO ESQUERDO (LOGO + TEXTO)
========================================= */

.brand-area{
    display:flex;
    align-items:center;

    gap:14px;

    min-width:0;
}

/* LOGO */
.logo-topo{
    width:58px;
    height:58px;

    border-radius:50%;
    object-fit:cover;

    flex-shrink:0;
}

/* TEXTOS */
.brand-textos {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-textos h1 {
    font-size: 1.55rem;
    font-weight: 700;

    color: #10251d;

    margin: 0;
    line-height: 1.1;

    white-space: nowrap;
}

.brand-textos p {
    margin: 4px 0 0;

    font-size: 0.82rem;
    color: #5b5b5b;

    white-space: nowrap;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .header-topo {
        align-items: flex-start;
        gap: 12px;
    }

    .logo-topo {
        width: 52px;
        height: 52px;
    }

    .brand-textos h1 {
        font-size: 1.2rem;
    }

    .brand-textos p {
        font-size: 0.72rem;
    }

    .modo-toggle {
        transform: scale(0.88);
        transform-origin: right top;
    }

}

/* =========================================
   MOBILE RETRATO
========================================= */

@media (max-width: 480px) {

    .header-topo{
        height: 78px; /* diminui a altura */
        padding: 0 14px;

        display:flex;
        align-items:center; /* centraliza verticalmente */
        justify-content:space-between;
    }

    /* LOGO */
    .logo-topo{
        width:44px;
        height:44px;

        margin:0; /* remove margens */
    }

    /* BLOCO DA ESQUERDA */
    .brand-area{
        display:flex;
        align-items:center;
        height:100%;
        gap:0;
    }

    .brand-textos{
     /*display:none;*/
    }

    /* TOGGLE */
    .modo-toggle{
        margin:0;
        padding:6px;

        display:flex;
        align-items:center;

        transform:scale(0.90);
        transform-origin:center;
    }
}


/* SEÇÃO INÍCIO */

section#area-inicio, section#inicio {
    width: 100%;
    margin: 0;
    padding: 0;
}

#area {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: auto;
    background-color: white;
    position: relative;
}

#lado-esquerdo, #lado-direito {
    width: 50%;
    height: 520px;
    display: flex;
    flex-direction: column;
    background: var(--Cor4);
}

#lado-direito {
    width: 60%;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 520px;
    overflow: visible;
}

#lado-esquerdo {
    justify-content: space-between;
    height: max-content;
    height: 520px;
}

#bem-vindo {
    flex: none;
    padding: 60px 30px 30px;
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
}

#bem-vindo h1 {
    font-size: 35px;
    margin-bottom: 30px;
    color: #000000;
    
}

#bem-vindo a {
    background: var(--Cor2);
    width: max-content;
    padding: 10px 20px;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    display: block;
    border: 0.5px solid #ffffff5b;
}

#bem-vindo a:hover {
    background: #5fb69a;
}

.carousel_1 {
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.track_1 {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
  will-change: transform;
}

.slide_1 {
  min-width: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.slide_1.active {
  opacity: 1;
}

.slide_1 img {
  width: 100%;
  height: 330px;
  margin: 35px 32px;
  object-fit: cover;
  border-radius: 12px;
  border: 1.7px solid #9d9d9d;
  box-shadow: 4px 4px 14px rgba(0, 0, 0, 0.10);
  will-change: transform;
}

/* Bolinhas */

.dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 10px;
    width: 100%;
}

.dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50px;
    transition: all 0.3s;
}

.dot.active {
    width: 25px;
    background: #56A38A;
}

#frase-dia {
  width: max-content;
  margin-top: 40px;
  font-size: 22px;
  color: #666;
  text-align: center;
  font-style: italic;
}

.onda-em-baixo{
    width:100%;
    height:100px;

    overflow:hidden;
    line-height:0;

    background:#ffffff;
}

.onda-em-baixo svg{
    display:block;

    width:100%;
    height:100%;

    transform:rotate(180deg);
}

/* RESPONSIVIDADE SEÇÃO INÍCIO */

@media(max-width: 900px) {

    #area {
        flex-direction: column;
    }

    #lado-esquerdo, #lado-direito {
        width: 100%;
    }

    #lado-direito {
        height: 300px;
    }

    #lado-esquerdo {
        height: 70%;
    }

    #bem-vindo h1 {
        font-size: 32px;
    }

    #lado-direito {
    height: 440px;
    }

    #slide-show {
        width: 90%;
    }
}

@media(max-width:480px) {

    #texto-logo {
        display: none;
    }

    .barra-deslizante {
        
    }

    #area {
        flex-direction: column;
    }

    #lado-esquerdo, #lado-direito {
        width: 100%;
        margin-top: 0;
        background-color: var(--Cor4);
    }

    #lado-esquerdo {
        height: auto;
        padding-bottom: 30px;
    }

    #bem-vindo h1 {
        text-align: center;
        font-size: 30px;
        color: #000000;
    }

    #bem-vindo a {
        margin: 15px auto 0 auto;
        padding: 8px 13px;
        font-size: 17px;
        color: #fff;
    }

    #lado-direito {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        position: relative;
        max-height: 2000px;
    }

    .slide_1 img {
        width: 100%;
        height: 250px;
        margin: 0px;
        border-radius: 0px;
    }

.carousel_1,
.track_1,
.slide_1 {
    width: 100%;
}

    #slide-show {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    #slide-show img {
        position: absolute;
        width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }

    #slide-show img.ativo {
        opacity: 1;
    }

    #frase-dia {
        margin-top: 60px;
        font-size: 18px;
    }
}

/* ==========================
   🌿 SEÇÃO AUTOR  
========================== */

#autor {
    padding: 0 20px 40px;
    display: block;
    justify-content: center;
}

/* CONTAINER */
.autor-container {
    max-width: 1000px;
    width: 100%;
    display: flex;
    align-items: center; /* centraliza verticalmente */
    gap: 30px;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
}

/* FOTO (ESQUERDA) */
.autor-foto {
    width: 160px;
    height: 160px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

.autor-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* TEXTO (DIREITA - EM COLUNA) */
.autor-info {
    display: flex;
    flex-direction: column; /* 🔥 garante ordem vertical */
    justify-content: center;
}

/* NOME */
.autor-nome {
    font-size: 28px;
    color: var(--Cor3);
    margin-bottom: 5px;
}

/* SUBTÍTULO */
.autor-subtitulo {
    font-size: 18px;
    font-style: italic;
    color: #5a7d73;
    margin: 4px 0px 18px 0px;
}

/* BIO */
.autor-bio {
    font-size: 20px;
    color: #555;
    line-height: 1.6;
    max-width: 500px;
}


/* ==========================
   📱 MOBILE (CENTRALIZADO)
========================== */

@media (max-width: 480px) {

    .autor-container {
        flex-direction: column; /* 🔥 empilha */
        text-align: center;
        padding: 25px 15px;
    }

    .autor-foto {
        width: 140px;
        height: 140px;
    }

    .autor-info {
        align-items: center;
    }

    .autor-nome {
        font-size: 25px;
    }

    .autor-subtitulo {
        font-size: 16px;
    }

    .autor-bio {
        font-size: 18px;
        max-width: 100%;
    }
}

span a {
    background-color:;
    color: var(--Cor3);
}

/* ==========================
   🌄 GALERIA PREVIEW (FINAL)
========================== */

#galeria-preview {
    padding: 45px 20px;
    /*background-color: red;*/
}

/* CONTAINER */
.galeria-container {
    max-width: 1200px;
    margin: 0 auto;
    /*background-color: yellow;*/
}

/* TÍTULO */
.galeria-titulo {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--Cor3);
    text-align: left;
    /*background-color: purple;*/
}

/* GRID */
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

/* FOTO */
.foto {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    /* 🔥 ESSENCIAL PARA ALINHAMENTO PERFEITO */
    display: block;
}

/* IMAGEM */
.foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* HOVER (somente desktop) */
@media (hover: hover) {
    .foto:hover img {
        transform: scale(1.05);
    }
}

/* BOTÃO */
.galeria-botao-area {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
    outline: none;
    /*background-color: orange;*/
}

.btn-ver-mais {
    text-decoration: none;
    padding: 12px 22px;
    border: 2px solid var(--Cor2);
    border-radius: 50px;
    color: var(--Cor2);
    font-weight: 600;
    transition: 0.3s;
}

.btn-ver-mais:hover {
    background: var(--Cor2);
    color: white;
}

/* ==========================
   📱 RESPONSIVO
========================== */

/* Tablets */
@media (max-width: 900px) {
    .galeria-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

/* ==========================
   📱 MOBILE (CORRIGIDO DE VERDADE)
========================== */

@media (max-width: 480px) {

    /* 🔥 mais espaço para imagens crescerem */
    #galeria-preview {
        padding: 28px 6px;
    }

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

    /* 🔥 GRID PERFEITO */
    .galeria-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        gap: 8px;              /* 🔥 garante igualdade */
        row-gap: 8px;
        column-gap: 8px;

        align-items: start;    /* 🔥 remove bug vertical */
    }

    /* 🔥 CARD DA IMAGEM */
    .foto {
        position: relative;
        width: 100%;
        margin: 0;             /* 🔥 remove qualquer sobra */
        border-radius: 7px;
        overflow: hidden;
    }

    /* 🔥 QUADRADO PERFEITO (SEM BUG) */
    .foto::before {
        content: "";
        display: block;
        padding-top: 100%;
    }

    .foto img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* ajustes visuais */
    .galeria-titulo {
        text-align: center;
        font-size: 18px;
    }

    .galeria-botao-area {
        justify-content: center;
    }
}

 
/* ============================
    A HISTÓRIA DA FOTO
============================= */

/* 
   Caixa principal adaptada para receber a sua foto em destaque.
   Sempre que você quiser trocar a história, basta alterar o link da imagem abaixo!
*/
.secao-historia-foto {
    position: relative;
    width: 100%;
    min-height: 460px; /* Altura cinematográfica perfeita para o celular */
    
    /* SUBSTITUA pelo caminho da foto que você vai contar a história hoje */
    background-image: url('imagens/Imagens_perfil/painel-solar.jpg');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center; 
    padding: 0;
    margin: 40px 0px 150px 0px;
    text-align: left;
}

/* Camada escura para o texto branco contrastar e brilhar */
.ia-overlay-escura {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.50); /* 50% de preto sobre a imagem */
    z-index: 1;
}

/* Container do texto (Mantém a sua margem idêntica nas duas pontas) */
.secao-historia-foto .ia-conteudo-wrapper {
    position: relative;
    z-index: 2; 
    max-width: 600px; 
    margin: 0 auto;
    margin: 70px 0 50px 0;
    padding: 80px 24px; 
    width: 100%;
}

/* Títulos adaptados para Branco por conta do fundo da foto */
.secao-historia-foto h2 {
    color: #ffffff !important; 
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.secao-historia-foto p {
    color: #e2e8f0 !important; /* Branco suave/fosco para leitura agradável */
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

/* Mantém o seu botão verde oliva se destacando sobre o fundo escuro */
.secao-historia-foto .btn-ia-full {
    display: inline-block;
    background-color: #54a489; 
    color: #ffffff;
    text-decoration: none;;
    padding: 12px 22px;
    border: 0.2px solid white;
    border-radius: 30px; 
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.secao-historia-foto .btn-ia-full:hover {
    background-color: #43856f;
}

/* ==========================================================================
   RESPONSIVIDADE PARA MONITORES GRANDES (DESKTOP)
   ========================================================================== */
@media (min-width: 1024px) {
    .secao-historia-foto {
        min-height: 550px; /* Bloco expande verticalmente no computador */
    }
    .secao-historia-foto h2 {
        font-size: 2.8rem;
    }
}


/* ==========================
🌿 ÁREA INSTAGRAM
========================== */

.onda-em-cima {
    position: absolute;
    top: -99px;
    left: 0;

    width: 100%;
    height: 100px;

    overflow: hidden;
    line-height: 0;

    z-index: 20;

    pointer-events: none;
}

.onda-em-cima svg {
    display: block;
    width: 100%;
    height: 100%;
}

#instagram-area{
    width:100%;
    margin-top:-2px;
    background: var(--Cor4);
    margin-top:0px;
    padding:50px 15px 70px;
    display:flex;
    justify-content:center;
    align-items:center;
    position: relative;
    overflow: visible;
    z-index:2;
}

/* ==========================
📦 CONTAINER
========================== */

.instagram-container{
    width:100%;
    max-width:700px;

    display:flex;
    flex-direction:column;
    align-items:center;

    text-align:center;

    position:relative;
    z-index:3;
}

/* ==========================
📸 LOGOS
========================== */

.instagram-logo-box{
    position:relative;

    width:72px;
    height:72px;

    display:flex;
    justify-content:center;
    align-items:center;
}

.logo-instagram{
    width:72px;
    height:72px;

    object-fit:contain;

    display:block;
}

.logo-lh{
    position:absolute;

    top:-4px;
    left:-4px;

    width:28px;
    height:28px;

    border-radius:50%;

    object-fit:cover;

    background:white;

    padding:2px;

    box-shadow:0 3px 10px rgba(0,0,0,0.12);
}

#instagram-area h3{
    color:#212121;
    margin:20px 0px 4px 0px;
}

#instagram-area span{
    margin-bottom:15px;

    color:#696969;

    font-size:14px;
}

/* ==========================
✍️ TEXTO
========================== */

.instagram-texto{
    max-width:620px;

    font-size:17px;
    line-height:1.8;

    color:#111;

    margin-bottom:30px;
}

/* ==========================
🔘 BOTÃO
========================== */

.btn-instagram{
    color:#696969;

    text-decoration:none;

    font-size:18px;
    font-weight:700;

    padding:10px 20px;

    border:1px solid #696969;

    border-radius:10px;
}

.btn-instagram:active{
    transform:scale(0.98);
}

/* ==========================
📱 MOBILE
========================== */

@media(max-width:480px){

    #instagram-area{
        margin-top:0px;
        padding:15px 22px 70px;
    }

    .instagram-logo-box{
        width:52px;
        height:52px;
        display:flex;
        justify-content:center;
        align-items:center;
    }

    .logo-instagram{
        width:48px;
        height:48px;
    }

    .logo-lh{
        width:25px;
        height:25px;

        top:-4px;
        left:-4px;
    }

    #instagram-area span{
        margin:4px 0 15px;

        color:#696969;

        font-size:13.5px;
    }

    .instagram-texto{
        font-size:14.5px;

        line-height:1.8;

        margin-bottom:28px;
    }

    .btn-instagram{
        font-size:16px;

        padding:8px 15px;
    }
}


/* SEÇÃO FOTOS */

#caixa-das-fotos {
    background-color: var(--Cor3);
    background-image: url(imagens/horizonte_destktop.jpg);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

#fotos {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right bottom;
    padding: 60px 20px;
    height: 100%;
}

section#fotos h1 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 60px;
    color: #fff;
    padding: 0 10px;
}

#div-das-fotos {
    column-count: 4;
    column-gap: 10px;
    direction: ltr;
}

#caixa-das-fotos figure {
    display: inline-block;
    width: 100%;
    margin: 0 0 15px;
    background: #fff;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 10px #0000001a;
    padding: 10px;
    position: relative;
    break-inside: avoid;
    transition: transform 0.3s, box-shadow 0.3s;
    direction: ltr;
}

#caixa-das-fotos figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    object-fit: cover;
    transition: transform 0.3s;
    opacity: 0;
    animation: fadeIn 0.6s forwards;
}

#caixa-das-fotos figure:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 14px #00000033;
}

figure img:hover {
    transform: scale(1.03);
}

figcaption {
    color: #555;
    font-size: 16px;
    text-align: justify;
    line-height: 23px;
    margin-top: 10px;
    padding: 0 5px;
}

section#frase {
    text-align: center;
    font-size: 22px;
    margin-top: 50px;
    color: white;
}

/* RESPONSIVIDADE SEÇÃO FOTOS */

@media(max-width:1200px) {

    #div-das-fotos {
        column-count: 3;
    }
}

@media(max-width:800px) {
    #div-das-fotos {
        column-count: 2;
    }

    section#fotos > h1 {
        font-size: 30px;
    }
}

@media(max-width:480px) {

    #caixa-das-fotos {
    background-color: var(--Cor3);
    background-image: url(imagens/horizonte_destktop.jpg);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

    #div-das-fotos {
        column-count: 1;
    }
    section#fotos h1 {
        font-size: 20px;
    }

    figure {
        margin: 0 0 20px;
        padding: 8px;
    }

    figcaption {
        font-size: 15px;
        text-align: center;
        padding: 0 4px;
    }

    section#frase {
        font-size: 17.5px;
    }

    section#fotos {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll;
        padding: 40px 15px;
    }
}
            
/* --- SEÇÕES ATIVAS --- */

section.secao {
    display: none;
    animation: fadeIn 0.6s forwards;
}

section.secao.ativa {
    display: block;
}

/* --- RODAPÉ --- */

footer {
    background: var(--Cor6);
    color: var(--White);
    width: 100%;
    height: max-content;
    margin-top: auto;
    padding: 15px 0;
}

#direitos {
    color: #a8a8a8bd;
    text-align: center;
    font-size: 14.5px;
    padding: 0 20px;
}

@media(max-width:480px) {
    footer {
        font-size: 10px;
    }
}

/* LIGHTBOX */

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

#lightbox.ativo {
  opacity: 1;
  pointer-events: all;
}

#lightbox-img {
  max-width: 100%;
  max-height: 90%;
  box-shadow: 0 0 20px #000;
}

#fechar {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* 🔥 CONTROLE REAL DAS SEÇÕES */
.secao {
    display: none;
    width: 100%;
}

.secao.ativa {
    display: block;
}
