/* ESTILO GERAL */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #000;
    min-height: 100vh;
    color: #fff;
}

.interface {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.flex {
    display: flex;
    align-items: center;
}


/* BOTÕES CONTATO */

.btn-contato button {
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    background-color: #00FF08;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    color: #000;
}

.btn-contato button:hover,
form .btn-enviar input:hover {
    box-shadow: 0 0 8px #00ff08;
    transform: scale(1.05);
}


/* TÍTULOS */

h2.titulo {
    color: #fff;
    font-size: 38px;
    text-align: center;
    margin-bottom: 1rem;
}

h2.titulo span {
    color: #00FF08;
}


/* CABEÇALHO */

header {
    padding: 40px 4%;
    background: #111;
    position: sticky;
    top: 0;
    z-index: 9999;
}

header>.interface {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a {
    color: #5c5c5c;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

header nav.menu-desktop a:hover {
    color: #00FF08;
    transform: scale(1.05);
}

header nav ul {
    list-style-type: none;
}

header nav.menu-desktop ul li {
    display: inline-block;
    padding: 0 30px;
    font-weight: 600;
    font-size: 18px;
}


/* BOTÃO MENU MOBILE */

.btn-abrir-menu {
    display: none;
    cursor: pointer;
}

.btn-abrir-menu i {
    color: #00FF08;
    font-size: 40px;
}


/* MENU MOBILE */

.menu-mobile {
    background-color: #000;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
    width: 0%;
    overflow: hidden;
    transition: width 0.5s ease;
    display: flex;
    flex-direction: column;
}

.menu-mobile.abrir-menu {
    width: 70%;
}

.menu-mobile.abrir-menu~.overlay-menu {
    display: block;
}

.menu-mobile .btn-fechar {
    padding: 20px 5%;
    align-self: flex-end;
}

.menu-mobile .btn-fechar i {
    color: #00FF08;
    font-size: 30px;
    cursor: pointer;
}

.menu-mobile nav ul {
    text-align: right;
    margin-top: 2rem;
}

.menu-mobile nav ul li a {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    padding: 20px 8%;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu-mobile nav ul li a:hover {
    background-color: #00FF08;
    color: #000;
}


/* OVERLAY MENU MOBILE */

.overlay-menu {
    background-color: rgba(0, 0, 0, 0.87);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 88888;
    display: none;
}


/* TOPO DO SITE */

section.topo-do-site {
    padding: 40px 4%;
}

section.topo-do-site .flex {
    align-items: center;
    justify-content: center;
    gap: 90px;
    flex-wrap: wrap;
}

.topo-do-site h1 {
    color: #fff;
    font-size: 42px;
    line-height: 1.1;
}

.topo-do-site .txt-topo-site h1 span {
    color: #00FF08;
}

.topo-do-site .txt-topo-site p {
    color: #fff;
    margin: 40px 0;
    max-width: 500px;
}

.topo-do-site .img-topo-site img {
    max-width: 100%;
    height: auto;
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;
}

@keyframes flutuar {
    0% {
        top: 0;
    }
    100% {
        top: 30px;
    }
}


/* ESPECIALIDADES */

.especialidades {
    padding: 60px 4%;
    background-color: #111;
}

.especialidades-box {
    flex: 1;
    margin: 0 20px;
    text-align: center;
    padding: 20px;
}

.especialidades-box i {
    font-size: 50px;
    color: #00FF08;
    margin-bottom: 20px;
}

.especialidades-box h3 {
    color: #00FF08;
    margin-bottom: 15px;
}

.especialidades-box p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.5;
}


/* SOBRE */

.sobre {
    padding: 60px 4%;
}

.img-sobre img {
    max-width: 100%;
    border-radius: 15px;
    width: 400px;
    /* tamanho da foto */
    height: 400px;
    /* mantém a proporção quadrada */
    object-fit: cover;
    /* corta sem distorcer */
    border-radius: 50%;
    /* deixa totalmente redonda */
    border: 5px solid #3a0606;
    /* borda branca elegante (pode trocar a cor) */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    /* sombra suave */
}

.txt-sobre {
    margin-left: 40px;
    max-width: 600px;
}

.txt-sobre h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 20px;
}

.txt-sobre h2 span {
    color: #00FF08;
}

.txt-sobre p {
    color: #ccc;
    margin-bottom: 15px;
}

.btn-social button {
    background: transparent;
    border: none;
    color: #00FF08;
    font-size: 30px;
    cursor: pointer;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.btn-social button:hover {
    color: #fff;
}


/* PORTFÓLIO */

.portfolio {
    padding: 60px 4%;
    background-color: #0f0e0f;
}

.carousel {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.img-port {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    width: 300px;
    height: 200px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.img-port:hover {
    transform: scale(1.05);
}

.img-port .overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: none;
    /* sem caixa preta */
    color: white;
    font-weight: 600;
    font-size: 18px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.img-port img {
    position: absolute;
    border-radius: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}


/* FORMULÁRIO */

.formulario {
    padding: 60px 4%;
}

form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

form input[type="text"],
form input[type="email"],
form textarea {
    padding: 15px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    background-color: #222;
    color: #fff;
    resize: none;
}

form input::placeholder,
form textarea::placeholder {
    color: #999;
}

form textarea {
    min-height: 120px;
}

.btn-enviar {
    text-align: center;
}

form .btn-enviar input {
    padding: 12px 50px;
    font-weight: 700;
    background-color: #00FF08;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    color: #000;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}