/**
 * Estilos do site Luiz Santana - DATA ARCHITECT | DATA ENGINEER
 * Organização das seções:
 * 1. Configurações globais e resets
 * 2. Layout e contêineres
 * 3. Elementos de texto
 * 4. Navegação e menu
 * 5. Botões e interações
 * 6. Efeitos e animações
 * 7. Timeline e tooltips adaptativos
 * 8. Carrossel de métricas
 * 9. Depoimentos
 * 10. Responsividade aprimorada
 */

/* ===== 1. CONFIGURAÇÕES GLOBAIS E RESETS ===== */
* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Scroll suave para âncoras */
html {
    scroll-behavior: smooth;
}

/* Responsiveness fixes para diferentes tamanhos de tela - MELHORADO */
@media screen and (min-width: 2560px) {
    html {
        font-size: 22px;
    }
}

@media screen and (min-width: 1920px) and (max-width: 2559px) {
    html {
        font-size: 18px;
    }
}

@media screen and (min-width: 1440px) and (max-width: 1919px) {
    html {
        font-size: 16px;
    }
}

@media screen and (min-width: 1280px) and (max-width: 1439px) {
    html {
        font-size: 16px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1279px) {
    html {
        font-size: 15px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    html {
        font-size: 14px;
    }
}

@media screen and (min-width: 640px) and (max-width: 767px) {
    html {
        font-size: 14px;
    }
}

@media screen and (max-width: 639px) {
    html {
        font-size: 14px;
    }
}

/* Customização da barra de rolagem */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0A73C9, #1d7dd8);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0a68b5, #0A73C9);
}

/* Redução de animações para acessibilidade */
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-pulse,
    .animate-bounce {
        animation: none;
    }
}

/* ===== 2. LAYOUT E CONTÊINERES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Container responsivo melhorado */
@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

@media (min-width: 1280px) {
    .container {
        padding: 0 1rem;
    }
}

/* Barra de progresso */
.progress-bar {
    transition: width 0.3s ease;
}

/* Efeito de vidro para elementos */
.glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Menu com efeito de vidro */
.glass-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

