/* ============================================
   ELECTROSEG – Main Stylesheet
   Dark theme | Orange/Gold accent
   ============================================ */

:root {
    --orange: #F5A623;
    --orange-dark: #D4881A;
    --orange-glow: rgba(245, 166, 35, 0.25);
    --bg-black: #0A0A0A;
    --bg-dark: #111111;
    --bg-card: #161616;
    --bg-card2: #1C1C1C;
    --border: rgba(245, 166, 35, 0.18);
    --border-light: rgba(255,255,255,0.06);
    --text-white: #F0F0F0;
    --text-muted: #888;
    --text-dim: #555;
    --radius: 10px;
    --radius-lg: 18px;
    --shadow: 0 4px 30px rgba(0,0,0,0.6);
    --shadow-orange: 0 0 30px rgba(245,166,35,0.15);
    --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--bg-black);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Rajdhani', sans-serif; line-height: 1.2; font-weight: 700; }
.orbitron { font-family: 'Orbitron', sans-serif; }
.section-tag {
    display: inline-block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    border: 1px solid var(--border);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 14px;
    background: rgba(245,166,35,0.06);
}
.section-title {
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 16px;
}
.section-title span { color: var(--orange); }
.section-desc { color: var(--text-muted); max-width: 560px; font-size: 15px; }

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.btn-primary {
    background: var(--orange);
    color: #000;
}
.btn-primary:hover {
    background: #fff;
    color: #000;
    box-shadow: 0 0 24px var(--orange-glow);
}
.btn-outline {
    background: transparent;
    color: var(--orange);
    border: 1.5px solid var(--orange);
}
.btn-outline:hover {
    background: var(--orange);
    color: #000;
}

/* ── TOPBAR ── */
.topbar {
    background: #070707;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-muted);
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar-left span, .topbar-right a {
    display: flex; align-items: center; gap: 7px;
    color: var(--text-muted);
}
.topbar-right a:hover, .topbar-left span i { color: var(--orange); }
.topbar-left span i { color: var(--orange); }

/* ── NAVBAR ── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.navbar.scrolled { background: rgba(5,5,5,0.98); }
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
}
.nav-logo img {
    height: 56px;
    width: auto;
    object-fit: contain;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-menu li a {
    padding: 8px 14px;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    color: var(--text-muted);
    position: relative;
}
.nav-menu li a:hover, .nav-menu li a.active {
    color: var(--text-white);
}
.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 2px;
    background: var(--orange);
    border-radius: 2px;
}
.btn-whatsapp {
    background: #25D366 !important;
    color: #fff !important;
    padding: 8px 18px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
}
.btn-whatsapp:hover { background: #1ebe5d !important; opacity: 0.9; }
.btn-whatsapp::after { display: none !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 26px; height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ── HERO ── */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(245,166,35,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(245,166,35,0.04) 0%, transparent 60%),
        linear-gradient(135deg, #0A0A0A 0%, #111 100%);
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(245,166,35,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245,166,35,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 640px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,166,35,0.1);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 13px;
    color: var(--orange);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
}
.hero-badge i { font-size: 10px; }
.hero h1 {
    font-size: clamp(38px, 6vw, 72px);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 20px;
}
.hero h1 .accent { color: var(--orange); }
.hero-sub {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
.hero-stat-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--orange);
    line-height: 1;
}
.hero-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* ── MARQUEE ── */
.marquee-bar {
    background: var(--orange);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
}
.marquee-track {
    display: inline-flex;
    gap: 48px;
    animation: marquee 20s linear infinite;
}
.marquee-item {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000;
    display: flex; align-items: center; gap: 16px;
}
.marquee-item::after { content: '✦'; opacity: 0.4; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SECTIONS ── */
.section { padding: 90px 0; }
.section-header { margin-bottom: 56px; }

/* ── CATEGORIES ── */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}
.cat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}
.cat-card:hover {
    border-color: var(--orange);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(245,166,35,0.12);
}
.cat-icon {
    width: 60px; height: 60px;
    background: rgba(245,166,35,0.1);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    color: var(--orange);
    margin: 0 auto 16px;
    transition: var(--transition);
}
.cat-card:hover .cat-icon { background: var(--orange); color: #000; }
.cat-name { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.cat-count { font-size: 12px; color: var(--text-muted); }

/* ── PRODUCT CARDS ── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: var(--shadow-orange);
}
.product-img {
    background: #1a1a1a;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    font-size: 64px;
    position: relative;
}
.product-img img{
    max-width:100%;
    max-height:220px;
    object-fit:contain;
    transition:0.3s ease;
}
.product-badge {
    position: absolute; top: 12px; left: 12px;
    background: var(--orange); color: #000;
    font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-radius: 6px;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
}
.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-brand {
    font-size: 11px; font-weight: 600; letter-spacing: 2px;
    color: var(--orange); text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif;
    margin-bottom: 6px;
}
.product-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 17px; font-weight: 700;
    margin-bottom: 8px; line-height: 1.3;
}
.product-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; flex: 1; }
.product-footer {
    display: flex; align-items: center;
    justify-content: space-between; gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}
.product-cta {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--orange); color: #000;
    padding: 8px 16px; border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700; font-size: 13px;
    transition: var(--transition);
}
.product-cta:hover { background: #fff; }

/* ── WHY US ── */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.why-features { display: grid; gap: 20px; }
.why-feat {
    display: flex; gap: 18px; align-items: flex-start;
    padding: 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: var(--transition);
}
.why-feat:hover { border-color: var(--border); }
.why-feat-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    background: rgba(245,166,35,0.1);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--orange);
}
.why-feat h4 { font-family: 'Rajdhani', sans-serif; font-size: 17px; margin-bottom: 4px; }
.why-feat p { font-size: 13px; color: var(--text-muted); }
.why-visual {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
}
.why-visual-inner {
    font-size: 120px;
    filter: drop-shadow(0 0 40px rgba(245,166,35,0.3));
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.why-visual-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--orange); color: #000;
    padding: 10px 20px; border-radius: 100px;
    font-family: 'Rajdhani', sans-serif; font-weight: 700;
    margin-top: 20px; font-size: 14px;
}

