@charset "UTF-8";

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

html.loaded body {
    opacity: 1;
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;

}

h1 {
    margin: 0;
    color: #fff;
    font-family: "Sora", sans-serif;
    text-align: center;
    font-weight: 800;
    width: 100%;
}

@media(max-width: 450px) {
    h1 {
        font-size: 28px;
        padding: 5px;
    }
}

@media(min-width: 451px) and (max-width:800px) {
    h1 {
        font-size: 25px;
        padding: 10px;
    }
}

@media(max-height:700px) {
    h1 {
        font-size: 21px;
    }
}

@media(min-width: 801px) and (max-width:1200px) {
    h1 {
        font-size: 35px;
        padding: 15px;
    }
}

@media(min-width: 1201px) and (max-width:1600px) and (min-height:601px) {
    h1 {
        font-size: 50px;
        padding: 30px;
    }
}

@media(min-width: 1201px) and (max-width:1600px) and (max-height:600px) {
    h1 {
        font-size: 30px;
        padding: 10px;
    }
}

@media(min-width: 1601px) and (max-width:2100px) {
    h1 {
        font-size: 55px;
        padding: 30px;
    }
}

@media(min-width: 2101px) {
    h1 {
        font-size: 65px;
        padding: 50px;
    }
}

p {
    font-weight: 300;
    font-family: "Sora", sans-serif;
    color: #fff;
    padding: 20px;
    width: 100%;
    text-align: justify;
}

@media(max-width: 800px) and (min-height:601px) {
    p {
        font-size: 19px;
        line-height: 130%;
    }
}

@media(max-width: 800px) and (max-height:600px) {
    p {
        font-size: 15px;
        line-height: 110%;
    }
}

@media(min-width: 1201px) and (max-width:1600px) and (min-height:600px) {
    p {
        font-size: 24px;
        line-height: 130%;
    }
}

@media(min-width: 1601px) and (max-width:2100px) {
    p {
        font-size: 26px;
        line-height: 140%;
    }
}

@media(min-width: 2101px) {
    p {
        font-size: 28px;
    }
}

a {
    text-decoration: none !important;
}

/* Seleciona a barra de rolagem */
::-webkit-scrollbar {
    width: 8px;
    /* Largura para rolagem vertical */
    height: 8px;
    /* Altura para rolagem horizontal */
}

/* Fundo da barra de rolagem */
::-webkit-scrollbar-track {
    background: #f0f0f0;
    /* Cor do fundo da barra */
    border-radius: 10px;
    /* Bordas arredondadas */
}

/* Barra de rolagem (parte que se move) */
::-webkit-scrollbar-thumb {
    background: #888;
    /* Cor da barra */
    border-radius: 10px;
    /* Bordas arredondadas */
}

/* Barra de rolagem ao passar o mouse */
::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* Cor ao passar o mouse */
}

.half {
    position: relative;
    float: left;
    width: 50%;
    height: auto;

}

@media(max-width:800px) {
    .half {
        width: 100%;
    }
}

.one_quarter {
    position: relative;
    float: left;
    width: 25%;
    height: auto;
}

@media(max-width:800px) {
    .one_quarter {
        width: 50%;
    }
}

.vertical_align {
    display: flex;
    flex-direction: column;
    /* Garante que o texto fica empilhado verticalmente */
    justify-content: center;
    /* Alinha o conteúdo verticalmente */
    height: 100%;
    /* Certifique-se de que o elemento tem altura suficiente */
    text-align: center;
    /* Alinha o texto horizontalmente (opcional) */
}

.bottom_align {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Alinha o conteúdo na parte de baixo */
    height: 100%;
    text-align: center;
    /* Opcional: centraliza horizontalmente o texto */
    padding: 30px;
}

.voltar_topo {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 20px;
    bottom: 20px;
    background: white;
    color: black;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voltar_topo:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    border-color: #667eea;
}


@media(max-width:800px) {
    .voltar_topo {
        bottom: 55px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 28px;
    }
}

.video-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    /* O iframe ocupará 100% da largura do contêiner */
    height: 100%;
    /* O iframe ocupará 100% da altura do contêiner */
}

.padding {
    padding: 50px;
}

@media(max-width:800px) {
    .padding {
        padding: 20px;
    }
}

.main {
    position: relative;
    display: inline-block;
    width: 100%;
    height: auto;
    text-align: center;
}


