/* Reset e Variáveis */
:root {
    --azul: #32559f;
    --azure: #70a2c2;
    --ciano-claro: #fbfcfc;
    --branco: #ffffff;
    --preto: #1a1a1a;
    --cinza-escuro: #2d2d2d;
    --cinza: #666666;
    --cinza-claro: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--preto);
    background-color: var(--branco);
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--azul) 0%, var(--azure) 100%);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
    width: auto;
}

.btn-whatsapp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--azul);
    padding: 12px 24px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-whatsapp-header:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    background: var(--branco);
}

/* Hero Section */
.hero {
    background-image: url('images/backhero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 0;
    color: var(--branco);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(50, 85, 159, 0.85) 0%, rgba(112, 162, 194, 0.75) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-title .highlight {
    color: var(--ciano-claro);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 300;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--branco);
    color: var(--azul);
    padding: 18px 36px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 6px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--ciano-claro) 0%, var(--branco) 100%);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--branco);
    padding: 18px 36px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--azul);
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.2);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    opacity: 0.9;
}

.feature-item svg {
    width: 24px;
    height: 24px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--ciano-claro);
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--azul);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--cinza);
    max-width: 600px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.about-card {
    background: var(--branco);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--azul) 0%, var(--azure) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(50, 85, 159, 0.15), 0 8px 24px rgba(50, 85, 159, 0.1);
    z-index: 10;
    position: relative;
    border-color: rgba(50, 85, 159, 0.2);
}

.card-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--ciano-claro) 0%, rgba(112, 162, 194, 0.1) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(50, 85, 159, 0.1);
    border: 1px solid rgba(50, 85, 159, 0.1);
}

.about-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(50, 85, 159, 0.2);
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--azul);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--cinza);
    line-height: 1.8;
}

/* Treatment Section */
.treatment {
    padding: 100px 0;
    background: var(--branco);
    position: relative;
    z-index: 2;
}

.treatment-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.treatment-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--azul);
    margin-bottom: 1.5rem;
    text-align: center;
}

.treatment-text > p {
    font-size: 1.2rem;
    color: var(--cinza);
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.8;
}

.treatment-list {
    list-style: none;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.treatment-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--ciano-claro) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: 16px;
    font-size: 1.1rem;
    color: var(--cinza-escuro);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(50, 85, 159, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.treatment-list li:hover {
    background: linear-gradient(135deg, var(--azul) 0%, var(--azure) 100%);
    color: var(--branco);
    transform: translateX(12px) scale(1.02);
    position: relative;
    z-index: 5;
    box-shadow: 0 8px 24px rgba(50, 85, 159, 0.25), 0 4px 12px rgba(50, 85, 159, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.treatment-list li svg {
    color: var(--azul);
    flex-shrink: 0;
}

.treatment-list li:hover svg {
    color: var(--branco);
}

.treatment-text .btn-primary {
    display: flex;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
}

/* Units Section */
.units {
    padding: 100px 0;
    background: var(--ciano-claro);
    position: relative;
    z-index: 2;
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.unit-card {
    background: var(--branco);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.unit-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(50, 85, 159, 0.05) 0%, rgba(112, 162, 194, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.unit-card:hover::after {
    opacity: 1;
}

.unit-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(50, 85, 159, 0.15), 0 8px 24px rgba(50, 85, 159, 0.1);
    z-index: 10;
    position: relative;
    border-color: rgba(50, 85, 159, 0.2);
}

.unit-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.unit-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(50, 85, 159, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.unit-card:hover .unit-image::after {
    opacity: 1;
}

.unit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.unit-card:hover .unit-image img {
    transform: scale(1.15);
}

.unit-content {
    padding: 2rem;
}

.unit-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--azul);
    margin-bottom: 1rem;
}

.unit-content p {
    color: var(--cinza);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.btn-unit {
    display: inline-block;
    background: linear-gradient(135deg, var(--azul) 0%, var(--azure) 100%);
    color: var(--branco);
    padding: 14px 28px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(50, 85, 159, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-unit:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 28px rgba(50, 85, 159, 0.35), 0 4px 12px rgba(50, 85, 159, 0.2);
    background: linear-gradient(135deg, var(--azure) 0%, var(--azul) 100%);
}

.units-info {
    margin-top: 4rem;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--branco) 0%, var(--ciano-claro) 100%);
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(50, 85, 159, 0.1);
    backdrop-filter: blur(10px);
}

.units-text {
    font-size: 1.2rem;
    color: var(--cinza);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.units-text strong {
    color: var(--azul);
    font-weight: 700;
}

.units-info .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--branco);
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--ciano-claro) 0%, rgba(255, 255, 255, 0.8) 100%);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(50, 85, 159, 0.1);
    backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 60px rgba(50, 85, 159, 0.12), 0 8px 24px rgba(50, 85, 159, 0.08);
    border-color: rgba(50, 85, 159, 0.2);
}

.quote-icon {
    color: var(--azul);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.testimonial-stars svg {
    color: #FFD700;
    width: 20px;
    height: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--cinza-escuro);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(50, 85, 159, 0.1);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--azul);
    margin-bottom: 0.25rem;
}

