/* --- ESTILOS GERAIS --- */
body.no-scroll { overflow: hidden; height: 100vh; margin: 0; padding: 0; }
:root { --primary: #fc1210; --primary-dark: #d00f0d; --dark: #091045; --gray: #f4f4f4; --text: #333; --white: #ffffff; --gold: #FFD700; --safe-top: env(safe-area-inset-top); --safe-bottom: env(safe-area-inset-bottom); }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; -webkit-tap-highlight-color: transparent; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
body { color: var(--text); line-height: 1.6; background-color: var(--gray); overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; }

/* --- TELA DE ABERTURA --- */
#tech-intro { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #091045; background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px); background-size: 30px 30px; z-index: 100002; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1); transform: translateY(0); }
#tech-intro.slide-up { transform: translateY(-100%); }
.tech-content { text-align: center; position: relative; z-index: 2; width: 90%; }
.tech-logo { width: 280px; max-width: 80%; margin-bottom: 40px; animation: logoEntrance 0.8s ease-out forwards; filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2)); }
.loader-container { width: 300px; max-width: 90%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; margin: 0 auto; }
.loader-bar { height: 100%; width: 0%; background: #fc1210; border-radius: 10px; box-shadow: 0 0 10px #fc1210; animation: loadingProgress 2.8s linear forwards; }
.loading-text { color: #fff; font-size: 0.9rem; margin-top: 15px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.7; animation: textPulse 0.5s infinite; }

/* --- SPLASH SCREEN --- */
#splash-screen { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(255, 255, 255, 0.6); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); z-index: 100001; display: flex; justify-content: center; align-items: center; opacity: 1; visibility: visible; transition: opacity 0.2s ease-out, visibility 1s ease-out; padding: 20px; }
#splash-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#splash-screen img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); animation: scaleUp 1s ease-out; }
.close-splash { position: absolute; top: 20px; right: 30px; font-size: 40px; color: #fc1210; font-weight: bold; cursor: pointer; z-index: 100000; background: white; border-radius: 50%; width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: 0.1s; }
.mobile-splash { display: none; }
@media (max-width: 900px) { .desktop-splash { display: none; } .mobile-splash { display: block; } }

/* --- ANIMAÇÕES --- */
@keyframes loadingProgress { 0% { width: 0%; } 100% { width: 100%; } }
@keyframes logoEntrance { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes textPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }
@keyframes scaleUp { from { transform: scale(0.95); } to { transform: scale(1); } }
@keyframes scrollLogo { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- HEADER --- */
header { background: var(--dark); color: var(--white); padding: 0 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 15px rgba(0,0,0,0.4); height: 90px; padding-top: var(--safe-top); }
.nav-left { flex: 1; display: flex; justify-content: center; height: 100%; align-items: center; }
.nav-item { position: relative; height: 100%; display: flex; align-items: center; }

/* LINK MENU DESKTOP */
.nav-link { 
    color: var(--white); 
    text-decoration: none; 
    display: flex; 
    align-items: center; 
    height: 100%; 
    padding: 0 25px; 
    transition: all 0.3s ease; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-size: 0.95rem; 
    cursor: pointer; 
    white-space: nowrap; 
}

.nav-link:hover { 
    background-color: var(--primary); 
    color: white; 
    border-radius: 6px; 
}

/* --- CAIXA DO SUBMENU --- */
.dropdown-menu { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background-color: #ffffff; 
    min-width: 300px; 
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.3); 
    border-top: 4px solid var(--primary); 
    border-radius: 0 0 8px 8px; 
    z-index: 1001; 
    padding: 10px 0; 
    animation: fadeIn 0.3s ease; 
}

.nav-item.active .dropdown-menu { display: block; }

/* ========================================================== */
/* --- CORES PERSONALIZÁVEIS DO SUBMENU --- */
/* ========================================================== */
.dropdown-item { 
    display: flex; 
    align-items: center; 
    padding: 14px 20px; 
    color: #222222; 
    background-color: #ffffff; 
    font-weight: 600; 
    text-decoration: none; 
    font-size: 1rem; 
    border-bottom: 1px solid #eeeeee; 
    border-left: 4px solid transparent; 
    transition: all 0.2s ease-in-out; 
    cursor: pointer; 
}

.dropdown-item:last-child { border-bottom: none; }

.dropdown-item:hover { 
    background-color: #1b0286; 
    color: #ffffff; 
    border-left: 4px solid var(--primary); 
    padding-left: 24px; 
}

.menu-icon { width: 24px; height: 24px; margin-right: 15px; fill: var(--dark); transition: 0.2s; }
.dropdown-item:hover .menu-icon { fill: #ffffff; }

.dropdown-title { 
    padding: 10px 20px; 
    font-size: 0.9rem; 
    color: var(--dark); 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    border-bottom: 2px solid #ffffff; 
    margin-bottom: 5px;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.logo-center { flex: 1; display: flex; justify-content: flex-start; align-items: center; height: 100%; order: -1; }
.logo-center img { height: 65px; width: auto; transition: 0.3s; }
.logo-center img:hover { transform: scale(1.05); }
.social-right { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.social-icon { width: 24px; height: 24px; fill: rgba(255,255,255,0.8); transition: 0.3s; }
.social-icon:hover { fill: var(--primary); transform: translateY(-3px); }

/* ========================================================== */
/* --- SLIDESHOW DO TOPO (Com Borda Vermelha na Ondulação) -- */
/* ========================================================== */
.welcome-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    position: relative;
    left: calc(50% - 50vw); 
    z-index: 20;
    margin-top: -150px; 
    padding-bottom: 0px; 
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 8px; 
    left: 0;
    width: 100vw;
    height: 75vh;
    min-height: 500px;
    background-color: var(--primary); 
    clip-path: polygon(100% 0, 100% 85%, 72% 98%, 35% 85%, 0 100%, 0 0);
    -webkit-clip-path: polygon(100% 0, 100% 85%, 72% 98%, 35% 85%, 0 100%, 0 0);
    z-index: 10;
}

.hero-slider {
    display: grid;
    width: 100vw; 
    height: 75vh; 
    min-height: 500px;
    position: relative;
    background-color: var(--dark);
    place-items: center;
    z-index: 15; 
    clip-path: polygon(100% 0, 100% 85%, 72% 98%, 35% 85%, 0 100%, 0 0);
    -webkit-clip-path: polygon(100% 0, 100% 85%, 72% 98%, 35% 85%, 0 100%, 0 0);
}

.hero-slider::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(9, 16, 69, 0.8) 0%, rgba(0,0,0,0.1) 60%);
    z-index: 16;
    pointer-events: none;
}

.hero-slider .slide {
    grid-area: 1 / 1;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fadeHero 40s infinite;
}

.hero-slider .welcome-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider .slide:nth-child(1) { animation-delay: 0s; }
.hero-slider .slide:nth-child(2) { animation-delay: 10s; }
.hero-slider .slide:nth-child(3) { animation-delay: 20s; }
.hero-slider .slide:nth-child(4) { animation-delay: 30s; }

@keyframes fadeHero {
    0% { opacity: 0; transform: scale(1.05); }
    5% { opacity: 1; transform: scale(1); }
    20% { opacity: 1; transform: scale(1); }
    25% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; }
}

.welcome-text { 
    position: absolute; 
    bottom: -50px; 
    left: 50%;
    transform: translateX(-50%); 
    z-index: 30;
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8); 
    padding: 12px 40px; 
    border-radius: 24px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.3); 
    width: max-content; 
    max-width: 90%; 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.welcome-text h4 { color: var(--dark); font-size: 2.2rem; font-weight: 800; margin: 0 0 5px 0; text-transform: uppercase; letter-spacing: 1px; text-shadow: none; }
.welcome-text span { color: var(--primary); text-shadow: none; }
.welcome-text p { font-size: 1.15rem; color: #555; font-weight: 600; margin: 0; padding-left: 0; border-left: none; }

/* ========================================================== */
/* SEÇÃO TELA DE CONCRETO 221 - PARALLAX ESTÁTICO PERFEITO    */
/* ========================================================== */
.partners-wrapper { 
    position: relative; 
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('IMG/tela de concreto 221.png'); 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
    padding-top:150px; 
    padding-bottom: 2rem; 
    margin: 0; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    width: 100vw;
    left: calc(50% - 50vw); 
}

.partners-strip { width: 95%; max-width: 1300px; height: 140px; background-color: var(--primary); border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.3); display: flex; align-items: center; overflow: hidden; position: relative; z-index: 10; border: 4px solid white; margin: 40px auto 0 auto; }
.partners-track { display: flex; align-items: center; width: max-content; animation: scrollLogo 30s linear infinite; }
@keyframes scrollLogo { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.partners-strip:hover .partners-track,
.partners-strip:active .partners-track { 
    animation-play-state: paused !important; 
}
.partner-logo { width: 140px; height: 90px; object-fit: contain; margin: 0 35px; filter: brightness(0) invert(1); opacity: 0.9; transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease; }
.partner-logo:hover { transform: scale(1.2); opacity: 1; }

/* SEÇÃO DE PRODUTOS */
.products-section { 
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('IMG/fundo BG.png'); 
    background-size: cover; 
    background-position: center; 
    padding: 6rem 0; 
    width: 100vw;
    position: relative;
    left: calc(50% - 50vw);
}

.section-title { text-align: center; margin: 0 0 4rem; font-size: 2.5rem; color: var(--dark); font-weight: 800; text-transform: uppercase; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 2.5rem; }
.card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); transition: 0.3s; display: flex; flex-direction: column; border: 1px solid #f0f0f0; flex: 0 1 350px; width: 100%; }
.card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 15px 40px rgba(252, 18, 16, 0.15); }
.product-link { display: block; width: 100%; height: 240px; overflow: hidden; position: relative; }
.product-link img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.product-link:hover img { transform: scale(1.1); }
.product-link::after { content: '🔗 Ver Detalhes'; position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0,0,0,0.6); color: white; text-align: center; padding: 10px; opacity: 0; transition: 0.3s; font-weight: bold; }
.product-link:hover::after { opacity: 1; }
.card-content { padding: 2rem; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card h3 { color: var(--primary); margin-bottom: 0.8rem; font-size: 1.4rem; }
.card p { color: #555; font-size: 1rem; margin-bottom: 1.5rem; line-height: 1.6; }

.card-buttons { display: flex; flex-direction: column; gap: 12px; width: 100%; margin-top: 10px; }
.product-btn { background-color: var(--primary); color: white; border: none; padding: 15px; width: 100%; border-radius: 8px; font-weight: bold; cursor: pointer; transition: 0.3s; text-align: center; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.5px; }
.product-btn:hover { background-color: var(--primary-dark); transform: scale(1.02); }
.product-btn-outline { display: flex; align-items: center; justify-content: center; background-color: transparent; color: var(--primary); border: 2px solid var(--primary); padding: 13px; width: 100%; border-radius: 8px; font-weight: bold; cursor: pointer; transition: 0.3s; text-align: center; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.5px; text-decoration: none; }
.product-btn-outline:hover { background-color: var(--primary); color: white; transform: scale(1.02); }

.partial-image-divider { width: 100%; height: 180px; background-color: var(--dark); display: flex; align-items: center; justify-content: center; box-shadow: inset 0 0 30px rgba(0,0,0,0.4); position: relative; }
.partial-image-divider::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: var(--primary); }
.partial-text { color: white; font-size: 2.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; text-align: center; padding: 0 20px; }

/* ========================================================== */
/* SEÇÃO FAÇA SEU ORÇAMENTO - PARALLAX ESTÁTICO PERFEITO      */
/* ========================================================== */
.hero { 
    background: linear-gradient(rgba(10, 10, 30, 0.85), rgba(10, 10, 30, 0.85)), url('IMG/porto seguro.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
    padding: 6rem 20px; 
    min-height: 80vh; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    color: var(--white); 
    width: 100vw;
    position: relative;
    left: calc(50% - 50vw);
}

.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); font-weight: 800; }
.hero p { font-size: 1.4rem; margin-bottom: 3rem; max-width: 700px; font-weight: 400; opacity: 0.9; }
.location-widget { background: var(--white); padding: 3rem; border-radius: 16px; box-shadow: 0 25px 60px rgba(0,0,0,0.6); max-width: 600px; width: 100%; border-top: 6px solid var(--primary); }
.location-widget h3 { color: var(--dark); margin-bottom: 1.5rem; font-size: 1.8rem; font-weight: 800; }
#product-display-info { background-color: #f4f4f4; padding: 15px; border-radius: 8px; margin-bottom: 20px; color: var(--primary); font-weight: 700; font-size: 1.1rem; display: none; text-align: center; border-left: 6px solid var(--primary); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

