/* ===================================
   SN Matrizes - Professional Design System
   Clean, modern, serious industrial aesthetic
   =================================== */

/* === CSS VARIABLES === */
:root {
    /* Brand Colors - Cyan Blue (Kept vibrant) */
    --primary-cyan: #00D4FF;
    --primary-dark: #0095B8;
    --primary-light: #7DE9FF;

    /* Neural Scale (Inverted for Dark Mode mentally, but defined explicitly) */
    --bg-body: #0f172a;
    /* Deep Slate/Navy */
    --bg-surface: #1e293b;
    /* Lighter Slate for cards/nav */
    --bg-highlight: #334155;
    /* Interactive hover states */

    /* Text Colors */
    --text-primary: #f1f5f9;
    /* Slate 100 */
    --text-secondary: #94a3b8;
    /* Slate 400 */
    --text-muted: #64748b;
    /* Slate 500 */

    /* Borders */
    --border-color: #334155;

    /* Semantic Mappings for legacy support/ease */
    --white: var(--bg-surface);
    /* Remapping white to surface for simple swaps */
    --gray-dark: var(--text-primary);
    /* Remapping dark text to light text */
    --gray-light: var(--border-color);
    --bg-light: #0b1120;
    /* Darker than body for "light" sections in original design, or similar */

    /* Shadows (adjusted for dark mode visibility) */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-max: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-body);
    line-height: 1.6;
    font-size: 16px;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--gray-dark);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: var(--primary-cyan);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* === LAYOUT === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-light {
    background-color: var(--bg-light);
    /* Will now resolve to darker shade */
}

/* === NAVIGATION === */
.navbar {
    background-color: transparent;
    border-bottom: none;
    box-shadow: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-xs) 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.navbar-brand {
    z-index: 2;
}

.navbar-brand img {
    height: 100px;
    /* Larger size */
    width: auto;
    transition: var(--transition);
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    margin: 0;
    justify-content: center;
    /* Posiciona absolutamente no centro da tela */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-nav a {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius);
    transition: var(--transition);
    white-space: nowrap;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: var(--primary-cyan);
    background-color: rgba(0, 212, 255, 0.15);
}

.navbar-right {
    justify-self: end;
    display: flex;
    align-items: center;
}

.language-switcher {
    display: flex;
    gap: var(--spacing-xs);
}

.lang-flag {
    width: 28px;
    height: 28px;
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: var(--transition);
    object-fit: cover;
}

.lang-flag:hover,
.lang-flag.active {
    border-color: var(--primary-cyan);
    transform: scale(1.1);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    width: 40px;
    height: 40px;
    position: relative;
    justify-content: center;
    align-items: center;
}

.navbar-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Animação: Hambúrguer -> Seta "<" (voltar/fechar) */
.navbar-toggle.active span:nth-child(1) {
    width: 15px;
    transform: translateX(0px) translateY(5px) rotate(-45deg);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.navbar-toggle.active span:nth-child(3) {
    width: 15px;
    transform: translateX(0px) translateY(-5px) rotate(45deg);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-cyan);
    color: var(--bg-body);
    border-color: var(--primary-cyan);
    font-weight: 700;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--primary-cyan), inset 0 0 10px rgba(0, 212, 255, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
}

.btn-outline:hover {
    background-color: var(--primary-cyan);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.125rem;
}

/* === CARDS === */
.card {
    background-color: var(--bg-surface);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.card:hover {
    box-shadow: 0 0 25px var(--primary-cyan), 0 0 50px rgba(0, 212, 255, 0.3);
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-cyan);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--gray-dark);
}

.card-text {
    color: var(--text-secondary);
}

/* === OVERLAY SERVICE CARDS === */
.section-light {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.service-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(30, 41, 59, 0.6) 100%);
    border-radius: 16px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
    min-height: 320px;
}

.service-card:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.3), 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.service-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    transition: opacity 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-content {
    opacity: 0;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--spacing-md);
    color: var(--primary-cyan);
}

.service-title {
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.service-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.service-card:hover .service-image {
    opacity: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Overlay text on image */
.service-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    border-radius: 0 0 16px 16px;
}

/* Service Cards Responsive */
@media (max-width: 768px) {
    .section-light {
        min-height: auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 280px;
        padding: var(--spacing-lg);
    }
}

/* === GRID SYSTEM === */
.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* === HERO SECTION === */
.hero {
    background:
        radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.7) 100%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.8) 100%),
        url('../images/hero-bg.png');
    background-size: cover;
    background-attachment: fixed;
    /* Parallax Effect */
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero .container {
    max-width: 600px;
    padding: 0 var(--spacing-md);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--gray-dark);
}

.neon-text {
    color: var(--primary-cyan);
    text-shadow:
        0 0 5px rgba(0, 212, 255, 0.4),
        0 0 10px rgba(0, 212, 255, 0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-top: var(--spacing-md);
}

/* === BENTO GRID SECTION === */
.bento-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--bg-body) 0%, #0b1725 100%);
}

