/* =====================================================
   VÉRTICE INTELIGÊNCIA CONTÁBIL - LANDING PAGE CSS
   VERSÃO FINAL CORRIGIDA
   ===================================================== */

/* =====================================================
   CRITICAL FIX: PREVENT HORIZONTAL OVERFLOW
   ===================================================== */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-700);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
    margin: 0;
    padding: 0;
    max-width: 100vw;
}

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --primary-dark: #0A1545;
    --primary-blue: #1a3a8a;
    --primary-teal: #2AABA4;
    --primary-green: #3ec9a7;
    --gradient-primary: linear-gradient(135deg, #0A1545 0%, #1a3a8a 50%, #2AABA4 100%);
    --gradient-accent: linear-gradient(135deg, #2AABA4 0%, #3ec9a7 100%);
    --gradient-hero: linear-gradient(135deg, #0A1545 0%, #1a3a8a 40%, #2AABA4 100%);
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(42, 171, 164, 0.3);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
    --transition: 300ms ease;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-accent) !important;
    border: none !important;
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(42, 171, 164, 0.4);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(42, 171, 164, 0.5);
        color: var(--white) !important;
    }

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    color: var(--white) !important;
    background: transparent !important;
}

    .btn-outline-light:hover {
        background: var(--white) !important;
        color: var(--primary-dark) !important;
    }

.btn-accent {
    background: var(--gradient-accent) !important;
    border: none !important;
    color: var(--white) !important;
    font-weight: 600;
    border-radius: var(--radius-full);
}

    .btn-accent:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-glow);
        color: var(--white) !important;
    }

.btn-light {
    background: var(--white) !important;
    color: var(--primary-dark) !important;
    border: none !important;
}

    .btn-light:hover {
        background: var(--gray-100) !important;
        transform: translateY(-2px);
    }

/* =====================================================
   SECTION STYLES
   ===================================================== */
.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(42, 171, 164, 0.1) 0%, rgba(62, 201, 167, 0.1) 100%);
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    border: 1px solid rgba(42, 171, 164, 0.2);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
    padding: 1rem 0;
    transition: all var(--transition);
    background: transparent !important;
}

    .navbar.scrolled {
        background: rgba(10, 21, 69, 0.95) !important;
        backdrop-filter: blur(10px);
        padding: 0.75rem 0;
        box-shadow: var(--shadow-lg);
    }

