/* Zerando as configurações */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
}

/* ===== FONTE CUSTOM (CORRIGIDA) ===== */
@font-face {
    font-family: "Amsterdam Two";
    src: url("../Assets/Fonts/amsterdam-two-ttf.ttf") format("truetype");

}

/* Variaveis de cores */
:root{
    --bg-color: #FFFFFF;
    --main-color: #4c5f3b;
    --snd-main-color: #28381a;
    --elements: #1F1B10;
    --text-color: #000000;
}

/* ===== CONFIGURAÇÕES GLOBAIS (AJUSTADAS) ===== */
html {
    font-size: 62.5%; /* base estável: 1rem = 10px */
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif; /* fallback seguro */
    background: var(--bg-color);
    color: var(--text-color);
    scroll-behavior: smooth;
}


section{
    min-height: 100vh;
    padding: 7rem 9% 2rem;
    justify-content: center;
}

p{
    font-size: 1.5rem;
}

.btn{
    width: 15rem;
    height: 4rem;
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: none;
    font-size: 1.2rem;
    color: var(--text-color);
    letter-spacing: 0.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

    .btn:hover,
    .btn:focus{
        background: var(--snd-main-color);
        color: var(--bg-color);
        box-shadow: 0 0 20px var(--main-color);
        transform: scale(1.05);
    }

/* ----------------------------------- Header as configurações -----------------------------------*/

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 7rem;
    padding: 2rem 9%;
    background: var(--main-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

header .navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .navbar .logo_text{
    font-family: 'Amsterdam Two', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 0.2rem;
}

/* MENU DESKTOP */
header .navbar ul{
    display: flex;
    align-items: center;
    gap: 2rem;
}

header .navbar ul li{
    list-style: none;
}

header .navbar ul li a{
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: 0.3s ease;
}

header .navbar ul li a:hover,
header .navbar ul li a:focus{
    background: var(--bg-color);
    color: var(--snd-main-color);
    box-shadow: 0 0 10px var(--snd-main-color);
}

/* -------------------- HAMBURGUER -------------------- */

.hamburger{
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span{
    width: 28px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* -------------------- MOBILE -------------------- */

@media (max-width: 768px){

    header{
        padding: 2rem 5%;
    }

    .hamburger{
        display: flex;
        z-index: 3000;
    }

    header .navbar ul{
        position: fixed;
        top: 7rem;
        right: -100%;
        width: 70%;
        height: calc(100vh - 7rem);
        background: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    }

    header .navbar ul.active{
        right: 0;
    }

    header .navbar ul li a{
        font-size: 2rem;
        color: var(--elements);
    }
}

/* -------------------- ANIMAÇÃO DO X -------------------- */

.hamburger.active span:nth-child(1){
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2){
    opacity: 0;
}

.hamburger.active span:nth-child(3){
    transform: rotate(-45deg) translate(6px, -6px);
}

/* -----------------------------------Main section configurações -----------------------------------*/

main{
    width: 90%;
    min-height: 100vh;
    margin: 0 auto;
    justify-items: center;
}

main .content{
    width: 100%;
    min-height: 100vh;
    padding-top: 9rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    margin: 0 auto;
    padding-top: 7rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}


/* ----------------------------------- HOME ----------------------------------- */

main #Home{
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

main #Home .logo_img{
    width: 20rem;
    height: auto;
    border-radius: 50%;
    align-self: flex-end;
    position: absolute;
    top: 10rem;
    right: 5rem;
    z-index: 10;
}

main #Home .nome{
    font-family: 'Amsterdam Two', sans-serif;
    font-size: 6rem;
}

main #Home .profissao{
    font-size: 3rem;
    color: var(--main-color);
}

main #Home .descricao{
    font-size: 1.5rem;
    max-width: 80rem;
    line-height: 2.5rem;
}

main #Home .btn{
    margin-top: 2rem;
    width: fit-content;
}

@media (min-width: 1200px) {
    main #Home .logo_img{
            width: 18rem;
        }

        main #Home .nome{
            font-size: 5rem;
        }
}


/* -------------------- HOME TABLET -------------------- */

@media (max-width: 1024px){

    main #Home{
        align-items: center;
        text-align: center;
    }

    main #Home .logo_img{
        position: static;
        width: 16rem;
        margin-bottom: 2rem;
    }

    main #Home .nome{
        font-size: 4.5rem;
    }

    main #Home .profissao{
        font-size: 2.5rem;
    }

    main #Home .descricao{
        max-width: 90%;
    }
}

/* -------------------- HOME MOBILE -------------------- */

@media (max-width: 768px){

    main #Home{
        padding-top: 4rem;
    }

    /* some com a imagem suspensa */
    main #Home .logo_img{
        display: none;
    }

    main #Home .nome{
        font-size: 3.6rem;
    }

    main #Home .profissao{
        font-size: 2.2rem;
    }

    main #Home .descricao{
        font-size: 1.4rem;
        line-height: 2.2rem;

        /* limita o texto visualmente */
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    main #Home .btn{
        margin-top: 1.5rem;
    }
}


