@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ========================================
   RESET E ESTILOS GLOBAIS
   ======================================== */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Lora', serif;
    color: #0d7377;
    margin-bottom: 1rem;
}

/* ========================================
   HEADER - TODAS AS PÁGINAS
   ======================================== */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fdfdfd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    gap: 1.5rem;
}

header img {
    height: 50px;
    width: auto;
    flex-shrink: 0;
}

header h2 {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    color: #0d7377;
    margin: 0;
    white-space: nowrap;
    font-weight: 600;
}

header nav {
    display: flex;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
    align-items: center;
}

header nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

header nav a:hover {
    color: #14a1a6;
}

header button {
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

header button:nth-of-type(1) {
    margin-left: auto;
}

header .btn-entrar {
    background-color: transparent;
    color: #14a1a6;
    border: 2px solid #14a1a6;
}

header .btn-entrar:hover {
    background-color: #14a1a6;
    color: white;
}

header .btn-agendar {
    background-color: #187F7D;
    color: white;
    border: 2px solid #187F7D;
    margin-left: 0.8rem;
    display: inline-block;   
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
}

header .btn-agendar:hover {
    background-color: #0b575b;
    border-color: #0b575b;
}

/* ========================================
   PÁGINA PRINCIPAL (INDEX.HTML)
   ======================================== */

main {
    flex: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(to top, #0b575b 0%, #14a1a6 100%);
    padding: 4rem 2rem;
    color: white;
}

.hero .container1 {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.hero-text h3 {
    font-size: 1.5rem;
    color: #1cd6dc;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-top: 1.5rem;
}

.btn-hero-primary {
    padding: 0.9rem 2rem;
    background-color: white;
    color: #0d7377;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;   
    text-decoration: none;
}

.btn-hero-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
    padding: 0.9rem 2rem;
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background-color: white;
    color: #0d7377;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 85%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

/* SEÇÃO SOBRE */
.sobre {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.sobre .container h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #0d7377;
}

.sobre .container p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.experiencia-card {
    background-color: white;
    border: 2px solid #14a1a6;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    max-width: 200px;
    margin: 2rem auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.experiencia-card h3 {
    font-size: 2.5rem;
    color: #14a1a6;
    margin-bottom: 0.5rem;
}

.experiencia-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* SEÇÃO ÁREAS DE ATENDIMENTO */
.areas-atendimento {
    padding: 4rem 2rem;
    background-color: white;
}

.areas-atendimento .container h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #0d7377;
}

.subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 2.5rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(20, 161, 166, 0.1);
    border-radius: 50%;
}

.card-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.card-icon svg {
    width: 50px;
    height: 50px;
    color: #14a1a6;
    stroke: #14a1a6;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #0d7377;
}

.card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* SEÇÃO COMO FUNCIONA */
.funcionamento {
    padding: 4rem 2rem;
    background-color: #f9f9f9;
}

.funcionamento .container h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: #0d7377;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.step-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(20, 161, 166, 0.1), rgba(24, 127, 125, 0.1));
    border-radius: 50%;
}

.step-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.step-icon svg {
    width: 60px;
    height: 60px;
    color: #14a1a6;
    stroke: #14a1a6;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #0d7377;
}

.step p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.cta-button {
    display: table;           /* Troque 'block' por 'table' ou 'inline-block' para o link não ocupar a largura toda da tela */
    text-decoration: none;    /* REMOVE O SUBLINHADO */
    margin: 2.5rem auto 0;
    padding: 1rem 2.5rem;
    background-color: #14a1a6;
    color: white !important;  /* O 'important' garante que ele ignore a cor padrão de link */
    border: none;
    border-radius: 5px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-button:hover {
    background-color: #0d7377;
    color: white;             /* Mantém branco no hover */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(20, 161, 166, 0.3);
    text-decoration: none;    /* Garante que o sublinhado não volte no hover */
}

/* SEÇÃO RELATOS */
.relatos {
    padding: 4rem 2rem;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    color: #0d7377;
    margin-bottom: 0.5rem;
}

.relatos-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.relato-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #14a1a6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.relato-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.quote-icon {
    font-size: 3rem;
    color: #14a1a6;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.relato-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.relato-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
}

.relato-author {
    font-size: 0.95rem;
    color: #0d7377;
    font-weight: 600;
}

.relato-date {
    font-size: 0.85rem;
    color: #999;
}

.relato-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.btn-paciente {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: #14a1a6;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-paciente:hover {
    background-color: #0d7377;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(20, 161, 166, 0.3);
}

/* ========================================
   PÁGINAS COM FORMULÁRIOS (Login, Cadastro, Recuperação)
   ======================================== */

body.login-page,
body.signup-page,
body.recovery-page,
body.patient-area-page {
    background-color: #e8ecef;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.login-page main,
body.signup-page main,
body.recovery-page main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PÁGINA LOGIN */
.back-button {
    position: absolute;
    top: 6rem;
    left: 2rem;
    color: #0d7377;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.back-button:hover {
    color: #14a1a6;
}

.login-container,
.signup-container,
.recovery-container {
    width: 100%;
    max-width: 650px;
    padding: 2rem;
    text-align: center;
}

.login-card,
.signup-card,
.recovery-card {
    background-color: white;
    padding: 3rem 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.login-card h1,
.signup-card h1,
.recovery-card h1 {
    font-size: 1.8rem;
    color: #14a1a6;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.login-subtitle,
.signup-subtitle,
.recovery-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.login-form,
.signup-form,
.recovery-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.6rem;
}

.input-field {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0 0.8rem;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    min-height: 44px;
}

.input-field:focus-within {
    border-color: #14a1a6;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(20, 161, 166, 0.1);
}

.input-field input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.8rem 0;
    font-size: 0.95rem;
    color: #333;
    outline: none;
    font-family: 'Poppins', sans-serif;
}

.input-field input::placeholder {
    color: #999;
}

.input-field input[type="date"] {
    cursor: pointer;
}

.password-hint {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.3rem;
    margin-bottom: 0;
    display: block;
}

.form-group.checkbox {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    text-align: left;
    margin: 1rem 0;
}

.form-group.checkbox input {
    margin-top: 0.35rem;
    cursor: pointer;
}

.form-group.checkbox label {
    margin: 0;
    font-weight: 400;
    font-size: 0.85rem;
    color: #666;
}

.form-group.checkbox a {
    color: #14a1a6;
    text-decoration: none;
    font-weight: 500;
}

.form-group.checkbox a:hover {
    text-decoration: underline;
}

.forgot-password {
    text-align: right;
    font-size: 0.85rem;
    color: #14a1a6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.forgot-password:hover {
    color: #0d7377;
    text-decoration: underline;
}

.btn-login,
.btn-signup,
.btn-recovery {
    padding: 0.9rem 1.5rem;
    background-color: #14a1a6;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-login:hover,
.btn-signup:hover,
.btn-recovery:hover {
    background-color: #0d7377;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 161, 166, 0.3);
}

.btn-login:active,
.btn-signup:active,
.btn-recovery:active {
    transform: translateY(0);
}

.login-divider {
    font-size: 0.9rem;
    color: #999;
    position: relative;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #ddd;
}

.btn-signup-secondary {
    padding: 0.9rem 1.5rem;
    background-color: transparent;
    color: #14a1a6;
    border: 2px solid #14a1a6;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    width: 100%;
    text-align: center;
}

.btn-signup-secondary:hover {
    background-color: #14a1a6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 161, 166, 0.3);
}

.login-footer,
.signup-footer,
.recovery-footer {
    font-size: 0.75rem;
    color: #999;
    line-height: 1.6;
    margin-top: 1.5rem;
    text-align: center;
}

.login-footer p,
.signup-footer p,
.recovery-footer p {
    margin: 0;
    font-size: 0.75rem;
}

.link-login,
.link-signup {
    color: #14a1a6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.link-login:hover,
.link-signup:hover {
    color: #0d7377;
    text-decoration: underline;
}

.security-footer {
    font-size: 0.75rem;
    color: #999;
    line-height: 1.6;
    margin-top: 2rem;
    text-align: center;
}

.recovery-info {
    background-color: #f0fafe;
    border-left: 4px solid #14a1a6;
    padding: 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #4a6b73;
    margin: 1.5rem 0;
    text-align: left;
}

/* ========================================
   FOOTER - TODAS AS PÁGINAS
   ======================================== */

footer.footer {
    background-color: #111620;
    color: #e0e0e0;
    padding: 1.5rem 2rem;
    margin-top: 2.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    color: #a8d8db;
    font-size: 1rem;
    margin-bottom: 0.7rem;
    font-family: 'Lora', serif;
    font-weight: 600;
}

.footer-col p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(224, 224, 224, 0.8);
    margin-bottom: 0.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.8rem;
}

.footer-col ul li a:hover {
    color: #14a1a6;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(224, 224, 224, 0.7);
    margin-bottom: 0.5rem;
}

.footer-note {
    font-size: 0.75rem;
    color: rgba(224, 224, 224, 0.6);
    line-height: 1.5;
}
.footer-link {
    text-decoration: none; /* Tira o sublinhado */
    color: inherit;        /* Faz o link herdar a cor do texto do <p> */
    transition: opacity 0.3s;
}

.footer-link:hover {
    opacity: 0.7;          /* Dá um efeito visual simples ao passar o mouse */
    text-decoration: underline; /* Opcional: só aparece o sublinhado no hover */
}

/* ========================================
   PÁGINA AGENDAR CONSULTA
   ======================================== */

.agendamento-header {
    background: linear-gradient(to top, #0b575b 0%, #14a1a6 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.agendamento-header .container {
    max-width: 1200px;
    margin: 0 auto;
}

.breadcrumb {
    text-align: left;
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #f0f0f0;
}

.agendamento-header h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.agendamento-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.agendamento-container {
    padding: 3rem 2rem;
    background-color: #f9f9f9;
}

.agendamento-container .container {
    max-width: 1200px;
    margin: 0 auto;
}
.modalidade-icon{
    width:24px;
    height:24px;
    flex-shrink:0;
}
.modalidade-section,
.calendario-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.modalidade-section h3,
.calendario-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #0d7377;
}

.modalidade-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.modalidade-option {
    position: relative;
}


.modalidade-option input[type="radio"] {
    display: none;
}

.modalidade-option label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 6px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modalidade-option input[type="radio"]:checked + label {
    border-color: #14a1a6;
    background-color: rgba(20, 161, 166, 0.05);
}

.modalidade-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: center;
}

.modalidade-icon svg {
    width: 2rem;
    height: 2rem;
    stroke: #14a1a6;
    color: #14a1a6;
}

.modalidade-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #0d7377;
    margin-bottom: 0.3rem;
}

.modalidade-desc {
    font-size: 0.85rem;
    color: #999;
}

.calendario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    background: linear-gradient(to right, rgba(13, 115, 119, 0.05), rgba(20, 161, 166, 0.05));
    padding: 1rem;
    border-radius: 6px;
}

