:root {
    /* Color Palette */
    --primary-color: #6DA7AB;
    --primary-dark: #4f8e93;
    --accent-color: #234247;
    --bg-darker: #173237;
    --dark-section-bg: #203d42;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: #333;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: var(--font-heading);
}

.font-inter {
    font-family: var(--font-body);
}

.fw-black {
    font-weight: 900;
}

.leading-relaxed {
    line-height: 1.7;
}

.tracking-wider {
    letter-spacing: 0.1em;
}

.py-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

/* Custom Utilities */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-primary.bg-opacity-10 { background-color: rgba(109, 167, 171, 0.14) !important; }
.bg-darker { background-color: var(--bg-darker) !important; }
.text-accent { color: var(--accent-color) !important; }

/* Navbar */
.transition-navbar {
    transition: all 0.3s ease;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(35, 66, 71, 0.08);
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(35, 66, 71, 0.08);
}

.nav-link {
    color: var(--accent-color) !important;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
}

.navbar-scrolled .nav-link {
    color: var(--accent-color) !important;
}

.nav-link.active,
.navbar-scrolled .nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link-highlight {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border-color: rgba(109, 167, 171, 0.35);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(109, 167, 171, 0.2);
}

.brand-logo {
    display: block;
    width: auto;
    object-fit: contain;
}

.brand-logo-navbar {
    height: 78px;
}

.brand-logo-footer {
    height: 64px;
}

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

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(5,16,26,0.95) 0%, rgba(5,16,26,0.6) 50%, rgba(5,16,26,0.3) 100%);
    z-index: 2;
}

.text-gradient {
    background: linear-gradient(45deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

/* Decorators */
.blob-shape {
    position: absolute;
    filter: blur(80px);
    opacity: 0.1;
    z-index: 0;
}
.blob-1 {
    width: 400px;
    height: 400px;
    background-color: var(--primary-color);
    top: -100px;
    left: -100px;
    border-radius: 50%;
}

.line-indicator {
    display: inline-block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.icon-box,
.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-box i,
.contact-icon i,
.icon-circle i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Images Zoom */
.image-zoom {
    transition: transform 0.7s ease;
}
.group-hover:hover .image-zoom {
    transform: scale(1.05);
}

/* Dark Section / Plantas EM */
.dark-section {
    background-color: var(--dark-section-bg);
}

.bg-pattern {
    background-image: radial-gradient(circle at 2px 2px, rgba(255,255,255,0.15) 1px, transparent 0);
    background-size: 32px 32px;
}

.detail-list .icon-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.bg-gradient-glow {
    background: linear-gradient(135deg, rgba(109,167,171,0.35) 0%, rgba(0,0,0,0) 100%);
    position: relative;
}
.bg-gradient-glow::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(109,167,171,0.22);
    border-radius: 1rem;
    z-index: -1;
}

/* Service Cards */
.icon-square {
    width: 70px;
    height: 70px;
    transition: all 0.3s ease;
}

.icon-square i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    line-height: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08) !important;
}

.service-card:hover .icon-square {
    background-color: var(--primary-color) !important;
    color: white !important;
}

.promo-card {
    background-color: var(--accent-color);
}
.promo-bg {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    opacity: 0.9;
    transition: all 0.5s ease;
}
.promo-card:hover .promo-bg {
    transform: scale(1.1);
}

/* Testimonials */
.testimonial-card {
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.05);
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05) !important;
    border-color: rgba(109,167,171,0.25);
}

/* Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--dark-section-bg) 100%);
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPgo8cmVjdCB3aWR0aD0iOCIgaGVpZ2h0PSI4IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMDUiLz4KPC9zdmc+') repeat;
    opacity: 0.5;
}

/* Form Styles */
.contact-input {
    transition: all 0.3s;
    border-radius: 0.5rem;
}
.contact-input:focus {
    box-shadow: 0 0 0 4px rgba(109,167,171,0.16) !important;
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(109,167,171,0.35);
}

/* Footer Links */
.footer-light {
    background-color: #ffffff;
    border-top: 1px solid rgba(35, 66, 71, 0.08);
}

.footer-bottom {
    border-top: 1px solid rgba(35, 66, 71, 0.08);
}

.hover-primary {
    transition: opacity 0.3s, color 0.3s;
}

.hover-primary:hover {
    opacity: 1 !important;
    color: var(--primary-color) !important;
}

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

@media (max-width: 991.98px) {
    .brand-logo-navbar {
        height: 62px;
    }

    .navbar-collapse {
        background: #ffffff;
        border-radius: 1rem;
        margin-top: 1rem;
        padding: 1rem 1.25rem;
        box-shadow: 0 14px 30px rgba(35, 66, 71, 0.1);
    }
}