/* ----------------------------------- ABOUT -----------------------------------*/

/* ================== ABOUT ================== */

.about{
    min-height: 100vh;
    padding: 8rem 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
}

/* -------- TEXTO -------- */

.about-text{
    max-width: 100%;
}

.titulo{
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.subtitulo{
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.subtitulo span{
    color: var(--main-color);
}

.about-text p{
    font-size: 1.6rem;
    line-height: 2.6rem;
    margin-bottom: 1.8rem;
    color: #1f2933;
}

/* -------- IMAGEM -------- */

.about-avatar{
    flex-shrink: 0;
}

.about-avatar img{
    width: 360px;
    height: 360px;
    object-fit: cover;
    border-radius: 50%;
    background: var(--main-color);
    box-shadow:
        0 0 0 6px rgba(74, 69, 44, 0.15),
        0 0 35px rgba(122, 122, 74, 0.6);
}

@media (max-width: 1200px) {

    #About {
        min-height: 100vh;
        display: flex;
        align-items: center;
    }

    #About .about_container {
        min-width: 100%;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 5rem;
        padding: 6rem 2rem;
        align-items: center;
    }

    #About .about_text h2 {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    #About .about_text p {
        font-size: 1.7rem;
        line-height: 1.8;
    }

    #About .about_image img {
        max-width: 38rem;
        margin-left: auto;
    }
}


/* ================== MOBILE ================== */

@media (max-width: 900px){

    .about{
        flex-direction: column-reverse;
        text-align: center;
        padding: 6rem 6%;
        gap: 4rem;
    }

    .about-avatar img{
        width: 240px;
        height: 240px;
    }

    .titulo{
        font-size: 3.2rem;
    }

    .subtitulo{
        font-size: 2rem;
    }

    .about-text p{
        font-size: 1.4rem;
        line-height: 2.4rem;
    }
}



/* ----------------------------------- SERVICES -----------------------------------*/

/* ================== SERVICES CARDS ================== */

main .container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    width: 100%;
}

/* CARD */
main .modal_services{
    background: #ffffff;
    border: none;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    min-height: 34rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    cursor: pointer;
    position: relative;
    overflow: hidden;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: all 0.35s ease;
}

/* LINHA DE DESTAQUE */
main .modal_services::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(
        90deg,
        var(--main-color),
        var(--elements)
    );
}

/* HOVER */
main .modal_services:hover{
    transform: translateY(-10px);
    box-shadow:
        0 20px 40px rgba(0,0,0,0.12),
        0 0 20px rgba(122, 122, 74,0.35);
}

/* IMAGEM */
main .modal_services .img_modal{
    width: 9rem;
    margin: 2rem 0 1.5rem;
    border-radius: 1.2rem;
}

/* TÍTULO */
main .modal_services .titulo_servico{
    font-size: 1.9rem;
    font-weight: 600;
    color: #111827;
    margin: 1.5rem 0 2rem;
    line-height: 2.4rem;
}

/* ÍCONE CLICK */
main  .modal_services .img_click{
    width: 2.2rem;
    opacity: 0.6;
    margin-top: auto;
    transition: 0.3s ease;
}

main  .modal_services:hover .img_click{
    opacity: 1;
    transform: scale(1.15);
}

/* ================== MOBILE ================== */

@media (max-width: 768px){

    main  .container{
        grid-template-columns: 1fr;
    }

    main .modal_services{
        min-height: auto;
        padding: 3rem 2rem;
    }

    main  .modal_services .titulo_servico{
        font-size: 1.7rem;
    }
}


/* ===================== MODAL OVERLAY ===================== */
.modal-container{
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 3000;
}

.modal-container.show{
    opacity: 1;
    pointer-events: auto;
}

/* ===================== MODAL CARD ===================== */
.modal{
    background-color: #ffffff;
    border-radius: 25px;
    padding: 4rem 5rem;
    width: 90%;
    max-width: 100rem;

    /* 🔥 SCROLL INTERNO */
    max-height: 90vh;
    overflow-y: auto;

    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    text-align: left;
    animation: modalFade 0.3s ease;
}

@keyframes modalFade{
    from{
        transform: translateY(20px);
        opacity: 0;
    }
    to{
        transform: translateY(0);
        opacity: 1;
    }
}