.imagem {
    width: 100%;
    padding: 25px;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.header {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
    z-index: 4;
}

.header .logo {
    background-image: url("../ref/logo_ronaninvestimentos.png");
    width: 111px;
    height: 77px;
    margin: 20px;
    background-size: 100% 100%;
}

.header .designer {
    position: absolute;
    width: 129px;
    height: 15px;
    left: 195px;
    top: 16px;
    font-family: "Sora";
    font-size: 12px;
    color: #fff;
}

.banner {
    width: 90%;
    margin: 5%;
    border: 1px solid #fff;
    border-radius: 30px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.logo_empreendimento {
    text-align: center;
    width: 244px;
    height: 87px;
    background-image: url("../ref/bolgheri.png");
    background-size: cover;
    margin: auto;
}

.mapa {
    width: 100%;
    height: 500px;
    background-size: 100% auto;
    background-position: center right;
    background-image: url("../ref/bolgheri_mapa.jpg");
}

@media(max-width:800px) {
    .mapa {
        background-size: auto 100%;
    }
}

.ronan {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 600px;
    height: 650px;
    background-image: url("../ref/ronan_png_cardi.png");
    background-size: cover;
    opacity: 1;
    z-index: 1;
}

.link {
    position: absolute;
    bottom: 200px;
    width: 300px;
    left: 50%;
    margin-left: -150px;
    color: #fff !important;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.botao {
    padding: 13px 20px;
    margin: 20px;
    height: 50px;
    border-radius: 25px;
    background-color: #169c41;
    color: #fff;
    font-family: "Sora";
    font-size: 21px;
    font-weight: bold;
    cursor: pointer;
}

@media(max-width:800px) {
    .botao {
        font-size: 16px;
    }
}

.botao:hover {
    background-color: #48c16e;
}

.thumb_flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
}

.thumb {
    width: 40%;
    height: auto;
    aspect-ratio: 4/3;
    margin: 5%;
    border-radius: 15px;
    background-size: cover;
}

@media(max-width:800px) {
    .thumb {
        width: 90%;
    }
}

.thumb h1 {
    font-size: 30px;
}

.thumb1 {
    background-image: url("../ref/img_1.jpg");
}

.thumb2 {
    background-image: url("../ref/img_2.jpg");
}

.thumb3 {
    background-image: url("../ref/img_3.jpg");
}

.thumb4 {
    background-image: url("../ref/img_4.jpg");
}

.thumb5 {
    background-image: url("../ref/img_5.jpg");
}

.thumb_obra {
    width: 40%;
    height: auto;
    aspect-ratio: 1/1.15;
    margin: 10px;
    border-radius: 15px;
    background-size: cover;
    /* ESSENCIAIS para 3D consistente */
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transform-origin: center;
    /* Ponto de rotação uniforme */
    will-change: transform;
    perspective: 1000px;
    z-index: 1;
}

@media(max-width:800px) {
    .thumb_obra {
        width: 90%;
    }
}

@media(min-width:1500px) {
    .thumb_obra {
        width: 20%;
    }
}

.obra1 {
    background-image: url("../ref/noticia_thumb_1.jpg");
}

.obra2 {
    background-image: url("../ref/noticia_thumb_2.jpg");
}

.obra3 {
    background-image: url("../ref/noticia_thumb_3.jpg");
}

.obra4 {
    background-image: url("../ref/noticia_thumb_4.jpg");
}

.obra5 {
    background-image: url("../ref/noticia_thumb_5.jpg");
}

.obra6 {
    background-image: url("../ref/noticia_thumb_6.jpg");
}

.proximidades {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: auto;
}

.bloco {
    display: flex;
    width: 230px;
    height: 100px;
    margin-top: 30px;
    margin-left: 30px;
}

.bloco h1 {
    width: 150px;
    height: 100px;
    font-size: 19px;
    text-align: left;
}

.pin {
    width: 45px;
    height: 100px;
    font-size: 60px;
}

.iphone {
    position: relative;
    width: 220px;
    aspect-ratio: 1 / 1.95;
    background-image: url("../ref/iphone.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 2;
}

.iphone-video {
    position: absolute;
    top: 2%;
    left: 6%;
    width: 89%;
    height: 96%;
    object-fit: cover;
    border-radius: 24px;
    z-index: 1;
}

.youtube-iframe {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16/9;
    margin-bottom: 30px;
}

/* Botão de play customizado */
.play-btn {
    margin-top: -30px;
    margin-left: -30px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: rgb(60 124 191 / 50%);
    border-radius: 50%;
    border: none;
    z-index: 3;
    cursor: pointer;
    transition: 0.3s;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: 29%;
    left: 39%;
    width: 0;
    height: 0;
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.play-btn.hide {
    display: none;
}

.banner_home_ronan {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 1106px;
    height: 990px;
    background-image: url("../ref/banner_home_ronan.png");
    background-size: 100% 100%;
    z-index: 1 !important;
}

@media(max-width:800px) {
    .banner_home_ronan {
        right: -100px;
    }
}

.pag1 {
    position: relative;
    width: 100%;
    padding: 50px;
    height: calc(100vh + 200px);
    background: url("../ref/banner_home_foto.jpg");
    background-size: cover;
    margin-bottom: 100vh;
    z-index: 3;
    overflow: hidden;
}

/* ::after cria a camada escura por cima do background */
.pag1::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    /* ⬅️ ajuste a opacidade aqui */
    z-index: 1;
    pointer-events: none;
}

/* Garante que o conteúdo fique acima do overlay */
.pag1>* {
    z-index: 2;
}

.pag1 h1 {
    margin-top: -100px;
}

.pag2 {
    transition: opacity 0.4s ease;
    position: fixed;
    background-color: rgb(0, 0, 0);
    background-size: 100% 100%;
    -webkit-background-size: 100% 100%;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 2;
}

.active {
    opacity: 1;
    visibility: visible !important;
    pointer-events: auto;
}

.pag2_texto {
    padding: 50px;
}

@media(max-width:800px) {
    .pag2_texto {
        padding: 20px;
    }
}


.pag3 {
    visibility: hidden;
    transition: opacity 0.4s ease;
    padding: 50px;
    position: relative;
    float: left;
    width: 100%;
    height: auto;
    background-size: cover;
    z-index: 5;
    margin-bottom: 120vh !important;
    background-image: url("../ref/obras_3.jpg");
}

@media(max-width:800px) {
    .pag3 {
        padding: 20px;
    }
}

/* ::after cria a camada escura por cima do background */
.pag3::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 62, 38, 0.8);
    /* ⬅️ ajuste a opacidade aqui */
    z-index: 1;
    pointer-events: none;
}