/* Background do Hero */
.hero-bg {
    background: linear-gradient(135deg, #0A73C9 0%, #1d7dd8 50%, #0a68b5 100%);
    position: relative;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
}

/* Otimização de elementos do hero */
.hero-elements {
    pointer-events: none;
    will-change: transform;
}

/* Background com gradiente animado */
.animated-bg {
    background: linear-gradient(-45deg, #0A73C9, #1d7dd8, #0a68b5, #2584d9);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

/* ===== 3. ELEMENTOS DE TEXTO ===== */
/* Texto com gradiente */
.gradient-text {
    background: linear-gradient(135deg, #001567 0%, #3e71ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-footer {
    background: linear-gradient(135deg, #0A73C9 0%, #1d7dd8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Animação do logo - responsivo */
.logo-text {
    background: linear-gradient(135deg, #0A73C9, #1d7dd8, #0A73C9);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: clamp(20px, 5vw, 28px);
}

/* ===== 4. NAVEGAÇÃO E MENU ===== */
/* Links de navegação modernos */
.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Ajustes responsivos para nav-link */
@media (max-width: 1024px) {
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 115, 201, 0.1), rgba(29, 125, 216, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0A73C9, #1d7dd8);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link:hover {
    transform: translateY(-2px);
    color: #0A73C9;
}

/* Menu mobile */
.mobile-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.mobile-nav-link {
    position: relative;
    display: block;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin: 0.25rem 0;
    font-weight: 500;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Responsividade mobile nav */
@media (max-width: 480px) {
    .mobile-nav-link {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
}

.mobile-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(10, 115, 201, 0.1), transparent);
    transition: left 0.3s;
}

.mobile-nav-link:hover::before {
    left: 100%;
}

.mobile-nav-link:hover {
    background: rgba(10, 115, 201, 0.05);
    color: #0A73C9;
    transform: translateX(8px);
}

/* Animação do ícone hamburger */
.hamburger {
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
}

/* Responsividade hamburger */
@media (max-width: 480px) {
    .hamburger {
        width: 20px;
        height: 20px;
    }
}

.hamburger span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #374151;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.hamburger span:nth-child(1) {
    top: 4px;
}

.hamburger span:nth-child(2) {
    top: 11px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

@media (max-width: 480px) {
    .hamburger span:nth-child(1) {
        top: 3px;
    }

    .hamburger span:nth-child(2) {
        top: 9px;
    }

    .hamburger span:nth-child(3) {
        top: 15px;
    }
}

.hamburger.active span:nth-child(1) {
    top: 11px;
    transform: rotate(135deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger.active span:nth-child(3) {
    top: 11px;
    transform: rotate(-135deg);
}

@media (max-width: 480px) {
    .hamburger.active span:nth-child(1) {
        top: 9px;
    }

    .hamburger.active span:nth-child(3) {
        top: 9px;
    }
}

/* Indicador de notificação no menu */
.notification-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #ff6b35, #ff8c5a);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Ícones de itens do menu */
.menu-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* Responsividade menu icon */
@media (max-width: 768px) {
    .menu-icon {
        width: 14px;
        height: 14px;
        margin-right: 6px;
    }
}

.nav-link:hover .menu-icon {
    opacity: 1;
}

/* ===== 5. BOTÕES E INTERAÇÕES - OTIMIZADOS ===== */
/* Botão CTA moderno - Otimizado para performance */
.cta-button {
    position: relative;
    background: linear-gradient(135deg, #0A73C9, #1d7dd8);
    border: none;
    border-radius: 1rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10, 115, 201, 0.3);
    transform-style: preserve-3d;
    will-change: transform;
    backface-visibility: hidden;
}

/* Responsividade CTA button */
@media (max-width: 768px) {
    .cta-button {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
        border-radius: 0.875rem;
    }
}

@media (max-width: 480px) {
    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        border-radius: 0.75rem;
        gap: 0.375rem;
    }
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.4s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 6px 25px rgba(10, 115, 201, 0.4);
}

.cta-button:active {
    transform: translateY(0) translateZ(0);
}

/* Efeito de hover com escala otimizado */
.hover-scale {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    will-change: transform;
}

.hover-scale:hover {
    transform: translateY(-6px) scale(1.01) translateZ(0);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Hero CTA buttons otimizados */
.hero-cta-button {
    transform-gpu: true;
    will-change: transform;
    backface-visibility: hidden;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta-button:hover {
    transform: translateY(-2px) translateZ(0);
}

/* ===== 6. EFEITOS E ANIMAÇÕES ===== */
/* Animação de shimmer para o logo */
@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Animação de gradiente */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animação de pulso */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Animação de rotação */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ===== 7. TIMELINE E TOOLTIPS ADAPTATIVOS ===== */
/* Ocultar scrollbar mas manter funcionalidade */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    min-width: 100%;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Estilização dos pontos da timeline */
.timeline-point {
    position: relative;
    min-width: 130px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    padding: 0 10px;
}

/* Responsividade timeline point */
@media (max-width: 1024px) {
    .timeline-point {
        min-width: 110px;
        padding: 0 8px;
    }
}

@media (max-width: 768px) {
    .timeline-point {
        min-width: 100px;
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .timeline-point {
        min-width: 90px;
        padding: 0 4px;
    }
}

.timeline-point:hover .timeline-marker {
    transform: scale(1.1);
    box-shadow: 0 10px 25px -5px rgb(0 0 0 / 0.1);
}

/* Portal para tooltips */
#tooltip-portal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    overflow: visible;
    pointer-events: none;
    z-index: 9999;
}

/* Estilo original dos tooltips */
.timeline-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
    filter: drop-shadow(0 10px 15px rgb(0 0 0 / 0.1));
    pointer-events: none;
}

.timeline-point:hover .timeline-tooltip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.timeline-tooltip:after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

/* ===== NOVO SISTEMA DE TOOLTIPS ADAPTATIVOS ===== */
.portal-tooltip {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        top 0.2s ease;
    z-index: 9999;
    filter: drop-shadow(0 10px 15px rgb(0 0 0 / 0.1));
    pointer-events: none;
    width: 320px;
    max-width: 90vw;
}

/* Responsividade tooltip */
@media (max-width: 768px) {
    .portal-tooltip {
        width: 280px;
        max-width: 95vw;
    }
}

@media (max-width: 480px) {
    .portal-tooltip {
        width: 260px;
        max-width: 98vw;
    }
}

.portal-tooltip.position-below:after {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.portal-tooltip.position-above:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
    border-bottom: none;
}

.professional-timeline {
    position: relative;
    z-index: 1;
}

#timeline-container {
    position: relative;
    z-index: 1;
}

.portal-tooltip .tooltip-content {
    background: white;
    border-radius: 0.75rem;
    padding: 1.25rem;
    max-height: 600px;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

/* Responsividade tooltip content */
@media (max-width: 768px) {
    .portal-tooltip .tooltip-content {
        padding: 1rem;
        max-height: 500px;
        border-radius: 0.625rem;
    }
}

@media (max-width: 480px) {
    .portal-tooltip .tooltip-content {
        padding: 0.875rem;
        max-height: 400px;
        border-radius: 0.5rem;
    }
}

.portal-tooltip .tooltip-content::-webkit-scrollbar {
    width: 4px;
}

.portal-tooltip .tooltip-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.portal-tooltip .tooltip-content::-webkit-scrollbar-thumb {
    background: rgba(10, 115, 201, 0.3);
    border-radius: 10px;
}

.portal-tooltip .tooltip-content::-webkit-scrollbar-thumb:hover {
    background: rgba(10, 115, 201, 0.5);
}

/* Indicadores de rolagem da timeline */
.timeline-scroll-indicator {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.3s ease;
}

/* Responsividade scroll indicators */
@media (max-width: 768px) {
    .timeline-scroll-indicator {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .timeline-scroll-indicator {
        width: 30px;
    }
}

.timeline-scroll-indicator.left {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
}

.timeline-scroll-indicator.right {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
}

/* Botões de navegação da timeline */
.timeline-nav-btn {
    transition: all 0.2s ease;
}

.timeline-nav-btn:hover {
    transform: scale(1.1);
}

/* Responsividade nav buttons */
@media (max-width: 768px) {
    .timeline-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .timeline-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
}

/* Estado ativo para marcadores da timeline */
.timeline-marker {
    position: relative;
    transition: all 0.3s ease;
}

.timeline-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-point:hover .timeline-marker::after {
    opacity: 1;
    animation: pulse 1.5s infinite;
}

#timeline-container.active {
    cursor: grabbing;
}

.snap-x {
    scroll-snap-type: x mandatory;
}

.snap-center {
    scroll-snap-align: center;
}

/* ===== 8. CARROSSEL DE MÉTRICAS ===== */
.gradient-bg {
    background: linear-gradient(-45deg, #0A73C9, #1d7dd8, #0a68b5, #2584d9);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

#metrics-swiper {
    padding: 2rem 0 4rem 0;
    position: relative;
    overflow: visible;
    margin: 0 auto;
}

/* Responsividade metrics swiper */
@media (max-width: 1024px) {
    #metrics-swiper {
        padding: 1.5rem 0 3rem 0;
    }
}

@media (max-width: 768px) {
    #metrics-swiper {
        padding: 1rem 0 2.5rem 0;
    }
}

@media (max-width: 480px) {
    #metrics-swiper {
        padding: 0.5rem 0 2rem 0;
    }
}

.metrics-card {
    height: 340px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    overflow: hidden;
    margin: 1rem;
}

/* Responsividade metrics card */
@media (max-width: 1024px) {
    .metrics-card {
        height: 320px;
        padding: 1.75rem;
        margin: 0.75rem;
        border-radius: 1.25rem;
    }
}

@media (max-width: 768px) {
    .metrics-card {
        height: 300px;
        padding: 1.5rem;
        margin: 0.5rem;
        border-radius: 1rem;
    }
}

@media (max-width: 480px) {
    .metrics-card {
        height: 280px;
        padding: 1.25rem;
        margin: 0.25rem;
        border-radius: 0.875rem;
    }
}

.metrics-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.metrics-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Responsividade header */
@media (max-width: 768px) {
    .metrics-card-header {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .metrics-card-header {
        margin-bottom: 1rem;
    }
}

.metrics-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsividade icon */
@media (max-width: 768px) {
    .metrics-card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        margin-right: 0.875rem;
        border-radius: 0.875rem;
    }
}

@media (max-width: 480px) {
    .metrics-card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.125rem;
        margin-right: 0.75rem;
        border-radius: 0.75rem;
    }
}

.metrics-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

/* Responsividade title */
@media (max-width: 768px) {
    .metrics-card-title {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .metrics-card-title {
        font-size: 1rem;
    }
}

.metrics-card-subtitle {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0.25rem 0 0 0;
    color: white;
}

/* Responsividade subtitle */
@media (max-width: 768px) {
    .metrics-card-subtitle {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .metrics-card-subtitle {
        font-size: 0.75rem;
    }
}

.metrics-card-value {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 1.5rem 0;
    line-height: 1;
    color: white;
    text-align: center;
}

/* Responsividade value */
@media (max-width: 1024px) {
    .metrics-card-value {
        font-size: 3rem;
        margin: 1.25rem 0;
    }
}

@media (max-width: 768px) {
    .metrics-card-value {
        font-size: 2.75rem;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .metrics-card-value {
        font-size: 2.5rem;
        margin: 0.875rem 0;
    }
}

.metrics-card-info {
    margin-top: auto;
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
    color: white;
}

/* Responsividade info */
@media (max-width: 768px) {
    .metrics-card-info {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .metrics-card-info {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Botões de navegação do carrossel */
#metrics-swiper .swiper-button-next,
#metrics-swiper .swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-50%) !important;
    top: 50% !important;
    transition: all 0.3s ease !important;
}

/* Responsividade navigation buttons */
@media (max-width: 1024px) {
    #metrics-swiper .swiper-button-next,
    #metrics-swiper .swiper-button-prev {
        width: 45px !important;
        height: 45px !important;
    }
}

@media (max-width: 768px) {
    #metrics-swiper .swiper-button-next,
    #metrics-swiper .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
    }
}

@media (max-width: 480px) {
    #metrics-swiper .swiper-button-next,
    #metrics-swiper .swiper-button-prev {
        width: 35px !important;
        height: 35px !important;
    }
}

#metrics-swiper .swiper-button-next {
    right: -25px !important;
}

#metrics-swiper .swiper-button-prev {
    left: -25px !important;
}

/* Responsividade button positions */
@media (max-width: 1024px) {
    #metrics-swiper .swiper-button-next {
        right: -20px !important;
    }

    #metrics-swiper .swiper-button-prev {
        left: -20px !important;
    }
}

@media (max-width: 768px) {
    #metrics-swiper .swiper-button-next {
        right: -15px !important;
    }

    #metrics-swiper .swiper-button-prev {
        left: -15px !important;
    }
}

@media (max-width: 480px) {
    #metrics-swiper .swiper-button-next {
        right: -10px !important;
    }

    #metrics-swiper .swiper-button-prev {
        left: -10px !important;
    }
}

