/* ===== Reset e fontes ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* ===== Estilos gerais ===== */
.interface {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    padding: 0 2%;
}

button {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    background-color: #ffffff33;
}

/* ===== Header ===== */
header {
    background-color: black;
    height: 80px;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 9999;
}

.logotipo,
.menu-desktop {
    display: inline-block;
    margin-right: -4px;
    vertical-align: top;
    position: relative;
    height: 100%;
}

.logotipo {
    width: 50%;
}

.logotipo img {
    width: 80%;
    max-width: 240px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.menu-desktop {
    width: 50%;
}

.menu-desktop ul {
    list-style-type: none;
    text-align: right;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.menu-desktop ul li {
    display: inline-block;
    margin: 0 20px;
}

.menu-desktop ul li a {
    color: #ffffff;
    text-decoration: none;
}

.menu-desktop ul li a button {
    width: 100px;
    height: 40px;
    border-radius: 30px;
}

/* Botão hamburguer */
#menu-toggle {
    display: none;
}

#btn-menu {
    width: 40px;
    height: 30px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 25px;
    z-index: 1001;
}

#btn-menu .linha {
    display: block;
    width: 100%;
    height: 4px;
    background: #fff;
    border-radius: 4px;
    transition: 0.3s;
}

/* Animação do botão */
#menu-toggle:checked+#btn-menu .linha:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

#menu-toggle:checked+#btn-menu .linha:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked+#btn-menu .linha:nth-child(3) {
    transform: rotate(-45deg) translate(12px, -12px);
}

/* Menu mobile */
.menu-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #000;
    padding-top: 80px;
    transition: 0.4s;
    z-index: 1000;
}

.menu-mobile ul {
    list-style: none;
    text-align: center;
}

.menu-mobile ul li {
    margin: 20px 0;
}

.menu-mobile ul li a {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}

/* Mostrar menu quando checkbox estiver marcado */
#menu-toggle:checked~.menu-mobile {
    right: 0;
}

/* Responsivo */
@media screen and (max-width: 856px) {
    #btn-menu {
        display: flex;
    }

    .menu-desktop {
        display: none;
    }
}

/* ===== Main & Sections ===== */
main {
    background-image: linear-gradient(45deg, #8f8a8a, #2b2929);
    padding: 10px 0;
}

section {
    background: transparent;
    padding: 20px 0;
    margin: 0;
}

.titulo-sessao {
    text-align: center;
    margin-bottom: 20px;
}

.titulo-sessao h2 {
    color: #fff;
    font-size: 2rem;
}

/* ===== Carrossel ===== */
.carousel-container {
    position: relative;
    width: 80%;
    max-width: 750px;
    margin: 0 auto 40px auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 10px 10px 0 #000000;
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    text-align: center;
    background: #ffffffa7;
    padding: 20px;
}

.carousel-item img {
    max-width: 335px;
    border-radius: 10px;
}

.carousel-item h2 {
    margin: 15px 0 10px;
}

.carousel-item p {
    color: #555;
}

/* Botões de navegação do carrossel */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.prev:hover,
.next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Dots */
.dots {
    text-align: center;
    margin-top: 15px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #bbb;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot:hover {
    background: #777;
}

.active {
    background: #111;
}

/*Estilo do rodapé*/
footer {
    padding: 50px 0;
    background-color: #000000;
}

footer .line-footer-top {
    padding-bottom: 20px;
    border-bottom: 2px solid #ffffff;
}

footer .line-footer-bottom {
    padding-top: 20px;
}

footer .line-footer-bottom button {
    width: 55px;
    height: 55px;
    font-size: 28px;
    border-radius: 0 20px 10px 20px;
    margin-right: 10px;
}

footer .logotipo img {
  width: 180%;
}