/* ========================
   VARIÃVEIS E RESET
   ======================== */
:root {
    --primary-dark: #001F4D;
    --primary-light: #00ADBF;
    --primary-cyan: #00D4E4;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #FFFFFF;
    --bg-gray: #F5F5F5;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 173, 191, 0.2);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================
   UTILITIES
   ======================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 173, 191, 0.3);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Poppins', sans-serif;
}

/* ========================
   HEADER / NAVIGATION
   ======================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--bg-light);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-logo img {
    height: 85px;
    width: auto;
}

.brand-name {
    font-size: 1.3rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--primary-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-light);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-light);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn-quote {
    background-color: var(--primary-light);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 600;
    display: inline-block;
}

.nav-btn-quote:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 173, 191, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================
   HERO SECTION
   ======================== */
.hero {
    margin-top: 70px;
    position: relative;
    padding: 70px 40px;
    min-height: 500px;
    background: url('../logo/banner3.png') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.80) 50%, rgba(255, 255, 255, 0.2) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    animation: slideInLeft 0.8s ease;
    max-width: 600px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.15;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 35px;
    text-align: justify;
    line-height: 1.8;
}

/* Responsive Hero */
@media (max-width: 1024px) {
    .nav-container {
        gap: 40px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-link {
        font-size: 0.95rem;
    }

    .hero {
        padding: 100px 30px;
        min-height: 600px;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.80) 60%, rgba(255, 255, 255, 0.2) 100%);
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-content {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 20px;
        min-height: 500px;
        background-attachment: scroll;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.70) 100%);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-description {
        font-size: 1rem;
        color: var(--text-dark);
        font-weight: 500;
    }

    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 15px 15px;
        min-height: auto;
        margin-top: 70px;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.70) 100%);
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: -5px;
        color: transparent;
        line-height: 1.1;
    }
    
    .hero-title::before {
        content: "Construindo o futuro do seu negócio";
        color: var(--primary-dark);
        display: block;
        font-size: 2.5rem;
        line-height: 1.1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    }

    .hero-description {
        font-size: 0.85rem;
        color: var(--text-dark);
        font-weight: 500;
        margin-bottom: 20px;
        line-height: 1.6;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }

    .nav-container {
        gap: 20px;
        padding: 0 10px;
    }

    .nav-logo img {
        height: 65px;
    }
}


/* ========================
   SERVICES SECTION
   ======================== */
.services {
    padding: 100px 20px;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 3px solid var(--primary-light);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon img {
    height: 70px;
    width: auto;
    filter: brightness(0.9);
    transition: var(--transition);
}

.service-card:hover .service-icon img {
    filter: brightness(1);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ========================
   PORTFOLIO SECTION
   ======================== */
.portfolio {
    padding: 100px 20px;
    background-color: var(--bg-gray);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    aspect-ratio: 1;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    border: 1px solid rgba(0, 173, 191, 0.1);
}

.gallery-item:nth-child(1) { animation-delay: 0.05s; }
.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.15s; }
.gallery-item:nth-child(4) { animation-delay: 0.2s; }
.gallery-item:nth-child(5) { animation-delay: 0.25s; }
.gallery-item:nth-child(6) { animation-delay: 0.3s; }
.gallery-item:nth-child(n+7) { animation-delay: 0.35s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item:hover {
    transform: scale(1.12) translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 173, 191, 0.35);
    border-color: rgba(0, 173, 191, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 173, 191, 0) 0%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.4) 100%);
    transition: background 0.4s ease;
    z-index: 2;
    opacity: 0;
}

.gallery-item:hover::before {
    opacity: 1;
    background: linear-gradient(135deg, rgba(0, 173, 191, 0.1) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.5) 100%);
}

