/* ============================================ */
/* SPLASH SCREEN - TELA DE ABERTURA             */
/* ============================================ */

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--mtw-azul-escuro) 0%, var(--mtw-azul) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    padding: 20px;
    animation: splashFadeIn 1s ease forwards;
}

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

.splash-logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    animation: splashLogoFloat 3s ease-in-out infinite;
}

@keyframes splashLogoFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.02); }
}

.splash-logo-glow {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.25), transparent 70%);
    border-radius: 50%;
    animation: splashGlowPulse 2s ease-in-out infinite;
}

@keyframes splashGlowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 1; }
}

.splash-text-container {
    text-align: left;
    color: var(--mtw-branco);
}

.splash-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.splash-title-line { display: block; }

.splash-title-line:first-child {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--mtw-branco);
}

.splash-title-line:last-child {
    font-size: 3.8rem;
    font-weight: 900;
}

.splash-title .text-destaque { color: var(--mtw-azul-muito-claro); }

.splash-title .text-destaque::after {
    background: linear-gradient(90deg, var(--mtw-azul-claro), var(--mtw-azul-muito-claro));
}

.splash-progress {
    position: absolute;
    bottom: 60px;
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.splash-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--mtw-azul-claro), var(--mtw-azul-muito-claro));
    border-radius: 3px;
    animation: splashProgress 3s ease-in-out forwards;
}

@keyframes splashProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

@media (max-width: 768px) {
    .splash-content { flex-direction: column; gap: 30px; text-align: center; }
    .splash-text-container { text-align: center; }
    .splash-title { font-size: 2.5rem; }
    .splash-title-line:first-child { font-size: 2rem; }
    .splash-title-line:last-child { font-size: 2.8rem; }
    .splash-logo { max-width: 150px; }
}

@media (max-width: 480px) {
    .splash-title { font-size: 2rem; }
    .splash-title-line:first-child { font-size: 1.6rem; }
    .splash-title-line:last-child { font-size: 2.2rem; }
    .splash-logo { max-width: 120px; }
}

/* ============================================ */
/* STYLE-MTW.CSS - IDENTIDADE VISUAL MTW        */
/* ============================================ */

:root {
    --mtw-azul-escuro: #0A2463;
    --mtw-azul: #1E40AF;
    --mtw-azul-claro: #3B82F6;
    --mtw-azul-muito-claro: #60A5FA;
    --mtw-branco: #FFFFFF;
    --mtw-cinza: #4B5563;
    --mtw-cinza-claro: #F3F4F6;
    --mtw-cinza-borda: #E5E7EB;
    --mtw-shadow: 0 25px 50px -12px rgba(30, 64, 175, 0.25);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--mtw-azul-escuro);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--mtw-branco);
}

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

.text-destaque {
    color: var(--mtw-azul);
    position: relative;
}

.text-destaque::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--mtw-azul), var(--mtw-azul-claro));
    border-radius: 2px;
}

/* ===== HEADER ===== */
.header-mtw {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 64, 175, 0.08);
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.header-mtw.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

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

.logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-img:hover { transform: scale(1.03); }

.mobile-menu-btn {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--mtw-azul-escuro);
    padding: 8px 12px;
    z-index: 1001;
    transition: all 0.3s ease;
    margin-left: auto;
}

.mobile-menu-btn:hover { color: var(--mtw-azul); }

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 36, 99, 0.5);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.menu-overlay.active { display: block; opacity: 1; }

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--mtw-azul-escuro);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mtw-azul);
    transition: width 0.4s ease;
    border-radius: 2px;
}

.nav-link:hover { color: var(--mtw-azul); }
.nav-link:hover::after { width: 100%; }

.btn-principal {
    display: inline-block;
    padding: 12px 28px;
    background: var(--mtw-azul);
    color: var(--mtw-branco);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-principal:hover {
    background: var(--mtw-azul-escuro);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.4);
}

.btn-principal.btn-com-icone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ===== HERO ===== */
.hero-mtw {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--mtw-azul-escuro) 0%, var(--mtw-azul) 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 50%, rgba(96, 165, 250, 0.08) 0%, transparent 60%);
    animation: heroGlow 10s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes heroGlow {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.05) rotate(2deg); }
}