.navbar-logo {
    height: 80px;
    width: auto;
    transition: all var(--transition);
    filter: brightness(1.1) drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.navbar.scrolled .navbar-logo {
    height: 42px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-text {
    font-size: 2.25rem;
    font-weight: 700;
    margin-left: 0.75rem;
    background: linear-gradient(135deg, #4fd1c5 0%, #68d391 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: all var(--transition);
}

    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--gradient-accent);
        transition: all var(--transition);
        transform: translateX(-50%);
    }

    .navbar-nav .nav-link:hover::after {
        width: 80%;
    }

    .navbar-nav .nav-link:hover {
        color: var(--white) !important;
    }

.navbar-toggler {
    border: none !important;
    padding: 0.5rem;
}

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-bottom: 100px;
    background: var(--gradient-hero);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 80%, rgba(42, 171, 164, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(62, 201, 167, 0.1) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(26, 58, 138, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 21, 69, 0.1) 100%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-content {
    padding-top: 100px;
    padding-bottom: 40px;
}

.hero-badge {
    background: transparent !important;
    border: none !important;
    backdrop-filter: none !important;
    padding: 0 !important;
    margin-bottom: 0.5rem !important;
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: var(--white);
    display: block !important;
}

    .hero-badge i {
        display: none !important;
    }

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

    .hero-title .gradient-text {
        background: linear-gradient(135deg, #4fd1c5 0%, #68d391 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
    padding-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.25rem;
}

/* =====================================================
   HERO ILLUSTRATION - CONTAINER
   ===================================================== */
.hero-illustration {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =====================================================
   FLOATING CARDS - CORREÇÃO DE CORTE
   ===================================================== */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 20;
    white-space: nowrap;
}

    .floating-card i {
        font-size: 1.25rem;
        color: var(--primary-teal);
        flex-shrink: 0;
    }

    .floating-card span {
        font-weight: 600;
        color: var(--gray-800);
        font-size: 0.9rem;
    }

    /* ===== CARD 1 - Inovação com Propósito ===== */
    .floating-card.card-1 {
        top: 20%;
        right: 50%; /* Ajustado para não cortar */
        left: auto;
        bottom: auto;
        animation: floatCard1 6s ease-in-out infinite;
    }

    /* ===== CARD 2 - Visão Além dos Números ===== */
    .floating-card.card-2 {
        bottom: 25%;
        left: 2%; /* Ajustado para não colar na borda */
        top: auto;
        right: auto;
        animation: floatCard2 6s ease-in-out infinite;
        animation-delay: 2s;
    }

    /* ===== CARD 3 - Segurança Total ===== */
    .floating-card.card-3 {
        top: 50%;
        right: 2%; /* Ajustado para não cortar */
        left: auto;
        bottom: auto;
        animation: floatCard3 6s ease-in-out infinite;
        animation-delay: 4s;
    }

/* Animações individuais para cada card */
@keyframes floatCard1 {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatCard2 {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes floatCard3 {
    0%, 100% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(calc(-50% - 15px));
    }
}

/* CENTRAL GRAPHIC */
.central-graphic {
    position: relative;
    width: 320px;
    height: 320px;
    max-width: 100%;
    z-index: 1;
}

.orbit {
    position: absolute;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
    z-index: 0;
}

.orbit-1 {
    width: 220px;
    height: 220px;
}

.orbit-2 {
    width: 280px;
    height: 280px;
    animation-duration: 25s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 340px;
    height: 340px;
    animation-duration: 30s;
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-2xl), 0 0 60px rgba(42, 171, 164, 0.4), 0 0 100px rgba(42, 171, 164, 0.2);
    z-index: 2;
}

    .center-icon img {
        width: 85px;
        height: auto;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    }

/* HERO WAVE */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
    overflow: hidden;
}

    .hero-wave svg {
        width: 100%;
        height: 80px;
        display: block;
    }

/* =====================================================
   CLIENTS TICKER
   ===================================================== */
.clients-ticker {
    padding: 2rem 0;
    background: var(--gray-50);
    overflow: hidden;
}

.ticker-label {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.ticker-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

    .ticker-wrapper::before,
    .ticker-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        width: 100px;
        height: 100%;
        z-index: 2;
        pointer-events: none;
    }

    .ticker-wrapper::before {
        left: 0;
        background: linear-gradient(to right, var(--gray-50), transparent);
    }

    .ticker-wrapper::after {
        right: 0;
        background: linear-gradient(to left, var(--gray-50), transparent);
    }

.ticker-track {
    display: flex;
    gap: 3rem;
    animation: ticker 30s linear infinite;
    width: max-content;
}

.ticker-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
    font-weight: 500;
    white-space: nowrap;
}

    .ticker-item i {
        color: var(--primary-teal);
    }

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services-section {
    padding: 6rem 0;
    background: var(--white);
    overflow: hidden;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-accent);
        transform: scaleX(0);
        transition: transform var(--transition);
    }

    .service-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
        border-color: transparent;
    }

        .service-card:hover::before {
            transform: scaleX(1);
        }

    .service-card.featured {
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
        color: var(--white);
        border: none;
    }

        .service-card.featured::before {
            transform: scaleX(1);
        }

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.service-icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
}

    .service-icon .icon-bg {
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(42, 171, 164, 0.1) 0%, rgba(62, 201, 167, 0.1) 100%);
        border-radius: var(--radius-lg);
        transform: rotate(-6deg);
    }

.service-card.featured .icon-bg {
    background: rgba(255, 255, 255, 0.1);
}

