:root {
    --primary-blue: #004d80;
    --dark-blue: #003366;
    --cyan: #00AEEF;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --green-accent: #008000;
    --footer-bg: #0b1e33;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
}

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

.btn-cyan {
    background-color: var(--cyan);
    color: var(--white);
}

.btn-cyan:hover {
    background-color: #009bd5;
}

.btn-outline {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: transparent;
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
header {
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    color: var(--primary-blue);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    justify-content: flex-end;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav ul li a {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
}

nav ul li a:hover {
    color: var(--cyan);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--primary-blue);
    font-size: 1rem;
}

.social-icons a:hover {
    color: var(--cyan);
}

/* Hero Slider Section */
.hero-slider {
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: 10%;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h1 .highlight {
    color: var(--cyan);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

.slider-arrow:hover {
    background: var(--cyan);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: var(--cyan);
    width: 30px;
    border-radius: 10px;
}

/* About Us */
.about-us {
    display: flex;
    background-color: var(--primary-blue);
    color: var(--white);
    overflow: hidden;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    flex: 1;
    padding: 80px 60px;
    position: relative;
}

.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    display: block;
    margin-bottom: 10px;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.green-shape {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 200px;
    background-color: var(--green-accent);
    border-top-left-radius: 100px;
    border-bottom-left-radius: 100px;
}

/* What We Do */
.what-we-do {
    padding: 80px 0;
    background-color: var(--white);
}

.section-tag-blue {
    color: var(--cyan);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.what-we-do h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.what-we-do .section-header p {
    max-width: 800px;
    margin: 0 auto 60px;
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.icon-box {
    min-width: 60px;
    height: 60px;
    /* border: 2px solid var(--cyan); */
    /* border-radius: 50%; */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 2.5rem;
}

.feature-text h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Services */
.services {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--cyan) 100%);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.service-content {
    padding: 30px 25px;
    flex-grow: 1;
}

.service-content h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    line-height: 1.4;
}

.service-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.service-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    margin-top: auto;
}

/* Clients */
.clients {
    padding: 60px 0;
    background-color: var(--primary-blue);
    color: var(--white);
}

.clients h2 {
    margin-bottom: 40px;
}

.clients-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.client-logo {
    opacity: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.client-logo:hover {
    opacity: 1;
}

.client-logo img {
    max-height: 60px;
    max-width: 150px;
    width: auto;
    height: auto;
    /* filter: brightness(0) invert(1); Uncomment if logos need to be forced to white */
}

/* Mission Vision Values */
.mvv {
    padding: 80px 0;
    background-color: var(--white);
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.mvv-item {
    text-align: left;
}

.mvv-icon {
    color: var(--cyan);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.mvv-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.mvv-item p, .mvv-item ul li {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.mvv-item ul {
    list-style: disc;
    padding-left: 20px;
}

/* Contact Section */
.contact-section {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 80px 0;
}

.section-title-white {
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form-wrapper h3, .contact-info-wrapper h3 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 400;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group.half {
    flex: 1;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    background-color: transparent;
    color: var(--white);
    border-radius: 4px;
    font-family: inherit;
}

.form-control::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-control:focus {
    outline: none;
    border-color: var(--cyan);
}

select.form-control option {
    background-color: var(--primary-blue);
    color: var(--white);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.contact-list li i {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

/* Footer */
footer {
    background-color: var(--white);
    color: var(--text-dark);
    padding: 60px 0 20px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
}

.footer-logo .logo-white {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.footer-logo .logo-white img {
    max-height: 60px;
    width: auto;
}

.footer-links h4 {
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-light);
}

.footer-links ul li a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.8rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--primary-blue);
    background-color: #eee;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.footer-social a:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Responsive */
@media (max-width: 1440px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }

    .hero-content {
        max-width: 500px;
        margin-left: 5%;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-us {
        flex-direction: column;
    }
    
    .about-image {
        height: 300px;
    }
    
    .green-shape {
        display: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .slide {
        background-position: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
    }

    .slider-arrow.prev {
        left: 15px;
    }

    .slider-arrow.next {
        right: 15px;
    }

    .slider-dots {
        bottom: 20px;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.3s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        padding: 20px;
    }

    nav ul li a {
        color: var(--primary-blue);
    }

    nav ul li a:hover {
        color: var(--cyan);
    }

    .social-icons a {
        color: var(--primary-blue);
    }

    .nav-wrapper.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 30px;
    }

    nav ul li a {
        font-size: 1.1rem;
    }

    .header-actions {
        flex-direction: column;
        gap: 30px;
    }

    .hero-content {
        margin-left: 20px;
        margin-right: 20px;
        text-align: center;
        margin: 0 auto;
        padding: 0 20px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .about-text {
        text-align: center;
        padding: 40px 20px;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mvv-item {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mvv-item ul {
        text-align: left;
    }

    .contact-info-wrapper {
        text-align: center;
    }

    .contact-list li {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo .logo-white {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

/* ===== Animações de Entrada ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Animations */
.hero h1 {
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* About Section Animations */
.about-image {
    animation: fadeInLeft 0.8s ease-out;
}

.about-text {
    animation: fadeInRight 0.8s ease-out;
}

/* Section Headers */
.section-header {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== Elementos com animação por Scroll ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-left {
    transform: translateX(-30px);
}

.animate-on-scroll.animate-right {
    transform: translateX(30px);
}

.animate-on-scroll.animate-scale {
    transform: scale(0.9);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Delays escalonados para grupos */
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* WhatsApp Button Pulse */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    }
    100% {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
}

.whatsapp-btn {
    animation: scaleIn 0.5s ease-out 1s both, pulse 2s ease-in-out infinite 1.5s;
}

/* Reduz animações para usuários que preferem movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}