/* Sistema de Design Profissional LudoCare - Paleta Corporativa Sóbria */
:root {
    /* === PALETA PRINCIPAL - DESIGN CORPORATIVO === */
    /* Baseado em princípios de design de grandes corporações (Apple, Microsoft, IBM) */
    
    /* Azul Corporativo LudoCare - Cor Principal (Minimalista) */
    --corporate-blue-50: #f8faff;    /* Backgrounds ultra sutis */
    --corporate-blue-100: #f0f4ff;   /* Hover states discretos */
    --corporate-blue-200: #e0e9ff;   /* Borders suaves */
    --corporate-blue-300: #c7d6ff;   /* Elementos desabilitados */
    --corporate-blue-400: #9bb3ff;   /* Elementos secundários */
    --corporate-blue-500: #4c6ef5;   /* COR PRIMÁRIA - AZUL CORPORATIVO */
    --corporate-blue-600: #364fc7;   /* Hover primário */
    --corporate-blue-700: #2a4ba0;   /* Active states */
    --corporate-blue-800: #1e3a8a;   /* Elementos enfáticos */
    --corporate-blue-900: #172b7a;   /* Texto em destaque */

    /* Cinzas Corporativos - Escala Neutra Profissional */
    --slate-50: #f8fafc;     /* Background principal */
    --slate-100: #f1f5f9;    /* Cards e seções */
    --slate-200: #e2e8f0;    /* Borders discretas */
    --slate-300: #cbd5e1;    /* Dividers */
    --slate-400: #94a3b8;    /* Texto placeholder */
    --slate-500: #64748b;    /* Texto secundário */
    --slate-600: #475569;    /* Texto padrão */
    --slate-700: #334155;    /* Texto importante */
    --slate-800: #1e293b;    /* Headers e títulos */
    --slate-900: #0f172a;    /* Texto principal máximo contraste */

    /* Accent Sutil - Verde Corporativo (Uso Mínimo) */
    --emerald-500: #10b981;   /* Success e confirmações */
    --emerald-600: #059669;   /* Success hover */
    --emerald-50: #ecfdf5;    /* Success background */

    /* === CORES SEMÂNTICAS CORPORATIVAS === */
    --primary: var(--corporate-blue-500);
    --primary-hover: var(--corporate-blue-600);
    --primary-focus: var(--corporate-blue-700);
    --primary-light: var(--corporate-blue-50);
    
    --accent: var(--emerald-500);
    --accent-hover: var(--emerald-600);
    --accent-light: var(--emerald-50);
    
    --neutral: var(--slate-600);
    --neutral-light: var(--slate-400);
    --neutral-dark: var(--slate-800);

    /* Cores de Estado - Minimalistas */
    --success: var(--emerald-500);
    --success-bg: var(--emerald-50);
    --warning: #f59e0b;
    --warning-bg: #fef3c7;
    --error: #dc2626;
    --error-bg: #fee2e2;
    --info: var(--corporate-blue-500);
    --info-bg: var(--corporate-blue-50);

    /* === BACKGROUNDS CORPORATIVOS === */
    --bg-primary: #ffffff;              /* Background principal - branco puro */
    --bg-secondary: var(--slate-50);    /* Seções alternativas */
    --bg-tertiary: var(--slate-100);    /* Cards e elementos */
    --bg-subtle: var(--corporate-blue-50);  /* Acentos discretos */
    --bg-dark: var(--slate-900);        /* Seções de contraste */
    --bg-overlay: rgba(15, 23, 42, 0.6); /* Overlays sutis */

    /* === TIPOGRAFIA CORPORATIVA === */
    --text-primary: var(--slate-900);    /* Texto principal */
    --text-secondary: var(--slate-700);  /* Texto secundário */
    --text-tertiary: var(--slate-600);   /* Texto auxiliar */
    --text-muted: var(--slate-500);      /* Texto desabilitado */
    --text-placeholder: var(--slate-400);
    --text-on-primary: #ffffff;          /* Texto em botões primários */
    --text-on-dark: #ffffff;             /* Texto em backgrounds escuros */
    --text-link: var(--primary);
    --text-link-hover: var(--primary-hover);

    /* === BORDERS MINIMALISTAS === */
    --border-subtle: var(--slate-200);   /* Borders quase imperceptíveis */
    --border-light: var(--slate-300);    /* Borders padrão */
    --border-medium: var(--slate-400);   /* Borders enfáticos */
    --border-focus: var(--primary);      /* Focus states */

    /* === GRADIENTES CORPORATIVOS (USO MÍNIMO) === */
    --gradient-subtle: linear-gradient(180deg, #ffffff 0%, var(--slate-50) 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    --gradient-dark: linear-gradient(180deg, var(--slate-800) 0%, var(--slate-900) 100%);

    /* === SOMBRAS CORPORATIVAS - SUTIS E ELEGANTES === */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-focus: 0 0 0 3px rgba(76, 110, 245, 0.1);

    /* === TRANSIÇÕES PROFISSIONAIS === */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* === TIPOGRAFIA CORPORATIVA === */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;

    /* === COMPATIBILIDADE (Mapeamento das variáveis antigas) === */
    --dark-blue: var(--corporate-blue-800);
    --blue: var(--primary);
    --light-blue: var(--corporate-blue-400);
    --red: var(--error);
    
    --gray-50: var(--slate-50);
    --gray-100: var(--slate-100);
    --gray-200: var(--slate-200);
    --gray-300: var(--slate-300);
    --gray-400: var(--slate-400);
    --gray-500: var(--slate-500);
    --gray-600: var(--slate-600);
    --gray-700: var(--slate-700);
    --gray-800: var(--slate-800);
    --gray-900: var(--slate-900);
    
    --bg-main: var(--bg-primary);
    --bg-card: var(--bg-primary);
    --bg-accent-subtle: var(--bg-subtle);
    --bg-section-alt: var(--bg-secondary);
    --bg-section-dark: var(--bg-dark);
    --bg-header-footer: var(--bg-primary);
    
    --border-color: var(--border-light);
    --border-color-strong: var(--border-medium);
    
    --gradient-blue: var(--gradient-primary);
    --gradient-red: linear-gradient(90deg, var(--error) 0%, #f87171 100%);
}
    
    /* === TRANSIÇÕES SUAVES === */
    --transition-fast: all 0.15s ease-out;
    --transition-normal: all 0.25s ease-out;
    --transition-slow: all 0.4s ease-out;
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* === TIPOGRAFIA === */
    --font-primary: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --font-display: 'Montserrat', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* === COMPATIBILITY MAPPING === */
    /* Mapeamento das variáveis antigas para as novas (retrocompatibilidade) */
    --dark-blue: var(--ludocare-blue-800);
    --blue: var(--ludocare-blue-500);
    --light-blue: var(--ludocare-blue-400);
    --red: var(--error);
    
    --gray-50: var(--neutral-50);
    --gray-100: var(--neutral-100);
    --gray-200: var(--neutral-200);
    --gray-300: var(--neutral-300);
    --gray-400: var(--neutral-400);
    --gray-500: var(--neutral-500);
    --gray-600: var(--neutral-600);
    --gray-700: var(--neutral-700);
    --gray-800: var(--neutral-800);
    --gray-900: var(--neutral-900);
    --gray-950: var(--neutral-950);
    
    --bg-main: var(--bg-primary);
    --bg-card: var(--bg-secondary);
    --bg-accent-subtle: var(--bg-accent);
    --bg-section-alt: var(--bg-tertiary);
    --bg-section-dark: var(--bg-dark);
    --bg-header-footer: var(--bg-secondary);
    
    --border-color: var(--border-light);
    --border-color-strong: var(--border-medium);
    
    --gradient-blue: var(--gradient-primary);
    --gradient-red: linear-gradient(90deg, var(--error) 0%, var(--error-light) 100%);
}

/* === CLASSES UTILITÁRIAS DE CORES === */
.text-primary { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-on-dark { color: var(--text-on-dark) !important; }

.bg-primary { background-color: var(--bg-primary) !important; }
.bg-secondary { background-color: var(--bg-secondary) !important; }
.bg-accent { background-color: var(--bg-accent) !important; }

.border-primary { border-color: var(--border-primary) !important; }
.border-light { border-color: var(--border-light) !important; }

.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow-md { box-shadow: var(--shadow-md) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Altura do header fixo */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    font-weight: 400;
    letter-spacing: 0.01em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    width: 100%;
    max-width: 1200px; /* Aumentei a largura máxima para acomodar o menu */
    margin: 0 auto;
    padding: 0 1.5rem; /* Equivalente a 24px */
}

section {
    padding: 5rem 0; /* 80px */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1.25rem; /* 20px */
    color: var(--dark-blue); /* Títulos com a cor primária */
}

h1 {
    font-size: 3.5rem; /* Aumentado de 2.9rem para 3.5rem */
    font-weight: 700;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    letter-spacing: -0.03em;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h2 {
    font-size: 3rem; /* Aumentado de 2.75rem para 3rem */
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.2;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h3 {
    font-size: 2.25rem; /* Aumentado de 2rem para 2.25rem */
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h4 {
    font-size: 1.75rem; /* Aumentado de 1.5rem para 1.75rem */
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

p {
    margin-bottom: 1.5rem;
    font-family: var(--font-text);
    color: var(--text-secondary);
    font-size: 1.125rem; /* Aumentado de 1.05rem para 1.125rem */
    line-height: 1.75;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem; /* Espaçamento para os marcadores */
}

li {
    margin-bottom: 0.5rem; /* 8px */
}

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

a:hover {
    color: var(--text-link-hover);
    text-decoration: underline;
}

small {
    font-size: 0.875em;
    color: var(--text-muted);
    display: block; /* Para que o margin-top funcione bem */
    margin-top: 0.5rem;
}

.separator {
    width: 60px;
    height: 2px;
    background: var(--gray-400);
    margin: 1.2rem auto 2.5rem auto; /* Centralizado abaixo do título da seção */
    border-radius: 1px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header::before {
    content: none; /* Removendo o círculo decorativo */
}

.section-header h2 {
    margin-bottom: 0.7rem;
    position: relative;
    z-index: 1;
    display: inline-block;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    font-size: 3.2rem; /* Aumentado para consistência */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.section-header p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
    font-size: 1.2rem; /* Aumentado de 1.1rem para 1.2rem */
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 4px; /* Botões menos arredondados para um look mais corporativo */
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: var(--font-primary);
    text-decoration: none;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); /* Sombra mais sutil */
    backface-visibility: hidden;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.1s ease;
}

.btn-primary {
    background-color: var(--gray-900);
    color: white;
    border-color: var(--gray-900);
}

.btn-primary:hover {
    background-color: var(--blue);
    border-color: var(--blue);
    color: white;
}

.btn-secondary {
    background-color: var(--red);
    color: white;
    border-color: var(--red);
}

.btn-secondary:hover {
    background-color: #d12d3b;
    border-color: #d12d3b;
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    text-shadow: none;
}

.btn-outline:hover {
    border-color: white;
    color: var(--primary);
    background-color: white;
}

.btn-blue {
    background-color: var(--blue);
    color: white;
    border-color: var(--blue);
}

.btn-blue:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.95rem;
}

.btn-lg {
    padding: 1rem 2.5rem; /* 16px 40px */
    font-size: 1rem; /* 16px */
}

/* Hero Section Enhancements */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero .video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-position: center;
    z-index: 2;
}

.particle-container {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: url('images/glow-effect.svg');
    background-size: contain;
    opacity: 0.3;
    z-index: 0;
    animation: float 8s infinite ease-in-out;
}

.particle-1 {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle-3 {
    width: 250px;
    height: 250px;
    top: 70%;
    left: 30%;
    animation-delay: 4s;
}

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

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.hero-text {
    max-width: 800px;
    color: white;
    text-align: center;
}

.hero-text .subtitle {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    display: block;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text h1 {
    font-size: 4rem; /* Aumentado de 3.5rem para 4rem */
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 800;
    line-height: 1.2;
    -webkit-text-fill-color: white;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.025em;
}

.hero-text h1 .highlight {
    color: var(--light-blue);
    -webkit-text-fill-color: var(--light-blue);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-text p {
    font-size: 1.35rem; /* Aumentado de 1.2rem para 1.35rem */
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 100%;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    margin-left: auto;
    margin-right: auto;
}

.hero-stat {
    display: flex;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--light-blue);
    line-height: 1;
}

.stat-symbol {
    font-size: 2rem;
    font-weight: 800;
    color: var(--light-blue);
}

.stat-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-visual {
    flex: 0 0 40%;
    position: relative;
}

.phone-mockup {
    width: 250px;
    height: 500px;
    background: #111;
    border-radius: 30px;
    margin: 0 auto;
    border: 8px solid #333;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    overflow: hidden;
}

.app-interface {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.app-header {
    height: 60px;
    background: var(--dark-blue);
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.app-content {
    flex: 1;
    padding: 20px;
    background: #121416;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.app-chart {
    height: 200px;
    background: #1c2530;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.app-chart:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 168, 232, 0.1), transparent);
}

.app-chart:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(90deg, 
        transparent 0%, rgba(0, 168, 232, 0.2) 25%, 
        rgba(0, 168, 232, 0.2) 75%, transparent 100%);
    animation: pulse 4s infinite;
}

.app-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.app-stats:before,
.app-stats:after {
    content: '';
    height: 30px;
    border-radius: 6px;
    background: #1c2530;
}

.app-stats:before {
    width: 100%;
}

.app-stats:after {
    width: 70%;
}

@keyframes pulse {
    0% { opacity: 0.4; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-10px); }
    100% { opacity: 0.4; transform: translateY(0); }
}

.wave-bottom {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-bottom img {
    width: 100%;
    display: block;
}

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

@keyframes pulse-btn {
    0% { box-shadow: 0 0 0 0 rgba(0, 168, 232, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(0, 168, 232, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 168, 232, 0); }
}

.animated-element {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-main);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 70px;
    height: 70px;
    animation: spin 2s linear infinite;
}

#loader-circle {
    fill: none;
    stroke-width: 4;
    stroke-linecap: round;
    stroke: var(--gray-800);
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: dash 1.5s ease-in-out infinite;
}

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

/* About Section Styles */
.about {
    position: relative;
    padding-bottom: 7rem; /* Further increased padding to ensure content doesn't get too close to wave */
    background-color: var(--bg-main);
    overflow: visible; /* Ensure content overflow is visible */
    z-index: 1; /* Add z-index to establish a stacking context */
}

.about-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.about-card {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 10; /* High z-index */
    transform: translateZ(0); /* Force stacking context */
}

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

.card-image {
    flex: 0 0 45%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: stretch;
    background: var(--gray-100);
}

.image-with-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 109, 164, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay-icon {
    font-size: 3rem;
    color: white;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.card-content {
    flex: 0 0 55%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 5; /* Increased z-index */
    transform: translateZ(0); /* Create stacking context */
}

.card-content h3 {
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.card-content h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--light-blue);
}

.mission-statement {
    margin-top: 1rem;
    padding: 1rem;
    background-color: rgba(0, 168, 232, 0.05);
    border-left: 3px solid var(--light-blue);
    font-style: italic;
    color: var(--text-primary);
    font-weight: 500;
}

.icon-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.icon-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.icon-list li:last-child {
    border-bottom: none;
}

.icon-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.list-content {
    flex-grow: 1;
}

.location-grid {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 5; /* Updated to higher z-index for consistency */
}

.location-column {
    flex: 1;
    position: relative;
    z-index: 5; /* Adding z-index for better stacking */
}

.location-heading {
    margin-bottom: 1rem;
    color: var(--blue);
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gray-200);
}

.location-item {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: var(--gray-100);
    border-radius: 6px;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 5; /* Increased z-index for stronger stacking context */
    cursor: pointer;
    pointer-events: auto;
}

.location-item:hover {
    background-color: var(--bg-accent-subtle);
}

.location-name {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.location-desc {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.location-item:last-child {
    z-index: 10; /* Extra high z-index for the last item (Hong Kong) */
    position: relative;
    margin-bottom: 1.5rem; /* Extra margin to move away from the wave */
}

.image-with-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 109, 164, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-card:hover .image-overlay {
    opacity: 1;
}

.overlay-icon {
    font-size: 3rem;
    color: white;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.about-card:hover .overlay-icon {
    transform: scale(1);
}

.section-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: -1; /* Negative z-index to force it below all content */
    pointer-events: none; /* Ensures the wave doesn't interfere with clicking on content */
}

.section-divider svg {
    width: 100%;
    height: auto;
    display: block;
    z-index: 0;
    position: relative;
}

/* Additional space for the last about card containing the locations */
.about-grid .about-card:last-child {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

/* Ludopatia Section Styles */
.visual-block {
    margin-bottom: 3rem;
}

.visual-content {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin: 2rem 0;
}

.text-content {
    flex: 1;
}

.visual-element {
    flex: 1;
    padding: 1rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

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

.info-graphic,
.chart-graphic {
    width: 100%;
    height: auto;
    border-radius: 6px;
    transition: transform 0.5s ease;
}

.visual-element:hover .info-graphic,
.visual-element:hover .chart-graphic {
    transform: scale(1.02);
}

.visual-caption {
    margin-top: 1rem;
    text-align: center;
    padding: 0.5rem;
    border-top: 1px solid var(--gray-200);
}

.visual-caption span {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: block;
}

.visual-caption small {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.stats-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.stat-card {
    flex: 1 1 200px;
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.stat-info {
    flex-grow: 1;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.25rem;
}

.stat-source {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
}

.data-visualization {
    margin: 2rem 0;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.data-list li {
    margin-bottom: 0.75rem;
    list-style-type: none;
    position: relative;
    padding-left: 1.5rem;
}

.data-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: var(--blue);
    border-radius: 50%;
}

.data-highlight {
    font-weight: 700;
    color: var(--blue);
}

/* Nossa Proposta - Solution Section Styles */
.solution-block {
    margin-bottom: 3rem;
}

.solution-intro {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.intro-text {
    flex: 1;
}

.solution-icon {
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    background-color: white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.solution-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.card-icon {
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: var(--blue);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.card-content h4 {
    margin-bottom: 1rem;
    color: var(--dark-blue);
    font-size: 1.8rem; /* Aumentado para melhor destaque */
    font-weight: 600;
    line-height: 1.3;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.feature-list {
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-100);
}

.feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-item i {
    color: var(--blue);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.app-showcase {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 2rem;
}

.app-visual {
    position: relative;
    flex: 0 0 45%;
    margin-bottom: 0;
}

.app-visual img {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: block;
}

.app-badge-visual {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: linear-gradient(135deg, var(--blue), var(--light-blue));
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(0, 168, 232, 0.3);
}

.app-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.showcase-visual {
    flex: 1;
    max-width: 300px;
}

.app-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.showcase-content {
    flex: 2;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.app-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: var(--blue);
    border-radius: 8px;
    flex-shrink: 0;
}

.feature-text h5 {
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.tech-showcase {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.showcase-visual {
    flex: 1;
}

.tech-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: transform 0.5s ease;
}

.showcase-visual:hover .tech-image {
    transform: scale(1.02);
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tech-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-feature:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.casino-system {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.casino-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.casino-feature {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--gray-100);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.casino-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.casino-feature .feature-icon {
    margin: 0 auto 1rem;
}

/* Proteção Legal Section Styles */
.legal-section {
    margin-top: 3rem;
}

.legal-container {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.legal-content {
    flex: 2;
}

.legal-visual {
    flex: 1;
}

.legal-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

.law-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
    border-left: 4px solid var(--blue);
}

.law-card h4 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.law-card h4 i {
    color: var(--blue);
}

.law-card ul {
    list-style: none;
    padding-left: 1.5rem;
}

.law-card ul li {
    position: relative;
    margin-bottom: 1rem;
}

.law-card ul li:before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: var(--blue);
    border-radius: 50%;
}

.benefit-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-card {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.benefit-icon {
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 1rem;
}

/* Ferramentas Section Styles */
.tools-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.tool-showcase {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.tool-visual {
    flex: 1;
    max-width: 300px;
}

.tool-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.tool-visual:hover .tool-image {
    transform: scale(1.05);
}

.tool-content {
    flex: 2;
}

.tool-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.tool-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.tool-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--gray-100);
    border-radius: 30px;
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.tool-links a:hover {
    background-color: var(--gray-200);
    transform: translateY(-2px);
}

/* Contact Section Styles */
.collaboration-section {
    margin-top: 3rem;
}

.collab-visual {
    text-align: center;
    margin-bottom: 3rem;
}

.collab-image {
    width: 100%;
    max-width: 600px;
    height: auto;
}

.stakeholder-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stakeholder-card {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

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

.stakeholder-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--blue);
    color: white;
    font-size: 2rem;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 109, 164, 0.3);
}

.stakeholder-card h4 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 1.65rem; /* Aumentado para melhor destaque */
    line-height: 1.3;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.stakeholder-card p {
    color: var(--text-secondary);
    text-align: center;
    font-size: 1.05rem; /* Aumentado para melhor legibilidade */
    line-height: 1.6;
}

.enhanced-contact-form {
    background-color: white;
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.enhanced-contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-blue);
}

.enhanced-contact-form h3 {
    color: var(--dark-blue);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
}

.enhanced-contact-form > p {
    text-align: center;
    max-width: 80%;
    margin: 0 auto 2rem;
    color: var(--text-secondary);
}

.form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0, 109, 164, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group.flex-grow {
    flex-grow: 1;
}

.form-group.full-width {
    width: 100%;
}

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

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
    border-top: 1px solid #eaedf0;
    padding-top: 2.5rem;
    position: relative;
}

.contact-info-grid::before {
    content: 'Informações de Contato';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    padding: 0 20px;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #eaedf0;
}

.info-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-3px);
    border-color: var(--light-blue);
}

.info-item i {
    font-size: 1.5rem;
    color: #fff;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--blue);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 109, 164, 0.2);
}

.info-item h4 {
    color: var(--dark-blue);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.4rem;
}

.info-item h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--light-blue);
    border-radius: 2px;
}

.info-item p {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.contact-persons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.contact-person {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
    padding: 0.75rem;
    background-color: #fff;
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 3px solid var(--light-blue);
}

.contact-person:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transform: translateX(3px);
}

.contact-role {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.contact-name {
    color: var(--text-primary);
    font-weight: 500;
    margin: 0.2rem 0;
}

.contact-person a {
    color: var(--blue);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 0.3rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-person a:hover {
    color: var(--dark-blue);
    transform: translateX(2px);
}

.contact-hours {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.5rem;
}

.social-links {
    grid-column: span 2;
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.social-links h4 {
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.social-links h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: #006DA4;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    border-radius: 5px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2.5rem; /* Mais espaço entre os ícones */
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0082c8, #006DA4);
    color: #ffffff; 
    border-radius: 50%;
    font-size: 1.6rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(0,109,164,0.2);
    margin: 0 10px;
    position: relative;
    overflow: hidden;
    text-align: center;
    line-height: 0;
}

.social-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #006DA4, #0082c8);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 50%;
}

.social-link i {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    color: #ffffff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 15px rgba(0,109,164,0.3);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover i {
    transform: scale(1.1);
    color: #ffffff;
}

/* Estilos específicos para cada ícone social */
.social-instagram:hover {
    background: linear-gradient(45deg, #0082c8, #1e98d4);
}

.social-youtube:hover {
    background: linear-gradient(45deg, #005a88, #0082c8);
}

.contact-cta-box {
    background: linear-gradient(135deg, #005a88, #0082c8);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    color: white;
    text-align: center;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 109, 164, 0.25);
}

.contact-cta-box::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.contact-cta-box h3 {
    margin-bottom: 1.25rem;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    letter-spacing: 0.5px;
}

.contact-cta-box p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    font-weight: 400;
    opacity: 1;
}

/* Reforçando a cor branca para os parágrafos dentro de contact-cta-box */
section .contact-cta-box p {
    color: #ffffff !important;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-cta-box .btn-primary {
    background-color: #ffffff;
    color: #005a88;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    padding: 0.8rem 1.8rem;
    transition: all 0.3s ease;
}

.contact-cta-box .btn-primary:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.18);
}

.contact-cta-box .btn-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    transition: all 0.3s ease;
}

.contact-cta-box .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* ========================================
   MEDIA QUERIES - TIPOGRAFIA RESPONSIVA
   ======================================== */

/* Tablet e telas médias */
@media (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2.75rem;
    }
    
    h3 {
        font-size: 2rem;
    }
    
    h4 {
        font-size: 1.6rem;
    }
    
    p {
        font-size: 1.1rem;
    }
    
    .hero-text h1 {
        font-size: 3.2rem;
    }
    
    .hero-text p {
        font-size: 1.25rem;
    }
    
    #contato .section-header h2 {
        font-size: 2.8rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2.4rem;
    }
    
    h3 {
        font-size: 1.8rem;
    }
    
    h4 {
        font-size: 1.5rem;
    }
    
    p {
        font-size: 1.05rem;
    }
    
    .hero-text h1 {
        font-size: 2.8rem;
        line-height: 1.1;
    }
    
    .hero-text p {
        font-size: 1.15rem;
    }
    
    #contato .section-header h2 {
        font-size: 2.5rem;
    }
    
    #contato .section-header p {
        font-size: 1.15rem;
    }
    
    .stakeholder-card h4 {
        font-size: 1.5rem;
    }
    
    .stakeholder-card p {
        font-size: 1.1rem;
    }
    
    .card-content h4 {
        font-size: 1.6rem;
    }
}

/* Mobile pequeno */
@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.9rem;
    }
    
    .section-header h2 {
        font-size: 2.1rem;
    }
    
    h3 {
        font-size: 1.6rem;
    }
    
    h4 {
        font-size: 1.4rem;
    }
    
    p {
        font-size: 1rem;
    }
    
    .hero-text h1 {
        font-size: 2.4rem;
        line-height: 1.1;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    #contato .section-header h2 {
        font-size: 2rem;
    }
    
    #contato .section-header p {
        font-size: 1.1rem;
    }
    
    .stakeholder-card h4 {
        font-size: 1.4rem;
    }
    
    .stakeholder-card p {
        font-size: 1rem;
    }
    
    .card-content h4 {
        font-size: 1.5rem;
    }
}

/* ========================================
   NAVBAR / HEADER STYLES
   ======================================== */

/* Header */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Navbar */
.navbar {
    position: relative;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 1.5rem;
    max-width: 1200px;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo:hover {
    text-decoration: none;
}

.logo-text {
    font-size: 42px;
    font-weight: 400;
    font-family: 'Medula One', cursive;
    text-decoration: none;
    display: inline-block;
}

.logo-text .ludo {
    color: #034172;
}

.logo-text .care {
    color: #52dea0;
}

/* Navigation Items */
.nav-items {
    display: flex;
    align-items: center;
}

.nav-items ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-items li {
    position: relative;
}

.nav-items a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.nav-items a:hover {
    color: var(--primary);
    background-color: var(--bg-subtle);
    transform: translateY(-1px);
}

.nav-items a.active {
    color: var(--primary);
    background-color: var(--bg-subtle);
    font-weight: 600;
}

.nav-items a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1002;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.burger:hover {
    background-color: var(--bg-subtle);
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Burger Animation */
.burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .line2 {
    opacity: 0;
}

.burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-light);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-nav li {
    width: 100%;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    background-color: var(--bg-subtle);
    color: var(--primary);
    padding-left: 2rem;
}

/* Body scroll lock when mobile menu is open */
body.no-scroll {
    overflow: hidden;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-items ul {
        display: none;
    }
    
    .burger {
        display: flex;
    }
    
    .mobile-nav {
        display: flex;
    }
    
    .navbar .container {
        padding: 0 1rem;
    }
    
    .logo-text {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 30px;
    }
    
    .navbar .container {
        height: 70px;
    }
    
    .mobile-nav {
        top: 70px;
    }
}

/* ========================================
   Section 4: Modern Solution Cards & Features Showcase - New Design
   ======================================== */

/* Proposta Section Styling */
.proposta-section {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.proposta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 168, 232, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(0, 109, 164, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Additional text color fixes for proposta section */
.proposta-section h1,
.proposta-section h2,
.proposta-section h3,
.proposta-section h4,
.proposta-section h5,
.proposta-section h6,
.proposta-section p,
.proposta-section li,
.proposta-section strong,
.proposta-section em {
    color: white !important;
}

.proposta-section .section-header h2 {
    color: white !important;
}

.proposta-section .section-header p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.proposta-section .section-subtitle {
    color: rgba(255, 255, 255, 0.85) !important;
}

.golden-separator {
    background: linear-gradient(90deg, var(--blue), var(--light-blue), var(--blue));
    height: 4px;
    width: 120px;
}

/* Solutions Overview Grid */
.solutions-overview {
    margin-bottom: 4rem;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* Solution Preview Cards */
.solution-preview-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.solution-preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--light-blue));
}

.solution-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 109, 164, 0.15);
    background: rgba(0, 0, 0, 0.5);
}

.solution-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--blue), var(--light-blue));
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.solution-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 16px;
    margin-bottom: 1.5rem;
    color: var(--blue);
    font-size: 1.8rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.solution-preview-card h3 {
    color: white !important;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.solution-preview-card p {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.solution-preview-card .solution-number {
    background: linear-gradient(135deg, var(--blue), var(--light-blue));
    color: white;
}

.solution-preview-card .solution-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--light-blue);
}

