/* --- ESTILOS GERAIS --- */
body.no-scroll, body.overlay-open { overflow: hidden; height: 100vh; margin: 0; padding: 0; }
html.fraud-alert-seen body.overlay-open { overflow: auto; height: auto; }
:root { --primary: #d10c0a; --primary-dark: #a90907; --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; }
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; }
button { font: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200000; padding: 12px 18px; border-radius: 6px; background: #fff; color: var(--dark); font-weight: 700; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
:focus-visible { outline: 3px solid #ffdf00 !important; outline-offset: 3px; }

/* --- SPLASH SCREEN --- */
#splash-screen { position: fixed; inset: 0; width: 100%; height: 100%; background-color: rgba(9, 16, 69, .9); z-index: 100001; display: flex; justify-content: center; align-items: center; opacity: 1; visibility: visible; transition: opacity .25s ease-out, visibility .25s ease-out; padding: 20px; }
html.fraud-alert-seen #splash-screen, #splash-screen[hidden] { display: none; }
#splash-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.fraud-alert-card { position: relative; display: flex; max-width: 100%; max-height: 88vh; }
.fraud-alert-image-button { display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: 88vh; padding: 0; border: 0; background: transparent; cursor: pointer; }
.fraud-alert-close { position: absolute; top: 10px; right: 10px; z-index: 1; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--dark); box-shadow: 0 2px 10px rgba(0, 0, 0, .28); font-size: 30px; line-height: 1; cursor: pointer; }
.fraud-alert-close:hover { background: var(--dark); color: #fff; }
#splash-screen picture { display: flex; justify-content: center; align-items: center; max-width: 100%; max-height: 88vh; }
#splash-screen img { max-width: 100%; max-height: 88vh; object-fit: contain; border-radius: 10px; box-shadow: none; animation: scaleUp .25s ease-out; }
.mobile-splash { display: none; }
@media (max-width: 900px) { .desktop-splash { display: none; } .mobile-splash { display: block; } }

/* --- ANIMAÇÕES --- */
@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 picture { display: block; width: 100%; height: 100%; }
.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: 1; transform: scale(1); }
    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 h1 { color: var(--dark); font-size: 2.2rem; font-weight: 800; margin: 0 0 5px 0; text-transform: uppercase; letter-spacing: 1px; text-shadow: none; line-height: 1.2; }
.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(135deg, #fff, #f2f4fa);
    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; }
.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, .86), rgba(255, 255, 255, .86)), url('IMG/fundo-produtos.jpg'); 
    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, .84), rgba(10, 10, 30, .84)), url('IMG/fundo-orcamento.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 h2 { 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; }
.location-widget label { display: block; margin: 15px 0 5px; color: #444; text-align: left; font-weight: 700; }
#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 img { display: block; width: 100%; height: 200px; object-fit: cover; }
.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: 16px; right: 20px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; color: var(--dark); font-size: 32px; line-height: 1; font-weight: bold; cursor: pointer; transition: 0.3s; z-index: 1; }
.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: #595959; margin-bottom: 2rem; }

/* RODAPÉ */
footer { 
    background: var(--dark); 
    color: #d6d6dc; 
    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; border: 0; background: transparent; }
.submenu-toggle { border: 0; background: transparent; }
.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); }

