/* ==========================================================================
   0. CONFIGURAÇÕES GERAIS, RESET E VARIÁVEIS
   ========================================================================== */
:root {
    --p3-primary-blue: #0d59e4;
    --p3-dark-blue: #0A2540;
    --p3-max-width: 1280px;
    --p5-bg-dark-blue: #030a16;
    --p5-bg-footer: #020710;
    --p5-primary-blue: #1b6ef3;
    --p5-border-color: rgba(255, 255, 255, 0.15);
    --p5-input-bg: rgba(255, 255, 255, 0.03);
    --p5-text-muted: #a3b3c5;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
    font-size: 16px; 
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: 100%;
}

img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
}

/* Logos */
.p1-logo-image { 
    height: 60px; 
    width: auto; 
    max-width: 200px; 
    display: block; 
    object-fit: contain; 
}

.p5-footer-logo-image, 
.p5-footer-section img { 
    height: 52px; 
    width: auto; 
    max-width: 200px; 
    display: block; 
    object-fit: contain; 
    margin-bottom: 20px; 
}

/* Indicators */
.p1-blue-indicator { 
    display: flex; 
    justify-content: center; 
    gap: 4px; 
    margin: 0 auto 40px auto; 
}
.p1-blue-indicator span { 
    height: 3px; 
    background-color: #0056e2; 
    display: inline-block; 
}
.p1-blue-indicator span.long { 
    width: 35px; 
    border-radius: 2px; 
}
.p1-blue-indicator span.short { 
    width: 6px; 
    border-radius: 2px; 
}

/* ==========================================================================
   1. COMPONENTES FLUTUANTES E PLAYER CUSTOMIZADO
   ========================================================================== */
/* WhatsApp Floating Button */
.floating-whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsapp-pulse 2s infinite;
}
.floating-whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}
@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Video Player Container */
.custom-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
}
.custom-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* Overlay Big Play Button */
.video-big-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(13, 110, 253, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7);
}
.video-big-play-btn.paused {
    animation: pulse-animation 1.6s infinite ease-in-out;
    opacity: 1;
    visibility: visible;
}
.video-big-play-btn.playing {
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -50%) scale(0.8);
}
.video-big-play-btn i {
    color: white;
    font-size: 24px;
    margin-left: 4px;
}
@keyframes pulse-animation {
    0% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7); }
    70% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 15px rgba(13, 110, 253, 0); }
    100% { transform: translate(-50%, -50%) scale(0.95); box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

/* Controls Bar */
.video-controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 20;
}
.custom-video-container:hover .video-controls-bar,
.custom-video-container.paused .video-controls-bar {
    opacity: 1;
}

/* Progress Bar */
.progress-area {
    width: 100%;
    height: 5px;
    background: rgba(255,255,255,0.3);
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    transition: height 0.1s;
}
.progress-area:hover { 
    height: 8px; 
}
.progress-bar {
    height: 100%;
    width: 0%;
    background: #0d6efd;
    border-radius: 5px;
    position: relative;
}
.progress-bar::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.1s;
}
.progress-area:hover .progress-bar::after { 
    transform: translateY(-50%) scale(1); 
}

/* Controls Buttons Row */
.controls-buttons-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}
.controls-left, 
.controls-right {
    display: flex;
    align-items: center;
    gap: 15px;
}
.control-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.control-btn:hover { 
    color: #0d6efd; 
}
.time-display {
    font-size: 12px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

/* ==========================================================================
   2. TOPO, NAV E HEADER
   ========================================================================== */
.p1-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.p1-top-bar {
    background-color: #0251E0; 
    color: #ffffff; 
    padding: 10px 5%;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-size: 12px; 
    font-weight: 500;
}
.p1-top-bar-left span { 
    margin-right: 15px; 
    display: inline-block; 
}
.social-header-buttons {
    display: flex;
    gap: 10px;
}
.social-header-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.social-header-btn:hover {
    background-color: #ffffff;
    color: #0056e2;
    transform: translateY(-1px);
}
.social-header-btn i {
    font-size: 14px;
}
.p1-main-header {
    background-color: #ffffff; 
    padding: 15px 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    position: relative; 
    z-index: 100;
}
.p1-logo-container { 
    display: flex; 
    align-items: center; 
}
.p1-nav-container { 
    display: flex; 
    align-items: center; 
    gap: 20px; 
}
.p1-main-menu { 
    display: flex; 
    list-style: none; 
    gap: 20px; 
    margin: 0; 
    padding: 0; 
}
.p1-main-menu a { 
    text-decoration: none; 
    color: #1e293b; 
    font-size: 14px; 
    font-weight: 600; 
    transition: color 0.2s; 
    white-space: nowrap; 
}
.p1-main-menu a:hover, 
.p1-main-menu a.active { 
    color: #0056e2; 
}
.p1-search-icon { 
    color: #1e293b; 
    cursor: pointer; 
    font-size: 16px; 
    padding: 8px 10px; 
    border-radius: 8px;
    transition: all 0.25s ease;
}
.p1-search-icon:hover,
.p1-search-icon.active {
    color: #0056e2;
    background: rgba(0, 86, 226, 0.07);
}

/* Busca moderna */
.site-search-panel {
    position: fixed;
    left: 50%;
    top: 118px;
    width: min(1040px, calc(100% - 40px));
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -10px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    font-family: 'Montserrat', sans-serif;
}

.site-search-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.site-search-box {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    column-gap: 22px;
    row-gap: 0;
    padding: 34px 40px 24px;
    background:
        linear-gradient(135deg, rgba(18, 34, 53, 0.92) 0%, rgba(11, 27, 45, 0.86) 58%, rgba(24, 51, 76, 0.80) 100%);
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 18px;
    box-shadow:
        0 22px 60px rgba(1, 10, 22, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(18px) saturate(125%);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.site-search-box > i {
    color: #ffffff;
    font-size: 36px;
    flex-shrink: 0;
    opacity: 0.98;
}

.site-search-input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 400;
    line-height: 1.2;
    padding: 10px 0;
    caret-color: #1b6ef3;
}

.site-search-input::placeholder {
    color: rgba(218, 227, 239, 0.72);
    opacity: 1;
}

.site-search-submit,
.site-search-close {
    border: 0;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.22s ease;
}

.site-search-submit {
    min-width: 130px;
    height: 60px;
    padding: 0 26px;
    border-radius: 12px;
    background: linear-gradient(180deg, #1769ee 0%, #0757dd 100%);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 86, 226, 0.28);
    white-space: nowrap;
}

.site-search-submit:hover {
    background: linear-gradient(180deg, #2577f6 0%, #0754d0 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(0, 86, 226, 0.38);
}

.site-search-close {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.035);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}

.site-search-close:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.28);
    transform: rotate(2deg);
}

.site-search-message {
    grid-column: 1 / -1;
    margin: 20px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.88);
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    display: block;
}

