/* ==============================================================
   Componentes Reutilizáveis
   ============================================================== */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-image: url('../images/hero_v5.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-top: 0;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 54, 93, 0.9) 0%, rgba(26, 54, 93, 0.5) 50%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--bg-white);
    max-width: 650px;
}

.hero h1 {
    font-size: 3.4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--bg-white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-features {
    margin-top: var(--spacing-md);
}

.about-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--primary-color);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: rgba(197, 168, 128, 0.2);
    color: var(--secondary-color);
    border-radius: 50%;
    font-weight: bold;
}

.about-image-wrapper {
    position: relative;
}

.about-image-box {
    width: 100%;
    height: 500px;
    background-image: url('../images/consultorio.png');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--bg-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    border-left: 4px solid var(--secondary-color);
}

.experience-badge .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.experience-badge .text {
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--text-light);
}

/* Specialties */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    text-align: left;
}

.specialty-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.specialty-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.specialty-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.vascular-img {
    background-image: url('../images/vascular.png');
    background-color: #e2e8f0;
}

.derm-img {
    background-image: url('../images/dermatologia.png');
    background-color: #fcebeb;
}

.specialty-content {
    padding: 2.5rem;
}

.specialty-content h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.specialty-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.specialty-list {
    margin-bottom: var(--spacing-md);
}

.specialty-list li {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.specialty-list li::before {
    content: '•';
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

.link-arrow {
    font-weight: 600;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-arrow:hover {
    color: var(--primary-color);
    gap: 0.8rem;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.team-member {
    background-color: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-member:hover {
    box-shadow: var(--shadow-md);
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 4px solid var(--bg-light);
}

.avatar-1 {
    background-image: url('../images/medico1.png');
}

.avatar-2 {
    background-image: url('../images/medico2.png');
}

.member-role {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.info-blocks {
    margin-top: var(--spacing-md);
}

.info-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.2);
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-link {
    display: block;
    transition: transform 0.3s ease;
}

.whatsapp-link:hover {
    transform: scale(1.1);
}

/* Page Content */
.page-content {
    padding-top: 100px;
    min-height: 60vh;
}

.page-content .container {
    max-width: 800px;
    margin: 0 auto;
}

.page-content h1 {
    margin-bottom: var(--spacing-md);
}

.page-content h2 {
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.page-content p {
    margin-bottom: var(--spacing-sm);
}

.page-content ul,
.page-content ol {
    margin: var(--spacing-sm) 0 var(--spacing-sm) var(--spacing-md);
}

/* Responsive Components */
@media screen and (max-width: 992px) {

    .about-container,
    .contact-grid,
    .specialties-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .contact-info,
    .contact-form-wrapper {
        text-align: center;
    }

    .form-group label {
        text-align: center;
    }

    .info-item {
        margin-left: auto;
        margin-right: auto;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }

    .hero-content {
        text-align: center;
    }

    .hero-overlay {
        background: linear-gradient(to bottom, rgba(26, 54, 93, 0.8) 0%, rgba(26, 54, 93, 0.9) 100%);
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
    }

    .btn-lg {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .specialty-content {
        padding: 1.5rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .whatsapp-button {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-link svg {
        width: 50px;
        height: 50px;
    }
}

/* ==============================================================
   WhatsApp Button - Estilo Premium
   ============================================================== */

.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    cursor: pointer;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    padding: 12px 24px 12px 20px;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    border: none;
}

.whatsapp-link:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #20B859 0%, #0E6B5E 100%);
}

.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.whatsapp-link:hover .whatsapp-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.whatsapp-text {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
}

/* Efeito de pulso (opcional) */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-link {
    animation: pulse 2s infinite;
}

.whatsapp-link:hover {
    animation: none;
}

/* Responsivo */
@media screen and (max-width: 768px) {
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-link {
        padding: 10px 18px 10px 15px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }

    .whatsapp-icon svg {
        width: 28px;
        height: 28px;
    }

    .whatsapp-text {
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .whatsapp-link {
        padding: 8px 14px 8px 12px;
    }

    .whatsapp-icon {
        width: 24px;
        height: 24px;
    }

    .whatsapp-icon svg {
        width: 24px;
        height: 24px;
    }

    .whatsapp-text {
        font-size: 0.85rem;
    }
}

/* Versão apenas ícone no mobile */
@media screen and (max-width: 480px) {
    .whatsapp-text {
        display: none;
    }

    .whatsapp-link {
        padding: 12px;
        border-radius: 50%;
    }

    .whatsapp-icon {
        margin: 0;
    }
}