/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style-type: none;
    scroll-behavior: smooth;
}

:root {
    /*27282A*/
    --main-bg-color: #1b242b;
    --secod-bg-color: #fcb22f;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
header {
    background: var(--main-bg-color);
    color: white;
    padding: 0px 60px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
}

.logo img {
    width: 160px;
}

.hambuguer {
    background: none;
    border: none;
    color: white;
    font-size: 1.8em;
    cursor: pointer;
    display: none;
}

.hambuguer:hover {
    color: var(--secod-bg-color);
}

.bi-x-lg {
    text-align: end;
}

nav {
    float: right;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

nav ul li a:hover {
    color: var(--secod-bg-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5)),
        url('./img/baner.jpg') no-repeat center center/cover;
    height: 350px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.hero p {
    font-size: 18px;
    max-width: 600px;
}

.hero .cta {
    margin-top: 15px;
    font-size: 1rem;
    margin: 2rem auto;
}

.hero .cta a {
    background: #ffca28;
    color: #333;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, transform 0.2s ease;
}

.hero .cta a:hover {
    background: #fff;
    color: var(--secod-bg-color);
    transform: translateY(-3px);
}

.baner-sobre {
    display: flex;
    width: 1300px;
    height: 100%;
    padding: 20px;
    font-size: 2rem;
    text-align: start;
    flex-wrap: wrap;
}

.sobre {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sobre-informacoes {
    flex: 1.2;
    height: auto;
    background-color: var(--main-bg-color);
    position: relative;
    padding: 1rem 2rem;
    border-radius: 10px;
}

.sobre-informacoes {
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.sobre-informacoes p:nth-child(1) {
    color: var(--secod-bg-color);
    font-size: 5rem;
}

.sobre-informacoes p:nth-child(2) {
    font-size: 2rem;
}

/* Container */
.container {
    padding: 0 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.section {
    background-color: var(--secod-bg-color);
    padding-bottom: 40px;
}

.section h2 {
    font-size: 28px;
    color: white;
    padding: 25px;
}

.section:nth-child(4) {
    background-color: #1b242b;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 200 200'%3E%3Cdefs%3E%3ClinearGradient id='a' gradientUnits='userSpaceOnUse' x1='100' y1='33' x2='100' y2='-3'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='1'/%3E%3C/linearGradient%3E%3ClinearGradient id='b' gradientUnits='userSpaceOnUse' x1='100' y1='135' x2='100' y2='97'%3E%3Cstop offset='0' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23000' stop-opacity='1'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='%23222325' fill-opacity='0.6'%3E%3Crect x='100' width='100' height='100'/%3E%3Crect y='100' width='100' height='100'/%3E%3C/g%3E%3Cg fill-opacity='0.5'%3E%3Cpolygon fill='url(%23a)' points='100 30 0 0 200 0'/%3E%3Cpolygon fill='url(%23b)' points='100 100 0 130 0 100 200 100 200 130'/%3E%3C/g%3E%3C/svg%3E");
}

/* Cards */
.cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    background-color: var(--secod-bg-color);
    padding: 25px 0;
    justify-content: center;
}

.card {
    width: 100%;
    max-width: 250px;
    height: 350px;
    perspective: 1000px;
    /* Define a profundidade para o efeito 3D */
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
    /* Gira o card ao passar o mouse */
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    /* Oculta o lado inverso */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.card-front {
    background: white;
}

.card-back {
    background: #f1f1f1;
    transform: rotateY(180deg);
    /* Posiciona o verso invertido */
}

.card img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
    padding: .5rem;
}

.card h3 {
    margin-bottom: 10px;
    color: #1e88e5;
}

.card p {
    font-size: 1rem;
    color: #666;
}

.card-back p {
    font-size: 1.1rem;
}

/*blog*/

.blog a {
    color: var(--secod-bg-color);
    text-align: center;
}

details {
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 20px;
}

summary {
    cursor: pointer;
    padding: 10px;
    background-color: #f4f4f4;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style: none;
}

summary::marker {
    display: none;
}

summary::after {
    content: "▼";
    /* Ícone de seta para baixo */
    font-size: 12px;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

details[open] summary::after {
    transform: rotate(-180deg);
    /* Rotaciona a seta para cima */
}

.container-carrossel {
    width: 100%;
}

.content {
    padding: 10px;
    background-color: #fff;
}

.container-content {
    display: flex;
    flex-direction: column;
}

.container-content p {
    margin: 0 5rem;
}

.container-content p span {
    font-weight: bolder;
}

/*Contato*/
.contato p {
    margin-bottom: 1rem;
}

.contato p:last-of-type,
.contato p:first-child {
    font-weight: bolder;
}


/* Footer */
footer {
    text-align: center;
    background: var(--main-bg-color);
    color: white;
    padding: 15px 20px;
}

footer a {
    color: var(--secod-bg-color);
}

footer a:hover {
    text-decoration: underline;
    color: white;
}

.footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.footer-titulos {
    font-size: 1.5rem;
    text-align: start;
}

/*.endereco-menu{
    display: none;
}*/

.endereco-footer li {
    text-align: start;
}

.endereco-footer li:hover {
    color: var(--secod-bg-color);
}

.contato-social-media,
.social-media {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
}

.contato-social-media {
    justify-content: start;
    font-size: 2rem;
}

.contato-social-media i:hover,
.social-media i:hover {
    color: white;
}

.whatsapp {
    color: green;
    font-size: 3rem;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1000;
}

.whatsapp i:hover {
    color: white;
}

/* Responsividade */
@media (max-width: 768px) {
    header {
        display: flex;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        display: none;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .baner-sobre {
        width: 100%;
        flex-direction: column;
    }

    .sobre-informacoes {
        padding: .5rem 1rem;
        position: absolute;
        top: 350px;
        left: 50%;
        display: none;
    }

    .sobre-informacoes p:nth-child(1) {
        color: var(--secod-bg-color);
        font-size: 2rem;
    }

    .sobre-informacoes p:nth-child(2) {
        font-size: .7rem;
    }

    .hero {
        height: auto;
    }

    .hero h1 {
        font-size: 36px;
        margin-bottom: 0px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero .cta {
        margin: 1rem auto;
    }

    .direito {
        margin-top: 1rem;
        font-size: .5rem;
    }

    header .show-menu {
        background: var(--main-bg-color);
        width: 100%;
        height: 100%;
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1;
    }

    header .show-menu ul {
        width: 100%;
        padding: 100px;
        list-style: none;
        display: block;
        text-align: start;
    }

    .link-menu{
        display: none;
    }
}