/* Grupo Exxa Oil — pass-1 fidelity CSS (Sydney / SiteOrigin / Smart Slider) */
:root {
  --header-bg: #1e1c1d;
  --header-bg-trans: rgba(30, 28, 29, 0.9);
  --accent: #fe0000;
  --btn: #1f1d1e;
  --text: #47425d;
  --muted: #6d7685;
  --footer-bg: #211c20;
  --footer-bar: #00102e;
  --panel-gray: #e2e2e2;
  --white: #fff;
  --max: 1170px;
  --font: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --header-h: 120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ========== Header (Sydney ~120px, logo + hamburger) ========== */
.site-header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.header-wrap { width: 100%; }
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
  padding: 9px 0;
}
.header-brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.site-logo {
  max-height: 100px;
  width: auto;
  height: auto;
}
.header-nav-col {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}
.btn-menu {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  padding: .5rem;
  cursor: pointer;
  line-height: 0;
}
.btn-menu .sydney-svg-icon { display: inline-flex; }
.btn-menu svg { fill: #fff; width: 22px; height: 22px; }
.mainnav ul.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.mainnav a {
  display: block;
  padding: .65rem 1rem;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.mainnav a:hover,
.mainnav a.active,
.mainnav .current-menu-item > a { color: #f5f5f5; background: rgba(255,255,255,.06); }

@media (max-width: 991px) {
  .header-row {
    flex-direction: column;
    justify-content: center;
    min-height: var(--header-h);
    position: relative;
    padding: 12px 0;
  }
  .header-brand {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .header-nav-col {
    width: 100%;
    justify-content: flex-end;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    flex: 0 0 auto;
  }
  .btn-menu { display: block; }
  .mainnav {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 18px);
    min-width: 220px;
    background: var(--header-bg);
    padding: .75rem 0;
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
    z-index: 1100;
  }
  .mainnav.open { display: block; }
  .mainnav ul.menu { flex-direction: column; }
  .mainnav a { padding: .75rem 1.25rem; }
}

/* ========== Hero / Smart Slider look ========== */
.hero {
  position: relative;
  background: #000;
  color: #fff;
  overflow: hidden;
  min-height: 480px;
}
.hero-slides { position: relative; }
.hero-slide {
  display: none;
  position: relative;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  align-items: center;
  justify-content: center;
}
.hero-slide.active { display: flex; }
.hero-caption-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 2rem 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-caption {
  background: rgba(0, 0, 0, 0.79);
  opacity: 0.85;
  padding: 30px 40px;
  max-width: 720px;
  text-align: right;
  color: #fff;
}
.hero-kicker {
  font-size: 14px;
  letter-spacing: .18em;
  font-weight: 700;
  margin-bottom: .35rem;
  opacity: .9;
}
.hero-title {
  font-family: var(--font);
  font-size: clamp(1.35rem, 2.6vw, 1.875rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 .5rem;
  color: #fff;
}
.hero-subtitle {
  font-size: 25px;
  line-height: 1.35;
  font-weight: 400;
  margin: 0;
  color: #fff;
}
@media (max-width: 700px) {
  .hero-slide { min-height: 380px; }
  .hero-caption { padding: 20px 22px; text-align: center; }
  .hero-subtitle { font-size: 16px; }
  .hero-arrow { display: none; }
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 3px;
  background: #fe0000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  line-height: 0;
}
.hero-arrow:hover,
.hero-arrow:focus { background: #000; }
.hero-arrow-prev { left: 15px; }
.hero-arrow-next { right: 15px; }

/* ========== Sections ========== */
.section { padding: 50px 0; }
.section-gray { background: var(--panel-gray); }
.section-title {
  font-size: 1.75rem;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: #1e1c1d;
  font-weight: 700;
}
.btn {
  display: inline-block;
  background: var(--btn);
  color: #fff !important;
  padding: .85rem 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .04em;
  border: 0;
  cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--accent); }

/* Home about */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid h2 { margin-top: 0; text-transform: uppercase; }
.contact-box {
  background: #f5f5f5;
  padding: 1.5rem;
  border-left: 4px solid var(--accent);
}
.contact-box h3 { margin-top: 0; text-transform: uppercase; }
.contact-box a { color: var(--accent); font-weight: 600; }

/* Cards (home only) */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 700px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.card-body { padding: 1.25rem 1.35rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin: 0 0 .75rem; text-transform: uppercase; font-size: 1.2rem; }
.card-body p { flex: 1; }
.card-body .btn { align-self: flex-start; margin-top: 1rem; }

.credenciada { text-align: center; padding: 2rem 0 0; }
.credenciada img { margin: 0 auto; max-width: 280px; }

/* ========== Internal pages (title + content, no inventado image hero) ========== */
.page-wrap { padding: 30px 0 60px; }
.entry-header { margin-bottom: 1.5rem; }
.title-post.entry-title,
.entry-title {
  font-size: 2rem;
  text-transform: uppercase;
  margin: 0 0 .5rem;
  color: #1e1c1d;
  font-weight: 700;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } }
.page-full .content-grid { grid-template-columns: 1fr; }

/* Quem Somos */
.qs-intro { overflow: hidden; margin-bottom: 2rem; }
.qs-intro-img.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
  max-width: 565px;
  width: 48%;
  border: 5px solid #c7c7c7;
}
@media (max-width: 700px) {
  .qs-intro-img.alignright {
    float: none;
    width: 100%;
    margin: 0 0 1rem;
  }
}
.qs-lead {
  text-align: left;
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1.55;
  color: #443f3f;
  margin: 0 0 1rem;
}
.qs-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 3rem 0;
  clear: both;
}
@media (max-width: 800px) { .qs-values { grid-template-columns: 1fr; } }
.qs-value h2 {
  text-align: center;
  color: #dd3333;
  font-size: 1.35rem;
  margin: 0 0 1rem;
  text-transform: uppercase;
}
.qs-value p { margin-top: 0; }
.values-list { list-style: disc; padding-left: 1.25rem; margin: 0; }
.values-list li { padding: .25rem 0; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin: 1.5rem 0;
  clear: both;
}
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery img,
.gallery-item img { width: 100%; height: 160px; object-fit: cover; }
.gallery-item { margin: 0; }
.qs-cta { text-align: center; margin-top: 2rem; }

/* Produtos — vertical list (not 3-col cards) */
.product-intro { margin-bottom: 1.5rem; }
.product-list { display: flex; flex-direction: column; gap: 2.5rem; margin: 1.5rem 0 2.5rem; }
.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (max-width: 700px) { .product-row { grid-template-columns: 1fr; } }
.product-row-media img { width: 100%; height: auto; margin: 0 auto; }
.product-row-body h3 { margin: 0 0 .5rem; text-transform: uppercase; color: #443f3f; }
.wp-video { margin: 2rem 0; background: #000; }
.wp-video video,
.wp-video-shortcode { width: 100%; max-height: 480px; display: block; background: #000; }

/* Frota */
.fleet-stats-text { margin: 0 0 1.5rem; }
.fleet-stats-text p { margin: 0 0 1rem; }
.fleet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (max-width: 700px) { .fleet-grid { grid-template-columns: 1fr; } }
.fleet-col { display: flex; flex-direction: column; gap: 1rem; }
.fleet-col img { width: 100%; height: auto; object-fit: cover; }
.credenciada-block {
  margin-top: 2rem;
  padding-top: 1rem;
}
.credenciada-block .widget-title {
  margin: 5px 0;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #918a82;
  text-align: left;
}

/* Sidebar */
.sidebar { }
.sidebar-widget {
  background: transparent;
  padding: 0 0 1.5rem;
  margin-bottom: 1.25rem;
  border-bottom: 0;
}
.sidebar-widget .widget-title,
.sidebar .widget-title {
  margin: 0 0 .75rem;
  font-size: 1rem;
  text-transform: uppercase;
  border-bottom: 2px solid var(--accent);
  padding-bottom: .4rem;
  color: #1e1c1d;
}
.sidebar-widget p,
.contact-address,
.contact-phone,
.contact-email { margin: .45rem 0; font-size: 14px; }
.sidebar-widget a,
.contact-phone a,
.contact-email a { color: var(--accent); }
.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.search-form label { flex: 1 1 auto; display: block; }
.search-field {
  width: 100%;
  padding: .55rem .7rem;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 14px;
}
.search-submit {
  background: var(--btn);
  color: #fff;
  border: 0;
  padding: .55rem .9rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  text-transform: uppercase;
}
.search-submit:hover { background: var(--accent); }

/* Contact */
.contact-form p { margin: 0 0 .35rem; font-weight: 600; font-size: 14px; }
.contact-form .wpcf7-form-control-wrap { display: block; margin-bottom: .9rem; font-weight: 400; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: .7rem .85rem;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.checkbox-row,
.wpcf7-checkbox {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin: .35rem 0 .75rem;
  font-weight: 400;
}
.wpcf7-list-item { font-weight: 400; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status.ok { color: #0a7a2f; }
.form-status.err { color: var(--accent); }
.map-embed {
  width: 100%;
  min-height: 280px;
  height: 450px;
  border: 0;
  background: #ddd;
  display: block;
  margin: .5rem 0 1rem;
}
.g-recaptcha {
  display: inline-block;
  min-width: 304px;
  min-height: 78px;
  margin: .5rem 0 1rem;
  background: #f9f9f9;
  border: 1px dashed #ccc;
}
.grecaptcha-noscript { margin: .5rem 0; }

/* Footer */
.site-footer { background: var(--footer-bg); color: #cfcfcf; padding: 2.5rem 0 0; margin-top: 2rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  margin: 0 0 1rem;
}
.site-footer a { color: #cfcfcf; }
.site-footer a:hover { color: #fff; }
.footer-contact p {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: .55rem 0;
}
.footer-contact img { width: 22px; height: 22px; }
.footer-bar {
  background: var(--footer-bar);
  color: #9aa3b5;
  text-align: center;
  padding: .85rem 15px;
  font-size: 13px;
}

/* 404 */
.not-found { text-align: center; padding: 5rem 15px; }
.not-found h1 { font-size: 3rem; margin-bottom: .5rem; }
