@charset "utf-8";
/* CSS Document */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Footer */
        .footer {
            background: linear-gradient(135deg, #000000 0%, #770404 50%, #ff0000 100%);
            color: var(--text-light);
            padding: 3rem 0 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grid" width="12" height="12" patternUnits="userSpaceOnUse"><path d="M 12 0 L 0 0 0 12" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grid)"/></svg>');
            opacity: 0.4;
        }

        .footer::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            position: relative;
            z-index: 2;
        }

        .footer-left p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
            margin: 0;
        }

        .footer-right {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .footer-right a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            position: relative;
        }

        .footer-right a:hover {
            color: var(--text-light);
            transform: translateY(-1px);
        }

        .footer-right a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 1px;
            bottom: -3px;
            left: 0;
            background: var(--primary-color);
            transition: width 0.3s ease;
        }

        .footer-right a:hover::after {
            width: 100%;
        }

        /* Footer Mobile Responsiveness */
        @media (max-width: 768px) {
            .footer-content {
                flex-direction: column;
                text-align: center;
                gap: 1.5rem;
            }

            .footer-right {
                justify-content: center;
                gap: 1.5rem;
            }

            .footer-right a {
                font-size: 0.85rem;
            }
        }

        @media (max-width: 480px) {
            .footer-right {
                flex-direction: column;
                gap: 1rem;
            }
        }

        :root {
            --primary-color: #ff0000;
            --secondary-color: #770404;
            --accent-color: #f59e0b;
            --accent-pink: #ec4899;
            --accent-cyan: #06b6d4;
            --text-primary: #0f172a;
            --text-secondary: #64748b;
            --text-light: #ffffff;
            --bg-primary: #ffffff;
            --bg-secondary: #f8fafc;
            --bg-dark: #0f172a;
            --bg-card: rgba(255, 255, 255, 0.95);
            --gradient-primary: linear-gradient(135deg, #770404 0%, #ff0000 100%);
            --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --gradient-tertiary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            --gradient-elegant: linear-gradient(135deg, #000000 0%, #770404 50%, #ff0000 100%);
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            --glass: rgba(255, 255, 255, 0.15);
            --glass-border: rgba(255, 255, 255, 0.2);
        }

        body {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            line-height: 1.7;
            color: var(--text-primary);
            scroll-behavior: smooth;
            overflow-x: hidden;
            background: var(--bg-primary);
            padding-top: 80px;
        }

        /* Navigation */
        nav {
            position: fixed !important;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            z-index: 1000;
            padding: 1rem 0;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            
        }

        nav.scrolled {
            background: rgba(255, 255, 255, 0.98);
            box-shadow: var(--shadow-lg);
            padding: 0.75rem 0;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 1.75rem;
            font-weight: 700;
            background: var(--gradient-elegant);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -0.5px;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2.5rem;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-primary);
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            padding: 0.5rem 0;
        }

        .nav-links a:hover {
            color: var(--primary-color);
            transform: translateY(-1px);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 50%;
            background: var(--gradient-primary);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            transform: translateX(-50%);
            border-radius: 1px;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        /* Mobile Menu */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 0.5rem;
            z-index: 1001;
        }

        .hamburger {
            width: 25px;
            height: 3px;
            background: var(--text-primary);
            margin: 3px 0;
            transition: all 0.3s ease;
            border-radius: 1px;
        }

        .mobile-menu-toggle.active .hamburger:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

        .mobile-menu-toggle.active .hamburger:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-toggle.active .hamburger:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

.mobile-menu {
    position: fixed !important;
    top: 80px !important; /* Começa logo abaixo da nav */
    left: 0;
    width: 100% !important;
    height: auto !important; /* Ajusta ao tamanho dos links */
    max-height: calc(100vh - 80px); /* Garante que não ultrapassa a tela */
    background: #ffffff !important;
    z-index: 9999 !important;
    display: none; /* Escondido por padrão */
    overflow-y: auto;
    border-top: 1px solid #eee;
    padding-bottom: 20px;
}
        
 
/* Quando o menu abre (via JavaScript) */
.mobile-menu.active {
    display: block !important;
}

.mobile-nav-links {
    list-style: none;
    padding: 10px 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
}


.mobile-nav-links li a {
    display: block;
    padding: 10px 0; /* ESPAÇAMENTO CURTO ENTRE LINKS */
    color: #333 !important;
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid #f5f5f5;
}

/* Opcional: destaque para o último item se for o CTA de Contato */
.mobile-nav-links li:last-child a {
    border-bottom: none;
    color: var(--primary-color); /* Destaca o "Sobre" ou "Contato" */
}
        .mobile-nav-links li {
            margin: 2rem 0;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .mobile-menu.active .mobile-nav-links li {
            opacity: 1;
            transform: translateY(0);
        }

        .mobile-menu.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.2s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.3s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.4s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.5s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(6) { transition-delay: 0.6s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(7) { transition-delay: 0.7s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(8) { transition-delay: 0.8s; }

        .mobile-nav-links a {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 2rem;
            font-weight: 500;
            color: var(--text-light);
            text-decoration: none;
            transition: all 0.3s ease;
            background: var(--gradient-elegant);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .mobile-nav-links a:hover {
            transform: scale(1.05);
        }

        /* Hero Section */
        .hero {
            height: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--gradient-elegant);
            position: relative;
            overflow: hidden;
            min-height: 100svh; /* mobile moderno */
            min-height: 100vh;  /* fallback */
            padding-top: 90px;  /* compensação do header */
        }
        
    

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            animation: float 25s ease-in-out infinite;
            opacity: 0.7;
        }

        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
            animation: pulse 4s ease-in-out infinite alternate;
            
        }

        /* Floating Shapes */
        .floating-shapes {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            display: none;
        }

        .shape {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: none;
        }

        .shape-1 {
            width: 80px;
            height: 80px;
            top: 20%;
            left: 10%;
            animation: floatShape1 20s ease-in-out infinite;
            display: none;
        }

        .shape-2 {
            width: 120px;
            height: 120px;
            top: 60%;
            right: 15%;
            background: rgba(255, 255, 255, 0.08);
            animation: floatShape2 25s ease-in-out infinite reverse;
            display: none;
        }

        .shape-3 {
            width: 60px;
            height: 60px;
            top: 30%;
            right: 25%;
            background: rgba(255, 255, 255, 0.12);
            animation: floatShape3 18s ease-in-out infinite;
            display: none;
        }

        .shape-4 {
            width: 100px;
            height: 100px;
            bottom: 25%;
            left: 20%;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 20px;
            animation: floatShape4 22s ease-in-out infinite;
            display: none;
        }

        .shape-5 {
            width: 40px;
            height: 40px;
            top: 15%;
            right: 40%;
            background: rgba(255, 255, 255, 0.15);
            animation: floatShape5 16s ease-in-out infinite reverse;
            display: none;
        }

        .shape-6 {
            width: 140px;
            height: 140px;
            bottom: 15%;
            right: 10%;
            background: rgba(255, 255, 255, 0.04);
            border-radius: 30px;
            animation: floatShape6 28s ease-in-out infinite;
            display: none;
        }


        .hero-content {
            text-align: center;
            color: var(--text-light);
            z-index: 2;
            position: relative;
            max-width: 900px;
            padding: 0 2rem;
        }

        .hero-subtitle {
            font-size: 1.1rem;
            font-weight: 500;
            letter-spacing: 2px;
            text-transform: uppercase;
            opacity: 1 !important;
            transform: translateY(0) !important;
            animation: none !important;
            margin-bottom: 1rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .hero h1 {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.4s forwards;
            line-height: 1.1;
            letter-spacing: -1px;
        }

        .hero .subtitle {
            font-size: 1.3rem;
            margin-bottom: 3rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.6s forwards;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 400;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-button {
            display: inline-block;
            padding: 1.2rem 3rem;
            background: rgba(255, 255, 255, 0.2);
            color: var(--text-light);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            transform: translateY(0) !important;
            opacity: 1 !important;
            animation: none !important;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(10px);
            letter-spacing: 0.5px;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            background: rgba(255, 255, 255, 0.25);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            border-color: rgba(255, 255, 255, 0.4);
        }

       

        /* Scroll Indicator */
        .scroll-indicator {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 50px;
            border: 2px solid rgba(255, 255, 255, 0.6);
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .scroll-indicator:hover {
            border-color: rgba(255, 255, 255, 0.9);
        }

        .scroll-indicator::before {
            content: '';
            position: absolute;
            top: 10px;
            left: 50%;
            width: 6px;
            height: 6px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            transform: translateX(-50%);
            animation: scroll 2s infinite;
        }

        

        /* Section Styles */
        section {
            padding: 8rem 0;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section-title {
            text-align: center;
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 3.5rem;
            font-weight: 600;
            margin-bottom: 4rem;
            background: var(--gradient-elegant);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -1px;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            width: 60px;
            height: 4px;
            background: var(--gradient-primary);
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        /* About Section */
        .about {
            background: var(--bg-secondary);
            position: relative;
        }

        .about::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
            
        }

        .about-content {
            display: grid;

            grid-template-columns: 1fr 1.5fr;
            gap: 6rem;
            align-items: center;
            position: relative;
        }

        .about-content1 {
            display: flex;
            grid-template-columns: 1fr 1.5fr;
            gap: 6rem;
            align-items: center;
            position: relative;
            justify-content: center;
        }

        

        .about-image {
    width: 100%;
    height: 500px;
    background: url('images/logoMelhor.webp') no-repeat center/contain; /* Alterado para contain para não cortar o logo */
    border-radius: 20px; /* Bordas levemente mais suaves */
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl); /* Sombra profissional e menos pesada */
    transform: rotate(0deg); /* Removida a inclinação para um visual mais sério */
    transition: all 0.4s ease;
    display: flex;
    gap: 15px;
    background-color: #fff; /* Fundo branco caso a imagem tenha transparência */
}

/* Removendo o efeito escuro (overlay) que existia no seu código original */
.about-image::before {
    display: none; /* Desativa o gradiente escuro que cobria a imagem */
}

.about-image:hover {
    transform: scale(1.02); /* Leve zoom ao passar o mouse em vez de rotacionar */
    box-shadow: var(--shadow-2xl);
}
        .about-image1 {
            width: 100%;
            height: 500px;
            background: url('images/sol1.png') center/cover;
            border-radius: 30px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-2xl);
            transform: rotate(-2deg);
            transition: transform 0.4s ease;
            display: flex;
            gap: 15px;
        }

        .about-image2 {
            width: 100%;
            height: 500px;
            background: url('images/sol2.png') center/cover;
            border-radius: 30px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-2xl);
            transform: rotate(-2deg);
            transition: transform 0.4s ease;
            display: flex;
            gap: 15px;
        }

        .about-image3 {
            width: 100%;
            height: 500px;
            background: url('images/sol3.png') center/cover;
            border-radius: 30px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-2xl);
            transform: rotate(-2deg);
            transition: transform 0.4s ease;
            display: flex;
            gap: 15px;
        }

        .about-image4 {
            width: 100%;
            height: 500px;
            background: url('images/logo.webp') center/cover;
            border-radius: 30px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-2xl);
            transform: rotate(-2deg);
            transition: transform 0.4s ease;
            display: flex;
            gap: 15px;
        }

        .about-image5 {
            width: 100%;
            height: 500px;
            background: url('images/kawtapelogo.webp') center/cover;
            border-radius: 30px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-2xl);
            transform: rotate(-2deg);
            transition: transform 0.4s ease;
            display: flex;
            gap: 15px;
        }

        .about-image:hover {
            transform: rotate(0deg) scale(1.02);
        }

        .about-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.156) 0%, #3c0505 100%);
            transition: opacity 0.3s ease;
        }

        .about-image:hover::before {
            opacity: 0.7;
        }

        

        .about-text h3 {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 2.5rem;
            margin-bottom: 2rem;
            color: var(--text-primary);
            font-weight: 500;
            line-height: 1.3;
        }

        .about-text p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .skills {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin-top: 3rem;
        }

        .skill-tag {
            padding: 0.75rem 1.5rem;
            background: var(--bg-card);
            color: var(--primary-color);
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 600;
            border: 1px solid rgba(99, 102, 241, 0.2);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .skill-tag:hover {
            background: var(--primary-color);
            color: var(--text-light);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* Portfolio Section */
        .portfolio {
            background: var(--bg-primary);
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 3rem;
            margin-top: 2rem;
        }
  


        .portfolio-item {
            background: var(--bg-card);
            border-radius: 25px;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            transition: none !important;
            transform: translateY(0) !important;
            opacity: 1 !important;
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
        }

        .portfolio-item.animate {
            transform: translateY(0);
            opacity: 1;
        }

        .portfolio-item:hover {
            transform: translateY(-15px);
            box-shadow: var(--shadow-2xl);
        }

        .portfolio-image {
            width: 100%;
            height: 180px;
            background: var(--gradient-primary);
            position: relative;
            overflow: hidden;
            background-size: cover;
            background-position: center;
        }

        .portfolio-item:nth-child(1) .portfolio-image {
            background-image: url('images/camera.png');
        }

        .portfolio-item:nth-child(2) .portfolio-image {
            background-image: url('images/hd.webp');
        }

        .portfolio-item:nth-child(3) .portfolio-image {
            background-image: url('images/fonte.webp');
        }

        .portfolio-item:nth-child(4) .portfolio-image {
            background-image: url('images/conector.png');
        }

        .portfolio-item:nth-child(5) .portfolio-image {
            background-image: url('images/marketing-strategy-women.jpg');
        }

        .portfolio-item:nth-child(6) .portfolio-image {
            background-image: url('images/portfolio-website-girl.jpg');
        }

        .portfolio-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
            transition: all 0.3s ease;
        }

        .portfolio-item:hover .portfolio-image::before {
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(91, 8, 8, 0.3) 100%);
        }

        .portfolio-content {
            padding: 2rem;
        }

        .portfolio-content h4 {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
            font-weight: 600;
        }

        .portfolio-content p {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .portfolio-tech {
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
        }

        .tech-tag {
            padding: 0.4rem 1rem;
            background: var(--bg-secondary);
            color: var(--text-secondary);
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .tech-tag:hover {
            background: var(--primary-color);
            color: var(--text-light);
        }

        /* Contact Section */
        .contact {
            background: linear-gradient(135deg, #000000 0%, #770404 50%, #ff0000 100%);
            color: var(--text-light);
            position: relative;
            overflow: hidden;
        }

        .contact::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-grid" width="8" height="8" patternUnits="userSpaceOnUse"><path d="M 8 0 L 0 0 0 8" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-grid)"/></svg>');
            animation: contactFloat 30s ease-in-out infinite;
            opacity: 0.6;
        }

        .contact::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
                        radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
                        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
            animation: contactPulse 6s ease-in-out infinite alternate;
        }

        /* Contact Floating Shapes */
        .contact-floating-shapes {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .contact-shape {
            position: absolute;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50%;
        }

        .contact-shape-1 {
            width: 70px;
            height: 70px;
            top: 15%;
            left: 8%;
            animation: contactFloatShape1 24s ease-in-out infinite;
        }

        .contact-shape-2 {
            width: 110px;
            height: 110px;
            top: 65%;
            right: 12%;
            background: rgba(255, 255, 255, 0.06);
            animation: contactFloatShape2 28s ease-in-out infinite reverse;
        }

        .contact-shape-3 {
            width: 55px;
            height: 55px;
            top: 25%;
            right: 30%;
            background: rgba(255, 255, 255, 0.1);
            animation: contactFloatShape3 20s ease-in-out infinite;
        }

        .contact-shape-4 {
            width: 90px;
            height: 90px;
            bottom: 20%;
            left: 18%;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 25px;
            animation: contactFloatShape4 26s ease-in-out infinite;
        }

        .contact-shape-5 {
            width: 35px;
            height: 35px;
            top: 12%;
            right: 45%;
            background: rgba(255, 255, 255, 0.12);
            animation: contactFloatShape5 18s ease-in-out infinite reverse;
        }

        .contact-shape-6 {
            width: 130px;
            height: 130px;
            bottom: 12%;
            right: 8%;
            background: rgba(255, 255, 255, 0.04);
            border-radius: 35px;
            animation: contactFloatShape6 32s ease-in-out infinite;
        }

       
        .contact-content {
            text-align: center;
            max-width: 700px;
            margin: 0 auto;
            position: relative;
            z-index: 10;
        }

        .contact .section-title {
            color: var(--text-light);
            background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .contact-form {
            display: grid;
            gap: 2rem;
            margin-top: 3rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }

        .form-group {
            display: grid;
            gap: 0.75rem;
            text-align: left;
        }

        .form-group label {
            font-weight: 500;
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9rem;
        }

        .form-group input,
        .form-group textarea {
            padding: 1.2rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 15px;
            background: rgba(255, 255, 255, 0.08);
            color: var(--text-light);
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 1rem;
            font-weight: 400;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
            resize: vertical;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.12);
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .submit-btn {
            padding: 1.2rem 3rem;
            background: var(--gradient-primary);
            color: var(--text-light);
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            margin-top: 1rem;
            letter-spacing: 0.5px;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        /* Animation Classes */
        .fade-in {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .fade-in.animate {
            opacity: 1;
            transform: translateY(0);
        }

        .slide-in-left {
            opacity: 0;
            transform: translateX(-60px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            gap: 15px;
            display: flex;
        }

        .slide-in-left.animate {
            opacity: 1;
            transform: translateX(0);
        }

        .slide-in-right {
            opacity: 0;
            transform: translateX(60px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .slide-in-right.animate {
            opacity: 1;
            transform: translateX(0);
        }

        /* Mobile Responsiveness */
        @media (max-width: 1024px) {
            .portfolio-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 4rem;
            }

            .hero h1 {
                font-size: 4rem;
            }
        }

        @media (max-width: 950px) {
            .nav-links {
                display: none;
            }

            .mobile-menu-toggle {
                display: flex;
            }

            .hero h1 {
                font-size: 3rem;
            }

            .hero .subtitle {
                font-size: 1.1rem;
            }

            .section-title {
                font-size: 2.5rem;
            }

            .portfolio-grid {
                grid-template-columns: 1fr;
            }

            .container {
                padding: 0 1.5rem;
            }

            section {
                padding: 5rem 0;
            }

            .form-row {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .about-text h3 {
                font-size: 2rem;
            }

            .skills {
                margin-top: 2rem;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .nav-container {
                padding: 0 1rem;
            }

            .container {
                padding: 0 1rem;
            }
        }

        #carousel::-webkit-scrollbar {
        display: none; /* Chrome, Safari e Opera */
        }

/* ==== Correções gerais ==== */

/* Evita borda branca e scroll horizontal */
html, body {
  overflow-x: hidden !important;
}

/* Imagens nunca podem estourar a tela */
img {
  max-width: 100%;
  height: auto;
}

/* ==== Localização (Mapa + Texto) ==== */
#localizacao .container {
  text-align: center;
}

#localizacao iframe {
  width: 600px; /* largura padrão para desktop */
  height: 450px; /* altura padrão para desktop */
  margin: 0 auto;
  display: block;
}

#localizacao h3 {
  margin-top: 20px;
  font-size: 1.1rem;
}

/* ==== Soluções e Empresas ==== */
.about-content1 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.about-content1 .about-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  aspect-ratio: 16 / 9; /* mantém proporção bonitinha */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Mobile: empilha e ajusta tamanho */
@media (max-width: 768px) {
  #localizacao iframe {
    width: 100% !important;
    height: 300px; /* altura reduzida para celular */
  }

  #localizacao iframe {
    height: 300px; /* reduz altura no celular */
  }
}



/* Seção de Diferenciais */
.features {
    padding: 100px 0;
    background-color: var(--bg-secondary); /* Usa o cinza claro que você já tem no root */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg); /* Usa a sombra definida no seu :root */
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color); /* Destaque vermelho ao passar o mouse */
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsividade */
@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 em tablets */
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr; /* 1 coluna no celular */
    }
    
    .feature-card {
        padding: 30px 20px;
    }
}