.hero-container { position: relative; z-index: 2; width: 100%; }

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-logo-area {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.3));
    animation: logoFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.hero-logo-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15), transparent 70%);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.hero-text-area { flex: 1; min-width: 300px; color: var(--mtw-branco); }

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .text-destaque { color: var(--mtw-azul-muito-claro); }

.hero-title .text-destaque::after {
    background: linear-gradient(90deg, var(--mtw-azul-claro), var(--mtw-azul-muito-claro));
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 500px;
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-subtitle .text-destaque { color: var(--mtw-azul-muito-claro); }

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-secundario {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: var(--mtw-branco);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secundario:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--mtw-azul-claro);
    transform: translateY(-3px);
}

.hero-metrics {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

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

.metric-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--mtw-azul-muito-claro);
}

.metric-label { font-size: 0.85rem; opacity: 0.7; }

.metric-divider { width: 1px; background: rgba(255, 255, 255, 0.1); }

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-duration: 14s; animation-delay: 2s; width: 6px; height: 6px; }
.particle:nth-child(3) { left: 35%; animation-duration: 10s; animation-delay: 4s; }
.particle:nth-child(4) { left: 50%; animation-duration: 16s; animation-delay: 1s; width: 3px; height: 3px; }
.particle:nth-child(5) { left: 65%; animation-duration: 11s; animation-delay: 3s; }
.particle:nth-child(6) { left: 75%; animation-duration: 13s; animation-delay: 5s; width: 5px; height: 5px; }
.particle:nth-child(7) { left: 85%; animation-duration: 15s; animation-delay: 2s; }
.particle:nth-child(8) { left: 92%; animation-duration: 9s; animation-delay: 4s; width: 3px; height: 3px; }

@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

.hero-wave svg { display: block; width: 100%; height: auto; }

/* ===== SERVIÇOS ===== */
.servicos-mtw { padding: 100px 0; background: var(--mtw-branco); }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: rgba(30, 64, 175, 0.08);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--mtw-azul);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--mtw-azul-escuro);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--mtw-cinza);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.servico-card {
    background: var(--mtw-branco);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid var(--mtw-cinza-borda);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.servico-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--mtw-azul), var(--mtw-azul-claro));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.servico-card:hover::before { opacity: 1; }

.servico-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--mtw-shadow);
    border-color: var(--mtw-azul-claro);
}

.servico-icon {
    width: 72px;
    height: 72px;
    font-size: 32px;
    color: var(--mtw-azul);
    background: rgba(30, 64, 175, 0.08);
    border-radius: 16px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}

.servico-card:hover .servico-icon {
    background: var(--mtw-azul);
    color: var(--mtw-branco);
    transform: scale(1.08) rotate(-5deg);
}

.servico-card h3 {
    font-size: 1.2rem;
    color: var(--mtw-azul-escuro);
    margin-bottom: 12px;
}

.servico-card p {
    color: var(--mtw-cinza);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mtw-azul);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.card-link:hover { color: var(--mtw-azul-escuro); gap: 12px; }
.card-link i { transition: transform 0.3s ease; }
.card-link:hover i { transform: translateX(5px); }

/* ============================================ */
/* POR ONDE COMEÇAR? - 5 CARDS INTERATIVOS      */
/* ============================================ */
.comecar-mtw {
    padding: 100px 0;
    background: var(--mtw-branco);
}

.comecar-container {
    display: flex;
    gap: 16px;
    height: 460px;
    max-width: 1150px;
    margin: 0 auto;
    align-items: stretch;
}

/* ----- CARD (base) ----- */
.comecar-card {
    flex: 1;
    position: relative;
    background: var(--mtw-azul-escuro);
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 14px;
    cursor: pointer;
    overflow: hidden;
    transition: flex 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.35s ease,
                border-color 0.35s ease,
                box-shadow 0.35s ease,
                transform 0.35s ease;
    min-width: 0;
}

.comecar-card:hover:not(.active) {
    background: linear-gradient(180deg, var(--mtw-azul-escuro) 0%, var(--mtw-azul) 100%);
    border-color: var(--mtw-azul-muito-claro);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -10px rgba(30, 64, 175, 0.45);
}

