@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --menu-height: 100px; /* altura da barra fixa */
}

*{
    margin: 0;
    padding:0;
    list-style: none; 
    text-decoration: none; /*retira as bolinhas do menu e o sublinhado*/
    font-family: "Raleway";
}

html, body {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

iframe {
    width: 100%;
    height: 200px; /* ou ajuste proporcional */
}

html {
    scroll-padding-top: var(--menu-height);
}

a {
    display: inline-block; /* Faz o link ter só o tamanho do conteúdo */
    align-self: flex-start;
    cursor: pointer;
}

h1{
    color: rgb(11, 48, 26);
    font-size: 50px;
    font-weight: 700;      
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDown 1s ease forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu{
    background-color: #7a836e;
    width: 100%;
    height: var(--menu-height);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000; /* opcional: garante que fique acima de outros elementos */
    display: flex;           /* ativa o flexbox */
    align-items: center;     /* alinha verticalmente logo e links */
    font-weight: 500;
}

.menu img{
    position: absolute;
    left: 200px; /* fixa o logo à esquerda */
    top: 50%;                /* meio do contêiner */
    transform: translateY(-50%); /* centraliza verticalmente */
    width: 150px;
    cursor: pointer; /*sinaliza que tem uma ação (aparece a "mãozinha)*/
}

.menu ul {
    display: flex; /*menu horizontal*/
    gap: 40px;          /* espaço entre os links */
    position: absolute;   /* tira do fluxo do flex */
    left: 50%;            /* joga o canto esquerdo no meio */
    transform: translateX(-50%); /* corrige pra ficar centralizado de verdade */
    font-size: 18px;
}   

.menu ul li a {
    color: rgba(255, 255, 255, 0.616);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease; /* duração de 0.3 segundos */
    display: inline-block;
}

.menu ul li a:hover,
.menu-links li a.active {
    color: #ffffff;
    transform: scale(1.07);
    font-weight: 700;
}

.section {
    padding: 50px 200px 0;
}

.sobre{
    padding-top: calc(var(--menu-height) + 50px);
    gap: 50px;
    display: flex;
    flex-direction: column;
}

.sobre .lin{
    display: flex;
    justify-content: space-between;
}

.sobre span{
    color: rgb(40, 158, 87);
}

.sobre .col {
    display: flex;
    flex-direction: column; /* força o empilhamento dos h1 */
}

.sobre .frase{
    color: rgb(11, 48, 26);
    font-size: 30px;
    font-weight: 600;      
}

.sobre .texto {
    background-image: linear-gradient(rgba(45, 80, 60, 0.85), rgba(45, 80, 60, 0.85)), url("../img/bg.png");
    background-size: cover;
    background-position: center;
    padding: 50px 12%;
    border-radius: 20px;
    position: relative;
}

.sobre .sobre-mim{
    width: 70%;
    color: white;
}

.sobre .sobre-mim h1{
    color: white;
}

.sobre .sobre-mim p{
    padding-top: 20px;
    font-size: 20px;
    font-weight: 500;
    color: white;
}

.sobre-mim .crm{
    color: rgb(255, 255, 255);
    font-size: 20px;
    font-weight: 700;
}

.sobre .texto img {
    position: absolute;
    bottom: 0;           /* fixa na base */
    left: 40px;          /* um pouco afastada da borda esquerda */
    width: 525px;
    transform: scaleX(-1);
    opacity: 0;
    animation: slideDownImg 1s ease forwards;
}

@keyframes slideDownImg {
    from {
        opacity: 0;
        transform: translateY(-50px) scaleX(-1);
    }
    to {
        opacity: 1;
        transform: translateY(0) scaleX(-1);
    }
}

.sobre hr{
    color:rgba(0, 0, 0, 0.242);
    margin-top: 10px;
}

.sobre .box{
    border: 2px solid rgb(0, 0, 0);
    border-radius: 10px;
    padding: 50px;
    width: 40%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url("../img/bg.png");
}

.sobre .box h1{
    animation: none;
    opacity: 1;
    transform: none;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
}

.sobre .box p{
    margin-top: 10px;
    font-weight: 500;
    font-size: 20px;
}

.sobre .box p span{
    font-weight: 600;
}

.atuacao{
    padding-bottom: 100px;
}

.atuacao h1{
    text-align: center;
}

.atuacao p{
    text-align: center;
    font-size: 20px;
    padding-top: 30px
}

.atuacao .box{
    border: 2px solid;
    border-color: black;
    border-radius: 10px;
    padding: 30px;
    width: 30%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    margin-top: 75px;
}

.atuacao .box img{
    width: 150px;
    position: absolute;
    top: -75px; 
}

.atuacao .box h1{
    animation: none;
    opacity: 1;
    transform: none;
    text-align: center;
    font-size: 30px;
    margin-top: 50px;
}

.atuacao .box p{
    font-size: 20px;
    padding: 0;
    font-weight: 400;
}

.atuacao .linha{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0 0;
}

.duvidas{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url("../img/bg.png");
    padding-bottom: 60px;
}

.duvidas h1{
    text-align: center;
}

.duvidas .box-duv{
    border: 2px solid black;
    border-radius: 10px;
    padding: 30px;
    width: 60%;
    background-color: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.222);
}

.duvida {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
    position: relative; /* necessário para o dropdown */
}

.dropdown-content {
    max-height: 0;             /* começa escondido */
    overflow: hidden;           /* esconde o conteúdo extra */
    padding: 0 16px;           /* só adiciona padding horizontal */
    font-size: 18px;
    transition: max-height 0.5s ease;
}

.dropdown-content .dropdown-inner{
    padding: 10px 0 0;
}

.duvida svg {
    transition: transform 0.3s ease; /* animação suave */
}

.duvida.active svg {
    transform: rotate(180deg);
}

.duvidas hr{
    color: #0000006e;
    margin: 30px 0;
}

.contato{    
    background-image: linear-gradient(rgba(45, 80, 60, 0.85), rgba(45, 80, 60, 0.85)), url("../img/bg.png");
    background-size: cover;
    background-position: center;
    padding-bottom: 100px;
}

.contato h1{
    color: white;
}

.contato button{
    background-color: white;
    color:  rgb(33, 58, 43);
    border-radius: 50px;
    width: 300px;
    padding: 20px;
    font-size: 20px;
    font-weight: 700;
    display: flex;                /* ativa o flexbox */
    align-items: center;          /* alinha verticalmente */
    justify-content: center;      /* centraliza horizontalmente */
    gap: 10px;                    /* espaço entre o texto e o ícone */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin: 20px 0;
}

.contato svg{
    width: 40px;
}

.contato button:hover{
    background-color: rgb(33, 58, 43);
    color: white;
}

.contato button:hover .whatsapp-icon{
    animation: shake-bottom 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
}

.sobre button{
    background-color: rgb(53, 94, 69);
    color: white;
    border-radius: 50px;
    width: 300px;
    padding: 20px;
    font-size: 20px;
    font-weight: 700;
    display: flex;                /* ativa o flexbox */
    align-items: center;          /* alinha verticalmente */
    justify-content: center;      /* centraliza horizontalmente */
    gap: 10px;                    /* espaço entre o texto e o ícone */
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 20px 0;
}

.sobre svg{
    width: 40px;
}

.sobre button:hover{
    background-color: rgb(45, 80, 60);
}

.sobre button:hover .whatsapp-icon{
    animation: shake-bottom 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
}

.shake-bottom {
	-webkit-animation: shake-bottom 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
	        animation: shake-bottom 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2025-10-7 23:21:20
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation shake-bottom
 * ----------------------------------------
 */

@-webkit-keyframes shake-bottom {
  0%,
  100% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
  }
  10% {
    -webkit-transform: rotate(2deg);
            transform: rotate(2deg);
  }
  20%,
  40%,
  60% {
    -webkit-transform: rotate(-4deg);
            transform: rotate(-4deg);
  }
  30%,
  50%,
  70% {
    -webkit-transform: rotate(4deg);
            transform: rotate(4deg);
  }
  80% {
    -webkit-transform: rotate(-2deg);
            transform: rotate(-2deg);
  }
  90% {
    -webkit-transform: rotate(2deg);
            transform: rotate(2deg);
  }
}

@keyframes shake-bottom {
  0%,
  100% {
    -webkit-transform: rotate(0deg);
            transform: rotate(0deg);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
  }
  10% {
    -webkit-transform: rotate(2deg);
            transform: rotate(2deg);
  }
  20%,
  40%,
  60% {
    -webkit-transform: rotate(-4deg);
            transform: rotate(-4deg);
  }
  30%,
  50%,
  70% {
    -webkit-transform: rotate(4deg);
            transform: rotate(4deg);
  }
  80% {
    -webkit-transform: rotate(-2deg);
            transform: rotate(-2deg);
  }
  90% {
    -webkit-transform: rotate(2deg);
            transform: rotate(2deg);
  }
}

.cards-map{
    display: flex;
    flex-wrap: wrap; /* permite quebrar linha */
    gap: 16px;
    justify-content: center; /* centraliza os cards */
    padding-top: 20px;
}

.card-map {
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.653);
    flex: 1 1 300px;
    min-width: 380px;
    max-width: 30%;
    display: flex;
    flex-direction: column;
    gap: 20px;          /* espaço entre elementos dentro do card */
    font-weight: 500;
    background-color: white;
}