/* Estilização dos ícones profissionais */
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color); /* Usa o vermelho do seu tema */
    background: rgba(255, 0, 0, 0.1); /* Um círculo sutil de fundo */
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 1rem;
}

/* Ajustes na Seção Sobre */
.about-bullets {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.bullet {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.bullet i {
    color: var(--primary-color);
    margin-top: 5px;
    font-size: 1.1rem;
}

.bullet span {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.about-text h3 {
    font-size: 2.2rem !important; /* Mais impacto visual */
    margin-bottom: 1.5rem;
}

/* Responsividade para a imagem não sumir ou quebrar */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }
    
    .about-image {
        height: 350px !important;
        transform: rotate(0deg) !important;
    }
}


/* Remove o overlay vermelho e prepara o zoom */
.portfolio-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden; /* Garante que a imagem não saia do card ao crescer */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove qualquer gradiente ou cor vermelha no hover da imagem */
.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent; /* Remove o fundo anterior */
    transition: background 0.3s ease;
    z-index: 1;
}

/* Efeito de aumento (zoom) ao passar o mouse ou focar no item */
.portfolio-item:hover .portfolio-image,
.portfolio-item:active .portfolio-image {
    transform: scale(1.15); /* Aumenta a imagem em 15% */
}

/* Garante que o card em si não mude de cor, apenas ganhe profundidade */
.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(0, 0, 0, 0.1); /* Borda neutra */
}