.solution-preview-card .feature-tag {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.solution-preview-card:hover .feature-tag {
    background: var(--light-blue);
    color: var(--dark-blue);
    border-color: var(--light-blue);
}

/* Detailed Solutions */
.detailed-solutions {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.solution-detail-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.solution-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--blue), var(--light-blue), var(--blue));
}

/* Solution Header */
.solution-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.solution-number-large {
    font-size: 3rem;
    font-weight: 900;
    color: var(--blue);
    line-height: 1;
    opacity: 0.3;
    min-width: 80px;
}

.solution-title h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.solution-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 800px;
}

/* Features Showcase */
.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.feature-showcase-item {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.feature-showcase-item:hover {
    box-shadow: 0 8px 32px rgba(0, 109, 164, 0.1);
    transform: translateX(8px);
}

.feature-showcase-item.reverse {
    flex-direction: row-reverse;
}

.feature-showcase-item.reverse:hover {
    transform: translateX(-8px);
}

/* Feature Visual */
.feature-visual {
    flex: 0 0 300px;
    position: relative;
}

.feature-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.feature-visual:hover img {
    transform: scale(1.05);
}

.feature-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--blue);
    color: white;
    padding: 0.5rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

/* Feature Content */
.feature-content {
    flex: 1;
}

.feature-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.feature-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.highlight-item i {
    color: var(--blue);
    width: 20px;
    text-align: center;
}

