/* ==========================================================================
   CSS Variables & Resets
   ========================================================================== */
:root {
    /* Color Palette - AOVEON */
    --brand-navy: #153851;
    --brand-slate: #2b3d54;
    --brand-light-slate: #4f748d;
    --brand-red: #da3831;

    --primary-blue: var(--brand-navy);
    --primary-blue-hover: var(--brand-slate);
    --primary-red: var(--brand-red);
    --primary-red-hover: #b82d27;

    --bg-dark: var(--brand-slate);
    --bg-darker: #1a2635;
    /* darker variant of slate */

    --text-main: #333333;
    --text-light: #6c757d;
    --text-white: #ffffff;

    --bg-gray: #f4f7f6;
    --border-color: #eaeaea;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --header-height: 90px;
    --container-max: 1280px;

    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

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

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.text-blue {
    color: var(--primary-blue) !important;
}

.text-red {
    color: var(--primary-red) !important;
}

.text-white {
    color: var(--text-white) !important;
}

.text-light {
    color: #aaaaaa;
}

.text-navy {
    color: var(--brand-navy) !important;
}

.text-muted {
    color: #555555 !important;
}

.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 3rem;
}

.d-inline-block {
    display: inline-block;
}

.w-100 {
    width: 100%;
}

.flex-1 {
    flex: 1;
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
    color: var(--text-white);
}

.bg-gray {
    background-color: #e5e9f0;
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    gap: 8px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Primary Navy Button */
.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-white) !important;
    border-color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--primary-blue-hover);
    border-color: var(--primary-blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(21, 56, 81, 0.2);
}

/* Accent Red Button */
.btn-accent {
    background-color: var(--primary-red);
    color: var(--text-white) !important;
    border-color: var(--primary-red);
}

.btn-accent:hover {
    background-color: var(--primary-red-hover);
    border-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(218, 56, 49, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-white);
    border-color: var(--text-white);
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--brand-navy) !important;
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--bg-dark);
    border-color: var(--bg-dark);
}

.btn-outline-dark:hover {
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.btn-link {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.btn-link:hover {
    color: var(--primary-red);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(218, 56, 49, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(218, 56, 49, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(218, 56, 49, 0);
    }
}

/* ==========================================================================
   Header & Mega Menu
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: height var(--transition-normal), background var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.header .logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.footer .logo {
    display: inline-block;
    height: auto;
    max-height: 45px;
}

.brand-logo {
    max-height: 45px;
    width: auto;
}

.main-nav {
    height: 100%;
}

.nav-list {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
    height: 100%;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--primary-red);
    transition: width var(--transition-normal);
    border-radius: 2px;
}

.header.scrolled .nav-link::after {
    bottom: 15px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mega Menu */
.has-mega-menu {
    position: relative;
    height: 100%;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 900px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    overflow: hidden;
    pointer-events: none;
    border-top: 4px solid var(--primary-red);
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    padding: 30px;
    gap: 30px;
}

.mega-col h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--brand-navy);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.mega-col ul li {
    margin-bottom: 15px;
}

.mega-col ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-weight: 500;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.mega-col ul li a i {
    width: 24px;
    height: 24px;
    background: var(--bg-gray);
    color: var(--brand-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: var(--transition-fast);
}

.mega-col ul li a:hover {
    background: var(--bg-gray);
    color: var(--primary-red);
    transform: translateX(5px);
}

.mega-col ul li a:hover i {
    background: var(--primary-red);
    color: #fff;
}

.mega-cta {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.mega-cta img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.mega-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(21, 56, 81, 0.9), rgba(21, 56, 81, 0.2));
    z-index: 2;
}

.mega-cta-content {
    position: relative;
    z-index: 3;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.mega-cta-content h4 {
    color: #fff;
    margin-bottom: 10px;
}

.mega-cta-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

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

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 120px;
    background-color: var(--bg-darker);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Mixing the brand slate and light slate from the logo image */
    background:
        radial-gradient(circle at 80% 20%, rgba(79, 116, 141, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(21, 56, 81, 0.9) 0%, transparent 50%),
        url('https://images.unsplash.com/photo-1631217868264-e5b90bb7e133?auto=format&fit=crop&q=80&w=2000') center/cover;
    background-color: var(--bg-darker);
    background-blend-mode: overlay;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content .badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--text-white);
}

.hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-content strong {
    color: var(--text-white);
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
}

.trust-avatars {
    display: flex;
}

.trust-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--bg-darker);
    margin-left: -15px;
}

.trust-avatars img:first-child {
    margin-left: 0;
}

.trust-text {
    display: flex;
    flex-direction: column;
}