.gallery-item::after {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 2.5rem;
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item:hover img {
    filter: brightness(0.6) saturate(1.2);
    transform: scale(1.05);
}

/* ========================
   LIGHTBOX MODAL
   ======================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease-in-out;
    padding: 40px 20px;
}

.lightbox.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-content {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    animation: slideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    width: 100%;
    z-index: 9998;
}

.lightbox-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    user-select: none;
}

.lightbox-btn:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.lightbox-btn:active {
    transform: scale(0.95);
}

/* ========================
   FLOATING SOCIAL BUTTONS
   ======================== */
.social-floater {
    position: fixed;
    bottom: 30px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.social-btn.facebook {
    background-color: #1877F2;
    color: white;
}

.social-btn.facebook:hover {
    background-color: #166fe5;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-btn.instagram:hover {
    transform: scale(1.1) translateY(-5px) rotate(10deg);
}

.social-btn.whatsapp {
    background-color: #25D366;
    color: white;
}

.social-btn.whatsapp:hover {
    background-color: #1ebd59;
}

@media (max-width: 768px) {
    .social-floater {
        bottom: 20px;
        right: 15px;
    }
    
    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* ========================
   OTHER SERVICES SECTION
   ======================== */
.other-services {
    padding: 100px 20px;
    background-color: var(--bg-light);
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(5, 235px);
    gap: 15px;
    justify-content: center;
}

.other-service-box {
    padding: 30px 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 235px;
    overflow: hidden;
    border-top: 4px solid var(--primary-cyan);
    position: relative;
}

.other-service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-cyan), var(--primary-light));
}

.other-service-box:hover {
    box-shadow: 0 12px 35px rgba(0, 173, 191, 0.2);
    transform: translateY(-8px);
    border-top-color: var(--primary-light);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 173, 191, 0.1), rgba(0, 212, 228, 0.1));
    transition: all 0.3s ease;
}

.other-service-box:hover .service-icon {
    background: linear-gradient(135deg, rgba(0, 173, 191, 0.2), rgba(0, 212, 228, 0.2));
    transform: scale(1.1);
}

.service-icon img {
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
}

.other-service-box h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
}

.other-service-box p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
}

.services-list {
    list-style: none;
}

.services-list li {
    padding: 10px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list li:hover {
    color: var(--primary-light);
    padding-left: 10px;
}

/* Responsive Other Services */
@media (max-width: 1024px) {
    .other-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .other-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }
}

@media (max-width: 640px) {
    .other-services-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 0 10px;
    }

    .other-service-box {
        padding: 20px 15px;
        width: 100%;
        height: auto;
        min-height: auto;
    }
}

/* ========================
   CONTACT SECTION
   ======================== */
.contact {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(0, 31, 77, 0.05) 0%, rgba(0, 173, 191, 0.05) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-top: 5px;
}

.info-item h4 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.info-item p {
    color: var(--text-light);
}

.info-item a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary-dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(0, 173, 191, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

/* ========================
   FOOTER
   ======================== */
.footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-light);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================
   WHATSAPP BUTTON
   ======================== */
.whatsapp-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-btn:hover {
    background-color: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* ========================
   ANIMATIONS
   ======================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========================
   RESPONSIVE DESIGN
   ======================== */
@media (max-width: 768px) {
    .nav-container {
        justify-content: space-between;
    }

    .nav-logo {
        order: 1;
    }

    .nav-menu {
        display: flex;
        gap: 15px;
        order: 2;
    }

    .nav-menu li:nth-child(n+2):nth-child(-n+5) {
        display: none;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .hamburger {
        display: flex;
        order: 3;
    }

    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--bg-light);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        order: unset;
    }

    .nav-menu.active li:nth-child(n+2):nth-child(-n+5) {
        display: block;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 60px 20px;
        margin-top: 70px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .social-floater .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* ========================
   PAGE HEADER
   ======================== */
.page-header {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========================
   SERVICES DETAIL
   ======================== */
.services-detail {
    padding: 80px 20px;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
    animation: fadeIn 0.8s ease;
}

.service-detail-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.service-detail-card.order-2 {
    grid-template-columns: 1fr 1fr;
}

.service-detail-image {
    text-align: center;
}

.service-detail-image img {
    height: 150px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 173, 191, 0.2));
    transition: var(--transition);
}

.service-detail-card:hover .service-detail-image img {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 20px rgba(0, 173, 191, 0.4));
}