/* Remove especificamente o hover vermelho que estava no seu código original */
.portfolio-item:hover .portfolio-image::before {
    background: rgba(0, 0, 0, 0.1); /* Apenas um escurecimento bem sutil para destaque */
}

/* Layout do Grid dentro do Carrossel */
.solutions-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 0 60px;
}

/* Card Quadrado Grande */
.solution-card {
    background: #fff;
    width: 400px; /* Define a largura para ser um quadrado grande */
    height: 500px; /* Altura fixa para manter o aspecto */
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

/* Container da Imagem com Zoom */
.solution-image-box {
    flex: 1; /* Ocupa a metade de cima do card */
    overflow: hidden;
    position: relative;
}

.solution-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.solution-card:hover .solution-img {
    transform: scale(1.15); /* Aumenta a imagem ao passar o mouse */
}

/* Links das Imagens (Conforme seu CSS original) */
.img-camera { background-image: url('images/camera.png'); }
.img-hd { background-image: url('images/hd.webp'); }
.img-fonte { background-image: url('images/fonte.webp'); }
.img-conector { background-image: url('images/conector.png'); }

/* Informações e CTA interno */
.solution-info {
    padding: 25px;
    text-align: center;
    background: #fff;
    flex: 1; /* Ocupa a metade de baixo */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.solution-info h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.solution-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-cta {
    display: inline-block;
    padding: 10px 25px;
    background: var(--bg-dark); /* Cor neutra para o site GrupoKaw */
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.card-cta:hover {
    background: var(--primary-color); /* Fica vermelho apenas no botão ao passar o mouse */
    color: #fff;
}

/* Ajustes dos Controles do Carrossel */
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--bg-dark);
    border-radius: 50%;
    padding: 20px;
}

@media (max-width: 992px) {
    .solution-card { width: 100%; height: auto; }
    .solutions-grid { flex-direction: column; align-items: center; }
}

/* Container das Avaliações */
.reviews {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Cria o layout 2x2 */
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}

/* Card de Avaliação */
.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Cabeçalho do Card (Nome e Estrelas lado a lado) */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
}

