/*
Theme Name: ROMA Engenharia
Theme URI: https://romase.com.br
Author: Orbion Digital
Author URI: https://orbion.digital
Description: Tema WordPress premium para ROMA — Engenharia e Automação de alta performance. Painéis elétricos, automação industrial e projetos sob medida. Totalmente gerenciável via Customizer, com blog, cases de sucesso, carrossel de clientes, formulário de contato, cookies, VLibras e widget de WhatsApp.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: roma
Tags: business, industrial, engineering, custom-colors, custom-logo, custom-menu, featured-images, blog, translation-ready
*/

/* ================= PALETA PREMIUM & DISRUPTIVA ================= */
:root {
    --blue-deep: #030B1A;
    --blue-glow: rgba(3, 11, 26, 0.4);
    --red-ruby: #A81C26;
    --red-hover: #8A151E;
    --bg-white: #FFFFFF;
    --bg-gray: #F4F7FB;
    --text-main: #334155;
    --text-light: #64748B;
    --border-light: rgba(226, 232, 240, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-premium: 0 24px 48px -12px rgba(3, 11, 26, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    --wa-green: #25D366;
    --wa-green-hover: #1da851;
    --wa-shadow: 0 15px 35px rgba(3, 11, 26, 0.15);
}

/* ================= RESET ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; color: var(--blue-deep); line-height: 1.2; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* ================= UTILITÁRIOS ================= */
.container { max-width: 1280px; margin: 0 auto; padding: 0 5%; }
.section-padding { padding: 140px 0; }

.subtitle {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--red-ruby);
    margin-bottom: 20px;
    display: inline-block;
    background: rgba(168, 28, 38, 0.05);
    padding: 6px 16px;
    border-radius: 50px;
}

.section-title {
    font-size: 3.2rem;
    margin-bottom: 60px;
    font-weight: 500;
    letter-spacing: -1px;
}

.text-center { text-align: center; }

/* ================= BOTÕES ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1.05rem;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--red-ruby);
    color: #fff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: ''; position: absolute; top: 0; left: 0; width: 0; height: 100%;
    background-color: var(--red-hover); transition: var(--transition); z-index: -1;
}

.btn-primary:hover::before { width: 100%; }
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(168, 28, 38, 0.25);
    color: #fff;
}

.btn-outline {
    background-color: transparent; color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background-color: #fff; color: var(--blue-deep);
    border-color: #fff; transform: translateY(-3px);
}

/* ================= HEADER ================= */
header.site-header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    transition: var(--transition); background: transparent; padding: 25px 0;
}

header.site-header.scrolled {
    background: rgba(3, 11, 26, 0.85); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px); padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); box-shadow: var(--shadow-glass);
}

/* Header em páginas internas (fundo sólido para legibilidade) */
body:not(.home) header.site-header {
    background: rgba(3, 11, 26, 0.95);
}

.navbar { display: flex; justify-content: space-between; align-items: center; }

.logo { display: flex; align-items: center; cursor: pointer; }
.logo img { transition: transform 0.3s ease; max-height: 45px; width: auto; }
.logo:hover img { transform: scale(1.05); }
.logo .site-title-text { color: #fff; font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1.6rem; letter-spacing: 1px; }

.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; font-weight: 500; transition: var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--red-ruby); transition: width 0.3s ease; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-btn { background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); padding: 12px 28px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.1); }
.nav-links .nav-btn::after { display: none; }
.nav-links .nav-btn:hover { background: var(--red-ruby); border-color: var(--red-ruby); }

/* Submenus */
.nav-links ul.sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 220px;
    background: rgba(3, 11, 26, 0.97); backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08); border-radius: 8px;
    padding: 12px 0; opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: var(--transition); box-shadow: var(--shadow-glass);
}
.nav-links li { position: relative; }
.nav-links li:hover > ul.sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-links ul.sub-menu li a { display: block; padding: 10px 24px; font-size: 0.9rem; }
.nav-links ul.sub-menu li a::after { display: none; }
.nav-links ul.sub-menu li a:hover { background: rgba(255,255,255,0.05); color: var(--red-ruby); }