/* ===================== HEADER ===================== */
.modal-header{
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* ÍCONE */
.modal-icon{
    width: 6rem;
    height: 6rem;
    min-width: 6rem;
    background-color: #000;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-icon img{
    width: 3.5rem;
    height: auto;
}

/* TÍTULO */
.modal h1{
    font-size: 3rem;
    font-weight: 600;
    color: var(--elements);
    margin-top: 0.5rem;
}

/* ===================== TEXTO ===================== */
.modal p{
    font-size: 1.6rem;
    line-height: 2.6rem;
    margin-bottom: 2rem;
    color: #333;
}

.modal strong{
    font-size: 1.6rem;
    display: block;
    margin-bottom: 1rem;
}

/* ===================== LISTA ===================== */
.modal ul{
    padding-left: 2rem;
    margin-bottom: 3rem;
}

.modal ul li{
    font-size: 1.5rem;
    line-height: 2.5rem;
    margin-bottom: 1.2rem;
    color: #000;
}

.modal ul li span,
.modal ul li strong{
    text-decoration: underline;
    text-decoration-color: var(--main-color);
}

/* ===================== BOTÃO ===================== */
.modal .btn{
    margin-top: 2rem;
}

/* ===================== RESPONSIVO ===================== */
@media(max-width: 768px){

    .modal{
        padding: 2.5rem;
        max-height: 85vh;
        border-radius: 20px;
    }

    .modal-header{
        flex-direction: column;
        align-items: flex-start;
    }

    .modal h1{
        font-size: 2.3rem;
    }
}


/* -------- FEEDBACKS -------- */

#Avaliation {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    overflow: hidden;
}

#Avaliation .titulo {
    font-size: 4rem;
    text-decoration: underline;
    text-decoration-color: var(--main-color);
}

/* Área do carrossel */
.carousel {
    width: 100%;
    height: 45rem ;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Trilho animado */
.carousel-track {
    display: flex;
    gap: 2rem;
    animation: scroll 40s linear infinite;
}

/* Pausa no hover (desktop) */
.carousel:hover .carousel-track {
    animation-play-state: paused;
}

/* Card */
.container_avaliacoes {
    min-width: 26rem;
    max-width: 26rem;
    height: 42rem;
    border: 2px solid var(--elements);
    border-radius: 1.5rem;
    padding: 2rem;
    background: #fff;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;

    transition: 0.3s ease;
}

.container_avaliacoes:hover {
    box-shadow: 0 0 15px var(--main-color);
    transform: translateY(-5px);
}

/* Imagem */
.perfil_avaliacao {
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--elements);
}

/* Textos */
.nome_avaliador {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
}

.depoimento {
    font-size: 1.4rem;
    text-align: center;
    opacity: 0.85;
}

/* Estrelas */
.container_star {
    display: flex;
    gap: 0.5rem;
}

.estrela {
    width: 2rem;
}

/* Ver mais */
.ver-mais {
    margin-top: auto;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--main-color);
    text-decoration: none;
}

.ver-mais:hover {
    text-decoration: underline;
}

/* Animação infinita */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* -------- MOBILE -------- */

@media (max-width: 768px) {
    #Avaliation .container_avaliacoes {
        padding: 1.5rem;
        gap: 1.2rem;
    }

    #Avaliation .perfil_avaliacao {
        width: 7rem;
        height: 7rem;
    }

    #Avaliation .nome_avaliador {
        font-size: 1.6rem;
    }

    #Avaliation .depoimento {
        font-size: 1.4rem;
        line-height: 2.1rem;
        text-align: center;
    }

    #Avaliation .estrela {
        width: 1.6rem;
    }
}


/* -------------------------------------------------- SECTION CONTATO -------------------------------------------------- */

.contact{
    width: 100%;
    height: auto;

}

.contact .heading{
    text-align: center;
    padding-top: 10rem;
}

.contact h2{
    margin-bottom: 3rem;
    color: var(--text-color);
}

.contact form{
    max-width: 80rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-box{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea{
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--bg-color );
    border-radius: 0.8rem;
    border: 0.2rem solid var(--main-color);
    margin: 0.7rem 0;
    resize: none;
}

.contact form .input-box input{
    width: 49%;
    margin: 0.7rem 0.35rem;
}

.contact form .btn{
    margin-top: 2rem;
}

.contact form .btn:disabled {
    cursor: not-allowed;
}

.contact form input:hover,
.contact form input:focus,
.contact form textarea:hover,
.contact form textarea:focus{
    color: var(--text-color);
    border: 0.2rem solid var(--snd-main-color);
    box-shadow: 0 0 20px var(--main-color);
    
}

@media(max-width: 1370px){

        .contact form .input-box input{
        width: 100%;
    }

}

/* ================= FOOTER ================= */

.footer {
    background: var(--main-color);
    color: var(--text-color);
    padding: 4rem 9% 2rem;
}

.footer .nome{
    font-family: 'Amsterdam Two', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 0.2rem;
    margin-bottom: 2.5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Brand */
.footer-brand img {
    width: 6rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 1.4rem;
    line-height: 2.2rem;
    max-width: 32rem;
}

/* Links */
.footer-links h4 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: var(--snd-main-color);
}

/* Bottom */
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.footer-bottom p {
    font-size: 1.3rem;
    opacity: 0.85;
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {
    .footer {
        padding: 4rem 5% 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }
}