.service-detail-content h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.service-detail-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
    text-align: justify;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.service-features i {
    color: var(--primary-light);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ========================
   INFRASTRUCTURE
   ======================== */
.infrastructure {
    padding: 80px 20px;
    background-color: var(--bg-gray);
}

.infrastructure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.infra-item {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.infra-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.infra-icon {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.infra-item h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.infra-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================
   CTA SECTION
   ======================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary-dark);
}

.cta-section .btn-primary:hover {
    background-color: var(--bg-gray);
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .service-detail-card {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .service-detail-content h2 {
        font-size: 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .infrastructure-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn {
        padding: 10px 24px;
        font-size: 14px;
    }

    .gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .page-header {
        padding: 50px 20px;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }
}

/* ========================
   CONTACT PAGE
   ======================== */
.contact-page {
    padding: 80px 20px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-section h2,
.contact-form-section h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: var(--bg-gray);
    border-radius: 10px;
    transition: var(--transition);
}

.info-card:hover {
    background: linear-gradient(135deg, rgba(0, 173, 191, 0.05), rgba(0, 31, 77, 0.05));
    transform: translateX(5px);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-light);
    flex-shrink: 0;
}

.info-details h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.info-details p {
    color: var(--text-light);
    margin-bottom: 5px;
}

.info-details a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.info-details a:hover {
    color: var(--primary-dark);
}

.info-details .small {
    font-size: 0.85rem;
    color: #999;
}

.response-time {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

.response-time h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.response-time ul {
    list-style: none;
}

.response-time li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.response-time li:last-child {
    border-bottom: none;
}

.contact-form-section {
    background: var(--bg-gray);
    padding: 40px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    background-color: white;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(0, 173, 191, 0.1);
}

.form-group select {
    cursor: pointer;
    color: var(--text-dark);
}

.form-group select option {
    color: var(--text-dark);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================
   FAQ SECTION
   ======================== */
.faq {
    padding: 80px 20px;
    background-color: var(--bg-gray);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-light);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item i {
    color: var(--primary-light);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ========================
   MAP SECTION
   ======================== */
.map-section {
    padding: 80px 20px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}

.map-container iframe {
    border-radius: 10px;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-section {
        padding: 30px 20px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    /* Responsive Services Grid */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Responsive Gallery Grid */
    .gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 640px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .gallery-item {
        aspect-ratio: 1;
    }
}

@media (max-width: 480px) {
    /* Mobile Services Grid - 1 column */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Gallery Grid - 3 columns */
    .gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .gallery-item {
        aspect-ratio: 1;
    }
}

/* Partners Section */
.partners {
    padding: 30px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    min-height: 200px;
}

.partners-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../marcas/marcas.png') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.partners-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 35%, rgba(255, 255, 255, 0.7) 70%, rgba(255, 255, 255, 0.3) 100%);
    z-index: 2;
}

.partners-content-wrapper {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.partners-bg {
    display: none;
}

.partners-grid {
    display: none;
}

.partners-content {
    max-width: 550px;
}

.partners-image {
    display: none;
}

.partners-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 30px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.partners-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0;
}

/* Carousel de Marcas - Seção Separada */
.brands-carousel-section {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
    background: #f9f9f9;
    padding: 25px 0;
    border-radius: 0;
}

.brands-carousel {
    display: none;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    background: transparent;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 25px;
    padding: 0 20px;
    animation: scroll-carousel 80s linear infinite;
    will-change: transform;
    width: fit-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-carousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.carousel-track .brand-item {
    flex-shrink: 0;
    min-width: max-content;
}

/* Brands Grid */
.brands-grid {
    display: none;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 22px;
    background: white;
    border-radius: 8px;
    border: 1px solid rgba(0, 173, 191, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 90px;
    min-width: 140px;
    position: relative;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.brand-item:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 173, 191, 0.2);
    border-color: rgba(0, 173, 191, 0.3);
}

.brand-item img {
    max-width: 110px;
    max-height: 65px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.brand-item:hover img {
    filter: drop-shadow(0 2px 5px rgba(0, 173, 191, 0.25));
}

/* Responsive Partners Section */
@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .partners {
        padding: 60px 20px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .partners-title {
        font-size: 2.2rem;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .brand-item {
        min-height: 100px;
        padding: 20px 15px;
    }
}

@media (max-width: 640px) {
    .partners {
        padding: 50px 15px;
    }

    .partners-title {
        font-size: 1.8rem;
    }

    .partners-description {
        font-size: 0.9rem;
    }

    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .brand-item {
        min-height: 90px;
        padding: 15px 12px;
    }
}

/* How We Work Section */
.how-we-work {
    padding: 80px 20px;
    position: relative;
    background: #ffffff;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
}

.section-header .section-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--dark);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}
.section-header .section-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.how-we-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.how-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 25px;
    background: white;
    border-radius: 12px;
    border-top: 4px solid var(--primary-cyan);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.how-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-cyan), var(--primary-light));
    border-radius: 12px 12px 0 0;
}

.how-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 173, 191, 0.2);
    border-top-color: var(--primary-light);
}

.how-icon {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 173, 191, 0.1), rgba(0, 212, 228, 0.1));
    border-radius: 12px;
    transition: all 0.3s ease;
}