.service-icon i {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.service-card.featured .service-icon i {
    color: var(--white);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card.featured .service-title {
    color: var(--white);
}

.service-description {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.service-card.featured .service-description {
    color: rgba(255, 255, 255, 0.8);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

    .service-features li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.375rem 0;
        font-size: 0.9rem;
        color: var(--gray-600);
    }

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.9);
}

.service-features i {
    color: var(--primary-teal);
    font-size: 0.75rem;
}

.service-card.featured .service-features i {
    color: #4fd1c5;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-teal);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}

.service-card.featured .service-link {
    color: #4fd1c5;
}

.service-link:hover {
    gap: 0.75rem;
    color: var(--primary-teal);
}

.service-link i {
    transition: transform var(--transition);
}

.service-link:hover i {
    transform: translateX(4px);
}

/* =====================================================
   ABOUT SECTION - FOTOS SEM MOLDURA (CORRIGIDO)
   ===================================================== */
.about-section {
    padding: 6rem 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.about-bg-shape {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(42, 171, 164, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* FOTOS DA EQUIPE - LIMPAS (SEM CAIXA) */
.team-photos-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .team-photos-container {
        align-items: flex-start;
        padding-left: 2rem;
    }
}

/* Wrapper completamente invisível */
.team-photo-wrapper {
    position: relative;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
    max-width: 350px;
}

    .team-photo-wrapper:hover {
        background: transparent !important;
        box-shadow: none !important;
    }

/* Foto SEM MOLDURA - Efeito apenas na imagem */
.team-photo {
    display: block;
    width: 100%;
    height: auto;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15)); /* Sombra suave no contorno */
    transition: transform 0.3s ease;
}

    .team-photo:hover {
        transform: scale(1.05);
    }

/* Texto abaixo da foto */
.team-photo-overlay {
    position: relative !important;
    background: transparent !important;
    padding: 1rem 0 0 0 !important;
    text-align: center;
    margin-top: 5px;
}

.team-photo-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: var(--primary-dark);
}

.team-photo-role {
    font-size: 0.95rem;
    color: var(--primary-teal);
    margin: 0;
    font-weight: 600;
}

/* About Content */
.about-content {
    position: relative;
    z-index: 1;
}

.about-text {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-features {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--gray-200);
}

    .feature-item:last-child {
        border-bottom: none;
    }

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(42, 171, 164, 0.1) 0%, rgba(62, 201, 167, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    font-size: 1.25rem;
}

.feature-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.feature-content p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin: 0;
}

/* =====================================================
   DIFFERENTIALS SECTION
   ===================================================== */
.differentials-section {
    padding: 6rem 0;
    background: var(--white);
    overflow: hidden;
}

.differential-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    height: 100%;
}

    .differential-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary-teal);
    }

.diff-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all var(--transition);
}

.differential-card:hover .diff-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.differential-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--gray-900);
}

.differential-card p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin: 0;
}

/* Process Timeline */
.process-section {
    overflow: hidden;
}

    .process-section h3 {
        color: var(--gray-900);
        font-size: 1.5rem;
    }

.process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    padding: 2rem 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
}

.step-content h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.step-content p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
}

.process-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    margin-top: 28px;
    border-radius: 2px;
}

/* =====================================================
   TESTIMONIALS SECTION - FUNDO AZUL
   ===================================================== */
.testimonials-section.testimonials-dark {
    padding: 6rem 0;
    background: var(--primary-blue) !important;
    position: relative;
    overflow: hidden;
}

.testimonials-wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

    .testimonials-wave-top svg {
        width: 100%;
        height: 80px;
        display: block;
    }

.testimonials-wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

    .testimonials-wave-bottom svg {
        width: 100%;
        height: 80px;
        display: block;
    }

.testimonials-dark .section-title {
    color: var(--white) !important;
}

.section-badge-light {
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--white) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.gradient-text-light {
    background: linear-gradient(135deg, #4fd1c5 0%, #68d391 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-dark .testimonial-card {
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-xl);
    padding: 2rem;
    height: 100%;
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    border: none;
}

    .testimonials-dark .testimonial-card::before {
        content: '"';
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        font-size: 5rem;
        font-family: Georgia, serif;
        color: var(--gray-100);
        line-height: 1;
        z-index: 0;
    }

    .testimonials-dark .testimonial-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    }

.testimonials-dark .testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

    .testimonials-dark .testimonial-rating i {
        color: #fbbf24;
        font-size: 1rem;
    }

