/* Estilo Moderno Baseado no Template Health */

/* Google Fonts Modernos */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* Variáveis de Cores Modernas */
/* Variáveis de Cores Modernas - Orange Theme */
:root {
    /* Cores Principais - Laranja JLS */
    --primary: #FF6B00;
    --primary-foreground: #FFFFFF;
    --secondary: #1A1A1A;
    --secondary-foreground: #FFFFFF;
    --accent: #FF8533;
    --accent-foreground: #FFFFFF;

    /* Cores de Fundo e Texto */
    --background: #E2E8F0;
    /* Darkened from #F8FAFC */
    --foreground: #020617;
    --muted: #F1F5F9;
    --muted-foreground: #64748B;
    --border: #E2E8F0;
    --input: #E2E8F0;
    --ring: rgba(255, 107, 0, 0.5);

    /* Cores de Destruição */
    --destructive: #EF4444;
    --destructive-foreground: #FFFFFF;

    /* Cores de Card */
    --card: #FFFFFF;
    --card-foreground: #020617;

    /* Gradientes Premium */
    --hero-gradient: linear-gradient(135deg, #FF6B00 0%, #ff8a33 50%, #cc5600 100%);
    --card-gradient: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    --section-gradient: linear-gradient(180deg, #F8FAFC 0%, #F1F5F9 100%);
    --text-gradient: linear-gradient(135deg, #FF6B00 0%, #cc5600 100%);

    /* Fontes */
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Plus Jakarta Sans', sans-serif;

    /* Sombras Elevadas */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-orange: 0 10px 15px -3px rgba(255, 107, 0, 0.2);

    /* Bordas */
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

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

    /* Section Overlays */
    --overlay-bg: rgba(226, 232, 240, 0.55);
    /* Further reduced opacity to make images more visible */
    /* Light Mode Overlay */
    --section-text: #020617;
}

/* Estilos Globais */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Dark Theme Variables */
/* Dark Theme Variables - Rich & Contrast */
html[data-theme="dark"] {
    --background: #020617;
    --foreground: #F8FAFC;
    --muted: #0F172A;
    --muted-foreground: #94A3B8;
    --border: #1E293B;
    --input: #1E293B;
    --card: #0F172A;
    --card-foreground: #F8FAFC;
    --glass-bg: rgba(15, 23, 42, 0.8);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.5);

    /* Section Overlays - Dark */
    --overlay-bg: rgba(2, 6, 23, 0.7);
    /* Reduced opacity to show images better */
    --section-text: #F8FAFC;
}

body {
    font-family: var(--font-sans);
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Container Moderno */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Moderno */
/* Header Moderno - Glassmorphism */
.header {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

/* Dark theme header */
html[data-theme="dark"] .header {
    background: rgba(15, 23, 42, 0.95);
}

html[data-theme="dark"] .header-inner .nav-link {
    color: var(--foreground);
}

html[data-theme="dark"] .header-inner .nav-link:hover {
    color: var(--primary);
}

/* Dark theme buttons */
html[data-theme="dark"] .btn-outline {
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
}

html[data-theme="dark"] .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Dark theme cards */
html[data-theme="dark"] .card {
    background: hsl(210, 25%, 30%);
    border-color: hsl(210, 25%, 40%);
}

html[data-theme="dark"] .card h3,
html[data-theme="dark"] .card h4 {
    color: var(--foreground);
}

/* Dark theme card icons */
html[data-theme="dark"] .card-icon {
    color: hsl(210, 80%, 60%);
}

/* Dark theme stats section */
/* html[data-theme="dark"] .stats {
    background: #2A9189;
} */

/* html[data-theme="dark"] .stats .stat-item {
    background: hsl(210, 25%, 35%);
    border-radius: var(--radius-card);
    padding: 2rem;
    box-shadow: var(--shadow-md);
} */

html[data-theme="dark"] .stats .stat-item p {
    color: rgba(255, 255, 255, 0.7);
}

/* Dark theme CTA section */
html[data-theme="dark"] .cta-final .btn-secondary {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

html[data-theme="dark"] .cta-final .btn-secondary:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* Dark theme services section */
/* html[data-theme="dark"] .services-quick {
    background: var(--hero-gradient);
} */

/* Dark theme stats section */
/* html[data-theme="dark"] .stats {
    background: var(--hero-gradient);
} */

/* Dark theme testimonials section */
/* html[data-theme="dark"] .testimonials {
    background: var(--background);
} */

/* Dark theme CTA section */
/* html[data-theme="dark"] .cta-final {
    background: var(--hero-gradient);
} */

/* Segment Pills */
.segment-pill {
    background: var(--card);
    padding: 2rem 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.segment-pill:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-orange);
}

.segment-pill i {
    transition: transform 0.3s ease;
}

.segment-pill:hover i {
    transform: scale(1.2);
}

/* Dark theme stats section title */
/* html[data-theme="dark"] .stats h2.text-center {
    color: white;
    margin-bottom: 3rem;
} */

/* Dark theme sobre.html sections */
html[data-theme="dark"] .about-section {
    background: var(--background);
}

html[data-theme="dark"] .mission-values {
    background: var(--hero-gradient);
}

html[data-theme="dark"] .timeline-section {
    background: var(--background);
}

html[data-theme="dark"] .structure-section {
    background: var(--hero-gradient);
}

/* Dark theme servicos.html sections */
html[data-theme="dark"] .service-hero {
    background: var(--hero-gradient);
}

html[data-theme="dark"] .transporte-section {
    background: var(--background);
}

html[data-theme="dark"] .coletas-section {
    background: var(--hero-gradient);
}

html[data-theme="dark"] .armazenagem-section {
    background: var(--background);
}

html[data-theme="dark"] .logistica-reversa-section {
    background: var(--hero-gradient);
}

/* Dark theme segmentos.html sections */
html[data-theme="dark"] .segmentos-hero {
    background: var(--hero-gradient);
}

html[data-theme="dark"] .segmentos-grid {
    background: var(--background);
}

html[data-theme="dark"] .segmentos-details {
    background: var(--hero-gradient);
}

/* Dark theme portfolio.html sections */
html[data-theme="dark"] .portfolio-hero {
    background: var(--hero-gradient);
}

html[data-theme="dark"] .portfolio-grid {
    background: var(--background);
}

html[data-theme="dark"] .portfolio-details {
    background: var(--hero-gradient);
}

/* Dark theme cotacao.html sections */
html[data-theme="dark"] .cotacao-hero {
    background: var(--hero-gradient);
}

html[data-theme="dark"] .cotacao-form {
    background: var(--background);
}

html[data-theme="dark"] .cotacao-info {
    background: var(--hero-gradient);
}

/* Dark theme blog.html sections */
html[data-theme="dark"] .blog-hero {
    background: var(--hero-gradient);
}

html[data-theme="dark"] .blog-grid {
    background: var(--background);
}

html[data-theme="dark"] .blog-categories {
    background: var(--hero-gradient);
}

/* Dark theme contato.html sections */
html[data-theme="dark"] .contato-hero {
    background: var(--hero-gradient);
}

html[data-theme="dark"] .contato-form {
    background: var(--background);
}

html[data-theme="dark"] .contato-info {
    background: var(--hero-gradient);
}

/* Dark theme generic alternating sections */
/* html[data-theme="dark"] main>section:nth-child(even):not(.hero):not(.service-hero):not(.segmentos-hero):not(.portfolio-hero):not(.cotacao-hero):not(.blog-hero):not(.contato-hero) {
    background: var(--hero-gradient);
}

html[data-theme="dark"] main>section:nth-child(odd):not(.hero):not(.service-hero):not(.segmentos-hero):not(.portfolio-hero):not(.cotacao-hero):not(.blog-hero):not(.contato-hero):not(.about-section):not(.transporte-section):not(.armazenagem-section):not(.segmentos-grid):not(.portfolio-grid):not(.cotacao-form):not(.blog-grid):not(.contato-form) {
    background: var(--background);
} */

/* Service Images */
.service-img {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.service-img img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

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

/* Service Section Grid */
.transporte-section .grid,
.coletas-section .grid,
.armazenagem-section .grid {
    gap: 3rem;
    align-items: center;
}

.transporte-section .grid>div:first-child,
.coletas-section .grid>div:first-child,
.armazenagem-section .grid>div:first-child {
    flex: 1;
    min-width: 0;
}

.transporte-section .grid>div:last-child,
.coletas-section .grid>div:last-child,
.armazenagem-section .grid>div:last-child {
    flex: 1;
    min-width: 0;
}

/* Responsive Service Images */
@media (max-width: 768px) {
    .service-img img {
        max-height: 250px;
        margin-top: 2rem;
    }

    .transporte-section .grid,
    .coletas-section .grid,
    .armazenagem-section .grid {
        gap: 2rem;
    }
}

/* Portfolio Cards */
.portfolio-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.portfolio-card .card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.portfolio-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary);
}

.portfolio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.portfolio-card p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 2rem;
}

.logo img {
    height: 80px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Responsive logo */
@media (max-width: 768px) {
    .logo img {
        height: 60px;
    }
}

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

/* Navegação Moderna */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(210, 80%, 25%, 0.1);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Botões Modernos */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn::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.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-orange);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Theme Toggle */
.theme-toggle {
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.theme-toggle:hover {
    background: var(--primary);
    color: white;
}

/* Menu Toggle Mobile */
.menu-toggle {
    display: none;
    background: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.menu-toggle:hover {
    background: var(--primary);
    color: white;
}

/* Main Content */
main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Cards Modernos */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-gradient);
}

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

.card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.card h3 {
    color: var(--foreground);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.card p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Glass Card Override - Remove top bar */
.services-quick .card::before,
.differentials .card::before,
.segments-background .card::before {
    display: none;
}

/* Seções */
.section {
    padding: 100px 0;
    /* Increased from standard padding */
    margin: 0;
    /* Ensure no margins between sections */
}

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

.section.bg-secondary {
    background: var(--section-gradient);
}

/* Unified Carrier Background Group */
.services-quick,
.differentials {
    background: linear-gradient(var(--overlay-bg), var(--overlay-bg)), url('../img/fundo_carreta.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--section-text);
}

.differentials {
    padding-bottom: 0;
}

.services-quick {
    padding-top: 4rem;
    /* Add some space since top differential padding is high */
}

.services-quick h2,
.differentials h2,
.segments-background h2 {
    color: var(--section-text);
}

/* Unified Railway Background Group */
.segments-background,
.stats-background,
.testimonials-background,
.cta-final-background {
    background: linear-gradient(var(--overlay-bg), var(--overlay-bg)), url('../img/fundo_ferrovia.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--section-text);
    border: none;
    margin: 0;
    outline: none;
    overflow: hidden;
    /* Prevent margin collapsing */
}

/* Hard reset for gaps between these specific sections */
.segments-background,
.stats-background,
.testimonials-background {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.stats-background,
.testimonials-background,
.cta-final-background {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.segments-background h2,
.stats-background h2,
.testimonials-background h2,
.cta-final-background h2 {
    margin-top: 0 !important;
    padding-top: 4rem !important;
    /* Re-add spacing via padding */
}

.segments-background {
    padding-top: 0 !important;
    /* Move spacing to H2 */
}

.cta-final-background {
    padding-bottom: 5rem !important;
}

.segments-background .segment-pill,
.stats-background .stat-item,
.testimonials-background .card,
.services-quick .card,
.differentials .card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.segments-background .segment-pill::before,
.stats-background .stat-item::before,
.testimonials-background .card::before,
.services-quick .card::before,
.differentials .card::before {
    display: none;
    /* Force remove top bar */
}

.testimonials-background .card h4,
.testimonials-background .card span {
    color: var(--foreground) !important;
}

.services-quick .card h3,
.differentials .card h3,
.segments-background .card h3,
.testimonials-background .card p {
    color: var(--foreground);
}

.services-quick .card p,
.differentials .card p,
.segments-background .card p {
    color: var(--muted-foreground);
}

.services-quick .card:hover,
.differentials .card:hover,
.segments-background .card:hover {
    background: var(--glass-bg);
    filter: brightness(1.1);
    border-color: var(--primary);
    transform: translateY(-8px);
}

.stats-background .stat-item h2 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.segments-background .segment-pill i {
    color: var(--primary) !important;
}

.segments-background .segment-pill:hover,
.stats-background .stat-item:hover,
.testimonials-background .card:hover {
    background: var(--glass-bg);
    filter: brightness(1.1);
    transform: translateY(-5px);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.badge-orange {
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary);
    border: 1px solid rgba(255, 107, 0, 0.2);
}

.text-orange {
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(var(--overlay-bg), var(--overlay-bg)), url('../img/fundo_aviao_decolando.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--section-text);
    padding: 10rem 0 12rem;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--section-text);
    font-family: var(--font-display);
    font-weight: 800;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--section-text);
    opacity: 0.9;
    max-width: 600px;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.hero-card-floating {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    width: fit-content;
    color: var(--foreground);
    animation: float 6s ease-in-out infinite;
}

.hero-card-floating.delay-1 {
    animation-delay: -3s;
    margin-left: 3rem;
}

.floating-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.hero-card-floating strong {
    display: block;
    font-size: 1.1rem;
}

.hero-card-floating span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.hero-wave .shape-fill {
    fill: var(--background);
}

@keyframes float {

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

    50% {
        transform: translateY(-20px);
    }
}

/* Animations */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-reveal-right {
    animation: revealRight 1s ease-out forwards;
}

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

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

@keyframes revealRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-content p {
        margin: 0 auto 3rem;
    }

    .hero-visual {
        height: auto;
        align-items: center;
    }

    .hero-card-floating.delay-1 {
        margin-left: 0;
    }
}

/* About Section */
.about-text {
    padding-right: 2rem;
}

.about-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

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

/* Responsive About Section */
@media (max-width: 768px) {
    .about-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .about-img img {
        max-height: 300px;
    }
}

/* Text Gradient */
.text-gradient {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

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

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

.grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 768px) {
    .grid.cols-md-1 {
        grid-template-columns: repeat(1, 1fr);
    }

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

    .grid.cols-md-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid.cols-md-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid.cols-lg-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid.cols-lg-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .grid.cols-lg-6 {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Flex Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

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

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

.justify-between {
    justify-content: space-between;
}

.gap-1 {
    gap: 0.25rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

/* Text Utilities */
.text-center {
    text-align: center;
}

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

.text-lg {
    font-size: 1.125rem;
}

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

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.font-bold {
    font-weight: 700;
}

/* Footer Moderno */
.footer {
    background: var(--muted);
    color: var(--foreground);
    padding: 3rem 0 1rem;
    margin-top: 0;
    /* Remove gap */
}

.footer h4,
.footer-section h4 {
    color: var(--primary) !important;
}

.footer p,
.footer-links a,
.footer-links li,
.footer-links li i,
.footer-bottom p,
.social-links a {
    color: var(--primary) !important;
}

.cta-final .btn-secondary {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

.cta-final .btn-secondary:hover {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: white !important;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Hide Mobile */
.hide-mobile {
    display: block;
}

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

    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hide-mobile {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .card {
        padding: 1.5rem;
    }

    .header-inner {
        height: 70px;
    }

    main {
        margin-top: 70px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.card {
    animation: fadeInUp 0.6s ease-out;
}

/* Selection */
::selection {
    background: var(--secondary);
    color: white;
}