/* --- INDICADORES CARROSSEL PRODUTOS --- */
.carousel-dots { display: none; justify-content: center; margin-top: 8px; gap: 6px; }
.dot { width: 44px; height: 44px; background: transparent; border: 0; border-radius: 50%; cursor: pointer; position: relative; }
.dot::after { content: ''; position: absolute; width: 12px; height: 12px; inset: 16px; background-color: #777; border-radius: 50%; transition: .3s; }
.dot.active::after { background-color: var(--primary); transform: scale(1.2); }
.products-mobile-guide { display: none; }

/* ========================================================================== */
/* ADAPTAÇÃO MOBILE GERAL - MENU FLUTUANTE E TELA                             */
/* ========================================================================== */
@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; }
    
    .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; 
    }
    
    .nav-left.active { 
        opacity: 1; 
        visibility: visible; 
        pointer-events: auto; 
        transform: translate(-50%, -50%) scale(1); 
    }
    
    .nav-item { width: 100%; display: block; }
    
    .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; 
    }
    
    .nav-link::after { 
        content: '▼'; 
        color: rgba(255,255,255,0.6); 
        position: absolute; 
        right: 25px; 
        font-size: 0.7rem; 
        transition: transform 0.3s ease; 
    }
    
    .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; }
    
    .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; 
    }
    
    .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); }
    
    .nested-menu { background: #f8f8f8; margin: 5px 15px 15px 15px; border-radius: 10px; border: 1px solid #eee; }
    .parent-item { background: #fff !important; color: var(--dark) !important; border: 1px solid #eee; margin: 5px 15px; border-radius: 10px; justify-content: space-between; }
    
    .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; }
    
    .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; }
    
    .products-section { padding: 2.15rem 0 1.75rem; background-attachment: scroll; }
    .products-section .section-title {
        margin: 0 0 .4rem;
        padding: 0 16px;
        font-size: clamp(1.55rem, 7vw, 1.9rem);
        line-height: 1.15;
    }
    .products-mobile-guide {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: calc(100% - 32px);
        max-width: 390px;
        min-height: 32px;
        margin: 0 auto .55rem;
        padding: 6px 10px;
        border: 1px solid rgba(9, 16, 69, .1);
        border-radius: 9px;
        background: rgba(255, 255, 255, .8);
        color: #596174;
        font-size: .68rem;
        line-height: 1.25;
    }
    .products-mobile-guide span { min-width: 0; }
    .products-mobile-guide strong {
        flex: 0 0 auto;
        color: #091045;
        font-size: .7rem;
        white-space: nowrap;
    }
    .products-section .container { max-width: none; padding: 0; }
    .products-section .grid { 
        display: flex;
        flex-wrap: nowrap !important;
        justify-content: flex-start;
        gap: 15px;
        padding: 4px max(20px, calc((100vw - 390px) / 2)) 8px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-padding-inline: max(20px, calc((100vw - 390px) / 2));
        scroll-snap-type: x mandatory;
        touch-action: pan-x pan-y;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .products-section .grid::-webkit-scrollbar { display: none; }
    .products-section .card {
        flex: 0 0 min(calc(100vw - 40px), 390px);
        width: min(calc(100vw - 40px), 390px);
        min-width: min(calc(100vw - 40px), 390px);
        margin: 0;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        border: 1px solid rgba(9, 16, 69, .1);
        border-radius: 15px;
        background: var(--white);
        box-shadow: 0 10px 28px rgba(9, 16, 69, .1);
    }
    .products-section .card:first-child,
    .products-section .card:nth-child(3) { margin: 0; }
    .products-section .card:nth-child(n+4) { display: none !important; }
    .products-section .product-link { height: clamp(155px, 44vw, 185px); }
    .products-section .product-link::after { display: none; }
    .products-section .card-content { padding: 1rem 1rem .95rem; }
    .products-section .card h3 { margin-bottom: .38rem; font-size: 1.08rem; line-height: 1.22; }
    .products-section .card p { margin-bottom: .7rem; font-size: .84rem; line-height: 1.4; }
    .products-section .card-buttons { gap: 7px; margin-top: 3px; }
    .products-section .product-btn,
    .products-section .product-btn-outline {
        min-height: 44px;
        padding: 9px 10px;
        border-radius: 9px;
        font-size: .79rem;
        line-height: 1.25;
        letter-spacing: .25px;
    }
    .carousel-dots { margin-top: 0; }
    .dot { width: 36px; height: 36px; }
    .dot::after { width: 10px; height: 10px; inset: 13px; }

    .carousel-container { scroll-snap-type: x mandatory; gap: 0; }
    .video-card { flex: 0 0 100%; min-width: 100%; margin-right: 0; scroll-snap-align: center; }
    .video-wrapper { padding: 0 15px; }
    .carousel-dots { display: flex; }
    .hero h2 { font-size: 2rem; }
    .about-content-wrapper { display: flex; flex-direction: column; gap: 2rem; }
    .map-full-container { height: 300px; }
    .modal-content { width: 95%; }
    select, input, textarea { font-size: 16px !important; }
}

.img-mobile { display: none; }
@media (max-width: 768px) { .img-desktop { display: none; } .img-mobile { display: block; } }

/* ========================================================== */
/* --- CHAT DO VICENTINHO (ASSISTENTE IA) --- */
/* ========================================================== */
#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; }

#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; }
.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
   ========================================= */
.banner-curso { position: relative; background: #000030; width: 70%; margin: 40px auto; height: 250px; border-radius: 20px; 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; }
.banner-curso-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; border-radius: 20px; object-fit: cover; background-size: cover; background-position: center; background-repeat: no-repeat; background-attachment: fixed; }
.banner-curso-content { position: relative; z-index: 2; width: 100%; height: 100%; }
.banner-curso-text h2, .banner-curso-text p { display: none; }
.banner-curso-text { position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%); width: 100%; text-align: center; z-index: 10; }
.btn-curso { display: inline-block; background: #25D366; 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; }
.btn-curso:hover { background-color: #1ebc5a; transform: translateY(-4px); box-shadow: 0 15px 25px rgba(37, 211, 102, 0.5); color: white; }
.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%; }
.course-button-icon,
.course-button-arrow { width: 22px; height: 22px; fill: currentColor; vertical-align: middle; }
.course-button-icon { margin-right: 8px; }
.course-button-arrow { margin-left: 8px; }

@media (max-width: 768px) {
    .banner-curso { width: 92%; height: auto; display: block; }
    .banner-curso-img { position: relative; height: auto; object-fit: contain; display: block; background-image: none; }
    .banner-curso-text { position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%); width: 100%; text-align: center; z-index: 10; }
    .btn-curso { display: flex; align-items: center; justify-content: center; gap: 12px; width: 85%; margin: 0 auto; padding: 18px 20px; font-size: 1.15rem; font-weight: 800; border-radius: 50px; background: linear-gradient(135deg, #25D366 0%, #1da851 100%); color: white; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.2); position: relative; overflow: hidden; animation: floatMobileCTA 3s ease-in-out infinite; }
    .btn-curso::after { content: "➔"; font-size: 1.3rem; transition: transform 0.3s ease; }
    .btn-curso::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%); transform: skewX(-25deg); animation: shineCTA 3s infinite; }
}

@keyframes floatMobileCTA {
    0% { transform: translateY(0); box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.2); }
    50% { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.2); }
    100% { transform: translateY(0); box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.2); }
}

