/* ============================================
   Brumado Oleo v2 - One-Page SEO Local 40km
   WhatsApp Conversion Focus
   ============================================ */

:root {
    --yellow: #FFD700;
    --yellow-dark: #E6C200;
    --blue: #0A2E5D;
    --blue-light: #1A3F7A;
    --whatsapp: #25D366;
    --whatsapp-dark: #1EBE57;
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg: #FFFFFF;
    --bg-light: #F5F6F8;
    --bg-dark: #0A1628;
    --border: #E0E0E0;
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s ease;
    --container: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--yellow-dark); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--blue); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ========== TOP BAR AMARELA ========== */
.top-bar {
    background: var(--yellow);
    padding: 10px 0;
}
.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-weight: 600;
    font-size: 15px;
    transition: opacity var(--transition);
}
.top-bar-item:hover { opacity: 0.8; color: var(--blue); }
.top-bar-whatsapp { color: var(--blue); }

/* ========== HEADER ========== */
.site-header {
    background: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}
.site-logo-link {
    display: inline-flex;
    text-decoration: none;
    line-height: 1;
}
.site-logo-img {
    height: 52px;
    width: auto;
    display: block;
}
.site-header .custom-logo-link img { max-height: 52px; width: auto; }

/* Nav */
.nav-menu { display: flex; list-style: none; gap: 4px; align-items: center; }
.nav-menu li a {
    display: block;
    padding: 8px 14px;
    color: var(--text);
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
    color: var(--blue);
    background: rgba(10,46,93,0.06);
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--blue);
    border-radius: 2px;
    transition: all var(--transition);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--yellow);
    color: var(--blue);
}
.btn-primary:hover {
    background: var(--yellow-dark);
    color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
}
.btn-secondary {
    background: var(--blue);
    color: #fff;
}
.btn-secondary:hover {
    background: var(--blue-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10,46,93,0.3);
}
.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
}
.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
}
.btn-outline {
    background: transparent;
    color: var(--blue);
    border: 2px solid var(--blue);
}
.btn-outline:hover {
    background: var(--blue);
    color: #fff;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ========== HERO ========== */
.hero-section {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--blue) 0%, #061d3d 100%);
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.2;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 620px;
    padding: 70px 0;
}
.hero-title {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    color: #fff;
    margin-bottom: 18px;
    font-weight: 800;
    line-height: 1.15;
}
.hero-highlight {
    color: var(--yellow);
}
.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ========== SECTIONS COMMON ========== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 10px;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
}
.section-title-left {
    text-align: left;
}

/* ========== SERVICES ========== */
.services-section {
    padding: 70px 0;
    background: var(--bg-light);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--yellow);
}
.service-icon {
    width: 60px;
    height: 60px;
    background: var(--blue);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--yellow);
    margin-bottom: 18px;
}
.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.service-card p {
    color: var(--text-light);
    font-size: 0.93rem;
    margin-bottom: 16px;
}
.service-cta {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--blue);
}
.service-cta:hover { color: var(--yellow-dark); }

/* ========== ABOUT ========== */
.about-section { padding: 70px 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-image-placeholder {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
}
.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.02rem;
}
.about-features {
    list-style: none;
    margin-bottom: 24px;
}
.about-features li {
    padding: 7px 0 7px 28px;
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
}
.about-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 16px;
    height: 16px;
    background: var(--yellow);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%230A2E5D' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 9px;
}

/* ========== CITIES - SEO LOCAL ========== */
.cities-section {
    padding: 70px 0;
    background: var(--bg-light);
}
.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.city-group {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    border: 1px solid var(--border);
}
.city-group-title {
    font-size: 0.95rem;
    color: var(--blue);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--yellow);
}
.city-list {
    list-style: none;
}
.city-list li {
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    border-bottom: 1px solid #f0f0f0;
}
.city-list li:last-child { border-bottom: none; }
.cities-cta {
    text-align: center;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    border: 2px solid var(--yellow);
}
.cities-cta-text {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section { padding: 70px 0; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testimonial-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    border: 1px solid var(--border);
}
.testimonial-stars {
    color: var(--yellow);
    font-size: 1.1rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}
.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 18px;
    font-style: italic;
    color: var(--text);
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}
.testimonial-author strong { display: block; font-size: 0.93rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ========== LOCATION ========== */
.location-section { padding: 70px 0; background: var(--bg-light); }
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}
.location-info h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}
.location-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 1rem;
}
.location-address svg { flex-shrink: 0; color: var(--blue); margin-top: 3px; }
.location-hours { margin-bottom: 24px; }
.location-hours h4 { font-size: 0.95rem; margin-bottom: 10px; }
.location-hours ul { list-style: none; }
.location-hours li {
    display: flex;
    justify-content: space-between;
    padding: 7px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.93rem;
}
.location-hours li span:first-child { font-weight: 500; }
.location-hours li span:last-child { color: var(--text-light); }
.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.location-map iframe { display: block; width: 100%; min-height: 340px; }