.trust-text .stars {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.trust-text span {
    font-size: 0.9rem;
    color: #aaa;
}

/* Glass Mockup Card */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-card:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.mockup-body h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 500;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--primary-red);
    background: rgba(255, 255, 255, 0.15);
}

.form-group select option {
    background: var(--bg-dark);
    color: #fff;
}

/* Modal Form Inputs overrides */
.input-light {
    background: #f4f7f6 !important;
    border: 1px solid #ccc !important;
    color: #333 !important;
}

.input-light:focus {
    background: #fff !important;
    border-color: var(--brand-navy) !important;
}

.input-light option {
    background: #fff !important;
    color: #333 !important;
}


/* SVG separator */
.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.wave-bottom svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ==========================================================================
   Sections Base & Plans Section
   ========================================================================== */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--brand-navy);
}

.bg-dark .section-header h2 {
    color: var(--text-white);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.bg-dark .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

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

.plan-card {
    background: var(--bg-darker);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.plan-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--brand-light-slate);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: all var(--transition-normal);
}

.plan-card:hover .plan-icon {
    background: var(--primary-red);
    color: #fff;
}

.plan-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

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

.plan-features {
    margin-bottom: 30px;
}

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

/* Featured Card */
.plan-card.featured {
    background: linear-gradient(145deg, var(--bg-darker), var(--brand-slate));
    border-color: var(--brand-light-slate);
    box-shadow: 0 0 30px rgba(43, 61, 84, 0.4);
    transform: scale(1.02);
    z-index: 2;
}

.plan-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow: 0 10px 40px rgba(218, 56, 49, 0.3);
    border-color: var(--primary-red);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-red);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(218, 56, 49, 0.3);
}

.border-accent {
    border-left: 4px solid var(--primary-red) !important;
}

/* ==========================================================================
   Hospitais Grid 
   ========================================================================== */
.hospitais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.hospital-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
}

.hospital-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-navy);
}

.hospital-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hospital-info {
    padding: 25px;
    position: relative;
}

.hospital-info h3 {
    font-size: 1.3rem;
    color: var(--brand-navy);
    margin-bottom: 8px;
}

.hospital-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.badge-hospital {
    position: absolute;
    top: -20px;
    right: 20px;
    background: var(--brand-slate);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 3px solid #fff;
}


/* ==========================================================================
   Operadoras Marquee
   ========================================================================== */
.operators-section {
    padding: 80px 0;
    overflow: hidden;
    background: #fff;
}

.operators-section h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--brand-navy);
}

.marquee-wrapper {
    position: relative;
    width: 100vw;
    max-width: 100%;
    height: 100px;
    overflow: hidden;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

.marquee {
    display: flex;
    gap: 40px;
    animation: scroll 30s linear infinite;
    width: max-content;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 20px));
    }
}

.op-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 80px;
    background: var(--bg-gray);
    border-radius: 12px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    color: #444;
    transition: var(--transition-normal);
}

.op-logo:hover {
    transform: scale(1.05);
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    color: var(--primary-red);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.faq-question h4 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--brand-navy);
}

.faq-question i {
    color: var(--primary-red);
    font-size: 1.2rem;
    transition: transform var(--transition-normal);
}

.faq-question.active {
    background: var(--bg-gray);
}

.faq-question.active i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    color: var(--text-light);
    margin: 0;
    padding-bottom: 20px;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-slate));
    position: relative;
    overflow: hidden;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
}

.cta-wpp {
    background: #25D366;
    border-color: #25D366;
    font-size: 1.2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.cta-wpp:hover {
    background: #1ebe57;
    border-color: #1ebe57;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   Modal Component
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(21, 56, 81, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: #fff;
    width: 90%;
    max-width: 650px;
    border-radius: 20px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--bg-gray);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--brand-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: #ff5f56;
    color: #fff;
}

.modal-content {
    padding: 40px;
}

.modal-header h3 {
    font-size: 2rem;
    color: var(--brand-navy);
}

.form-row {
    display: flex;
    gap: 20px;
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.floating-wpp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition-normal);
    animation: bounce 2s infinite;
}

.floating-wpp:hover {
    background: #1ebe57;
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.7);
    animation: none;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-dark);
    color: #ccc;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start;
}

.footer .logo {
    color: #fff;
}