.card-map iframe{
    width: 100%;
    border: none;
    border-radius: 12px;
    height: 400px;
}

.tel{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    display: inline;
}

.card-map a{
    color: black;
    transition: color 0.3s ease;
    display: flex;
}

.card-map u{
    text-decoration: underline;
}

.card-map a:hover{
    color: rgb(53, 94, 69);
}

.nome{
    font-weight: 800;
    font-size: 30px;
}

.nat{
    background-color: #7a836e;
    color: #ffffff;
    padding: 50px 30px 30px;
    display: flex;
    justify-content: center;
    gap: 250px;
}

.nat h1{
    color: #ffffff;
    animation: none;
    opacity: 1;
    transform: none;
    font-size: 20px;
    font-weight: 600;
}

.nat .col {
    display: flex;
    flex-direction: column; /* força o empilhamento dos h1 */
}

.nat .lin{
    display: flex;
    gap: 5px;
    margin-top: 8px;
    font-size: 15px;
}

.nat .logos{
    gap: 20px;
}

.nat button{
    background-color: #00000045;
    border-radius: 10px;
    padding: 12px;
    border: none;
    cursor: pointer;
    color: #fff;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nat button svg{
    width: 30px;
}

.nat button:hover{
    background-color: rgb(255, 255, 255);
    color: #00000075;
}