/* Special Showcase Sections */
.app-showcase, .innovation-showcase, .formation-showcase, .consultancy-showcase, .feedback-showcase {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.app-header, .innovation-header, .formation-header, .consultancy-header, .feedback-header {
    text-align: center;
    margin-bottom: 2rem;
}

.app-header h4, .innovation-header h4, .formation-header h4, .consultancy-header h4, .feedback-header h4 {
    font-size: 1.5rem;
    color: white !important;
    margin-bottom: 0.5rem;
}

.app-header p, .innovation-header p, .formation-header p, .consultancy-header p, .feedback-header p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* App Features Grid */
.app-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.app-feature:hover {
    border-color: var(--light-blue);
    background: rgba(255, 255, 255, 1);
}

.app-feature i {
    color: var(--blue);
    font-size: 1.1rem;
}

.app-feature span {
    font-size: 0.9rem;
    color: var(--gray-900);
    font-weight: 500;
}

/* Innovation Showcase */
.innovation-showcase {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.innovation-visual {
    position: relative;
    flex: 0 0 45%;
    margin-bottom: 0;
}

.innovation-visual img {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: block;
}

.innovation-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.innovation-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.innovation-content h4 {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 1.2rem;
    line-height: 1.4;
}

.innovation-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.innovation-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.innovation-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.innovation-item i {
    color: var(--blue);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.innovation-text h5 {
    font-size: 1rem;
    color: var(--gray-900) !important;
    margin-bottom: 0.3rem;
}

.innovation-text p {
    font-size: 0.9rem;
    color: var(--gray-600) !important;
    line-height: 1.4;
}

/* Footer Section Styles */
footer {
    background: linear-gradient(135deg, var(--gray-900) 0%, #1a202c  100%);
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--light-blue), var(--blue));
}

footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(0, 168, 232, 0.05), transparent 70%);
    pointer-events: none;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4rem 0 3rem;
    position: relative;
    z-index: 2;
    gap: 3rem;
}

