/* ==========================================================================
   ARMACO / TROFAMALHA — static site styles
   Brand colours extracted from the live WordPress theme (Arredo/Arredo Child)
   and from the customizer-generated inline CSS of the crawled pages:
     - Primary blue  #0077be  (sampled from logo_armaco_cor.png)
     - Ink / heading #282828  (h1-h6 { color:#282828 } in theme CSS)
     - Accent gold   #de993c  (used on the homepage "O Grupo ARMACO..." heading)
     - Body grey     #737373  (qodef-st-text colour used throughout)
     - Button grey   #6b6b6b  (button border/hover colour in child theme CSS)
   Fonts: Libre Baskerville for headings, Poppins for body text
   (both confirmed via body{font-family:Poppins...} and h1{font-family:
   Libre Baskerville...} declarations found in the crawled pages).
   ========================================================================== */

:root{
  --armaco-blue: #0077be;
  --armaco-ink: #282828;
  --armaco-gold: #de993c;
  --armaco-grey: #737373;
  --armaco-grey-btn: #6b6b6b;
  --armaco-bg: #ffffff;
  --bs-body-font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

body{
  font-family: 'Poppins', sans-serif;
  color: var(--armaco-ink);
  background-color: var(--armaco-bg);
}

h1, h2, h3, h4, h5, h6,
.font-heading{
  font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  color: var(--armaco-ink);
}

a{
  color: var(--armaco-blue);
}
a:hover{
  color: var(--armaco-ink);
}

/* ---------- Navbar ---------- */
.navbar-armaco{
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.navbar-armaco .navbar-brand img{
  height: 56px;
  width: auto;
}
.navbar-armaco .navbar-brand.brand-secondary img{
  height: 32px;
  width: auto;
  margin-left: .75rem;
  opacity: .85;
}
.navbar-armaco .nav-link{
  font-weight: 500;
  color: var(--armaco-ink);
  text-transform: uppercase;
  font-size: .92rem;
  letter-spacing: .03em;
  padding-left: .9rem !important;
  padding-right: .9rem !important;
}
.navbar-armaco .nav-link.active,
.navbar-armaco .nav-link:hover{
  color: var(--armaco-blue);
}
.navbar-armaco .dropdown-menu{
  border: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.lang-switch img{
  width: 20px;
  height: auto;
  margin-right: .35rem;
}

/* ---------- Buttons ---------- */
.btn-armaco-outline{
  border: 2px solid var(--armaco-grey-btn);
  color: var(--armaco-grey-btn);
  font-weight: 500;
  text-transform: none;
  padding: .6rem 1.4rem;
  border-radius: 0;
  transition: all .25s ease;
}
.btn-armaco-outline:hover{
  background-color: var(--armaco-ink);
  border-color: var(--armaco-ink);
  color: #fff;
}
.btn-armaco-outline-light{
  border: 2px solid #ffffff;
  color: #ffffff;
  font-weight: 500;
  padding: .6rem 1.4rem;
  border-radius: 0;
  transition: all .25s ease;
}
.btn-armaco-outline-light:hover{
  background-color: #ffffff;
  color: var(--armaco-ink);
}

/* ---------- Hero / page-title banner ---------- */
.page-hero{
  position: relative;
  min-height: 340px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}
.page-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%);
}
.page-hero .container{
  position: relative;
  z-index: 2;
}
.page-hero h1{
  color: #ffffff;
  font-size: 2.75rem;
}

/* ---------- Home hero carousel ---------- */
.home-carousel .carousel-item{
  min-height: 640px;
  height: 80vh;
  max-height: 820px;
  background-size: cover;
  background-position: center;
}
.home-carousel .carousel-item.active,
.home-carousel .carousel-item-next,
.home-carousel .carousel-item-prev{
  display: flex;
  align-items: center;
}
.home-carousel .carousel-item::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.38);
  z-index: 0;
}
.home-carousel .carousel-caption-custom{
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 620px;
}
.home-carousel .carousel-caption-custom .eyebrow{
  color: #fff;
  font-family: 'Libre Baskerville', serif;
  letter-spacing: .12em;
  font-size: 1.05rem;
  margin-bottom: .5rem;
}
.home-carousel .carousel-caption-custom h1{
  color: #fff;
  font-size: 2.4rem;
}
.home-carousel .carousel-caption-custom p{
  color: #fff;
  font-weight: 300;
  font-size: 1.15rem;
}

/* ---------- Parallax-style feature rows ---------- */
.feature-row{
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  padding: 6rem 0;
  position: relative;
}
.feature-row::after{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.42);
}
.feature-row .container{
  position: relative;
  z-index: 1;
}
.feature-row h2, .feature-row p{
  color: #fff;
}
.feature-row p{
  font-weight: 300;
  font-size: 1.1rem;
}

.section-muted p{
  color: var(--armaco-grey);
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.7;
}

.cto-heading{
  color: var(--armaco-gold);
  text-align: center;
}

/* ---------- Cards / values ---------- */
.value-item strong{
  color: var(--armaco-ink);
}

/* ---------- Gallery ---------- */
.gallery-grid img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 2px;
  transition: transform .3s ease;
}
.gallery-grid a:hover img{
  transform: scale(1.03);
}

/* ---------- Certification badges ---------- */
.cert-badge img{
  max-height: 220px;
  width: auto;
}

/* ---------- Footer ---------- */
.footer-armaco{
  background-color: #f5f5f5;
  border-top: 1px solid #e5e5e5;
}
.footer-armaco h5{
  font-family: 'Libre Baskerville', serif;
  font-size: 1.1rem;
  color: var(--armaco-ink);
}
.footer-armaco p, .footer-armaco a{
  font-size: .92rem;
  color: var(--armaco-ink);
}
.footer-armaco a{
  text-decoration: none;
}
.footer-armaco a:hover{
  color: var(--armaco-blue);
}
.footer-bottom{
  background-color: #ececec;
  font-size: .85rem;
}
.footer-bottom a{
  color: var(--armaco-ink);
}
.social-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--armaco-ink);
  color: #fff !important;
  font-size: 1.1rem;
}
.social-icon:hover{
  background: var(--armaco-blue);
}

/* ---------- Contact page ---------- */
.contact-map iframe{
  width: 100%;
  height: 420px;
  border: 0;
}

@media (max-width: 767px){
  .page-hero{ min-height: 220px; }
  .page-hero h1{ font-size: 2rem; }
  .home-carousel .carousel-item{ min-height: 460px; }
  .feature-row{ padding: 3.5rem 0; }
}