.brand-logo-footer {
    width: 120px;
    padding: 5px;       /* Diminui o respiro interno */
    border-radius: 4px; /* Arredonda levemente os cantos */
    display: block;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.social-links a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-red);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-info i {
    color: var(--primary-red);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-bottom {
    background: var(--bg-darker);
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

.reveal-up.active,
.reveal-left.active,
.reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        margin: 0 auto 40px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .glass-card {
        margin: 0 auto;
        max-width: 500px;
        transform: none;
    }

    .glass-card:hover {
        transform: translateY(-5px);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 20px 0;
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        overflow-y: auto;
        z-index: 9999;
        gap: 0;
        visibility: hidden;
        pointer-events: none;
        display: flex !important;
    }

    .nav-list.active {
        left: 0;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .header-cta {
        display: none !important;
    }

    .nav-list > li {
        width: 100%;
        height: auto;
    }

    .nav-link {
        height: auto !important;
        padding: 18px 25px !important;
        width: 100%;
        justify-content: space-between;
        border-bottom: 1px solid #f0f0f0;
        color: var(--brand-navy);
        font-size: 1.1rem !important;
        text-transform: none;
    }

    .nav-link::after {
        display: none !important;
    }

    .nav-link i {
        font-size: 0.9rem;
        transition: transform 0.3s ease;
    }

    .has-mega-menu.active .nav-link i {
        transform: rotate(180deg);
    }

    .has-mega-menu .mega-menu,
    .has-mega-menu:hover .mega-menu {
        position: static !important;
        width: 100% !important;
        transform: none !important;
        left: 0 !important;
        box-shadow: none !important;
        border: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none;
        background: #f8f9fa !important;
        margin-top: 0 !important;
        pointer-events: auto !important;
    }

    .has-mega-menu.active .mega-menu,
    .has-mega-menu.active:hover .mega-menu {
        display: block !important;
    }

    .mega-menu-inner {
        padding: 20px 25px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mega-col h3 {
        font-size: 0.95rem;
        color: var(--brand-navy);
        margin-bottom: 15px;
        padding-bottom: 5px;
        border-bottom: 1px solid #eee;
    }

    .mega-col ul li {
        margin-bottom: 12px;
    }

    .mega-col ul li a {
        font-size: 1rem;
        padding: 5px 0;
        color: var(--text-main);
    }

    .mega-cta {
        display: none !important;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 2rem !important;
        padding: 0 10px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .plan-card h3 {
        font-size: 1.3rem;
    }

    .plan-features li {
        font-size: 0.9rem;
    }

    /* Restored Rules */
    .hero-actions {
        flex-direction: column;
    }

    .plan-card.featured {
        transform: none;
    }

    .plan-card.featured:hover {
        transform: translateY(-10px);
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .modal-content {
        padding: 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Smallest Devices */
@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.7rem !important;
        line-height: 1.3;
    }
    
    .section-header h2 {
        font-size: 1.65rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .modal-content h3 {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   Seção Seguro Fiança & Layout de Colunas
   ========================================================================== */

/* Container Principal */
.contained {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 80px 20px;
}

/* Título Principal com fonte Damion (opcional se tiver o import) */
.section-title.ff-damion {
    font-family: 'Damion', cursive, var(--font-heading);
    font-size: 3rem;
    color: var(--brand-navy);
    text-align: center;
    margin-bottom: 50px;
}

/* Sistema de Colunas Equilibradas */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.flex-alig-center {
    align-items: center;
}

.col-balance {
    flex: 1;
    min-width: 300px;
}

.col-balance img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-normal);
}

.col-balance img:hover {
    transform: scale(1.02);
}

/* Tipografia das Seções de Texto */
.fc-primary {
    color: var(--brand-navy) !important;
}

.fs-h2 { font-size: 2.2rem; margin-bottom: 20px; }
.fs-h3 { font-size: 1.8rem; margin-bottom: 15px; }

.col-balance p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: justify;
}

.col-balance strong {
    color: var(--brand-navy);
    display: block;
    margin-top: 10px;
}

/* Botão Específico de WhatsApp/Cotação para estas seções */
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background-color: #25D366;
    color: #fff !important;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-normal);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    margin-top: 20px;
    border: none;
    cursor: pointer;
}

.whatsapp-button:hover {
    background-color: #1ebe57;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Utilitário de Espaçamento */
.mt-50 {
    margin-top: 50px;
}

/* ==========================================================================
   Responsividade para o Novo Conteúdo
   ========================================================================== */
@media (max-width: 992px) {
    .row {
        flex-direction: column;
        text-align: center;
    }
    
    .row:nth-child(even) {
        flex-direction: column-reverse; /* Inverte para imagem sempre ficar em cima no mobile se desejar */
    }

    .col-balance p {
        text-align: center;
    }

    .section-title.ff-damion {
        font-size: 2.2rem;
    }
    
    .col-balance img {
        max-width: 500px;
        margin: 0 auto;
    }
}