.comecar-card.active {
    flex: 4;
    background: var(--mtw-branco);
    border: 1.5px solid var(--mtw-azul-claro);
    box-shadow: 0 25px 60px -15px rgba(30, 64, 175, 0.35);
    cursor: default;
}

/* ----- VERTICAL (estado fechado) ----- */
.comecar-vertical {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 26px 0;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.comecar-card.active .comecar-vertical {
    opacity: 0;
    pointer-events: none;
}

.comecar-numero {
    color: var(--mtw-azul-muito-claro);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.comecar-titulo-vertical {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: var(--mtw-branco);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.comecar-toggle {
    color: var(--mtw-azul-muito-claro);
    font-size: 0.85rem;
    transition: transform 0.35s ease;
}

.comecar-card:hover:not(.active) .comecar-toggle {
    transform: rotate(45deg);
}

.comecar-card.active .comecar-toggle {
    transform: rotate(45deg);
}

/* ----- CONTEÚDO (estado aberto) ----- */
.comecar-conteudo {
    position: absolute;
    inset: 0;
    padding: 40px 45px 35px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease 0.15s, transform 0.3s ease 0.15s;
    pointer-events: none;
    overflow-y: auto;
}

.comecar-card.active .comecar-conteudo {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.comecar-fechar {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--mtw-cinza-borda);
    background: var(--mtw-branco);
    color: var(--mtw-azul-escuro);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 2;
}

.comecar-fechar:hover {
    background: var(--mtw-azul);
    color: var(--mtw-branco);
    border-color: var(--mtw-azul);
    transform: rotate(90deg);
}

.comecar-conteudo h3 {
    font-size: 1.85rem;
    line-height: 1.2;
    color: var(--mtw-azul-escuro);
    font-weight: 800;
    margin-bottom: 16px;
    padding-right: 40px;
}

.comecar-destaque { color: var(--mtw-azul); }

.comecar-descricao {
    color: var(--mtw-cinza);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 720px;
}

.comecar-bullets {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 25px;
    margin-bottom: 30px;
    flex: 1;
}

.comecar-bullets li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--mtw-azul-escuro);
    font-weight: 500;
    line-height: 1.4;
}

.bullet-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mtw-azul);
    flex-shrink: 0;
}

.comecar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    background: var(--mtw-azul);
    color: var(--mtw-branco);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
    align-self: flex-start;
    white-space: nowrap;
}

.comecar-cta:hover {
    background: var(--mtw-azul-escuro);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.4);
}

.comecar-cta i {
    transition: transform 0.3s ease;
}

.comecar-cta:hover i {
    transform: translateX(4px);
}

/* Pulse inicial no card 01 (primeira visita) */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(96, 165, 250, 0);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(96, 165, 250, 0.15);
    }
}

.comecar-card.pulse-hint {
    animation: pulseGlow 2.2s ease-in-out 3;
}

/* ===== CTA FINAL ===== */
.cta-final-mtw {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--mtw-azul-escuro), var(--mtw-azul));
    color: var(--mtw-branco);
    text-align: center;
}

.cta-container h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.cta-container .text-destaque { color: var(--mtw-azul-muito-claro); }

.cta-container .text-destaque::after {
    background: linear-gradient(90deg, var(--mtw-azul-claro), var(--mtw-azul-muito-claro));
}

.cta-container p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 30px;
}

.btn-grande {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 45px;
    font-size: 1.1rem;
    background: var(--mtw-branco);
    color: var(--mtw-azul-escuro);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.btn-grande:hover {
    background: var(--mtw-branco);
    color: var(--mtw-azul);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
}

.btn-grande i { font-size: 1.3rem; }

/* ===== FOOTER ===== */
.footer-mtw {
    background: var(--mtw-azul-escuro);
    color: var(--mtw-branco);
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    align-items: start;
}

.footer-info { display: flex; flex-direction: column; }

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    max-width: 100px;
}

