/* =========================================================
   Landing Page febi bilstein | Importadora Dang
   Visual baseado no template AutoDetail (dark scheme)
   CORES: altere as variáveis abaixo
   ========================================================= */
:root {
    --primary: #E3101C;          /* vermelho febi */
    --primary-rgb: 227, 16, 28;
    --wa: #25D366;               /* verde WhatsApp */
    --wa-dark: #1da851;
    --bg-1: #121212;
    --bg-2: #1b1b1b;
    --bg-3: #262626;
    --text: #b8b8b8;
    --heading: #ffffff;
    --radius: 10px;
    --font-head: 'Oxanium', Arial, sans-serif;
    --font-body: 'Manrope', Arial, sans-serif;
    --header-h: 76px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
    background: var(--bg-1);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 18px; }
h3 { font-size: 22px; }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; }
.relative { position: relative; }
.z-2 { z-index: 2; }
.id-color { color: var(--primary); }
.text-muted-2 { color: #8a8a8a; }
.bg-dark-2 { background: var(--bg-2); }
.section { padding: 100px 0; }
.rounded-img { border-radius: var(--radius); object-fit: cover; width: 100%; }

.subtitle {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--primary);
    margin-bottom: 14px;
    padding: 4px 14px;
    border: 1px solid rgba(var(--primary-rgb), .45);
    border-radius: 40px;
    background: rgba(var(--primary-rgb), .08);
}

/* ---------- Botões ---------- */
.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: 2px solid var(--primary);
    border-radius: 6px;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .05em;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.btn-main:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(var(--primary-rgb), .35); }