.how-card:hover .how-icon {
    background: linear-gradient(135deg, rgba(0, 173, 191, 0.2), rgba(0, 212, 228, 0.2));
    transform: scale(1.1);
}

.nowrap-title {
    white-space: nowrap;
}

.how-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.how-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 0;
}

/* Responsive How We Work */
@media (max-width: 768px) {
    .how-we-work {
        padding: 60px 20px;
    }

    .how-we-work-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-header .section-title {
        font-size: 2.2rem;
    }

    .how-card {
        padding: 30px 20px;
    }
}

@media (max-width: 640px) {
    .how-we-work {
        padding: 50px 15px;
    }

    .section-header .section-title {
        font-size: 1.8rem;
    }

    .how-we-work-grid {
        gap: 20px;
    }

    .how-card {
        padding: 25px 15px;
    }

    .how-title {
        font-size: 1.3rem;
    }

    .how-description {
        font-size: 0.9rem;
    }

    .whatsapp-cta h3 {
        font-size: 1.5rem;
    }
}

/* ========================
   WHATSAPP CTA SECTION
   ======================== */
.whatsapp-cta {
    padding: 50px 20px;
    background: linear-gradient(135deg, #001F4D 0%, #003d8a 100%);
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 10;
}

.whatsapp-button-wrapper {
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.whatsapp-button-wrapper h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 60px;
    font-weight: 700;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 25px 200px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    border: none;
    position: relative;
    z-index: 15;
    margin-top: 40px;
    margin-left: 70px;
    white-space: nowrap;
    line-height: 1;
}

.whatsapp-btn:hover {
    transform: translateY(-5px);
    background-color: #1da853;
    color: white;
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn i {
    font-size: 2rem;
    display: inline-block;
}

.whatsapp-logo {
    width: 2.8rem;
    height: 2.8rem;
    display: inline-block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .whatsapp-cta {
        padding: 60px 20px;
    }

    .whatsapp-button-wrapper h3 {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .whatsapp-cta .whatsapp-btn {
        padding: 20px 180px;
        font-size: 1.15rem;
    }
}

@media (max-width: 640px) {
    .whatsapp-cta .whatsapp-btn {
        padding: 24px 185px;
        font-size: 0.95rem;
    }

    .whatsapp-logo {
        width: 2.4rem;
        height: 2.4rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-cta .whatsapp-btn {
        padding: 20px 135px;
        font-size: 0.8rem;
    }

    .whatsapp-logo {
        width: 2rem;
        height: 2rem;
    }

    .whatsapp-btn i {
        font-size: 1.6rem;
    }
}