.karina {
    background-color: #7a836e;
    color: #fff;
    display: flex;
    flex-direction: column; /* empilha hr e texto */
    align-items: center;    
    font-weight: 400;
    font-size: 12px;
}

.karina p{
    text-align: center;
}

.karina div{
    padding: 0 0 15px;
}

/* === Tablets (até 1024px) === */
@media (max-width: 1024px) {
    .section {
        padding: 40px 60px;
    }

    .menu{
        display: none;
    }

    /* .menu img {
        left: 40px;
        width: 120px;
    }

    .menu ul {
        gap: 25px;
        font-size: 16px;
        left: 60%;
    } */

    .sobre .slogan{
        flex-direction: column;
        align-items: center;
    }

    .sobre .lin {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .sobre .texto img {
        position: static;
        margin: 0;
        transform: scaleX(-1);
        width: 350px;
        display: block;
        margin: 0 auto 20px;
    }

    .sobre .sobre-mim {
        width: 100%;
    }

    .sobre .box {
        width: 80%;
    }

    .atuacao .linha {
        flex-direction: column;
        align-items: center;
    }

    .atuacao .box {
        width: 80%;
    }

    .duvidas .box-duv {
        width: 80%;
    }

    .cards-map {
        flex-direction: column;
        align-items: center;
    }

    .card-map {
        max-width: 90%;
        min-width: auto;
    }

    .nat {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        text-align: center;
    }

    .nat .lin {
        justify-content: center;
    }
}

/* === Celulares (até 768px) === */
@media (max-width: 768px) {
    :root {
        --menu-height: 80px;
    }

    .menu{
        display: none;
    }

    /* .menu {
        flex-direction: column;
        justify-content: center;
        height: var(--menu-height);
        padding: 10px 0;
    }

    .menu img {
        position: static;
        transform: none;
        width: 100px;
        margin-bottom: 5px;
    }

    .menu ul {
        position: static;
        transform: none;
        gap: 15px;
        font-size: 14px;
    } */

    .sobre h1 {
        font-size: 36px;
    }

    .sobre .slogan{
        flex-direction: column;
        align-items: center;
    }

    .sobre .frase {
        font-size: 22px;
        text-align: center;
    }

    .sobre .texto {
        padding: 30px 20px;
        text-align: center;
    }

    .sobre .sobre-mim h1 {
        font-size: 28px;
    }

    .sobre .sobre-mim p {
        font-size: 18px;
    }

    .sobre .texto img {
        width: 250px;
        margin-bottom: 20px;
    }

    .sobre .box {
        width: 100%;
        padding: 30px 20px;
    }

    .atuacao .box {
        width: 100%;
    }

    .duvidas .box-duv {
        width: 95%;
    }

    .contato button {
        width: 100%;
        max-width: 280px;
        padding: 15px;
        font-size: 18px;
    }

    .card-map iframe {
        height: 250px;
    }

    .nat {
        padding: 40px 20px;
        gap: 30px;
    }

    .nat h1 {
        font-size: 16px;
    }

    .karina p {
        font-size: 10px;
    }
}

/* === Celulares pequenos (até 480px) === */
@media (max-width: 480px) {
    .section {
        padding: 30px 15px;
    }

    h1 {
        font-size: 28px;
    }

    .menu{
        display: none;
    }

    /* .menu ul {
        flex-direction: column;
        align-items: center;
    } */

    .sobre .slogan{
        flex-direction: column;
        align-items: center;
    }

    .sobre .texto {
        padding: 25px 15px;
    }

    .sobre .texto img {
        width: 200px;
    }

    .atuacao p,
    .sobre p {
        font-size: 16px;
    }

    .duvida {
        font-size: 18px;
    }

    .card-map {
        padding: 15px;
    }
}
