/* -------------------------------------------
   RESET & BASE
------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", Arial, sans-serif;
    background-color: #f6faf8;
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* -------------------------------------------
   HEADER & MENU
------------------------------------------- */
header {
    background-color: #5cbfaa;
    padding: 25px 0;
    width: 100%;
}

.top-header {
    max-width: 1250px;
    margin: auto;
    padding: 0 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header img {
    height: 90px;
    transition: 0.3s ease;
}

.top-header img:hover {
    transform: scale(1.03);
}

/* Menu */
nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 6px;
    transition: 0.25s ease;
}

nav ul li a:hover {
    background-color: rgba(255,255,255,0.2);
}

/* Dropdown */
nav ul li .submenu {
    display: none;
    position: absolute;
    top: 45px;
    left: 0;
    background-color: #4aa694;
    padding: 12px 0;
    border-radius: 6px;
    min-width: 220px;
}

nav ul li:hover .submenu {
    display: block;
}

nav ul li .submenu li a {
    display: block;
    padding: 10px 18px;
    white-space: nowrap;
    color: #fff;
    transition: 0.25s;
}

nav ul li .submenu li a:hover {
    background-color: #3d8d7d;
}

/* -------------------------------------------
   HERO
------------------------------------------- */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(to bottom, #eaf7f3, #f6faf8);
}

.hero h1 {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #2e7d72;
}

.hero p {
    font-size: 1.25em;
    max-width: 850px;
    margin: 0 auto 25px;
    color: #4d5858;
}

/* -------------------------------------------
   BUTTONS
------------------------------------------- */
.btn {
    background-color: #5cbfaa;
    color: white !important;
    padding: 15px 32px;
    font-size: 1.05em;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
}

.btn:hover {
    background-color: #4aa694;
    transform: translateY(-2px);
}

.btn.whatsapp {
    background-color: #25d366;
}

.btn.whatsapp:hover {
    background-color: #1ebe5d;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* -------------------------------------------
   SECTIONS
------------------------------------------- */
section {
    padding: 60px 20px;
    max-width: 1050px;
    margin: auto;
}

section h2,
section h3 {
    color: #2e7d72;
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

section p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 18px;
    line-height: 1.8;
}

/* -------------------------------------------
   CONSULTA DE AGENDAMENTO
------------------------------------------- */
.consultar-agendamento {
    text-align: center;
}

.consultar-agendamento input {
    padding: 14px;
    width: 100%;
    max-width: 420px;
    margin: 12px auto;
    border: 2px solid #cbded8;
    border-radius: 8px;
    font-size: 1.05em;
    outline: none;
    transition: 0.3s ease;
}

.consultar-agendamento input:focus {
    border-color: #5cbfaa;
}

.consultar-agendamento button.btn {
    margin-top: 10px;
}

/* -------------------------------------------
   RESULTADO DA CONSULTA
------------------------------------------- */
.agendamento-result {
    max-width: 950px;
    margin: 40px auto;
    padding: 20px 0;
}

.agendamento-result table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th {
    background-color: #5cbfaa;
    color: #fff;
    padding: 14px;
    font-size: 1.1em;
    font-weight: 600;
}

table td {
    padding: 14px;
    border-bottom: 1px solid #d8e9e4;
}

/* Cancel button */
table button {
    padding: 10px 20px;
    background-color: #d9534f;
    border: none;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    transition: 0.25s;
}

table button:hover {
    background-color: #c9302c;
}

/* -------------------------------------------
   FORM CONTATO
------------------------------------------- */
#contato form {
    max-width: 600px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

#contato input,
#contato textarea {
    padding: 15px;
    border: 2px solid #d4e7e1;
    border-radius: 8px;
    font-size: 1.05em;
    transition: 0.3s ease;
}

#contato input:focus,
#contato textarea:focus {
    border-color: #5cbfaa;
}

#contato textarea {
    min-height: 130px;
    resize: vertical;
}

/* -------------------------------------------
   FOOTER
------------------------------------------- */
footer {
    background-color: #5cbfaa;
    padding: 30px 10px;
    color: white;
    text-align: center;
    margin-top: 40px;
}

footer p {
    font-size: 1.1em;
    margin-bottom: 6px;
}


/* -------------------------------------------
   RESPONSIVE
------------------------------------------- */
@media (max-width: 850px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }

    .top-header {
        flex-direction: column;
        gap: 20px;
    }

    .hero h1 {
        font-size: 2.1em;
    }

    .hero p {
        font-size: 1.1em;
    }
}
/* -----------------------------------------------------
   MODAL PROFISSIONAL – CONSULTAR AGENDAMENTO
------------------------------------------------------ */