/* Garante que o conteúdo fique acima do overlay */
.pag3>* {
    position: relative;
    z-index: 2;
}

.pag4 {
    position: fixed;
    visibility: hidden;
    transition: opacity 0.4s ease;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 4;
    background-image: url("../ref/bg_navegantes.jpg");
    background-size: cover;
    -webkit-background-size: cover;
    background-position: center;
    box-sizing: border-box;
}


/* ::after cria a camada escura por cima do background */
.pag4::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
    pointer-events: none;

}

/* Garante que o conteúdo fique acima do overlay */
.pag4>* {
    position: relative;
    z-index: 2;
}

@media(max-width:800px) {
    .chart_text {
        margin-top: -70px;
    }
}

.pag5 {
    visibility: hidden;
    transition: opacity 0.4s ease;
    position: relative;
    float: left;
    width: 100%;
    background-image: url("../ref/torre.jpg");
    background-color: #000;
    background-size: cover;
    -webkit-background-size: cover;
    background-position: center;
    z-index: 5;
}

/* ::after cria a camada escura por cima do background */
.pag5::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1;
    pointer-events: none;
}

/* Garante que o conteúdo fique acima do overlay */
.pag5>* {
    position: relative;
    z-index: 2;
}

.pag6 {
    visibility: hidden;
    transition: opacity 0.4s ease;
    position: relative;
    float: left;
    width: 100%;
    background-image: url("../ref/_bg.jpg");
    background-size: cover;
    -webkit-background-size: cover;
    background-position: center;
    height: 120vh;
    min-height: 700px;
    padding: 50px;
    z-index: 6;
}

/* ::after cria a camada escura por cima do background */
.pag6::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
    pointer-events: none;
}

.pag7 {
    visibility: visible;
    transition: opacity 0.4s ease;
    position: fixed;
    padding: 8px 20px;
    width: 100%;
    height: auto;
    min-height: 50px;
    bottom: 0;
    left: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.95);
    background-size: cover;
    -webkit-background-size: cover;
    background-position: center;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
}

@media(max-width:800px) {
    .pag7 {
        padding: 4px 10px;
        flex-direction: row;
        min-height: 40px;
        gap: 8px;
    }

    .pag7 .botao {
        font-size: 11px !important;
        padding: 6px 14px !important;
        margin: 2px !important;
        height: auto;
    }
}



/* Ícone de mouse animado */
.mouse-scroll {
    position: absolute;
    bottom: 300px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.mouse {
    width: 35px;
    height: 55px;
    border: 2px solid rgb(255, 255, 255);
    border-radius: 20px;
    position: relative;
    box-sizing: border-box;
    background: transparent;
}

.mouse-ball {
    width: 8px;
    height: 8px;
    background: rgb(255, 255, 255);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 15px;
    transform: translateX(-50%);
    animation: mouse-ball-move 1.5s infinite ease-in-out;
}

@keyframes mouse-ball-move {
    0% {
        top: 15px;
        opacity: 1;
    }

    50% {
        top: 30px;
        opacity: 0.7;
    }

    100% {
        top: 15px;
        opacity: 1;
    }
}

/* Responsividade para mobile */
@media(max-width:800px) {

    .mouse {
        width: 30px;
        height: 45px;
    }

    .mouse-ball {
        width: 6px;
        height: 6px;
    }
}