.footer-info p {
    opacity: 0.75;
    max-width: 350px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: var(--mtw-branco);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.footer-social a:hover {
    background: var(--mtw-azul-claro);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.footer-contato h3,
.footer-links h3 {
    color: var(--mtw-branco);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-contato p {
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0.75;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.footer-contato p:hover { opacity: 1; }

.footer-contato p i {
    color: var(--mtw-azul-claro);
    width: 20px;
    font-size: 16px;
    text-align: center;
}

.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links ul li { margin-bottom: 10px; }

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
    position: relative;
}

.footer-links ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--mtw-azul-claro);
    transition: width 0.3s ease;
}

.footer-links ul li a:hover { color: var(--mtw-branco); }
.footer-links ul li a:hover::after { width: 100%; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

.footer-bottom p { margin: 0; line-height: 1.6; }
.footer-bottom p + p { margin-top: 4px; }

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--mtw-branco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 100;
    animation: whatsappPulse 2s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float i { font-size: 30px; }

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 4px 40px rgba(37, 211, 102, 0.5); }
}

        /* ===== CONTEÚDO DO ARTIGO — LINHA DO TEMPO NUMERADA ===== */
        .article-timeline {
            margin-top: 30px;
            display: flex;
            flex-direction: column;
            gap: 28px;
        }
        .timeline-item {
            display: flex;
            gap: 20px;
            align-items: flex-start;
            opacity: 0;
            animation: timelineFadeIn 0.5s ease forwards;
        }
        .timeline-item:nth-child(1) { animation-delay: 0.05s; }
        .timeline-item:nth-child(2) { animation-delay: 0.10s; }
        .timeline-item:nth-child(3) { animation-delay: 0.15s; }
        .timeline-item:nth-child(4) { animation-delay: 0.20s; }
        .timeline-item:nth-child(5) { animation-delay: 0.25s; }
        .timeline-item:nth-child(6) { animation-delay: 0.30s; }

        @keyframes timelineFadeIn {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .timeline-number {
            flex-shrink: 0;
            width: 52px;
            height: 52px;
            border-radius: 50%;
            background: #eaf1ff;
            color: var(--mtw-azul);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.15rem;
            font-weight: 800;
            letter-spacing: -0.5px;
            border: 2px solid #d5e3ff;
            transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
        }
        .timeline-item:hover .timeline-number {
            transform: scale(1.08);
            background: var(--mtw-azul);
            color: #fff;
            border-color: var(--mtw-azul);
        }

        .timeline-content {
            flex: 1;
            min-width: 0;
        }
        .timeline-content h3 {
            font-size: 1.15rem;
            color: var(--mtw-azul-escuro);
            margin: 4px 0 10px 0;
            line-height: 1.35;
            font-weight: 700;
        }
        .timeline-content p {
            font-size: 1rem;
            line-height: 1.75;
            color: #475569;
            margin: 0 0 10px 0;
        }
        .timeline-content p:last-child {
            margin-bottom: 0;
        }

        /* Citação/destaque interno (barra azul à esquerda) */
        .timeline-highlight {
            border-left: 3px solid var(--mtw-azul);
            padding: 8px 0 8px 16px;
            margin: 12px 0;
            font-size: 0.98rem;
            color: var(--mtw-azul-escuro);
            font-weight: 500;
            line-height: 1.65;
            background: linear-gradient(90deg, #f5f9ff 0%, transparent 100%);
            border-radius: 0 6px 6px 0;
        }

        /* Lista dentro do bloco */
        .timeline-content ul {
            padding-left: 0;
            list-style: none;
            margin: 12px 0 0 0;
        }
        .timeline-content ul li {
            position: relative;
            padding-left: 22px;
            font-size: 0.98rem;
            line-height: 1.7;
            color: #475569;
            margin-bottom: 8px;
        }
        .timeline-content ul li::before {
            content: '';
            position: absolute;
            left: 4px;
            top: 11px;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--mtw-azul);
        }

        /* Parágrafo introdutório (lead) */
        .article-lead {
            font-size: 1.08rem;
            line-height: 1.8;
            color: #475569;
            margin-bottom: 8px;
            font-weight: 400;
        }

        /* Responsivo do timeline */
        @media (max-width: 768px) {
            .article-timeline { gap: 24px; margin-top: 24px; }
            .timeline-item {
                flex-direction: column;
                gap: 12px;
            }
            .timeline-number {
                width: 44px;
                height: 44px;
                font-size: 1rem;
            }
            .timeline-content h3 {
                font-size: 1.08rem;
                margin-top: 0;
            }
            .timeline-content p {
                font-size: 0.97rem;
            }
            .timeline-highlight {
                font-size: 0.95rem;
                padding: 8px 0 8px 14px;
            }
            .article-lead {
                font-size: 1.02rem;
            }
        }
/* ============================================ */
/* RESPONSIVIDADE                               */
/* ============================================ */
@media (max-width: 1100px) {
    .comecar-conteudo { padding: 35px 35px 30px; }
    .comecar-conteudo h3 { font-size: 1.55rem; }
    .comecar-bullets { gap: 10px 18px; }
    .comecar-bullets li { font-size: 0.86rem; }
    .comecar-cta { padding: 12px 24px; font-size: 0.88rem; }
}

@media (max-width: 1024px) {
    .servicos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text-area { text-align: center; }
    .hero-subtitle { max-width: 100%; }
    .hero-buttons { justify-content: center; }
    .hero-metrics { justify-content: center; }
    .hero-title { font-size: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ----- MOBILE: cards empilhados ----- */
@media (max-width: 900px) {
    .comecar-container {
        flex-direction: column;
        height: auto;
        gap: 12px;
    }

    .comecar-card {
        flex: none !important;
        min-height: 78px;
        transition: min-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                    background 0.35s ease,
                    border-color 0.35s ease,
                    box-shadow 0.35s ease;
    }

    .comecar-card.active {
        min-height: 520px;
    }

    .comecar-vertical {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 0 24px;
        height: 78px;
    }

    .comecar-card.active .comecar-vertical {
        opacity: 0;
    }

    .comecar-titulo-vertical {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 0.9rem;
        letter-spacing: 2.5px;
    }

    .comecar-numero {
        font-size: 0.75rem;
        min-width: 32px;
    }

    .comecar-conteudo {
        padding: 30px 24px 24px;
        position: absolute;
        inset: 0;
    }

    .comecar-conteudo h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
        padding-right: 36px;
    }

    .comecar-descricao {
        font-size: 0.92rem;
        margin-bottom: 18px;
    }

    .comecar-bullets {
        grid-template-columns: 1fr 1fr;
        gap: 10px 15px;
        margin-bottom: 22px;
    }

    .comecar-bullets li {
        font-size: 0.85rem;
        gap: 8px;
    }

    .comecar-cta {
        width: 100%;
        padding: 13px 20px;
        font-size: 0.88rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--mtw-branco);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        gap: 0;
    }
    nav ul.active { display: flex; }
    nav ul li { margin: 12px 0; }
    .hero-title { font-size: 2.5rem; }
    .hero-metrics { gap: 20px; }
    .metric-divider { display: none; }
    .servicos-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .section-header h2 { font-size: 2rem; }
    .cta-container h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .hero-logo { max-width: 250px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn-principal, .btn-secundario { width: 100%; justify-content: center; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; }
    .whatsapp-float i { font-size: 24px; }
    .footer-bottom { font-size: 0.8rem; padding-top: 20px; }
    .btn-grande { padding: 14px 22px; font-size: 0.9rem; gap: 8px; white-space: nowrap; }
    .btn-grande i { font-size: 1.2rem; }

    .comecar-card.active { min-height: 620px; }
    .comecar-conteudo { padding: 24px 18px 20px; }
    .comecar-conteudo h3 { font-size: 1.15rem; }
    .comecar-descricao { font-size: 0.88rem; }
    .comecar-bullets { grid-template-columns: 1fr; gap: 8px; }
    .comecar-bullets li { font-size: 0.82rem; }
    .comecar-cta { font-size: 0.82rem; padding: 12px 16px; }
}
/* ============================================ */
/* AJUSTE — RITMO VISUAL ENTRE SEÇÕES           */
/* Solução C: alternância de fundo + padding    */
/* ============================================ */

/* Seção Serviços: menos respiro embaixo */
.servicos-mtw {
    padding: 100px 0 70px;
}

/* Seção "Por onde começar?": fundo cinza sutil + borda superior + menos respiro em cima */
.comecar-mtw {
    padding: 70px 0 100px;
    background: #F8F9FB;
    border-top: 1px solid var(--mtw-cinza-borda);
}

/* Garantir que o badge mantenha contraste no fundo cinza claro */
.comecar-mtw .section-badge {
    background: rgba(30, 64, 175, 0.10);
}

/* Cards fechados (azul escuro) mantêm contraste — só confirmando o box-shadow */
.comecar-card {
    box-shadow: 0 6px 20px -8px rgba(10, 36, 99, 0.18);
}

.comecar-card.active {
    box-shadow: 0 25px 60px -15px rgba(30, 64, 175, 0.35);
    background: var(--mtw-branco);
}
/* ============================================ */
/* CARROSSEL INFINITO - DESTAQUES               */
/* ============================================ */
.destaques-carrossel {
    margin-top: 70px;
    width: 100%;
    overflow: hidden;
    position: relative;
    background: var(--mtw-branco);
    padding: 26px 0;
    border-top: 1px solid var(--mtw-cinza-borda);
    border-bottom: 1px solid var(--mtw-cinza-borda);

    /* Fade premium nas laterais */
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 12%,
        #000 88%,
        transparent 100%
    );
    mask-image: linear-gradient(
        90deg,
        transparent 0%,
        #000 12%,
        #000 88%,
        transparent 100%
    );
}

.destaques-track {
    display: flex;
    flex-wrap: nowrap;         /* ← impede quebra em várias linhas */
    align-items: center;
    gap: 40px;
    white-space: nowrap;
    width: max-content;        /* ← largura total do conteúdo */
    animation: destaquesLoop 35s linear infinite;
    will-change: transform;
}

/* Pausa no hover */
.destaques-carrossel:hover .destaques-track {
    animation-play-state: paused;
}

@keyframes destaquesLoop {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.destaque-item {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--mtw-azul-escuro);
    letter-spacing: 0.3px;
    flex-shrink: 0;
    line-height: 1;
}

.destaque-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mtw-azul);
    flex-shrink: 0;
    opacity: 0.75;
}

