/* =========================================
   CSS Variables & Reset
   ========================================= */
:root {
    /* Colors */
    --primary-color: #0d253f;
    /* Dark Blue / Navy */
    --primary-light: #1e4575;
    --secondary-color: #ff6a00;
    /* Vibrant Orange */
    --secondary-dark: #b84c00;
    /* Earthy Dark Orange */
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;

    /* Gradients */
    --gradient-orange: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    --gradient-blue: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-bg: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 15px 30px rgba(255, 106, 0, 0.15);

    /* Typography */
    --font-family: 'Inter', sans-serif;
    --transition-fast: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* =========================================
   Typography & Utilities
   ========================================= */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    transition: var(--transition-fast);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 2rem;
}

.highlight {
    color: var(--secondary-color);
}

.bg-gradient {
    background: var(--gradient-bg);
}

.section-tag {
    display: inline-block;
    background-color: rgba(255, 106, 0, 0.1);
    color: var(--secondary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
}

.btn-primary {
    background: var(--gradient-orange);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.4);
    color: white;
}

.btn-primary-outline {
    background: transparent;
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-primary-outline:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.btn-secondary {
    background: var(--gradient-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(13, 37, 63, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 37, 63, 0.4);
    color: white;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(13, 37, 63, 0.85); /* Azul Marinho com transparência */
    backdrop-filter: blur(15px); /* Efeito de desfoque (Glassmorphism) */
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
    padding: 15px 0;
}

.navbar.scrolled {
    background-color: rgba(13, 37, 63, 0.98);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--bg-white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--secondary-color);
}

.brand-icon {
    height: 1.5em;
    /* Match icon sizing */
    width: auto;
    object-fit: contain;
    margin-right: 5px;
}

/* Removido overrides de cor para manter contraste no fundo escuro */
.navbar.scrolled .logo {
    color: var(--bg-white);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn) {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    letter-spacing: 0.5px;
}

.navbar.scrolled .nav-links a:not(.btn) {
    color: var(--bg-white);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition-fast);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

.navbar.scrolled .mobile-toggle {
    color: var(--bg-white);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(13, 37, 63, 0.9) 0%, rgba(13, 37, 63, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--bg-white);
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: white;
    font-size: 1.5rem;
    opacity: 0.7;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

/* =========================================
   Quem Somos Section
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text h2 span {
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-text p strong {
    color: var(--primary-color);
    font-size: 1.15rem;
}

.about-image {
    position: relative;
    border-radius: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.ceo-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 60px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.ceo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.ceo-photo-wrapper {
    width: 150px;
    height: 150px;
    background: var(--gradient-orange);
    padding: 5px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-fast);
}

.ceo-photo-wrapper:hover {
    transform: translateY(-5px) scale(1.05);
}

.ceo-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.ceo-info {
    text-align: center;
}

.ceo-name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 0 !important;
}

.ceo-role {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 !important;
}

.ceo-message {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-style: italic;
    font-weight: 500;
    line-height: 1.6;
    border-left: 4px solid var(--secondary-color);
    padding-left: 20px;
}

/* =========================================
   Serviços Section
   ========================================= */
.services h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
    border-top: 5px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card:nth-child(odd):hover {
    border-top-color: var(--secondary-color);
}

.service-card:nth-child(even):hover {
    border-top-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 25px;
}

.orange-gradient {
    background: var(--gradient-orange);
}

.blue-gradient {
    background: var(--gradient-blue);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-call {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.service-details {
    list-style: none;
}

.service-details li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.service-details li i {
    color: var(--secondary-color);
    margin-top: 3px;
}

.service-card:nth-child(even) .service-details li i {
    color: var(--primary-color);
}

/* =========================================
   Por Que Escolher Nós
   ========================================= */
.why-us {
    background-color: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.1) 0%, rgba(13, 37, 63, 0) 70%);
    z-index: 1;
}

.why-grid {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    text-align: center;
}

.why-content {
    max-width: 800px;
}

.why-content h2 {
    color: white;
    font-size: 2.5rem;
}

.why-content h2 span {
    color: var(--secondary-color);
}

.separator {
    width: 60px;
    height: 4px;
    background: var(--gradient-orange);
    margin: 20px auto 30px;
    border-radius: 2px;
}

.lead-text {
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.why-content p:not(.lead-text) {
    font-size: 1.1rem;
    opacity: 0.8;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    min-width: 250px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-item h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem !important;
    opacity: 0.7 !important;
    margin: 0;
}

/* =========================================
   CTA Section
   ========================================= */
.cta-section {
    background: var(--gradient-bg);
}

.cta-box {
    background: var(--bg-white);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border-top: 5px solid var(--secondary-color);
}

.cta-box h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    color: white;
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-brand p {
    opacity: 0.7;
    margin-bottom: 25px;
    max-width: 350px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info li i {
    color: var(--secondary-color);
    width: 20px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        margin-top: 40px;
        margin-bottom: 50px;
    }

    .ceo-section {
        flex-direction: column;
        text-align: center;
    }

    .ceo-message {
        border-left: none;
        border-top: 4px solid var(--secondary-color);
        padding-left: 0;
        padding-top: 20px;
        font-size: 1.1rem;
    }

    .experience-badge {
        left: 10px;
        bottom: -20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(13, 37, 63, 0.98); /* Azul Marinho para Mobile Menu */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition-fast);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a:not(.btn) {
        color: white;
        font-size: 1.2rem;
    }

    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .navbar.scrolled .mobile-toggle.active i::before {
        content: "\f00d";
        /* Change to X icon */
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}