/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* ===== Header ===== */
header {
    background: linear-gradient(to right, rgba(179, 229, 252, 0.8), rgba(248, 187, 208, 0.8));
    padding: 1rem 2rem;
    color: rgb(24, 24, 24);
    border-bottom: solid 5px white;
}

/* ===== Hero ===== */
.hero {
    background: linear-gradient(to right, rgba(179, 229, 252, 0.8), rgba(248, 187, 208, 0.8)),
        url('imagens/topo.png') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 6rem 2rem;
    min-height: 40vh;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
}

/* ===== Features ===== */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    gap: 2rem;
    padding: 4rem 2rem;
    background-color: #f9f9f9;
   
}

.features button {
    margin-bottom: 1.5rem;

}

.feature {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* empurra o botão para o fim */
    flex: 1 1 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    min-height: 400px;
    padding-bottom: 1rem; /* espaço extra para o botão */
}


.feature img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature h2 {
    margin: 1rem 0 0.5rem;
    color: #005a87;
}

.feature p {
    padding: 0 1rem 1rem;
}

/* ===== Testimonials ===== */
.testimonials {
    background: #fff;
    padding: 4rem 2rem;
    text-align: center;
}

.testimonial-wrapper {
    position: relative;
    height: auto;
    transition: height 0.6s ease-in-out;
}

.testimonial {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    max-width: 600px;
    width: 70vw;
    font-style: italic;
    pointer-events: none;
    padding-top: 2rem;
}

.testimonial.ativo {
    opacity: 1;
    pointer-events: auto;
}

/* Controls for testimonials */
.testimonial-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 2;
}
.testimonial-control.prev { left: 0.5rem; }
.testimonial-control.next { right: 0.5rem; }
.testimonial-control i { color: #005a87; font-size: 1rem; }

/* Ensure slides stay below controls */
.testimonial { z-index: 1; }

.testimonial strong {
    display: block;
    margin-top: 1rem;
    font-style: normal;
}

/* ===== Contact ===== */
.contact {
    background: #f0f0f0;
    padding: 4rem 2rem;
    text-align: center;
}

.contact form {
    max-width: 500px;
    margin: auto;
    display: grid;
    gap: 1rem;
}

input,
textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background: #005a87;
    color: white;
    border: none;
    padding: 1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #003f5c;
}

/* ===== Footer ===== */
footer {
    background: #eee;
    color: #222;
    text-align: center;
    padding: 3rem 1rem;
}

.footer-container {
    max-width: 80vw;
    margin: auto;
}

.footer-logo {
    width: 150px;
    margin-bottom: 1rem;
}

footer h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin: 0;
}

footer p {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    margin: 0.3rem 0 2rem;
}

.footer-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 1.5rem;
}

.footer-icons a {
    color: #000;
    transition: color 0.3s;
}

.footer-icons a:hover {
    color: #005a87;
}
.dados-contato {
    background-color: #005a87;
    display: flex;
    width: 100vw;
    text-align: center;
    align-items: center;
    padding-top: 2.5rem;
}
.dados-contato div {
    width: 100vw;
}
.dados-contato h2 {
    color: white;
    margin-bottom: 1.5rem;
}
.dados-contato p {
    color: white;
}
.dados-contato h3 {
    color: white;
}


/* ===== Sobre ===== */
.sobre {
    background: #fff;
    padding: 4rem 2rem;
    text-align: center;
}

.sobre-container {
    max-width: 800px;
    margin: auto;
}

.sobre h2 {
    color: #005a87;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: 'Poppins';
    font-weight: lighter;
}

.sobre h3 {
    color: #222;
    font-weight: bolder;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: 'Poppins';
}

.sobre p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #444;
}

/* ===== Credenciamentos ===== */
.credenciamentos {
    background: #fff;
    padding: 4rem 2rem;
    text-align: center;
}

.credenciamentos-container {
    max-width: 800px;
    margin: auto;
}

.credenciamentos h2 {
    color: #005a87;
    font-size: 1.2rem;
    font-family: 'Poppins';
    font-weight: lighter;
}

.credenciamentos img {
    width: 10vw;
}

#logotipo {
    width: 15vw;
}

#logotipo-grupo path {
    fill: rgb(31, 31, 31);
}

/* ===== Menu Base ===== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

nav a:hover {
    text-decoration: underline;
}

.menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
}

.menu li {
    position: relative;
}

.menu a {
    color: rgb(31, 31, 31);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

/* ===== Submenu ===== */
.has-submenu:hover .submenu {
    display: block;
}

.submenu {
    display: none;
    position: absolute;
    top: 1.5rem;
    left: 0;
    background: white;
    padding: 0.5rem 0;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.submenu li {
    white-space: nowrap;
}

.submenu a {
    color: rgb(31, 31, 31);
    padding: 0.5rem 1rem;
    display: block;
}

.submenu a:hover {
    background: #f0f0f0;
}

/* ===== Botão Hamburger ===== */
#menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 10001;
    position: relative;
}

/* ===== Botão Flutuante WhatsApp ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float i {
    line-height: 60px;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}
@keyframes fadeIn {
    to { opacity: 1; }
}
/* ===== Modal Menu (Mobile) ===== */
@media (max-width: 768px) {
    #menu-toggle {
        display: block;

        color: rgb(31, 31, 31);
    }

    .menu {
        display: none;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: linear-gradient(to right, rgba(179, 229, 252, 1), rgba(248, 187, 208, 1));
        padding: 5rem 2rem 2rem;
        z-index: 10000;
        gap: 1.5rem;
    }

    .menu.open {
        display: flex;
    }

    .submenu {
        position: relative;
        top: 0;
        background: none;
        box-shadow: none;
        padding-left: 1rem;
    }

    .submenu a {
        color: rgb(31, 31, 31);
        padding-left: 1.5rem;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    #logotipo {
        width: 40vw;
    }

    .credenciamentos img {
        width: 25vw;
    }
}
