/* ==========================================================================
   IBRASERVICE — CSS puro (reconstrução fiel ao site original em WordPress)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css?family=Fjalla+One|Poppins:300,400,500,600,700&display=swap');

:root {
  --color-orange: #f58634;
  --color-dark: #2f2f2f;
  --color-dark-2: #3b3b3b;
  --color-text: #666;
  --color-text-light: #999;
  --color-black: #222;
  --font-heading: 'Fjalla One', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --container-width: 1170px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--color-orange);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: #222; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: #000;
  margin: 0 0 15px;
}

p { margin: 0 0 15px; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.clearfix::after { content: ""; display: table; clear: both; }

/* ==========================================================================
   TOPBAR
   ========================================================================== */

.opal-topbar {
  background: var(--color-dark-2);
  color: var(--color-text-light);
  font-size: 12px;
  padding: 12px 0;
}
.opal-topbar .topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.opal-topbar a { color: var(--color-text-light); }
.opal-topbar a:hover { color: var(--color-orange); }
.opal-topbar .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.opal-topbar .social a {
  color: #fff;
  font-size: 14px;
}
.opal-topbar .social a:hover { color: var(--color-orange); }

/* ==========================================================================
   HEADER
   ========================================================================== */

.header-main {
  background: var(--color-dark);
  padding: 30px 0;
}
.header-main .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.logo img { height: 54px; width: auto; }

.box-top {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.box-service-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,.1);
}
.box-service-top:first-child { padding-left: 0; border-left: 0; }
.box-service-top .icon { color: var(--color-orange); font-size: 20px; margin-top: 2px; }
.box-service-top .title {
  color: var(--color-text-light);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 3px;
  letter-spacing: .5px;
}
.box-service-top span,
.box-service-top p {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  margin: 0;
}
.box-service-top.support .title { color: var(--color-text-light); }
.box-service-top.support p { color: var(--color-orange); font-size: 15px; font-weight: 500; white-space: nowrap; }

.opal-mainmenu {
  background: #fff;
  border-bottom: 1px solid #eee;
}
.opal-mainmenu .container { position: relative; }
#primary-menu {
  display: flex;
  align-items: center;
}
#primary-menu li { position: relative; }
#primary-menu li a {
  display: block;
  padding: 22px 20px;
  color: #000;
  font-weight: 500;
  font-size: 14px;
  border-top: 3px solid transparent;
}
#primary-menu li:first-child a { padding-left: 0; }
#primary-menu li a:hover,
#primary-menu li.current-menu-item a {
  color: var(--color-orange);
  border-top-color: var(--color-orange);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* ==========================================================================
   BREADCRUMB / BANNER INTERNO
   ========================================================================== */

#opal-breadscrumb {
  position: relative;
  padding: 80px 0;
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
  background-color: var(--color-dark);
}
#opal-breadscrumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
#opal-breadscrumb .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}
#opal-breadscrumb h2 {
  color: #fff;
  font-size: 42px;
  margin: 0;
  text-transform: uppercase;
}
#opal-breadscrumb .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 300;
  margin: 0;
  padding: 0;
  list-style: none;
}
#opal-breadscrumb .breadcrumb li { list-style: none; }
#opal-breadscrumb .breadcrumb a { color: #fff; }
#opal-breadscrumb .breadcrumb a:hover { color: var(--color-orange); }
#opal-breadscrumb .breadcrumb .sep { opacity: .6; }
#opal-breadscrumb .breadcrumb .active { color: var(--color-orange); }

/* ==========================================================================
   TÍTULOS DE SEÇÃO (com barrinha laranja)
   ========================================================================== */