#metrics-swiper .swiper-button-next::after,
#metrics-swiper .swiper-button-prev::after {
    font-size: 1.25rem !important;
    font-weight: bold !important;
}

/* Responsividade button arrows */
@media (max-width: 768px) {
    #metrics-swiper .swiper-button-next::after,
    #metrics-swiper .swiper-button-prev::after {
        font-size: 1.125rem !important;
    }
}

@media (max-width: 480px) {
    #metrics-swiper .swiper-button-next::after,
    #metrics-swiper .swiper-button-prev::after {
        font-size: 1rem !important;
    }
}

#metrics-swiper .swiper-button-next:hover,
#metrics-swiper .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

#metrics-swiper .swiper-pagination {
    position: relative !important;
    bottom: 0 !important;
    margin-top: 2rem !important;
}

/* Responsividade pagination */
@media (max-width: 768px) {
    #metrics-swiper .swiper-pagination {
        margin-top: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    #metrics-swiper .swiper-pagination {
        margin-top: 1rem !important;
    }
}

#metrics-swiper .swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    margin: 0 6px !important;
    transition: all 0.3s ease !important;
}

/* Responsividade pagination bullets */
@media (max-width: 768px) {
    #metrics-swiper .swiper-pagination-bullet {
        width: 8px !important;
        height: 8px !important;
        margin: 0 4px !important;
    }
}

@media (max-width: 480px) {
    #metrics-swiper .swiper-pagination-bullet {
        width: 6px !important;
        height: 6px !important;
        margin: 0 3px !important;
    }
}

#metrics-swiper .swiper-pagination-bullet-active {
    background: white !important;
    transform: scale(1.3) !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5) !important;
}

