@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
    --primary: #3d3d8f;
    --primary-light: #5252b5;
    --secondary: #667eea;
    --purple: #764ba2;
    --accent: #10b981; /* Emerald Green for health plans & conversion */
    --accent-light: #d1fae5;
    --dark: #0f172a;
    --light-bg: #f8fafc;
    --card-shadow: 0 10px 30px rgba(15, 23, 42, 0.04), 0 1px 8px rgba(15, 23, 42, 0.02);
    --hover-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: #334155;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ==========================================================================
   REUSABLE UTILITIES
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--dark);
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
}

.gradient-text {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--purple) 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
    background: #ffffff;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid var(--glass-border);
    height: 70px;
}

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

.logo {
    display: flex;
    align-items: center;
    height: 52px;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: #475569;
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--dark);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 80% 20%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 40%),
                var(--light-bg);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-light);
    padding: 8px 18px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-heading);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-tag span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--secondary);
    display: inline-block;
    animation: pulse 1.5s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--dark);
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 1.15rem;
    color: #475569;
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    border-top: 1px solid #e2e8f0;
    padding-top: 32px;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
    z-index: 2;
    border: 4px solid #fff;
    transform: rotate(2deg);
}

.hero-bg-blur {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--purple) 100%);
    filter: blur(80px);
    opacity: 0.25;
    z-index: 1;
}

/* Float card widgets for premium feel */
.hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid #ffffff;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 3;
    animation: float 4s infinite ease-in-out;
}

.hero-float-card-3 {
    bottom: 80px;
    left: -30px;
    animation: float 4s ease-in-out 1s infinite;
}

.hero-float-card-1 {
    top: 40px;
    left: -40px;
    animation-delay: 0s;
}

.hero-float-card-2 {
    bottom: 40px;
    right: -20px;
    animation-delay: 2s;
}

.float-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.hero-float-card-2 .float-icon {
    background-color: rgba(102, 126, 234, 0.15);
    color: var(--secondary);
}

.float-info h4 {
    font-size: 0.9rem;
    font-weight: 800;
}

.float-info p {
    font-size: 0.75rem;
    color: #64748b;
}

/* ==========================================================================
   PRODUCTS & FILTER SECTION
   ========================================================================== */
.products {
    background-color: #fff;
    position: relative;
    z-index: 10;
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    background: #f1f5f9;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #475569;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.filter-btn:hover {
    background: #e2e8f0;
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--purple) 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--light-bg);
    border-radius: 24px;
    padding: 36px;
    transition: var(--transition);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--purple) 100%);
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: #e2e8f0;
}

.product-card:hover::before {
    opacity: 1;
}

.product-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background-color: #fff;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition);
}

.product-card:hover .product-icon {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--purple) 100%);
    color: #fff;
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.product-card p {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-features {
    list-style: none;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-features li {
    font-size: 0.88rem;
    font-weight: 500;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
}

.product-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-action .btn-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-action .btn-text i {
    transition: var(--transition);
}

.product-card:hover .product-action .btn-text i {
    transform: translateX(4px);
}

/* Special styling for Planos de Saúde indicator */
.health-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: var(--accent-light);
    color: #065f46;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 99px;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   PARTNERS SECTION
   ========================================================================== */
.partners {
    background-color: var(--light-bg);
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.partners-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: default;
    transition: var(--transition);
}

.partner-logo:hover {
    color: var(--primary);
    transform: scale(1.05);
    opacity: 1;
}

/* ==========================================================================
   ABOUT / TRUST SECTION
   ========================================================================== */
.about {
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-graphics {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-card {
    background-color: var(--light-bg);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    max-width: 440px;
    position: relative;
    z-index: 2;
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.about-card p {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.about-blur {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--purple) 100%);
    filter: blur(60px);
    opacity: 0.15;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.about-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.about-list-item {
    display: flex;
    gap: 16px;
}

.about-list-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(102, 126, 234, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-list-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-list-text p {
    font-size: 0.92rem;
    color: #64748b;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-banner {
    padding: 0;
    position: relative;
    z-index: 10;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--purple) 100%);
    border-radius: 30px;
    padding: 80px 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(61, 61, 143, 0.25);
    text-align: center;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.cta-box-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    margin: 0 auto;
}

.cta-box h2 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-buttons .btn-secondary {
    border-color: #fff;
    background-color: transparent;
    color: #fff;
}

.cta-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--dark);
    color: #94a3b8;
    padding-top: 100px;
    padding-bottom: 40px;
    border-top: 1px solid #1e293b;
    position: relative;
    z-index: 5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.footer-brand > p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.footer-links h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #64748b;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

.footer-contact h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37,211,102,0.25);
    width: 100%;
    justify-content: center;
}

.footer-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #64748b;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1e293b;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-btn:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--purple) 100%);
    color: #fff;
    transform: translateY(-3px);
}