.section-title {
  position: relative;
  padding-left: 15px;
  margin-bottom: 40px;
}
.section-title::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 3px;
  height: 26px;
  background: var(--color-orange);
}
.section-title .sub-heading {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-light);
  text-transform: none;
  margin-bottom: 4px;
}
.section-title .heading {
  font-size: 30px;
  text-transform: uppercase;
  margin: 0;
  color: #000;
}
.section-title.light .sub-heading { color: #ccc; }
.section-title.light .heading { color: #fff; }

/* ==========================================================================
   HOME — SERVIÇOS EXECUTADOS (destaques)
   ========================================================================== */

.services-highlight { padding: 60px 0; background: #f7f7f7; }
.services-highlight .section-title { text-align: left; }
.services-highlight .section-title .heading a { color: #000; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  background: #fff;
  padding: 40px;
}
.service-box-image { overflow: hidden; }
.service-box-image img { width: 100%; transition: transform .4s ease; }
.service-box-image:hover img { transform: scale(1.06); }
.service-item .entry-content { padding-top: 20px; }
.service-item .title {
  position: relative;
  padding-left: 15px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.service-item .title::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 2px;
  height: 16px;
  background: var(--color-orange);
}
.service-item .title a { color: #000; }
.service-item .title a:hover { color: var(--color-orange); }
.service-description { color: var(--color-text); font-size: 14px; }

/* ==========================================================================
   HOME — CONHEÇA A IBRASERVICE (timeline sobre imagem escura)
   ========================================================================== */

.about-timeline {
  position: relative;
  padding: 90px 0;
  background-image: url('../img/fundo.jpg');
  background-size: cover;
  background-position: center;
}
.about-timeline::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20,20,20,.82);
}
.about-timeline .container { position: relative; }
.about-timeline .section-title { margin-bottom: 60px; }

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.timeline-item .num {
  font-size: 34px;
  font-weight: 300;
  color: var(--color-orange);
  margin-bottom: 10px;
}
.timeline-item h4 {
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 600;
  padding-bottom: 25px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.timeline-item p {
  color: #ccc;
  font-size: 14px;
  font-weight: 300;
  margin: 0;
}

/* ==========================================================================
   PÁGINA SERVIÇOS EXECUTADOS (listagem)
   ========================================================================== */

.services-list { padding: 70px 0; }
.services-list .service-grid { padding: 0; background: none; }

/* ==========================================================================
   PÁGINA DETALHE DE SERVIÇO (galeria)
   ========================================================================== */

.service-detail { padding: 70px 0; }
.service-detail h3 {
  font-size: 26px;
  text-transform: uppercase;
  border-bottom: 1px solid #e4e7ea;
  padding-bottom: 20px;
  margin-bottom: 30px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.gallery-item a { display: block; overflow: hidden; }
.gallery-item img { width: 100%; transition: transform .4s ease; }
.gallery-item a:hover img { transform: scale(1.06); }

/* ==========================================================================
   PÁGINA EMPRESA
   ========================================================================== */

.company-intro { padding: 80px 0 40px; }
.company-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}
.company-intro-label { text-align: right; }
.company-intro-label span { display: block; color: var(--color-text-light); font-size: 15px; }
.company-intro-label strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  color: #000;
}
.company-intro-label strong .hl { color: var(--color-orange); }
.company-intro-text { color: var(--color-text); font-size: 15px; }
.company-intro-images { position: relative; min-height: 260px; }
.company-intro-images img {
  position: absolute;
  width: 78%;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.company-intro-images img:first-child { top: 0; left: 0; }
.company-intro-images img:last-child { bottom: 0; right: 0; z-index: 2; }

.company-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 80px;
}
.company-features .feature-item {
  background: #fff;
  border: 1px solid #eee;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,.04);
}
.company-features .num {
  font-size: 30px;
  font-weight: 300;
  color: var(--color-orange);
  margin-bottom: 10px;
}
.company-features h4 {
  font-size: 14px;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e4e7ea;
}
.company-features p { font-size: 14px; color: var(--color-text); margin: 0; }

/* ==========================================================================
   FORMULÁRIOS (Orçamento / Contato)
   ========================================================================== */

.form-page { padding: 70px 0; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e4e7ea;
  background: #f7f7f7;
  font-family: var(--font-body);
  font-size: 14px;
  color: #333;
}
.form-control:focus { outline: none; border-color: var(--color-orange); background: #fff; }
textarea.form-control { resize: vertical; min-height: 160px; }
.form-group { margin-bottom: 20px; }
.file-label {
  display: inline-block;
  padding: 12px 24px;
  background: var(--color-orange);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  cursor: pointer;
}
.file-label input { display: none; }
.btn-submit {
  display: inline-block;
  padding: 14px 40px;
  background: var(--color-orange);
  color: #fff;
  border: 0;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
  cursor: pointer;
  transition: background .2s ease;
}
.btn-submit:hover { background: #222; }

/* ==========================================================================
   PÁGINA CONTATO
   ========================================================================== */

.contact-top {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 0;
  margin-bottom: 60px;
}
.contact-map iframe { width: 100%; height: 470px; border: 0; display: block; }
.contact-office {
  background: var(--color-orange);
  color: #fff;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-office h3 { color: #fff; text-transform: uppercase; font-size: 20px; }
.contact-office p { margin: 0 0 18px; font-size: 14px; }
.contact-office p i { margin-right: 10px; }
.contact-office p:last-child { margin-bottom: 0; }

.contact-form-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
}
.contact-side .contact-call {
  background: #2e2e2e url('../img/atendimento-bg.jpg') no-repeat center / cover;
  padding: 20px 25px;
  margin-bottom: 25px;
  color: #ccc;
}
.contact-side .contact-call strong { display: block; color: var(--color-orange); font-size: 22px; }
.contact-side .contact-time h3 {
  text-transform: uppercase;
  font-size: 16px;
  margin-bottom: 15px;
}
.contact-side .contact-time p {
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.contact-side .contact-time p:last-child { border-bottom: 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.opal-footer { background: var(--color-dark); color: var(--color-text-light); }
.footer-bottom {
  padding: 80px 0 40px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><circle cx="1" cy="1" r="1" fill="%233a3a3a"/></svg>');
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 40px;
}
.footer-col { padding-right: 30px; border-right: 1px solid rgba(255,255,255,.08); }
.footer-col:last-child { border-right: 0; }
.footer-col h3 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-col p { font-size: 14px; margin-bottom: 12px; }
.footer-col p strong { display: block; color: #ccc; margin-bottom: 3px; font-weight: 600; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: var(--color-text-light); font-size: 14px; }
.footer-col ul a:hover { color: var(--color-orange); }

.opal-copyright {
  background: var(--color-dark);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 25px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 300;
  position: relative;
}
.scrollup {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}
.scrollup:hover { color: var(--color-orange); }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

@media (max-width: 991px) {
  .box-top { display: none; }
  .header-main .header-inner { justify-content: center; }
  #primary-menu {
    flex-wrap: wrap;
    justify-content: center;
  }
  #primary-menu li a { padding: 14px 14px; }
  #primary-menu li:first-child a { padding-left: 14px; }
  .service-grid, .company-features, .timeline-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .company-intro-grid { grid-template-columns: 1fr; text-align: center; }
  .company-intro-label { text-align: center; }
  .company-intro-images { margin: 0 auto; max-width: 400px; }
  .contact-top, .contact-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .service-grid, .company-features, .timeline-grid, .gallery { grid-template-columns: 1fr; }
  #opal-breadscrumb h2 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { border-right: 0; padding-right: 0; }
}
