/* ========================================
   SindSystem Landing Page - Modern Styles
   Arquivo exclusivo para a landing page
   Não afeta o sistema principal
   ======================================== */

/* ----------------------------------------
   1. DESIGN TOKENS / VARIÁVEIS
   ---------------------------------------- */
:root {
    /* Gradientes Modernos */
    --gradient-hero: linear-gradient(135deg, #3063A0 0%, #00A8E8 100%);
    --gradient-hero-reverse: linear-gradient(135deg, #00A8E8 0%, #3063A0 100%);
    --gradient-subtle: linear-gradient(180deg, rgba(48, 99, 160, 0.05) 0%, rgba(0, 168, 232, 0.05) 100%);
    --gradient-cta: linear-gradient(135deg, #28a745 0%, #00A28A 100%);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: blur(10px);

    /* Sombras Modernas */
    --shadow-xs: 0 1px 2px rgba(48, 99, 160, 0.04);
    --shadow-sm: 0 2px 4px rgba(48, 99, 160, 0.06);
    --shadow-md: 0 4px 12px rgba(48, 99, 160, 0.1);
    --shadow-lg: 0 8px 30px rgba(48, 99, 160, 0.12);
    --shadow-xl: 0 20px 60px rgba(48, 99, 160, 0.15);
    --shadow-glow: 0 0 40px rgba(0, 168, 232, 0.3);
    --shadow-glow-success: 0 0 40px rgba(40, 167, 69, 0.3);

    /* Cores (mantendo identidade) */
    --site-primary: #3063A0;
    --site-primary-dark: #254d7a;
    --site-accent: #00A8E8;
    --site-success: #28a745;
    --site-success-dark: #00A28A;
    --site-warning: #F7C46C;
    --site-bg-light: #f6f7f9;
    --site-text-dark: #1a1a2e;
    --site-text-muted: #6c757d;

    /* Tipografia Responsiva */
    --heading-xl: clamp(2.25rem, 5vw, 3.5rem);
    --heading-lg: clamp(1.75rem, 4vw, 2.5rem);
    --heading-md: clamp(1.5rem, 3vw, 2rem);
    --heading-sm: clamp(1.25rem, 2.5vw, 1.5rem);
    --text-lg: 1.125rem;
    --text-base: 1rem;
    --text-sm: 0.875rem;

    /* Espaçamentos */
    --section-padding: clamp(4rem, 8vw, 7rem);
    --container-padding: clamp(1rem, 3vw, 2rem);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;

    /* Animações */
    --animation-fast: 0.2s;
    --animation-normal: 0.3s;
    --animation-slow: 0.5s;
    --easing-premium: cubic-bezier(0.4, 0, 0.2, 1);
    --easing-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ----------------------------------------
   2. NAVBAR MODERNO
   ---------------------------------------- */
.navbar-modern {
    background: white;
    box-shadow: none;
    transition: all var(--animation-normal) var(--easing-premium);
    position: relative;
}

/* Sombra elipse central abaixo do navbar */
.navbar-modern::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 12px;
    background: radial-gradient(ellipse at center, rgba(48, 99, 160, 0.15) 0%, transparent 70%);
    filter: blur(4px);
}

/* Logo com efeito de clique */
.navbar-brand-modern {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all var(--animation-normal) var(--easing-premium);
}

.navbar-brand-modern:hover {
    text-decoration: none;
}

.logo-modern {
    transition: all var(--animation-normal) var(--easing-premium);
}

.navbar-brand-modern:hover .logo-modern {
    transform: scale(1.05);
}

.navbar-brand-modern:active .logo-modern {
    transform: scale(0.95) rotate(-3deg);
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--site-primary);
    transition: all var(--animation-normal) var(--easing-premium);
    margin-left: -0.25rem;
    display: inline-flex;
}

.brand-text .letter {
    display: inline-block;
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animação ao clicar - letras aparecem uma por uma */
.brand-text.animating .letter {
    opacity: 0;
    transform: scale(2);
}

.brand-text.animating .letter.visible {
    opacity: 1;
    transform: scale(1);
}

.navbar-brand-modern:hover .brand-text {
    color: var(--site-accent);
}

/* Menu items com efeito Genie (dock macOS) */
.navbar-nav-modern {
    display: flex;
    align-items: flex-end;
    gap: 0.25rem;
}

.nav-item-modern {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom center;
}

.nav-link-modern {
    position: relative;
    font-weight: 500;
    color: var(--site-text-muted) !important;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    display: block;
}

.nav-link-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-hero);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Efeito Genie - item hover cresce */
.nav-item-modern:hover {
    transform: scale(1.15) translateY(-2px);
}

.nav-item-modern:hover .nav-link-modern {
    color: var(--site-primary) !important;
}

.nav-item-modern:hover .nav-link-modern::after {
    width: 60%;
}

/* Efeito Genie - vizinhos crescem menos */
.nav-item-modern:hover + .nav-item-modern,
.nav-item-modern:has(+ .nav-item-modern:hover) {
    transform: scale(1.05) translateY(-1px);
}

/* Vizinhos dos vizinhos (segundo nível) */
.nav-item-modern:hover + .nav-item-modern + .nav-item-modern,
.nav-item-modern:has(+ .nav-item-modern + .nav-item-modern:hover) {
    transform: scale(1.02);
}

.nav-item-modern.active .nav-link-modern {
    color: var(--site-primary) !important;
    font-weight: 600;
}

.nav-item-modern.active .nav-link-modern::after {
    width: 60%;
}

/* Botão de acesso restrito */
.navbar-modern .btn-subtle-primary {
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all var(--animation-normal) var(--easing-premium);
}

.navbar-modern .btn-subtle-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Responsividade do menu */
@media (max-width: 991px) {
    .navbar-modern::after {
        width: 50%;
    }

    .navbar-brand-modern {
        flex-direction: row;
    }

    .brand-text {
        font-size: 1.25rem;
    }

    .logo-modern {
        height: 40px !important;
    }

    .navbar-nav-modern {
        padding: 1rem 0;
        display: block;
    }

    /* Desativar efeito Genie no mobile */
    .nav-item-modern,
    .nav-item-modern:hover,
    .nav-item-modern:hover + .nav-item-modern,
    .nav-item-modern:has(+ .nav-item-modern:hover),
    .nav-item-modern:hover + .nav-item-modern + .nav-item-modern,
    .nav-item-modern:has(+ .nav-item-modern + .nav-item-modern:hover) {
        transform: none;
    }

    .nav-link-modern {
        padding: 0.75rem 1rem !important;
    }

    .nav-link-modern::after {
        display: none;
    }

    .nav-item-modern.active .nav-link-modern {
        background: rgba(48, 99, 160, 0.1);
    }
}

/* ----------------------------------------
   2.5. FEATURE CARDS MODERNOS
   ---------------------------------------- */
.feature-card-modern {
    padding: 2rem 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(48, 99, 160, 0.08);
    transition: all var(--animation-normal) var(--easing-premium);
    height: 100%;
}

.feature-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon-modern {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    margin: 0 auto 1.25rem;
    position: relative;
    transition: all var(--animation-normal) var(--easing-premium);
}

.feature-icon-modern::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.2;
    z-index: -1;
}

.feature-card-modern:hover .feature-icon-modern {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon-modern.bg-primary { background: var(--gradient-hero); }
.feature-icon-modern.bg-success { background: var(--gradient-cta); }
.feature-icon-modern.bg-info { background: linear-gradient(135deg, #0179A8 0%, #00A8E8 100%); }
.feature-icon-modern.bg-warning { background: linear-gradient(135deg, #f0ad4e 0%, #F7C46C 100%); }

.feature-title-modern {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--site-text-dark);
    margin-bottom: 0.5rem;
}

.feature-desc-modern {
    font-size: var(--text-sm);
    color: var(--site-text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .feature-card-modern {
        padding: 1.5rem 1rem;
    }

    .feature-icon-modern {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }

    .feature-title-modern {
        font-size: 0.95rem;
    }

    .feature-desc-modern {
        font-size: 0.8rem;
    }
}

/* ----------------------------------------
   3. HERO SECTION
   ---------------------------------------- */
/* Hero padrão dentro do container */
.hero-section-standard {
    background: var(--site-bg-light);
}

.hero-section-standard .container {
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: var(--heading-xl);
    font-weight: 700;
    line-height: 1.2;
    color: var(--site-text-dark);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--site-text-muted);
    max-width: 540px;
    margin-bottom: 2rem;
}

/* Imagem do Hero - animação suave */
.hero-section-standard img {
    max-width: 100%;
    height: auto;
}

/* Badge Moderno */
.badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(48, 99, 160, 0.1);
    color: var(--site-primary);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    margin-bottom: 1rem;
}

.badge-modern i {
    color: var(--site-warning);
}

/* ----------------------------------------
   3. BOTÕES HERO
   ---------------------------------------- */
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-base);
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: all var(--animation-normal) var(--easing-premium);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    color: white;
    text-decoration: none;
}

.btn-hero-primary i {
    transition: transform var(--animation-fast);
}

.btn-hero-primary:hover i {
    transform: translateX(4px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--site-primary);
    color: var(--site-primary);
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-base);
    text-decoration: none;
    transition: all var(--animation-normal) var(--easing-premium);
}

.btn-hero-secondary:hover {
    background: var(--site-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid rgba(48, 99, 160, 0.2);
    color: var(--site-text-muted);
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-base);
    text-decoration: none;
    transition: all var(--animation-normal) var(--easing-premium);
}

.btn-hero-outline:hover {
    border-color: var(--site-primary);
    color: var(--site-primary);
    text-decoration: none;
}

/* ----------------------------------------
   4. SEÇÃO DE STATS/NÚMEROS
   ---------------------------------------- */
.stats-section {
    padding: var(--section-padding) 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.stats-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(48, 99, 160, 0.04) 1px, transparent 0);
    background-size: 40px 40px;
    pointer-events: none;
}