/* ===== 9. DEPOIMENTOS ===== */
.testimonial-card {
    max-height: 400px;
    position: relative;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(229, 231, 235, 0.5);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Responsividade testimonial card */
@media (max-width: 1024px) {
    .testimonial-card {
        max-height: 380px;
        padding: 1.75rem;
        border-radius: 0.875rem;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        max-height: 360px;
        padding: 1.5rem;
        border-radius: 0.75rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        max-height: 340px;
        padding: 1.25rem;
        border-radius: 0.625rem;
    }
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(10, 115, 201, 0.2);
}

/* Responsividade hover */
@media (max-width: 768px) {
    .testimonial-card:hover {
        transform: translateY(-6px) scale(1.01);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    }
}

@media (max-width: 480px) {
    .testimonial-card:hover {
        transform: translateY(-4px) scale(1.005);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
}

.testimonial-avatar {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* Responsividade avatar */
@media (max-width: 768px) {
    .testimonial-avatar {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .testimonial-avatar {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }
}

.testimonial-avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover .testimonial-avatar::before {
    opacity: 1;
}

.testimonial-name {
    transition: color 0.3s ease;
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
}

/* Responsividade name */
@media (max-width: 768px) {
    .testimonial-name {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .testimonial-name {
        font-size: 0.85rem;
    }
}

.testimonial-card:hover .testimonial-name {
    color: #0A73C9;
}

.testimonial-course {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    line-height: 1.3;
    margin-top: 0.25rem;
}

/* Responsividade course */
@media (max-width: 768px) {
    .testimonial-course {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .testimonial-course {
        font-size: 0.75rem;
    }
}

.testimonial-text {
    position: relative;
    z-index: 1;
    font-style: italic;
    line-height: 1.6;
    color: #374151;
    margin: 1rem 0;
}

/* Responsividade text */
@media (max-width: 768px) {
    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 0.875rem 0;
    }
}

@media (max-width: 480px) {
    .testimonial-text {
        font-size: 0.85rem;
        line-height: 1.4;
        margin: 0.75rem 0;
    }
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: -15px;
    font-size: 3rem;
    color: #e5e7eb;
    font-family: serif;
    z-index: -1;
}

/* Responsividade quote */
@media (max-width: 768px) {
    .testimonial-text::before {
        font-size: 2.5rem;
        top: -8px;
        left: -12px;
    }
}

@media (max-width: 480px) {
    .testimonial-text::before {
        font-size: 2rem;
        top: -6px;
        left: -10px;
    }
}

.testimonial-highlight-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    z-index: 10;
}

/* Responsividade badge */
@media (max-width: 768px) {
    .testimonial-highlight-badge {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
        top: -6px;
        right: -6px;
    }
}

@media (max-width: 480px) {
    .testimonial-highlight-badge {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
        top: -4px;
        right: -4px;
    }
}

.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.testimonial-stars i {
    color: #fbbf24;
    font-size: 0.875rem;
}

/* Responsividade stars */
@media (max-width: 768px) {
    .testimonial-stars {
        margin-bottom: 0.875rem;
    }

    .testimonial-stars i {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .testimonial-stars {
        margin-bottom: 0.75rem;
        gap: 1px;
    }

    .testimonial-stars i {
        font-size: 0.75rem;
    }
}

.testimonial-linkedin {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #0077b5, #005885);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* Responsividade linkedin */
@media (max-width: 768px) {
    .testimonial-linkedin {
        width: 28px;
        height: 28px;
        border-radius: 6px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .testimonial-linkedin {
        width: 24px;
        height: 24px;
        border-radius: 4px;
        font-size: 0.75rem;
    }
}

.testimonial-linkedin:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
    color: white;
}

.testimonial-date {
    font-size: 0.75rem;
    color: #9ca3af;
    font-style: normal;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

/* Responsividade date */
@media (max-width: 768px) {
    .testimonial-date {
        font-size: 0.7rem;
        margin-top: 0.875rem;
        padding-top: 0.875rem;
    }
}

@media (max-width: 480px) {
    .testimonial-date {
        font-size: 0.65rem;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }
}

.filter-btn {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    background-color: white;
    border: 2px solid transparent;
}

/* Responsividade filter button */
@media (max-width: 768px) {
    .filter-btn {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .filter-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    background: linear-gradient(135deg, #0A73C9, #1d7dd8) !important;
    color: white !important;
    border-color: #0A73C9 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 115, 201, 0.3);
}

.pagination-btn {
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 2.5rem;
    height: 2.5rem;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    cursor: pointer;
}

/* Responsividade pagination */
@media (max-width: 768px) {
    .pagination-btn {
        font-size: 0.8rem;
        min-width: 2.25rem;
        height: 2.25rem;
    }
}

@media (max-width: 480px) {
    .pagination-btn {
        font-size: 0.75rem;
        min-width: 2rem;
        height: 2rem;
    }
}

.pagination-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #0A73C9;
    color: white;
    border-color: #0A73C9;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.active {
    background: #0A73C9 !important;
    color: white !important;
    border-color: #0A73C9 !important;
}

.testimonials-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Responsividade loading */
@media (max-width: 768px) {
    .testimonials-loading {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .testimonials-loading {
        min-height: 250px;
    }
}

.loading-spinner {
    width: 3rem;
    height: 3rem;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #0A73C9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsividade spinner */
@media (max-width: 768px) {
    .loading-spinner {
        width: 2.5rem;
        height: 2.5rem;
        border-width: 3px;
    }
}

@media (max-width: 480px) {
    .loading-spinner {
        width: 2rem;
        height: 2rem;
        border-width: 2px;
    }
}

.testimonial-stats {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.testimonial-stats:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonials-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
}

/* Responsividade empty */
@media (max-width: 768px) {
    .testimonials-empty {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .testimonials-empty {
        padding: 1.5rem 0.75rem;
    }
}

.testimonials-empty i {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

/* Responsividade empty icon */
@media (max-width: 768px) {
    .testimonials-empty i {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .testimonials-empty i {
        font-size: 2rem;
    }
}

/* Cores por tipo de curso */
.course-azure {
    background: linear-gradient(135deg, #0A73C9, #1d7dd8);
}

.course-mentoria {
    background: linear-gradient(135deg, #10b981, #059669);
}

.course-powerbi {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.course-database {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.course-bigdata {
    background: linear-gradient(135deg, #ff6b35, #ea580c);
}

.course-default {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.testimonials-fade-enter {
    opacity: 0;
    transform: translateY(20px);
}

.testimonials-fade-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonials-fade-exit {
    opacity: 1;
    transform: translateY(0);
}

.testimonials-fade-exit-active {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* ===== 10. SELETOR DE IDIOMAS ===== */
.lang-selector button,
.lang-selector-mobile button {
    position: relative;
    transition: all 0.3s ease;
}

.lang-selector button:hover,
.lang-selector-mobile button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lang-dropdown-content {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.lang-dropdown-content:not(.hidden) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    position: relative;
    overflow: hidden;
}

.lang-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(10, 115, 201, 0.1), transparent);
    transition: left 0.3s;
}

.lang-option:hover::before {
    left: 100%;
}

.lang-active {
    background-color: rgba(10, 115, 201, 0.1);
    color: #0A73C9;
    font-weight: 500;
}

.lang-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    font-weight: 600;
}

header:not(.shadow-lg) .lang-selector button {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

header:not(.shadow-lg) .lang-selector button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

[data-i18n] {
    transition: opacity 0.2s ease;
}

.translating [data-i18n] {
    opacity: 0.5;
}

/* ===== 11. TIMELINE MODAL - MOBILE ===== */
.timeline-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.timeline-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    max-width: 90vw;
    max-height: 90vh;
    width: 600px;
    overflow: hidden;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsividade modal */
@media (max-width: 1024px) {
    .timeline-modal {
        width: 85vw;
        max-height: 85vh;
    }
}

@media (max-width: 768px) {
    .timeline-modal {
        width: 90vw;
        max-height: 80vh;
        border-radius: 1.25rem;
    }
}

@media (max-width: 480px) {
    .timeline-modal {
        width: 95vw;
        max-height: 85vh;
        border-radius: 1rem;
    }
}

.timeline-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.timeline-modal-header {
    position: relative;
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Responsividade modal header */
@media (max-width: 768px) {
    .timeline-modal-header {
        padding: 1.5rem 1.5rem 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .timeline-modal-header {
        padding: 1.25rem 1.25rem 0.875rem 1.25rem;
    }
}

.timeline-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6b7280;
    font-size: 1.2rem;
}

/* Responsividade close button */
@media (max-width: 768px) {
    .timeline-modal-close {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        top: 0.875rem;
        right: 0.875rem;
    }
}

@media (max-width: 480px) {
    .timeline-modal-close {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        top: 0.75rem;
        right: 0.75rem;
    }
}

.timeline-modal-close:hover {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
    transform: scale(1.1);
}

.timeline-modal-company {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

/* Responsividade company info */
@media (max-width: 480px) {
    .timeline-modal-company {
        flex-direction: column;
        text-align: center;
        margin-bottom: 0.875rem;
    }
}

.timeline-modal-logo {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
}

/* Responsividade logo */
@media (max-width: 768px) {
    .timeline-modal-logo {
        width: 50px;
        height: 50px;
        margin-right: 0.875rem;
        border-radius: 0.875rem;
    }
}

@media (max-width: 480px) {
    .timeline-modal-logo {
        width: 45px;
        height: 45px;
        margin-right: 0;
        margin-bottom: 0.75rem;
        border-radius: 0.75rem;
    }
}

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

.timeline-modal-company-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

/* Responsividade company title */
@media (max-width: 768px) {
    .timeline-modal-company-info h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .timeline-modal-company-info h3 {
        font-size: 1.125rem;
    }
}

.timeline-modal-period {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

/* Responsividade period */
@media (max-width: 768px) {
    .timeline-modal-period {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .timeline-modal-period {
        font-size: 0.75rem;
    }
}

.timeline-modal-content {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

/* Responsividade modal content */
@media (max-width: 768px) {
    .timeline-modal-content {
        padding: 1.5rem;
        max-height: 55vh;
    }
}

@media (max-width: 480px) {
    .timeline-modal-content {
        padding: 1.25rem;
        max-height: 50vh;
    }
}

.timeline-modal-content::-webkit-scrollbar {
    width: 6px;
}

.timeline-modal-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.timeline-modal-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.timeline-modal-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.timeline-modal-position {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

/* Responsividade position */
@media (max-width: 768px) {
    .timeline-modal-position {
        margin-bottom: 1.5rem;
        padding-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .timeline-modal-position {
        margin-bottom: 1.25rem;
        padding-bottom: 1rem;
    }
}

.timeline-modal-position:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.timeline-modal-position-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

/* Responsividade position title */
@media (max-width: 768px) {
    .timeline-modal-position-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .timeline-modal-position-title {
        font-size: 0.9rem;
    }
}

.timeline-modal-position-period {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

/* Responsividade position period */
@media (max-width: 768px) {
    .timeline-modal-position-period {
        font-size: 0.8rem;
        margin-bottom: 0.875rem;
    }
}

@media (max-width: 480px) {
    .timeline-modal-position-period {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }
}

.timeline-modal-responsibilities {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-modal-responsibilities li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #374151;
}

/* Responsividade responsibilities */
@media (max-width: 768px) {
    .timeline-modal-responsibilities li {
        padding-left: 1.25rem;
        margin-bottom: 0.625rem;
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .timeline-modal-responsibilities li {
        padding-left: 1rem;
        margin-bottom: 0.5rem;
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

.timeline-modal-responsibilities li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background: #0A73C9;
    border-radius: 50%;
}

/* Responsividade bullet */
@media (max-width: 768px) {
    .timeline-modal-responsibilities li::before {
        top: 0.5rem;
        width: 5px;
        height: 5px;
    }
}

@media (max-width: 480px) {
    .timeline-modal-responsibilities li::before {
        top: 0.45rem;
        width: 4px;
        height: 4px;
    }
}

.timeline-modal-promotion {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Responsividade promotion */
@media (max-width: 768px) {
    .timeline-modal-promotion {
        padding: 0.2rem 0.625rem;
        font-size: 0.7rem;
        border-radius: 0.875rem;
    }
}

@media (max-width: 480px) {
    .timeline-modal-promotion {
        padding: 0.15rem 0.5rem;
        font-size: 0.65rem;
        border-radius: 0.75rem;
    }
}

.timeline-modal-promotion i {
    margin-right: 0.25rem;
    font-size: 0.7rem;
}

/* Responsividade promotion icon */
@media (max-width: 768px) {
    .timeline-modal-promotion i {
        margin-right: 0.2rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .timeline-modal-promotion i {
        margin-right: 0.15rem;
        font-size: 0.6rem;
    }
}

/* ===== 12. EDUCATION SECTION - RESPONSIVIDADE ===== */
:root {
  --education-primary: #3b82f6;
  --education-secondary: #8b5cf6;
  --education-success: #10b981;
  --education-warning: #f59e0b;
  --education-gray: #6b7280;
  --education-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --education-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  --education-shadow-hover: 0 30px 60px rgba(0, 0, 0, 0.15);
  --education-border-radius: 24px;
  --education-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.education-section {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 32px;
  padding: 60px 40px;
  margin: 40px 0;
  overflow: hidden;
}

/* Responsividade education section */
@media (max-width: 1024px) {
  .education-section {
    padding: 45px 30px;
    border-radius: 28px;
    margin: 30px 0;
  }
}

@media (max-width: 768px) {
  .education-section {
    padding: 35px 24px;
    border-radius: 24px;
    margin: 24px 0;
  }
}

@media (max-width: 640px) {
  .education-section {
    padding: 30px 20px;
    border-radius: 20px;
    margin: 20px 0;
  }
}

@media (max-width: 480px) {
  .education-section {
    padding: 24px 16px;
    border-radius: 16px;
    margin: 16px 0;
  }
}

.education-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
  pointer-events: none;
}

.education-header {
  position: relative;
  z-index: 2;
}

.education-header .inline-flex {
  transition: var(--education-transition);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.education-header .inline-flex:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.2);
}

.education-grid {
  position: relative;
  z-index: 2;
}

.education-card {
    min-width: 250px;
    width: 100%;
    max-width: 280px;
    perspective: 1000px;
}

/* Responsividade education card */
@media (max-width: 1200px) {
    .education-card {
        min-width: 230px;
        max-width: 260px;
    }
}

@media (max-width: 1024px) {
    .education-card {
        min-width: 220px;
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .education-card {
        min-width: 200px;
        max-width: 230px;
    }
}

@media (max-width: 640px) {
    .education-card {
        min-width: 180px;
        max-width: 210px;
    }
}

@media (max-width: 480px) {
    .education-card {
        min-width: 160px;
        max-width: 190px;
    }
}

.education-card-inner {
  position: relative;
  background: white;
  border-radius: var(--education-border-radius);
  padding: 24px 20px;
  cursor: pointer;
  transition: var(--education-transition);
  transform-style: preserve-3d;
  border: 2px solid transparent;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.08),
    0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Responsividade card inner */
@media (max-width: 1024px) {
  .education-card-inner {
    padding: 20px 16px;
    min-height: 180px;
    border-radius: 20px;
  }
}

@media (max-width: 768px) {
  .education-card-inner {
    padding: 18px 14px;
    min-height: 160px;
    border-radius: 18px;
  }
}

@media (max-width: 640px) {
  .education-card-inner {
    padding: 16px 12px;
    min-height: 150px;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .education-card-inner {
    padding: 14px 10px;
    min-height: 140px;
    border-radius: 14px;
  }
}

.education-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--education-border-radius);
  transition: var(--education-transition);
  opacity: 0;
  z-index: -1;
}

.education-card-bg.current {
  background: linear-gradient(135deg, 
    rgba(16, 185, 129, 0.05) 0%, 
    rgba(5, 150, 105, 0.1) 100%);
}

.education-card-bg.completed {
  background: linear-gradient(135deg, 
    rgba(107, 114, 128, 0.05) 0%, 
    rgba(75, 85, 99, 0.1) 100%);
}

.education-card:hover .education-card-bg {
  opacity: 1;
}

.education-status-indicator {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
}

/* Responsividade status indicator */
@media (max-width: 768px) {
  .education-status-indicator {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 480px) {
  .education-status-indicator {
    top: 10px;
    right: 10px;
  }
}

.education-status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid white;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsividade status dot */
@media (max-width: 768px) {
  .education-status-dot {
    width: 10px;
    height: 10px;
    border-width: 2px;
  }
}

@media (max-width: 480px) {
  .education-status-dot {
    width: 8px;
    height: 8px;
    border-width: 2px;
  }
}

.education-status-dot.current {
  background: linear-gradient(135deg, #10b981, #059669);
}

.education-status-dot.completed {
  background: linear-gradient(135deg, #6b7280, #4b5563);
}

.education-status-pulse {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.3);
  animation: education-pulse 2s infinite;
}

/* Responsividade pulse */
@media (max-width: 768px) {
  .education-status-pulse {
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .education-status-pulse {
    top: -4px;
    left: -4px;
    width: 16px;
    height: 16px;
  }
}

.education-status-pulse.current {
  background: rgba(16, 185, 129, 0.3);
}

.education-logo-wrapper {
  margin: 20px 0;
  transition: var(--education-transition);
}

/* Responsividade logo wrapper */
@media (max-width: 768px) {
  .education-logo-wrapper {
    margin: 16px 0;
  }
}

@media (max-width: 480px) {
  .education-logo-wrapper {
    margin: 12px 0;
  }
}

.education-card:hover .education-logo-wrapper {
  transform: scale(1.05);
}

.education-logo-container {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

/* Responsividade logo container */
@media (max-width: 1024px) {
  .education-logo-container {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .education-logo-container {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    padding: 8px;
  }
}

@media (max-width: 640px) {
  .education-logo-container {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    padding: 7px;
  }
}

@media (max-width: 480px) {
  .education-logo-container {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    padding: 6px;
  }
}

.education-logo-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent);
  transition: var(--education-transition);
}

.education-card:hover .education-logo-container::before {
  left: 100%;
  transition: left 0.6s ease;
}

.education-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  transition: var(--education-transition);
}

/* Responsividade logo */
@media (max-width: 768px) {
  .education-logo {
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .education-logo {
    border-radius: 8px;
  }
}

.education-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}

/* Responsividade info */
@media (max-width: 768px) {
  .education-info {
    margin-top: 6px;
  }
}

@media (max-width: 480px) {
  .education-info {
    margin-top: 4px;
  }
}

.education-institution {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
  line-height: 1.2;
  transition: var(--education-transition);
}

/* Responsividade institution */
@media (max-width: 1024px) {
  .education-institution {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .education-institution {
    font-size: 14px;
    margin-bottom: 3px;
  }
}

@media (max-width: 640px) {
  .education-institution {
    font-size: 13px;
    margin-bottom: 2px;
  }
}

@media (max-width: 480px) {
  .education-institution {
    font-size: 12px;
    margin-bottom: 2px;
  }
}

.education-program {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.3;
  opacity: 0.9;
}

/* Responsividade program */
@media (max-width: 1024px) {
  .education-program {
    font-size: 12px;
    margin-bottom: 7px;
  }
}

@media (max-width: 768px) {
  .education-program {
    font-size: 11px;
    margin-bottom: 6px;
  }
}

@media (max-width: 640px) {
  .education-program {
    font-size: 10px;
    margin-bottom: 5px;
  }
}

@media (max-width: 480px) {
  .education-program {
    font-size: 9px;
    margin-bottom: 4px;
  }
}

.education-location {
  display: flex;
  align-items: center;
  space-x: 4px;
  margin-top: auto;
}

.education-flag {
  font-size: 14px;
  margin-right: 4px;
}

/* Responsividade flag */
@media (max-width: 768px) {
  .education-flag {
    font-size: 12px;
    margin-right: 3px;
  }
}

@media (max-width: 480px) {
  .education-flag {
    font-size: 10px;
    margin-right: 2px;
  }
}

.education-country {
  font-size: 11px;
  color: #9ca3af;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsividade country */
@media (max-width: 1024px) {
  .education-country {
    font-size: 10px;
  }
}

@media (max-width: 768px) {
  .education-country {
    font-size: 9px;
    letter-spacing: 0.3px;
  }
}

@media (max-width: 480px) {
  .education-country {
    font-size: 8px;
    letter-spacing: 0.2px;
  }
}

.education-footer {
  position: relative;
  z-index: 2;
}

.education-footer .inline-flex {
  transition: var(--education-transition);
  backdrop-filter: blur(20px);
}

.education-footer .inline-flex:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Animações */
@keyframes education-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.3;
  }
}

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

/* ===== 13. Projects SECTION - RESPONSIVIDADE ===== */
#projects {
  position: relative;
}

#projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 25% 25%, rgba(10, 115, 201, 0.03) 0%, transparent 50%),
                    radial-gradient(circle at 75% 75%, rgba(10, 115, 201, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

.client-logo {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.client-logo:hover {
  transform: translateY(-2px) translateZ(0);
}

.client-logo:hover img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

.client-logo img {
  transition: all 0.3s ease;
  max-height: 72px;
  width: auto;
  filter: grayscale(60%) brightness(0.9);
  will-change: transform;
}

/* Responsividade client logo */
@media (max-width: 1024px) {
  .client-logo img {
    max-height: 64px;
  }
}

@media (max-width: 768px) {
  .client-logo img {
    max-height: 56px;
  }
}

@media (max-width: 640px) {
  .client-logo img {
    max-height: 48px;
  }
}

@media (max-width: 480px) {
  .client-logo img {
    max-height: 40px;
  }
}

.client-card {
    transition: all 0.3s ease;
}

.client-card:hover {
    transform: translateY(-4px);
}

/* Tamanho fixo e compacto para os cards */
.client-logo-container {
    width: 120px;
    height: 80px;
    padding: 8px;
}

.client-logo {
    max-width: 100%;
    max-height: 32px;
    width: auto;
    height: auto;
}

.client-info {
    padding-top: 4px;
}


.client-card img {
  height: 70px !important;
}

/* Responsividade client card */
@media (max-width: 1024px) {
  .client-card img {
    height: 60px !important;
  }
}

@media (max-width: 768px) {
  .client-card img {
    height: 50px !important;
  }
}

@media (max-width: 640px) {
  .client-card img {
    height: 45px !important;
  }
}

@media (max-width: 480px) {
  .client-card img {
    height: 40px !important;
  }
}

.client-logo .bg-white {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  min-height: 80px;
}

/* Responsividade container */
@media (max-width: 1024px) {
  .client-logo .bg-white {
    min-height: 70px;
  }
}

@media (max-width: 768px) {
  .client-logo .bg-white {
    min-height: 60px;
  }
}

@media (max-width: 640px) {
  .client-logo .bg-white {
    min-height: 55px;
  }
}

@media (max-width: 480px) {
  .client-logo .bg-white {
    min-height: 50px;
  }
}

.client-logo .absolute {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Responsividade flag */
@media (max-width: 768px) {
  .client-logo .absolute {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .client-logo .absolute {
    width: 16px;
    height: 16px;
    font-size: 0.75rem;
  }
}

/* Responsividade grids */
@media (max-width: 1280px) {
  #projects .grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.75rem;
  }
}

@media (max-width: 1024px) {
  #projects .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  #projects .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 640px) {
  #projects .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  #projects .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* Animações de loading */
.client-logo img[src=""] {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

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

.client-logo img:not([src]) {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.04), transparent);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.client-logo:focus-within {
  outline: 2px solid #0A73C9;
  outline-offset: 2px;
  border-radius: 0.75rem;
}

/* Dark mode (preparado) */
@media (prefers-color-scheme: dark) {
  .client-logo .bg-white {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .client-logo img {
    filter: grayscale(60%) brightness(0.8) contrast(1.1);
  }

  .client-logo:hover img {
    filter: grayscale(0%) brightness(1) contrast(1);
  }
}

.client-logo .shadow-sm:hover,
.client-logo .shadow-md:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.client-logo .shadow-md:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* ===== 14. RESPONSIVIDADE GERAL ADICIONAL ===== */

/* Container principal responsivo */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 0.75rem;
    }
}

/* Responsividade para seções principais */
.section-padding {
    padding: 4rem 0;
}

@media (max-width: 1024px) {
    .section-padding {
        padding: 3rem 0;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 2.5rem 0;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 2rem 0;
    }
}

/* Headers responsivos */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(0.875rem, 2.5vw, 1.125rem);
    line-height: 1.6;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .section-subtitle {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-subtitle {
        margin-bottom: 1.25rem;
    }
}

/* Cards responsivos gerais */
.card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
}

@media (max-width: 768px) {
    .card {
        border-radius: 0.875rem;
    }
}

@media (max-width: 480px) {
    .card {
        border-radius: 0.75rem;
    }
}

/* Imagens responsivas */
.responsive-img {
    width: 100%;
    height: auto;
    max-width: 100%;
}

.responsive-avatar {
    border-radius: 50%;
    object-fit: cover;
}

/* Grid responsivo genérico */
.responsive-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (max-width: 768px) {
    .responsive-grid {
        gap: 1.25rem;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 640px) {
    .responsive-grid {
        gap: 1rem;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .responsive-grid {
        gap: 0.75rem;
        grid-template-columns: 1fr;
    }
}

/* Flex responsivo */
.responsive-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

@media (max-width: 768px) {
    .responsive-flex {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .responsive-flex {
        gap: 0.5rem;
        flex-direction: column;
        align-items: stretch;
    }
}

/* Espaçamentos responsivos */
.mb-responsive {
    margin-bottom: clamp(1rem, 3vw, 2rem);
}

.mt-responsive {
    margin-top: clamp(1rem, 3vw, 2rem);
}

.py-responsive {
    padding-top: clamp(1rem, 3vw, 2rem);
    padding-bottom: clamp(1rem, 3vw, 2rem);
}

.px-responsive {
    padding-left: clamp(0.75rem, 2vw, 1.5rem);
    padding-right: clamp(0.75rem, 2vw, 1.5rem);
}

/* Typography responsiva */
.text-responsive-xl {
    font-size: clamp(1.5rem, 4vw, 3rem);
    line-height: 1.2;
}

.text-responsive-lg {
    font-size: clamp(1.25rem, 3vw, 2rem);
    line-height: 1.3;
}

.text-responsive-base {
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    line-height: 1.6;
}

.text-responsive-sm {
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    line-height: 1.5;
}

/* Botões responsivos */
.btn-responsive {
    padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
    font-size: clamp(0.875rem, 2vw, 1rem);
    border-radius: clamp(0.5rem, 1vw, 1rem);
}

/* Esconder elementos em diferentes breakpoints */
.hide-mobile {
    display: block;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
}

.hide-desktop {
    display: none;
}

@media (max-width: 768px) {
    .hide-desktop {
        display: block !important;
    }
}

.show-tablet-up {
    display: none;
}

@media (min-width: 769px) {
    .show-tablet-up {
        display: block !important;
    }
}

/* Overflow responsivo */
.overflow-responsive {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .overflow-responsive {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .overflow-responsive::-webkit-scrollbar {
        display: none;
    }
}

/* Gaps responsivos para flexbox e grid */
.gap-responsive {
    gap: clamp(0.5rem, 2vw, 1.5rem);
}

.gap-responsive-sm {
    gap: clamp(0.25rem, 1vw, 0.75rem);
}

.gap-responsive-lg {
    gap: clamp(1rem, 3vw, 2.5rem);
}

/* Bordas responsivas */
.border-radius-responsive {
    border-radius: clamp(0.5rem, 1.5vw, 1.5rem);
}

.border-radius-responsive-sm {
    border-radius: clamp(0.25rem, 1vw, 0.75rem);
}

/* Shadows responsivas */
.shadow-responsive {
    box-shadow: 0 clamp(2px, 1vw, 8px) clamp(8px, 3vw, 25px) rgba(0, 0, 0, 0.1);
}

.shadow-responsive-lg {
    box-shadow: 0 clamp(4px, 2vw, 15px) clamp(15px, 4vw, 40px) rgba(0, 0, 0, 0.12);
}

/* Width responsiva */
.w-responsive-full {
    width: 100%;
    max-width: 100%;
}

.w-responsive-auto {
    width: auto;
    max-width: 100%;
}

/* Height responsiva */
.h-responsive-screen {
    height: 100vh;
    min-height: 100vh;
}

@media (max-width: 768px) {
    .h-responsive-screen {
        height: auto;
        min-height: 80vh;
    }
}

.h-responsive-auto {
    height: auto;
    min-height: fit-content;
}

/* Aspect ratios responsivos */
.aspect-responsive-16-9 {
    aspect-ratio: 16/9;
}

@media (max-width: 768px) {
    .aspect-responsive-16-9 {
        aspect-ratio: 4/3;
    }
}

@media (max-width: 480px) {
    .aspect-responsive-16-9 {
        aspect-ratio: 1/1;
    }
}

.aspect-responsive-square {
    aspect-ratio: 1/1;
}

/* Z-index responsivo */
.z-responsive-modal {
    z-index: 9999;
}

.z-responsive-dropdown {
    z-index: 1000;
}

.z-responsive-sticky {
    z-index: 100;
}

/* Position responsiva */
.position-responsive-sticky {
    position: sticky;
    top: 0;
}

@media (max-width: 768px) {
    .position-responsive-sticky {
        position: relative;
        top: auto;
    }
}

/* Transform responsiva */
.transform-responsive-hover:hover {
    transform: translateY(clamp(-2px, -0.5vw, -8px));
}

.transform-responsive-scale:hover {
    transform: scale(clamp(1.01, 1.02, 1.05));
}

/* Smooth scrolling melhorado */
@media (prefers-reduced-motion: no-preference) {
    .smooth-scroll {
        scroll-behavior: smooth;
    }
}

/* Print styles responsivos */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-break-before {
        page-break-before: always;
    }
    
    .print-break-after {
        page-break-after: always;
    }
    
    * {
        color: black !important;
        background: white !important;
        box-shadow: none !important;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .high-dpi-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape orientation */
@media (orientation: landscape) and (max-height: 500px) {
    .landscape-adjust {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

/* Motion reduce para todas as animações */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hover-scale:hover,
    .transform-responsive-hover:hover,
    .transform-responsive-scale:hover {
        transform: none !important;
    }
}