.site-search-message strong,
.site-search-message .search-enter {
    color: #2f7cff;
    font-weight: 600;
}

.site-search-message.show { display: block; }

.p1-btn-budget {
    background-color: #0056e2; 
    color: #ffffff; 
    padding: 10px 20px; 
    border-radius: 4px; 
    text-decoration: none;
    font-size: 13px; 
    font-weight: 600; 
    transition: background-color 0.2s; 
    white-space: nowrap;
}
.p1-btn-budget:hover { 
    background-color: #0045b5; 
}
.p1-mobile-toggle {
    display: none;
    font-size: 24px;
    color: #0056e2;
    cursor: pointer;
    background: none;
    border: none;
}

/* ==========================================================================
   3. HERO SLIDER (TOPO)
   ========================================================================== */
.p1-hero-container-slider { 
    position: relative; 
    width: 100%; 
    height: 85vh; 
    min-height: 500px; 
    max-height: 800px; 
    overflow: hidden; 
}
.p1-hero-slider-wrapper { 
    width: 100%; 
    height: 100%; 
    display: flex; 
}
.p1-hero-section {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center center;
    display: flex; 
    align-items: center; 
    padding: 0 5%; 
    opacity: 0; 
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out; 
    z-index: 1;
}
.p1-hero-section.active { 
    opacity: 1; 
    visibility: visible; 
    z-index: 2; 
}
.p1-hero-section::before {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.5) 60%, transparent 100%); 
    z-index: 1;
}
.p1-hero-content {
    position: relative; 
    z-index: 2; 
    max-width: 640px; 
    color: #ffffff;
    transform: translateY(20px); 
    transition: transform 0.8s ease-in-out;
}
.p1-hero-section.active .p1-hero-content { 
    transform: translateY(0); 
}
.p1-hero-content h1 { 
    font-size: clamp(28px, 5vw, 48px); 
    font-weight: 700; 
    line-height: 1.2; 
    margin-bottom: 20px; 
}
.p1-hero-content p { 
    font-size: clamp(14px, 2vw, 16px); 
    font-weight: 400; 
    line-height: 1.6; 
    color: #f1f5f9; 
    margin-bottom: 30px; 
}
.p1-btn-contact-hero {
    display: inline-block; 
    background-color: #ffffff; 
    color: #0f172a; 
    padding: 14px 32px; 
    border-radius: 4px;
    text-decoration: none; 
    font-size: 14px; 
    font-weight: 700; 
    transition: background-color 0.2s;
}
.p1-btn-contact-hero:hover { 
    background-color: #e2e8f0; 
}

.p1-slider-arrow {
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 44px; 
    height: 44px;
    background-color: rgba(0, 86, 226, 0.6); 
    color: #ffffff; 
    display: flex; 
    align-items: center;
    justify-content: center; 
    text-decoration: none; 
    z-index: 10; 
    font-size: 14px; 
    border-radius: 4px;
    transition: background-color 0.2s, transform 0.2s; 
    cursor: pointer;
}
.p1-slider-arrow:hover { 
    background-color: #0056e2; 
}
.p1-arrow-left { left: 20px; }
.p1-arrow-right { right: 20px; }

.p1-hero-slider-dots { 
    position: absolute; 
    bottom: 30px; 
    left: 5%; 
    z-index: 10; 
    display: flex; 
    gap: 10px; 
}
.p1-hero-slider-dot {
    width: 30px; 
    height: 3px; 
    background-color: rgba(255, 255, 255, 0.3); 
    border-radius: 2px;
    cursor: pointer; 
    transition: background-color 0.3s;
}
.p1-hero-slider-dot.active { 
    background-color: #0056e2; 
}

/* ==========================================================================
   4. SEÇÃO POR QUE ESCOLHER A VTECH & SOBRE NÓS
   ========================================================================== */