.stats-title {
    font-size: var(--heading-lg);
    font-weight: 700;
    color: var(--site-text-dark);
    margin-bottom: 0.5rem;
}

.stat-card {
    padding: 2rem 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--animation-normal) var(--easing-premium);
    border: 1px solid rgba(48, 99, 160, 0.05);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    border-radius: var(--radius-md);
    color: var(--site-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    color: var(--site-text-muted);
    font-weight: 500;
    font-size: var(--text-sm);
    margin-top: 0.5rem;
}

/* ----------------------------------------
   5. CARDS MODERNOS
   ---------------------------------------- */
.card-modern {
    background: white;
    border: 1px solid rgba(48, 99, 160, 0.08);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    transition: all var(--animation-normal) var(--easing-premium);
}

.card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--animation-normal) var(--easing-premium);
}

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

.card-modern:hover::before {
    transform: scaleX(1);
}

.card-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.card-icon-wrapper img {
    transition: transform var(--animation-normal) var(--easing-premium);
}

.card-modern:hover .card-icon-wrapper img {
    transform: scale(1.1) rotate(3deg);
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: var(--site-accent);
    opacity: 0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    filter: blur(30px);
    transition: opacity var(--animation-normal);
    z-index: -1;
    pointer-events: none;
}

.card-modern:hover .icon-glow {
    opacity: 0.12;
}

.card-title-modern {
    font-size: var(--heading-sm);
    font-weight: 700;
    color: var(--site-text-dark);
    margin-bottom: 0.75rem;
}

.card-text-modern {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--site-text-muted);
    margin-bottom: 1rem;
}

.card-link-modern {
    display: inline-flex;
    align-items: center;
    color: var(--site-primary);
    font-weight: 600;
    font-size: var(--text-sm);
    text-decoration: none;
    transition: all var(--animation-fast);
}

.card-link-modern:hover {
    color: var(--site-accent);
    text-decoration: none;
}

.card-link-modern i {
    margin-left: 0.5rem;
    transition: transform var(--animation-fast);
}

.card-link-modern:hover i {
    transform: translateX(4px);
}

.card-corner {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: var(--gradient-subtle);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    opacity: 0.5;
    pointer-events: none;
}

/* ----------------------------------------
   6. SEÇÃO DE FEATURES (grid de 4 itens)
   ---------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    transition: all var(--animation-normal) var(--easing-premium);
}

.feature-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.feature-item img {
    transition: transform var(--animation-normal) var(--easing-premium);
}

.feature-item:hover img {
    transform: scale(1.1) translateY(-5px);
}

.feature-title {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--site-text-dark);
    margin-top: 1rem;
}

/* ----------------------------------------
   7. SEÇÃO TÍTULO / DESCRIÇÃO
   ---------------------------------------- */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 3rem;
}

.section-title {
    font-size: var(--heading-lg);
    font-weight: 700;
    color: var(--site-text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--site-text-muted);
}

/* ----------------------------------------
   8. TIMELINE / POR QUE ESCOLHER
   ---------------------------------------- */
.timeline-modern {
    position: relative;
}

.timeline-item-modern {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: all var(--animation-normal) var(--easing-premium);
    border: 1px solid transparent;
}

.timeline-item-modern:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(48, 99, 160, 0.1);
    transform: translateX(5px);
}