.footer-logo {
    flex: 0 0 40%;
    max-width: 400px;
}

.footer-logo-img {
    width: 180px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.footer-logo-img:hover {
    filter: brightness(1.3) drop-shadow(0 4px 15px rgba(0, 168, 232, 0.3));
    transform: scale(1.02);
}

.footer-logo p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    font-weight: 400;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex: 1;
    justify-content: flex-end;
}

.link-group {
    min-width: 160px;
}

.link-group h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--light-blue);
    border-radius: 2px;
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.link-group a:hover {
    color: var(--light-blue);
    padding-left: 8px;
    transform: translateY(-1px);
}

.link-group a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: var(--light-blue);
    transition: width 0.3s ease;
}

.link-group a:hover::before {
    width: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2rem 0;
    text-align: center;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 400;
}

/* Footer animations and enhancements */
.footer-logo,
.link-group {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.link-group:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-bottom {
    animation: fadeIn 1s ease-out 0.4s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Footer accessibility improvements */
.footer-links a:focus {
    outline: 2px solid var(--light-blue);
    outline-offset: 3px;
    background: rgba(0, 168, 232, 0.1);
    border-radius: 4px;
}

/* Footer link active state */
.footer-links a:active {
    color: white;
    background: rgba(0, 168, 232, 0.2);
    border-radius: 4px;
    padding: 2px 6px;
    margin: -2px -6px;
}

/* Smooth scroll behavior for footer links */
html {
    scroll-behavior: smooth;
}

/* Enhanced footer logo hover effect */
.footer-logo {
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-2px);
}

/* Footer contact quick info */
.footer-contact-quick {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-contact-quick p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-contact-quick p:hover {
    color: var(--light-blue);
}

.footer-contact-quick i {
    color: var(--light-blue);
    width: 16px;
    text-align: center;
}

/* Social links in footer */
.link-group a[target="_blank"] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.link-group a[target="_blank"]:hover {
    color: var(--light-blue);
    padding-left: 12px;
}

.link-group a[target="_blank"] i {
    color: var(--light-blue);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.link-group a[target="_blank"]:hover i {
    transform: scale(1.2);
}

.footer-logo-text {
    font-size: 44px;
    font-weight: 400;
    font-family: 'Medula One', cursive;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.footer-logo-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.08) 100%);
}

.footer-logo-text .ludo {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(3, 65, 114, 0.8);
}

.footer-logo-text .care {
    color: #52dea0;
    text-shadow: 0 0 10px rgba(82, 222, 160, 0.6);
}

/* Correção para texto embaçado na seção de contato */
#contato .section-header h2 {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    color: var(--text-primary) !important;
    text-shadow: none !important;
    font-size: 2.8rem;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Melhorias sutis de tipografia sem alterar navbar/hero */
.stakeholder-card h4 {
    font-size: 1.65rem;
}

.stakeholder-card p {
    font-size: 1.05rem;
    line-height: 1.6;
}

.section-header p {
    font-size: 1.15rem;
    line-height: 1.7;
}

h3 {
    font-size: 2.1rem;
}

h4 {
    font-size: 1.6rem;
}

/* Media queries para responsividade */
@media (max-width: 768px) {
    #contato .section-header h2 {
        font-size: 2.2rem;
    }
    
    .stakeholder-card h4 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    h3 {
        font-size: 1.9rem;
    }
    
    h4 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    #contato .section-header h2 {
        font-size: 2rem;
    }
    
    .stakeholder-card h4 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.7rem;
    }
    
    h4 {
        font-size: 1.3rem;
    }
}

