﻿/* ==========================================================================
   Pages: Conheça a Clínica
   ========================================================================== */

/* ============================================================
   HERO DA PÁGINA
   ============================================================ */
.clinica-hero {
    padding: var(--spacing-16) 0;
    background-color: var(--color-primary);
    position: relative;
    overflow: hidden;
}

/* Decorative orbs */
.clinica-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.clinica-hero::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -60px;
    width: 350px;
    height: 350px;
    border-radius: var(--radius-full);
    background: rgba(32, 201, 101, 0.08);
    pointer-events: none;
}

.clinica-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-5);
    max-width: 42rem;
}

.clinica-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    background: var(--color-white-10);
    border: 1px solid var(--color-white-20);
    color: var(--color-white);
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    width: fit-content;
}

.clinica-hero__badge .material-symbols-outlined {
    font-size: 1.1rem;
    color: var(--color-accent-success);
}

.clinica-hero__title {
    font-size: var(--font-size-5xl);
    color: var(--color-white);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.clinica-hero__title--highlight {
    color: var(--color-accent-success);
}

.clinica-hero__desc {
    font-size: var(--font-size-lg);
    color: var(--color-white-60);
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .clinica-hero__title {
        font-size: var(--font-size-6xl);
    }
}

/* ============================================================
   TOUR SECTION (BASE)
   ============================================================ */
.tour-section {
    padding: var(--spacing-24) 0;
    background-color: var(--color-white);
}

.tour-section--alt {
    background-color: var(--color-slate-50);
}

/* Layout: grid de duas colunas */
.tour-section__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-12);
    align-items: center;
}

@media (min-width: 1024px) {
    .tour-section__layout {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-20);
    }

    /* Inverte a ordem: imagem à direita */
    .tour-section__layout--image-right .tour-section__media {
        order: 2;
    }

    .tour-section__layout--image-right .tour-section__content {
        order: 1;
    }
}

/* ============================================================
   LABEL DO NÚMERO DA SEÇÃO
   ============================================================ */
.tour-section__label {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-4);
}

.tour-section__label-num {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    color: var(--color-primary);
    opacity: 0.12;
    line-height: 1;
    letter-spacing: -0.05em;
}

.tour-section__label-text {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--color-accent-success);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: var(--spacing-1) var(--spacing-3);
    background: rgba(32, 201, 101, 0.1);
    border-radius: var(--radius-full);
    border: 1px solid rgba(32, 201, 101, 0.25);
}

/* ============================================================
   CONTEÚDO DA SEÇÃO
   ============================================================ */
.tour-section__title {
    font-size: var(--font-size-3xl);
    color: var(--color-primary);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: var(--spacing-5);
}

@media (min-width: 1024px) {
    .tour-section__title {
        font-size: var(--font-size-4xl);
    }
}

.tour-section__desc {
    font-size: var(--font-size-base);
    color: var(--color-slate-500);
    line-height: 1.75;
    margin-bottom: var(--spacing-8);
}

.tour-section__desc strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* Features list */
.tour-section__features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-8) 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.tour-section__feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-3);
    font-size: var(--font-size-sm);
    color: var(--color-slate-600);
    font-weight: 500;
    line-height: 1.5;
}

.tour-section__feature-item .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--color-accent-success);
    flex-shrink: 0;
    margin-top: 1px;
}

/* Stats */
.tour-section__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-8);
    padding: var(--spacing-6);
    background: var(--color-primary-light-5);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--color-primary-light-20);
}

.tour-stat__value {
    display: block;
    font-size: var(--font-size-4xl);
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: var(--spacing-2);
}

.tour-stat__label {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-slate-500);
    font-weight: 500;
    line-height: 1.4;
}

/* Amenities badges */
.tour-section__amenities {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-3);
    margin-bottom: var(--spacing-6);
}

.amenity-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-4);
    background: var(--color-white);
    border: 1px solid var(--color-slate-200);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--color-slate-600);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.amenity-badge .material-symbols-outlined {
    font-size: 1rem;
    color: var(--color-primary);
}

.amenity-badge:hover {
    border-color: var(--color-primary-light-20);
    background: var(--color-primary-light-5);
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ============================================================
   BOTÕES CTA
   ============================================================ */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-4) var(--spacing-8);
    background: var(--color-accent-success);
    color: var(--color-white);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: 700;
    text-decoration: none;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-success);
    width: fit-content;
}

.btn-cta .material-symbols-outlined {
    font-size: 1.25rem;
}

.btn-cta:hover {
    background: var(--color-accent-success-hover);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -4px rgba(32, 201, 101, 0.5);
}

.btn-cta--outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: none;
}

.btn-cta--outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
}

.btn-cta--hero {
    padding: var(--spacing-5) var(--spacing-10);
    font-size: var(--font-size-lg);
}

/* ============================================================
   MÍDIA / IMAGENS
   ============================================================ */
.tour-section__media {
    position: relative;
}

.tour-section__image-frame {
    border-radius: var(--radius-3xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--color-slate-100);
}

/* Destaque especial para sala de cardiologia */
.tour-section__image-frame--featured {
    border: 3px solid var(--color-primary);
}

.tour-section__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-section__image-frame:hover .tour-section__image {
    transform: scale(1.04);
}

/* Badge flutuante sobre a imagem */
.tour-section__image-badge {
    position: absolute;
    bottom: var(--spacing-5);
    left: var(--spacing-5);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-4);
    background: rgba(0, 33, 71, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: var(--color-white);
    z-index: 2;
}

.tour-section__image-badge .material-symbols-outlined {
    font-size: 1rem;
    color: var(--color-accent-success);
}

.tour-section__image-badge--green {
    background: rgba(32, 201, 101, 0.9);
    color: var(--color-white);
}

.tour-section__image-badge--green .material-symbols-outlined {
    color: var(--color-white);
}

/* Badge de destaque no topo da imagem */
.tour-section__featured-badge {
    position: absolute;
    top: var(--spacing-5);
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-2) var(--spacing-5);
    background: var(--color-primary);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--color-white);
    z-index: 2;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.tour-section__featured-badge .material-symbols-outlined {
    font-size: 1rem;
    color: #ff6b6b;
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.clinica-cta-final {
    padding: var(--spacing-24) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #003a75 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.clinica-cta-final::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: var(--radius-full);
    background: rgba(32, 201, 101, 0.07);
    pointer-events: none;
}

.clinica-cta-final__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-5);
}

.clinica-cta-final__icon {
    font-size: 3rem;
    color: var(--color-accent-success);
}

.clinica-cta-final__title {
    font-size: var(--font-size-4xl);
    color: var(--color-white);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

@media (min-width: 1024px) {
    .clinica-cta-final__title {
        font-size: var(--font-size-5xl);
    }
}

.clinica-cta-final__desc {
    font-size: var(--font-size-lg);
    color: var(--color-white-60);
    max-width: 32rem;
    line-height: 1.6;
}

/* ============================================================
   ANIMAÇÕES DE ENTRADA (IntersectionObserver)
   ============================================================ */
.tour-section__layout {
    opacity: 0;
    transform: translateY(2rem);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.tour-section__layout.reveal--visible {
    opacity: 1;
    transform: translateY(0);
}