/* ── SERVICES ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px; background: var(--orange);
    transform: scaleX(0); transform-origin: left;
    transition: var(--transition);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { border-color: var(--border); transform: translateY(-4px); }
.service-icon {
    font-size: 36px; margin-bottom: 16px; color: var(--orange);
}
.service-card h3 { font-family: 'Rajdhani', sans-serif; font-size: 20px; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-muted); }

/* ── CTA BANNER ── */
.cta-section {
    background:
        radial-gradient(ellipse 60% 80% at 50% 50%, rgba(245,166,35,0.1) 0%, transparent 70%),
        var(--bg-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 14px; }
.cta-section p { color: var(--text-muted); margin-bottom: 36px; font-size: 16px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── CONTACT FORM ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}
.contact-info-list { display: grid; gap: 20px; margin-top: 32px; }
.contact-info-item {
    display: flex; gap: 16px; align-items: center;
    padding: 18px 22px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}
.contact-info-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: rgba(245,166,35,0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: var(--orange);
}
.contact-info-item h4 { font-family: 'Rajdhani', sans-serif; font-size: 14px; color: var(--text-muted); margin-bottom: 2px; }
.contact-info-item p { font-size: 15px; font-weight: 500; }

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 500;
    color: var(--text-muted); margin-bottom: 8px;
    font-family: 'Rajdhani', sans-serif; letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 12px 16px;
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    color: var(--text-white);
    font-size: 14px; font-family: 'Inter', sans-serif;
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px var(--orange-glow);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-dark); }

/* ── ABOUT ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-stats-row {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 16px; margin-top: 36px;
}
.about-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}
.about-stat-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px; font-weight: 700; color: var(--orange);
}
.about-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.about-visual {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px; text-align: center;
}
.cert-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(245,166,35,0.1);
    border: 1px solid var(--border);
    padding: 12px 20px; border-radius: 100px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600; font-size: 14px; color: var(--orange);
    margin-top: 20px;
}

/* ── PAGE HERO ── */
.page-hero {
    padding: 60px 0 48px;
    background:
        linear-gradient(to bottom, rgba(245,166,35,0.04), transparent),
        var(--bg-dark);
    border-bottom: 1px solid var(--border);
    text-align: center;
}
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 12px; }
.page-hero p { color: var(--text-muted); font-size: 16px; }

/* ── FILTER TABS ── */
.filter-tabs {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-bottom: 40px;
}
.filter-tab {
    padding: 9px 20px;
    border-radius: 100px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600; font-size: 14px;
    border: 1.5px solid var(--border-light);
    background: transparent; color: var(--text-muted);
    cursor: pointer; transition: var(--transition);
}
.filter-tab:hover, .filter-tab.active {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(245,166,35,0.07);
}

/* ── FOOTER ── */
.footer { background: #080808; border-top: 1px solid var(--border); }
.footer-top { padding: 70px 0 50px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}
.footer-brand img { height: 56px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.7; max-width: 300px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
    width: 38px; height: 38px;
    background: var(--bg-card); border: 1px solid var(--border-light);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); font-size: 16px;
    transition: var(--transition);
}
.footer-social a:hover { color: var(--orange); border-color: var(--orange); }
.footer-links h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px; font-weight: 700;
    color: var(--text-white); margin-bottom: 18px;
    letter-spacing: 0.5px;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { font-size: 14px; color: var(--text-muted); }
.footer-links ul li a:hover { color: var(--orange); }
.footer-contact h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px; font-weight: 700;
    margin-bottom: 18px;
}
.footer-contact ul li {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; color: var(--text-muted); margin-bottom: 12px;
}
.footer-contact ul li i { color: var(--orange); width: 16px; }
.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 20px 0;
}
.footer-bottom .container {
    display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 13px; color: var(--text-dim); }
.footer-bottom strong { color: var(--orange); }

/* ── WHATSAPP FLOAT ── */
.wpp-float {
    position: fixed; bottom: 28px; right: 28px; z-index: 999;
    width: 58px; height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: #fff;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    animation: wpp-pulse 2.5s ease-in-out infinite;
    transition: transform 0.2s;
}
.wpp-float:hover { transform: scale(1.1); }
@keyframes wpp-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 32px rgba(37,211,102,0.7); }
}

/* ── ALERTS ── */
.alert {
    padding: 14px 20px; border-radius: var(--radius);
    margin-bottom: 20px; font-size: 14px;
    display: flex; align-items: center; gap: 10px;
}
.alert-success { background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.3); color: #4ade80; }
.alert-error { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.3); color: #f87171; }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .why-grid, .about-grid { grid-template-columns: 1fr; }
    .why-visual, .about-visual { display: none; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(5,5,5,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
        gap: 6px;
    }
    .nav-menu.open { display: flex; }
    .nav-toggle { display: flex; }
    .nav-menu li a { width: 100%; padding: 12px 16px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-stats { gap: 24px; }
    .about-stats-row { grid-template-columns: 1fr 1fr; }
    .topbar .container { justify-content: center; }
    .topbar-left { display: none; }
}
@media (max-width: 480px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
}

/* Preço opcional do produto (definido no painel /admin) */
.product-price { font-family: 'Rajdhani', sans-serif; font-size: 22px; font-weight: 700; color: var(--orange); margin: 8px 0 4px; }
