@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden; /* Mata a borda branca lateral e o scroll horizontal */
  position: relative;
  background: #efefef;
}

/* Garante que a Nav não crie espaços */
nav {
  width: 100% !important;
  left: 0 !important;
  right: 0 !important;
  margin: 0 !important;
}
/* ========================================
   HAMBURGER MENU
======================================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: #0a1929;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animate to X */
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu Dropdown */
.mobile-menu {
    display: none;
    position: relative;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    z-index: 999;
}

.mobile-menu.open {
    max-height: 700px;
    padding: 1rem 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu ul li:last-child {
    border-bottom: none;
}

.mobile-link {
    display: block;
    padding: 1rem 2rem;
    color: #0a1929;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.mobile-link:hover {
    background: rgba(74, 144, 226, 0.08);
    color: #4a90e2;
}

.mobile-cta {
    margin: 0.8rem 2rem 0.5rem;
    background: #0a1929;
    color: #efefef !important;
    border-radius: 5px;
    text-align: center;
    padding: 0.9rem 2rem !important;
}

.mobile-cta:hover {
    background: #4a90e2 !important;
    color: #efefef !important;
}

/* Show hamburger only on mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none !important;
    }
    .hamburger {
        display: flex;
    }
    .mobile-menu {
        display: block;
    }
    nav {
        position: fixed !important;
    }
}

/* Active page link */
.nav-link.active-page {
    color: #4a90e2;
}
.nav-link.active-page::after {
    width: 100% !important;
}

/* ========================================
   SERVICES PAGE
======================================== */

/* Hero */
.services-hero {
    min-height: 45vh;
    display: flex;
    align-items: center;
    padding: 10rem 5% 5rem;
    background: linear-gradient(135deg, #0a1929 0%, #1a2c42 100%);
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 50%; height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none" stroke="%234a90e2" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
}

.services-hero-content {
    position: relative;
    z-index: 1;
}

.services-hero-content h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #efefef;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.services-hero-content h1 span {
    color: #5fc3e4;
}

.services-hero-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    line-height: 1.8;
}

/* Services Menu Grid */
.services-nav-section {
    padding: 6rem 5%;
    background: #efefef;
}

.services-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.service-menu-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 2px solid transparent;
}

.service-menu-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 0;
    background: linear-gradient(180deg, #4a90e2, #5fc3e4);
    transition: height 0.4s ease;
}

.service-menu-card:hover::before {
    height: 100%;
}

.service-menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(74, 144, 226, 0.2);
}

.service-menu-number {
    font-family: 'Libre Baskerville', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(74, 144, 226, 0.12);
    position: absolute;
    top: 1rem; right: 2rem;
    line-height: 1;
}

.service-menu-icon {
    width: 60px; height: 60px;
    }

.service-menu-info h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.5rem;
    color: #0a1929;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.service-menu-info > p {
    color: #4a4a4a;
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.service-menu-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.service-menu-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4a4a4a;
    font-weight: 500;
}

.service-menu-list li i {
    color: #4a90e2;
    font-size: 0.75rem;
}

.service-menu-arrow {
    position: absolute;
    bottom: 2rem; right: 2rem;
    width: 40px; height: 40px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a90e2;
    transition: all 0.3s ease;
}

.service-menu-card:hover .service-menu-arrow {
    background: #4a90e2;
    color: #fff;
    transform: translateX(4px);
}

/* Process Section */
.process-section {
    padding: 7rem 5%;
    background: #0a1929;
}

.process-section .section-tag {
    color: #5fc3e4;
}

.process-section .section-header h2 {
    color: #efefef;
}

.process-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 160px;
    max-width: 220px;
    text-align: center;
    padding: 0 1rem;
    position: relative;
}

.process-number {
    font-family: 'Libre Baskerville', serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #4a90e2;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.process-icon {
    width: 70px; height: 70px;
    background: rgba(74, 144, 226, 0.15);
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    font-size: 1.6rem;
    color: #4a90e2;
    transition: all 0.3s ease;
}

