﻿/* ===================================
   TEMPLATE 3 - OUTMIDIA OUTDOOR
   Modern Vibrant Design
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors - Outmídia Correct Palette */
    --color-primary: #FFC527;
    /* Yellow */
    --color-secondary: #3E2723;
    /* Brown */
    --color-accent: #000000;
    /* Black */
    --color-brown: #3E2723;
    /* Specific Brown Ref */

    /* Neutrals */
    --color-dark: #1A1A1A;
    --color-gray: #4A4A4A;
    --color-light-gray: #F9F9F9;
    --color-white: #FFFFFF;
    --color-gray-soft: #828282;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FFC527 0%, #FF9100 100%);
    /* Yellow -> subtle orange */
    --gradient-brown: linear-gradient(135deg, #3E2723 0%, #2D1B19 100%);
    --gradient-warm: linear-gradient(135deg, #FFC527 0%, #FFB300 100%);

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    /* Spacing */
    --space-unit: 1rem;

    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 32px rgba(62, 39, 35, 0.12);
    /* Brown-tinted shadow */
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(255, 197, 39, 0.3);
    /* Yellow glow */

    /* Glass Morphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-blur: blur(20px);

    /* Animations */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    line-height: 1.6;
    background: var(--color-white);
    letter-spacing: -0.01em;
    /* Modern Base Kerning */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.03em;
    /* Editorial Headings */
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    display: block;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--color-gray);
    display: block;
    margin-top: -4px;
}

.menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.menu-link {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    position: relative;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.menu-link:hover {
    color: var(--color-primary);
}

.menu-link:hover::after {
    width: 100%;
}

.cta {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
}

.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(62, 39, 35, 0.2);
}

/* ===================================
   PREMIUM NAVBAR STYLES
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    /* Reduced from 0.8rem */
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    /* Lighter border */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 95%;
    /* Maximize width */
    margin: 0 auto;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    font-family: var(--font-display);
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark);
}

.logo-sub {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFB300 0%, #FF8F00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 600;
    font-size: 0.9375rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    white-space: nowrap;
    /* Prevent Bi-Semanas from breaking */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFB300, #FF8F00);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: #FF8F00;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #FF8F00;
}

/* Navbar CTA Button */
.navbar .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    background: linear-gradient(135deg, #FFB300 0%, #FF8F00 100%);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.3);
    border: none;
    cursor: pointer;
    /* Visual alignment fix - Force move down */
    transform: translateY(4px) !important;
}

.navbar .cta-btn:hover {
    transform: translateY(2px) !important;
    /* Adjust hover state relative to base transform */
    box-shadow: 0 8px 25px rgba(255, 179, 0, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--color-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 6rem 2rem;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        align-items: flex-start;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
        z-index: 1000;
    }

    .navbar .cta-btn {
        display: none;
    }

    /* Show CTA in mobile menu if needed, or keep hidden */
}

/* ===================================
   SUPPORT TEMPLATE 1 CLASSES
   Modern Vibrant Style Compatibility
   =================================== */

/* Navigation Brand */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-family: var(--font-display);
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
}

.brand-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 600;
    font-size: 0.9375rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* CTA Button */
.cta-btn {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.25);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.35);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-multi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #FFE8CC 0%, #FFD4A3 100%);
    color: #E65100;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

/* About Section */
.about-image {
    width: 100%;
}

.about-content {
    width: 100%;
}

.about-text {
    margin-bottom: 1.5rem;
    color: var(--color-gray);
    line-height: 1.7;
}

/* ===================================
   PREMIUM DARK FOOTER
   =================================== */
.footer {
    background-color: #1A1A1A;
    color: #FFFFFF;
    padding: 2.5rem 0 1.5rem;
    /* Reduced from 4rem 0 2rem */
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .logo-main {
    color: #FFFFFF;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin: 1.5rem 0;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #FFFFFF;
    letter-spacing: 0.05em;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--color-primary);
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 6rem 2rem;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        align-items: flex-start;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .cta-btn {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: var(--font-primary);
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.35);
}

.btn-ghost {
    background: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-light-gray);
}

.btn-ghost:hover {
    border-color: var(--color-primary);
    background: rgba(99, 102, 241, 0.05);
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
}

.btn-outline-dark:hover {
    background: var(--color-dark);
    color: white;
}

.btn-white {
    background: white;
    color: var(--color-primary);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-white:hover {
    background: white;
    color: var(--color-primary);
}

.btn-full {
    width: 100%;
}

/* ===================================
   CONTACT PREMIUM SECTION
   =================================== */
.contact-premium {
    padding: 4rem 0;
    /* Adjusted padding */
    background: linear-gradient(135deg, white 0%, #F9F9F9 100%);
    position: relative;
    /* Removed overflow:hidden to allow shadows to prevent clipping */
    /* overflow: hidden; */
}

.contact-premium .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 1rem;
    align-items: stretch;
    /* Force equal height cards */
}

.contact-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    /* Changed to row layout */
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    /* Alignment left */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Softer shadow */
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 197, 39, 0.2);
    /* Golden shadow on hover */
    border-color: rgba(255, 197, 39, 0.4);
}