.menu-toggle { display: none; color: #fff; font-size: 1.5rem; cursor: pointer; background: none; border: none; }

/* ================= HERO ================= */
.hero {
    height: 100vh; min-height: 850px;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    display: flex; align-items: center; position: relative;
}

.hero-content { max-width: 900px; color: #fff; padding-top: 80px; }
.hero h1 { font-size: 5rem; font-weight: 300; color: #fff; margin-bottom: 30px; letter-spacing: -2px; line-height: 1.1; }
.hero h1 strong { font-weight: 700; background: linear-gradient(120deg, #fff, rgba(255,255,255,0.6)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.3rem; color: rgba(255, 255, 255, 0.75); margin-bottom: 50px; max-width: 650px; font-weight: 300; line-height: 1.8; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

/* ================= PAGE HERO (internas) ================= */
.page-hero {
    padding: 220px 0 100px;
    background: linear-gradient(to right, rgba(3, 11, 26, 0.98) 0%, rgba(3, 11, 26, 0.75) 100%);
    background-color: var(--blue-deep);
    color: #fff; text-align: center;
}
.page-hero h1 { color: #fff; font-size: 3.5rem; font-weight: 500; letter-spacing: -1px; }
.page-hero .breadcrumb { margin-top: 20px; color: rgba(255,255,255,0.6); font-size: 0.95rem; }
.page-hero .breadcrumb a { color: var(--red-ruby); }

/* ================= DESTAQUES ================= */
.features { margin-top: -120px; position: relative; z-index: 10; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card {
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 50px 40px; border-radius: 8px; box-shadow: var(--shadow-premium);
    border: 1px solid rgba(255,255,255,0.5); transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--red-ruby); transform: scaleX(0); transform-origin: left; transition: transform 0.5s ease;
}
.feature-card:hover { transform: translateY(-15px); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { font-size: 2.2rem; color: var(--blue-deep); margin-bottom: 30px; display: inline-block; padding: 15px; background: var(--bg-gray); border-radius: 12px; }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 15px; }

/* ================= SOBRE A EMPRESA ================= */
.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; border-radius: 8px; position: relative; z-index: 2; box-shadow: var(--shadow-premium); }
.about-image::before { content: ''; position: absolute; top: -20px; left: -20px; width: 100%; height: 100%; border: 2px solid var(--border-light); border-radius: 8px; z-index: 1; }
.about-content p { margin-bottom: 25px; font-size: 1.15rem; color: var(--text-light); }
.mvv-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-top: 50px; border-top: 1px solid var(--border-light); padding-top: 50px; }
.mvv-item { display: flex; gap: 30px; align-items: flex-start; }
.mvv-item i { font-size: 1.5rem; color: var(--red-ruby); background: rgba(168, 28, 38, 0.05); padding: 15px; border-radius: 50%; }
.mvv-item h4 { font-size: 1.3rem; margin-bottom: 10px; }

/* ================= SOLUÇÕES ================= */
.solutions { background-color: var(--bg-gray); }
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.solution-card { background: var(--bg-white); padding: 50px; border-radius: 8px; border: 1px solid rgba(0,0,0,0.03); transition: var(--transition); }
.solution-card:hover { box-shadow: var(--shadow-premium); transform: translateY(-5px); }
.solution-icon { font-size: 2.5rem; color: var(--text-light); margin-bottom: 30px; transition: var(--transition); }
.solution-card:hover .solution-icon { color: var(--blue-deep); }
.solution-card h3 { font-size: 1.6rem; margin-bottom: 25px; }
.solution-list li { padding: 12px 0; border-bottom: 1px solid var(--border-light); font-size: 1rem; display: flex; justify-content: space-between; align-items: center; color: var(--text-light); }
.solution-list li:last-child { border-bottom: none; }
.solution-list li i { color: var(--red-ruby); font-size: 0.8rem; opacity: 0; transform: translateX(-15px); transition: var(--transition); }
.solution-card:hover .solution-list li i { opacity: 1; transform: translateX(0); }

/* ================= CLIENTES / CARROSSEL ================= */
.clients { text-align: center; }
.clients-carousel { margin-top: 60px; display: flex; align-items: center; gap: 20px; }
.clients-viewport { flex: 1; overflow: hidden; }
.clients-track { display: flex; gap: 30px; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.client-slide {
    flex: 0 0 calc((100% - 120px) / 5);
    display: flex; align-items: center; justify-content: center;
    padding: 25px 20px; min-height: 110px; background: var(--bg-white);
    border-radius: 8px;
}
.client-slide img { max-height: 60px; max-width: 100%; width: auto; object-fit: contain; transition: var(--transition); }
.client-slide:hover img { transform: scale(1.06); }

.clients-nav {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
    background: var(--red-ruby); color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; transition: var(--transition);
    box-shadow: 0 6px 16px rgba(168, 28, 38, 0.25);
}
.clients-nav:hover { background: var(--red-hover); transform: scale(1.08); }
.clients-nav:disabled { opacity: 0.35; cursor: default; transform: none; }

/* ================= CASES DE SUCESSO ================= */
.cases-section { background: var(--bg-gray); }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.case-card {
    background: var(--bg-white); border-radius: 10px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(3, 11, 26, 0.05);
    transition: var(--transition); display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-premium); }
.case-thumb { display: block; aspect-ratio: 16/11; overflow: hidden; background: var(--blue-deep); }
.case-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.case-card:hover .case-thumb img { transform: scale(1.06); }
.case-thumb-empty { background: linear-gradient(135deg, #1e293b, var(--blue-deep)); }
.case-body { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.case-tag {
    align-self: flex-start; background: var(--bg-gray); color: var(--text-light);
    font-family: 'Outfit', sans-serif; font-size: 0.7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1.5px;
    padding: 6px 14px; border-radius: 4px; margin-bottom: 18px;
}
.case-card h3 { font-size: 1.35rem; margin-bottom: 14px; line-height: 1.35; }
.case-card h3 a:hover { color: var(--red-ruby); }
.case-excerpt { color: var(--text-light); font-size: 0.98rem; margin-bottom: 22px; flex: 1; }
.case-link {
    color: var(--red-ruby); font-family: 'Outfit', sans-serif; font-weight: 600;
    font-size: 0.92rem; display: inline-flex; align-items: center; gap: 8px;
    align-self: flex-start;
}
.case-link i { transition: transform 0.3s ease; font-size: 0.8rem; }
.case-card:hover .case-link i { transform: translateX(5px); }

/* ================= BLOG / INSIGHTS ================= */
.blog-section { background: var(--bg-gray); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 35px; }
.post-card { background: var(--bg-white); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(3,11,26,0.04); transition: var(--transition); display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-premium); }
.post-card .post-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--blue-deep); }
.post-card .post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-card .post-body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.post-card .post-meta { font-size: 0.8rem; color: var(--red-ruby); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; margin-bottom: 14px; font-family: 'Outfit', sans-serif; }
.post-card h3 { font-size: 1.35rem; margin-bottom: 15px; line-height: 1.35; }
.post-card h3 a:hover { color: var(--red-ruby); }
.post-card .post-excerpt { color: var(--text-light); font-size: 0.98rem; margin-bottom: 20px; flex: 1; }
.post-card .post-readmore { color: var(--blue-deep); font-weight: 600; font-family: 'Outfit', sans-serif; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; }
.post-card .post-readmore i { transition: transform 0.3s ease; }
.post-card:hover .post-readmore i { transform: translateX(5px); }
.post-card .post-readmore:hover { color: var(--red-ruby); }

/* Single post / page content */
.single-content { max-width: 820px; margin: 0 auto; padding: 100px 5%; }
.single-content h1.entry-title { font-size: 2.8rem; margin-bottom: 20px; }
.single-content .entry-meta { color: var(--text-light); margin-bottom: 40px; font-size: 0.95rem; }
.single-content .featured-image { margin-bottom: 40px; border-radius: 8px; overflow: hidden; }
.entry-content p { margin-bottom: 24px; font-size: 1.12rem; color: var(--text-main); }
.entry-content h2 { font-size: 2rem; margin: 40px 0 20px; }
.entry-content h3 { font-size: 1.5rem; margin: 30px 0 15px; }
.entry-content ul, .entry-content ol { margin: 0 0 24px 24px; }
.entry-content li { margin-bottom: 10px; }
.entry-content img { border-radius: 8px; margin: 20px 0; }
.entry-content blockquote { border-left: 4px solid var(--red-ruby); padding: 10px 30px; margin: 30px 0; font-style: italic; color: var(--text-light); background: var(--bg-gray); border-radius: 0 8px 8px 0; }
.entry-content a { color: var(--red-ruby); text-decoration: underline; }

/* Paginação */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 70px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 46px; padding: 0 14px; border-radius: 6px; background: var(--bg-white); border: 1px solid var(--border-light); color: var(--text-main); font-family: 'Outfit', sans-serif; font-weight: 500; transition: var(--transition); }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--red-ruby); color: #fff; border-color: var(--red-ruby); }

/* ================= CONTATO ================= */
.contact { background-color: var(--blue-deep); color: #fff; position: relative; overflow: hidden; }
.contact::after { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: radial-gradient(circle at top right, rgba(168, 28, 38, 0.1), transparent 70%); pointer-events: none; }
.contact .section-title { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; align-items: center; }
.contact-info h3 { color: #fff; font-size: 2.2rem; margin-bottom: 20px; }
.info-block { margin-bottom: 40px; }
.info-block span { display: block; color: rgba(255,255,255,0.5); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; font-family: 'Outfit', sans-serif; }
.info-block p { font-size: 1.15rem; color: #fff; font-weight: 300; }
.premium-form { background: #fff; padding: 60px; border-radius: 8px; box-shadow: var(--shadow-premium); }
.premium-form .wpcf7 { color: var(--text-main); }
.form-group { margin-bottom: 35px; }
.form-control, .premium-form input[type=text], .premium-form input[type=email], .premium-form input[type=tel], .premium-form textarea {
    width: 100%; padding: 15px 0; border: none; border-bottom: 1px solid var(--border-light); background: transparent; font-family: inherit; font-size: 1.05rem; color: var(--text-main); transition: var(--transition);
}
.form-control:focus, .premium-form input:focus, .premium-form textarea:focus { outline: none; border-bottom-color: var(--blue-deep); }
textarea.form-control, .premium-form textarea { resize: none; height: 100px; }
.form-feedback { padding: 14px 18px; border-radius: 6px; margin-top: 20px; font-size: 0.95rem; display: none; }
.form-feedback.success { display: block; background: rgba(37,211,102,0.12); color: #158a44; border: 1px solid rgba(37,211,102,0.3); }
.form-feedback.error { display: block; background: rgba(168,28,38,0.08); color: var(--red-ruby); border: 1px solid rgba(168,28,38,0.25); }

/* ================= FOOTER ================= */
footer.site-footer { background-color: #01040A; color: #fff; padding: 100px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 80px; margin-bottom: 80px; }
.footer-brand p { color: rgba(255,255,255,0.5); margin-top: 30px; max-width: 400px; font-weight: 300; }
.footer-brand .logo img { max-height: 45px; }
.footer-title { font-family: 'Outfit', sans-serif; font-size: 1.3rem; margin-bottom: 30px; color: #fff; }
.footer-links li { margin-bottom: 18px; }
.footer-links a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-social-icons { display: flex; gap: 15px; margin-top: 25px; }
.footer-social-icons a { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.06); border-radius: 50%; color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-social-icons a:hover { background: var(--red-ruby); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 40px; display: flex; justify-content: space-between; color: rgba(255,255,255,0.4); font-size: 0.9rem; flex-wrap: wrap; gap: 15px; }

/* ================= WIDGET DE WHATSAPP ================= */
.wa-floating-btn { position: fixed; bottom: 30px; right: 30px; width: 65px; height: 65px; background-color: var(--wa-green); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; border: none; cursor: pointer; box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); z-index: 9998; transition: all 0.3s ease; animation: wa-pulse 2s infinite; }
.wa-floating-btn:hover { background-color: var(--wa-green-hover); transform: scale(1.05); color: #fff; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.wa-chat-box { position: fixed; bottom: 110px; right: 30px; width: 360px; background: #fff; border-radius: 12px; box-shadow: var(--wa-shadow); z-index: 9999; overflow: hidden; font-family: 'Plus Jakarta Sans', sans-serif; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.wa-chat-box.active { opacity: 1; visibility: visible; transform: translateY(0); }
.wa-chat-header { background-color: var(--blue-deep); padding: 20px; display: flex; align-items: center; gap: 15px; position: relative; }
.wa-chat-avatar { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--red-ruby); background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.wa-chat-avatar img { width: 80%; height: 80%; object-fit: contain; }
.wa-chat-info h4 { color: #fff; margin: 0 0 5px 0; font-size: 1.1rem; font-family: 'Outfit', sans-serif; }
.wa-chat-info p { color: rgba(255, 255, 255, 0.7); margin: 0; font-size: 0.8rem; display: flex; align-items: center; gap: 6px; }
.online-dot { width: 8px; height: 8px; background-color: var(--wa-green); border-radius: 50%; display: inline-block; }
.wa-chat-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: rgba(255,255,255,0.5); font-size: 1.2rem; cursor: pointer; transition: color 0.3s; }
.wa-chat-close:hover { color: var(--red-ruby); }
.wa-chat-body { background-color: var(--bg-gray); padding: 24px 20px; min-height: 200px; background-image: url('data:image/svg+xml,%3Csvg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%230a192f" fill-opacity="0.03" fill-rule="evenodd"%3E%3Ccircle cx="3" cy="3" r="3"/%3E%3Ccircle cx="13" cy="13" r="3"/%3E%3C/g%3E%3C/svg%3E'); }
.wa-chat-message { background: #fff; padding: 16px; border-radius: 0 12px 12px 12px; font-size: 0.95rem; color: var(--text-main); box-shadow: 0 2px 10px rgba(0,0,0,0.03); position: relative; line-height: 1.5; }
.wa-chat-message strong { display: block; color: var(--red-ruby); font-size: 0.85rem; margin-bottom: 5px; font-family: 'Outfit', sans-serif; }
.wa-chat-footer { padding: 16px; background: #fff; display: flex; gap: 12px; border-top: 1px solid #f1f5f9; }
.wa-chat-footer input { flex: 1; border: none; background: var(--bg-gray); padding: 12px 20px; border-radius: 100px; font-size: 0.95rem; color: var(--text-main); outline: none; font-family: inherit; border: 1px solid transparent; transition: border 0.3s; }
.wa-chat-footer input:focus { border-color: rgba(168, 28, 38, 0.3); }
.wa-send-btn { width: 45px; height: 45px; background: var(--blue-deep); color: #fff; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; font-size: 1rem; }
.wa-send-btn:hover { background: var(--red-ruby); transform: translateX(2px); }

/* ================= COOKIES ================= */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--blue-deep); color: #fff; padding: 24px 5%; z-index: 9997; display: none; align-items: center; justify-content: space-between; gap: 30px; box-shadow: 0 -8px 30px rgba(0,0,0,0.2); flex-wrap: wrap; }
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: 0.95rem; color: rgba(255,255,255,0.8); font-weight: 300; max-width: 800px; margin: 0; }
.cookie-banner p a { color: var(--red-ruby); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-actions .btn { padding: 12px 28px; font-size: 0.95rem; }
.cookie-decline { background: transparent; border: 1px solid rgba(255,255,255,0.25); color: #fff; }
.cookie-decline:hover { background: rgba(255,255,255,0.1); }

/* ================= ANIMAÇÕES ================= */
.fade-up { opacity: 0; transform: translateY(50px); transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
    .fade-up { opacity: 1; transform: none; }
    .clients-track { animation: none; }
}

/* ================= RESPONSIVO ================= */
@media (max-width: 1024px) {
    .hero h1 { font-size: 4rem; }
    .features-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 50px; }
    .features { margin-top: 0; padding: 100px 0 0; }
    .section-title { font-size: 2.5rem; }
    .client-slide { flex: 0 0 calc((100% - 60px) / 3); }
}

@media (max-width: 768px) {
    .section-padding { padding: 90px 0; }
    .menu-toggle { display: block; }
    .nav-links { position: fixed; top: 72px; left: -100%; width: 100%; height: calc(100vh - 72px); background: rgba(3, 11, 26, 0.98); backdrop-filter: blur(20px); flex-direction: column; justify-content: center; transition: var(--transition); gap: 30px; overflow-y: auto; padding: 40px 0; }
    .nav-links.active { left: 0; }
    .nav-links ul.sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; border: none; box-shadow: none; padding: 10px 0; text-align: center; }
    .hero h1 { font-size: 3rem; }
    .page-hero h1 { font-size: 2.4rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 20px; }
    .premium-form { padding: 40px 20px; }
    .cookie-banner { flex-direction: column; text-align: center; }
    .cookie-actions { width: 100%; justify-content: center; }
    .wa-floating-btn { bottom: 20px; right: 20px; width: 55px; height: 55px; font-size: 30px; }
    .wa-chat-box { width: calc(100% - 40px); bottom: 90px; right: 20px; }
    .single-content h1.entry-title { font-size: 2rem; }
    .client-slide { flex: 0 0 calc((100% - 30px) / 2); }
}
