/* Estilos compartilhados - páginas Sobre, Produtos, Contato */
:root {
    --pg: linear-gradient(135deg,#0056b3,#003366);
    --ac: #ff6b00;
    --al: #ff9e4d;
    --db: #003366;
    --wh: #fff;
    --lg: #f8f9fa;
    --mg: #e9ecef;
    --dg: #212529;
    --tg: #495057;
    --tf: all .3s ease;
    --tm: all .5s ease;
    --brs: 8px;
    --brm: 15px;
    --brl: 25px;
    --sl: 0 5px 15px rgba(0,0,0,.05);
    --sh: 0 15px 40px rgba(0,0,0,.15);
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body {
    background-color: var(--wh);
    color: var(--tg);
    line-height: 1.7;
    overflow-x: hidden;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: radial-gradient(circle at 20% 80%, rgba(0, 86, 179, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 107, 0, 0.03) 0%, transparent 50%);
    z-index: -1;
}
.icon { width: 1em; height: 1em; fill: currentColor; vertical-align: -0.15em; flex-shrink: 0; }
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* Top contact bar */
.top-contact-bar {
    background: var(--db);
    color: var(--wh);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    z-index: 1002;
    position: relative;
    padding-left: max(5%, env(safe-area-inset-left));
    padding-right: max(5%, env(safe-area-inset-right));
}
.contact-info-top { display: flex; align-items: center; gap: 25px; font-size: 0.9rem; }
.contact-info-top a { color: var(--wh); text-decoration: none; transition: var(--tf); display: flex; align-items: center; gap: 8px; }
.contact-info-top a:hover { color: var(--al); }
.top-social-icons { display: flex; gap: 15px; }
.top-social-icon {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    color: var(--wh); transition: var(--tf);
    text-decoration: none; background: rgba(255, 255, 255, 0.1);
}
.top-social-icon:hover { background: var(--ac); transform: translateY(-3px); }

/* Header */
header {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--sl);
    position: sticky;
    top: 0;
    z-index: 1001;
    backdrop-filter: blur(10px);
    padding: 20px 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: max(5%, env(safe-area-inset-left));
    padding-right: max(5%, env(safe-area-inset-right));
}
.logo-container { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.logo { height: 80px; width: auto; transition: var(--tm); }
.logo-text { display: flex; flex-direction: column; }
.logo-main {
    font-size: 2.2rem; font-weight: 900;
    background: var(--pg);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}
.logo-sub { font-size: 0.9rem; color: var(--db); font-weight: 600; letter-spacing: 1px; margin-top: 3px; }

/* Desktop menu */
nav.desktop-menu ul { display: flex; list-style: none; align-items: center; gap: 35px; }
nav.desktop-menu ul li a {
    text-decoration: none;
    color: var(--dg);
    font-weight: 600;
    transition: var(--tf);
    padding: 5px 0;
    position: relative;
    font-size: 1.05rem;
}
nav.desktop-menu ul li a::before {
    content: '';
    position: absolute;
    width: 0; height: 3px;
    background: var(--ac);
    bottom: 0; left: 0;
    transition: var(--tm);
    border-radius: 3px;
}
nav.desktop-menu ul li a:hover { color: var(--db); }
nav.desktop-menu ul li a:hover::before { width: 100%; }
.cta-button {
    background: var(--ac);
    color: white;
    padding: 12px 28px;
    border-radius: var(--brl);
    font-weight: 700;
    text-decoration: none;
    transition: var(--tf);
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.cta-button:hover {
    background: #eab308;
    color: #fff;
    transform: translateY(-3px);
}
/* Orçamento no menu: texto preto no hover, sem listra laranja embaixo */
nav.desktop-menu ul li a.cta-button:hover {
    color: #000;
}
nav.desktop-menu ul li a.cta-button:hover::before {
    width: 0;
    display: none;
}
nav.desktop-menu ul li a.cta-button::before {
    display: none;
}
nav.mobile-menu a.mobile-cta:hover {
    color: #000;
}

/* Mobile menu */
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.8rem; color: var(--db); cursor: pointer; padding: 10px; }
nav.mobile-menu {
    position: fixed;
    top: 0; left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--wh);
    box-shadow: var(--sh);
    z-index: 1003;
    transition: var(--tm);
    padding: 100px 30px 40px;
}
nav.mobile-menu.active { left: 0; }
.mobile-menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: var(--tm);
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.close-menu { position: absolute; top: 30px; right: 30px; font-size: 1.8rem; background: none; border: none; color: var(--dg); cursor: pointer; }
nav.mobile-menu ul { list-style: none; margin-bottom: 40px; }
nav.mobile-menu ul li { margin-bottom: 20px; }
nav.mobile-menu ul li a {
    text-decoration: none;
    color: var(--dg);
    font-weight: 600;
    font-size: 1.2rem;
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--mg);
}
.mobile-cta { background: var(--ac); color: white; padding: 15px; border-radius: var(--brm); font-weight: 700; text-decoration: none; text-align: center; margin-top: 20px; display: inline-block; }