.card-icon-wrapper {
    width: 60px;
    /* Adjusted size */
    height: 60px;
    flex-shrink: 0;
    border-radius: 16px;
    /* Squircle */
    background: linear-gradient(135deg, rgba(255, 197, 39, 0.15) 0%, rgba(255, 214, 92, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #FFC527;
    transition: all 0.3s ease;
    margin: 0;
    /* Remove auto centering */
}

.contact-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #FFC527 0%, #FFD65C 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 197, 39, 0.3);
}

.contact-card-content {
    flex: 1;
    /* Take remaining space */
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.card-info {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

/* CTA Wrapper Fix for Clipped Shadows */
.contact-cta-wrapper {
    text-align: center;
    margin-top: 3rem;
    padding-bottom: 2rem;
    /* Add space for shadow */
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    padding: 7rem 0 4rem;
    /* Reduced from 10rem 0 6rem */
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #92400E;
    margin-bottom: 2rem;
    animation: fadeIn 0.8s ease;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
    animation: slideUp 0.8s ease;
}

.gradient-text {
    background: var(--gradient-multi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-gray);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    animation: slideUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    animation: slideUp 0.8s ease 0.4s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 700px;
    animation: slideUp 0.8s ease 0.6s both;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2rem;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-gray);
    margin-top: 0.25rem;
}

/* Services Section - index.html */
.services {
    padding: 6rem 0;
    background: white;
}

.section-intro {
    margin-bottom: 4rem;
}

.section-intro.centered {
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-item {
    background: var(--color-light-gray);
    border-radius: 24px;
    padding: 2.5rem;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.service-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
}

.service-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.service-description {
    color: var(--color-gray);
    line-height: 1.7;
}

.service-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-specs li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-gray);
    font-size: 0.9375rem;
}

.service-specs li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 6px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Work/Portfolio Section - index.html */
.work {
    padding: 6rem 0;
    background: var(--color-light-gray);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.work-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.work-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.work-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #FFE8CC 0%, #FFD4A3 50%, #FFCC99 100%);
    position: relative;
}

.work-info {
    padding: 2rem;
}

.work-info h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.work-info p {
    color: var(--color-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.work-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: linear-gradient(135deg, #FFEAA7 0%, #FFD978 100%);
    color: #92400E;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Contact Wrapper - index.html */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* FIX: Contact section in index.html - centralize */
.contact .section-title,
.contact .section-label,
.contact .contact-text {
    text-align: left;
}

.contact .contact-info {
    max-width: 100%;
}

.contact-text {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Centralizar seção contact do index.html */
.contact .contact-wrapper {
    display: block;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contact .section-label,
.contact .section-title,
.contact .contact-text {
    text-align: center;
}

.contact .btn {
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.detail-label {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    color: var(--color-gray);
    line-height: 1.6;
    margin: 0;
}

.detail-value a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

.detail-value a:hover {
    color: var(--color-accent);
}

.detail-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.detail-item h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-dark);
}

.detail-item p {
    color: var(--color-gray);
    font-size: 0.9375rem;
}

.contact-form-simple {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.contact-form-simple input,
.contact-form-simple textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--color-light-gray);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form-simple input:focus,
.contact-form-simple textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Responsive Grids */
@media (max-width: 992px) {
    .service-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Hero Decorations */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

/* FIX: Hero Metrics Grid - index.html */
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 700px;
    margin-top: var(--space-xl);
}

.metric {
    text-align: left;
}

.metric-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.875rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* FIX: Button Outline with visible border */
.btn-ghost,
.btn-outline {
    background: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-light-gray);
}

.btn-ghost:hover,
.btn-outline:hover {
    border-color: var(--color-primary);
    background: rgba(99, 102, 241, 0.05);
}

.btn-outline-dark {
    background: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
}

.btn-outline-dark:hover {
    background: var(--color-dark);
    color: white;
}

/* FIX: Hero Label */
.hero-label {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #92400E;
    margin-bottom: 2rem;
}

/* FIX: Highlight text */
.highlight {
    background: var(--gradient-multi);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Blob animations */

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--color-primary);
    top: -200px;
    right: -100px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--color-orange);
    bottom: 100px;
    left: -150px;
    animation-delay: -5s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--color-orange);
    top: 50%;
    right: 10%;
    animation-delay: -10s;
}

/* ===================================
   SECTION COMPONENTS
   =================================== */
section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

/* FIX: About Section from index.html */
.about {
    background: var(--color-light-gray);
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    width: 100%;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--color-gray);
    line-height: 1.7;
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #FFEAA7 0%, #FFD978 100%);
    color: #92400E;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    padding: 2.5rem;
    border-radius: 24px;
    background: white;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.feature-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.feature-card p {
    color: var(--color-gray);
    line-height: 1.7;
}

/* FIX: Hero Section from index.html */
.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-gray);
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