.p1-main-content-wrapper {
    position: relative; 
    z-index: 20; 
    margin: -40px 5% 0 5%; 
    background-color: #ffffff;
    border-radius: 8px 8px 0 0; 
    padding: 40px 20px 60px 20px; 
    box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.04); 
    text-align: center;
}
.p1-section-tag { 
    font-size: 12px; 
    font-weight: 700; 
    color: #0056e2; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    display: block; 
    margin-bottom: 10px; 
}
.p1-section-title { 
    font-size: clamp(24px, 4vw, 32px); 
    font-weight: 700; 
    color: #000000; 
    margin-bottom: 15px; 
    letter-spacing: -0.5px; 
}

/* Benefício Cards */
.p1-cards-container { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px; 
    margin-bottom: 60px; 
}
.p1-benefit-card {
    position: relative; 
    background-color: #ffffff; 
    border: 1px solid #e2e8f0; 
    border-radius: 8px; 
    padding: 30px 20px;
    text-align: left; 
    overflow: hidden; 
    z-index: 1; 
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.p1-benefit-card:hover { 
    background-color: #000000; 
    border-color: #000000; 
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); 
}
.p1-card-header-box { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 25px; 
}
.p1-card-icon-i { 
    font-size: 36px; 
    color: #0056e2; 
    transition: all 0.4s ease; 
}
.p1-benefit-card:hover .p1-card-icon-i { 
    transform: scale(1.1); 
    color: #ffffff; 
}
.p1-card-number { 
    font-size: 18px; 
    font-weight: 800; 
    color: #cbd5e1; 
    font-family: 'Inter', sans-serif; 
    transition: color 0.4s ease; 
}
.p1-benefit-card:hover .p1-card-number { 
    color: #0056e2; 
}
.p1-benefit-card h3 { 
    font-size: 17px; 
    font-weight: 700; 
    color: #0f172a; 
    margin-bottom: 12px; 
    transition: color 0.4s ease; 
}
.p1-benefit-card:hover h3 { 
    color: #ffffff; 
}
.p1-benefit-card p { 
    font-size: 13px; 
    color: #64748b; 
    line-height: 1.6; 
    transition: color 0.4s ease; 
}
.p1-benefit-card:hover p { 
    color: #94a3b8; 
}

/* Experience Container */
.p1-experience-container { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    align-items: center; 
    text-align: left; 
}
.p1-experience-content .p1-section-title { 
    line-height: 1.2; 
}
.p1-indicator-left { 
    justify-content: flex-start; 
    margin: 15px 0 25px 0; 
}
.p1-experience-content p { 
    font-size: 14px; 
    color: #64748b; 
    line-height: 1.7; 
    margin-bottom: 25px; 
}
.p1-btn-more {
    display: inline-block; 
    background-color: #0056e2; 
    color: #ffffff; 
    padding: 12px 30px; 
    border-radius: 4px;
    text-decoration: none; 
    font-size: 13px; 
    font-weight: 700; 
    transition: background-color 0.2s;
}
.p1-btn-more:hover { 
    background-color: #0045b5; 
}
.p1-experience-image { 
    width: 100%; 
    border-radius: 6px; 
    overflow: hidden; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.06); 
}

/* ==========================================================================
   5. HERO ESCURO E SOLUÇÕES (SERVIÇOS)
   ========================================================================== */
.p2-hero-section {
    position: relative; 
    background: linear-gradient(135deg, #0b1528 0%, #060a12 100%);
    background-size: cover; 
    background-position: center; 
    padding: 80px 0 140px 0; 
    display: flex; 
    justify-content: center; 
    align-items: center;
}
.p2-hero-container { 
    width: 100%; 
    max-width: 1140px; 
    margin: 0 auto; 
    padding: 0 20px; 
    display: flex; 
    align-items: center; 
    gap: 50px; 
}
.p2-hero-video-wrapper {
    flex: 1; 
    position: relative; 
    border-radius: 8px; 
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    aspect-ratio: 16 / 10;
    background: #000; 
    height: auto; 
    max-height: 400px; 
    width: 100%;
}
.p2-hero-content { 
    flex: 1; 
    color: #ffffff; 
}
.p2-hero-tag { 
    color: #0056ff; 
    font-size: 13px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 10px; 
    display: block; 
}
.p2-hero-title { 
    font-size: clamp(28px, 4vw, 38px); 
    font-weight: 700; 
    line-height: 1.2; 
    margin-bottom: 20px; 
    color: #ffffff; 
}
.p2-hero-description { 
    font-size: 15px; 
    line-height: 1.7; 
    color: #a3b3c5; 
    max-width: 480px; 
}

/* Floating Cards Container */
.p2-floating-container {
    max-width: 1140px; 
    margin: -60px auto 0 auto; 
    padding: 0 20px; 
    position: relative; 
    z-index: 30;
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
}
.p2-floating-card {
    background-color: #ffffff; 
    border-radius: 10px; 
    padding: 25px 30px; 
    display: flex; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); 
    transition: transform 0.3s ease;
    flex-direction: column; 
    align-items: flex-start;
    gap: 10px;
}
.p2-floating-card:hover { 
    transform: translateY(-5px); 
}
.p2-card-left-content { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    width: 100%; 
}
.p2-card-icon-box { 
    color: #0056ff; 
    font-size: 28px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}
.p2-card-title { 
    font-size: 18px; 
    font-weight: 700; 
    color: #1a202c; 
    margin-bottom: 5px; 
}
.p2-card-text { 
    font-size: 13px; 
    color: #64748b; 
    line-height: 1.5; 
}