.footer-nav h4, .footer-contact h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 4px;
}

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

.contact-item {
    display: flex;
    gap: 12px;
}

.contact-item .contact-icon {
    font-size: 1.1rem;
    color: var(--secondary);
}

.contact-item p {
    font-size: 0.92rem;
    color: #94a3b8;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: #64748b;
}

/* ==========================================================================
   FLOATING WHATSAPP & IA WIDGETS
   ========================================================================== */
.floating-widgets {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}

.whatsapp-widget {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    color: #fff;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.whatsapp-widget::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: ripple 2s infinite;
    z-index: -1;
}

.whatsapp-widget:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

/* Tooltip dynamic prompt for widget */
.widget-prompt {
    position: absolute;
    right: 76px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
    border: 1px solid #f1f5f9;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-widget:hover .widget-prompt {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}

/* ==========================================================================
   ANIMATIONS & EFFECTS
   ========================================================================== */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

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

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Mobile responsive menu animation overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-image-wrapper {
        order: -1;
    }
    .hero-float-card-1 {
        left: 20px;
    }
    .hero-float-card-2 {
        right: 20px;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .about-graphics {
        order: 1;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 70px 0;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: calc(100vh - 80px);
        background-color: #fff;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.05);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 24px;
        gap: 24px;
        transition: var(--transition);
    }
    .nav-menu.active {
        left: 0;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-cta {
        display: none; /* In mobile, CTA is inside menu or handles WhatsApp directly */
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .cta-box {
        padding: 60px 24px;
    }
    .cta-box h2 {
        font-size: 2.2rem;
    }
    .about-features {
        gap: 20px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ABOUT FEATURES
   ========================================================================== */
.about-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-icon--colored {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--purple) 100%);
}

.about-feature:hover .feature-icon {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--purple) 100%);
    transform: scale(1.05);
}

.feature-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(102, 126, 234, 0.12);
    border-radius: 20px;
    padding: 2px 9px;
    margin-left: 8px;
    vertical-align: middle;
    letter-spacing: 0.01em;
}

.about-feature h4 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--dark);
}

.about-feature p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact {
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.contact-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 32px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hover-shadow);
    border-color: #e2e8f0;
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}

.contact-card:hover .contact-icon {
    transform: scale(1.08) rotate(-3deg);
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.contact-card p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.6;
    flex-grow: 1;
}

/* ==========================================================================
   SOCIAL LINKS
   ========================================================================== */
.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1e293b;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid #334155;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--purple) 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    color: #fff;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: var(--transition);
    animation: float-bob 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12) rotate(5deg);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #25d366;
    animation: ripple 2.5s infinite;
}

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


/* ── Carrossel de Operadoras ── */
@keyframes portalLogoScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.portal-logos-track {
    display: flex;
    align-items: center;
    gap: 56px;
    width: max-content;
    animation: portalLogoScroll 35s linear infinite;
    padding: 16px 0;
    will-change: transform;
}
.portal-logos-track:hover { animation-play-state: paused; }

@keyframes portalLogoScrollReverse {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
.portal-logos-reverse {
    animation-name: portalLogoScrollReverse;
}
.portal-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.portal-logo-item img {
    height: 56px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: grayscale(40%);
    opacity: 0.75;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.portal-logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.08);
}
.portal-logo-item img[alt="Hapvida"] { height: 80px; }
.portal-logo-item img[alt="Sami"],
.portal-logo-item img[alt="Blue"] { height: 90px; }
.portal-logo-item img[alt="Porto Med"] { height: 130px; }
.portal-logo-item img[alt="Porto Saúde"] { height: 60px; }
.portal-logo-item img[alt="Omint"] { height: 46px; }
.portal-logo-item img[alt="São Camilo"] { height: 80px; }
.portal-logo-item img[alt="Sagrada Família"] { height: 80px; }

/* Logos menores no segundo carrossel que precisam de mais altura */
.portal-logo-item img[alt="Zurich"] { height: 80px; }
.portal-logo-item img[alt="Porto Seguro"] { height: 90px; }
.portal-logo-item img[alt="Tokio Marine"] { height: 90px; }
.portal-logo-item img[alt="Mitsui"] { height: 110px; }
.portal-logo-item img[alt="Suhai"] { height: 36px; }
.portal-logo-item img[alt="Mapfre"] { height: 100px; }
.portal-logo-item img[alt="Yelum"] { height: 50px; }
.portal-logo-item img[alt="Pier"] { height: 62px; }