/* ----- Responsividade ----- */
@media (max-width: 768px) {
    .destaques-carrossel {
        margin-top: 50px;
        padding: 22px 0;
    }

    .destaques-track {
        gap: 28px;
        animation-duration: 28s;
    }

    .destaque-item { font-size: 0.9rem; }
    .destaque-dot  { width: 5px; height: 5px; }
}

@media (max-width: 480px) {
    .destaques-track {
        gap: 22px;
        animation-duration: 22s;
    }

    .destaque-item { font-size: 0.82rem; }
}
/* ============================================ */
/* AJUSTE FINAL — HERO COMPACTO SEM MÉTRICAS    */
/* Reduz espaço vazio e sobe as próximas seções */
/* ============================================ */

/* 1) Remove a altura mínima de 100vh e reduz muito o padding inferior */
.hero-mtw {
    min-height: auto;          /* antes: 100vh → agora deixa a altura se ajustar ao conteúdo */
    padding: 120px 0 0;        /* antes: 120px 0 80px → agora sem padding embaixo */
    display: block;            /* antes: flex → agora block, mais previsível */
}

/* 2) Garante que o container do hero não force altura extra */
.hero-container {
    width: 100%;
}

/* 3) Centraliza verticalmente o conteúdo dentro do hero (sem depender do min-height) */
.hero-content {
    padding-top: 20px;
    padding-bottom: 40px;      /* respiro entre os botões e a onda */
}