/* FIX: Section Components */
.section-header {

    .section-header.centered {
        text-align: center;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 4rem;
    }

    .badge {
        display: inline-block;
        padding: 0.5rem 1rem;
        background: linear-gradient(135deg, #FFE8CC 0%, #FFD4A3 100%);
        color: #E65100;
        border-radius: 100px;
        font-weight: 700;
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-family: var(--font-display);
        font-size: clamp(2rem, 4vw, 3.5rem);
        font-weight: 800;
        line-height: 1.2;
        color: var(--color-dark);
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1.125rem;
        color: var(--color-gray);
        line-height: 1.7;
    }

    /* ===================================
   FEATURES SECTION
   =================================== */
    .features {
        background: var(--color-light-gray);
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    .feature-card {
        padding: 2.5rem;
        border-radius: 24px;
        transition: var(--transition);
        position: relative;
        overflow: hidden;
    }

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: inherit;
        opacity: 0.1;
        z-index: 0;
    }

    .feature-card>* {
        position: relative;
        z-index: 1;
    }

    .card-purple {
        background: linear-gradient(135deg, #F3E8FF 0%, #E9D5FF 100%);
        border: 2px solid #FFD978;
    }

    .card-orange {
        background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
        border: 2px solid #FED7AA;
    }

    .card-blue {
        background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
        border: 2px solid #BFDBFE;
    }

    .card-green {
        background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
        border: 2px solid #BBF7D0;
    }

    .feature-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: var(--shadow-xl);
    }

    .card-icon {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .feature-card h3 {
        font-family: var(--font-display);
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: var(--color-dark);
    }

    .feature-card p {
        color: var(--color-gray);
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

    .card-link {
        color: var(--color-primary);
        font-weight: 700;
        text-decoration: none;
        transition: var(--transition);
    }

    .card-link:hover {
        gap: 0.5rem;
    }

    /* ===================================
   SERVICES SECTION
   =================================== */
    .services-container {
        display: flex;
        flex-direction: column;
        gap: 4rem;
    }

    .service-card {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 4rem;
        align-items: center;
    }

    .service-card.reverse {
        grid-template-columns: 1.2fr 1fr;
    }

    .service-card.reverse .service-content {
        order: -1;
    }

    .service-visual {
        aspect-ratio: 1;
        border-radius: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .visual-1 {
        background: linear-gradient(135deg, #FFB300 0%, #FF9800 100%);
    }

    .visual-2 {
        background: linear-gradient(135deg, #FFC527 0%, #FFD65C 100%);
    }

    .visual-3 {
        background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    }

    .visual-icon {
        font-size: 8rem;
        opacity: 0.3;
    }

    .service-tag {
        display: inline-block;
        padding: 0.375rem 0.875rem;
        background: var(--color-light-gray);
        color: var(--color-primary);
        border-radius: 100px;
        font-weight: 700;
        font-size: 0.8125rem;
        margin-bottom: 1rem;
    }

    .service-content h3 {
        font-family: var(--font-display);
        font-size: 2rem;
        font-weight: 800;
        margin-bottom: 1rem;
        color: var(--color-dark);
    }

    .service-content p {
        color: var(--color-gray);
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }

    .service-list {
        list-style: none;
        margin-bottom: 2rem;
    }

    .service-list li {
        padding: 0.75rem 0;
        color: var(--color-dark);
        border-bottom: 1px solid var(--color-light-gray);
    }

    .service-list li::before {
        content: '✓';
        color: var(--color-green);
        font-weight: bold;
        margin-right: 0.75rem;
    }

    /* ===================================
   PORTFOLIO SECTION
   =================================== */
    .portfolio {
        background: var(--color-light-gray);
    }

    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .portfolio-item {
        background: white;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: var(--shadow-md);
        transition: var(--transition);
    }

    .portfolio-item:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
    }

    .portfolio-image {
        aspect-ratio: 16/10;
        position: relative;
    }

    .bg-1 {
        background: linear-gradient(135deg, #FFB300 0%, #FF9800 100%);
    }

    .bg-2 {
        background: linear-gradient(135deg, #FFC527 0%, #FFD65C 100%);
    }

    .bg-3 {
        background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    }

    .bg-4 {
        background: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
    }

    .portfolio-content {
        padding: 2rem;
    }

    .portfolio-category {
        display: inline-block;
        padding: 0.375rem 0.875rem;
        background: var(--color-light-gray);
        color: var(--color-primary);
        border-radius: 100px;
        font-weight: 700;
        font-size: 0.8125rem;
        margin-bottom: 1rem;
    }

    .portfolio-item h3 {
        font-family: var(--font-display);
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 0.5rem;
        color: var(--color-dark);
    }

    .portfolio-item p {
        color: var(--color-gray);
    }

    /* ===================================
   CTA SECTION
   =================================== */
    .cta-section {
        padding: 0 0 6rem;
    }

    .cta-box {
        background: var(--gradient-multi);
        border-radius: 32px;
        padding: 4rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
        box-shadow: var(--shadow-xl);
    }

    .cta-content h2 {
        font-family: var(--font-display);
        font-size: clamp(1.75rem, 3vw, 2.5rem);
        font-weight: 800;
        color: white;
        margin-bottom: 1rem;
    }

    .cta-content p {
        font-size: 1.125rem;
        color: rgba(255, 255, 255, 0.9);
    }

    .cta-actions {
        display: flex;
        gap: 1rem;
        flex-shrink: 0;
    }

    /* ===================================
   CONTACT SECTION
   =================================== */
    .contact-wrapper {
        display: grid;
        grid-template-columns: 1fr 1.2fr;
        gap: 4rem;
    }

}

/* FIX: Form Group - Estilizar inputs do formulário */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-light-gray);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'  fill='none' stroke='%236366F1' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 20px;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* FIX: CTA Box - Centralizar conteúdo */
.cta-box {
    text-align: center;
    flex-direction: column !important;
}

.cta-box h2,
.cta-box p {
    text-align: center;
    color: #FFFFFF !important;
}

.cta-actions {
    justify-content: center;
}

/* FIX: Footer Index.html - Classes diferentes */
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-top: 1rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: white;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9375rem;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(transition);
}

.footer-legal a:hover {
    color: white;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-nav {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--color-light-gray);
    border-radius: 16px;
}

.info-icon {
    font-size: 2rem;
}

.info-card h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--color-dark);
}

.info-card p {
    color: var(--color-gray);
    line-height: 1.6;
}

.contact-form-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-light-gray);
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--color-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin: 1.5rem 0;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.footer-column a:hover {
    color: white;
    padding-left: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: white;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {

    .service-card,
    .service-card.reverse {
        grid-template-columns: 1fr;
    }

    .service-card.reverse .service-content {
        order: 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 6rem 2rem;
        box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        align-items: flex-start;
    }

    .menu.active {
        right: 0;
    }

    .nav .cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        flex-direction: column;
        padding: 3rem 2rem;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .footer-links-group {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===================================
   INTERNAL PAGES STYLES
   Modern Vibrant Design
   =================================== */

/* Page Header */
.page-header {
    padding: 10rem 0 4rem;
    background: var(--color-light-gray);
    text-align: center;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Map Section */
.map-section-large {
    padding: 4rem 0;
}

.map-placeholder-interactive {
    height: 400px;
    max-height: 50vh;
    background: white;
    border-radius: 24px;
    border: 2px dashed var(--color-light-gray);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
    padding: 3rem;
}

.map-placeholder-interactive svg {
    width: 72px;
    height: 72px;
    color: var(--color-primary);
}

.map-placeholder-interactive h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark);
}

.map-placeholder-interactive p {
    color: var(--color-gray);
}

.map-placeholder-interactive small {
    font-size: 0.875rem;
    color: var(--color-gray);
}

/* Locations Grid */
.locations-list-section {
    padding: 4rem 0;
}

.locations-grid {
    display: grid;
    /* Strict 3 columns for desktop standard */
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
    /* Force same height */
}

.location-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    /* Height managed by JS if needed */
    width: 100%;
    /* Force full width */
    min-width: 0;
    /* Prevent blowout */
    max-width: 100%;
    /* Ensure fit */
    /* Force full height relative to grid row */
    box-sizing: border-box;
}

/* Push actions to bottom */
.location-actions {
    margin-top: auto;
    display: flex;
    gap: 1rem;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.location-card .location-number {
    display: inline-block;
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 14px;
    text-align: center;
    line-height: 52px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.location-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.location-address {
    color: var(--color-gray);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
}

.location-stats-mini {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.location-stats-mini span {
    font-size: 0.875rem;
    color: var(--color-gray);
}

.location-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.badge-mini {
    padding: 0.375rem 0.875rem;
    background: var(--color-light-gray);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-gray);
}

.badge-mini.available {
    background: #DCFCE7;
    color: #15803D;
}

.badge-mini.occupied {
    background: #FEE2E2;
    color: #991B1B;
}

.btn-small {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

.btn-small.disabled {
    background: var(--color-light-gray);
    color: var(--color-gray);
    pointer-events: none;
}

/* Contact Page */
.contact {
    padding: 4rem 0;
    background: var(--color-light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.contact-intro {
    color: var(--color-gray);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.contact-card h4 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
}

.contact-card p {
    color: var(--color-gray);
    line-height: 1.6;
    margin: 0.25rem 0;
}

.contact-card a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--color-accent);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
}

.contact-form h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.contact-form>p {
    color: var(--color-gray);
    margin-bottom: 2rem;
}

.btn-full {
    width: 100%;
}

.social-links {
    margin-top: 2rem !important;
}

.social-links h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-light-gray);
    border-radius: 8px;
    font-size: 0.875rem;
    text-decoration: none;
    color: var(--color-dark);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

/* Portfolio Section */
.portfolio-section {
    padding: 4rem 0;
}

.portfolio-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #FFE8CC 0%, #FFD4A3 50%, #FFCC99 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-placeholder::before {
    content: '📸';
    font-size: 4rem;
    opacity: 0.3;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: var(--color-light-gray);
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.map-placeholder-large {
    height: 450px;
    background: white;
    border-radius: 24px;
    border: 2px dashed var(--color-light-gray);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: var(--shadow-md);
}

.map-placeholder-large svg {
    width: 72px;
    height: 72px;
    color: var(--color-primary);
}

.map-placeholder-large p {
    font-weight: 600;
    color: var(--color-dark);
    font-size: 1.125rem;
}

.map-placeholder-large small {
    color: var(--color-gray);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Stats Inline */
.locations-stats {
    padding: 3rem 0;
    background: var(--color-light-gray);
}

.stats-grid-inline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
}

.stat-inline {
    text-align: center;
}

.stat-inline h3 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-inline p {
    font-size: 0.875rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Portfolio Full Page */
.portfolio-filters-section {
    padding: 2rem 0;
    background: var(--color-light-gray);
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.625rem 1.5rem;
    background: white;
    border: 2px solid transparent;
    border-radius: 100px;
    color: var(--color-dark);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: var(--shadow-md);
}

.portfolio-grid-full {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.portfolio-item-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.portfolio-item-full:nth-child(even) {
    direction: rtl;
}

.portfolio-item-full:nth-child(even) .portfolio-info {
    direction: ltr;
}

.portfolio-tag {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--color-light-gray);
    border-radius: 100px;
    color: var(--color-primary);
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.portfolio-tag.especial {
    background: linear-gradient(135deg, #FFE8CC 0%, #FFD4A3 100%);
    color: #E65100;
}

.portfolio-tag.campanha {
    background: linear-gradient(135deg, #FFEAA7 0%, #FFD978 100%);
    color: #92400E;
}

.portfolio-tag.sazonal {
    background: linear-gradient(135deg, #D7CCC8 0%, #BCAAA4 100%);
    color: #3E2723;
}

.portfolio-info h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.portfolio-info p {
    color: var(--color-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.portfolio-details {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.portfolio-details li {
    padding: 1rem 0;
    color: var(--color-gray);
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--color-light-gray);
}

.portfolio-details li strong {
    color: var(--color-dark);
    font-weight: 700;
}

/* Services Detailed */
.services-section {
    padding: 4rem 0;
}

.services-grid-detailed {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.service-card-large {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.service-card-large h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.service-card-large h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--color-dark);
}

.service-intro {
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-icon-large {
    width: 72px;
    height: 72px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-large svg {
    width: 36px;
    height: 36px;
    color: white;
}

.service-tag.popular {
    background: #DCFCE7;
    color: #15803D;
}

.service-tag.special {
    background: #FEF3C7;
    color: #92400E;
}

/* Technology Section */
.technology-section {
    padding: 4rem 0;
    background: var(--color-light-gray);
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tech-card h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.tech-card p {
    color: var(--color-gray);
    line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    color: var(--color-gray);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1.0625rem;
}

.testimonial-author strong {
    display: block;
    color: var(--color-dark);
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--color-gray);
    font-size: 0.875rem;
}

/* About Page Specific */
.about-section {
    padding: 4rem 0;
}

.mission-section {
    padding: 4rem 0;
    background: var(--color-light-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.value-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.value-card p {
    color: var(--color-gray);
    line-height: 1.7;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 2.5rem;
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.feature-item .feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.feature-content p {
    color: var(--color-gray);
    line-height: 1.7;
}

.stats-section {
    padding: 4rem 0;
    background: var(--color-light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.stat-box .stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
}

.stat-box .stat-label {
    color: var(--color-gray);
    font-size: 0.9375rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

.centered {
    text-align: center;
}

.section-header.centered {
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--color-light-gray);
    border-radius: 12px;
    font-family: var(--font-primary);
    color: var(--color-dark);
    cursor: pointer;
    transition: var(--transition);
}

.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.features-section {
    padding: 4rem 0;
}

.locations-features {
    padding: 4rem 0;
    background: var(--color-light-gray);
}

.features-grid-simple {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.feature-simple {
    text-align: center;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.25rem;
    background: var(--gradient-primary);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
}

.feature-simple h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--color-dark);
}

.feature-simple p {
    color: var(--color-gray);
    line-height: 1.6;
}

.portfolio-image {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 20px;
    overflow: hidden;
}

/* ===================================
   RESPONSIVE DESIGN (Mobile Corrections)
   =================================== */
@media (max-width: 768px) {

    /* Navigation Fix using T1 classes */
    #navMenu,
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
        display: flex;
        /* Force flex for column layout */
        z-index: 999;
    }

    #navMenu.active,
    .nav-menu.active {
        right: 0;
    }

    #hamburger,
    .hamburger {
        display: flex;
        z-index: 1001;
    }

    /* Grid Stacking */
    .hero-content {
        grid-template-columns: 1fr;
    }

    .services-list,
    .work-grid,
    .contact-wrapper,
    .contact-grid,
    .footer-content,
    .stats-grid,
    .about-grid,
    .features-grid,
    .values-grid,
    .services-grid-detailed {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    /* Metrics alignment */
    .hero-metrics {
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .cta-box {
        padding: 2rem;
    }

    .portfolio-item-full {
        grid-template-columns: 1fr;
    }

    .portfolio-item-full:nth-child(even) {
        direction: ltr;
        /* Reset direction for stacking */
    }
}

/* ===================================
   LOGO STYLING
   =================================== */
.logo-img {
    height: 48px !important;
    max-height: 48px !important;
    width: auto !important;
    max-width: 250px;
    display: block;
    object-fit: contain;
}

.footer-logo {
    height: 40px !important;
    max-height: 40px !important;
    width: auto !important;
    max-width: 200px;
    margin-bottom: 1.5rem;
    display: block;
    object-fit: contain;
}

@media (max-width: 767px) {
    .logo-img {
        height: 32px;
    }

    .footer-logo {
        height: 35px;
        margin: 0 auto 1.5rem auto;
    }
}

/* ===================================
   FOOTER SOCIAL ICONS
   =================================== */

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(255, 179, 0, 0.1) 0%, rgba(255, 152, 0, 0.15) 100%);
    border: 2px solid rgba(255, 179, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFB300;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: linear-gradient(135deg, #FFB300 0%, #FF9800 100%);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 179, 0, 0.4);
    border-color: #FFB300;
}

.social-icon:active {
    transform: translateY(-1px);
}

/* Specific icon colors on hover */
.social-icon:hover .fa-facebook-f {
    color: #FFFFFF;
}

.social-icon:hover .fa-instagram {
    color: #FFFFFF;
}

.social-icon:hover .fa-whatsapp {
    color: #FFFFFF;
}

/* ===================================
   LAYOUT FIXES - OUTMIDIA OUTDOOR
   Fixes for content overlap and z-index issues
   =================================== */

/* Ensure proper z-index hierarchy */
.navbar {
    z-index: 1000 !important;
    position: fixed !important;
    top: 0 !important;
}

/* Remove any transforms that might cause overlapping */
.hero {
    transform: none !important;
}

/* Ensure sections don't overlap */
section {
    position: relative !important;
    z-index: 1 !important;
}

/* Fix any absolute positioned elements */
.badge-premium,
.section-badge {
    position: relative !important;
    display: inline-block !important;
}

/* Prevent navbar from hiding behind content */
body {
    padding-top: 0 !important;
}

/* Fix sticky header overlap */
.page-header {
    margin-top: 80px !important;
    /* Account for fixed navbar */
}

.hero {
    margin-top: 0 !important;
    padding-top: 8rem !important;
}

/* Remove any problematic overlays */
*[style*="position: fixed"][style*="top: 0"] {
    display: none !important;
}

/* Ensure content has proper stacking context */
.container {
    position: relative !important;
    z-index: 2 !important;
}

/* Fix bi-semanas page specific issues */
.glass-card {
    position: relative !important;
    z-index: 1 !important;
}

/* Prevent badge overlap */
.badge-pulse {
    position: relative !important;
    z-index: 1 !important;
}

/* Fix any transform issues on scroll */
.fade-in-up.visible {
    transform: translateY(0) !important;
}

/* Remove hover transforms that might cause issues */
.card-hover {
    transform: none !important;
}

.card-hover:hover {
    transform: translateY(-4px) !important;
    /* Reduced from -8px */
}

/* Fix navbar auto-hide overlap */
.navbar {
    transform: translateY(0) !important;
    transition: background 0.3s ease !important;
}

/* Ensure all text is on top of backgrounds */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a {
    position: relative !important;
    z-index: 2 !important;
}

/* Fix button positioning */
.btn,
.btn-premium,
.btn-outline-premium {
    position: relative !important;
    z-index: 2 !important;
}

/* Remove any progress bars that might be covering content */
div[style*="position: fixed"][style*="height: 3px"] {
    display: none !important;
    z-index: 999999 !important;
}

/* ===================================
   CTA TEXT VISIBILITY FIX
   Force white text in CTA sections
   =================================== */
.cta-section .cta-box p,
.cta-section .cta-box h2,
.cta-section p,
.cta-section h2,
section.cta-section p,
section.cta-section h2 {
    color: #FFFFFF !important;
}

.cta-section .cta-box p {
    opacity: 0.95 !important;
}

/* ===================================
   CONTRAST FIXES - OUTMIDIA OUTDOOR
   Accessibility & Readability Improvements
   =================================== */

/* Override problematic color values from original theme */

/* Fix gray text that's too light */
:root {
    /* Updated color values for better contrast */
    --color-gray: #4A4A4A !important;
    /* Changed from #828282 - much darker */
    --gray-500: #4A4A4A !important;
    --color-text-secondary: #555555 !important;
}

/* Hero Section - Subtitle and descriptions */
.hero-subtitle,
.page-subtitle,
.section-subtitle,
.hero-description,
.section-description {
    color: #444444 !important;
    /* Dark gray instead of light gray */
    opacity: 1 !important;
}

/* Service descriptions and paragraphs */
.service-description,
.about-text,
.service-details p,
p.service-description {
    color: #444444 !important;
}

/* Metric labels */
.metric-label,
.stat-label {
    color: #666666 !important;
    /* Darker than original */
    font-weight: 500;
}

/* Section labels and badges - ensure visibility */
.section-label,
.hero-label {
    color: #92400E !important;
    /* Darker brown for yellow backgrounds */
}

/* Fix buttons with poor contrast */
.btn-outline,
.btn-outline-premium {
    color: #1A1A1A !important;
    border-color: #FFC527 !important;
    /* Brand Yellow */
}

.btn-outline:hover,
.btn-outline-premium:hover {
    color: #000000 !important;
    background: #FFC527 !important;
    /* Brand Yellow */
}

/* Fix gradient text on light backgrounds */
.gradient-text,
.highlight,
.gradient-text-gold {
    /* Brand Yellow -> Subtle Orange */
    background: linear-gradient(135deg, #FFC527 0%, #FF9100 100%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    text-shadow: none;

    /* Fallback for browsers that don't support text fill */
    @supports not (-webkit-background-clip: text) {
        background: none !important;
        color: #E65100 !important;
        -webkit-text-fill-color: #E65100 !important;
    }
}

/* Service specs lists */
.service-specs li,
ul.service-specs li {
    color: #444444 !important;
}

/* Location cards and details */
.location-address,
.location-stats-mini span {
    color: rgba(255, 255, 255, 0.95) !important;
    /* Better contrast on dark backgrounds */
}

/* Contact page text */
.contact-intro,
.contact-card p {
    color: #444444 !important;
}

/* Footer text */
.footer-brand p,
.footer-links a {
    color: rgba(255, 255, 255, 0.9) !important;
    /* Better visibility */
}

/* Portfolio and testimonial text */
.portfolio-info p,
.testimonial-text {
    color: #444444 !important;
}

/* Form labels and placeholders */
.form-label,
label {
    color: #333333 !important;
}

input::placeholder,
textarea::placeholder {
    color: #999999 !important;
}

/* Table text */
.table-premium td {
    color: #333333 !important;
}

/* Bi-Semanas table */
.bi-semanas-table td {
    color: #333333 !important;
}

/* Fix tech stack icons - white text on yellow background */
.stack-icon,
.tech-icon {
    background: #FFC527 !important;
    /* Brand Yellow */
    color: #000000 !important;
    /* Black text for contrast on yellow */
    font-weight: 700;
}

/* Service numbers - make more visible */
.service-number {
    /* Brand Yellow Gradient */
    background: linear-gradient(135deg, #FFC527 0%, #FF9100 100%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    font-weight: 900;
}

/* Section badges on dark backgrounds */
.section-badge {
    background: linear-gradient(135deg, #FFC527 0%, #FF9100 100%) !important;
    /* Brand Yellow */
    color: #000000 !important;
    font-weight: 700;
}

/* Fix CTA buttons */
.btn-primary,
.btn-premium {
    background: linear-gradient(135deg, #FFC527 0%, #FF9100 100%) !important;
    /* Brand Yellow */
    color: #000000 !important;
    /* Black text on yellow */
    font-weight: 700;
}

/* Pricing cards - ensure readability */
.pricing-card p,
.price-features li {
    color: #444444 !important;
}

/* Stats and metrics - CRITICAL FIX */
.metric-value,
.stat-value,
.stat-number {
    /* Brand Yellow Gradient */
    background: linear-gradient(135deg, #FFC527 0%, #FF9100 100%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    font-weight: 900;
}

/* Portfolio tags and labels */
.portfolio-tag {
    background: linear-gradient(135deg, #FF8F00 0%, #F57C00 100%) !important;
    color: #FFFFFF !important;
}

/* Lead text and introductions */
.lead,
p.lead {
    color: #444444 !important;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Ensure all paragraph text has good contrast */
p {
    color: #444444;
}

/* Links */
a {
    color: #3E2723;
    /* Brand Brown */
}

a:hover {
    color: #FFC527;
    /* Brand Yellow */
}

/* Nav links */
.nav-link {
    color: #1A1A1A !important;
}

.nav-link:hover,
.nav-link.active {
    color: #FFC527 !important;
    /* Brand Yellow */
}

/* Hero label/badge */
.badge-premium {
    background: linear-gradient(135deg, #FFC527 0%, #FF9100 100%) !important;
    /* Brand Yellow */
    color: #000000 !important;
    /* Black text */
    font-weight: 700;
}

/* Ensure white text is actually white */
.btn-primary,
.cta-btn {
    color: #000000 !important;
    /* Black text on yellow button */
}

/* Fix any remaining low-contrast elements */
.text-muted,
.text-secondary {
    color: #666666 !important;
}

/* Accessibility - High Contrast Mode Support */
@media (prefers-contrast: high) {
    body {
        --color-gray: #333333 !important;
    }

    p,
    .service-description,
    .about-text {
        color: #000000 !important;
    }

    .gradient-text-gold,
    .service-number,
    .metric-value {
        background: none !important;
        color: #E65100 !important;
        -webkit-text-fill-color: #E65100 !important;
    }
}

/* Dark sections - ensure light text is visible */
[style*="background: #000"],
[style*="background: black"],
.dark-section {
    color: #FFFFFF !important;
}

.dark-section p,
.dark-section .service-description {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ===================================
   BI-SEMANAS PAGE SPECIFIC FIXES
   =================================== */

/* Fix invisible text in bi-semanas feature cards */
.feature-card p,
.feature-item p,
div[style*="padding: 2rem"] p {
    color: #333333 !important;
}

/* Fix bi-semanas date text */
.glass-card p,
.current-period-card p {
    color: #333333 !important;
}

/* Fix bi- calendar intro text */
section[style*="padding: 4rem 0"] p {
    color: #444444 !important;
}

/* Override any white text on light backgrounds */
p[style*="color: rgba(255, 255, 255"],
p[style*="color: white"],
span[style*="color: rgba(255, 255, 255"],
span[style*="color: white"] {
    color: #333333 !important;
}

/* Ensure dark text in white/light background sections */
section:not([style*="background: rgba(0"]):not([style*="background: rgb(0"]) p {
    color: #444444 !important;
}

/* ===================================
   LOCAIS PAGE SPECIFIC FIXES
   =================================== */

/* Fix invisible text in Tabuleta 26 featured card (white text on white bg) */
section[style*="background: rgba(255, 179, 0, 0.03)"] p,
section[style*="background: rgba(255, 179, 0, 0.03)"] strong,
section[style*="background: rgba(255, 179, 0, 0.03)"] div[style*="color: rgba(255, 255, 255"] {
    color: #333333 !important;
}

/* Keep the gold title color */
section[style*="background: rgba(255, 179, 0, 0.03)"] h3[style*="color: #ffb300"] {
    color: #3E2723 !important;
    /* Brand Brown */
}

/* Fix "200k+" text */
section[style*="background: rgba(255, 179, 0, 0.03)"] div[style*="color: #ffb300"] {
    color: #D84315 !important;
}

/* Fix Location Cards (Tabuleta 70, 71, etc) */
.location-card .location-content h3 {
    color: #1A1A1A !important;
}

.location-card .location-address {
    color: #555555 !important;
}

.location-card .location-stats-mini span {
    color: #444444 !important;
}

.location-card .badge-mini {
    color: #333333 !important;
    background: #f5f5f5 !important;
    border: 1px solid #e0e0e0;
}

.location-card .badge-mini.available {
    background: rgba(76, 175, 80, 0.1) !important;
    color: #2E7D32 !important;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

/* Fix feature tags at the bottom of Tabuleta 26 card */
/* Fix feature tags at the bottom of Tabuleta 26 card */
.badge-feature {
    background: rgba(62, 39, 35, 0.05) !important;
    border: 1px solid rgba(62, 39, 35, 0.1);
    color: #3E2723 !important;
    /* Brand Brown */
    font-weight: 600;
    box-shadow: none;
}

.badge-feature i {
    margin-right: 0.5rem;
    color: #FFC527 !important;
    /* Brand Yellow */
}

/* ===================================
   PREMIUM CTA SECTIONS
   Enhanced Call-to-Action Design
   =================================== */

.cta-section {
    background: linear-gradient(135deg, #3E2723 0%, #5D4037 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 197, 39, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.35;
    }
}

.cta-box {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 197, 39, 0.15);
    border: 3px solid rgba(255, 197, 39, 0.4);
    border-radius: 50%;
    margin-bottom: 2rem;
    position: relative;
}

.cta-icon::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px solid rgba(255, 197, 39, 0.2);
    border-radius: 50%;
}

.cta-icon i {
    font-size: 2.2rem;
    color: #FFC527;
}

.cta-box h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-box p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 3rem;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Force white text in CTA sections - maximum specificity */
.cta-section .cta-box p,
.cta-section p,
section.cta-section p {
    color: #FFFFFF !important;
    opacity: 0.95 !important;
}

.cta-box .btn {
    padding: 1.4rem 3.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.cta-box .btn i {
    font-size: 1.2rem;
}

.cta-box .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(255, 197, 39, 0.5);
}

/* Alternative CTA style for bi-semanas (contact-wrapper) */
.contact.section-padding {
    background: linear-gradient(135deg, rgba(255, 179, 0, 0.08) 0%, rgba(255, 152, 0, 0.12) 100%);
    border-top: 3px solid rgba(255, 197, 39, 0.3);
    border-bottom: 3px solid rgba(255, 197, 39, 0.3);
}

.contact-wrapper.text-center {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-wrapper .section-label {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 197, 39, 0.15);
    border: 2px solid #FFC527;
    border-radius: 50px;
    color: #E65100;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.contact-wrapper .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #3E2723;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.contact-wrapper .text-gray-light {
    font-size: 1.15rem;
    color: rgba(62, 39, 35, 0.75);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.flex-center-gap {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.flex-center-gap .btn {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

@media (max-width: 768px) {

    .cta-box h2,
    .contact-wrapper .section-title {
        font-size: 2rem;
    }

    .cta-box p,
    .contact-wrapper .text-gray-light {
        font-size: 1rem;
    }

    .flex-center-gap {
        flex-direction: column;
        align-items: stretch;
    }

    .flex-center-gap .btn {
        width: 100%;
    }
}


/* ===================================
   FEATURED CARD REDESIGN (Tabuleta 26)
   Premium Split Layout
   =================================== */

.featured-premium-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    /* Image wider than content for impact */
    gap: 0;
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(62, 39, 35, 0.1);
    border: 1px solid rgba(62, 39, 35, 0.08);
    transition: transform 0.3s ease;
}

.featured-premium-grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(62, 39, 35, 0.15);
}

.featured-image-container {
    position: relative;
    height: 100%;
    min-height: 450px;
    overflow: hidden;
}

.featured-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.featured-premium-grid:hover .featured-image-container img {
    transform: scale(1.05);
}

.featured-content-wrapper {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.featured-details-grid {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.featured-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.featured-detail-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8D6E63;
    font-weight: 600;
}

.featured-detail-value {
    font-size: 1.1rem;
    color: #3E2723;
    font-weight: 500;
}

.featured-badges-grid {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
}

/* Badge Tweaks for this layout */
.featured-premium-grid .badge-feature {
    font-size: 0.85rem;
    padding: 6px 14px;
}

/* Responsiveness */
@media (max-width: 992px) {
    .featured-premium-grid {
        grid-template-columns: 1fr;
    }

    .featured-image-container {
        height: 350px;
        min-height: auto;
    }

    .featured-content-wrapper {
        padding: 2rem;
    }
}

/* ===================================
   CRITICAL FIXES FOR INVISIBLE TEXT
   =================================== */

/* Ensure Footer text is ALWAYS white */
.footer p,
.footer-bottom p,
.footer-legal a,
footer p,
footer a {
    color: rgba(255, 255, 255, 0.9) !important;
}

.footer-bottom p {
    opacity: 0.7;
}

/* Ensure text on dark brown backgrounds is white */
.bg-brown p,
.bg-dark p,
[class*="bg-blob-brown"] p {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* ===================================
   12. DEPTH & LAYERING ENHANCEMENTS
   Fixing "White-on-White" flatness
   =================================== */

/* 1. Alternating Section Backgrounds 
   Create separation between sections to make white cards pop */

section:nth-child(even),
.section-alt-bg {
    background-color: #F8F9FB;
    /* Ultra-light cool gray */
    position: relative;
}

/* Ensure Hero has distinct background if not image */
.hero {
    background: linear-gradient(135deg, #FFFCF5 0%, #FFFFFF 100%);
}

/* 2. Ambient Background Orbs
   Adds subtle color behind glass cards to show off the blur effect */

.section-with-depth {
    position: relative;
    overflow: hidden;
}

.section-with-depth::before,
.section-with-depth::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 197, 39, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.section-with-depth::before {
    top: -200px;
    right: -200px;
}

.section-with-depth::after {
    bottom: -200px;
    left: -200px;
}

/* 3. Card Refinements for Depth */
.service-item,
.pricing-card,
.feature-item,
.contact-card,
.glass-card {
    /* Strengthen border slightly for definition against white */
    border: 1px solid rgba(0, 0, 0, 0.08) !important;

    /* Deeper shadow structure */
    box-shadow:
        0 4px 20px -5px rgba(0, 0, 0, 0.06),
        /* Soft wide shadow */
        0 1px 3px rgba(0, 0, 0, 0.04),
        /* Sharp definition shadow */
        0 10px 40px -10px rgba(0, 0, 0, 0.05) !important;
    /* Deep ambient shadow */
}

/* Darker hover for better lift perception */
.service-item:hover,
.pricing-card:hover,
.contact-card:hover {
    box-shadow:
        0 20px 50px -10px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(255, 197, 39, 0.4) !important;
}

/* 4. Pattern overlay for subtle texture */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
    opacity: 0.8;
}

/* 5. Specific fix for Intro/Hero sections */
.search-box-container,
.hero-cta-box {
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===================================
   FIX BUTTON CLICK EXPANSION BUG
   Force reset on click
   =================================== */

.btn,
.cta-btn,
.btn-primary {
    max-width: 300px !important;
    width: auto !important;
    display: inline-block !important;
    white-space: nowrap !important;
}

/* Remove ANY transforms that might accumulate */
.btn:active,
.cta-btn:active,
.btn-primary:active,
.btn:focus,
.cta-btn:focus,
.btn-primary:focus {
    transform: none !important;
    animation: none !important;
    width: auto !important;
    max-width: 300px !important;
}

/* Prevent hover transform from sticking */
.btn,
.cta-btn,
.btn-primary {
    will-change: auto !important;
}

/* ===================================
   PORTFOLIO IMAGE FIX - ENHANCED
   Remove espaço amarelo abaixo das imagens
   =================================== */

/* Fix para TODAS as imagens */
img {
    display: block !important;
    vertical-align: top !important;
}

/* Fix específico para portfolio */
.portfolio-item-full img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px !important;
    display: block !important;
}

.portfolio-item img {
    display: block !important;
}

/* Fix para seção de campanhas */
.success-campaign img,
.campaign-image img,
div[class*="campaign"] img {
    display: block !important;
    width: 100%;
    height: auto;
}

/* Garantir que containers de imagens não tenham espaço extra */
.portfolio-item-full,
.campaign-image,
.success-campaign {
    line-height: 0;
}

.portfolio-item-full>*:not(img),
.campaign-image>*:not(img),
.success-campaign>*:not(img) {
    line-height: normal;
}

/* ===================================
   CONTACT PAGE DECORATION FIX
   Prevent clipping of decorative blobs
   =================================== */

.hero-internal,
.hero-abstract,
.contact {
    overflow: visible !important;
}

.contact-form {
    position: relative;
    z-index: 2;
}

.contact::before,
.contact::after {
    z-index: 0;
}

/* ===================================
   NAVBAR CTA ALIGNMENT FINAL FIX
   Override any previous !important rules
   =================================== */
html body .navbar .cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: translateY(3px) !important;
    /* Slight adjustments */
    margin-top: 0 !important;
    line-height: normal !important;
    min-height: 42px;
}