.bento-main-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
}

.bento-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.bento-row {
    display: flex;
    gap: var(--spacing-md);
}

.bento-row-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.bento-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9) 0%, rgba(30, 41, 59, 0.6) 100%);
    border-radius: 16px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: var(--spacing-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15), 0 0 60px rgba(0, 212, 255, 0.08);
}

.bento-card:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.3), 0 0 80px rgba(0, 212, 255, 0.15), 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.bento-card-wide {
    width: 100%;
}

.bento-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 212, 255, 0.25);
    transition: all 0.3s ease;
}

.bento-card:hover .bento-icon-wrapper {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25) 0%, rgba(0, 212, 255, 0.1) 100%);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.bento-icon {
    width: 40px;
    height: 40px;
    color: var(--primary-cyan);
}

.bento-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.bento-title-centered {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.bento-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Brand Logos Section */
.brand-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
}

.brand-logo {
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.brand-logo img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.brand-logo:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.1);
}

/* Increase specific smaller logos */
.brand-logo:nth-child(1) img,
.brand-logo:nth-child(2) img {
    transform: scale(1.3);
}

.brand-logo:nth-child(1):hover img,
.brand-logo:nth-child(2):hover img {
    transform: scale(1.5);
}

.brand-logo:nth-child(3) img,
.brand-logo:nth-child(4) img,
.brand-logo:nth-child(5) img {
    transform: scale(1.8);
}

.brand-logo:nth-child(3):hover img,
.brand-logo:nth-child(4):hover img,
.brand-logo:nth-child(5):hover img {
    transform: scale(2);
}

/* Align Grendene with Rip Curl */
.brand-logo:nth-child(5) img {
    margin-top: 35px;
}

.bento-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: var(--spacing-sm);
    font-style: italic;
}

/* Bento Responsive */
@media (max-width: 768px) {
    .bento-row-top {
        grid-template-columns: 1fr;
    }

    .bento-card {
        padding: var(--spacing-md);
    }

    .bento-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .bento-icon {
        width: 30px;
        height: 30px;
    }

    .brand-logos {
        gap: var(--spacing-sm);
    }

    .brand-logo {
        min-width: 80px;
        max-width: 100px;
    }

    .brand-logo img {
        max-height: 40px;
    }
}

/* === FULLSCREEN CAROUSEL === */
.carousel-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, var(--bg-body) 0%, #0b1725 100%);
    position: relative;
    overflow: hidden;
    padding: var(--spacing-lg) 0;
}

.carousel-main-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    padding: 0 var(--spacing-md);
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 450px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.carousel-slide.exit-left {
    opacity: 0;
    transform: translateX(-100px);
}

.carousel-content {
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.8) 0%, rgba(30, 41, 59, 0.4) 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
    max-width: 700px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.carousel-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 212, 255, 0.3);
    animation: iconPulse 3s infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
    }
}

.carousel-icon {
    width: 60px;
    height: 60px;
    color: var(--primary-cyan);
}

.carousel-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.carousel-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Carousel Navigation Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-arrow svg {
    width: 24px;
    height: 24px;
    color: var(--primary-cyan);
}

.carousel-arrow:hover {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow:hover svg {
    color: var(--bg-body);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.2);
    border: 2px solid rgba(0, 212, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator:hover {
    background: rgba(0, 212, 255, 0.4);
}

.carousel-indicator.active {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
    transform: scale(1.2);
    box-shadow: 0 0 15px var(--primary-cyan);
}

/* Carousel Responsive */
@media (max-width: 768px) {
    .carousel-container {
        height: 500px;
        padding: 0 60px;
    }

    .carousel-content {
        padding: var(--spacing-md);
    }

    .carousel-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .carousel-icon {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }
}

/* === FORMS === */
.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--gray-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    background-color: var(--bg-body);
    /* Dark input background */
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-upload input[type="file"] {
    opacity: 0;
    position: absolute;
    z-index: -1;
}

.file-upload-label {
    display: block;
    padding: 12px 16px;
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-secondary);
}

.file-upload-label:hover {
    border-color: var(--primary-cyan);
    background-color: rgba(0, 212, 255, 0.05);
}

/* === FOOTER === */
.footer {
    background-color: #020617;
    /* Even darker footer */
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    font-size: 1.125rem;
}

.footer-section p,
.footer-section a {
    color: var(--gray-light);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--primary-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-light);
    font-size: 0.9rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

/* === UTILITIES === */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-cyan);
}

.mb-1 {
    margin-bottom: var(--spacing-xs);
}

.mb-2 {
    margin-bottom: var(--spacing-sm);
}

.mb-3 {
    margin-bottom: var(--spacing-md);
}

