/* Reset e estilos básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Cabeçalho */
.carousel-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide:nth-child(1) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/carousel/01.jpg');
}

.carousel-slide:nth-child(2) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/carousel/02.jpg');
}

.carousel-slide:nth-child(3) {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/carousel/03.jpg');
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
    max-width: 800px;
}

.carousel-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-agendar {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #4B7F51;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn-agendar:hover {
    background-color: #3D6B7A;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.indicator.active {
    background-color: white;
}

/* Navegação */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #4B7F51;
    padding: 1rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo {
    height: 50px;
    margin-right: 1rem;
}

.logo-text {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Menu principal */
.menu {
    display: flex;
    list-style: none;
}

.menu li {
    margin: 0 1rem;
}

.menu li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.menu li a:hover {
    background-color: #3B6978;
}

/* Botão do menu mobile */
.menu-burger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Seções */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    color: #4B7F51;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.8rem;
    color: #4B7F51;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

/* Sobre */
#sobre {
    background-color: #f9f9f9;
}

/* Serviços */
.servicos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.servico {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.servico:hover {
    transform: translateY(-10px);
}

/* Equipe */
#equipe {
    background-color: #f0f7ff;
}
#convenios {
    background-color: #f0f7ff;
}

.equipe-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.convenio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}        

.membro {
    text-align: center;
}

.membro img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 5px solid #4B7F51;
}

/* Contato */
#contato {
    background-color: #f9f9f9;
}

.contato-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

form {
    display: grid;
    gap: 1rem;
}

input,
textarea,
button {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

button {
    background-color: #4B7F51;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #3D6B7A;
}

.info-contato {
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: #4B7F51;
}

/* Rodapé */
footer {
    background-color: #4B7F51;
    color: white;
    text-align: center;
    padding: 2rem;
}

.social a {
    color: white;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social a:hover {
    color: #cce0ff;
}

/* Responsivo */
@media (max-width: 768px) {

    /* Menu mobile */
    .menu {
        position: fixed;
        top: 70px;
        /* Altura do header */
        left: 0;
        right: 0;
        background-color: #4B7F51;
        flex-direction: column;
        align-items: center;
        padding: 1rem 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .menu.active {
        transform: translateY(0);
    }

    .menu li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    .menu li a {
        display: block;
        padding: 1rem;
        width: 100%;
    }

    .menu-burger {
        display: block;
    }

    /* Ajustes de layout */
    .carousel-content h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* Estilo para o formulário de contato */
form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

form input,
form textarea,
form button {
    width: 100%;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

form input:focus,
form textarea:focus {
    border-color: #4B7F51;
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
    outline: none;
}

form button {
    background-color: #4B7F51;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

form button:hover {
    background-color: #3D6B7A;
    transform: scale(1.05);
}

form button:active {
    transform: scale(0.95);
}

/* Espaçamento entre os campos */
form input,
form textarea {
    margin-bottom: 1.5rem;
}

/* Adicionar ícones nos campos */
form input::placeholder,
form textarea::placeholder {
    color: #aaa;
    font-style: italic;
}