.modal {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    animation: fadeIn 0.3s ease forwards;
    padding: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    margin: 60px auto;
    border-radius: 14px;
    padding: 35px 30px;
    position: relative;

    animation: slideUp 0.35s ease forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h3 {
    text-align: center;
    font-size: 1.7em;
    margin-bottom: 15px;
    color: #2e7d72;
}

.modal-content h4 {
    font-size: 1.3em;
    margin-top: 25px;
    text-align: center;
    color: #2e7d72;
}

/* Botão Fechar */
.close {
    position: absolute;
    right: 18px;
    top: 14px;
    font-size: 30px;
    cursor: pointer;
    color: #666;
    transition: 0.2s ease;
}

.close:hover {
    color: #333;
}

/* Inputs do modal */
.modal-content input {
    width: 100%;
    padding: 14px;
    border: 2px solid #d6e7e3;
    border-radius: 8px;
    font-size: 1.05em;
    outline: none;
    margin-top: 10px;
}

.modal-content input:focus {
    border-color: #5cbfaa;
}

.modal-content button.btn {
    margin-top: 15px;
    width: 100%;
}

/* Resultado dentro do modal */
.resultado-consulta {
    margin-top: 25px;
}

/* Tabela dentro do modal */
.modal-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    border-radius: 6px;
    overflow: hidden;
}

.modal-content th {
    background-color: #5cbfaa;
    color: #fff;
    padding: 12px;
    font-size: 1.05em;
}

.modal-content td {
    padding: 12px;
    border-bottom: 1px solid #dce8e5;
}

.modal-content td form button {
    padding: 8px 18px;
    border-radius: 6px;
    background-color: #d9534f;
    border: none;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.modal-content td form button:hover {
    background-color: #c9302c;
}

/* Responsivo para modal */
@media (max-width: 480px) {
    .modal-content {
        padding: 25px 20px;
        margin-top: 40px;
    }

    .modal-content h3 {
        font-size: 1.4em;
    }
}
/* -------------------------------------------
   BOXES LATERAIS PARA SESSÕES (VISUAL MODERNO)
------------------------------------------- */

.box-section {
    max-width: 1050px;
    margin: 60px auto;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 14px;
    border-left: 6px solid #5cbfaa;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Área de texto */
.box-text {
    flex: 1;
}

.box-text h2,
.box-text h3 {
    color: #2e7d72;
    font-size: 2em !important;
    text-align: left !important;
    margin-bottom: 18px;
}

.box-text p {
    font-size: 1.12em;
    color: #555;
    line-height: 1.8;
}

/* Área reservada para imagens PNG */
.box-image {
    flex: 0 0 320px;
    height: 260px;
    background-position: center right;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Exemplo de imagens — você pode substituir depois */
.box-image.img-sobre {
    background-image: url('img/sobre.png');
}
.box-image.img-massagem {
    background-image: url('img/massagem.png');
}
.box-image.img-miofascial {
    background-image: url('img/miofascial.png');
}
.box-image.img-ventosa {
    background-image: url('img/ventosa.png');
}
.box-image.img-quiro {
    background-image: url('img/quiro.png');
}

/* Responsivo */
@media (max-width: 900px) {
    .box-section {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .box-text h2,
    .box-text h3 {
        text-align: center !important;
    }

    .box-image {
        width: 100%;
        height: 220px;
        background-position: center;
    }
}
/* =============================================
   DIVISORES ENTRE SEÇÕES — VISUAL PREMIUM
============================================= */

/* Container do divisor */
.divider {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

/* --- 1) Linha suave com fade (RECOMENDADO) --- */
.divider-line {
    height: 1px;
    background: linear-gradient(to right, transparent, #b7d5cd, transparent);
    margin: 20px 0;
}

/* --- 2) Linha sólida com cor Serenity (#5cbfaa) --- */
.divider-solid {
    height: 2px;
    background: #5cbfaa;
    margin: 25px auto;
    width: 150px;
    border-radius: 3px;
}

/* --- 3) Divisor com pontinhos elegantes --- */
.divider-dots {
    margin: 25px 0;
    font-size: 22px;
    color: #7fa09a;
    letter-spacing: 5px;
}

/* Responsivo */
@media (max-width: 600px) {
    .divider {
        margin: 30px auto;
    }

    .divider-solid {
        width: 120px;
    }
}