.calendario-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #0d7377;
}

.calendario-header button {
    padding: 0.6rem 1rem;
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.calendario-header button:hover {
    background-color: #14a1a6;
    color: white;
    border-color: #14a1a6;
}

.horarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.dia-coluna {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.dia-titulo {
    text-align: center;
    font-weight: 600;
    color: #0d7377;
    padding: 0.5rem;
    border-bottom: 2px solid #14a1a6;
    font-size: 0.95rem;
}

.data {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.3rem;
}

.horario-btn {
    padding: 0.6rem 0.8rem;
    background-color: white;
    border: 2px solid #ddd;
    border-radius: 5px;
    color: #666;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.horario-btn:hover:not(:disabled) {
    background-color: #14a1a6;
    color: white;
    border-color: #14a1a6;
    transform: translateY(-2px);
}

.horario-btn:disabled {
    background-color: #f0f0f0;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.horario-btn.selected {
    background-color: #14a1a6;
    color: white;
    border-color: #14a1a6;
}

.info-section {
    margin-top: 2rem;
}

.info-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.info-column {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #14a1a6;
}

.info-column h4 {
    font-size: 1.05rem;
    color: #0d7377;
    margin-bottom: 1rem;
    font-weight: 600;
}

.info-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-column li {
    font-size: 0.9rem;
    color: #666;
    padding: 0.5rem 0;
    line-height: 1.6;
}

.info-column li::before {
    content: '✓ ';
    color: #14a1a6;
    font-weight: bold;
    margin-right: 0.5rem;
}

.info-column p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.info-column a {
    color: #14a1a6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-column a:hover {
    color: #0d7377;
    text-decoration: underline;
}

.agendamento-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-confirmar {
    padding: 0.95rem 2.5rem;
    background-color: #14a1a6;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirmar:hover {
    background-color: #0d7377;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 161, 166, 0.3);
}

.btn-cancelar {
    padding: 0.95rem 2.5rem;
    background-color: transparent;
    color: #999;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancelar:hover {
    color: #666;
    border-color: #999;
    background-color: #f9f9f9;
}

/* ========================================
   PÁGINA ÁREA DO PACIENTE
   ======================================== */

body.patient-area-page main {
    flex: 1;
    display: block;
}

.patient-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.patient-header {
    margin-bottom: 3rem;
    text-align: center;
}

.patient-header h1 {
    font-size: 2.2rem;
    color: #0d7377;
    margin-bottom: 0.5rem;
}

.patient-header p {
    font-size: 1rem;
    color: #666;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.stat-card.primary {
    background: linear-gradient(135deg, rgba(20, 161, 166, 0.1), rgba(24, 127, 125, 0.1));
    border-left: 4px solid #14a1a6;
}

.stat-icon {
    font-size: 2rem;
}

.stat-icon svg {
    width: 2rem;
    height: 2rem;
    stroke: #14a1a6;
    color: #14a1a6;
}

.input-icon {
    width: 0.875rem;
    height: 0.875rem;
    stroke: #14a1a6;
    color: #14a1a6;
    stroke-width: 1.5;
    min-width: 12px;
    margin-right: 0.8rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon svg {
    width: 50px;
    height: 50px;
    color: #14a1a6;
    stroke: #14a1a6;
}

.card-icon svg {
    width: 40px;
    height: 40px;
    color: #14a1a6;
    stroke: #14a1a6;
}

.stat-content h3 {
    font-size: 0.95rem;
    color: #666;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.stat-content p {
    margin: 0;
    font-size: 0.9rem;
}

.stat-number {
    font-size: 1.8rem;
    color: #0d7377;
    font-weight: 700;
}

.stat-date {
    color: #0d7377;
    font-weight: 600;
    font-size: 0.95rem;
}

.stat-time {
    color: #666;
    font-size: 0.85rem;
}

.consultations-section {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-top: 2rem;
}

.consultations-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.consultations-section h2 {
    font-size: 1.5rem;
    color: #0d7377;
    margin: 0;
}

.filter-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #ddd;
    margin-bottom: 1.5rem;
}

.filter-tab {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.filter-tab:hover {
    color: #14a1a6;
}

.filter-tab.active {
    color: #14a1a6;
    border-bottom-color: #14a1a6;
}

.filter-count {
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.8;
}

.filter-tipo-section {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-tipo-label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.filter-tipo-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.filter-tipo-btn {
    padding: 0.5rem 1.2rem;
    background-color: #f0f0f0;
    color: #666;
    border: 2px solid transparent;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.filter-tipo-btn:hover {
    background-color: #e0e0e0;
    color: #333;
}

.filter-tipo-btn.active {
    background-color: #14a1a6;
    color: white;
    border-color: #14a1a6;
}

.consultations-list {
    display: grid;
    gap: 1rem;
}

.consultation-item {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid #14a1a6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.consultation-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.consultation-info h4 {
    color: #0d7377;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.consultation-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0.2rem 0;
}

.consultation-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: rgba(20, 161, 166, 0.1);
    color: #14a1a6;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.consultation-type {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-scheduled {
    background-color: rgba(13, 115, 119, 0.15);
    color: #0d7377;
}

.badge-presencial {
    background-color: rgba(20, 161, 166, 0.15);
    color: #14a1a6;
}

.badge-online {
    background-color: rgba(100, 150, 200, 0.15);
    color: #6496c8;
}

/* MODAL DE RELATO */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-width: 750px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: #0d7377;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #333;
}

.relato-consulta-info {
    background-color: #14a1a6;
    color: white;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.relato-consulta-info p {
    margin: 0;
    font-weight: 600;
}

.relato-form .form-group {
    margin-bottom: 1.5rem;
}

.relato-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

.relato-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #333;
    resize: vertical;
    min-height: 150px;
    transition: border-color 0.3s ease;
}

.relato-form textarea:focus {
    outline: none;
    border-color: #14a1a6;
    box-shadow: 0 0 0 3px rgba(20, 161, 166, 0.1);
}

.character-count {
    font-size: 0.85rem;
    color: #999;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.relato-aviso {
    background-color: #f9f9f9;
    border-left: 4px solid #14a1a6;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.relato-aviso p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-enviar-relato,
.btn-cancelar-relato {
    flex: 1;
    min-width: 150px;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-enviar-relato {
    background-color: #14a1a6;
    color: white;
    border-color: #14a1a6;
}

.btn-enviar-relato:hover {
    background-color: #0d7377;
    border-color: #0d7377;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 115, 119, 0.3);
}

.btn-cancelar-relato {
    background-color: white;
    color: #14a1a6;
    border-color: #14a1a6;
}

.btn-cancelar-relato:hover {
    background-color: #f0f0f0;
    border-color: #0d7377;
    color: #0d7377;
}

/* Responsividade Modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 2rem;
        max-width: 90%;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-actions {
        flex-direction: column;
    }

    .btn-enviar-relato,
    .btn-cancelar-relato {
        width: 100%;
        min-width: auto;
    }
}

.badge-online {
    background-color: rgba(100, 150, 200, 0.15);
    color: #6496c8;
}

.consultation-date,
.consultation-code {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-bar .progress {
    height: 100%;
    background: linear-gradient(90deg, #14a1a6, #0d7377);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.consultation-time {
    text-align: center;
}

.consultation-time .time {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0d7377;
    margin: 0;
}

.consultation-action {
    display: flex;
    gap: 0.5rem;
}

.btn-reschedule,
.btn-feedback {
    padding: 0.6rem 1.2rem;
    border: 2px solid #14a1a6;
    background-color: white;
    color: #14a1a6;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-reschedule:hover,
.btn-feedback:hover {
    background-color: #14a1a6;
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination-btn {
    padding: 0.6rem 0.9rem;
    background-color: #f0f0f0;
    color: #666;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background-color: #14a1a6;
    color: white;
    border-color: #14a1a6;
}

/* ========================================
   RESPONSIVE DESIGN - MEDIA QUERIES
   ======================================== */

@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
        padding: 1rem;
        gap: 1rem;
    }

    header h2 {
        font-size: 1.1rem;
    }

    header nav {
        order: 3;
        width: 100%;
        gap: 1rem;
        font-size: 0.85rem;
    }

    header button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* Responsividade dos SVGs em tablet */
    .input-icon {
        width: 0.7rem;
        height: 0.7rem;
        min-width: 11px;
    }

    .input-field {
        padding: 0 0.6rem;
    }

    .input-field input {
        padding: 0.7rem 0;
        font-size: 0.9rem;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .login-container,
    .signup-container,
    .recovery-container {
        padding: 1rem;
    }

    .login-card,
    .signup-card,
    .recovery-card {
        padding: 2rem 1.5rem;
    }

    .login-card h1,
    .signup-card h1,
    .recovery-card h1 {
        font-size: 1.5rem;
    }

    .login-subtitle,
    .signup-subtitle,
    .recovery-subtitle {
        font-size: 0.9rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .btn-login,
    .btn-signup,
    .btn-recovery {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .back-button {
        top: 5rem;
        left: 1rem;
        font-size: 0.9rem;
    }

    .hero .container1 {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 0;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text h3 {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        max-width: 100%;
    }

    .container {
        padding: 0 1rem;
    }

    .cards-container,
    .steps-container,
    .relatos-slider {
        grid-template-columns: 1fr;
    }

    .agendamento-container {
        padding: 1.5rem;
    }

    .modalidade-options {
        grid-template-columns: 1fr;
    }

    .horarios-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 0.8rem;
    }

    .dia-titulo {
        font-size: 0.85rem;
        padding: 0.4rem;
    }

    .horario-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }

    .info-box {
        grid-template-columns: 1fr;
    }

    .agendamento-actions {
        flex-direction: column;
    }

    .btn-confirmar,
    .btn-cancelar {
        width: 100%;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .filter-tabs {
        margin-bottom: 1rem;
    }

    .filter-tab {
        padding: 0.8rem 1.2rem;
        font-size: 0.85rem;
    }

    .filter-tipo-section {
        margin-bottom: 1rem;
    }

    .filter-tipo-label {
        font-size: 0.85rem;
    }

    .patient-header h1 {
        font-size: 1.8rem;
    }

    footer.footer {
        padding: 1.5rem 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-col h3 {
        font-size: 1rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }

    .footer-note {
        font-size: 0.7rem;
    }
}

/* RESPONSIVE EXTRA SMALL DEVICES */
@media (max-width: 480px) {
    header {
        padding: 0.8rem;
        gap: 0.5rem;
    }

    header img {
        height: 40px;
    }

    header h2 {
        font-size: 0.9rem;
    }

    header nav {
        display: none;
    }

    header button {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }

    /* SVGs ainda menores em dispositivos muito pequenos */
    .input-icon {
        width: 0.6rem;
        height: 0.6rem;
        min-width: 9px;
    }

    .input-field {
        padding: 0 0.5rem;
        min-height: 40px;
    }

    .input-field input {
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }

    .login-card,
    .signup-card,
    .recovery-card {
        padding: 1.5rem 1rem;
    }

    .login-card h1,
    .signup-card h1,
    .recovery-card h1 {
        font-size: 1.3rem;
    }

    .form-group label {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }

    .btn-login,
    .btn-signup,
    .btn-recovery {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 1.5rem;
    }

    .hero-text h3 {
        font-size: 1rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .back-button {
        top: 4.5rem;
        left: 0.8rem;
        font-size: 0.8rem;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 1rem;
        gap: 0.8rem;
    }

    .stat-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }

    .filter-tabs {
        margin-bottom: 1rem;
        gap: 0;
    }

    .filter-tab {
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
        flex: 1;
    }

    .filter-tipo-section {
        margin-bottom: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .filter-tipo-label {
        font-size: 0.8rem;
    }

    .filter-tipo-buttons {
        width: 100%;
        gap: 0.5rem;
    }

    .filter-tipo-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        flex: 1;
    }

    .footer-container {
        gap: 1rem;
    }

    .footer-col p,
    .footer-col ul li a {
        font-size: 0.75rem;
    }
}