/* 4) Reduz o espaço abaixo dos botões (que existia por causa das métricas) */
.hero-buttons {
    margin-bottom: 0;
}

/* 5) Compacta a onda — ela fica colada no fim do hero, sem espaço extra */
.hero-wave {
    position: relative;        /* antes: absolute → agora relative, ela empurra o layout */
    margin-top: 0;
    line-height: 0;
    display: block;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 90px;              /* altura controlada da onda */
    margin-bottom: -1px;       /* evita 1px de gap entre a onda e a próxima seção */
}

/* 6) Remove estilos órfãos das métricas, caso apareçam em algum cache */
.hero-metrics,
.metric-item,
.metric-number,
.metric-label,
.metric-divider {
    display: none !important;
}

/* 7) Reduz a logo ligeiramente para equilibrar com o novo layout mais enxuto */
.hero-logo {
    max-width: 380px;
}

/* ============================================ */
/* RESPONSIVIDADE                               */
/* ============================================ */

@media (max-width: 992px) {
    .hero-mtw {
        padding: 110px 0 0;
    }

    .hero-content {
        padding-bottom: 30px;
    }

    .hero-wave svg {
        height: 70px;
    }
}

@media (max-width: 768px) {
    .hero-mtw {
        padding: 100px 0 0;
    }

    .hero-content {
        padding-bottom: 25px;
    }

    .hero-wave svg {
        height: 55px;
    }
}