.reviewer-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.stars {
    color: #ffc107; /* Cor amarela padrão para estrelas */
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsividade para Celular */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr; /* Vira 1 coluna no celular */
        padding: 0 20px;
    }
}

.group-companies {
    padding: 80px 0;
    background-color: #ffffff; /* Fundo limpo para destacar logos */
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.group-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: stretch;
}

.group-item {
    background: #fdfdfd;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.group-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0,0,0,0.1);
}

.group-logo-box {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.group-logo {
    max-width: 180px;
    height: auto;
    filter: grayscale(100%); /* Logos em cinza por padrão para sobriedade */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.group-item:hover .group-logo {
    filter: grayscale(0%); /* Ganha cor no hover */
    opacity: 1;
}

.group-icon-placeholder {
    font-size: 3rem;
    color: var(--bg-dark);
}

.group-info h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.group-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsividade */
@media (max-width: 992px) {
    .group-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

.location-wrapper {
    display: flex;
    gap: 0; /* Removido gap para as bordas se unirem perfeitamente */
    align-items: stretch;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 40px;
}

.map-container {
    flex: 1.3; /* Mapa um pouco maior para destaque visual */
    min-height: 450px;
}

.location-info {
    flex: 1;
    padding: 60px; /* Aumentado o padding para preencher melhor o espaço */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centraliza o texto verticalmente */
    text-align: left;
    background-color: #ffffff;
}

.info-block {
    margin-bottom: 40px; /* Mais espaço entre os blocos */
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.info-block h3 i {
    color: var(--primary-color);
}

.unit p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.5;
}

.status-open {
    color: #28a745;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-open::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #28a745;
    border-radius: 50%;
    display: inline-block;
}

@media (max-width: 992px) {
    .location-wrapper { flex-direction: column; }
    .map-container { height: 300px; }
    .location-info { padding: 40px 30px; }
}
.status-closed::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #dc3545; /* Bolinha vermelha */
    border-radius: 50%;
    display: inline-block;
}

.status-indicator {
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 5px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solutions-tabs {
    padding: 100px 0;
    background-color: #fcfcfc;
}

/* Estilo dos Botões das Abas */
.nav-pills .nav-link {
    color: #333;
    background: #fff;
    border: 1px solid #eee;
    margin: 5px;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background-color: var(--bg-dark); /* Cor escura profissional */
    color: #fff;
    border-color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Container de Conteúdo */
.tab-content {
    background: #fff;
    padding: 60px;
    border-radius: 25px;
    margin-top: 30px;
}

.tab-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 10px;
}

.tab-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.custom-list li {
    margin-bottom: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-list i {
    color: #28a745; /* Verde para check */
}

/* Botão CTA dentro da Aba */
.btn-cta-tab {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 40px;
    background-color: var(--primary-color); /* Vermelho da marca */
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s;
}

.btn-cta-tab:hover {
    transform: scale(1.05);
    color: #fff;
}

/* Efeito de Zoom na Imagem da Aba */
.tab-img-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.tab-img-wrapper img {
    transition: transform 0.5s ease;
}



@media (max-width: 768px) {
    .tab-content { padding: 30px; }
    .nav-pills .nav-link { width: 100%; text-align: center; }
}

.site-footer {
    background-color: #1a1a1a; /* Fundo escuro para contraste */
    color: #ffffff;
    padding: 70px 0 30px;
    font-size: 0.9rem;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Deixa a logo branca se necessário */
}

.footer-description {
    color: #b3b3b3;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.footer-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary-color); /* O vermelho da marca */
    margin-top: 10px;
}

.footer-links, .footer-info {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px; /* Leve efeito de movimento no hover */
}

.footer-info li {
    color: #b3b3b3;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info i {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 50px;
    padding-top: 25px;
    text-align: center;
    color: #777;
}

@media (max-width: 768px) {
    .site-footer { text-align: center; }
    .footer-title::after { margin: 10px auto; }
    .footer-social { justify-content: center; }
    .footer-info li { justify-content: center; }
}

/* 1. Garante que a Nav esteja sempre no topo de tudo */
#navbar {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 9999 !important; /* Valor alto para não ser tampada por nada */
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 2. Corrige o Menu Hambúrguer (Mobile) */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #fff; /* Fundo sólido para não ver o conteúdo atrás */
        max-height: 85vh; /* Limita a altura a 85% da tela */
        overflow-y: auto; /* Adiciona scroll se as opções forem muitas */
        padding: 10px 20px;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .navbar-nav {
        padding-top: 10px;
    }

    .nav-item {
        border-bottom: 1px solid #f4f4f4; /* Linha sutil entre opções */
    }
}

@charset "utf-8";
/* CSS Document */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Footer */
        .footer {
            background: linear-gradient(135deg, #000000 0%, #770404 50%, #ff0000 100%);
            color: var(--text-light);
            padding: 3rem 0 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            overflow: hidden;
        }

        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grid" width="12" height="12" patternUnits="userSpaceOnUse"><path d="M 12 0 L 0 0 0 12" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grid)"/></svg>');
            opacity: 0.4;
        }

        .footer::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
            position: relative;
            z-index: 2;
        }

        .footer-left p {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
            margin: 0;
        }

        .footer-right {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }

        .footer-right a {
            color: rgba(255, 255, 255, 0.7);
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            position: relative;
        }

        .footer-right a:hover {
            color: var(--text-light);
            transform: translateY(-1px);
        }

        .footer-right a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 1px;
            bottom: -3px;
            left: 0;
            background: var(--primary-color);
            transition: width 0.3s ease;
        }

        .footer-right a:hover::after {
            width: 100%;
        }

        /* Footer Mobile Responsiveness */
        @media (max-width: 768px) {
            .footer-content {
                flex-direction: column;
                text-align: center;
                gap: 1.5rem;
            }

            .footer-right {
                justify-content: center;
                gap: 1.5rem;
            }

            .footer-right a {
                font-size: 0.85rem;
            }
        }

        @media (max-width: 480px) {
            .footer-right {
                flex-direction: column;
                gap: 1rem;
            }
        }

        :root {
            --primary-color: #ff0000;
            --secondary-color: #770404;
            --accent-color: #f59e0b;
            --accent-pink: #ec4899;
            --accent-cyan: #06b6d4;
            --text-primary: #0f172a;
            --text-secondary: #64748b;
            --text-light: #ffffff;
            --bg-primary: #ffffff;
            --bg-secondary: #f8fafc;
            --bg-dark: #0f172a;
            --bg-card: rgba(255, 255, 255, 0.95);
            --gradient-primary: linear-gradient(135deg, #770404 0%, #ff0000 100%);
            --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            --gradient-tertiary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            --gradient-elegant: linear-gradient(135deg, #000000 0%, #770404 50%, #ff0000 100%);
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            --glass: rgba(255, 255, 255, 0.15);
            --glass-border: rgba(255, 255, 255, 0.2);
        }

        body {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            line-height: 1.7;
            color: var(--text-primary);
            scroll-behavior: smooth;
            overflow-x: hidden;
            background: var(--bg-primary);
            padding-top: 80px;
        }

        /* Navigation */
        nav {
            position: fixed !important;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            z-index: 1000;
            padding: 1rem 0;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            
        }

        nav.scrolled {
            background: rgba(255, 255, 255, 0.98);
            box-shadow: var(--shadow-lg);
            padding: 0.75rem 0;
        }

        .nav-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 1.75rem;
            font-weight: 700;
            background: var(--gradient-elegant);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -0.5px;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2.5rem;
            align-items: center;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--text-primary);
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            padding: 0.5rem 0;
        }

        .nav-links a:hover {
            color: var(--primary-color);
            transform: translateY(-1px);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 50%;
            background: var(--gradient-primary);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            transform: translateX(-50%);
            border-radius: 1px;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        /* Mobile Menu */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 0.5rem;
            z-index: 1001;
        }

        .hamburger {
            width: 25px;
            height: 3px;
            background: var(--text-primary);
            margin: 3px 0;
            transition: all 0.3s ease;
            border-radius: 1px;
        }

        .mobile-menu-toggle.active .hamburger:nth-child(1) {
            transform: rotate(-45deg) translate(-5px, 6px);
        }

        .mobile-menu-toggle.active .hamburger:nth-child(2) {
            opacity: 0;
        }

        .mobile-menu-toggle.active .hamburger:nth-child(3) {
            transform: rotate(45deg) translate(-5px, -6px);
        }

.mobile-menu {
    position: fixed !important;
    top: 80px !important; /* Começa logo abaixo da nav */
    left: 0;
    width: 100% !important;
    height: auto !important; /* Ajusta ao tamanho dos links */
    max-height: calc(100vh - 80px); /* Garante que não ultrapassa a tela */
    background: #ffffff !important;
    z-index: 9999 !important;
    display: none; /* Escondido por padrão */
    overflow-y: auto;
    border-top: 1px solid #eee;
    padding-bottom: 20px;
}
        
 
/* Quando o menu abre (via JavaScript) */
.mobile-menu.active {
    display: block !important;
}

.mobile-nav-links {
    list-style: none;
    padding: 10px 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
}


.mobile-nav-links li a {
    display: block;
    padding: 10px 0; /* ESPAÇAMENTO CURTO ENTRE LINKS */
    color: #333 !important;
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 1px solid #f5f5f5;
}

/* Opcional: destaque para o último item se for o CTA de Contato */
.mobile-nav-links li:last-child a {
    border-bottom: none;
    color: var(--primary-color); /* Destaca o "Sobre" ou "Contato" */
}
        .mobile-nav-links li {
            margin: 2rem 0;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .mobile-menu.active .mobile-nav-links li {
            opacity: 1;
            transform: translateY(0);
        }

        .mobile-menu.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.2s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.3s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.4s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.5s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(6) { transition-delay: 0.6s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(7) { transition-delay: 0.7s; }
        .mobile-menu.active .mobile-nav-links li:nth-child(8) { transition-delay: 0.8s; }

        .mobile-nav-links a {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 2rem;
            font-weight: 500;
            color: var(--text-light);
            text-decoration: none;
            transition: all 0.3s ease;
            background: var(--gradient-elegant);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .mobile-nav-links a:hover {
            transform: scale(1.05);
        }

        /* Hero Section */
        .hero {
            height: auto;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--gradient-elegant);
            position: relative;
            overflow: hidden;
            min-height: 100svh; /* mobile moderno */
            min-height: 100vh;  /* fallback */
            padding-top: 90px;  /* compensação do header */
        }
        
    

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
            animation: float 25s ease-in-out infinite;
            opacity: 0.7;
        }

        .hero::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
            animation: pulse 4s ease-in-out infinite alternate;
            
        }

        /* Floating Shapes */
        .floating-shapes {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
            display: none;
        }

        .shape {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: none;
        }

        .shape-1 {
            width: 80px;
            height: 80px;
            top: 20%;
            left: 10%;
            animation: floatShape1 20s ease-in-out infinite;
            display: none;
        }

        .shape-2 {
            width: 120px;
            height: 120px;
            top: 60%;
            right: 15%;
            background: rgba(255, 255, 255, 0.08);
            animation: floatShape2 25s ease-in-out infinite reverse;
            display: none;
        }

        .shape-3 {
            width: 60px;
            height: 60px;
            top: 30%;
            right: 25%;
            background: rgba(255, 255, 255, 0.12);
            animation: floatShape3 18s ease-in-out infinite;
            display: none;
        }

        .shape-4 {
            width: 100px;
            height: 100px;
            bottom: 25%;
            left: 20%;
            background: rgba(255, 255, 255, 0.06);
            border-radius: 20px;
            animation: floatShape4 22s ease-in-out infinite;
            display: none;
        }

        .shape-5 {
            width: 40px;
            height: 40px;
            top: 15%;
            right: 40%;
            background: rgba(255, 255, 255, 0.15);
            animation: floatShape5 16s ease-in-out infinite reverse;
            display: none;
        }

        .shape-6 {
            width: 140px;
            height: 140px;
            bottom: 15%;
            right: 10%;
            background: rgba(255, 255, 255, 0.04);
            border-radius: 30px;
            animation: floatShape6 28s ease-in-out infinite;
            display: none;
        }


        .hero-content {
            text-align: center;
            color: var(--text-light);
            z-index: 2;
            position: relative;
            max-width: 900px;
            padding: 0 2rem;
        }

        .hero-subtitle {
            font-size: 1.1rem;
            font-weight: 500;
            letter-spacing: 2px;
            text-transform: uppercase;
            opacity: 1 !important;
            transform: translateY(0) !important;
            animation: none !important;
            margin-bottom: 1rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .hero h1 {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.4s forwards;
            line-height: 1.1;
            letter-spacing: -1px;
        }

        .hero .subtitle {
            font-size: 1.3rem;
            margin-bottom: 3rem;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 1s ease 0.6s forwards;
            color: rgba(255, 255, 255, 0.9);
            font-weight: 400;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
        }

        .cta-button {
            display: inline-block;
            padding: 1.2rem 3rem;
            background: rgba(255, 255, 255, 0.2);
            color: var(--text-light);
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            transform: translateY(0) !important;
            opacity: 1 !important;
            animation: none !important;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 2px solid rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(10px);
            letter-spacing: 0.5px;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            background: rgba(255, 255, 255, 0.25);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            border-color: rgba(255, 255, 255, 0.4);
        }

       

        /* Scroll Indicator */
        .scroll-indicator {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            width: 30px;
            height: 50px;
            border: 2px solid rgba(255, 255, 255, 0.6);
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .scroll-indicator:hover {
            border-color: rgba(255, 255, 255, 0.9);
        }

        .scroll-indicator::before {
            content: '';
            position: absolute;
            top: 10px;
            left: 50%;
            width: 6px;
            height: 6px;
            background: rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            transform: translateX(-50%);
            animation: scroll 2s infinite;
        }

        

        /* Section Styles */
        section {
            padding: 8rem 0;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .section-title {
            text-align: center;
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 3.5rem;
            font-weight: 600;
            margin-bottom: 4rem;
            background: var(--gradient-elegant);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            letter-spacing: -1px;
            position: relative;
        }

        .section-title::after {
            content: '';
            position: absolute;
            width: 60px;
            height: 4px;
            background: var(--gradient-primary);
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        /* About Section */
        .about {
            background: var(--bg-secondary);
            position: relative;
        }

        .about::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
            
        }

        .about-content {
            display: grid;

            grid-template-columns: 1fr 1.5fr;
            gap: 6rem;
            align-items: center;
            position: relative;
        }

        .about-content1 {
            display: flex;
            grid-template-columns: 1fr 1.5fr;
            gap: 6rem;
            align-items: center;
            position: relative;
            justify-content: center;
        }

        

        .about-image {
    width: 100%;
    height: 500px;
    background: url('images/logoMelhor.webp') no-repeat center/contain; /* Alterado para contain para não cortar o logo */
    border-radius: 20px; /* Bordas levemente mais suaves */
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl); /* Sombra profissional e menos pesada */
    transform: rotate(0deg); /* Removida a inclinação para um visual mais sério */
    transition: all 0.4s ease;
    display: flex;
    gap: 15px;
    background-color: #fff; /* Fundo branco caso a imagem tenha transparência */
}

/* Removendo o efeito escuro (overlay) que existia no seu código original */
.about-image::before {
    display: none; /* Desativa o gradiente escuro que cobria a imagem */
}

.about-image:hover {
    transform: scale(1.02); /* Leve zoom ao passar o mouse em vez de rotacionar */
    box-shadow: var(--shadow-2xl);
}
        .about-image1 {
            width: 100%;
            height: 500px;
            background: url('images/sol1.png') center/cover;
            border-radius: 30px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-2xl);
            transform: rotate(-2deg);
            transition: transform 0.4s ease;
            display: flex;
            gap: 15px;
        }

        .about-image2 {
            width: 100%;
            height: 500px;
            background: url('images/sol2.png') center/cover;
            border-radius: 30px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-2xl);
            transform: rotate(-2deg);
            transition: transform 0.4s ease;
            display: flex;
            gap: 15px;
        }

        .about-image3 {
            width: 100%;
            height: 500px;
            background: url('images/sol3.png') center/cover;
            border-radius: 30px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-2xl);
            transform: rotate(-2deg);
            transition: transform 0.4s ease;
            display: flex;
            gap: 15px;
        }

        .about-image4 {
            width: 100%;
            height: 500px;
            background: url('images/logo.webp') center/cover;
            border-radius: 30px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-2xl);
            transform: rotate(-2deg);
            transition: transform 0.4s ease;
            display: flex;
            gap: 15px;
        }

        .about-image5 {
            width: 100%;
            height: 500px;
            background: url('images/kawtapelogo.webp') center/cover;
            border-radius: 30px;
            position: relative;
            overflow: hidden;
            box-shadow: var(--shadow-2xl);
            transform: rotate(-2deg);
            transition: transform 0.4s ease;
            display: flex;
            gap: 15px;
        }

        .about-image:hover {
            transform: rotate(0deg) scale(1.02);
        }

        .about-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.156) 0%, #3c0505 100%);
            transition: opacity 0.3s ease;
        }

        .about-image:hover::before {
            opacity: 0.7;
        }

        

        .about-text h3 {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 2.5rem;
            margin-bottom: 2rem;
            color: var(--text-primary);
            font-weight: 500;
            line-height: 1.3;
        }

        .about-text p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        .skills {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin-top: 3rem;
        }

        .skill-tag {
            padding: 0.75rem 1.5rem;
            background: var(--bg-card);
            color: var(--primary-color);
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 600;
            border: 1px solid rgba(99, 102, 241, 0.2);
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .skill-tag:hover {
            background: var(--primary-color);
            color: var(--text-light);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }

        /* Portfolio Section */
        .portfolio {
            background: var(--bg-primary);
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 3rem;
            margin-top: 2rem;
        }
  


        .portfolio-item {
            background: var(--bg-card);
            border-radius: 25px;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            transition: none !important;
            transform: translateY(0) !important;
            opacity: 1 !important;
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
        }

        .portfolio-item.animate {
            transform: translateY(0);
            opacity: 1;
        }

        .portfolio-item:hover {
            transform: translateY(-15px);
            box-shadow: var(--shadow-2xl);
        }

        .portfolio-image {
            width: 100%;
            height: 180px;
            background: var(--gradient-primary);
            position: relative;
            overflow: hidden;
            background-size: cover;
            background-position: center;
        }

        .portfolio-item:nth-child(1) .portfolio-image {
            background-image: url('images/camera.png');
        }

        .portfolio-item:nth-child(2) .portfolio-image {
            background-image: url('images/hd.webp');
        }

        .portfolio-item:nth-child(3) .portfolio-image {
            background-image: url('images/fonte.webp');
        }

        .portfolio-item:nth-child(4) .portfolio-image {
            background-image: url('images/conector.png');
        }

        .portfolio-item:nth-child(5) .portfolio-image {
            background-image: url('images/marketing-strategy-women.jpg');
        }

        .portfolio-item:nth-child(6) .portfolio-image {
            background-image: url('images/portfolio-website-girl.jpg');
        }

        .portfolio-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
            transition: all 0.3s ease;
        }

        .portfolio-item:hover .portfolio-image::before {
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(91, 8, 8, 0.3) 100%);
        }

        .portfolio-content {
            padding: 2rem;
        }

        .portfolio-content h4 {
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--text-primary);
            font-weight: 600;
        }

        .portfolio-content p {
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }

        .portfolio-tech {
            display: flex;
            gap: 0.75rem;
            flex-wrap: wrap;
        }

        .tech-tag {
            padding: 0.4rem 1rem;
            background: var(--bg-secondary);
            color: var(--text-secondary);
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .tech-tag:hover {
            background: var(--primary-color);
            color: var(--text-light);
        }

        /* Contact Section */
        .contact {
            background: linear-gradient(135deg, #000000 0%, #770404 50%, #ff0000 100%);
            color: var(--text-light);
            position: relative;
            overflow: hidden;
        }

        .contact::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-grid" width="8" height="8" patternUnits="userSpaceOnUse"><path d="M 8 0 L 0 0 0 8" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-grid)"/></svg>');
            animation: contactFloat 30s ease-in-out infinite;
            opacity: 0.6;
        }

        .contact::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
                        radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
                        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
            animation: contactPulse 6s ease-in-out infinite alternate;
        }

        /* Contact Floating Shapes */
        .contact-floating-shapes {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .contact-shape {
            position: absolute;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 50%;
        }

        .contact-shape-1 {
            width: 70px;
            height: 70px;
            top: 15%;
            left: 8%;
            animation: contactFloatShape1 24s ease-in-out infinite;
        }

        .contact-shape-2 {
            width: 110px;
            height: 110px;
            top: 65%;
            right: 12%;
            background: rgba(255, 255, 255, 0.06);
            animation: contactFloatShape2 28s ease-in-out infinite reverse;
        }

        .contact-shape-3 {
            width: 55px;
            height: 55px;
            top: 25%;
            right: 30%;
            background: rgba(255, 255, 255, 0.1);
            animation: contactFloatShape3 20s ease-in-out infinite;
        }

        .contact-shape-4 {
            width: 90px;
            height: 90px;
            bottom: 20%;
            left: 18%;
            background: rgba(255, 255, 255, 0.05);
            border-radius: 25px;
            animation: contactFloatShape4 26s ease-in-out infinite;
        }

        .contact-shape-5 {
            width: 35px;
            height: 35px;
            top: 12%;
            right: 45%;
            background: rgba(255, 255, 255, 0.12);
            animation: contactFloatShape5 18s ease-in-out infinite reverse;
        }

        .contact-shape-6 {
            width: 130px;
            height: 130px;
            bottom: 12%;
            right: 8%;
            background: rgba(255, 255, 255, 0.04);
            border-radius: 35px;
            animation: contactFloatShape6 32s ease-in-out infinite;
        }

       
        .contact-content {
            text-align: center;
            max-width: 700px;
            margin: 0 auto;
            position: relative;
            z-index: 10;
        }

        .contact .section-title {
            color: var(--text-light);
            background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .contact-form {
            display: grid;
            gap: 2rem;
            margin-top: 3rem;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }

        .form-group {
            display: grid;
            gap: 0.75rem;
            text-align: left;
        }

        .form-group label {
            font-weight: 500;
            color: rgba(255, 255, 255, 0.9);
            font-size: 0.9rem;
        }

        .form-group input,
        .form-group textarea {
            padding: 1.2rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 15px;
            background: rgba(255, 255, 255, 0.08);
            color: var(--text-light);
            font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
            font-size: 1rem;
            font-weight: 400;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
            resize: vertical;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            background: rgba(255, 255, 255, 0.12);
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .submit-btn {
            padding: 1.2rem 3rem;
            background: var(--gradient-primary);
            color: var(--text-light);
            border: none;
            border-radius: 50px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            margin-top: 1rem;
            letter-spacing: 0.5px;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        /* Animation Classes */
        .fade-in {
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .fade-in.animate {
            opacity: 1;
            transform: translateY(0);
        }

        .slide-in-left {
            opacity: 0;
            transform: translateX(-60px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            gap: 15px;
            display: flex;
        }

        .slide-in-left.animate {
            opacity: 1;
            transform: translateX(0);
        }

        .slide-in-right {
            opacity: 0;
            transform: translateX(60px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .slide-in-right.animate {
            opacity: 1;
            transform: translateX(0);
        }

        /* Mobile Responsiveness */
        @media (max-width: 1024px) {
            .portfolio-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem;
            }

            .about-content {
                grid-template-columns: 1fr;
                gap: 4rem;
            }

            .hero h1 {
                font-size: 4rem;
            }
        }

        @media (max-width: 950px) {
            .nav-links {
                display: none;
            }

            .mobile-menu-toggle {
                display: flex;
            }

            .hero h1 {
                font-size: 3rem;
            }

            .hero .subtitle {
                font-size: 1.1rem;
            }

            .section-title {
                font-size: 2.5rem;
            }

            .portfolio-grid {
                grid-template-columns: 1fr;
            }

            .container {
                padding: 0 1.5rem;
            }

            section {
                padding: 5rem 0;
            }

            .form-row {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .about-text h3 {
                font-size: 2rem;
            }

            .skills {
                margin-top: 2rem;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .nav-container {
                padding: 0 1rem;
            }

            .container {
                padding: 0 1rem;
            }
        }

        #carousel::-webkit-scrollbar {
        display: none; /* Chrome, Safari e Opera */
        }

/* ==== Correções gerais ==== */

/* Evita borda branca e scroll horizontal */
html, body {
  overflow-x: hidden !important;
}

/* Imagens nunca podem estourar a tela */
img {
  max-width: 100%;
  height: auto;
}

/* ==== Localização (Mapa + Texto) ==== */
#localizacao .container {
  text-align: center;
}

#localizacao iframe {
  width: 600px; /* largura padrão para desktop */
  height: 450px; /* altura padrão para desktop */
  margin: 0 auto;
  display: block;
}

#localizacao h3 {
  margin-top: 20px;
  font-size: 1.1rem;
}

/* ==== Soluções e Empresas ==== */
.about-content1 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.about-content1 .about-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  aspect-ratio: 16 / 9; /* mantém proporção bonitinha */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Mobile: empilha e ajusta tamanho */
@media (max-width: 768px) {
  #localizacao iframe {
    width: 100% !important;
    height: 300px; /* altura reduzida para celular */
  }

  #localizacao iframe {
    height: 300px; /* reduz altura no celular */
  }
}



/* Seção de Diferenciais */
.features {
    padding: 100px 0;
    background-color: var(--bg-secondary); /* Usa o cinza claro que você já tem no root */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg); /* Usa a sombra definida no seu :root */
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color); /* Destaque vermelho ao passar o mouse */
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsividade */
@media (max-width: 1100px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 em tablets */
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr; /* 1 coluna no celular */
    }
    
    .feature-card {
        padding: 30px 20px;
    }
}

/* Estilização dos ícones profissionais */
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color); /* Usa o vermelho do seu tema */
    background: rgba(255, 0, 0, 0.1); /* Um círculo sutil de fundo */
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 1rem;
}

