/* ========================= */
/* CONFIGURAÇÃO GLOBAL */
/* ========================= */
html {
    color-scheme: light;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #1c2c4c;
}

/* ========================= */
/* HEADER */
/* ========================= */
header {
    background-color: #ffffff;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
}

.logo {
    height: 70px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav a {
    text-decoration: none;
    color: #1c2c4c;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #6b7f2a;
}

/* ========================= */
/* HERO */
/* ========================= */
.hero {
    background: linear-gradient(to bottom, #e8f0e0 0%, #f5f9ef 40%, #ffffff 100%);
    padding: 100px 20px;
    text-align: center;
    min-height: 500px;
}

.hero h1 {
    font-size: 40px;
    color: #6b7f2a;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
    margin: auto;
}

/* ========================= */
/* BOTÕES */
/* ========================= */
.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #6b7f2a;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
    cursor: pointer;
    border: none;
}

.btn:hover {
    background: #556620;
}

/* ========================= */
/* TERAPIAS */
/* ========================= */
.terapias {
    padding: 60px 20px;
    text-align: center;
    background-color: #ffffff;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
}

.card p {
    font-size: 15px;
    line-height: 1.6; /* Aumenta o espaço entre as linhas para facilitar a leitura */
    margin-bottom: 10px;
    text-align: left; /* Mantém o texto alinhado à esquerda para maior clareza */
}

.card h3 {
cursor: pointer;
background: #f8f8f8;
color: rgb(7, 7, 7);
padding: 12px;
border-radius: 8px;

}

.card-detalhe {
max-height: 0;
overflow: hidden;
transition: max-height 0.4s ease;
background: #f8f8f8;
padding: 0 15px;
border-radius: 8px;
margin-top: 10px;

}

.card-detalhe.ativo {
max-height: 300px;
padding: 15px;

}

/* ========================= */
/* SOBRE */
/* ========================= */
.sobre {
    padding: 60px 20px;
    background-color: #f0f5ea;
    text-align: center;
}

/* ========================= */
/* CONTATO */
/* ========================= */
.contato {
    padding: 60px 20px;
    text-align: center;
    background-color: #ffffff;
}

/* ========================= */
/* FOOTER */
/* ========================= */
footer {
    background: #1c2c4c;
    color: white;
    text-align: center;
    padding: 20px;
}

/* ========================= */
/* POPUP AGENDAMENTO */
/* ========================= */
.popup {
    display: none; /* Garante que comece escondido */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4); /* Escureci um pouco mais o fundo */
    justify-content: center;
    align-items: center;
    z-index: 2000; /* Maior que o header */
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.4);
    text-align: left;
}

.popup-content h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #6b7f2a;
}

.popup-content label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.popup-content input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box; /* Garante que o padding não aumente a largura */
}

.botoes {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.btn-agendar {
    background: #6b7f2a;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    flex: 1;
    font-weight: bold;
}

.btn-cancelar {
    background: #999;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    flex: 1;
    font-weight: bold;
}

/* ========================= */
/* RESPONSIVO */
/* ========================= */
@media(max-width:768px){
    .container {
        flex-direction: column;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 10px 0;
    }
    .hero {
        padding: 80px 15px;
        min-height: 400px;
    }
    .hero h1 {
        font-size: 28px;
    }
    .logo {
        height: 60px;
    }
}