/* Services Solution Grid */
.p2-solutions-section { 
    padding: 80px 0; 
    background-color: #ffffff; 
}
.p2-solutions-header { 
    text-align: center; 
    margin-bottom: 50px; 
    padding: 0 20px; 
}
.p2-solutions-tag { 
    color: #0056ff; 
    font-size: 13px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 10px; 
    display: block; 
}
.p2-solutions-main-title { 
    font-size: clamp(24px, 4vw, 32px); 
    font-weight: 700; 
    color: #1a202c; 
}
.p2-solutions-subtitle {
    font-size: 15px;
    color: #64748b;
    max-width: 700px;
    margin: 15px auto 0 auto;
    line-height: 1.6;
    font-weight: 500;
}
.p2-solutions-grid { 
    max-width: 1140px; 
    margin: 40px auto 0 auto; 
    padding: 0 20px; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    width: 100%; 
}
.p2-solution-box {
    position: relative; 
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    padding: 40px 25px; 
    text-align: center;
    overflow: visible; 
    transition: all 0.4s ease-in-out; 
    background-color: #ffffff; 
    z-index: 1;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.p2-solution-box::before {
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    border-radius: 11px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.9)), var(--bg-image);
    background-size: cover; 
    background-position: center; 
    opacity: 0; 
    transition: opacity 0.4s ease-in-out; 
    z-index: -1;
}
.p2-solution-icon-wrapper { 
    width: auto; 
    height: auto; 
    color: #0056b3; 
    margin-bottom: 20px; 
    transition: all 0.3s ease; 
    display: flex;
    justify-content: center;
    align-items: center;
}
.p2-solution-icon-wrapper img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: invert(37%) sepia(98%) saturate(1240%) hue-rotate(190deg) brightness(95%) contrast(95%);
    transition: filter 0.3s ease;
}
.p2-solution-box-title { 
    font-size: 1.25rem; 
    font-weight: 700; 
    color: #1e293b; 
    margin: 0 0 10px 0; 
    transition: color 0.3s ease; 
}
.p2-solution-box-text { 
    font-size: 0.9rem; 
    color: #64748b; 
    line-height: 1.6; 
    margin: 0 0 15px 0; 
    transition: color 0.3s ease; 
}
.p2-solution-btn {
    position: absolute; 
    bottom: -20px; 
    width: 40px; 
    height: 40px; 
    background-color: #0056b3; 
    color: #ffffff;
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 0.9rem;
    opacity: 0; 
    transform: scale(0.6); 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.4); 
    cursor: pointer; 
    z-index: 2;
}
.p2-solution-box:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25); 
    border-color: #0056b3; 
}
.p2-solution-box:hover::before { 
    opacity: 1; 
}
.p2-solution-box:hover .p2-solution-box-title, 
.p2-solution-box:hover .p2-solution-box-text { 
    color: #ffffff; 
}
.p2-solution-box:hover .p2-solution-icon-wrapper img {
    filter: brightness(0) invert(1);
}
.p2-solution-box:hover .p2-solution-btn { 
    opacity: 1; 
    transform: scale(1); 
}

/* ==========================================================================
   6. SEÇÃO INSTAGRAM E PROJETOS FULL-WIDTH
   ========================================================================== */
.p3-hero-outer {
    width: 100%;
    background-color: var(--p3-primary-blue); 
    background-size: cover; 
    background-position: center; 
    padding: 60px 0; 
    position: relative;
}
.p3-hero-inner { 
    max-width: var(--p3-max-width); 
    margin: 0 auto; 
    padding: 0 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    color: #ffffff; 
    gap: 30px; 
}
.p3-hero-content { max-width: 600px; }
.p3-hero-tag { 
    font-size: 12px; 
    margin-bottom: 8px; 
    opacity: 0.9; 
    font-weight: 500; 
}
.p3-hero-content h1 { 
    font-size: clamp(24px, 4vw, 34px); 
    font-weight: 700; 
    line-height: 1.2; 
    margin-bottom: 12px; 
}
.p3-title-dash-group { 
    display: flex; 
    gap: 4px; 
    margin-bottom: 15px; 
}
.p3-dash-main { 
    width: 30px; 
    height: 3px; 
    background-color: #ffffff; 
    border-radius: 2px; 
}
.p3-dash-dot { 
    width: 6px; 
    height: 3px; 
    background-color: rgba(255, 255, 255, 0.6); 
    border-radius: 2px; 
}
.p3-hero-description { 
    font-size: 14px; 
    line-height: 1.6; 
    font-weight: 500; 
    opacity: 0.95; 
}
.p3-btn-saiba-mais {
    display: inline-block; 
    background-color: #ffffff; 
    color: var(--p3-primary-blue); 
    padding: 12px 30px;
    border-radius: 4px; 
    font-weight: 700; 
    font-size: 13px; 
    text-decoration: none; 
    margin-top: 10px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1); 
    transition: opacity 0.2s;
}
.p3-btn-saiba-mais:hover { 
    opacity: 0.9; 
}

.p3-gallery-section { 
    max-width: var(--p3-max-width); 
    margin: 0 auto; 
    padding: 50px 20px 40px 20px; 
    width: 100%; 
}
.p3-gallery-carousel { 
    width: 100%; 
    position: relative; 
}