/* --- INPUTS & FORMS --- */
select, input, textarea { width: 100%; padding: 18px; margin-bottom: 25px; border: 2px solid #e0e0e0; border-radius: 8px !important; font-size: 1.1rem; background-color: #fff; color: #333; outline: none; cursor: pointer; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
select { background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"); background-repeat: no-repeat; background-position: right 15px top 50%; background-size: 12px auto; padding-right: 30px; }
select:focus, input:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(252, 18, 16, 0.1); }
.btn-whatsapp-final { display: flex; align-items: center; justify-content: center; width: 100%; padding: 20px; background-color: #25D366; color: white; text-decoration: none; font-weight: 700; font-size: 1.2rem; border-radius: 8px; transition: 0.3s; border: none; cursor: pointer; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); text-transform: none; -webkit-appearance: none; appearance: none; }
.btn-whatsapp-final:hover { background-color: #1ebc57; transform: translateY(-4px); }
.wa-icon { width: 28px; height: 28px; margin-right: 12px; fill: white; }

/* SEÇÃO SOBRE NÓS */
.about-section { 
    background-color: #f9f9f9; 
    padding: 6rem 0; 
    border-bottom: 1px solid #eee; 
    width: 100vw;
    position: relative;
    left: calc(50% - 50vw);
}

.about-content-wrapper { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 4rem; margin-bottom: 3rem; }
.about-text p { color: #555; font-size: 1.15rem; margin-bottom: 1.5rem; line-height: 1.8; text-align: justify; }
.about-text p strong { color: var(--dark); font-weight: 700; }
.units-container h3 { color: var(--dark); font-size: 1.8rem; margin-bottom: 1.5rem; border-left: 5px solid var(--primary); padding-left: 15px; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
.city-badge { background: white; padding: 15px; border-radius: 8px; text-align: center; font-weight: bold; color: var(--dark); box-shadow: 0 4px 10px rgba(0,0,0,0.05); border: 1px solid #eee; transition: 0.3s; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.95rem; }
.city-badge.matriz { background-color: var(--dark); color: white; grid-column: span 2; }
.city-badge:hover { transform: translateY(-3px); border-color: var(--primary); }
.map-full-container { width: 100%; height: 500px; border-radius: 16px; overflow: hidden; box-shadow: 0 15px 40px rgba(0,0,0,0.15); border: 5px solid white; }
.map-full-container iframe { width: 100%; height: 100%; border: 0; }

/* SEÇÃO DE VÍDEOS */
.video-section { 
    padding: 5rem 0; 
    background-color: white; 
    text-align: center; 
    width: 100vw;
    position: relative;
    left: calc(50% - 50vw);
}

.video-wrapper { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.carousel-container { display: flex; overflow-x: auto; scroll-behavior: smooth; gap: 20px; padding-bottom: 20px; scrollbar-width: none; -ms-overflow-style: none; }
.carousel-container::-webkit-scrollbar { display: none; }
.video-card { flex: 0 0 350px; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); background: #000; position: relative; cursor: pointer; }
.video-card iframe { width: 100%; height: 200px; border: none; pointer-events: none; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.2); display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.video-overlay:hover { background: rgba(0,0,0,0.4); }
.video-overlay::after { content: '▶'; color: white; font-size: 3rem; opacity: 0.8; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background-color: var(--primary); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: 0.3s; }
.nav-btn:hover { background-color: var(--primary-dark); transform: scale(1.1); }
.prev-btn { left: 0; }
.next-btn { right: 0; }

.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.9); align-items: center; justify-content: center; }
.modal-content { position: relative; width: 80%; max-width: 900px; aspect-ratio: 16/9; background: #000; border-radius: 10px; box-shadow: 0 0 50px rgba(255,255,255,0.1); }
.modal-content iframe { width: 100%; height: 100%; border: none; border-radius: 10px; }
.close-modal { position: absolute; top: -40px; right: 0; color: white; font-size: 40px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.close-modal:hover { color: var(--primary); }

/* SEÇÃO FEEDBACK */
.feedback-section { 
    background-color: #f4f6f8; 
    padding: 4rem 0; 
    text-align: center; 
    width: 100vw;
    position: relative;
    left: calc(50% - 50vw);
}

.feedback-container { max-width: 700px; margin: 0 auto; background: white; padding: 3rem; border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-top: 5px solid var(--primary); }
.feedback-title { font-size: 2rem; color: var(--dark); margin-bottom: 0.5rem; font-weight: 800; }
.feedback-subtitle { color: #777; margin-bottom: 2rem; }
.star-rating { display: flex; justify-content: center; gap: 15px; margin-bottom: 25px; cursor: pointer; }
.star { font-size: 3rem; color: #ddd; transition: 0.2s; }
.star.active, .star:hover { color: var(--gold); transform: scale(1.1); }
.form-group { margin-bottom: 15px; text-align: left; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; background-color: #f9f9f9; font-family: inherit; }
.form-textarea { height: 120px; resize: vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--primary); outline: none; background-color: white; }

/* RODAPÉ */
footer { 
    background: var(--dark); 
    color: #888; 
    text-align: center; 
    padding: 3rem 2rem; 
    margin-top: auto; 
    border-top: 1px solid #222; 
    width: 100vw;
    position: relative;
    left: calc(50% - 50vw);
}

/* --- BOTÃO HAMBÚRGUER --- */
.menu-toggle { display: none; flex-direction: column; cursor: pointer; gap: 6px; z-index: 1005; }
.menu-toggle span { width: 30px; height: 3px; background-color: white; border-radius: 5px; transition: all 0.3s ease; }

/* SETA (Para menu mobile) */
.arrow { font-size: 0.8rem; transition: transform 0.3s; display: none; }
.nav-item.active .arrow { transform: rotate(180deg); color: var(--primary); }

/* --- ESTILOS PARA O SUBMENU ANINHADO (VENDEDORES) --- */
.parent-item { justify-content: space-between; font-weight: 600; background-color: rgba(255,255,255,0.03); cursor: pointer; }
.nested-menu { display: none; background-color: rgba(0,0,0,0.2); overflow: hidden; border-left: 2px solid var(--primary); margin-left: 20px; }
.nested-group.active .nested-menu { display: block; animation: slideDownNested 0.3s ease forwards; }
.sub-item { padding-left: 15px !important; font-size: 0.9rem !important; color: #aaa !important; }
.sub-item::before { content: ''; display: inline-block; width: 6px; height: 6px; background: #ccc; border-radius: 50%; margin-right: 10px; }
.sub-item:active { color: var(--primary) !important; font-weight: bold; background: white !important; }
.sub-item:active::before { background: var(--primary); }
.arrow-small { font-size: 0.7rem; transition: transform 0.3s; }
.nested-group.active .arrow-small { transform: rotate(180deg); color: var(--primary); }
@keyframes slideDownNested { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* --- INDICADORES CARROSSEL PRODUTOS --- */
.carousel-dots { display: none; justify-content: center; margin-top: 15px; gap: 10px; }
.dot { width: 12px; height: 12px; background-color: #ccc; border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background-color: var(--primary); transform: scale(1.2); }

/* ========================================================================== */
/* ADAPTAÇÃO MOBILE GERAL - MENU FLUTUANTE (UNIFICADO PARA ANDROID E IOS) */
/* ========================================================================== */
@media (max-width: 900px) {
    header { position: sticky; top: 0; z-index: 1000; flex-direction: row; height: 70px; padding: 0 15px; justify-content: space-between; align-items: center; background-color: var(--dark); padding-top: var(--safe-top); }
    
    .menu-toggle { display: flex; order: 1; background-color: var(--primary); padding: 8px 12px; border-radius: 6px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); align-items: center; justify-content: center; transition: 0.3s; }
    .menu-toggle:active { transform: scale(0.95); }
    .menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); background: white; }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); background: white; }
    .menu-toggle span { width: 25px; height: 3px; background-color: white; border-radius: 5px; transition: all 0.3s ease; }
    
    .logo-center { order: 2; flex: 0; margin: 0; }
    .logo-center img { height: 40px; }
    .social-right { order: 3; flex: 0; gap: 15px; width: auto; }
    .social-icon { width: 22px; height: 22px; }
    
    /* --- 1. MENU PRINCIPAL FLUTUANTE (Estilo Cartão) --- */
    .nav-left { 
        position: fixed; 
        top: 50%; 
        left: 50%; 
        transform: translate(-50%, -50%) scale(0.9); 
        display: flex; 
        flex-direction: column; 
        width: 85%; 
        max-width: 320px; 
        height: auto; 
        max-height: 85vh; 
        background-color: var(--dark); 
        border-radius: 24px; 
        padding: 20px 0; 
        border: 1px solid rgba(255,255,255,0.15); 
        box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1000vmax rgba(0,0,0,0.85); 
        opacity: 0; 
        visibility: hidden; 
        pointer-events: none; 
        z-index: 10005; 
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
        overflow-y: auto; 
        -webkit-overflow-scrolling: touch; 
    }
    
    /* Estado Aberto */
    .nav-left.active { 
        opacity: 1; 
        visibility: visible; 
        pointer-events: auto; 
        transform: translate(-50%, -50%) scale(1); 
    }
    
   
    .nav-item { 
        width: 100%; 
        display: block; 
    }
    
    /* --- 2. LINK PRINCIPAL (O Pai) --- */
    .nav-link { 
        color: white; 
        display: flex; 
        justify-content: center; 
        align-items: center; 
        padding: 18px 20px; 
        border-bottom: 1px solid rgba(255,255,255,0.1); 
        font-weight: 700; 
        font-size: 1.1rem; 
        position: relative; 
        background: none; 
        width: 100%; 
        transition: 0.2s; 
        -webkit-tap-highlight-color: transparent; 
    }
    
    .nav-link::after { 
        content: '▼'; 
        color: rgba(255,255,255,0.6); 
        position: absolute; 
        right: 25px; 
        font-size: 0.7rem; 
        transition: transform 0.3s ease; 
    }
    
    /* ESTADO ATIVO (CAIXA VERMELHA) */
    .nav-item.active .nav-link { 
        background-color: var(--primary) !important; 
        color: white !important; 
        border-radius: 12px; 
        border-bottom: none !important; 
    }
    .nav-item.active .nav-link::after { 
        transform: rotate(180deg); 
        color: white; 
    }
    
    /* --- 3. SUBMENU (Caixa Branca) --- */
    .dropdown-menu { display: none; } 
    
    .nav-item.active .dropdown-menu { 
        display: block; 
        position: relative !important; 
        top: auto !important; 
        left: auto !important; 
        transform: none !important; 
        float: none; 
        background: white; 
        width: auto; 
        margin: 10px 20px 20px 20px; 
        border-radius: 16px; 
        box-shadow: 0 10px 25px rgba(0,0,0,0.3); 
        border: none; 
        padding: 10px 0; 
        animation: fadeIn 0.3s ease; 
    }
    
    /* Itens da Lista Branca */
    .dropdown-item { 
        color: var(--dark); 
        justify-content: center; 
        padding: 16px; 
        font-size: 1.05rem; 
        font-weight: 600; 
        border-bottom: 1px solid #f0f0f0; 
        display: flex; 
    }
    .dropdown-item:last-child { border-bottom: none; }
    .dropdown-item .menu-icon { fill: var(--dark); }
    .dropdown-item:active { background-color: #f2f2f7; color: var(--primary); }
    
    /* Vendedores (Nível 3) */
    .nested-menu { background: #f8f8f8; margin: 5px 15px 15px 15px; border-radius: 10px; border: 1px solid #eee; box-shadow: none; position: static; }
    .parent-item { background: #fff !important; color: var(--dark) !important; border: 1px solid #eee; margin: 5px 15px; border-radius: 10px; box-shadow: none; justify-content: space-between; }
    .parent-item .menu-icon { fill: var(--dark) !important; }
    
    /* --- 4. AJUSTES GERAIS MOBILE --- */
    
    /* MÁGICA: Ajustes para a imagem colar no topo e a caixa branca descer! */
    .welcome-section { height: 70vh; min-height: 450px; margin-top: -70px; }
    .welcome-section::before { height: 100%; }
    .hero-slider { height: 100%; }
    
    .welcome-image { 
        width: 100%; 
        height: 100%; 
        object-fit: cover; 
        object-position: center; /* Mantém o foco no centro da foto */
    }
    
    /* Reposicionando a caixa de texto para se adaptar à nova altura */
    .welcome-text { 
        margin-top: 0; 
        margin-bottom: 0; 
        padding: 10px 15px; 
        background: rgba(255,255,255,0.95); 
        border-radius: 15px; 
        width: 75%; 
        bottom: -20px; /* Deixa a caixa "montada" entre a foto e o fundo vermelho */
    }    
    .welcome-text h4 { font-size: 1.3rem; margin-bottom: 5px; display: block; }
    .welcome-text p { font-size: 0.95rem; display: block; border-left: none; padding-left: 0; margin-left: 0; margin-top: 5px; line-height: 1.4; }
      
    .partners-wrapper { padding-top: 60px; margin-top: 0; }
    .partners-strip { width: 95%; height: 70px; margin-top: 10px; }
    .partner-logo { width: 50px; height: 40px; margin: 0 10px; }
    
    /* ========================================================== */
    /* CARROSSEL PRODUTOS MOBILE (Card Estreito e Moderno)        */
    /* ========================================================== */
    .products-section .container {
        padding: 0; 
    }

    .products-section .grid { 
        display: flex; 
        flex-wrap: nowrap !important; 
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        gap: 15px; /* Define o espaço exato entre os cards */
        padding: 10px 7.5vw 25px 7.5vw; /* O padding lateral cria o recuo exato para centralizar o primeiro e o último card */
        -webkit-overflow-scrolling: touch; 
        scrollbar-width: none; 
        -ms-overflow-style: none; 
        justify-content: flex-start;
        scroll-padding: 0 7.5vw; /* Garante que o snap respeite o padding */
    }
    
    .products-section .grid::-webkit-scrollbar { 
        display: none; 
    }
    
    .products-section .card { 
        /* Largura do card: 85% da tela */
        flex: 0 0 85vw; 
        width: 85vw; 
        min-width: 85vw;
        max-width: 85vw;
        
        margin: 0; /* Remove a margem lateral anterior para evitar bugs de rolagem */

        scroll-snap-align: center; /* Trava exatamente no centro da tela */
        scroll-snap-stop: always; /* Força a parada em cada card, não deixa "pular" */

        /* Visual "Card Moderno" */
        border-radius: 16px; 
        border: 1px solid #f0f0f0; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
        background: var(--white);
    }

    /* ========================================================== */
    /* LIMITAR CARROSSEL PARA 3 CARDS NO MOBILE                   */
    /* ========================================================== */
    .products-section .card:nth-child(n+4) {
        display: none !important; 
    }

    .products-section .grid:active *,
    .products-section .grid:active {
        animation-play-state: paused !important;
    }

    /* ========================================================== */
    /* CARROSSEL VÍDEOS MOBILE (1 Vídeo por vez, centralizado)    */
    /* ========================================================== */
    .carousel-container {
        scroll-snap-type: x mandatory; /* Ativa o efeito ímã */
        gap: 0; /* Zera o gap original de 20px */
    }
    
    .video-card { 
        flex: 0 0 100%; /* Muda de 85% (que deixava a pontinha aparecendo) para 100% */
        min-width: 100%;
        max-width: 100%;
        margin-right: 0; /* Remove a margem direita original de 15px */
        scroll-snap-align: center; /* Trava o vídeo exatamente no centro */
    }

    /* Opcional: Se quiser que o vídeo encoste nas bordas do celular, remova o padding lateral do wrapper */
    .video-wrapper {
        padding: 0 15px; /* Diminui o padding de 40px para 15px no mobile */
    }
    .carousel-dots { display: flex; }
    .hero h1 { font-size: 2rem; }
    .about-content-wrapper { display: flex; flex-direction: column; gap: 2rem; }
    .map-full-container { height: 300px; }
    .video-card { flex: 0 0 85%; margin-right: 15px; } 
    .modal-content { width: 95%; }
    .feedback-container { padding: 1.5rem; }
    select, input, textarea { font-size: 16px !important; }
}

/* Ocultar imagens mobile em telas grandes */
.img-mobile { display: none; }
@media (max-width: 768px) { .img-desktop { display: none; } .img-mobile { display: block; } }

/* ========================================================== */
/* --- CHAT DO VICENTINHO (ASSISTENTE IA) --- */
/* ========================================================== */

/* O Botão Flutuante (FAB) */
#chat-fab { position: fixed; bottom: 20px; right: 20px; width: 100px; height: 100px; background-color: var(--primary); border-radius: 50%; box-shadow: 0 5px 20px rgba(0,0,0,0.3); cursor: pointer; z-index: 9999; display: flex; align-items: center; justify-content: center; transition: transform 0.3s; border: 3px solid white; }
#chat-fab:hover { transform: scale(1.1); }
#vicentinho-icon { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.chat-badge { position: absolute; top: -5px; right: -5px; background-color: #25D366; color: white; font-size: 0.8rem; font-weight: bold; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid white; }

/* A Janela do Chat */
#chat-window { position: fixed; bottom: 135px; right: 20px; width: 350px; height: 500px; max-height: 75vh; background-color: white; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); z-index: 9998; display: flex; flex-direction: column; overflow: hidden; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-origin: bottom right; }
#chat-window.chat-hidden { opacity: 0; pointer-events: none; transform: scale(0.5); }
.chat-header { background-color: var(--dark); color: white; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-header-info img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid white; object-fit: cover; }
.chat-header-info h4 { margin: 0; font-size: 1.1rem; }
.chat-header-info p { margin: 0; font-size: 0.8rem; color: #aaa; }
.close-chat-btn { background: none; border: none; color: white; font-size: 2rem; cursor: pointer; line-height: 1; padding: 5px; z-index: 10000; }
.chat-messages { flex: 1; padding: 20px; background-color: #f4f6f8; overflow-y: auto; display: flex; flex-direction: column; gap: 15px; }
.message { max-width: 80%; padding: 12px 16px; border-radius: 12px; font-size: 0.95rem; line-height: 1.4; animation: fadeInMessage 0.3s ease; }
@keyframes fadeInMessage { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.bot-message { background-color: white; color: #333; align-self: flex-start; border-bottom-left-radius: 2px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.user-message { background-color: var(--primary); color: white; align-self: flex-end; border-bottom-right-radius: 2px; box-shadow: 0 2px 5px rgba(252,18,16,0.2); }
.chat-input-area { padding: 15px; background-color: white; border-top: 1px solid #eee; display: flex; gap: 10px; padding-bottom: calc(15px + var(--safe-bottom)); }
.chat-input-area input { flex: 1; padding: 12px; border: 1px solid #ddd; border-radius: 20px; outline: none; font-size: 16px; margin-bottom: 0; }
.chat-input-area input:focus { border-color: var(--primary); }
.chat-input-area button { background-color: var(--primary); border: none; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s; }
.chat-input-area button:hover { background-color: var(--dark); }

@media (max-width: 600px) {
    #chat-window { width: 100vw; height: 100dvh; max-height: 100dvh; bottom: 0; right: 0; border-radius: 0; z-index: 999999; }
    .chat-header { padding-top: calc(15px + var(--safe-top)); }
    #chat-fab.chat-open { display: none !important; }
}
/* =========================================
   FAIXA DO MINI CURSO - BOTÃO FLUTUANTE
   ========================================= */
:root {
    --accent-color: #25D366;
    --dark-bg: #000030;
}

.banner-curso {
    position: relative;
    background: var(--dark-bg);
    width: 70%;
    margin: 40px auto; 
    height: 250px; 
    border-radius: 20px;
    
    /* OVERFLOW HIDDEN REMOVIDO PARA O BOTÃO PODER SAIR DO BLOCO */
    
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Camada de escurecimento (Overlay) */
.banner-curso::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 30, 0.7), rgba(0, 0, 30, 0.2));
    z-index: 1; 
    border-radius: 20px; /* Arredondamento passado para o overlay */
}

/* Imagem de Fundo (Agora usando CSS Background para o efeito estático) */
.banner-curso-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    border-radius: 20px; 
    
    /* MÁGICA DO EFEITO ESTÁTICO AQUI */
    background-image: url('caminho-da-sua-imagem.jpg'); /* Coloque o link da sua imagem aqui */
    background-size: cover; /* Garante que a imagem preencha todo o espaço */
    background-position: center; /* Centraliza a imagem */
    background-repeat: no-repeat;
    background-attachment: fixed; /* É isso que deixa a imagem travada em relação à tela! */
}

.banner-curso-content {
    position: relative;
    z-index: 2; 
    width: 100%;
    height: 100%;
}

/* Ocultando os textos originais */
.banner-curso-text h2,
.banner-curso-text p {
    display: none;
}

/* Posicionando o botão abaixo do bloco */
.banner-curso-text {
    position: absolute;
    bottom: -28px; /* Empurra o botão metade para fora do bloco */
    left: 50%;
    transform: translateX(-50%); /* Garante que fique exatamente no centro */
    width: 100%;
    text-align: center;
    z-index: 10;
}

/* Botão Moderno com Brilho */
.btn-curso {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

/* Ajuste no hover para manter a centralização e flutuar um pouco mais */
.btn-curso:hover {
    background-color: #1ebc5a;
    transform: translateY(-4px); 
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.5);
    color: white;
}

/* Efeito de brilho passando pelo botão */
.btn-curso::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    transition: all 0.6s;
}

.btn-curso:hover::after {
    left: 120%;
}

/* Correção opcional para iOS/Mobile se a imagem bugar no celular */
@media (max-width: 768px) {
    .banner-curso-img {
        background-attachment: scroll; /* Volta ao comportamento normal no mobile */
    }
}