/* Ajustes na Seção Sobre */
.about-bullets {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.bullet {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.bullet i {
    color: var(--primary-color);
    margin-top: 5px;
    font-size: 1.1rem;
}

.bullet span {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.about-text h3 {
    font-size: 2.2rem !important; /* Mais impacto visual */
    margin-bottom: 1.5rem;
}

/* Responsividade para a imagem não sumir ou quebrar */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }
    
    .about-image {
        height: 350px !important;
        transform: rotate(0deg) !important;
    }
}


/* Remove o overlay vermelho e prepara o zoom */
.portfolio-image {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden; /* Garante que a imagem não saia do card ao crescer */
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove qualquer gradiente ou cor vermelha no hover da imagem */
.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent; /* Remove o fundo anterior */
    transition: background 0.3s ease;
    z-index: 1;
}

/* Efeito de aumento (zoom) ao passar o mouse ou focar no item */
.portfolio-item:hover .portfolio-image,
.portfolio-item:active .portfolio-image {
    transform: scale(1.15); /* Aumenta a imagem em 15% */
}

/* Garante que o card em si não mude de cor, apenas ganhe profundidade */
.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: rgba(0, 0, 0, 0.1); /* Borda neutra */
}

/* Remove especificamente o hover vermelho que estava no seu código original */
.portfolio-item:hover .portfolio-image::before {
    background: rgba(0, 0, 0, 0.1); /* Apenas um escurecimento bem sutil para destaque */
}