.mb-4 {
    margin-bottom: var(--spacing-lg);
}

.mt-1 {
    margin-top: var(--spacing-xs);
}

.mt-2 {
    margin-top: var(--spacing-sm);
}

.mt-3 {
    margin-top: var(--spacing-md);
}

.mt-4 {
    margin-top: var(--spacing-lg);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .navbar .container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }

    /* Hamburger - ESQUERDA (coluna 1) */
    .navbar-toggle {
        display: flex;
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        order: 1;
        z-index: 9999;
        position: relative;
    }

    /* Logo - CENTRO (coluna 2) */
    .navbar-brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        order: 2;
    }

    .navbar-brand img {
        height: 70px;
    }

    /* Bandeiras - DIREITA (coluna 3) */
    .navbar-right {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        order: 3;
    }

    .navbar-toggle.active span {
        background-color: var(--primary-cyan);
    }

    .navbar-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-surface);
        display: flex;
        flex-direction: column;
        padding: 0;
        padding-top: 120px;
        transition: left 0.3s ease;
        box-shadow: var(--shadow-lg);
        justify-content: flex-start;
        align-items: center;
        gap: var(--spacing-md);
        z-index: 9998;
        /* IMPORTANTE: Resetar o transform do desktop */
        transform: none;
    }

    .navbar-nav.active {
        left: 0;
    }

    .navbar-nav li {
        list-style: none;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .navbar-nav a {
        display: inline-block;
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 1.5rem;
        font-weight: 500;
        color: var(--text-primary);
        text-align: center;
        border-radius: var(--border-radius);
    }

    .navbar-nav a:hover {
        background-color: rgba(0, 212, 255, 0.15);
        color: var(--primary-cyan);
    }

    .language-switcher {
        display: flex;
        gap: var(--spacing-xs);
    }

    .lang-flag {
        width: 24px;
        height: 24px;
    }

    .hero {
        padding: var(--spacing-md) 0;
        padding-top: 90px;
    }

    .hero .container {
        max-width: 360px;
        padding: 0 var(--spacing-sm);
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--spacing-md) 0;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-md: 1.5rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
    }

    .btn {
        width: 100%;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* === WHATSAPP FLOATING BUTTON === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
}

.whatsapp-float svg,
.whatsapp-float img {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    object-fit: contain;
}

/* Pulse Animation - Cyan Blue */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-cyan);
    z-index: -1;
    animation: whatsapp-pulse 3s ease-out infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.15);
        opacity: 0;
    }

    100% {
        transform: scale(0.9);
        opacity: 0;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .whatsapp-float svg,
    .whatsapp-float img {
        width: 24px;
        height: 24px;
    }
}

/* === CONTACT VIDEO BACKGROUND === */
.contact-video-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.contact-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
    opacity: 0.5;
}

.contact-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.6) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.contact-main-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

.video-section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.video-section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.2), 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.company-video {
    width: 100%;
    display: block;
    background-color: var(--bg-body);
}

/* Mobile adjustments for video */
@media (max-width: 768px) {
    .video-section {
        padding: var(--spacing-lg) 0;
    }

    .video-wrapper {
        border-radius: 12px;
        margin: 0 var(--spacing-sm);
    }
}

/* === COOKIE CONSENT BUBBLE === */
.cookie-bubble {
    position: fixed;
    bottom: 100px;
    left: 24px;
    z-index: 99998;
    width: 320px;
    padding: 20px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 20px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 212, 255, 0.1);
    transform: translateX(-120%) scale(0.9);
    opacity: 0;
    animation: bubbleSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bubbleSlideIn {
    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.cookie-bubble.hiding {
    animation: bubbleSlideOut 0.3s ease forwards;
}

@keyframes bubbleSlideOut {
    to {
        transform: translateX(-120%) scale(0.9);
        opacity: 0;
    }
}

.cookie-bubble-icon {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 12px;
}

.cookie-bubble-content {
    text-align: center;
}

.cookie-bubble-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.cookie-bubble-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.cookie-bubble-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cookie-btn-small {
    padding: 10px 20px;
    border-radius: 25px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn-small.cookie-btn-reject {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-small.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.cookie-btn-small.cookie-btn-accept {
    background: linear-gradient(135deg, var(--primary-cyan), var(--primary-dark));
    color: var(--bg-body);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.cookie-btn-small.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.5);
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .cookie-bubble {
        left: 50%;
        bottom: 90px;
        width: calc(100% - 32px);
        max-width: 340px;
        transform: translateX(-50%) translateY(120%) scale(0.9);
    }

    @keyframes bubbleSlideIn {
        to {
            transform: translateX(-50%) translateY(0) scale(1);
            opacity: 1;
        }
    }

    @keyframes bubbleSlideOut {
        to {
            transform: translateX(-50%) translateY(120%) scale(0.9);
            opacity: 0;
        }
    }
}