.testimonials-dark .testimonial-text {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.testimonials-dark .testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.testimonials-dark .author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.testimonials-dark .author-info h5 {
    font-size: 1rem;
    margin: 0;
    color: var(--gray-900);
}

.testimonials-dark .author-info span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    position: relative;
    padding: 6rem 0;
    background: var(--gradient-hero);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(42, 171, 164, 0.2) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(62, 201, 167, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

    .cta-content h2 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
        color: var(--white);
        margin-bottom: 1rem;
    }

    .cta-content p {
        font-size: 1.125rem;
        color: rgba(255, 255, 255, 0.8);
        max-width: 600px;
        margin: 0 auto 2rem;
    }

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-section {
    padding: 6rem 0;
    background: var(--white);
    overflow: hidden;
}

.contact-description {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(42, 171, 164, 0.1) 0%, rgba(62, 201, 167, 0.1) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    font-size: 1.25rem;
}

.contact-text h5 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.contact-text p,
.contact-text a {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
    text-decoration: none;
}

    .contact-text a:hover {
        color: var(--primary-teal);
    }

.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
}

.contact-form .form-control,
.contact-form .form-select {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 1rem;
    font-size: 1rem;
    transition: all var(--transition);
}

    .contact-form .form-control:focus,
    .contact-form .form-select:focus {
        border-color: var(--primary-teal);
        box-shadow: 0 0 0 3px rgba(42, 171, 164, 0.1);
    }

.contact-form .form-floating > label {
    color: var(--gray-500);
}

/* =====================================================
   MAP SECTION
   ===================================================== */
.map-section {
    position: relative;
    overflow: hidden;
}

.map-wrapper {
    position: relative;
    overflow: hidden;
}

    .map-wrapper iframe {
        filter: grayscale(20%);
        display: block;
        width: 100%;
    }

.map-overlay {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
}

.map-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
    max-width: 280px;
}

.map-logo {
    width: 60px;
    margin-bottom: 1rem;
}

.map-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.map-card p {
    color: var(--gray-500);
    margin-bottom: 1rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    color: var(--primary-dark);
    overflow: hidden;
}

    .footer-wave svg {
        width: 100%;
        height: 100px;
        display: block;
    }

.footer-content {
    padding: 8rem 0 2rem;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-logo {
    width: 50px;
    margin-bottom: 1rem;
}

.footer-brand h5 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer-brand .tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition);
    text-decoration: none;
}

    .social-link:hover {
        background: var(--gradient-accent);
        color: var(--white);
        transform: translateY(-3px);
    }