/* ========== CONTACT / CTA ========== */
.contact-section {
    padding: 70px 0;
    background: var(--blue);
}
.contact-section .section-title { color: #fff; }
.contact-section .section-subtitle { color: rgba(255,255,255,0.7); }
.contact-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 700px;
    margin: 0 auto;
}
.btn-block-contact { width: 100%; justify-content: center; }

/* ========== SEO CONTENT ========== */
.seo-content {
    padding: 40px 0;
    background: var(--bg-light);
}
.seo-content h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}
.seo-content p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

/* ========== FOOTER ========== */
.footer-main {
    background: var(--bg-dark);
    padding: 50px 0 36px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 36px;
}
.footer-logo-link {
    display: inline-flex;
    text-decoration: none;
    line-height: 1;
    margin-bottom: 14px;
}
.footer-logo-img {
    height: 46px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}
.footer-description {
    color: rgba(255,255,255,0.5);
    font-size: 0.93rem;
    line-height: 1.7;
}
.footer-widget-title {
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 16px;
    font-weight: 600;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.93rem;
}
.footer-links a:hover { color: var(--yellow); }
.footer-contact-list { list-style: none; }
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.5);
    font-size: 0.93rem;
}
.footer-contact-list li svg { flex-shrink: 0; color: var(--yellow); margin-top: 2px; }
.footer-contact-list a { color: rgba(255,255,255,0.5); }
.footer-contact-list a:hover { color: var(--yellow); }
.footer-bottom {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.copyright { color: rgba(255,255,255,0.35); font-size: 0.83rem; }
.footer-bottom-links { display: flex; gap: 16px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); font-size: 0.83rem; }
.footer-bottom-links a:hover { color: var(--yellow); }

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 56px;
    height: 56px;
    background: var(--whatsapp);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 999;
    transition: all var(--transition);
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 22px rgba(37,211,102,0.5);
    color: #fff;
}

/* ========== MOBILE MENU ========== */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu-content {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 290px;
    background: #fff;
    padding: 24px;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
}
.mobile-menu-overlay.active .mobile-menu-content { transform: translateX(0); }
.mobile-menu-close {
    position: absolute;
    top: 14px; right: 14px;
    background: none; border: none;
    font-size: 28px; cursor: pointer;
    color: var(--text);
}
.mobile-nav-menu { list-style: none; margin-top: 40px; }
.mobile-nav-menu li { border-bottom: 1px solid var(--border); }
.mobile-nav-menu li a { display: block; padding: 14px 0; color: var(--text); font-weight: 500; font-size: 15px; }
.mobile-menu-cta { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

/* ========== PAGE / SINGLE ========== */
.page-content, .single-container { padding: 50px 0; }
.entry-header { margin-bottom: 24px; }
.entry-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 8px; }
.entry-meta { display: flex; gap: 14px; color: var(--text-muted); font-size: 0.88rem; }
.entry-thumbnail { margin-bottom: 24px; border-radius: var(--radius-lg); overflow: hidden; }
.entry-content { font-size: 1.02rem; line-height: 1.8; }
.entry-content p { margin-bottom: 1.2em; }
.entry-content h2, .entry-content h3 { margin-top: 1.5em; margin-bottom: 0.5em; }
.entry-content ul, .entry-content ol { margin: 1em 0; padding-left: 1.5em; }

/* ========== 404 ========== */
.error-404 { padding: 80px 0; text-align: center; }
.error-code { font-size: 7rem; font-weight: 900; color: var(--yellow); line-height: 1; }
.error-title { font-size: 1.6rem; margin-bottom: 10px; }
.error-text { color: var(--text-light); margin-bottom: 24px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .cities-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .location-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .top-bar-inner { gap: 16px; }
    .nav-menu { display: none; }
    .mobile-menu-toggle { display: flex; }
    .header-actions .btn { display: none; }
    .hero-content { padding: 50px 0; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; text-align: center; justify-content: center; }
    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .cities-grid { grid-template-columns: 1fr; }
    .contact-buttons { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-section { min-height: 440px; }
    .hero-title { font-size: 1.6rem; }
    .section-title { font-size: 1.4rem; }
    .whatsapp-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
}
@media print {
    .top-bar, .site-header, .whatsapp-float, .mobile-menu-overlay { display: none !important; }
}