/* Page content */
.page-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 5%;
}
.page-inner p { margin-bottom: 1rem; }
.page-inner ul { margin: 1rem 0 1rem 1.5rem; }
.page-inner a { color: var(--db); text-decoration: none; font-weight: 600; }
.page-inner a:hover { color: var(--ac); text-decoration: underline; }
.page-inner .cta-wrap { margin-top: 2rem; }

/* Footer */
footer {
    background: var(--db);
    color: white;
    padding-top: 80px;
    margin-top: 40px;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}
.footer-column h3 { font-size: 1.5rem; margin-bottom: 25px; position: relative; padding-bottom: 15px; }
.footer-column h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; background: var(--ac); }
.footer-logo { font-size: 2.5rem; font-weight: 900; margin-bottom: 15px; background: linear-gradient(135deg, #fff, #ccc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-description { opacity: 0.8; margin-bottom: 25px; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { color: rgba(255,255,255,0.8); text-decoration: none; transition: var(--tf); display: flex; align-items: center; gap: 10px; }
.footer-links ul li a:hover { color: var(--al); padding-left: 5px; }
.footer-contact p { margin-bottom: 15px; display: flex; align-items: flex-start; gap: 15px; }
.footer-contact a { color: rgba(255,255,255,0.8); text-decoration: none; transition: var(--tf); }
.footer-contact a:hover { color: var(--al); }
/* Link do CNPJ no footer: mesmo estilo dos outros links */
.footer-contact p a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}
.footer-contact p a:hover { color: var(--al); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 25px 5%; text-align: center; font-size: 0.9rem; opacity: 0.7; }

/* Cookie */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: var(--dg);
    padding: 25px;
    border-radius: var(--brm);
    box-shadow: var(--sh);
    z-index: 9999;
    width: 90%;
    max-width: 600px;
    display: none;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-content { flex: 1; min-width: 300px; }
.cookie-buttons { display: flex; gap: 15px; }
.cookie-btn { padding: 12px 25px; border-radius: var(--brm); font-weight: 600; cursor: pointer; transition: var(--tf); border: none; }
.cookie-accept { background: #7a3300; color: #fff; }
.cookie-decline { background: transparent; color: var(--tg); border: 1px solid #ddd; }

/* WhatsApp float */
.whatsapp-float {
    position: fixed;
    width: 60px; height: 60px;
    bottom: 20px; right: 20px;
    background: #25D366;
    color: #FFF;
    border-radius: 50px;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--tf);
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
}
.whatsapp-float:hover { transform: scale(1.1); }

/* Back to top */
#backToTop {
    display: none;
    position: fixed;
    bottom: 80px; right: 20px;
    width: 50px; height: 50px;
    background: var(--ac);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--tf);
    right: max(20px, env(safe-area-inset-right));
    bottom: max(80px, calc(80px + env(safe-area-inset-bottom)));
}
#backToTop.visible { display: flex; align-items: center; justify-content: center; }
#backToTop:hover { background: var(--db); transform: translateY(-3px); }

@media (max-width: 992px) {
    .top-contact-bar { justify-content: center; text-align: center; padding: 8px 5%; }
    .contact-info-top { justify-content: center; font-size: 0.82rem; gap: 12px; }
}
@media (max-width: 768px) {
    .header-container { padding: 12px 5%; }
    .logo { height: 56px; max-width: 50vw; }
    .logo-main { font-size: 1.5rem; }
    .logo-sub { font-size: 0.65rem; }
    nav.desktop-menu { display: none; }
    .mobile-menu-btn { display: block; min-width: 44px; min-height: 44px; }
    .page-inner { padding: 40px 5%; }
    .footer-content { gap: 24px; padding: 0 5% 28px; }
    .footer-column:not(:last-child) { border-bottom: 1px solid rgba(255,255,255,0.15); padding-bottom: 20px; }
}
