:root {
    --preto: #000000; /* Preto */
    --background-color: #F5F5F5; /* Cinza claro parecido com branco */
    --menu-text-color: #FFFFFF; /* Branco para o texto dos menus no header */
    --mobile-menu-background: #E0E0E0; /* Cinza para o fundo do menu em dispositivos móveis */
    --link-hover-color: #FFFF99; /* Amarelo claro para o hover dos links */
}

body {
    padding: 0;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--background-color);
}

.header {
    padding: 5px;
    background-color: var(--preto);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 60px;
}

.header-titulo {
    color: var(--menu-text-color);
}

.header-logos {
    display: flex;
    align-items: center;
}

.header-logo {
    max-width: 80px;
    height: auto;
    margin-right: 10px;
}

.menu-btn {
    display: none;
    position: relative;
    cursor: pointer;
}

.menu-btn .material-icons {
    font-size: 36px;
    color: var(--menu-text-color);
}

.nav {
    display: none;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
}

.nav-list li {
    margin: 20px 0;
    text-align: center;
}

.nav-list li a {
    text-decoration: none;
    color: var(--menu-text-color);
    font-size: 18px;
    transition: color 0.3s;
}

.nav-list li a:hover {
    color: var(--link-hover-color);
}

.nav.open {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background-color: var(--mobile-menu-background);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
}

.nav.open.show {
    transform: translateX(0);
}

.nav.open .nav-list li a {
    color: var(--preto);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    display: none;
}

.close-btn .material-icons {
    font-size: 36px;
    color: var(--preto);
}

@media (max-width: 767px) {
    .menu-btn {
        display: flex;
    }
    .nav {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100%;
        background-color: var(--mobile-menu-background);
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
    }
    .nav.open {
        transform: translateX(0);
    }
    .close-btn {
        display: block;
    }

    .success-stories {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .success-story {
        width: 90%;
        max-width: 500px;
        margin-bottom: 20px;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .success-story img {
        width: 100%;
        height: auto;
        display: block;
        margin-bottom: 10px;
    }

    .success-story-info {
        background: none;
        color: var(--preto);
        padding: 10px;
        text-align: center;
        box-shadow: none;
        margin-top: -5px;
    }

    .success-story-info h3 {
        font-size: 1.6em;
        margin: 5px 0;
    }

    .success-story-info p {
        font-size: 1.4em;
        margin: 5px 0;
    }
}

@media (min-width: 768px) {
    .menu-btn {
        display: none;
    }
    .nav {
        display: flex;
    }
    .nav-list {
        flex-direction: row;
    }
    .nav-list li {
        margin: 0 10px;
    }
    .close-btn {
        display: none;
    }

    .success-stories {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 20px 0;
    }

    .success-story {
        position: relative;
        width: 30%;
        overflow: hidden;
        margin: 0 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
        transition: transform 0.3s ease;
    }

    .success-story img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.3s ease;
    }

    .success-story:hover img {
        transform: scale(1.1);
    }

    .success-story-info {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.7);
        color: #fff;
        padding: 20px;
        text-align: center;
        box-sizing: border-box;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .success-story:hover .success-story-info {
        opacity: 1;
    }

    .success-story-info h3 {
        margin: 0 0 10px;
        font-size: 2em;
    }

    .success-story-info p {
        margin: 0;
        font-size: 1.6em;
    }
}

.main-imagem-principal {
    background-image: url('./img/Imgteste2.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 500px;
    position: relative;
    top: 0;
    margin-top: 60px;
}

.titulo-sobre-imagem-topo {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    width: calc(100% - 40px);
    max-width: 800px;
}

.titulo-sobre-imagem-base {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 5px;
    text-align: center;
    width: calc(100% - 40px);
    max-width: 800px;
}

.main-titulos {
    text-align: center;
}

.main-paragrafos {
    text-align: center;
    font-size: 20px;
}

.footer {
    background-color: var(--preto);
    color: #FFFFFF;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    padding: 10px;
    min-width: 200px;
}

.footer-section h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.footer-section p,
.footer-section ul {
    font-size: 1.2em;
    line-height: 1.5;
}

.footer-section p a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section p a:hover {
    color: var(--link-hover-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--link-hover-color);
}

.footer-bottom {
    text-align: center;
    padding: 10px;
    background-color: var(--preto);
    color: #FFFFFF;
    font-size: 1em;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 767px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        text-align: center;
        padding: 10px 0;
    }

    .footer-section ul {
        padding: 0;
    }

    .footer-section ul li {
        margin-bottom: 10px;
    }
}