@media (max-width: 480px) {
    .hero-mtw {
        padding: 90px 0 0;
    }

    .hero-content {
        padding-bottom: 20px;
    }

    .hero-logo {
        max-width: 260px;
    }

    .hero-wave svg {
        height: 40px;
    }
}
/* ============================================ */
/* SCROLL SUAVE + OFFSET DAS ÂNCORAS            */
/* ============================================ */

html {
    scroll-behavior: smooth;
}

/* Compensa a altura do header fixo ao chegar numa âncora */
.servico-completo {
    scroll-margin-top: 120px;
}

@media (max-width: 768px) {
    .servico-completo {
        scroll-margin-top: 100px;
    }
}
/* ============================================ */
/* BOTÃO WHATSAPP FLUTUANTE COM MINI-MENU       */
/* + BANDEIRAS DO FOOTER                        */
/* ============================================ */

/* ===== WRAPPER (contém o menu + o botão) ===== */
.whatsapp-float-wrapper {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9997;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

/* ===== BOTÃO PRINCIPAL (ícone do WhatsApp) ===== */
.whatsapp-float {
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    animation: whatsappPulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-float:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.5);
    outline-offset: 3px;
}

/* Animação de pulso suave no botão */
@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0);
    }
}

/* ===== MINI-MENU (as duas opções) ===== */
.whatsapp-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(10, 36, 99, 0.22), 0 0 0 1px rgba(10, 36, 99, 0.06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px) scale(0.95);
    transform-origin: bottom right;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    min-width: 220px;
}

/* Estado aberto */
.whatsapp-float-wrapper.menu-aberto .whatsapp-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* ===== ITEM DO MENU ===== */
.whatsapp-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
    text-decoration: none;
    color: #0A2463;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    white-space: nowrap;
}

.whatsapp-menu-item:hover {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
    transform: translateX(-4px);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.whatsapp-menu-item:focus-visible {
    outline: 2px solid #25D366;
    outline-offset: 2px;
}

/* ===== BANDEIRA DENTRO DO ITEM ===== */
.whatsapp-menu-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #e5e7eb;
}

.whatsapp-menu-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== TEXTO DO ITEM ===== */
.whatsapp-menu-text {
    flex: 1;
    line-height: 1.2;
}

/* ===== BANDEIRAS NO FOOTER ===== */
.footer-bandeira {
    display: inline-block;
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    vertical-align: middle;
    margin-left: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    position: relative;
    top: -1px;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .whatsapp-float-wrapper {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        font-size: 1.7rem;
    }

    .whatsapp-menu {
        min-width: 200px;
        padding: 8px;
    }

    .whatsapp-menu-item {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .whatsapp-menu-flag {
        width: 22px;
        height: 22px;
    }

    .footer-bandeira {
        width: 18px;
        height: 13px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float-wrapper {
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .whatsapp-menu {
        min-width: 180px;
    }

    .whatsapp-menu-item {
        padding: 9px 12px;
        font-size: 0.85rem;
        gap: 10px;
    }

    .whatsapp-menu-flag {
        width: 20px;
        height: 20px;
    }
}

/* ===== ACESSIBILIDADE: reduzir animação se o usuário pedir ===== */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float {
        animation: none;
    }

    .whatsapp-menu {
        transition: opacity 0.15s ease, visibility 0.15s ease;
    }

    .whatsapp-menu-item {
        transition: background 0.15s ease, color 0.15s ease;
    }
}