/* Layout do Grid dentro do Carrossel */
.solutions-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px 0 60px;
}

/* Card Quadrado Grande */
.solution-card {
    background: #fff;
    width: 400px; /* Define a largura para ser um quadrado grande */
    height: 500px; /* Altura fixa para manter o aspecto */
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

/* Container da Imagem com Zoom */
.solution-image-box {
    flex: 1; /* Ocupa a metade de cima do card */
    overflow: hidden;
    position: relative;
}

.solution-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.solution-card:hover .solution-img {
    transform: scale(1.15); /* Aumenta a imagem ao passar o mouse */
}

/* Links das Imagens (Conforme seu CSS original) */
.img-camera { background-image: url('images/camera.png'); }
.img-hd { background-image: url('images/hd.webp'); }
.img-fonte { background-image: url('images/fonte.webp'); }
.img-conector { background-image: url('images/conector.png'); }

/* Informações e CTA interno */
.solution-info {
    padding: 25px;
    text-align: center;
    background: #fff;
    flex: 1; /* Ocupa a metade de baixo */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.solution-info h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.solution-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.card-cta {
    display: inline-block;
    padding: 10px 25px;
    background: var(--bg-dark); /* Cor neutra para o site GrupoKaw */
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.card-cta:hover {
    background: var(--primary-color); /* Fica vermelho apenas no botão ao passar o mouse */
    color: #fff;
}

/* Ajustes dos Controles do Carrossel */
.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--bg-dark);
    border-radius: 50%;
    padding: 20px;
}

@media (max-width: 992px) {
    .solution-card { width: 100%; height: auto; }
    .solutions-grid { flex-direction: column; align-items: center; }
}

/* Container das Avaliações */
.reviews {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Cria o layout 2x2 */
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}

/* Card de Avaliação */
.review-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Cabeçalho do Card (Nome e Estrelas lado a lado) */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
}