/* Oculto no desktop, visível só no mobile via media query */
.mobile-break { display: none; }

/* ==========================================================================
   MOBILE — max-width: 480px
   ========================================================================== */
@media (max-width: 480px) {

    /* ── Evita scroll horizontal ── */
    html, body { overflow-x: hidden; max-width: 100vw; }

    /* ── Quebra de linha só no mobile ── */
    .mobile-break { display: block; }

    /* ── Navbar ── */
    .navbar { padding: 0 16px; }
    .nav-container { position: relative; justify-content: center; }
    .logo {
        height: 56px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    .logo img {
        height: 56px;
        width: auto;
        image-rendering: auto;
        -webkit-font-smoothing: antialiased;
    }
    .mobile-toggle { position: absolute; right: 0; }

    /* ── Hero ── */
    .hero { padding: 56px 0 28px; }
    .hero-title { font-size: 1.75rem; line-height: 1.25; }
    .hero-desc { font-size: 0.9rem; }
    .hero-tag { font-size: 0.72rem; padding: 6px 14px; }
    .hero-ctas { flex-direction: column; gap: 10px; }
    .hero-ctas .btn { width: 100%; text-align: center; }
    .hero-stats { gap: 16px; }
    .hero-stats .stat-item h3 { font-size: 1.6rem; }
    .hero-stats .stat-item p { font-size: 0.75rem; }

    /* Hero image — esconde no mobile pra ganhar espaço */
    .hero-image-wrapper { display: none; }

    /* ── Seções ── */
    .section { padding: 48px 0; }
    .section-header { text-align: center; }
    .section-header h2 { font-size: 1.7rem; }
    .section-header p { font-size: 0.9rem; }
    .container { padding: 0 16px; }

    /* ── Parceiros / Carrossel ── */
    .portal-logos-track { gap: 32px; }
    .portal-logo-item img { height: 36px !important; }
    /* Sem fade nas bordas — overflow limpo no mobile */
    [style*="linear-gradient(to right"] { display: none !important; }
    [style*="linear-gradient(to left"] { display: none !important; }

    /* ── Produtos ── */
    .filter-container { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; width: 100%; }
    .filter-buttons { gap: 6px; flex-wrap: wrap; justify-content: center; width: 100%; }
    .filter-btn { font-size: 0.78rem; padding: 6px 12px; white-space: nowrap; }
    .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .product-card { padding: 16px 12px; }
    .product-card h3 { font-size: 0.9rem; }
    .product-card p { font-size: 0.8rem; }
    /* Garante que nenhum card ultrapasse a tela */
    .product-card, .contact-card, .about-card { max-width: 100%; box-sizing: border-box; }

    /* ── Quem Somos ── */
    .about-grid { gap: 32px; }
    .about-card { padding: 24px 20px; }
    .about-card h3 { font-size: 1.4rem; }
    .feature-icon { width: 40px; height: 40px; border-radius: 12px; }
    .feature-icon svg { width: 18px; height: 18px; }
    .about-feature h4 { font-size: 0.95rem; }
    .about-feature p { font-size: 0.85rem; }
    .feature-badge { display: none; }

    /* ── Contato ── */
    .contact-grid { grid-template-columns: 1fr; gap: 16px; }
    .contact-card { padding: 24px 20px; }
    .contact-icon { width: 52px !important; height: 52px !important; border-radius: 14px !important; }
    .contact-icon svg { width: 26px !important; height: 26px !important; }

    /* ── CTA Banner ── */
    .cta-box { padding: 40px 20px; border-radius: 20px; }
    .cta-box h2 { font-size: 1.7rem; }
    .cta-box p { font-size: 0.95rem; margin-bottom: 24px; }
    .cta-buttons { flex-direction: column; gap: 10px; }
    .cta-buttons .btn { width: 100%; text-align: center; }

    /* ── Footer ── */
    .footer { padding: 48px 0 32px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-logo { font-size: 1.1rem; }
    .footer-bottom { font-size: 0.78rem; }

    /* ── Floating widgets ── */
    .floating-widgets { bottom: 20px; right: 16px; gap: 12px; }
    .whatsapp-widget { width: 50px; height: 50px; font-size: 1.5rem; }
}