/* Working Process Section (Full-Width Split) */
.cftv-hero-section { 
    display: flex; 
    width: 100%; 
    margin: 0; 
    overflow: hidden; 
    background-color: #ffffff; 
}
.cftv-hero-left-wrapper { 
    width: 50%; 
    position: relative; 
    display: flex; 
    flex-direction: column; 
}
.cftv-hero-left-image { 
    width: 100%; 
    height: 100%; 
    flex: 1; 
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 300px; 
}
.cftv-blue-bar {
    width: 100%; 
    background-color: #0056e2; 
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    padding: 20px 5%; 
    min-height: 70px; 
    gap: 15px;
}
.cftv-blue-bar-content { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    flex: 1; 
}
.cftv-blue-bar-icon { 
    width: 36px; 
    height: 36px; 
    background-color: rgba(255, 255, 255, 0.18); 
    border-radius: 6px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0; 
}
.cftv-blue-bar-icon svg { 
    width: 18px; 
    height: 18px; 
    fill: #ffffff; 
}
.cftv-blue-bar h3 { 
    color: #ffffff; 
    font-size: 13px; 
    font-weight: 600; 
    line-height: 1.4; 
    margin: 0; 
}
.cftv-btn-white {
    background-color: #ffffff; 
    color: #0056e2; 
    padding: 8px 20px; 
    border-radius: 4px;
    font-size: 12px; 
    font-weight: 700; 
    text-decoration: none; 
    white-space: nowrap; 
    border: none; 
    cursor: pointer; 
    flex-shrink: 0;
}

.cftv-hero-right {
    width: 50%;
    background-color: #0a1628; 
    padding: 40px 5%; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
}
.cftv-hero-right .subtitle { 
    color: #0056e2; 
    font-size: 11px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    margin-bottom: 10px; 
    display: block; 
}
.cftv-hero-right h2 { 
    color: #ffffff; 
    font-size: clamp(22px, 3vw, 30px); 
    font-weight: 700; 
    line-height: 1.3; 
    margin-bottom: 10px; 
}
.cftv-indicator-lines { 
    display: flex; 
    gap: 3px; 
    margin-bottom: 20px; 
}
.cftv-indicator-lines span { 
    height: 3px; 
    background-color: #0056e2; 
    border-radius: 2px; 
}
.cftv-indicator-lines span:nth-child(1) { width: 25px; }
.cftv-indicator-lines span:nth-child(2) { width: 6px; }
.cftv-indicator-lines span:nth-child(3) { width: 3px; }
.cftv-hero-right .description { 
    color: #c5d0e0; 
    font-size: 13px; 
    line-height: 1.6; 
    margin-bottom: 25px; 
}
.cftv-feature-item { 
    display: flex; 
    align-items: flex-start; 
    margin-bottom: 20px; 
    gap: 15px; 
}
.cftv-feature-icon {
    width: 36px; 
    height: 36px; 
    background-color: rgba(13, 89, 228, 0.2); 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0; 
    border: 1px solid rgba(13, 89, 228, 0.4);
}
.cftv-feature-icon svg { 
    width: 16px; 
    height: 16px; 
    fill: #4da3ff; 
}
.cftv-feature-text h3 { 
    color: #ffffff; 
    font-size: 15px; 
    font-weight: 700; 
    margin-bottom: 4px; 
}
.cftv-feature-text p { 
    color: #b0c1d9; 
    font-size: 12px; 
    line-height: 1.5; 
    margin: 0; 
}

/* ==========================================================================
   7. SEÇÃO DE ABAS INTERATIVAS (CFTV ONLINE)
   ========================================================================== */
.cftv-online-section { 
    padding: 60px 0; 
    background-color: #ffffff; 
}
.cftv-online-section .container { 
    max-width: 1280px; 
    margin: 0 auto; 
    padding: 0 20px; 
}
.cftv-online-section .section-header { 
    text-align: center; 
    margin-bottom: 30px; 
}
.cftv-online-section .section-header .subtitle { 
    color: #0d6efd; 
    font-weight: 600; 
    font-size: 13px; 
    text-transform: uppercase; 
}
.cftv-online-section .section-header h2 { 
    font-size: clamp(24px, 4vw, 36px); 
    font-weight: 700; 
    color: #0b1c3f; 
    margin-top: 8px; 
    margin-bottom: 12px; 
}
.cftv-online-section .section-header .header-desc { 
    font-size: 15px; 
    color: #64748b; 
    font-weight: 500; 
    margin-top: 5px; 
    margin-bottom: 15px; 
}
.cftv-online-section .header-line { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}
.cftv-online-section .header-line span { 
    width: 40px; 
    height: 3px; 
    background-color: #0d6efd; 
    display: inline-block; 
    position: relative; 
}
.cftv-online-section .header-line span::after { 
    content: ''; 
    position: absolute; 
    right: -8px; 
    top: 0; 
    width: 5px; 
    height: 3px; 
    background-color: #0d6efd; 
}

/* Tab Cards Structure */
.cftv-online-section .tabs-container { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px; 
    margin-bottom: 40px; 
}
.cftv-online-section .tab-card {
    background: #fff; 
    border: 1px solid #ededed; 
    border-radius: 6px; 
    padding: 20px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    cursor: pointer; 
    transition: all 0.3s ease;
}
.cftv-online-section .tab-card svg { 
    width: 24px; 
    height: 24px; 
    fill: #0d6efd; 
    transition: fill 0.3s; 
}
.cftv-online-section .tab-card span { 
    font-size: 16px; 
    font-weight: 700; 
    color: #0d6efd; 
    transition: color 0.3s; 
}
.cftv-online-section .tab-card.active { 
    background-color: #0d6efd; 
    border-color: #0d6efd; 
}
.cftv-online-section .tab-card.active svg { 
    fill: #ffffff; 
}
.cftv-online-section .tab-card.active span { 
    color: #ffffff; 
}