.author-info span {
    font-size: 0.9rem;
    color: var(--cinza);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--ciano-claro);
    position: relative;
    z-index: 2;
}

.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--branco);
    border-radius: 20px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(50, 85, 159, 0.12), 0 4px 12px rgba(50, 85, 159, 0.08);
    transform: translateX(4px);
    border-color: rgba(50, 85, 159, 0.15);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--ciano-claro);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--azul);
    margin: 0;
    flex: 1;
}

.faq-icon {
    color: var(--azul);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--cinza);
    line-height: 1.8;
    margin: 0;
    padding-top: 1rem;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--branco) 0%, var(--ciano-claro) 100%);
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(50, 85, 159, 0.1);
    backdrop-filter: blur(10px);
}

.faq-cta p {
    font-size: 1.2rem;
    color: var(--cinza);
    margin-bottom: 1.5rem;
}

.faq-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--azul) 0%, var(--azure) 100%);
    color: var(--branco);
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    border-radius: 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--branco);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(37, 211, 102, 0.3);
    z-index: 9999 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse 2s infinite;
    cursor: pointer;
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.floating-whatsapp:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5), 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #2FE576 0%, #25D366 100%);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #FF0000;
    border-radius: 50%;
    border: 2px solid var(--branco);
    animation: ping 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

@keyframes ping {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* WhatsApp Popup */
.whatsapp-popup {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 360px;
    max-width: calc(100vw - 60px);
    max-height: calc(100vh - 140px);
    background: var(--branco);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
}

.whatsapp-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.popup-content {
    position: relative;
    padding: 0;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--cinza);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--preto);
}

.popup-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.popup-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--branco);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.popup-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.popup-header-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--preto);
    margin: 0 0 4px 0;
}

.popup-header-info p {
    font-size: 0.9rem;
    color: var(--cinza);
    margin: 0 0 6px 0;
}

.online-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #25D366;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #25D366;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.popup-body {
    padding: 20px;
}

.popup-body h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--preto);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.popup-body > p {
    font-size: 0.95rem;
    color: var(--cinza);
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 10px 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(1) {
    background: #FF0000;
    animation-delay: 0s;
}

.typing-indicator span:nth-child(2) {
    background: #FFD700;
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    background: #25D366;
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.popup-footer {
    padding: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.popup-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--branco);
    text-decoration: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), 0 4px 12px rgba(37, 211, 102, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-whatsapp-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4), 0 6px 16px rgba(37, 211, 102, 0.3);
    background: linear-gradient(135deg, #2FE576 0%, #25D366 100%);
}

.priority-text {
    text-align: center;
    font-size: 0.85rem;
    color: #FF6B35;
    margin: 12px 0 0 0;
    font-weight: 600;
}

/* Responsive WhatsApp Popup */
@media (max-width: 768px) {
    .whatsapp-popup {
        width: calc(100vw - 40px);
        right: 20px;
        bottom: 100px;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .whatsapp-popup {
        bottom: 90px;
        max-height: calc(100vh - 110px);
    }
}

/* Footer */
.footer {
    background: var(--cinza-escuro);
    color: var(--branco);
    padding: 60px 0 20px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-contact h4 {
    margin-bottom: 1rem;
    color: var(--branco);
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--azure);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-developer {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-developer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-developer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-developer a:hover {
    color: var(--azure);
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .units-grid {
        grid-template-columns: 1fr;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-large {
        width: 100%;
    }

    .floating-whatsapp {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.5rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .about,
    .treatment,
    .units,
    .testimonials,
    .faq,
    .cta-section {
        padding: 60px 0;
    }

    .container {
        padding: 0 15px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .popup-body h2 {
        font-size: 1.1rem;
    }

    .popup-body > p {
        font-size: 0.9rem;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .units-info {
        padding: 2rem 1.5rem;
    }

    .units-text {
        font-size: 1.1rem;
    }
}

/* Melhorias de acessibilidade e performance */
img {
    max-width: 100%;
    height: auto;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Otimização para telas muito pequenas */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .whatsapp-popup {
        width: calc(100vw - 20px);
        right: 10px;
    }
}