.btn-main .ico { width: 20px; height: 20px; flex: none; }
.btn-main.btn-wa { background: var(--wa); border-color: var(--wa); }
.btn-main.btn-wa:hover { background: var(--wa-dark); border-color: var(--wa-dark); box-shadow: 0 10px 25px rgba(37, 211, 102, .35); }
.btn-main.btn-outline { background: transparent; border-color: rgba(255,255,255,.35); }
.btn-main.btn-outline:hover { border-color: #fff; box-shadow: none; }
.btn-main.btn-light { background: #fff; border-color: #fff; color: #111; }
.btn-main.btn-light .ico { color: var(--wa-dark); }
.btn-main.btn-line { background: transparent; border-color: #fff; }
.btn-main.btn-lg { padding: 18px 34px; font-size: 16px; }
.btn-main.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-main.btn-sm-header { padding: 9px 16px; font-size: 13px; }
.btn-main[disabled] { opacity: .65; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    height: var(--header-h);
    display: flex; align-items: center;
    transition: background .3s, box-shadow .3s;
}
.site-header.scrolled, .site-header.open { background: rgba(18,18,18,.96); box-shadow: 0 2px 20px rgba(0,0,0,.5); backdrop-filter: blur(8px); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-febi { height: 44px; width: auto; }
.brand-dang { height: 52px; width: auto; }
.brand-sep { width: 1px; height: 32px; background: rgba(255,255,255,.25); }
.main-nav { display: flex; gap: 22px; }
.main-nav a { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 15px; transition: color .2s; }
.main-nav a:hover { color: var(--primary); }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; padding: 8px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.site-header.open .menu-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.site-header.open .menu-toggle span:nth-child(2) { opacity: 0; }
.site-header.open .menu-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; padding: calc(var(--header-h) + 50px) 0 60px; display: flex; align-items: center; overflow: hidden; }
.hero-bg, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s linear; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay { background: linear-gradient(180deg, rgba(18,18,18,.75) 0%, rgba(18,18,18,.55) 40%, rgba(18,18,18,.95) 100%); }
.gate .hero-overlay { background: linear-gradient(180deg, rgba(12,12,12,.9) 0%, rgba(12,12,12,.8) 50%, rgba(12,12,12,.95) 100%); }
.hero-split .hero-overlay { background: linear-gradient(90deg, rgba(12,12,12,.94) 0%, rgba(12,12,12,.86) 45%, rgba(12,12,12,.7) 100%); }
.gate .subtitle, .hero-split .subtitle { background: rgba(0,0,0,.6); }
@media (max-width: 991.98px) { .hero-split .hero-overlay { background: rgba(12,12,12,.88); } }
.hero-title { font-size: clamp(32px, 4.6vw, 60px); margin-bottom: 18px; }
.hero-lead { font-size: clamp(16px, 1.6vw, 20px); color: #ddd; max-width: 720px; margin: 0 auto 36px; }

.profile-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    height: 100%;
    padding: 34px 28px 28px;
    border-radius: 14px;
    background: rgba(27,27,27,.72);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    color: var(--text);
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.profile-card:hover { transform: translateY(-6px); border-color: var(--primary); box-shadow: 0 20px 40px rgba(0,0,0,.5); color: var(--text); }
.profile-icon { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--primary-rgb), .15); color: var(--primary); margin-bottom: 14px; }
.profile-icon svg { width: 32px; height: 32px; }
.profile-label { font-size: 13px; text-transform: uppercase; letter-spacing: .15em; }
.profile-title { font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 28px); color: #fff; margin-bottom: 8px; }
.profile-desc { margin-bottom: 22px; flex-grow: 1; }

.hero-trust { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; color: #ddd; font-weight: 600; font-size: 15px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 20px; height: 20px; color: var(--primary); }

/* ---------- Faixa de marcas ---------- */
.brand-strip { background: var(--bg-2); border-top: 1px solid var(--bg-3); border-bottom: 1px solid var(--bg-3); padding: 26px 0; overflow: hidden; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 80px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track img { height: 48px; width: auto; opacity: .7; transition: opacity .2s; }
.marquee-track img:hover { opacity: 1; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 40px)); } }

/* ---------- Cards de categorias (fotos de produto febi) ---------- */
.cat-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); height: 100%; display: flex; flex-direction: column; border: 1px solid var(--bg-3); transition: border-color .25s, transform .25s; }
.cat-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.cat-img { position: relative; background: #f1f1f1; aspect-ratio: 690 / 529; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-card:hover .cat-img img { transform: scale(1.06); }
.cat-num { position: absolute; top: 12px; left: 14px; z-index: 2; font-family: var(--font-head); font-size: 15px; font-weight: 700; color: #fff; background: var(--primary); padding: 2px 10px; border-radius: 4px; }
.cat-body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.cat-body h3 { margin-bottom: 8px; }
.cat-body ul { list-style: none; padding: 0; margin: 0 0 18px; font-size: 14px; color: #ccc; flex-grow: 1; }
.cat-body li::before { content: "› "; color: var(--primary); font-weight: 700; }

/* ---------- Página de entrada (escolha do perfil) ---------- */
.gate { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.gate-top { position: relative; z-index: 2; padding: 26px 0 0; text-align: center; }
.gate-top .brand-febi { height: 60px; }
.gate-top .brand-dang { height: 80px; }
.footer-dang { height: 90px; width: auto; }
.gate-top .brand { justify-content: center; }
.gate-main { position: relative; z-index: 2; flex-grow: 1; display: flex; align-items: center; padding: 40px 0; }
.gate .hero-title { font-size: clamp(28px, 4.2vw, 54px); }
.gate-btn {
    display: flex; align-items: center; gap: 20px; height: 100%;
    padding: 30px 28px; border-radius: 14px; text-align: left;
    color: #fff; border: 2px solid transparent;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.gate-btn:hover { color: #fff; transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,.5); border-color: #fff; }
.gate-btn.distribuidor { background: var(--primary); }
.gate-btn.oficina { background: #fff; color: #111; }
.gate-btn.oficina:hover { color: #111; border-color: var(--primary); }
.gate-btn .gi { flex: none; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); }
.gate-btn.oficina .gi { background: rgba(var(--primary-rgb), .1); color: var(--primary); }
.gate-btn .gi svg { width: 34px; height: 34px; }
.gate-btn small { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .15em; opacity: .8; }
.gate-btn strong { display: block; font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; }
.gate-btn em { display: block; font-style: normal; font-size: 14px; opacity: .85; margin-top: 4px; }
.gate-btn .ga { margin-left: auto; width: 30px; height: 30px; flex: none; }
.gate .brand-strip { position: relative; z-index: 2; background: rgba(18,18,18,.7); }
.chips { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 40px; background: rgba(27,27,27,.75); border: 1px solid rgba(255,255,255,.12); color: #eee; font-weight: 600; font-size: 14px; }
.chips svg { width: 18px; height: 18px; color: var(--primary); flex: none; }

/* ---------- Hero com formulário (páginas internas) ---------- */
.hero-split { min-height: auto; padding: calc(var(--header-h) + 60px) 0 80px; }
.hero-split .hero-title { font-size: clamp(30px, 3.8vw, 52px); }
.hero-split .hero-lead { margin: 0 0 26px; }
.hero-split .chips { justify-content: flex-start; margin: 0 0 30px; }

/* ---------- Benefícios ---------- */
.benefit { display: flex; gap: 18px; padding: 28px; background: var(--bg-2); border-radius: var(--radius); height: 100%; border-left: 3px solid var(--primary); }
.benefit svg { width: 40px; height: 40px; color: var(--primary); flex: none; }
.benefit h3 { font-size: 20px; margin-bottom: 6px; }
.benefit p { margin: 0; font-size: 15px; }

/* ---------- Chips de marcas no formulário ---------- */
.brand-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-checks label { margin: 0; cursor: pointer; }
.brand-checks input { position: absolute; opacity: 0; pointer-events: none; }
.brand-checks span { display: inline-block; padding: 7px 14px; border-radius: 30px; border: 1px solid #3a3a3a; background: var(--bg-1); font-size: 13px; font-weight: 600; color: #ccc; transition: all .2s; }
.brand-checks input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.brand-checks input:focus-visible + span { outline: 2px solid #fff; }

/* ---------- Contadores ---------- */
.counter { padding: 30px 10px; border-radius: var(--radius); background: var(--bg-2); height: 100%; }
.counter svg { width: 40px; height: 40px; color: var(--primary); margin-bottom: 12px; }
.counter strong { display: block; font-family: var(--font-head); font-size: clamp(30px, 3.4vw, 42px); color: #fff; line-height: 1.1; }

/* ---------- CTA bar ---------- */
.cta-bar { background: var(--primary); color: #fff; padding: 48px 0; }
.cta-bar h3 { font-size: clamp(22px, 2.6vw, 30px); }

/* ---------- Cards de marcas ---------- */
.brand-card {
    display: flex; align-items: center; gap: 16px;
    padding: 22px; height: 100%;
    border-radius: var(--radius);
    background: var(--bg-1);
    border: 1px solid var(--bg-3);
    color: var(--text);
    transition: border-color .25s, transform .25s;
}
.brand-card:hover { border-color: var(--wa); transform: translateY(-4px); color: var(--text); }
.brand-card img { width: 52px; height: 52px; flex: none; }
.brand-card span { flex-grow: 1; display: flex; flex-direction: column; line-height: 1.3; }
.brand-card strong { color: #fff; font-family: var(--font-head); font-size: 18px; }
.brand-card small { font-size: 13px; }
.brand-card .go { width: 30px; height: 30px; color: var(--wa); flex: none; }

/* ---------- Features ---------- */
.feature { padding: 36px 30px; background: var(--bg-2); border-radius: var(--radius); height: 100%; border-bottom: 3px solid transparent; transition: border-color .25s; }
.feature:hover { border-color: var(--primary); }
.feature svg { width: 42px; height: 42px; color: var(--primary); margin-bottom: 18px; }
.feature p { margin: 0; }

/* ---------- Parallax ---------- */
.parallax { position: relative; padding: 140px 0; background-size: cover; background-position: center; background-attachment: fixed; }
.parallax-overlay { position: absolute; inset: 0; background: rgba(18,18,18,.78); }
.parallax h2 { margin-bottom: 30px; }

/* ---------- Listas / passos ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 30px; }
.check-list li { display: flex; gap: 12px; margin-bottom: 12px; color: #ddd; }
.check-list svg { width: 22px; height: 22px; flex: none; margin-top: 3px; padding: 4px; border-radius: 50%; background: var(--primary); color: #fff; }
.step { position: relative; padding: 40px 30px 30px; background: var(--bg-1); border-radius: var(--radius); height: 100%; }
.step span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-head); font-size: 24px; font-weight: 700; margin-bottom: 18px; }

/* ---------- Formulário ---------- */
.lead-form { background: var(--bg-2); border: 1px solid var(--bg-3); border-radius: 14px; padding: 40px; }
.lead-form label { display: block; font-size: 14px; font-weight: 600; color: #ddd; margin-bottom: 6px; }
.lead-form .form-control, .lead-form .form-select {
    background-color: var(--bg-1); border: 1px solid #3a3a3a; color: #fff; border-radius: 6px; padding: 12px 14px; font-size: 15px;
}
.lead-form .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.lead-form .form-control::placeholder { color: #6d6d6d; }
.lead-form .form-control:focus, .lead-form .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .25); background-color: var(--bg-1); color: #fff; }
.lead-form .is-invalid { border-color: #ff4d5a !important; }
.lead-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; color: var(--text); cursor: pointer; }
.lead-form .check input { margin-top: 5px; accent-color: var(--primary); width: 16px; height: 16px; flex: none; }
.lead-form .check.is-invalid span { color: #ff4d5a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.form-alert.error { background: rgba(255,77,90,.12); border: 1px solid #ff4d5a; color: #ffb3b9; }
.form-alert.success { background: rgba(37,211,102,.12); border: 1px solid var(--wa); color: #b6f5cf; }
.link-wa { color: var(--wa); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq details { background: var(--bg-1); border-radius: var(--radius); margin-bottom: 12px; border: 1px solid var(--bg-3); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; font-family: var(--font-head); font-weight: 600; font-size: 18px; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; }

/* ---------- Rodapé ---------- */
.site-footer { background: #0b0b0b; padding: 70px 0 30px; font-size: 15px; }
.site-footer h4 { font-size: 18px; margin-bottom: 18px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li, .footer-contact li { margin-bottom: 10px; }
.footer-links a, .footer-contact a { color: var(--text); }
.footer-links a:hover, .footer-contact a:hover { color: var(--primary); }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--primary); flex: none; }
.site-footer hr { border-color: var(--bg-3); opacity: 1; margin: 40px 0 24px; }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.footer-bottom .legal { color: #6d6d6d; font-size: 12px; }

/* ---------- WhatsApp flutuante + barra mobile ---------- */
.wa-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 90;
    width: 62px; height: 62px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--wa); color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    animation: pulse 2.2s infinite;
}
.wa-float svg { width: 34px; height: 34px; }
.wa-float:hover { color: #fff; background: var(--wa-dark); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

.mobile-bar { display: none; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .marquee-track, .wa-float { animation: none; }
    .hero-slide { transition: none; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1199.98px) {
    .main-nav { gap: 18px; }
}
@media (max-width: 991.98px) {
    :root { --header-h: 66px; }
    .section { padding: 70px 0; }
    .menu-toggle { display: flex; }
    .main-nav {
        position: fixed; top: var(--header-h); left: 0; right: 0;
        flex-direction: column; gap: 0;
        background: rgba(18,18,18,.98);
        max-height: 0; overflow: hidden; transition: max-height .35s ease;
    }
    .main-nav a { padding: 14px 24px; border-top: 1px solid var(--bg-3); }
    .site-header.open .main-nav { max-height: 420px; }
    .parallax { background-attachment: scroll; padding: 100px 0; }
    .lead-form { padding: 28px 22px; }
}
@media (max-width: 767.98px) {
    body { padding-bottom: 64px; }
    .brand-febi { height: 36px; }
    .brand-dang { height: 46px; }
    .brand { gap: 10px; }
    .hero { min-height: auto; padding-top: calc(var(--header-h) + 36px); }
    .subtitle { font-size: 11px; letter-spacing: .08em; }
    .hero-trust { justify-content: flex-start; flex-direction: column; align-items: center; gap: 8px; }
    .profile-card { padding: 26px 20px 20px; }
    .marquee-track { gap: 50px; }
    .marquee-track img { height: 38px; }
    @keyframes marquee { to { transform: translateX(calc(-50% - 25px)); } }
    .cat-card { aspect-ratio: auto; }
    .gate-top { padding-top: 18px; }
    .gate-main { padding: 26px 0; }
    .gate-btn { padding: 22px 18px; gap: 14px; }
    .gate-btn .gi { width: 54px; height: 54px; }
    .gate-btn .gi svg { width: 26px; height: 26px; }
    .chips { gap: 8px; margin-top: 24px; }
    .chips li { font-size: 13px; padding: 6px 12px; }
    .hero-split { padding: calc(var(--header-h) + 30px) 0 50px; }
    .mobile-bar a:only-child { flex: 1 1 100%; }
    body.page-gate { padding-bottom: 0; }
    .brand-card { flex-direction: column; text-align: center; padding: 18px 10px; gap: 10px; }
    .brand-card strong { font-size: 15px; }
    .brand-card small { display: none; }
    .brand-card .go { width: 22px; height: 22px; }
    .cta-bar { text-align: center; }
    .cta-bar .btn-main { margin-top: 6px; }
    .wa-float { display: none; }
    .mobile-bar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
        box-shadow: 0 -4px 20px rgba(0,0,0,.5);
    }
    .mobile-bar a {
        flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
        height: 60px; color: #fff; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; font-size: 15px;
    }
    .mobile-bar svg { width: 22px; height: 22px; }
    .mb-wa { background: var(--wa); }
    .mb-form { background: var(--primary); }
}
@media (max-width: 575.98px) {
    .btn-main { padding: 13px 20px; font-size: 14px; }
    .btn-main.btn-lg { padding: 16px 22px; font-size: 15px; }
    .brand-sep { display: none; }
    .brand-dang { height: 42px; }
    .gate-top .brand-febi { height: 48px; }
    .gate-top .brand-dang { height: 62px; }
}

/* =========================================================
   SITE DANG – componentes extras (multimarcas)
   ========================================================= */
.main-nav { align-items: center; }
.main-nav a.active { color: var(--primary); }
.nav-dd { position: relative; }
.nav-dd > button { background: none; border: 0; padding: 0; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 4px; }
.nav-dd > button::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.nav-dd > button:hover, .nav-dd.active > button { color: var(--primary); }
.nav-dd-menu { position: absolute; top: calc(100% + 14px); left: -16px; min-width: 210px; padding: 8px; border-radius: 8px; background: rgba(18,18,18,.98); border: 1px solid var(--bg-3); box-shadow: 0 14px 30px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s; }
.nav-dd-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: none; }
.nav-dd-menu a { display: block; padding: 9px 12px; border-radius: 6px; }
.nav-dd-menu a:hover { background: var(--bg-2); }
.nav-cliente { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px !important; border: 1px solid rgba(255,255,255,.3); border-radius: 6px; font-size: 14px !important; }
.nav-cliente svg { width: 16px; height: 16px; }

/* Cabeçalho das páginas internas */
.page-hero { position: relative; padding: calc(var(--header-h) + 80px) 0 80px; overflow: hidden; }
.page-hero .hero-title { font-size: clamp(30px, 4vw, 54px); }
.page-hero .hero-lead { margin: 0 0 26px; max-width: 640px; }
.page-hero .hero-overlay { background: linear-gradient(90deg, rgba(12,12,12,.95) 0%, rgba(12,12,12,.82) 55%, rgba(12,12,12,.55) 100%); }
.page-hero .subtitle { background: rgba(0,0,0,.6); }
.page-hero-logo { display: block; height: auto; width: auto; max-height: 54px; max-width: 200px; margin-bottom: 18px; }
.breadcrumb-mini { font-size: 13px; color: #aaa; margin-bottom: 14px; }
.breadcrumb-mini a { color: #ddd; }

/* Logos das 3 marcas de peças */
.parts-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 54px; }
.parts-logos img { height: 28px; width: auto; opacity: .9; transition: opacity .2s; }
.parts-logos a:hover img { opacity: 1; }
.parts-logos .lg-febi { height: 54px; }
.gate .parts-logos { margin-top: 30px; }

/* Card de marca de peças */
.pb-card { display: flex; flex-direction: column; height: 100%; border-radius: 14px; overflow: hidden; background: var(--bg-2); border: 1px solid var(--bg-3); transition: transform .25s, border-color .25s; }
.pb-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.pb-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.pb-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pb-card:hover .pb-img img { transform: scale(1.05); }
.pb-logo { position: absolute; left: 18px; bottom: 16px; height: 40px; padding: 8px 12px; border-radius: 8px; background: rgba(12,12,12,.85); }
.pb-logo img { height: 100%; width: auto; }
.pb-body { padding: 26px; display: flex; flex-direction: column; flex-grow: 1; }
.pb-body p { flex-grow: 1; }
.pb-body .btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* Produtos (fotos com fundo branco) */
.prod-card { height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--bg-3); display: flex; flex-direction: column; }
.prod-img { background: #fff; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s; }
.prod-card:hover .prod-img img { transform: scale(1.05); }
.prod-body { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.prod-body h3 { font-size: 20px; margin-bottom: 8px; }
.prod-body p { font-size: 15px; flex-grow: 1; }

/* Equipe */
.team-card { height: 100%; padding: 30px 26px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--bg-3); display: flex; flex-direction: column; }
.team-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 26px; margin-bottom: 16px; }
.team-card h3 { margin-bottom: 2px; }
.team-role { color: var(--primary); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.team-card p { font-size: 15px; flex-grow: 1; }
.team-contacts { list-style: none; padding: 0; margin: 0 0 18px; font-size: 14px; }
.team-contacts li { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; word-break: break-all; }
.team-contacts svg { width: 16px; height: 16px; color: var(--primary); flex: none; }
.team-contacts a { color: #ddd; }

/* Contato / mapa */
.contact-box { padding: 34px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--bg-3); height: 100%; }
.contact-box .footer-contact li { font-size: 16px; margin-bottom: 14px; }
.map-wrap { border-radius: 14px; overflow: hidden; height: 100%; min-height: 380px; border: 1px solid var(--bg-3); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(180deg); }

/* Indicadores 100% */
.kpi { text-align: center; padding: 26px 14px; border-radius: var(--radius); background: var(--bg-1); height: 100%; }
.kpi strong { display: block; font-family: var(--font-head); font-size: 40px; color: var(--primary); line-height: 1.1; }

.gate-scroll { position: relative; z-index: 2; text-align: center; padding-bottom: 18px; }
.gate-scroll a { color: #bbb; font-size: 14px; }

@media (max-width: 991.98px) {
    .main-nav { align-items: stretch; }
    .nav-dd > button { padding: 14px 24px; width: 100%; border-top: 1px solid var(--bg-3); justify-content: space-between; }
    .nav-dd-menu { position: static; opacity: 1; visibility: visible; transform: none; display: none; box-shadow: none; border: 0; padding: 0 0 8px 16px; background: transparent; }
    .nav-dd.open .nav-dd-menu { display: block; }
    .nav-dd-menu a { border-top: 0 !important; padding: 10px 24px; }
    .site-header.open .main-nav { max-height: 640px; overflow-y: auto; }
    .main-nav .nav-cliente { margin: 12px 24px; justify-content: center; border-top: 1px solid rgba(255,255,255,.3); }
    .page-hero { padding: calc(var(--header-h) + 40px) 0 50px; }
    .page-hero .hero-overlay { background: rgba(12,12,12,.85); }
}
@media (max-width: 575.98px) {
    .parts-logos { gap: 16px 30px; }
    .parts-logos img { height: 20px; }
    .parts-logos .lg-febi { height: 40px; }
}

.gate-site .gate-main { padding-top: calc(var(--header-h) + 40px); }
.gate-site { min-height: 100vh; min-height: 100svh; }

@media (max-width: 991.98px) {
    .site-header.open { backdrop-filter: none; background: #121212; }
    .main-nav { background: #121212; }
}