/* Tab Content Panel */
.cftv-online-section .tab-content { 
    display: none; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    align-items: center; 
    animation: fadeIn 0.5s ease; 
    margin-bottom: 40px; 
}
.cftv-online-section .tab-content.active { 
    display: grid; 
}
.cftv-online-section .layout-left .media-container { order: 1; }
.cftv-online-section .layout-left .text-container { order: 2; }
.cftv-online-section .layout-right .text-container { order: 1; }
.cftv-online-section .layout-right .media-container { order: 2; }

.cftv-online-section .media-container {
    position: relative; 
    width: 100%; 
    height: 350px; 
    border-radius: 8px; 
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    background-color: #f0f0f0;
}
.cftv-online-section .media-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.cftv-online-section .text-container h3 { 
    font-size: 24px; 
    font-weight: 700; 
    color: #0b1c3f; 
    margin-bottom: 15px; 
}
.cftv-online-section .text-container .description { 
    font-size: 14px; 
    line-height: 1.7; 
    color: #7e8492; 
    margin-bottom: 20px; 
}
.cftv-online-section .text-container h4 { 
    font-size: 16px; 
    font-weight: 700; 
    color: #0b1c3f; 
    margin-bottom: 12px; 
}
.cftv-online-section .features-list { 
    list-style: none; 
    margin-bottom: 25px; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 10px; 
}
.cftv-online-section .features-list li { 
    font-size: 13px; 
    color: #555861; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    margin-bottom: 0; 
}
.cftv-online-section .features-list li svg { 
    width: 12px; 
    height: 12px; 
    fill: #0d6efd; 
    flex-shrink: 0; 
}
.cftv-online-section .btn-contact { 
    display: inline-block; 
    background-color: #0d6efd; 
    color: #fff; 
    padding: 12px 25px; 
    border-radius: 4px; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 13px; 
    transition: background-color 0.3s; 
}
.cftv-online-section .btn-contact:hover { 
    background-color: #0b5ed7; 
}
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Features Horizontal Bar inside CFTV */
.vtech-features-bar-container {
    width: 100%;
    background-color: transparent;
    border-top: 1px solid #ededed;
    padding: 24px 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
}
.vtech-feature-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}
.vtech-features-bar-icon {
    color: #0d6efd;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
}
.vtech-feature-bar-text h3 {
    color: #0b1c3f;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 3px;
    white-space: nowrap;
}
.vtech-feature-bar-text p {
    color: #64748b;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
}
.vtech-bar-divider {
    width: 1px;
    height: 32px;
    background-color: #ededed;
    flex-shrink: 0;
    margin: 0 5px;
}
.vtech-item-button-row {
    flex: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.vtech-feature-bar-sub-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.vtech-btn-contract-now {
    background-color: #0d6efd;
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}
.vtech-btn-contract-now i {
    font-size: 14px;
}
.vtech-btn-contract-now:hover {
    background-color: #0b5ed7;
}

/* ==========================================================================
   8. FORMULÁRIO DE CONTATO INTEGRADOR E RODAPÉ
   ========================================================================== */
.p5-combined-section { 
    background-color: var(--p5-bg-dark-blue); 
    padding: 60px 5% 0 5%; 
    color: #ffffff; 
    position: relative; 
}
.p5-separator-line { 
    width: 100vw; 
    height: 6px; 
    background-color: #ffffff; 
    display: block; 
    margin: 0; 
    border: none; 
    position: relative; 
    left: 50%; 
    transform: translateX(-50%); 
}

.p5-form-container { 
    max-width: 700px; 
    margin: 0 auto 60px auto; 
    text-align: center; 
}
.p5-form-tag { 
    color: var(--p5-primary-blue); 
    font-size: 11px; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    display: block; 
    margin-bottom: 10px; 
}
.p5-form-title { 
    font-size: clamp(24px, 4vw, 32px); 
    font-weight: 700; 
    margin-bottom: 12px; 
}
.p5-indicator-center { 
    display: flex; 
    justify-content: center; 
    gap: 4px; 
    margin-bottom: 30px; 
}
.p5-indicator-center span { 
    height: 3px; 
    background-color: var(--p5-primary-blue); 
    display: inline-block; 
    border-radius: 2px; 
}
.p5-indicator-center span.long { width: 30px; }
.p5-indicator-center span.short { width: 5px; }

/* Form Technical Fields */
.p5-contact-form { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}
.p5-form-row { 
    display: flex; 
    gap: 15px; 
}
.p5-form-group { 
    flex: 1; 
    position: relative; 
}
.p5-form-group i { 
    position: absolute; 
    left: 15px; 
    top: 50%; 
    transform: translateY(-50%); 
    color: var(--p5-text-muted); 
    font-size: 14px; 
    pointer-events: none; 
}
.p5-form-group i.fa-comment-dots { 
    top: 20px; 
    transform: none; 
}
.p5-input-field {
    width: 100%; 
    background-color: var(--p5-input-bg); 
    border: 1px solid var(--p5-border-color); 
    border-radius: 4px;
    padding: 14px 15px 14px 40px; 
    color: #ffffff; 
    font-family: 'Montserrat', sans-serif; 
    font-size: 13px; 
    font-weight: 500;
    outline: none; 
    transition: border-color 0.3s;
}
.p5-input-field:focus { 
    border-color: var(--p5-primary-blue); 
    background-color: rgba(255, 255, 255, 0.05); 
}
.p5-textarea-field { 
    height: 120px; 
    resize: none; 
}
.p5-btn-submit {
    background-color: var(--p5-primary-blue); 
    color: #ffffff; 
    border: none; 
    padding: 14px 30px;
    font-family: 'Montserrat', sans-serif; 
    font-size: 13px; 
    font-weight: 700; 
    border-radius: 4px;
    cursor: pointer; 
    align-self: center; 
    transition: background-color 0.2s; 
    box-shadow: 0 4px 15px rgba(27, 110, 243, 0.3);
}
.p5-btn-submit:hover { 
    background-color: #0b5cd4; 
}

/* Footer Grid Structure */
.p5-main-footer { 
    padding-top: 60px; 
    display: grid; 
    grid-template-columns: 1.3fr 1fr 1fr 1.1fr; 
    gap: 30px; 
    text-align: left; 
    margin-bottom: 40px; 
}
.p5-footer-section h4 { 
    font-size: 14px; 
    font-weight: 700; 
    margin-bottom: 20px; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: #ffffff; 
}
.p5-about-text { 
    color: var(--p5-text-muted); 
    font-size: 12px; 
    line-height: 1.5; 
    margin: 12px 0; 
}
.p5-footer-col-offset { 
    margin-top: 45px; 
}
.p5-social-icons { 
    display: flex; 
    gap: 10px; 
}
.p5-social-link {
    width: 32px; 
    height: 32px; 
    background-color: rgba(255, 255, 255, 0.05); 
    border-radius: 4px;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #ffffff; 
    text-decoration: none; 
    font-size: 13px; 
    transition: background-color 0.2s;
}
.p5-social-link:hover { 
    background-color: var(--p5-primary-blue); 
}
.p5-footer-menu { 
    list-style: none; 
}
.p5-footer-menu li { 
    margin-bottom: 10px; 
}
.p5-footer-menu a { 
    color: var(--p5-text-muted); 
    text-decoration: none; 
    font-size: 13px; 
    font-weight: 500; 
    transition: color 0.2s; 
}
.p5-footer-menu a:hover { 
    color: var(--p5-primary-blue); 
}
.p5-contact-info-list { 
    list-style: none; 
}
.p5-contact-info-list li { 
    display: flex; 
    align-items: flex-start; 
    gap: 12px; 
    color: var(--p5-text-muted); 
    font-size: 13px; 
    line-height: 1.5; 
    margin-bottom: 12px; 
}
.p5-contact-info-list i { 
    color: var(--p5-primary-blue); 
    font-size: 14px; 
    margin-top: 2px; 
}
.p5-newsletter-desc { 
    color: var(--p5-text-muted); 
    font-size: 13px; 
    line-height: 1.5; 
    margin-bottom: 15px; 
}
.p5-newsletter-form { 
    display: flex; 
    position: relative; 
}
.p5-newsletter-input {
    width: 100%; 
    background-color: rgba(0, 0, 0, 0.2); 
    border: 1px solid var(--p5-border-color); 
    border-radius: 4px;
    padding: 12px 50px 12px 15px; 
    color: #ffffff; 
    font-family: 'Montserrat', sans-serif; 
    font-size: 12px; 
    outline: none;
}
.p5-newsletter-input:focus { 
    border-color: var(--p5-primary-blue); 
}
.p5-btn-newsletter {
    position: absolute; 
    right: 0; 
    top: 0; 
    height: 100%; 
    width: 45px; 
    background-color: var(--p5-primary-blue);
    color: #ffffff; 
    border: none; 
    border-radius: 0 4px 4px 0; 
    cursor: pointer; 
    font-size: 12px; 
    transition: background-color 0.2s;
}
.p5-btn-newsletter:hover { 
    background-color: #0b5cd4; 
}

/* Copyright Bottom Bar */
.p5-copyright-bar { 
    border-top: 1px solid var(--p5-border-color); 
    padding-top: 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-size: 11px; 
    color: var(--p5-text-muted); 
    font-weight: 500; 
    flex-wrap: wrap; 
    gap: 10px; 
}
.p5-copyright-links { 
    display: flex; 
    gap: 20px; 
}
.p5-copyright-links a { 
    color: var(--p5-text-muted); 
    text-decoration: none; 
    transition: color 0.2s; 
}
.p5-copyright-links a:hover { 
    color: var(--p5-primary-blue); 
}

/* ==========================================================================
   9. MEDIA QUERIES (RESPONSIVIDADE COMPLETA)
   ========================================================================== */
@media (max-width: 1200px) {
    .vtech-features-bar-container {
        grid-template-columns: repeat(2, 1fr);
        display: grid;
        gap: 25px;
        padding: 30px;
        border-top: none;
    }
    .vtech-bar-divider { display: none; }
    .vtech-item-button-row { flex: none; grid-column: span 2; }
}

@media (max-width: 1140px) {
    .p1-cards-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .p5-main-footer { grid-template-columns: 1fr 1fr; }
    .p5-footer-col-offset { margin-top: 0; }
}

@media (max-width: 768px) {
    .p1-top-bar { flex-direction: column; gap: 8px; text-align: center; padding: 8px 5%; }
    .p1-top-bar-left span { margin-right: 10px; font-size: 11px; }
    .social-header-buttons { margin-top: 5px; }
    .p1-main-header { flex-direction: row; justify-content: space-between; padding: 15px 5%; }
    .p1-logo-container { margin-right: auto; }
    .p1-mobile-toggle { display: block; margin-left: 15px; order: 3; }
    
    .p1-nav-container {
        position: fixed; 
        top: 0; 
        right: -100%; 
        width: 80%; 
        max-width: 300px; 
        height: 100vh;
        background-color: #ffffff; 
        flex-direction: column; 
        align-items: flex-start;
        padding: 80px 20px 20px 20px; 
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out; 
        z-index: 1000; 
        gap: 0;
    }
    .p1-nav-container.active { right: 0; }
    .p1-main-menu { flex-direction: column; width: 100%; gap: 0; margin-bottom: 20px; }
    .p1-main-menu li { width: 100%; border-bottom: 1px solid #f1f5f9; }
    .p1-main-menu a { display: block; padding: 15px 0; font-size: 16px; }
    .p1-search-icon { display: flex; align-items: center; justify-content: center; }
    .site-search-panel {
        left: 50%;
        right: auto;
        width: calc(100% - 24px);
        transform: translate(-50%, -10px);
    }
    .site-search-panel.open { transform: translate(-50%, 0); }
    .site-search-box {
        grid-template-columns: auto 1fr auto;
        gap: 14px;
        padding: 22px 20px 18px;
        border-radius: 16px;
    }
    .site-search-box > i { font-size: 24px; }
    .site-search-input { font-size: 16px; }
    .site-search-submit {
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        height: 48px;
        font-size: 14px;
        order: 5;
    }
    .site-search-close {
        width: 42px;
        height: 42px;
        font-size: 17px;
    }
    .site-search-message {
        grid-column: 1 / -1;
        margin-top: 14px;
        padding-top: 14px;
        font-size: 12px;
    }
    .p1-btn-budget { width: 100%; text-align: center; margin-top: 10px; }

    .p1-menu-overlay {
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        height: 100%;
        background: rgba(0,0,0,0.5); 
        z-index: 999; 
        opacity: 0; 
        visibility: hidden;
        transition: opacity 0.3s;
    }
    .p1-menu-overlay.active { opacity: 1; visibility: visible; }
    
    .p1-hero-container-slider { height: 70vh; min-height: 450px; }
    .p1-hero-content { text-align: center; padding: 0 10px; }
    .p1-slider-arrow { display: none; }
    .p1-hero-slider-dots { bottom: 20px; left: 50%; transform: translateX(-50%); }
    .p1-main-content-wrapper { margin: -30px 3% 0 3%; padding: 30px 15px 40px 15px; }
    .p1-cards-container { grid-template-columns: 1fr; gap: 20px; }
    .p1-experience-container { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .p1-indicator-left { justify-content: center; }
    .p1-experience-image { order: -1; margin-bottom: 10px; }
    .p2-hero-container { flex-direction: column; text-align: center; gap: 30px; }
    .p2-hero-video-wrapper { width: 100%; height: auto; aspect-ratio: 16/9; }
    .p2-hero-description { margin: 0 auto; }
    .p2-floating-container { grid-template-columns: 1fr; margin-top: -40px; }
    .p2-solutions-grid { grid-template-columns: 1fr; }
    .p3-hero-inner { flex-direction: column; text-align: center; gap: 20px; }
    .p3-title-dash-group { justify-content: center; }
    .cftv-hero-section { flex-direction: column; }
    .cftv-hero-left-wrapper, .cftv-hero-right { width: 100%; }
    .cftv-hero-left-image { height: 250px; }
    .cftv-blue-bar { flex-direction: column; text-align: center; padding: 15px; gap: 10px; }
    .cftv-blue-bar-content { justify-content: center; }
    .cftv-hero-right { padding: 30px 5%; }
    .cftv-online-section .tabs-container { grid-template-columns: 1fr; }
    .cftv-online-section .tab-content { grid-template-columns: 1fr; gap: 25px; }
    .cftv-online-section .layout-left .media-container, .cftv-online-section .layout-right .media-container { order: 1; }
    .cftv-online-section .layout-left .text-container, .cftv-online-section .layout-right .text-container { order: 2; }
    .cftv-online-section .media-container { height: 250px; }
    .cftv-online-section .features-list { grid-template-columns: 1fr; }
    .vtech-features-bar-container { grid-template-columns: 1fr; }
    .vtech-item-button-row { grid-column: span 1; flex-direction: column; align-items: flex-start; gap: 20px; }
    .vtech-btn-contract-now { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .p1-hero-content h1 { font-size: 26px; }
}

.p2-solution-box { scroll-margin-top: 130px; }

@media (min-width: 769px) {
    .site-search-panel {
        width: min(805px, calc(100% - 40px));
    }

    .site-search-box {
        column-gap: 16px;
        padding: 20px 30px 18px;
        border-radius: 14px;
    }

    .site-search-box > i {
        font-size: 30px;
    }

    .site-search-input {
        font-size: 18px;
        padding: 7px 0;
    }

    .site-search-submit {
        min-width: 104px;
        height: 44px;
        padding: 0 20px;
        border-radius: 9px;
        font-size: 15px;
    }

    .site-search-close {
        width: 44px;
        height: 44px;
        font-size: 17px;
    }

    .site-search-message {
        margin-top: 14px;
        padding-top: 14px;
        font-size: 13px;
    }
}