.reviewer-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.stars {
    color: #ffc107; /* Cor amarela padrão para estrelas */
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsividade para Celular */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr; /* Vira 1 coluna no celular */
        padding: 0 20px;
    }
}

.group-companies {
    padding: 80px 0;
    background-color: #ffffff; /* Fundo limpo para destacar logos */
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.group-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: stretch;
}

.group-item {
    background: #fdfdfd;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.group-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0,0,0,0.1);
}

.group-logo-box {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.group-logo {
    max-width: 180px;
    height: auto;
    filter: grayscale(100%); /* Logos em cinza por padrão para sobriedade */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.group-item:hover .group-logo {
    filter: grayscale(0%); /* Ganha cor no hover */
    opacity: 1;
}

.group-icon-placeholder {
    font-size: 3rem;
    color: var(--bg-dark);
}

.group-info h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.group-info p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsividade */
@media (max-width: 992px) {
    .group-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

.location-wrapper {
    display: flex;
    gap: 0; /* Removido gap para as bordas se unirem perfeitamente */
    align-items: stretch;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 40px;
}

.map-container {
    flex: 1.3; /* Mapa um pouco maior para destaque visual */
    min-height: 450px;
}

.location-info {
    flex: 1;
    padding: 60px; /* Aumentado o padding para preencher melhor o espaço */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centraliza o texto verticalmente */
    text-align: left;
    background-color: #ffffff;
}

.info-block {
    margin-bottom: 40px; /* Mais espaço entre os blocos */
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
}

.info-block h3 i {
    color: var(--primary-color);
}

.unit p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.5;
}

.status-open {
    color: #28a745;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-open::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #28a745;
    border-radius: 50%;
    display: inline-block;
}

@media (max-width: 992px) {
    .location-wrapper { flex-direction: column; }
    .map-container { height: 300px; }
    .location-info { padding: 40px 30px; }
}
.status-closed::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: #dc3545; /* Bolinha vermelha */
    border-radius: 50%;
    display: inline-block;
}

.status-indicator {
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 5px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solutions-tabs {
    padding: 100px 0;
    background-color: #fcfcfc;
}

/* Estilo dos Botões das Abas */
.nav-pills .nav-link {
    color: #333;
    background: #fff;
    border: 1px solid #eee;
    margin: 5px;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background-color: var(--bg-dark); /* Cor escura profissional */
    color: #fff;
    border-color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Container de Conteúdo */
.tab-content {
    background: #fff;
    padding: 60px;
    border-radius: 25px;
    margin-top: 30px;
}

.tab-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 10px;
}

.tab-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.custom-list li {
    margin-bottom: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-list i {
    color: #28a745; /* Verde para check */
}

/* Botão CTA dentro da Aba */
.btn-cta-tab {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 40px;
    background-color: var(--primary-color); /* Vermelho da marca */
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.3s;
}

.btn-cta-tab:hover {
    transform: scale(1.05);
    color: #fff;
}

/* Efeito de Zoom na Imagem da Aba */
.tab-img-wrapper {
    overflow: hidden;
    border-radius: 20px;
}

.tab-img-wrapper img {
    transition: transform 0.5s ease;
}



@media (max-width: 768px) {
    .tab-content { padding: 30px; }
    .nav-pills .nav-link { width: 100%; text-align: center; }
}

.site-footer {
    background-color: #1a1a1a; /* Fundo escuro para contraste */
    color: #ffffff;
    padding: 70px 0 30px;
    font-size: 0.9rem;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Deixa a logo branca se necessário */
}

.footer-description {
    color: #b3b3b3;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-title {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.footer-title::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--primary-color); /* O vermelho da marca */
    margin-top: 10px;
}

.footer-links, .footer-info {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px; /* Leve efeito de movimento no hover */
}

.footer-info li {
    color: #b3b3b3;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info i {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    margin-top: 50px;
    padding-top: 25px;
    text-align: center;
    color: #777;
}

@media (max-width: 768px) {
    .site-footer { text-align: center; }
    .footer-title::after { margin: 10px auto; }
    .footer-social { justify-content: center; }
    .footer-info li { justify-content: center; }
}

/* 1. Garante que a Nav esteja sempre no topo de tudo */
#navbar {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 9999 !important; /* Valor alto para não ser tampada por nada */
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 2. Corrige o Menu Hambúrguer (Mobile) */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: #fff; /* Fundo sólido para não ver o conteúdo atrás */
        max-height: 85vh; /* Limita a altura a 85% da tela */
        overflow-y: auto; /* Adiciona scroll se as opções forem muitas */
        padding: 10px 20px;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    
    .navbar-nav {
        padding-top: 10px;
    }

    .nav-item {
        border-bottom: 1px solid #f4f4f4; /* Linha sutil entre opções */
    }
}