.footer-title {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.75rem;
    }

    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-size: 0.9rem;
        transition: all var(--transition);
    }

        .footer-links a:hover {
            color: var(--primary-teal);
            padding-left: 5px;
        }

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-contact li {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1rem;
        font-size: 0.9rem;
    }

    .footer-contact i {
        color: var(--primary-teal);
        margin-top: 0.25rem;
        flex-shrink: 0;
    }

    .footer-contact span,
    .footer-contact a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
    }

        .footer-contact a:hover {
            color: var(--primary-teal);
        }

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.copyright,
.credits {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

    .credits a {
        color: var(--primary-teal);
        text-decoration: none;
    }

/* =====================================================
   WHATSAPP FLOAT BUTTON
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all var(--transition);
    text-decoration: none;
}

    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
        color: var(--white);
    }

    .whatsapp-float::before {
        content: '';
        position: absolute;
        inset: -4px;
        border-radius: 50%;
        border: 2px solid #25d366;
        animation: pulse-ring 1.5s ease-out infinite;
    }

@keyframes pulse-ring {
    0% {
        transform: scale(0.9);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--gray-900);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* =====================================================
   BACK TO TOP BUTTON
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--gradient-accent);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    text-decoration: none;
}

    .back-to-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .back-to-top:hover {
        transform: translateY(-3px);
        color: var(--white);
    }

/* =====================================================
   RESPONSIVE STYLES (CORRIGIDO PARA OVERFLOW)
   ===================================================== */

/* Large Desktop */
@media (max-width: 1399.98px) {
    .floating-card.card-1 {
        right: 2%; /* Corrigido de 0 para 2% */
    }

    .floating-card.card-3 {
        right: 2%; /* CORREÇÃO CRÍTICA: de -5% para 2% */
    }
}

/* Desktop */
@media (max-width: 1199.98px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-illustration {
        height: 400px;
    }

    .central-graphic {
        width: 280px;
        height: 280px;
    }

    .center-icon {
        width: 120px;
        height: 120px;
    }

        .center-icon img {
            width: 70px;
        }

    .floating-card {
        padding: 0.75rem 1rem;
    }

        .floating-card span {
            font-size: 0.85rem;
        }

        .floating-card.card-1 {
            top: 0;
            right: 2%; /* Corrigido */
        }

        .floating-card.card-2 {
            bottom: 20%;
            left: 2%; /* Corrigido */
        }

        .floating-card.card-3 {
            right: 10px; /* CORREÇÃO CRÍTICA: de -5% para 10px */
        }
}

/* Tablet */
@media (max-width: 991.98px) {
    .hero-section {
        text-align: center;
        padding-bottom: 120px;
    }

    .hero-content {
        padding-top: 120px;
        padding-bottom: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-illustration {
        height: 350px;
        margin-top: 3rem;
    }

    /* Cards em tablet - reorganizados */
    .floating-card.card-1 {
        top: 10%;
        left: 10%;
        right: auto;
    }

    .floating-card.card-2 {
        top: 0;
        right: 10%;
        left: auto;
        bottom: auto;
    }

    .floating-card.card-3 {
        top: auto;
        bottom: 0;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        animation: floatCard3Tablet 6s ease-in-out infinite;
    }

    @keyframes floatCard3Tablet {
        0%, 100% {
            transform: translateX(-50%);
        }

        50% {
            transform: translateX(-50%) translateY(-15px);
        }
    }

    /* Fotos lado a lado em tablet */
    .team-photos-container {
        flex-direction: row;
        justify-content: center;
        gap: 3rem;
    }

    .team-photo-wrapper {
        max-width: 250px;
    }

    .map-overlay {
        position: relative;
        left: 0;
        transform: none;
        padding: 2rem;
        display: flex;
        justify-content: center;
    }

    .map-card {
        max-width: 100%;
    }

    .process-timeline {
        flex-direction: column;
        gap: 1.5rem;
    }

    .process-line {
        width: 3px;
        height: 30px;
        margin: 0;
    }

    .hero-wave svg {
        height: 60px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .container, .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .navbar-collapse {
        background: rgba(10, 21, 69, 0.98);
        padding: 1rem;
        border-radius: var(--radius-lg);
        margin-top: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }

    .navbar-logo {
        height: 40px;
    }

    .brand-text {
        font-size: 1.5rem;
    }

    .hero-section {
        padding-bottom: 100px;
    }

    .hero-content {
        padding-top: 100px;
        padding-bottom: 30px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

        .hero-buttons .btn {
            width: 100%;
        }

    .hero-stats {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Esconder hero illustration em mobile */
    .hero-illustration {
        display: none;
    }

    .hero-wave svg {
        height: 50px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    /* Fotos empilhadas em mobile */
    .team-photos-container {
        flex-direction: column;
        align-items: center;
    }

    .team-photo-wrapper {
        max-width: 280px;
    }

    .team-photo {
        max-width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
    }

        .cta-buttons .btn {
            width: 100%;
        }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .footer-content {
        padding: 6rem 0 2rem;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 90px;
        right: 15px;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 15px;
    }

    .ticker-wrapper::before,
    .ticker-wrapper::after {
        width: 50px;
    }

    .testimonials-wave-top svg,
    .testimonials-wave-bottom svg {
        height: 50px;
    }

    .testimonials-section.testimonials-dark {
        padding: 4rem 0;
    }
}

/* Small Mobile */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-badge {
        font-size: 1.25rem !important;
    }

    .section-badge {
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .differential-card {
        padding: 1.5rem;
    }

    .diff-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin: 0 auto;
    }

    .map-card {
        padding: 1.5rem;
    }

    .testimonials-dark .testimonial-card {
        min-height: auto;
        padding: 1.5rem;
    }
}

/* Print */
@media print {
    .navbar, .whatsapp-float, .back-to-top, .footer {
        display: none !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