.process-step:hover .process-icon {
    background: #4a90e2;
    color: #fff;
    border-color: #4a90e2;
}

.process-step h4 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.1rem;
    color: #efefef;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.process-step p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.process-connector {
    flex: 0 0 40px;
    height: 2px;
    background: rgba(74, 144, 226, 0.3);
    margin-top: 35px;
    position: relative;
}

.process-connector::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 10px; height: 10px;
    border-top: 2px solid rgba(74, 144, 226, 0.5);
    border-right: 2px solid rgba(74, 144, 226, 0.5);
    transform: rotate(45deg);
}

/* CTA Section */
.services-cta {
    padding: 6rem 5%;
    background: #f8f9fa;
    text-align: center;
}

.services-cta-content h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: 2.5rem;
    color: #0a1929;
    margin-bottom: 1rem;
    font-weight: 700;
}

.services-cta-content p {
    font-size: 1.15rem;
    color: #4a4a4a;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-whatsapp {
    padding: 1.2rem 3rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #25d366;
    color: #fff;
    border: 2px solid #25d366;
}

.btn-whatsapp:hover {
    background: #128c7e;
    border-color: #128c7e;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .services-menu-grid {
        grid-template-columns: 1fr;
    }

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

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-connector {
        width: 2px;
        height: 30px;
        flex: 0 0 30px;
        margin: 0;
    }

    .process-connector::after {
        right: -4px;
        top: auto;
        bottom: -6px;
        transform: rotate(135deg);
    }

    .service-menu-list {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   NAV DROPDOWN (Serviços) - Desktop
======================================== */
.nav-dropdown { position: relative; }

.dropdown-toggle { display: flex; align-items: center; gap: 0.4rem; cursor: pointer; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    min-width: 230px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-6px);
    transition: all 0.25s ease;
    z-index: 2000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* .dropdown-item definido na seção DROPDOWN ICONS SVG abaixo */

/* ========================================
   MOBILE DROPDOWN (Ajustado)
======================================== */
@media (max-width: 768px) {
    .mobile-dropdown-item {
        width: 100%;
    }

    .mobile-service-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding-right: 1.5rem;
        box-sizing: border-box;
    }

    .mobile-service-row .mobile-link {
        flex: 1;
    }

    .mobile-arrow-btn {
        background: none;
        border: none;
        cursor: pointer;
        color: #4a4a4a;
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-arrow-btn i {
        transition: transform 0.3s ease;
    }

    .mobile-arrow-btn.open i {
        transform: rotate(90deg);
    }

    .mobile-submenu {
        display: none;
        list-style: none;
        background: rgba(74, 144, 226, 0.04);
        padding-left: 1rem;
    }

    .mobile-submenu.open {
        display: block;
    }

    .mobile-sublink {
        padding: 0.8rem 2rem !important;
        font-size: 0.9rem !important;
        color: #4a4a4a !important;
    }
}
/* ========================================
   DROPDOWN ICONS SVG
======================================== */
.dropdown-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: #4a4a4a;
    transition: color 0.2s ease;
}

.dropdown-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Força fill em todos os filhos do SVG, incluindo <g> intermediários */
.dropdown-icon svg *[fill],
.dropdown-icon svg g,
.dropdown-icon svg path,
.dropdown-icon svg circle,
.dropdown-icon svg rect,
.dropdown-icon svg polygon {
    fill: currentColor !important;
}

/* Remove stroke que pode aparecer em alguns SVGs */
.dropdown-icon svg *[stroke]:not([stroke="none"]) {
    stroke: currentColor;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1.4rem;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.92rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(74, 144, 226, 0.06);
    color: #4a90e2;
}

.dropdown-item:hover .dropdown-icon {
    color: #4a90e2;
}

.mobile-sublink {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #4a4a4a;
}

.svg-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.svg-icon svg {
    width: 100%;
    height: 100%;
}

.svg-icon svg g,
.svg-icon svg path {
    fill: currentColor !important;
}