@keyframes shineCTA {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* ========================================================== */
/* MODERNIZAÇÃO: BEM-VINDO E CANAL DE ÉTICA (COVER IMAGE)     */
/* ========================================================== */

.modern-feedback {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    overflow: hidden; 
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    border-top: 5px solid var(--dark); /* Borda elegante no topo */
}

/* O Bloco da Imagem no Topo (Estilo Header Branco) */
.feedback-cover {
    width: 100%;
    /* Altura definida para o contêiner para que a imagem possa preenchê-la verticalmente */
    height: 160px; 
    background-color: #ffffff; /* Fundo branco como solicitado */
    border-bottom: 2px solid #eef2f5;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removido o padding para preencher as bordas horizontais e verticais */
    padding: 0; 
}

.feedback-cover img {
    /* A imagem preenche a largura e a altura total do contêiner */
    width: 100%;
    height: 100%; 
    /* max-height: 160px; */ /* Removido, pois a altura é controlada pelo contêiner */
    object-fit: cover; 
    display: block;
}

/* As Informações na parte Branca */
.csc-content {
    padding: 3rem 2rem;
    background-color: white;
    text-align: center;
}

.csc-logo-small {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.csc-content .feedback-subtitle {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 30px auto;
    color: #555;
}

.btn-csc {
    max-width: 300px;
    margin: 0 auto;
    background-color: var(--dark);
    text-decoration: none;
}

.btn-csc:hover {
    background-color: var(--primary);
}

/* ========================================================== */
/* COMPACTAÇÃO ELEGANTE PARA CELULAR (MOBILE FIRST)           */
/* ========================================================== */
@media (max-width: 900px) {
    /* Caixa de Boas-vindas (Texto Original) */
    .welcome-text { 
        margin-top: 0; 
        margin-bottom: 0; 
        padding: 15px 20px; 
        background: rgba(255,255,255,0.95); 
        border-radius: 15px; 
        width: 85%; 
        bottom: -25px;
    }    
    .welcome-text h1 { 
        font-size: 1.4rem; 
        margin-bottom: 6px; 
        display: block; 
        line-height: 1.2;
        letter-spacing: 0px;
    }
    .welcome-text p { 
        font-size: 0.95rem; 
        display: block; 
        border-left: none; 
        padding-left: 0; 
        margin-left: 0; 
        margin-top: 0; 
        line-height: 1.4; 
    }

/* Canal de Ética Mobile - Imagem tela cheia */
    .feedback-cover { 
        padding: 15px 0; /* Remove os espaços laterais para a imagem esticar de ponta a ponta */
    } 
    .feedback-cover img {
        max-height: 220px; /* Libera a altura para ela crescer e ficar bem visível */
        width: 100%;
        object-fit: contain; /* Garante que 100% da imagem apareça sem cortar os lados */
    }
    .csc-content { 
        padding: 2rem 1.5rem; 
    }
    .modern-feedback h2 { 
        font-size: 1.4rem !important; 
        margin-bottom: 10px; 
    }
    .csc-content .feedback-subtitle { 
        font-size: 0.95rem !important; 
        margin-bottom: 25px !important; 
    }
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
    transition: transform 0.25s ease, color 0.25s ease;
}

.nav-link:hover .nav-icon {
    color: var(--primary);
    transform: scale(1.15);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 900px) {
    .nav-link {
        gap: 12px;
    }

    .nav-icon {
        width: 22px;
        height: 22px;
    }
}
/* --- MENU ORGANIZADO E CENTRALIZADO --- */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-left: 2.5%;
    padding-right: 2.5%;
    overflow: visible;
}

.logo-center {
    order: 1;
    flex: 0 0 170px;
    justify-content: flex-start;
    min-width: 0;
}

.logo-center img {
    height: 52px;
    width: auto;
}

.nav-left {
    order: 2;
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
    min-width: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    font-size: 0.78rem;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.nav-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.social-right {
    order: 3;
    flex: 0 0 115px;
    min-width: 0;
    justify-content: flex-end;
    gap: 12px;
}

.social-icon {
    width: 19px;
    height: 19px;
}

.dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
    min-width: 270px;
    max-width: 330px;
}

/* --- MENU MOBILE --- */
@media (max-width: 900px) {
    header {
        height: 70px;
        padding: 0 15px;
        gap: 10px;
    }

    .logo-center {
        order: 2;
        flex: 1;
        justify-content: center;
    }

    .logo-center img {
        height: 38px;
    }

    .social-right {
        order: 3;
        flex: 0 0 auto;
        gap: 9px;
    }

    .social-icon {
        width: 18px;
        height: 18px;
    }

    .nav-left {
        order: initial;
        width: 88%;
        max-width: 360px;
        padding: 12px 8px;
    }

    .nav-link {
        justify-content: flex-start;
        gap: 12px;
        padding: 16px 22px;
        font-size: 1rem;
    }

    .nav-icon {
        width: 16px;
        height: 16px;
    }

    /* Iconografia compacta, com alvos de toque confortaveis no iOS e Android. */
    .menu-toggle {
        width: 44px;
        height: 44px;
        padding: 0;
        gap: 5px;
        border-radius: 8px;
        -webkit-tap-highlight-color: transparent;
    }

    .menu-toggle span {
        width: 21px;
        height: 2px;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .dropdown-item .menu-icon {
        width: 16px;
        height: 16px;
        margin-right: 9px;
    }
}

/* Desempenho, contraste e preferências de movimento */
.products-section,
.partial-image-divider,
.hero,
.about-section,
.video-section,
.feedback-section,
footer { content-visibility: auto; contain-intrinsic-size: auto 800px; }

.btn-whatsapp-final,
.btn-curso,
.chat-badge { background-color: #087a35; }
.btn-whatsapp-final:hover,
.btn-curso:hover { background-color: #065f2a; }
.city-badge.active { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(252, 18, 16, .2); }
.video-card:hover .video-overlay { background: rgba(0, 0, 0, .4); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .hero-slider .slide:first-child { opacity: 1; }
}

/* Chamada do minicurso posicionada totalmente abaixo do banner */
.banner-curso { margin: 40px auto 115px; overflow: visible; }
.banner-curso > picture { display: block; width: 100%; height: 100%; }
.banner-curso .banner-curso-img { position: relative; inset: auto; display: block; width: 100%; height: 100%; object-fit: cover; }
.banner-curso-cta {
    position: absolute;
    top: calc(100% + 16px);
    left: 50%;
    z-index: 10;
    margin: 0;
    white-space: nowrap;
    transform: translateX(-50%);
    animation: ctaFloat 3s ease-in-out infinite;
}
.banner-curso-cta:hover { transform: translate(-50%, -4px); }

/* Conteúdo editorial e perguntas frequentes para páginas de produtos */
.catalog-sales {
    background: linear-gradient(145deg, #091045 0%, #121e5d 100%);
    color: #fff;
    padding: clamp(42px, 6vw, 72px) 20px;
}
.products-intro { max-width: 800px; margin: 0 auto 28px; padding: 0 20px; color: #34405b; line-height: 1.65; text-align: center; }
.catalog-sales-inner { max-width: 1180px; margin: 0 auto; }
.catalog-sales-eyebrow { color: #ff7371; font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.catalog-sales h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; margin: 12px 0; }
.catalog-sales-intro { max-width: 780px; color: #dce2fa; line-height: 1.65; margin: 0 0 30px; }
.catalog-sales-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 15px; }
.catalog-sales-card { background: #fff; color: #091045; border-radius: 17px; padding: 20px; box-shadow: 0 10px 28px rgba(0, 0, 0, .13); }
.catalog-sales-card h3 { color: #091045; display: flex; align-items: center; gap: 8px; font-size: 1.08rem; margin: 0 0 8px; }
.catalog-sales-card p { color: #526078; font-size: .9rem; line-height: 1.5; margin: 0 0 14px; }
.catalog-sales-icon { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.catalog-sales-card h3 .catalog-sales-icon { color: #fc1210; }
.catalog-sales-phone { color: #091045; display: inline-block; font-weight: 750; margin-bottom: 14px; text-decoration: underline; text-underline-offset: 3px; }
.catalog-sales-whatsapp { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; width: 100%; padding: 9px 12px; border-radius: 11px; background: #128c4a; color: #fff; font-weight: 700; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.catalog-sales-whatsapp .catalog-sales-icon { width: 23px; height: 23px; fill: currentColor; stroke: none; }
.catalog-sales-whatsapp:hover, .catalog-sales-whatsapp:focus-visible { background: #087a35; color: #fff; transform: translateY(-2px); }
.catalog-sales-whatsapp:focus-visible, .catalog-sales-phone:focus-visible, .catalog-sales-grid:focus-visible, .catalog-sales-dot:focus-visible { outline: 3px solid #ff7371; outline-offset: 3px; }
.catalog-sales-note { color: #cbd5f2; font-size: .83rem; line-height: 1.5; margin: 22px 0 0; }
.catalog-sales-dots { display: none; }
@media (max-width: 768px) {
    .catalog-sales { padding-inline: 16px; }
    .catalog-sales-grid {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 3px 42px 12px 2px;
    }
    .catalog-sales-grid::-webkit-scrollbar { display: none; }
    .catalog-sales-card { flex: 0 0 calc(100% - 42px); scroll-snap-align: start; }
    .catalog-sales-dots { display: flex; justify-content: center; align-items: center; gap: 7px; min-height: 32px; margin-top: 6px; }
    .catalog-sales-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.44); cursor: pointer; transition: width .2s ease, background .2s ease; }
    .catalog-sales-dot.is-active { width: 24px; border-radius: 99px; background: #fc1210; }
}
@media (prefers-reduced-motion: reduce) {
    .catalog-sales-grid { scroll-behavior: auto; }
    .catalog-sales-whatsapp, .catalog-sales-dot { transition: none; }
}

.seo-content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 56px 24px;
    color: #20243a;
}
.seo-content h2 {
    color: #091045;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    margin: 0 0 18px;
}
.seo-content h3 { color: #091045; }
.seo-content p,
.seo-content li { line-height: 1.7; }
.seo-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 28px 0;
}
.seo-card,
.seo-faq details {
    background: #fff;
    border: 1px solid #e4e7ef;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(9, 16, 69, .06);
}
.seo-card { padding: 24px; }
.seo-card h3 { margin-top: 0; }
.seo-faq { display: grid; gap: 12px; margin-top: 24px; }
.seo-faq details { padding: 18px 20px; }
.seo-faq summary {
    color: #091045;
    cursor: pointer;
    font-weight: 700;
}
.seo-faq details p { margin: 14px 0 0; }
.seo-table-wrap { overflow-x: auto; margin: 26px 0; }
.seo-table { width: 100%; border-collapse: collapse; background: #fff; }
.seo-table th,
.seo-table td { border: 1px solid #dfe3ec; padding: 14px; text-align: left; }
.seo-table th { background: #091045; color: #fff; }
.seo-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 13px 20px;
    border-radius: 8px;
    background: #fc1210;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}
.seo-cta:hover { background: #d80d0b; }

.material-name-note {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    max-width: 800px;
    margin: 0 auto 28px;
    padding: 18px 22px;
    border-left: 5px solid #fc1210;
    border-radius: 10px;
    background: #fff3f3;
    color: #20243a;
    line-height: 1.55;
}
.material-name-note > strong { color: #091045; }

/* Descrições recolhíveis dos produtos: o texto continua no HTML para SEO. */
.product-description-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 0 10px;
    padding: 8px 10px;
    border: 1px solid #091045;
    border-radius: 7px;
    background: transparent;
    color: #091045;
    cursor: pointer;
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    body main > .hero {
        width: 100%;
        max-width: 100%;
        padding-right: 18px;
        padding-left: 18px;
        overflow: hidden;
    }
    body main > .hero h1 {
        width: 100%;
        max-width: 100%;
        font-size: clamp(1.55rem, 7vw, 1.9rem);
        line-height: 1.2;
        overflow-wrap: anywhere;
    }
    body main > .hero p {
        width: 100%;
        max-width: 100%;
        font-size: .95rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }
    body main .importance-box {
        max-width: calc(100% - 20px);
        padding: 1.6rem 1rem;
        overflow: hidden;
    }
    body main .importance-box h2 {
        font-size: 1.35rem;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }
    body main .importance-box p {
        font-size: .9rem;
        overflow-wrap: anywhere;
    }
    body .product-grid .product-card .product-content > p.product-description {
        display: none !important;
        flex-grow: 0;
        margin: 6px 0 10px;
    }
    body .product-grid .product-card .product-content > p.product-description.is-expanded {
        display: block !important;
    }
    .product-description-toggle { display: inline-flex; }
    body .product-grid .product-card .product-content h3 {
        min-height: 2.5em;
        line-height: 1.25;
    }
    body .product-grid .product-card .purchase-controls { margin-top: auto; }
}

@media (max-width: 720px) {
    .seo-content { padding: 40px 18px; }
    .seo-grid { grid-template-columns: 1fr; }
    .seo-table th,
    .seo-table td { padding: 11px; }
}

@keyframes ctaFloat {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -4px); }
}

@media (max-width: 768px) {
    .banner-curso { margin-bottom: 110px; }
    .banner-curso-cta { display: flex; width: 85%; justify-content: center; }
}

/* Navegacao principal: acabamento visual consolidado */
header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 84px;
    padding: var(--safe-top) clamp(18px, 3vw, 54px) 0;
    gap: clamp(12px, 2vw, 28px);
    overflow: visible;
    background: linear-gradient(110deg, #0c1f36 0%, #102b48 52%, #0b1b30 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 10px 30px rgba(2, 12, 24, .2);
}

header::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 4%, var(--primary) 50%, transparent 96%);
    opacity: .8;
}

.logo-center {
    order: 1;
    flex: 0 0 clamp(150px, 15vw, 205px);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
}

.logo-center a {
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
}

.logo-center img {
    display: block;
    width: auto;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .14));
    transition: transform .25s ease, filter .25s ease;
}

.logo-center a:hover img {
    transform: translateY(-1px) scale(1.02);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .22));
}

.nav-left {
    order: 2;
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    height: 100%;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link,
button.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: 46px;
    padding: 0 clamp(9px, 1vw, 16px);
    gap: 7px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: rgba(255, 255, 255, .94);
    font: inherit;
    font-size: clamp(.72rem, .78vw, .87rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: .35px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}

.nav-link::before {
    content: "";
    position: absolute;
    right: 13px;
    bottom: 5px;
    left: 13px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .09);
    transform: translateY(-1px);
}

.nav-link:hover::before { transform: scaleX(1); }

.nav-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    color: rgba(255, 255, 255, .8);
    transition: color .2s ease, transform .2s ease;
}

.nav-link:hover .nav-icon {
    color: #ff5351;
    transform: scale(1.08);
}

.nav-item.active > .nav-link {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 7px 18px rgba(252, 18, 16, .25);
}

.nav-item.active > .nav-link::before { display: none; }
.nav-item.active > .nav-link .nav-icon { color: #fff; }

.dropdown-menu {
    top: calc(100% - 9px);
    left: 50%;
    min-width: 280px;
    max-width: 340px;
    padding: 9px;
    overflow: hidden;
    border: 1px solid rgba(14, 42, 69, .1);
    border-top: 3px solid var(--primary);
    border-radius: 14px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 20px 45px rgba(4, 20, 38, .22);
    transform: translateX(-50%);
}

.nav-item.active > .dropdown-menu {
    display: block;
    animation: navDropdownIn .2s ease both;
}

@keyframes navDropdownIn {
    from { opacity: 0; transform: translate(-50%, 7px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.dropdown-item,
.parent-item {
    min-height: 43px;
    border-radius: 9px;
    color: #17334f;
    font-weight: 600;
    transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.dropdown-item:hover,
.parent-item:hover,
.nested-group.active > .parent-item {
    color: var(--primary);
    background: #fff0f0;
    transform: translateX(2px);
}

.social-right {
    order: 3;
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

.social-right a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.social-right a:hover {
    border-color: var(--primary);
    background: var(--primary);
    transform: translateY(-2px);
}

.social-icon {
    width: 17px;
    height: 17px;
}

@media (max-width: 1180px) and (min-width: 901px) {
    header { padding-right: 18px; padding-left: 18px; gap: 10px; }
    .logo-center { flex-basis: 145px; }
    .logo-center img { height: 45px; }
    .nav-left { gap: 1px; }
    .nav-link,
    button.nav-link { padding-right: 8px; padding-left: 8px; gap: 5px; font-size: .68rem; }
    .nav-icon { width: 15px; height: 15px; flex-basis: 15px; }
    .social-right { gap: 5px; }
    .social-right a { width: 32px; height: 32px; }
}

@media (max-width: 900px) {
    header {
        display: flex;
        align-items: center;
        height: calc(72px + var(--safe-top));
        padding: var(--safe-top) 12px 0;
        gap: 8px;
    }

    .menu-toggle {
        position: relative;
        z-index: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        gap: 5px;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 12px;
        background: rgba(255, 255, 255, .09);
        box-shadow: none;
    }

    .menu-toggle:hover { background: var(--primary); }

    .logo-center {
        position: absolute;
        z-index: 1;
        top: var(--safe-top);
        left: 50%;
        width: auto;
        height: 72px;
        justify-content: center;
        transform: translateX(-50%);
    }

    .logo-center img {
        width: auto;
        max-width: 142px;
        height: 42px;
    }

    .social-right {
        position: relative;
        z-index: 2;
        flex: 0 0 103px;
        width: 103px;
        margin-left: auto;
        justify-content: flex-end;
        gap: 5px;
    }

    .social-right a {
        width: 31px;
        height: 31px;
    }

    .social-icon { width: 15px; height: 15px; }

    .nav-left {
        position: fixed;
        z-index: 1001;
        top: calc(82px + var(--safe-top));
        right: 12px;
        left: 12px;
        display: flex;
        width: auto;
        max-width: none;
        height: auto;
        max-height: calc(100dvh - 98px - var(--safe-top));
        padding: 10px;
        gap: 3px;
        overflow-x: hidden;
        overflow-y: auto;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 18px;
        background: linear-gradient(145deg, #102d4b, #0a1d33);
        box-shadow: 0 22px 50px rgba(0, 0, 0, .32), 0 0 0 100vmax rgba(2, 12, 24, .48);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
    }

    .nav-left.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    body.menu-open { overflow: hidden; }

    .nav-item {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-link,
    button.nav-link {
        justify-content: flex-start;
        width: 100%;
        min-height: 50px;
        height: auto;
        padding: 0 15px;
        gap: 11px;
        border-radius: 10px;
        font-size: .9rem;
        text-align: left;
    }

    .nav-link::before,
    .nav-link::after { content: none; }

    .has-dropdown > .nav-link::after {
        content: "\2304";
        display: inline-block;
        margin-left: auto;
        color: rgba(255, 255, 255, .7);
        font-size: 1.1rem;
        line-height: 1;
        transform: rotate(0);
        transition: transform .2s ease;
    }

    .has-dropdown.active > .nav-link::after {
        color: #fff;
        transform: rotate(180deg);
    }

    .nav-icon {
        width: 18px;
        height: 18px;
        flex-basis: 18px;
    }

    .dropdown-menu {
        position: static;
        width: calc(100% - 12px);
        min-width: 0;
        max-width: none;
        margin: 4px 6px 7px;
        padding: 7px;
        border-top-width: 2px;
        border-radius: 11px;
        transform: none;
        box-shadow: 0 9px 24px rgba(0, 0, 0, .17);
    }

    .nav-item.active > .dropdown-menu { animation: mobileDropdownIn .18s ease both; }

    @keyframes mobileDropdownIn {
        from { opacity: 0; transform: translateY(-5px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .dropdown-item,
    .parent-item {
        min-height: 43px;
        color: #17334f;
        font-size: .86rem;
    }

    .nav-left .sub-item { color: #38526b !important; }
}

@media (max-width: 380px) {
    header { padding-right: 8px; padding-left: 8px; gap: 5px; }
    .logo-center img { max-width: 125px; height: 37px; }
    .social-right { flex-basis: 90px; width: 90px; gap: 3px; }
    .social-right a { width: 28px; height: 28px; }
}

/* Cabeçalho único Britaki para todas as páginas públicas */
header.legacy-navigation { display: none !important; }

header.unified-header {
    position: sticky;
    top: 0;
    z-index: 10000;
    display: grid;
    grid-template-columns: minmax(150px, 190px) 1fr auto;
    align-items: center;
    width: 100%;
    height: 76px;
    padding: 0 24px;
    border-bottom: 2px solid #fc1210;
    background: rgba(9, 16, 69, .98);
    box-shadow: 0 8px 28px rgba(9, 16, 69, .2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.unified-logo {
    display: flex;
    align-items: center;
    width: fit-content;
}
.unified-logo img {
    display: block;
    width: 165px;
    max-width: 100%;
    height: auto;
}
.unified-nav {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.unified-nav a {
    display: flex;
    align-items: center;
    min-height: 42px;
    gap: 6px;
    padding: 0 8px;
    border-radius: 9px;
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .35px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    transition: background-color .2s ease, transform .2s ease;
}
.unified-nav > a::after {
    content: '';
    position: absolute;
    right: 8px;
    bottom: 3px;
    left: 8px;
    height: 3px;
    border-radius: 3px;
    background: #fc1210;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}
.unified-nav-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: currentColor;
    opacity: .9;
    transition: transform .2s ease;
}
.unified-nav a:hover,
.unified-nav a:focus-visible {
    background: rgba(255,255,255,.07);
    color: #fff;
    transform: none;
}
.unified-nav > a:hover::after,
.unified-nav > a:focus-visible::after { transform: scaleX(1); }
.unified-nav > a.is-selected {
    background: #fc1210;
    color: #fff;
    box-shadow: 0 7px 18px rgba(252,18,16,.25);
}
.unified-nav > a.is-selected::after { transform: scaleX(0); }
.unified-nav a:hover .unified-nav-icon { transform: scale(1.12); }
.unified-nav a:focus-visible,
.unified-dropdown > summary:focus-visible,
.seller-group > summary:focus-visible,
.unified-menu-button:focus-visible,
.unified-social-link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}
.unified-dropdown { position: relative; }
.unified-dropdown > summary {
    display: flex;
    align-items: center;
    min-height: 42px;
    gap: 6px;
    padding: 0 8px;
    border-radius: 9px;
    color: #fff;
    cursor: pointer;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .35px;
    list-style: none;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
}
.unified-dropdown > summary::-webkit-details-marker { display: none; }
.unified-dropdown > summary::before {
    content: '';
    position: absolute;
    right: 8px;
    bottom: 3px;
    left: 8px;
    height: 3px;
    border-radius: 3px;
    background: #fc1210;
    transform: scaleX(0);
    transition: transform .2s ease;
}
.unified-dropdown > summary:hover { background: rgba(255,255,255,.07); }
.unified-dropdown > summary:hover::before { transform: scaleX(1); }
.unified-dropdown > summary::after {
    content: '▾';
    margin-left: 1px;
    font-size: .72rem;
    transition: transform .2s ease;
}
.unified-dropdown[open] > summary::after { transform: rotate(180deg); }
.unified-dropdown[open] > summary {
    background: #fc1210;
    box-shadow: 0 7px 18px rgba(252,18,16,.25);
}
.unified-dropdown[open] > summary::before { transform: scaleX(0); }
.unified-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 10020;
    display: grid;
    width: 250px;
    padding: 10px;
    border: 1px solid #e4e7ef;
    border-top: 3px solid #fc1210;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(9,16,69,.25);
    transform: translateX(-50%);
}
.unified-nav .unified-dropdown-menu a {
    justify-content: flex-start;
    min-height: 35px;
    padding: 7px 10px;
    color: #25304a;
    font-size: .78rem;
    letter-spacing: 0;
    text-align: left;
    text-transform: none;
    white-space: normal;
}
.unified-nav .unified-dropdown-menu a:hover { background: #fff0f0; color: #c80d0b; transform: none; }
.seller-group { border-bottom: 1px solid #e7e9f0; }
.seller-group:last-child { border-bottom: 0; }
.seller-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 8px;
    color: #091045;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 800;
    list-style: none;
    text-transform: uppercase;
}
.seller-group > summary::-webkit-details-marker { display: none; }
.seller-group > summary::after { content: '+'; color: #fc1210; font-size: 1.1rem; }
.seller-group[open] > summary { background: #f4f5f8; }
.seller-group[open] > summary::after { content: '−'; }
.seller-region-list { display: grid; padding: 2px 0 9px; }
.unified-socials { display: flex; align-items: center; gap: 5px; }
.unified-social-link {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    color: #fff;
    transition: background-color .2s ease, border-color .2s ease;
}
.unified-social-link:hover { border-color: #fc1210; background: #fc1210; }
.unified-social-link svg { width: 18px; height: 18px; fill: currentColor; }
.unified-nav-check { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.unified-menu-button { display: none; }
.mobile-nav-backdrop { display: none; }
#conteudo-principal { scroll-margin-top: 92px; }

@media (max-width: 1180px) and (min-width: 901px) {
    header.unified-header { grid-template-columns: 145px 1fr auto; padding: 0 12px; }
    .unified-logo img { width: 145px; }
    .unified-nav a { gap: 4px; padding: 0 5px; font-size: .58rem; }
    .unified-dropdown > summary { gap: 4px; padding: 0 5px; font-size: .58rem; }
    .unified-nav-icon { width: 14px; height: 14px; flex-basis: 14px; }
    .unified-socials .unified-social-link:nth-child(n+2) { display: none; }
}

@media (max-width: 900px) {
    body.mobile-nav-open { overflow: hidden; }
    header.unified-header {
        grid-template-columns: 1fr 44px 40px;
        gap: 7px;
        height: 72px;
        padding: 0 14px;
        background: #091045;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .unified-logo img { width: 158px; }
    .unified-logo,
    .unified-menu-button,
    .unified-socials { position: relative; z-index: 10014; }
    .unified-menu-button {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 9px;
        background: transparent;
        color: #fff;
        cursor: pointer;
    }
    .unified-menu-button span {
        width: 23px;
        height: 2px;
        border-radius: 2px;
        background: #fff;
        transition: transform .2s ease, opacity .2s ease;
    }
    .unified-nav {
        position: fixed;
        top: 72px;
        right: 0;
        bottom: auto;
        left: auto;
        z-index: 10013;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 5px;
        width: min(89vw, 390px);
        height: calc(100dvh - 72px);
        max-height: calc(100vh - 72px);
        padding: 14px 16px max(28px, env(safe-area-inset-bottom));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        background: linear-gradient(180deg, #101951 0%, #091045 100%);
        box-shadow: -18px 18px 38px rgba(2, 7, 34, .34);
        opacity: 1;
        visibility: hidden;
        transform: translateX(105%);
        transition: transform .3s ease, visibility .3s ease;
    }
    .unified-nav a {
        justify-content: flex-start;
        width: 100%;
        min-height: 48px;
        gap: 9px;
        padding: 0 14px;
        font-size: .83rem;
        text-align: left;
    }
    .unified-dropdown { width: 100%; }
    .unified-dropdown > summary {
        justify-content: flex-start;
        width: 100%;
        min-height: 48px;
        gap: 9px;
        padding: 0 14px;
        font-size: .83rem;
        text-align: left;
    }
    .unified-dropdown-menu {
        position: static;
        width: 100%;
        max-width: none;
        margin: 2px 0 8px;
        box-shadow: none;
        transform: none;
    }
    .unified-nav-icon { width: 18px; height: 18px; flex-basis: 18px; }
    .unified-socials .unified-social-link:nth-child(n+2) { display: none; }
    .unified-nav-check:checked ~ .unified-nav {
        visibility: visible;
        transform: translateX(0);
    }
    .mobile-nav-backdrop {
        position: fixed;
        inset: 72px 0 0;
        z-index: 10012;
        width: 100%;
        height: auto;
        padding: 0;
        border: 0;
        background: rgba(2, 7, 34, .58);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transition: opacity .25s ease, visibility .25s ease;
    }
    .unified-nav-check:checked ~ .mobile-nav-backdrop {
        display: block;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }
    .unified-nav-check:checked + .unified-menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .unified-nav-check:checked + .unified-menu-button span:nth-child(2) { opacity: 0; }
    .unified-nav-check:checked + .unified-menu-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
    .unified-nav *,
    .unified-menu-button span,
    .skip-link {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* CTAs principais: compactos, claros e confortáveis no celular */
@media (max-width: 768px) {
    .banner-curso {
        width: calc(100% - 28px);
        margin: 24px auto 72px;
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(9, 16, 69, .2);
    }
    .banner-curso > picture,
    .banner-curso .banner-curso-img { border-radius: 16px; }
    .banner-curso-cta,
    .btn-curso.banner-curso-cta {
        top: auto;
        bottom: -27px;
        display: flex;
        width: calc(100% - 24px);
        max-width: 420px;
        min-height: 54px;
        align-items: center;
        justify-content: center;
        gap: 9px;
        margin: 0;
        padding: 11px 14px;
        border: 1px solid rgba(255, 255, 255, .28);
        border-radius: 14px;
        background: linear-gradient(135deg, #fc1210 0%, #bd0a09 100%);
        box-shadow: 0 10px 24px rgba(189, 10, 9, .32);
        color: #fff;
        font-size: clamp(.76rem, 3.5vw, .92rem);
        line-height: 1.2;
        letter-spacing: .35px;
        text-align: center;
        white-space: normal;
        animation: none;
        transform: translateX(-50%);
    }
    .btn-curso.banner-curso-cta::before,
    .btn-curso.banner-curso-cta::after { content: none; animation: none; }
    .banner-curso-cta .course-button-icon,
    .banner-curso-cta .course-button-arrow {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
        margin: 0;
    }
    .banner-curso-cta .course-button-arrow { margin-left: auto; }
    .banner-curso-cta:active { transform: translateX(-50%) scale(.98); }

    .hero#contato {
        min-height: auto;
        padding: 2.6rem 14px 3rem;
        background-attachment: scroll;
    }
    .hero#contato h2 {
        margin-bottom: .45rem;
        font-size: clamp(1.75rem, 8vw, 2.2rem);
        line-height: 1.15;
    }
    .hero#contato > p {
        margin-bottom: 1.25rem;
        font-size: .92rem;
        line-height: 1.45;
    }
    #contato .location-widget {
        padding: 1.25rem 1rem 1.1rem;
        border-top-width: 4px;
        border-radius: 15px;
        box-shadow: 0 14px 34px rgba(0, 0, 0, .32);
    }
    #contato .location-widget h3 {
        margin-bottom: .7rem;
        font-size: 1.3rem;
    }
    #contato .location-widget label {
        margin: 10px 0 5px;
        font-size: .85rem;
    }
    #contato .location-widget select {
        min-height: 50px;
        margin-bottom: 11px;
        padding: 12px 36px 12px 13px;
        border-radius: 10px !important;
        font-size: 16px !important;
    }
    #contato .btn-whatsapp-final {
        min-height: 56px;
        margin-top: 5px;
        padding: 12px 16px;
        border: 1px solid rgba(255, 255, 255, .24);
        border-radius: 13px;
        background: linear-gradient(135deg, #128c4a 0%, #087a35 100%);
        box-shadow: 0 9px 22px rgba(8, 122, 53, .3);
        font-size: .98rem;
    }
    #contato .btn-whatsapp-final:active { transform: scale(.98); }
    #contato .wa-icon { width: 24px; height: 24px; margin-right: 9px; }
}
