/* Color Variables & Reset */
:root {
    --primary: #20C997; /* Medical Green */
    --primary-light: #48D6AB;
    --primary-dark: #12A176;
    --secondary: #3B82F6; /* Soft Blue */
    --secondary-light: #BFDBFE;
    --accent: #E11D48; /* For the 'Topline' text/brand */
    --text-main: #FFFFFF;
    --text-muted: #E2E8F0;
    --bg-main: #274360;
    --bg-alt: #1A3047;
    --border: #3A5A78;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-float: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 1.1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.w-100 { width: 100%; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(32, 201, 151, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(32, 201, 151, 0.5);
}

.btn-secondary {
    background-color: var(--secondary-light);
    color: var(--secondary);
}

.btn-secondary:hover {
    background-color: #DBEAFE;
    transform: translateY(-2px);
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85); /* Glassmorphism */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 16px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a.nav-item {
    font-weight: 500;
    color: #4B5563;
}

.nav-links a.nav-item:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: var(--primary-light);
    filter: blur(100px);
    opacity: 0.2;
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(32, 201, 151, 0.2);
    color: var(--primary-light);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    z-index: 1;
    transform: scale(1.1);
    transform-origin: center right;
}

.image-wrapper > img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
    border: 8px solid white;
    width: 100%;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 4s ease-in-out infinite;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
}

.card-text strong {
    display: block;
    color: #1F2937;
    font-family: var(--font-heading);
}

.card-text span {
    font-size: 0.875rem;
    color: #4B5563;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Sections Global */
.section-title {
    margin-bottom: 56px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-title h2 span {
    color: var(--primary);
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
}

.benefits .section-title { text-align: center; }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: left;
    color: #1F2937;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.icon-box {
    width: 64px;
    height: 64px;
    background: rgba(32, 201, 151, 0.1);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.benefit-card:hover .icon-box {
    background: var(--primary);
    color: white;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.benefit-card p {
    color: #4B5563;
    font-size: 1rem;
}

.benefit-card strong {
    color: var(--primary-dark);
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background-color: var(--bg-alt);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.price-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
    color: #1F2937;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.price-card.popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
    z-index: 2;
}

.price-card.premium {
    border: 1px solid var(--secondary);
    background: linear-gradient(to bottom, #ffffff, #F0F9FF);
    color: #1F2937;
}

.popular-badge, .premium-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.popular-badge {
    background-color: var(--primary);
}

.premium-badge {
    background-color: var(--secondary);
}

.card-header {
    margin-bottom: 24px;
    text-align: center;
}

.card-header h4 {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.plan-type {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 32px;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4B5563;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -2px;
}

.period {
    color: #4B5563;
    margin-left: 4px;
}

.features {
    margin-bottom: 32px;
    flex-grow: 1;
}

.features ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #4B5563;
    font-size: 0.95rem;
}

.features i {
    color: var(--primary);
    font-size: 1.25rem;
    margin-top: 2px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
    isolation: isolate;
    color: #1F2937;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    font-family: serif;
    color: rgba(32, 201, 151, 0.1);
    z-index: -1;
    line-height: 1;
}

.stars {
    color: #FBBF24;
    margin-bottom: 16px;
    display: flex;
    gap: 4px;
}

.quote {
    font-size: 1.125rem;
    margin-bottom: 24px;
    font-style: italic;
    color: #1F2937;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-info img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.client-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.client-info span {
    font-size: 0.875rem;
    color: #4B5563;
}

/* Footer Section */
.footer {
    background-color: #121E2C;
    color: white;
    padding: 80px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 24px;
    background-color: white;
    padding: 4px;
    border-radius: 8px;
}

.footer-brand p {
    color: #9CA3AF;
    max-width: 300px;
}

.footer h4 {
    font-size: 1.125rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #9CA3AF;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9CA3AF;
}

.footer-contact i {
    font-size: 1.5rem;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    color: #9CA3AF;
    font-size: 0.875rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 36px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 20px rgba(37, 211, 102, 0.4);
}

.tooltip {
    position: absolute;
    right: 75px;
    background: white;
    color: #25D366;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    white-space: nowrap;
}

.whatsapp-float:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .price-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 40px;
    }
    .hero-actions {
        justify-content: center;
    }
    .floating-card {
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        animation: none;
    }
    .benefits-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none; 
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Specialties Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    color: #1F2937;
    margin: auto;
    padding: 40px;
    border: 1px solid #888;
    width: 90%;
    max-width: 700px;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close {
    color: #aaa;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: var(--primary);
    text-decoration: none;
}

.modal-content h2 {
    color: var(--primary-dark);
    margin-bottom: 24px;
    font-size: 2rem;
    text-align: center;
}

.specialties-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.specialties-grid ul {
    list-style-type: none;
}

.specialties-grid li {
    margin-bottom: 12px;
    font-weight: 500;
    position: relative;
    padding-left: 20px;
}

.specialties-grid li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

@media (max-width: 600px) {
    .specialties-grid {
        grid-template-columns: 1fr;
    }
}

/* Ajuste do tamanho da logo */
.custom-logo,
.site-logo img,
img.custom-logo,
header img {
    max-height: 120px !important;
    width: auto !important;
}

header img {
    max-height: 150px !important;
}

header {
    padding: 20px 0 !important;
}