.timeline-icon-modern {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.25rem;
    margin-right: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.timeline-icon-modern.bg-primary { background: var(--gradient-hero); }
.timeline-icon-modern.bg-info { background: linear-gradient(135deg, #0179A8 0%, #00A8E8 100%); }
.timeline-icon-modern.bg-success { background: var(--gradient-cta); }
.timeline-icon-modern.bg-warning { background: linear-gradient(135deg, #F7C46C 0%, #f0ad4e 100%); }

.timeline-content h5 {
    font-size: var(--heading-sm);
    font-weight: 700;
    color: var(--site-text-dark);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--site-text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ----------------------------------------
   9. TESTIMONIAL / SOCIAL PROOF
   ---------------------------------------- */
.testimonial-modern {
    padding: var(--section-padding) 0;
    position: relative;
}

.testimonial-card-modern {
    background: white;
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 40px;
    width: 60px;
    height: 60px;
    background: var(--gradient-hero);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.quote-icon img {
    filter: brightness(0) invert(1);
    height: 24px;
}

.testimonial-image-wrapper {
    position: relative;
    text-align: center;
}

.testimonial-image {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 1rem;
    color: var(--site-warning);
    font-size: 1rem;
}

.testimonial-quote {
    border: none;
    padding: 0;
    margin: 0;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4a4a4a;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: block;
}

.testimonial-author strong {
    display: block;
    font-size: 1.1rem;
    color: var(--site-text-dark);
    font-style: normal;
}

.testimonial-source {
    color: var(--site-text-muted);
    font-size: var(--text-sm);
    font-style: normal;
}

/* ----------------------------------------
   10. CTA FINAL MODERNO
   ---------------------------------------- */
.cta-modern {
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
}

.cta-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    overflow: hidden;
}

.cta-wave-top svg {
    width: 100%;
    height: 100%;
    display: block;
}

.cta-content {
    padding: 6rem 0 4rem;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: var(--text-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cta-title {
    font-size: var(--heading-lg);
    font-weight: 700;
    color: white;
    margin: 1.5rem 0 1rem;
}

.cta-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    background: white;
    color: var(--site-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-base);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all var(--animation-normal) var(--easing-premium);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
    color: var(--site-primary);
    text-decoration: none;
}

.btn-cta-whatsapp {
    display: inline-flex;
    align-items: center;
    background: #25D366;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: var(--text-base);
    text-decoration: none;
    transition: all var(--animation-normal) var(--easing-premium);
}

.btn-cta-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

.cta-trust {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.5rem;
}

.trust-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-sm);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.trust-item i {
    margin-right: 0.5rem;
}

/* Decorações CTA */
.cta-decoration-1,
.cta-decoration-2 {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.cta-decoration-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.cta-decoration-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}

/* ----------------------------------------
   11. FAQ MODERNO
   ---------------------------------------- */
.faq-modern .card-expansion-item {
    background: white;
    border: 1px solid rgba(48, 99, 160, 0.08);
    border-radius: var(--radius-md) !important;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all var(--animation-normal) var(--easing-premium);
}

.faq-modern .card-expansion-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(48, 99, 160, 0.15);
}

.faq-modern .card-header {
    background: transparent;
    border: none;
    padding: 1.25rem 1.5rem;
}

.faq-modern .btn-reset {
    font-weight: 600;
    color: var(--site-text-dark);
    font-size: var(--text-base);
}

.faq-modern .card-body {
    color: var(--site-text-muted);
    line-height: 1.7;
    padding: 0 1.5rem 1.5rem;
}

/* ----------------------------------------
   12. UTILITÁRIOS
   ---------------------------------------- */
.hover-lift {
    transition: transform var(--animation-normal) var(--easing-premium),
                box-shadow var(--animation-normal) var(--easing-premium);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.text-gradient {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-pattern-dots {
    background-image: radial-gradient(circle at 1px 1px, rgba(48, 99, 160, 0.04) 1px, transparent 0);
    background-size: 40px 40px;
}

.min-vh-75 {
    min-height: 75vh;
}

/* ----------------------------------------
   13. RESPONSIVIDADE
   ---------------------------------------- */

/* Tablets */
@media (max-width: 991px) {
    .hero-modern {
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2rem;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
        margin: 0 auto 2rem;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 3rem;
    }

    .badge-modern {
        margin: 0 auto 1rem;
    }

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

    .hero-bg-gradient {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
        border-radius: 50% 50% 0 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card {
        margin-bottom: 1.5rem;
    }

    .testimonial-card-modern {
        padding: 2rem;
    }

    .quote-icon {
        left: 20px;
        top: -12px;
        width: 50px;
        height: 50px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-trust {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --section-padding: 3rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .feature-item img {
        height: 56px;
    }

    .feature-title {
        font-size: var(--text-base);
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-card {
        padding: 1.5rem 1rem;
    }

    .card-modern .card-body {
        padding: 1.5rem;
    }

    .card-modern .d-sm-flex {
        flex-direction: column;
        text-align: center;
    }

    .card-icon-wrapper {
        margin-bottom: 1rem;
        margin-right: 0 !important;
    }

    .timeline-item-modern {
        padding: 1rem;
    }

    .timeline-icon-modern {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 1rem;
    }

    .testimonial-image {
        width: 140px;
        height: 140px;
    }

    .testimonial-text {
        font-size: 1rem;
    }

    .testimonial-card-modern {
        padding: 1.5rem;
        padding-top: 2.5rem;
    }

    .cta-content {
        padding: 5rem 0 3rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .btn-cta-primary,
    .btn-cta-whatsapp {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile pequeno */
@media (max-width: 575px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .feature-item img {
        height: 48px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
}

/* ----------------------------------------
   14. ANIMAÇÕES EXTRAS
   ---------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s var(--easing-premium) forwards;
}

.animate-scale-in {
    animation: scaleIn 0.5s var(--easing-premium) forwards;
}

/* Delays para animações sequenciais */
.animation-delay-100 { animation-delay: 0.1s; }
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-300 { animation-delay: 0.3s; }
.animation-delay-400 { animation-delay: 0.4s; }
.animation-delay-500 { animation-delay: 0.5s; }

/* ----------------------------------------
   15. CARDS DE PRODUTOS
   ---------------------------------------- */
.section-title-lg {
    font-size: var(--heading-xl);
    font-weight: 700;
    color: var(--site-text-dark);
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    border: 1px solid rgba(48, 99, 160, 0.08);
    transition: all var(--animation-normal) var(--easing-premium);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-hero);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--animation-normal) var(--easing-premium);
}

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

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.product-card-icon.bg-primary { background: var(--gradient-hero); }
.product-card-icon.bg-success { background: var(--gradient-cta); }
.product-card-icon.bg-info { background: linear-gradient(135deg, #0179A8 0%, #00A8E8 100%); }
.product-card-icon.bg-warning { background: linear-gradient(135deg, #f0ad4e 0%, #F7C46C 100%); }
.product-card-icon.bg-danger { background: linear-gradient(135deg, #d9534f 0%, #ff6b6b 100%); }
.product-card-icon.bg-secondary { background: linear-gradient(135deg, #6c757d 0%, #868e96 100%); }
.product-card-icon.bg-dark { background: linear-gradient(135deg, #343a40 0%, #495057 100%); }

.product-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--site-text-dark);
    margin-bottom: 0.75rem;
}

.product-card-desc {
    color: var(--site-text-muted);
    font-size: var(--text-base);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.product-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-card-features li {
    color: var(--site-text-muted);
    font-size: var(--text-sm);
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
}

.product-card-features li i {
    color: var(--site-success);
    margin-right: 0.75rem;
    font-size: 0.75rem;
}

/* Card Compacto para módulos secundários */
.product-card-compact {
    padding: 1.75rem 1.5rem;
    text-align: center;
}

.product-card-icon-sm {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1.25rem;
    box-shadow: var(--shadow-md);
}

.product-card-icon-sm.bg-primary { background: var(--gradient-hero); }
.product-card-icon-sm.bg-success { background: var(--gradient-cta); }
.product-card-icon-sm.bg-info { background: linear-gradient(135deg, #0179A8 0%, #00A8E8 100%); }
.product-card-icon-sm.bg-warning { background: linear-gradient(135deg, #f0ad4e 0%, #F7C46C 100%); }
.product-card-icon-sm.bg-danger { background: linear-gradient(135deg, #d9534f 0%, #ff6b6b 100%); }
.product-card-icon-sm.bg-secondary { background: linear-gradient(135deg, #6c757d 0%, #868e96 100%); }
.product-card-icon-sm.bg-dark { background: linear-gradient(135deg, #343a40 0%, #495057 100%); }

.product-card-compact .product-card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.product-card-desc-sm {
    color: var(--site-text-muted);
    font-size: var(--text-sm);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Responsividade dos cards de produtos */
@media (max-width: 991px) {
    .product-card {
        padding: 1.5rem;
    }

    .product-card-icon {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
}

@media (max-width: 767px) {
    .section-title-lg {
        font-size: 1.75rem;
    }

    .product-card {
        padding: 1.25rem;
    }

    .product-card-compact {
        padding: 1rem;
    }

    .product-card-icon-sm {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .product-card-title {
        font-size: 1.1rem;
    }

    .product-card-compact .product-card-title {
        font-size: 0.9rem;
    }

    .product-card-desc-sm {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   PÁGINA DE CONTATO - ESTILOS MODERNOS
   ========================================================================== */

/* Card de Informações de Contato */
.contact-info-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(48, 99, 160, 0.08);
    border: 1px solid rgba(48, 99, 160, 0.08);
    height: 100%;
}

.contact-info-title {
    color: var(--site-primary);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Itens de Informação */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(48, 99, 160, 0.08);
}

.contact-info-item:last-of-type {
    border-bottom: none;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-info-label {
    font-size: 0.8rem;
    color: var(--site-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.contact-info-value {
    color: var(--site-text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.contact-info-value:hover {
    color: var(--site-primary);
}

/* Botão WhatsApp no Card de Contato */
.btn-whatsapp-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: #fff;
    text-decoration: none;
}

/* Card do Formulário */
.contact-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(48, 99, 160, 0.08);
    border: 1px solid rgba(48, 99, 160, 0.08);
}

.contact-form-title {
    color: var(--site-text-dark);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Labels Modernos */
.form-label-modern {
    display: block;
    font-weight: 600;
    color: var(--site-text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Input Group Moderno */
.input-group-modern {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group-modern .input-icon {
    position: absolute;
    left: 1rem;
    color: var(--site-text-muted);
    font-size: 1rem;
    z-index: 10;
    transition: color 0.3s ease;
}

.input-group-modern.textarea-group .input-icon {
    top: 1rem;
    align-self: flex-start;
}

/* Form Control Moderno */
.form-control-modern {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    font-size: 0.95rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: #f8f9fa;
    color: var(--site-text-dark);
    transition: all 0.3s ease;
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--site-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(48, 99, 160, 0.1);
}

.form-control-modern:focus + .input-icon,
.input-group-modern:focus-within .input-icon {
    color: var(--site-primary);
}

.form-control-modern::placeholder {
    color: #adb5bd;
}

/* Textarea específico */
textarea.form-control-modern {
    min-height: 120px;
    resize: vertical;
}

/* Estados de Validação */
.form-control-modern.is-valid {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.form-control-modern.is-invalid {
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

/* Tooltips de Validação */
.valid-tooltip,
.invalid-tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 5;
    display: none;
    max-width: 100%;
    padding: 0.5rem 0.75rem;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    border-radius: 8px;
}

.valid-tooltip {
    color: #fff;
    background-color: #28a745;
}

.invalid-tooltip {
    color: #fff;
    background-color: #dc3545;
}

/* Botão de Envio */
.btn-submit-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--site-primary) 0%, var(--site-accent) 100%);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(48, 99, 160, 0.3);
}

.btn-submit-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(48, 99, 160, 0.4);
}

.btn-submit-contact:active {
    transform: translateY(0);
}

/* Responsividade da Página de Contato */
@media (max-width: 991px) {
    .contact-form-card {
        padding: 2rem;
    }

    .contact-info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 767px) {
    .contact-form-card {
        padding: 1.5rem;
    }

    .contact-info-card {
        margin-bottom: 2rem;
    }

    .contact-info-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }

    .form-control-modern {
        padding: 0.75rem 1rem 0.75rem 2.75rem;
        font-size: 0.9rem;
    }

    .btn-submit-contact {
        width: 100%;
        padding: 1rem;
    }
}

/* ==========================================================================
   PÁGINA DE PLANOS - PRICING CARDS MODERNOS
   ========================================================================== */

.pricing-card-modern {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(48, 99, 160, 0.08);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all var(--animation-normal) var(--easing-premium);
    position: relative;
}

.pricing-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

/* Card em destaque */
.pricing-card-modern.pricing-featured {
    border: 2px solid var(--site-primary);
    box-shadow: var(--shadow-lg);
}

.pricing-card-modern.pricing-featured:hover {
    box-shadow: 0 20px 60px rgba(48, 99, 160, 0.25);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gradient-hero);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.4rem 3rem;
    transform: rotate(45deg);
    white-space: nowrap;
    z-index: 10;
}

/* Header do card */
.pricing-header {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(48, 99, 160, 0.08);
}

.pricing-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1rem;
    transition: all var(--animation-normal) var(--easing-premium);
}

.pricing-card-modern:hover .pricing-icon {
    transform: scale(1.1) rotate(5deg);
}

.pricing-icon.bg-primary { background: var(--gradient-hero); }
.pricing-icon.bg-secondary { background: linear-gradient(135deg, #6c757d 0%, #868e96 100%); }
.pricing-icon.bg-info { background: linear-gradient(135deg, #0179A8 0%, #00A8E8 100%); }
.pricing-icon.bg-dark { background: linear-gradient(135deg, #343a40 0%, #495057 100%); }

.pricing-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--site-text-dark);
    margin-bottom: 0.5rem;
}

.pricing-subtitle {
    font-size: var(--text-sm);
    color: var(--site-text-muted);
    margin-bottom: 0.75rem;
}

.pricing-users {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    background: rgba(48, 99, 160, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--site-primary);
    font-weight: 600;
}

/* Body do card */
.pricing-body {
    padding: 1.5rem;
    flex: 1;
}

.pricing-price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--site-primary);
}

/* Features list */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: var(--text-sm);
    color: var(--site-text-muted);
    border-bottom: 1px solid rgba(48, 99, 160, 0.05);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    color: var(--site-success);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.pricing-features li.highlight {
    color: var(--site-primary);
    font-weight: 600;
}

.pricing-features li.highlight i {
    color: var(--site-primary);
}

/* Footer do card */
.pricing-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(48, 99, 160, 0.08);
}

.btn-pricing {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--site-primary);
    background: rgba(48, 99, 160, 0.08);
    border: none;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--animation-normal) var(--easing-premium);
}

.btn-pricing:hover {
    background: var(--site-primary);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-pricing-featured {
    background: var(--gradient-hero);
    color: #fff;
}

.btn-pricing-featured:hover {
    box-shadow: 0 8px 25px rgba(48, 99, 160, 0.4);
}

/* Responsividade dos cards de planos */
@media (max-width: 991px) {
    .pricing-card-modern {
        margin-bottom: 1rem;
    }

    .pricing-header {
        padding: 1.5rem 1rem 1rem;
    }

    .pricing-icon {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
}

@media (max-width: 767px) {
    .pricing-badge {
        font-size: 0.6rem;
        padding: 0.25rem 2rem;
        right: -35px;
    }

    .pricing-title {
        font-size: 1.2rem;
    }

    .pricing-features li {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   PÁGINA SOBRE - ESTILOS MODERNOS
   ========================================================================== */

/* Wrapper da imagem */
.about-image-wrapper {
    position: relative;
    padding: 2rem;
}

.about-image-wrapper img {
    max-width: 100%;
    height: auto;
}

/* Conteúdo About */
.about-content {
    padding: 1rem 0;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(48, 99, 160, 0.1);
    color: var(--site-primary);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.about-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--site-text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-text {
    color: var(--site-text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.about-text strong {
    color: var(--site-primary);
}

/* Stats inline */
.about-stats-inline {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(48, 99, 160, 0.1);
}

.about-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--site-primary);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.8rem;
    color: var(--site-text-muted);
    margin-top: 0.25rem;
}

/* Cards de Missão e Visão */
.mission-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
    box-shadow: 0 4px 20px rgba(48, 99, 160, 0.08);
    border: 1px solid rgba(48, 99, 160, 0.08);
    transition: all var(--animation-normal) var(--easing-premium);
}

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

.mission-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    transition: all var(--animation-normal) var(--easing-premium);
}

.mission-card:hover .mission-icon {
    transform: scale(1.1) rotate(5deg);
}

.mission-icon.bg-primary { background: var(--gradient-hero); }
.mission-icon.bg-info { background: linear-gradient(135deg, #0179A8 0%, #00A8E8 100%); }

.mission-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--site-text-dark);
    margin-bottom: 1rem;
}

.mission-text {
    color: var(--site-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.mission-text:last-child {
    margin-bottom: 0;
}

/* Cards de Valores */
.value-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(48, 99, 160, 0.06);
    border: 1px solid rgba(48, 99, 160, 0.08);
    transition: all var(--animation-normal) var(--easing-premium);
    height: 100%;
}

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

.value-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--site-primary);
    background: rgba(48, 99, 160, 0.1);
    margin: 0 auto 1rem;
    transition: all var(--animation-normal) var(--easing-premium);
}

.value-card:hover .value-icon {
    background: var(--gradient-hero);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.value-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--site-text-dark);
    margin-bottom: 0;
}

/* Responsividade da página Sobre */
@media (max-width: 991px) {
    .about-title {
        font-size: 1.75rem;
    }

    .about-stats-inline {
        gap: 1.5rem;
    }

    .about-stat-number {
        font-size: 1.5rem;
    }

    .mission-card {
        padding: 1.5rem;
    }
}

@media (max-width: 767px) {
    .about-image-wrapper {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .about-title {
        font-size: 1.5rem;
    }

    .about-stats-inline {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .about-stat-item {
        min-width: 80px;
    }

    .mission-icon {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }

    .mission-title {
        font-size: 1.2rem;
    }

    .value-card {
        padding: 1.25rem 0.75rem;
    }

    .value-icon {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }

    .value-title {
        font-size: 0.85rem;
    }
}

/* Badge com coração vermelho pulsante */
.badge-heart .heart-pulse {
    color: #e74c3c;
    animation: heartPulse 1.2s ease-in-out infinite;
}

@keyframes heartPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* ----------------------------------------
   TIMELINE - Página Sobre
   ---------------------------------------- */
.timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

/* Linha central vertical */
.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--site-primary) 0%, var(--site-accent) 100%);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-bottom: 2.5rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/* Marcador circular */
.timeline-marker {
    position: absolute;
    left: -40px;
    top: 0;
    width: 34px;
    height: 34px;
    background: var(--gradient-hero);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(48, 99, 160, 0.3);
    z-index: 1;
    transition: all var(--animation-normal) var(--easing-premium);
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(48, 99, 160, 0.4);
}

/* Conteúdo do item */
.timeline-content {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(48, 99, 160, 0.08);
    position: relative;
    margin-left: 1rem;
    transition: all var(--animation-normal) var(--easing-premium);
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 8px;
    width: 16px;
    height: 16px;
    background: white;
    border-left: 1px solid rgba(48, 99, 160, 0.08);
    border-bottom: 1px solid rgba(48, 99, 160, 0.08);
    transform: rotate(45deg);
}

.timeline-item:hover .timeline-content {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(48, 99, 160, 0.15);
}

.timeline-year {
    display: inline-block;
    background: var(--gradient-hero);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--site-text-dark);
    margin-bottom: 0.5rem;
}

.timeline-text {
    color: var(--site-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Stats da Timeline */
.timeline-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(48, 99, 160, 0.08);
    transition: all var(--animation-normal) var(--easing-premium);
}

.timeline-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.timeline-stat-label {
    display: block;
    color: var(--site-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsividade Timeline */
@media (max-width: 767px) {
    .timeline-wrapper {
        padding: 1rem 0;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline::before {
        left: 10px;
        width: 2px;
    }

    .timeline-marker {
        left: -30px;
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .timeline-content {
        padding: 1.25rem;
        margin-left: 0.5rem;
    }

    .timeline-content::before {
        left: -6px;
        top: 6px;
        width: 12px;
        height: 12px;
    }

    .timeline-year {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }

    .timeline-title {
        font-size: 1rem;
    }

    .timeline-text {
        font-size: 0.875rem;
    }

    .timeline-stat {
        padding: 1rem;
    }

    .timeline-stat-number {
        font-size: 2rem;
    }

    .timeline-stat-label {
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   ANIMAÇÕES CSS TECNOLÓGICAS - FASE 8
   Substitui ilustrações SVG por animações CSS puras
   ========================================================================== */

/* ----------------------------------------
   VARIÁVEIS DE ANIMAÇÃO
   ---------------------------------------- */
:root {
    --anim-duration-fast: 0.3s;
    --anim-duration-normal: 0.6s;
    --anim-duration-slow: 1.5s;
    --anim-ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --anim-ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------
   KEYFRAMES GLOBAIS REUTILIZÁVEIS
   ---------------------------------------- */
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

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

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

@keyframes growUp {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

@keyframes slideInRight {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

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

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes dataFlow {
    0% { transform: translateY(100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100%); opacity: 0; }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@keyframes scan {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

@keyframes popIn {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes moonGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(255, 223, 100, 0.4); }
    50% { box-shadow: 0 0 50px rgba(255, 223, 100, 0.7); }
}

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

/* ----------------------------------------
   1. HERO ANIMATION - Stripe-Style Modern
   ---------------------------------------- */
.hero-animation {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container principal com gradiente animado */
.stripe-hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a1628 0%, #1a2d4a 50%, #0d2137 100%);
    box-shadow:
        0 30px 60px -20px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

/* Mesh gradient animado (estilo Stripe) */
.gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(48, 99, 160, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 168, 232, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 40% 80%, rgba(40, 167, 69, 0.25) 0%, transparent 50%);
    animation: meshMove 8s ease-in-out infinite;
    filter: blur(40px);
}

@keyframes meshMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(10px, -10px) scale(1.05);
        opacity: 1;
    }
    50% {
        transform: translate(-5px, 5px) scale(0.95);
        opacity: 0.9;
    }
    75% {
        transform: translate(-10px, -5px) scale(1.02);
        opacity: 1;
    }
}

/* Grid de linhas (rede de dados) */
.data-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 168, 232, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 168, 232, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

/* Linhas de conexão fluindo */
.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.connection-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--site-accent), transparent);
    opacity: 0.6;
    animation: flowLine 4s linear infinite;
}

.connection-line:nth-child(1) {
    top: 20%;
    width: 60%;
    left: -60%;
    animation-delay: 0s;
}

.connection-line:nth-child(2) {
    top: 40%;
    width: 80%;
    left: -80%;
    animation-delay: 1s;
}

.connection-line:nth-child(3) {
    top: 60%;
    width: 50%;
    left: -50%;
    animation-delay: 2s;
}

.connection-line:nth-child(4) {
    top: 80%;
    width: 70%;
    left: -70%;
    animation-delay: 0.5s;
}

@keyframes flowLine {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(100vw + 100%)); }
}

/* Partículas flutuantes */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

.particle-1 {
    width: 8px;
    height: 8px;
    background: var(--site-accent);
    top: 25%;
    left: 15%;
    box-shadow: 0 0 20px var(--site-accent);
    animation-delay: 0s;
}

.particle-2 {
    width: 6px;
    height: 6px;
    background: #28a745;
    top: 60%;
    left: 80%;
    box-shadow: 0 0 15px #28a745;
    animation-delay: 1s;
}

.particle-3 {
    width: 10px;
    height: 10px;
    background: var(--site-primary);
    top: 75%;
    left: 25%;
    box-shadow: 0 0 25px var(--site-primary);
    animation-delay: 2s;
}

.particle-4 {
    width: 5px;
    height: 5px;
    background: #F7C46C;
    top: 15%;
    left: 70%;
    box-shadow: 0 0 12px #F7C46C;
    animation-delay: 0.5s;
}

.particle-5 {
    width: 7px;
    height: 7px;
    background: var(--site-accent);
    top: 45%;
    left: 50%;
    box-shadow: 0 0 18px var(--site-accent);
    animation-delay: 1.5s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(15px, -20px) scale(1.2);
        opacity: 1;
    }
    50% {
        transform: translate(-10px, -30px) scale(0.9);
        opacity: 0.6;
    }
    75% {
        transform: translate(20px, -10px) scale(1.1);
        opacity: 0.9;
    }
}

/* Card central flutuante */
.hero-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 24px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: cardFloat 4s ease-in-out infinite;
    z-index: 10;
}

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

/* Header do card */
.hero-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(48, 99, 160, 0.1);
}

.hero-card-logo {
    width: 40px;
    height: 40px;
    background: var(--gradient-hero);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.hero-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--site-text-dark);
    margin: 0;
}

.hero-card-subtitle {
    font-size: 0.75rem;
    color: var(--site-text-muted);
    margin: 0;
}

/* Métricas animadas */
.hero-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hero-metric {
    text-align: center;
    padding: 12px;
    background: rgba(48, 99, 160, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hero-metric:hover {
    background: rgba(48, 99, 160, 0.1);
    transform: scale(1.02);
}

.hero-metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-metric-label {
    font-size: 0.7rem;
    color: var(--site-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Barra de progresso animada */
.hero-progress {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(48, 99, 160, 0.1);
}

.hero-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--site-text-muted);
    margin-bottom: 8px;
}

.hero-progress-bar {
    height: 6px;
    background: rgba(48, 99, 160, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.hero-progress-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-hero);
    border-radius: 3px;
    animation: progressFill 2s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes progressFill {
    to { width: 78%; }
}

/* Elementos orbitando */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(0, 168, 232, 0.3);
    border-radius: 50%;
    animation: orbitSpin 20s linear infinite;
}

.orbit-ring-1 {
    width: 380px;
    height: 380px;
}

.orbit-ring-2 {
    width: 480px;
    height: 480px;
    animation-direction: reverse;
    animation-duration: 25s;
}

@keyframes orbitSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--site-accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--site-accent);
}

.orbit-ring-1 .orbit-dot {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-ring-2 .orbit-dot {
    bottom: 10%;
    right: 5%;
}

/* Glow effect no canto */
.corner-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: glowPulse 3s ease-in-out infinite;
}

.corner-glow-1 {
    top: -50px;
    right: -50px;
    background: var(--site-accent);
}

.corner-glow-2 {
    bottom: -50px;
    left: -50px;
    background: var(--site-primary);
    animation-delay: 1.5s;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

/* Responsividade Hero Animation */
@media (max-width: 991px) {
    .hero-animation {
        height: 350px;
        max-width: 450px;
    }

    .hero-card {
        width: 250px;
        padding: 20px;
    }

    .orbit-ring-1 {
        width: 320px;
        height: 320px;
    }

    .orbit-ring-2 {
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 767px) {
    .hero-animation {
        height: 300px;
        max-width: 350px;
    }

    .hero-card {
        width: 220px;
        padding: 16px;
    }

    .hero-card-header {
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .hero-card-logo {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .hero-card-title {
        font-size: 0.9rem;
    }

    .hero-metrics {
        gap: 10px;
    }

    .hero-metric {
        padding: 8px;
    }

    .hero-metric-value {
        font-size: 1.25rem;
    }

    .orbit-ring {
        display: none;
    }

    .corner-glow {
        width: 150px;
        height: 150px;
    }
}

/* ----------------------------------------
   2. NIGHT MODE ANIMATION - Lua/Relógio Tech
   ---------------------------------------- */
.night-animation {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 350px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.night-scene {
    position: relative;
    width: 280px;
    height: 280px;
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 100px rgba(0, 168, 232, 0.1) inset;
}

/* Lua */
.moon {
    position: absolute;
    top: 30px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, #fff9e6 0%, #ffeeb3 100%);
    border-radius: 50%;
    animation: moonGlow 4s ease-in-out infinite;
    box-shadow:
        0 0 30px rgba(255, 223, 100, 0.5),
        inset -8px -8px 15px rgba(200, 180, 100, 0.3);
}

.moon-crater {
    position: absolute;
    background: rgba(200, 180, 100, 0.2);
    border-radius: 50%;
}

.moon-crater-1 {
    width: 10px;
    height: 10px;
    top: 15px;
    left: 20px;
}

.moon-crater-2 {
    width: 8px;
    height: 8px;
    top: 35px;
    left: 12px;
}

.moon-crater-3 {
    width: 6px;
    height: 6px;
    top: 25px;
    left: 38px;
}

/* Estrelas */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    animation: twinkle 2s ease-in-out infinite;
}

.star:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; }
.star:nth-child(2) { top: 40%; left: 25%; animation-delay: 0.3s; }
.star:nth-child(3) { top: 15%; left: 45%; animation-delay: 0.6s; }
.star:nth-child(4) { top: 60%; left: 20%; animation-delay: 0.9s; }
.star:nth-child(5) { top: 35%; left: 70%; animation-delay: 1.2s; }
.star:nth-child(6) { top: 50%; left: 55%; animation-delay: 1.5s; }

/* Relógio digital */
.night-clock {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.clock-display {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--site-accent);
    text-shadow: 0 0 10px rgba(0, 168, 232, 0.5);
    animation: blink 1.5s step-end infinite;
    letter-spacing: 2px;
}

.clock-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* Mensagem envelope */
.night-message {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.night-message i {
    color: var(--site-warning);
    animation: pulse 2s ease-in-out infinite;
}

.night-message span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ----------------------------------------
   3. CARD ANIMATIONS - Ícones Compactos
   ANIMAÇÕES APENAS NO HOVER
   ---------------------------------------- */
.card-animation {
    width: 72px;
    height: 72px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3.1 Mobile App Animation */
.anim-mobile {
    position: relative;
}

.phone-frame {
    width: 40px;
    height: 65px;
    background: linear-gradient(180deg, #2d3436 0%, #1a1a2e 100%);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.phone-screen {
    position: absolute;
    top: 5px;
    left: 3px;
    right: 3px;
    bottom: 8px;
    background: var(--gradient-hero);
    border-radius: 4px;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 4px;
    background: #1a1a2e;
    border-radius: 0 0 4px 4px;
}

/* Notificações - estado inicial: escondidas */
.phone-notification {
    position: absolute;
    background: white;
    border-radius: 3px;
    padding: 3px 5px;
    font-size: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
}

.phone-notification:nth-child(1) {
    top: 12px;
    left: 4px;
    right: 4px;
}

.phone-notification:nth-child(2) {
    top: 22px;
    left: 4px;
    right: 4px;
}

.phone-notification:nth-child(3) {
    top: 32px;
    left: 4px;
    right: 4px;
}

/* Animação no hover do card */
.card-modern:hover .phone-notification {
    opacity: 1;
    transform: translateX(0);
}

.card-modern:hover .phone-notification:nth-child(1) { transition-delay: 0.1s; }
.card-modern:hover .phone-notification:nth-child(2) { transition-delay: 0.2s; }
.card-modern:hover .phone-notification:nth-child(3) { transition-delay: 0.3s; }

.signal-waves {
    position: absolute;
    top: -5px;
    right: -5px;
}

/* Ondas de sinal - estado inicial: escondidas */
.signal-wave {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--site-accent);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5);
}

/* Animação no hover */
.card-modern:hover .signal-wave {
    animation: ripple 1.5s linear infinite;
}

.card-modern:hover .signal-wave:nth-child(2) { animation-delay: 0.5s; }
.card-modern:hover .signal-wave:nth-child(3) { animation-delay: 1s; }

/* 3.2 Data Migration Animation */
.anim-migration {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.system-block {
    width: 22px;
    height: 28px;
    background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e0 100%);
    border-radius: 4px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.system-block::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    height: 3px;
    background: var(--site-primary);
    border-radius: 2px;
}

.system-block::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 4px;
    right: 4px;
    height: 2px;
    background: rgba(48, 99, 160, 0.3);
    border-radius: 2px;
}

.system-block.destination {
    background: linear-gradient(180deg, var(--site-primary) 0%, var(--site-primary-dark) 100%);
}

.system-block.destination::before {
    background: white;
}

.system-block.destination::after {
    background: rgba(255, 255, 255, 0.3);
}

.migration-flow {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 3px;
}

/* Partículas - estado inicial: paradas */
.migration-particle {
    width: 5px;
    height: 5px;
    background: var(--site-accent);
    border-radius: 50%;
    opacity: 0.3;
}

/* Animação no hover */
.card-modern:hover .migration-particle {
    animation: migrate 1.2s linear infinite;
}

.card-modern:hover .migration-particle:nth-child(2) { animation-delay: 0.4s; }
.card-modern:hover .migration-particle:nth-child(3) { animation-delay: 0.8s; }

@keyframes migrate {
    0% { transform: translateX(-10px); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { transform: translateX(10px); opacity: 0; }
}

/* 3.3 Real-Time Animation */
.anim-realtime {
    position: relative;
}

.realtime-container {
    width: 60px;
    height: 45px;
    background: white;
    border-radius: 6px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(48, 99, 160, 0.1);
    position: relative;
    overflow: hidden;
}

/* Linha - estado inicial: visível mas estática */
.realtime-line {
    fill: none;
    stroke: var(--site-primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.3s ease;
}

/* Dot - estado inicial: sem pulso */
.realtime-dot {
    position: absolute;
    right: 8px;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--site-accent);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--site-accent);
    transition: box-shadow 0.3s ease;
}

/* Animação no hover */
.card-modern:hover .realtime-line {
    stroke-dashoffset: 100;
    animation: drawLine 2s ease-out forwards infinite;
}

.card-modern:hover .realtime-dot {
    animation: pulse 1s ease-in-out infinite;
    box-shadow: 0 0 10px var(--site-accent);
}

.realtime-label {
    position: absolute;
    bottom: 2px;
    right: 5px;
    font-size: 5px;
    color: var(--site-success);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 3.4 Cloud Animation */
.anim-cloud {
    position: relative;
}

.cloud-shape {
    width: 55px;
    height: 35px;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 4px 15px rgba(48, 99, 160, 0.15);
    transition: transform 0.3s ease;
}

.cloud-shape::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background: inherit;
    border-radius: 50%;
    top: -12px;
    left: 10px;
}

.cloud-shape::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: inherit;
    border-radius: 50%;
    top: -8px;
    right: 12px;
}

/* Setas - estado inicial: estáticas */
.cloud-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--site-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cloud-arrow.upload {
    top: 8px;
}

.cloud-arrow.download {
    bottom: 5px;
}

/* Animação no hover */
.card-modern:hover .cloud-arrow.upload {
    animation: uploadBounce 1.5s ease-in-out infinite;
}

.card-modern:hover .cloud-arrow.download {
    animation: downloadBounce 1.5s ease-in-out infinite;
    animation-delay: 0.75s;
}

@keyframes uploadBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(-5px); opacity: 0.6; }
}

@keyframes downloadBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(5px); opacity: 0.6; }
}

.cloud-servers {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
}

.server-mini {
    width: 10px;
    height: 14px;
    background: linear-gradient(180deg, #4a5568 0%, #2d3748 100%);
    border-radius: 2px;
    position: relative;
}

/* LED - estado inicial: aceso mas estático */
.server-led {
    position: absolute;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 2px;
    background: var(--site-success);
    border-radius: 1px;
}

/* Animação no hover */
.card-modern:hover .server-led {
    animation: blink 0.5s ease-in-out infinite;
}

.card-modern:hover .server-mini:nth-child(2) .server-led { animation-delay: 0.2s; }
.card-modern:hover .server-mini:nth-child(3) .server-led { animation-delay: 0.4s; }

/* 3.5 Flexible System Animation */
.anim-flexible {
    position: relative;
}

.gears-container {
    position: relative;
    width: 60px;
    height: 60px;
}

.gear {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.gear::before {
    content: '';
    position: absolute;
    width: 40%;
    height: 40%;
    background: inherit;
    border-radius: 50%;
    filter: brightness(1.2);
}

/* Engrenagens - estado inicial: paradas */
.gear-large {
    width: 40px;
    height: 40px;
    background: var(--gradient-hero);
    top: 5px;
    left: 0;
}

.gear-small {
    width: 28px;
    height: 28px;
    background: var(--site-accent);
    bottom: 5px;
    right: 0;
}

/* Animação no hover */
.card-modern:hover .gear-large {
    animation: rotate 4s linear infinite;
}

.card-modern:hover .gear-small {
    animation: rotateReverse 3s linear infinite;
}

.gear-tooth {
    position: absolute;
    width: 6px;
    height: 10px;
    background: inherit;
    border-radius: 2px;
}

.gear-large .gear-tooth:nth-child(1) { top: -4px; left: 50%; transform: translateX(-50%); }
.gear-large .gear-tooth:nth-child(2) { bottom: -4px; left: 50%; transform: translateX(-50%); }
.gear-large .gear-tooth:nth-child(3) { left: -4px; top: 50%; transform: translateY(-50%) rotate(90deg); }
.gear-large .gear-tooth:nth-child(4) { right: -4px; top: 50%; transform: translateY(-50%) rotate(90deg); }

.gear-small .gear-tooth {
    width: 4px;
    height: 7px;
}

.gear-small .gear-tooth:nth-child(1) { top: -3px; left: 50%; transform: translateX(-50%); }
.gear-small .gear-tooth:nth-child(2) { bottom: -3px; left: 50%; transform: translateX(-50%); }
.gear-small .gear-tooth:nth-child(3) { left: -3px; top: 50%; transform: translateY(-50%) rotate(90deg); }
.gear-small .gear-tooth:nth-child(4) { right: -3px; top: 50%; transform: translateY(-50%) rotate(90deg); }

/* 3.6 Financial/Barcode Animation */
.anim-financial {
    position: relative;
}

.barcode-container {
    width: 55px;
    height: 40px;
    background: white;
    border-radius: 6px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(48, 99, 160, 0.1);
    position: relative;
    overflow: hidden;
}

.barcode-lines {
    display: flex;
    gap: 2px;
    height: 100%;
    align-items: flex-end;
}

/* Barras - estado inicial: visíveis */
.barcode-line {
    width: 3px;
    background: #1a1a2e;
    border-radius: 1px;
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.barcode-line:nth-child(1) { height: 100%; }
.barcode-line:nth-child(2) { height: 70%; }
.barcode-line:nth-child(3) { height: 100%; }
.barcode-line:nth-child(4) { height: 50%; }
.barcode-line:nth-child(5) { height: 80%; }
.barcode-line:nth-child(6) { height: 100%; }
.barcode-line:nth-child(7) { height: 60%; }
.barcode-line:nth-child(8) { height: 90%; }
.barcode-line:nth-child(9) { height: 100%; }

/* Scanner - estado inicial: escondido */
.scanner-beam {
    position: absolute;
    top: 0;
    left: -10px;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, var(--site-accent) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Animação no hover */
.card-modern:hover .scanner-beam {
    opacity: 1;
    animation: scan 2s ease-in-out infinite;
}

/* Check - estado inicial: escondido */
.check-confirm {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: var(--site-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    opacity: 0;
    transform: scale(0);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
}

/* Animação no hover */
.card-modern:hover .check-confirm {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.5s;
}

/* ----------------------------------------
   RESPONSIVIDADE DAS ANIMAÇÕES
   ---------------------------------------- */
@media (max-width: 991px) {
    .hero-animation {
        max-width: 400px;
    }

    .dashboard-screen {
        transform: none;
        padding: 15px;
    }

    .night-animation {
        height: 300px;
    }

    .night-scene {
        width: 240px;
        height: 240px;
    }

    .moon {
        width: 50px;
        height: 50px;
        top: 25px;
        right: 30px;
    }

    .clock-display {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero-animation {
        max-width: 320px;
    }

    .dashboard-chart {
        height: 80px;
    }

    .dashboard-bar {
        width: 20px;
    }

    .floating-elements {
        display: none;
    }

    .night-animation {
        height: 260px;
    }

    .night-scene {
        width: 200px;
        height: 200px;
    }

    .moon {
        width: 40px;
        height: 40px;
        top: 20px;
        right: 25px;
    }

    .clock-display {
        font-size: 1.25rem;
    }

    .night-message {
        padding: 6px 12px;
    }

    .night-message span {
        font-size: 0.65rem;
    }

    /* Simplificar animações em mobile */
    .card-animation {
        width: 56px;
        height: 56px;
    }

    .phone-frame {
        width: 30px;
        height: 50px;
    }

    .system-block {
        width: 18px;
        height: 24px;
    }

    .gears-container {
        width: 50px;
        height: 50px;
    }

    .gear-large {
        width: 32px;
        height: 32px;
    }

    .gear-small {
        width: 22px;
        height: 22px;
    }

    .barcode-container {
        width: 45px;
        height: 35px;
    }
}

/* Desativar animações se preferido pelo usuário */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
