/* =========================================================
   ALFAZEMA — Core Stylesheet
   Brand palette derived from the ALFAZEMA logo
========================================================= */

:root {
  --az-dark: #123524;
  /* deep forest green - primary */
  --az-dark-2: #1b4632;
  /* secondary dark green */
  --az-mid: #3f7a35;
  /* mid green */
  --az-lime: #7cb93d;
  /* bright accent lime green */
  --az-lime-light: #a4d65e;
  /* light lime accent */
  --az-bg: #f7f8f5;
  /* neutral off-white/green background */
  --az-bg-alt: #eef1ea;
  /* alternate section background */
  --az-text: #2b332d;
  /* body text */
  --az-text-muted: #5c675f;
  /* muted text */
  --az-white: #ffffff;
  --az-border: #e1e6dc;
  --az-shadow: 0 10px 30px rgba(18, 53, 36, 0.08);
  --az-shadow-lg: 0 20px 50px rgba(18, 53, 36, 0.14);
  --az-radius: 14px;
  --az-radius-sm: 8px;
  --az-font-head: 'Poppins', 'Segoe UI', sans-serif;
  --az-font-body: 'Inter', 'Segoe UI', sans-serif;
  --az-transition: 0.35s cubic-bezier(.25, .8, .25, 1);
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--az-font-body);
  color: var(--az-text);
  background-color: var(--az-bg);
  overflow-x: hidden;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--az-font-head);
  color: var(--az-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: var(--az-mid);
  transition: color var(--az-transition);
}

a:hover {
  color: var(--az-lime);
}

img {
  max-width: 100%;
}

.text-lime {
  color: var(--az-lime) !important;
}

.bg-az-dark {
  background-color: var(--az-dark) !important;
}

.bg-az-bg-alt {
  background-color: var(--az-bg-alt) !important;
}

/* ---------- Eyebrow / Section headings ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--az-mid);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--az-lime);
  border-radius: 2px;
  display: inline-block;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 14px;
}

.section-subtitle {
  color: var(--az-text-muted);
  max-width: 680px;
  font-size: 1.05rem;
}

section {
  position: relative;
}

.section-py {
  padding: 90px 0;
}

@media (max-width: 767.98px) {
  .section-py {
    padding: 60px 0;
  }
}

/* ---------- Buttons ---------- */
.btn-az-primary {
  background-color: var(--az-lime);
  border: 2px solid var(--az-lime);
  color: var(--az-dark);
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all var(--az-transition);
  letter-spacing: 0.3px;
}

.btn-az-primary:hover {
  background-color: transparent;
  border-color: #102b1b !important;
  color: var(--az-white);
  transform: translateY(-3px);
}

.btn-az-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.75);
  color: var(--az-white);
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all var(--az-transition);
}

.btn-az-outline:hover {
  background-color: var(--az-white);
  color: var(--az-dark);
  transform: translateY(-3px);
}

.btn-az-dark {
  background-color: var(--az-dark);
  border: 2px solid var(--az-dark);
  color: var(--az-white);
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all var(--az-transition);
}

.btn-az-dark:hover {
  background-color: var(--az-mid);
  border-color: var(--az-mid);
  color: var(--az-white);
  transform: translateY(-3px);
}

.btn-sm-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--az-dark);
}

.btn-sm-link i {
  transition: transform var(--az-transition);
}

.btn-sm-link:hover {
  color: var(--az-lime);
}

.btn-sm-link:hover i {
  transform: translateX(6px);
}

/* =========================================================
   HEADER / NAVIGATION
========================================================= */
#mainHeader {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1050;
  /* padding: 18px 0; */
  transition: all var(--az-transition);
  background: rgba(18, 53, 36, 0.0);
}

#mainHeader.scrolled,
#mainHeader.solid {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--az-shadow);
  padding: 0px 0;
}

/* Internal pages (.solid header, no hero image behind it) - keep the header
   in normal document flow instead of fixed/overlaying the page banner.
   Must stay "relative" (not "static"): the header's backdrop-filter above
   creates its own stacking context, and a static element's stacking context
   paints below any positioned z-index:auto element (like .page-banner),
   which is what pushed the Serviços submenu behind the banner. "relative"
   keeps the same in-flow layout while letting #mainHeader's z-index (1050)
   place that whole stacking context above the banner. */
#mainHeader.solid {
  position: relative;
}

.navbar-brand img {
  height: 75px;
  transition: height var(--az-transition);
}

#mainHeader.scrolled .navbar-brand img,
#mainHeader.solid .navbar-brand img {
  height: 60px;
}

.az-nav-link {
  font-family: var(--az-font-head);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--az-text);
  padding: 8px 16px !important;
  position: relative;
  transition: color var(--az-transition);
  outline: none;
}

#mainHeader.scrolled .az-nav-link,
#mainHeader.solid .az-nav-link {
  color: var(--az-dark);
}

/* Uses ::before (not ::after) so it doesn't collide with Bootstrap's
   .dropdown-toggle::after caret, which lives on the same "Serviços" link. */
.az-nav-link::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--az-lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--az-transition);
}

.az-nav-link:hover::before,
.az-nav-link.active::before {
  transform: scaleX(1);
}

/* Bootstrap's Dropdown.show() focuses the toggle even on hover-triggered
   opens, which otherwise draws the browser's default focus ring. Keep a
   clean indicator for real keyboard navigation, drop it for mouse/JS focus. */
.az-nav-link:focus {
  outline: none;
}
.az-nav-link:focus-visible {
  outline: 2px solid var(--az-lime);
  outline-offset: 2px;
  border-radius: 4px;
}

.az-nav-link.active {
  color: var(--az-lime) !important;
}

#mainHeader.scrolled .az-nav-link.active,
#mainHeader.solid .az-nav-link.active {
  color: var(--az-mid) !important;
}

.dropdown-menu-az {
  border: none;
  border-radius: var(--az-radius-sm);
  box-shadow: var(--az-shadow-lg);
  padding: 10px;
  margin-top: 10px !important;
  min-width: 220px;
}

.dropdown-menu-az .dropdown-item {
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  color: var(--az-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-menu-az .dropdown-item:hover {
  background: var(--az-bg-alt);
  color: var(--az-mid);
}

/* =========================================================
   LANGUAGE DROPDOWN (custom UI wrapping the Google Translate widget)
========================================================= */
.lang-dropdown {
  position: relative;
}

.lang-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--az-font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--az-white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  padding: 7px 14px;
  transition: all var(--az-transition);
  margin-left: 20px;
}

.lang-dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lang-dropdown-toggle .bi-globe2 {
  font-size: 0.95rem;
  color: var(--az-lime-light);
}

.lang-dropdown-toggle .lang-caret {
  font-size: 0.65rem;
  transition: transform var(--az-transition);
}

.lang-dropdown.open .lang-dropdown-toggle .lang-caret {
  transform: rotate(180deg);
}

#mainHeader.scrolled .lang-dropdown-toggle,
#mainHeader.solid .lang-dropdown-toggle {
  color: var(--az-dark);
  background: var(--az-bg-alt);
  border-color: var(--az-border);
}

#mainHeader.scrolled .lang-dropdown-toggle .bi-globe2,
#mainHeader.solid .lang-dropdown-toggle .bi-globe2 {
  color: var(--az-mid);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 170px;
  background: var(--az-white);
  border-radius: var(--az-radius-sm);
  box-shadow: var(--az-shadow-lg);
  padding: 8px;
  list-style: none;
  margin: 0;
  z-index: 1060;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--az-transition), transform var(--az-transition), visibility var(--az-transition);
}

.lang-dropdown.open .lang-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--az-dark);
  text-align: left;
  transition: all var(--az-transition);
}

.lang-option:hover {
  background: var(--az-bg-alt);
  color: var(--az-mid);
}

.lang-option .bi-check-lg {
  opacity: 0;
  color: var(--az-lime);
  font-size: 0.9rem;
}

.lang-option.active {
  color: var(--az-mid);
  background: rgba(124, 185, 61, 0.1);
}

.lang-option.active .bi-check-lg {
  opacity: 1;
}

/* Visually hide the real Google widget while keeping it functional -
   Google needs it present (not display:none) to build the language combo. */
.gt-hidden-widget {
  position: absolute;
  top: -9999px;
  left: -9999px;
}

/* Hide every UI element Google's widget injects at the top of the page -
   our custom dropdown fully replaces it, and translation is driven directly
   via the googtrans cookie, so none of Google's own chrome is needed. The
   banner/menu frame's exact id/class has varied across widget versions, so
   this covers the known variants rather than a single selector. */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
#goog-te-banner-frame,
.goog-te-menu-frame,
iframe.goog-te-menu-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

body {
  top: 0px !important;
}

html {
  margin-top: 0 !important;
}

#google_translate_element2 {
  display: none !important;
}

.offcanvas {
  z-index: 9999;
}

.offcanvas-az .offcanvas-header {
  border-bottom: 1px solid var(--az-border);
}

.offcanvas-az .nav-link {
  color: var(--az-dark);
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--az-border);
}

.offcanvas-az .dropdown-item {
  padding: 10px 14px;
  font-size: 0.95rem;
}

/* =========================================================
   MOBILE HEADER (≤991.98px only — this is the hamburger-menu
   range for navbar-expand-lg; desktop header at ≥992px is
   untouched by everything in this block).
========================================================= */
@media (max-width: 991.98px) {
  /* The toggler icon is a plain <i class="bi bi-list"> with no
     navbar-light/navbar-dark theme, so on the transparent/unscrolled
     header (index.php hero) it was inheriting the dark body text
     color and nearly disappearing against the dark hero overlay. */
  .navbar-toggler {
    padding: 8px 10px;
    line-height: 1;
  }

  .navbar-toggler:focus {
    box-shadow: none;
  }

  .navbar-toggler i.bi-list {
    display: block;
    font-size: 1.8rem;
        color: #7bc635;
    transition: color var(--az-transition);
  }

  #mainHeader.scrolled .navbar-toggler i.bi-list,
  #mainHeader.solid .navbar-toggler i.bi-list {
    color: var(--az-dark);
  }

  .lang-dropdown-toggle {
    margin-left: 10px;
    padding: 6px 12px;
  }

  .offcanvas-az {
    max-width: 100vw;
  }
}

@media (max-width: 575.98px) {
  #mainHeader .navbar {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .navbar-brand img {
    height: 50px;
  }

  #mainHeader.scrolled .navbar-brand img,
  #mainHeader.solid .navbar-brand img {
    height: 44px;
  }

  a.navbar-brand {
    margin-left: 0;
  }

  .lang-dropdown-toggle {
    margin-left: 8px;
    padding: 6px 10px;
    font-size: 0.75rem;
    gap: 4px;
  }
}

@media (max-width: 359.98px) {
  .navbar-brand img {
    height: 42px;
  }

  .lang-dropdown-toggle .lang-current {
    font-size: 0.72rem;
  }
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: heroZoom 18s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes heroZoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

.cta-section .hero-overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(180deg, rgba(18,53,36,0.75) 0%, rgba(18,53,36,0.55) 45%, rgba(18,53,36,0.85) 100%); */
  background: linear-gradient(-50deg, rgba(18, 53, 36, 0.75) 0%, rgba(63, 122, 53, 0.3) 100%) !important;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  color: var(--az-dark);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--az-mid);
}

.hero-text {
  /* color: rgba(255,255,255,0.9); */
  color: var(--az-text-muted);
  font-size: 1.15rem;
  max-width: 640px;
  margin-bottom: 34px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* background: rgba(255,255,255,0.12); */
  background: var(--az-mid);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--az-white);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--az-white);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
}

.scroll-indicator .wheel {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  margin: 10px auto 0;
  position: relative;
}

.scroll-indicator .wheel::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--az-lime-light);
  border-radius: 4px;
  transform: translateX(-50%);
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    top: 8px;
    opacity: 1;
  }

  70% {
    top: 22px;
    opacity: 0;
  }

  100% {
    top: 22px;
    opacity: 0;
  }
}

/* Internal page banner (smaller hero) */
.page-banner {
  min-height: 46vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

.page-banner .hero-overlay {
  background: linear-gradient(180deg, rgba(18, 53, 36, 0.8) 0%, rgba(18, 53, 36, 0.65) 100%);
}

.page-banner .breadcrumb-az {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
}

.page-banner .breadcrumb-az a {
  color: rgba(255, 255, 255, 0.8);
}

.page-banner .breadcrumb-az a:hover {
  color: var(--az-lime-light);
}

.page-banner h1 {
  color: black;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 10px;
}

.page-banner p.lead {
  color: rgba(0, 0, 0, 0.9);
  max-width: 640px;
}




/* =========================================================
   STAT COUNTERS
========================================================= */
.stat-box {
  text-align: left;
}

.stat-number {
  font-family: var(--az-font-head);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--az-dark);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}

.stat-number .plus {
  color: var(--az-lime);
  font-size: 0.6em;
}

.stat-label {
  font-weight: 600;
  color: var(--az-text-muted);
  font-size: 0.95rem;
  margin-top: 6px;
}

.stat-box i {
  font-size: 1.8rem;
  color: var(--az-lime);
  margin-bottom: 10px;
  display: block;
}

/* =========================================================
   ABOUT / INTRO SECTION
========================================================= */
.about-img-wrap {
  position: relative;
  border-radius: var(--az-radius);
  margin-left: 0px;
  /* overflow: hidden; */
}

.counter-box {
  width: 180px;
  height: 180px;
  position: absolute;
  bottom: 30px;
  left: -30px;
  background: var(--az-dark);
  z-index: 99999;
  border-radius: 3px 10px 10px 10px;
  text-align: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.counter-box::before {
  position: absolute;
  content: "";
  right: auto;
  top: -29px;
  width: 0;
  height: 0;
  border-bottom: 30px solid var(--az-dark-2);
  border-left: 30px solid transparent;
  z-index: 9;
  left: 1px;
}

.counter-box h4 {
  color: #fff;
  font-size: 40px;
}

.counter-box p {
  color: #fff;
  font-size: 20px;
  margin-bottom: 0;
}

.about-img-wrap img {
  border-radius: var(--az-radius);
  height: 600px;
  object-fit: cover;
}

.about-img-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--az-dark);
  color: var(--az-white);
  padding: 22px 26px;
  border-radius: var(--az-radius);
  box-shadow: var(--az-shadow-lg);
  max-width: 210px;
}

@media (max-width: 575.98px) {
  .about-img-badge {
    position: static;
    margin-top: -40px;
    margin-left: 20px;
    max-width: none;
    width: calc(100% - 40px);
  }
}

@media (max-width: 575.98px) {
  .counter-box {
    position: static;
    display: inline-flex;
    width: fit-content;
    max-width: calc(100% - 20px);
    height: auto;
    left: auto;
    bottom: auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    margin-top: -40px;
    margin-left: 20px;
    padding: 16px 20px;
  }

  .counter-box::before {
    display: none;
  }

  .counter-box h4 {
    font-size: 28px;
  }

  .counter-box p {
    font-size: 14px;
    text-align: left;
  }
}

.about-img-badge .stat-number {
  color: var(--az-lime-light);
}

.about-img-badge .stat-label {
  color: rgba(255, 255, 255, 0.85);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--az-text);
  font-weight: 500;
}

.check-list li i {
  color: var(--az-lime);
  background: rgba(124, 185, 61, 0.12);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  min-width: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-top: 2px;
}

/* =========================================================
   SERVICE AREA CARDS (homepage big cards)
========================================================= */
.service-area-card {
  position: relative;
  border-radius: var(--az-radius);
  overflow: hidden;
  height: 460px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--az-shadow);
  transition: transform var(--az-transition), box-shadow var(--az-transition);
}

.service-area-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--az-shadow-lg);
}

.service-area-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-area-card:hover img {
  transform: scale(1.08);
}

.service-area-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 53, 36, 0.05) 0%, rgba(18, 53, 36, 0.92) 90%);
  z-index: 1;
}

.service-area-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  color: var(--az-white);
  width: 100%;
}

.service-area-icon {
  width: 58px;
  height: 58px;
  background: var(--az-lime);
  color: var(--az-dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition: transform var(--az-transition);
}

.service-area-card:hover .service-area-icon {
  transform: rotate(-8deg) scale(1.05);
}

.service-area-content h3 {
  color: var(--az-white);
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.service-area-content p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
}

.service-area-content .btn-sm-link {
  color: var(--az-lime-light);
}

.service-area-content .btn-sm-link:hover {
  color: var(--az-white);
}

/* =========================================================
   FEATURE / WHY-CHOOSE CARDS
========================================================= */
.feature-card {
  background: var(--az-white);
  border: 1px solid var(--az-border);
  border-radius: var(--az-radius);
  padding: 34px 28px;
  height: 100%;
  transition: all var(--az-transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--az-lime);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--az-transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--az-shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  transform: scaleY(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(124, 185, 61, 0.12);
  color: var(--az-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: all var(--az-transition);
}

.feature-card:hover .feature-icon {
  background: var(--az-lime);
  color: var(--az-dark);
}

.feature-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--az-text-muted);
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* =========================================================
   CTA SECTION
========================================================= */
.cta-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  text-align: center;
}

.cta-section .hero-overlay {
  background: linear-gradient(180deg, rgba(18, 53, 36, 0.88) 0%, rgba(63, 122, 53, 0.85) 100%);
}

.cta-section .container {
  z-index: 1;
}

.cta-section h2 {
  color: var(--az-white);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: 1.1rem;
}

/* =========================================================
   CONTENT SERVICE SECTIONS (Ambiente / Construção detail pages)
========================================================= */
.detail-section:nth-of-type(even) {
  background: var(--az-bg-alt);
}

.detail-img {
  border-radius: var(--az-radius);
  overflow: hidden;
  box-shadow: var(--az-shadow);
}

.detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.detail-img:hover img {
  transform: scale(1.05);
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0px 0;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--az-border);
  font-weight: 500;
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li i {
  color: var(--az-lime);
  font-size: 1.05rem;
}

.highlight-quote {
  border-left: 4px solid var(--az-lime);
  background: var(--az-bg-alt);
  padding: 18px 24px;
  border-radius: 0 var(--az-radius-sm) var(--az-radius-sm) 0;
  font-family: var(--az-font-head);
  font-weight: 600;
  color: var(--az-dark);
  font-size: 1.1rem;
  margin: 24px 0;
}

/* Process flow (Planeamento -> Execução -> Limpeza -> Recuperação) */
.flow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: stretch;
}

.flow-step {
  flex: 1 1 200px;
  background: var(--az-white);
  border: 1px solid var(--az-border);
  border-radius: var(--az-radius);
  padding: 26px 20px;
  text-align: center;
  position: relative;
}

.flow-step .flow-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--az-dark);
  color: var(--az-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 14px;
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--az-lime);
  font-size: 1.4rem;
}

@media (max-width: 767.98px) {
  .flow-row {
    flex-direction: column;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .about-img-wrap img {
    height: 400px;
  }

  .hero-badge {
    font-size: 0.65rem;
  }

  .hero-bg {
    background-position: left;
  }

  #mainHeader {
    padding: 0 5px;
  }

  a.navbar-brand {
    margin-right: 0;
    margin-left: 10px;
  }

  .hero-text {
    font-size: 1rem;
  }

  section.hero {
    min-height: 92vh;
  }
}

/* Timeline (Como Trabalhamos) */
.timeline {
  position: relative;
  padding-left: 0;
}

.timeline-item {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 46px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  min-width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--az-dark);
  color: var(--az-white);
  font-family: var(--az-font-head);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all var(--az-transition);
}

.timeline-item:hover .timeline-marker {
  background: var(--az-lime);
  color: var(--az-dark);
  transform: scale(1.08);
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 64px;
  bottom: -46px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--az-border) 0, var(--az-border) 6px, transparent 6px, transparent 12px);
  z-index: 1;
}

.timeline-content h4 {
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--az-text-muted);
  margin-bottom: 0;
}

/* Safety / responsibility panel */
.safety-panel {
  background: var(--az-dark);
  border-radius: var(--az-radius);
  padding: 50px 25px;
  color: var(--az-white);
  position: relative;
  overflow: hidden;
}

.safety-panel p {
  font-size: 0.9rem;
}

.safety-panel h2,
.safety-panel h3 {
  color: var(--az-white);
}

.safety-panel .check-list li {
  color: rgba(255, 255, 255, 0.9);
}

.safety-panel .check-list li i {
  background: rgba(124, 185, 61, 0.25);
  color: var(--az-lime-light);
}

@media (max-width: 767.98px) {
  .safety-panel {
    padding: 34px 24px;
  }
}

/* =========================================================
   GALLERY
========================================================= */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.gallery-filters button {
  border: 1px solid var(--az-border);
  background: var(--az-white);
  color: var(--az-text);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 9px 20px;
  border-radius: 50px;
  transition: all var(--az-transition);
}

.gallery-filters button:hover {
  border-color: var(--az-lime);
  color: var(--az-mid);
}

.gallery-filters button.active {
  background: var(--az-dark);
  border-color: var(--az-dark);
  color: var(--az-white);
}

.gallery-item {
  border-radius: var(--az-radius-sm);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--az-shadow);
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 53, 36, 0) 40%, rgba(18, 53, 36, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--az-transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay .cat-tag {
  color: var(--az-lime-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-overlay h6 {
  color: var(--az-white);
  margin: 4px 0 0;
}

.gallery-overlay .zoom-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--az-white);
}

.gallery-item.hide {
  display: none;
}

.before-after-item .row.g-0 {
  border-radius: var(--az-radius-sm);
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .before-after-item .row.g-0 img {
    height: 160px !important;
  }
}

.ba-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(18, 53, 36, 0.85);
  color: var(--az-white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
  z-index: 2;
}

/* =========================================================
   TESTIMONIALS
========================================================= */
.testimonial-card {
  background: var(--az-white);
  border: 1px solid var(--az-border);
  border-radius: var(--az-radius);
  padding: 30px;
  height: 100%;
}

.testimonial-card .stars {
  color: var(--az-lime);
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.testimonial-card p.quote {
  font-style: italic;
  color: var(--az-text);
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author .avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--az-bg-alt);
  color: var(--az-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonial-author small {
  color: var(--az-text-muted);
}

.placeholder-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--az-mid);
  background: rgba(124, 185, 61, 0.12);
  padding: 3px 10px;
  border-radius: 50px;
  margin-top: 10px;
}

/* =========================================================
   FOOTER
========================================================= */
footer.site-footer {
  background: var(--az-white);
  color: var(--az-text);
  border-top: 1px solid var(--az-border);
  padding-top: 80px;
}

footer.site-footer h5 {
  color: var(--az-text);
  font-size: 1.05rem;
  margin-bottom: 22px;
}

footer.site-footer .footer-logo {
  height: 120px;
  margin-bottom: 18px;
}

footer.site-footer p {
  color: var(--az-text);
  font-size: 0.92rem;
}

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

footer.site-footer ul li {
  margin-bottom: 12px;
}

footer.site-footer ul li a {
  color: var(--az-text);
  font-size: 0.92rem;
  transition: all var(--az-transition);
}

footer.site-footer ul li a:hover {
  color: var(--az-dark-2);
  padding-left: 4px;
}

footer.site-footer .contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: var(--az-text);
}

footer.site-footer .contact-line i {
  color: var(--az-lime);
  margin-top: 3px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--az-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--az-mid);
  transition: all var(--az-transition);
}

.footer-social a:hover {
  background: var(--az-lime);
  border-color: var(--az-lime);
  color: var(--az-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--az-border);
  margin-top: 60px;
  padding: 22px 0;
  font-size: 0.85rem;
  color: var(--az-text-muted);
}

.footer-bottom a {
  color: var(--az-text-muted);
}

.footer-bottom a:hover {
  color: var(--az-mid);
}

/* =========================================================
   CONTACT PAGE
========================================================= */
.contact-info-card {
  background: var(--az-white);
  border: 1px solid var(--az-border);
  border-radius: var(--az-radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  height: 100%;
  transition: all var(--az-transition);
}

.contact-info-card:hover {
  box-shadow: var(--az-shadow);
  transform: translateY(-4px);
}

.contact-info-card .icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(124, 185, 61, 0.12);
  color: var(--az-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  min-width: 52px;
}

.contact-info-card h5 {
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.contact-info-card p {
  margin: 0;
  color: var(--az-text-muted);
  font-size: 0.92rem;
}

.contact-form-wrap {
  background: var(--az-white);
  border-radius: var(--az-radius);
  box-shadow: var(--az-shadow-lg);
  padding: 44px;
}

@media (max-width: 575.98px) {
  .contact-form-wrap {
    padding: 28px 20px;
  }
}

.form-control,
.form-select {
  border: 1px solid var(--az-border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--az-lime);
  box-shadow: 0 0 0 0.2rem rgba(124, 185, 61, 0.2);
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--az-dark);
  margin-bottom: 6px;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
  border-color: #d9534f;
}

.invalid-feedback {
  font-size: 0.8rem;
}

.map-embed {
  border-radius: var(--az-radius);
  overflow: hidden;
  box-shadow: var(--az-shadow);
  height: 282px;
  /* min-height: 320px; */
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  /* min-height: 320px; */
  border: 0;
  display: block;
}

.form-success-msg {
  display: none;
  background: rgba(124, 185, 61, 0.12);
  border: 1px solid var(--az-lime);
  color: var(--az-dark);
  border-radius: var(--az-radius-sm);
  padding: 16px 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* =========================================================
   TEAM / VALUES (About page)
========================================================= */
.value-card {
  text-align: center;
  padding: 30px 20px;
}

.value-card .value-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--az-bg-alt);
  color: var(--az-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  margin: 0 auto 18px;
  transition: all var(--az-transition);
}

.value-card:hover .value-icon {
  background: var(--az-lime);
  color: var(--az-dark);
  transform: rotateY(180deg);
}

.team-card {
  border-radius: var(--az-radius);
  overflow: hidden;
  box-shadow: var(--az-shadow);
  background: var(--az-white);
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-card .team-body {
  padding: 20px;
  text-align: center;
}

.team-card .team-body h5 {
  margin-bottom: 2px;
}

.team-card .team-body small {
  color: var(--az-text-muted);
}

/* =========================================================
   SCROLL TO TOP
========================================================= */
#scrollTopBtn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--az-dark);
  color: var(--az-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: var(--az-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--az-transition);
  z-index: 999;
  font-size: 1.1rem;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollTopBtn:hover {
  background: var(--az-lime);
  color: var(--az-dark);
}

.dropdown-item.active, .dropdown-item:active {
    color:#7cb93d;
    text-decoration: none;
    background-color: #e7edd3;
}

/* =========================================================
   SCROLL REVEAL ANIMATIONS
========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-left.reveal-visible {
  transform: translateX(0);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal-right.reveal-visible {
  transform: translateX(0);
}

.reveal-scale {
  transform: scale(0.9);
}

.reveal-scale.reveal-visible {
  transform: scale(1);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* =========================================================
   LIGHTBOX MODAL
========================================================= */
.lightbox-modal .modal-content {
  background: transparent;
  border: none;
}

.lightbox-modal .modal-body {
  padding: 0;
  text-align: center;
  position: relative;
}

.lightbox-modal img {
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-modal .btn-close {
  filter: invert(1);
  position: absolute;
  top: -40px;
  right: 0;
  opacity: 1;
}

.lightbox-caption {
  color: #fff;
  margin-top: 16px;
  font-weight: 600;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--az-transition);
}

.lightbox-nav:hover {
  background: var(--az-lime);
  color: var(--az-dark);
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

@media (max-width: 991.98px) {
  .lightbox-prev {
    left: 6px;
  }

  .lightbox-next {
    right: 6px;
  }
}

/* =========================================================
   PRELOADER (light)
========================================================= */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--az-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

#preloader .spin {
  width: 46px;
  height: 46px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--az-lime);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* =========================================================
   MISC / RESPONSIVE HELPERS
========================================================= */
.icon-inline {
  color: var(--az-lime);
  margin-right: 8px;
}

.divider-sm {
  width: 60px;
  height: 3px;
  background: var(--az-lime);
  border-radius: 3px;
  margin: 0 0 20px;
}

.badge-az {
  display: inline-block;
  background: rgba(124, 185, 61, 0.12);
  color: var(--az-mid);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
}

@media (max-width: 991.98px) {
  .service-area-card {
    height: 380px;
  }
}

@media (max-width: 575.98px) {
  .section-py {
    padding: 50px 0;
  }

  .safety-panel {
    padding: 28px 18px;
  }
}

/* =========================================================
   ADDITIONAL MOBILE / SMALL-SCREEN FIXES
========================================================= */
.hero-badge {
  max-width: 100%;
  overflow-wrap: break-word;
}

@media (max-width: 767.98px) {
  .feature-card {
    padding: 26px 20px;
  }

  .service-area-content {
    padding: 26px;
  }

  .service-area-content h3 {
    font-size: 1.4rem;
  }

  .service-area-card {
    height: 340px;
  }

  .detail-img img {
    height: 300px !important;
  }

  .team-card img,
  .gallery-item img {
    height: 220px;
  }
  
  nav.navbar.navbar-expand-lg.container{
      padding: 0px !important;
      
  }
  
 .lang-dropdown-toggle {
    color: #102b1b !important;
     border: 1px solid #7cb93d !important;
 }
 
 footer.site-footer {
    padding-top: 40px !important;
}
 
}

@media (max-width: 420px) {
  .stat-box i {
    font-size: 1.3rem;
    margin-bottom: 6px;
  }

  .stat-number {
    font-size: 1.5rem;
    gap: 2px;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .detail-img img {
    height: 240px !important;
  }
}








/* =========================
   CTA SECTION
========================= */

.cta-section {
    padding: 80px 0;
    background: #fff;
}


/* =========================
   CTA BOX
========================= */

.cta-box {
    position: relative;

    min-height: 500px;

    border-radius: 18px;
    overflow: hidden;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}


/* =========================
   OVERLAY
========================= */

.cta-overlay {
    position: absolute;
    inset: 0;

    background: rgba(20, 45, 30, 0.58);

    z-index: 1;
}


/* =========================
   CONTENT
========================= */

.cta-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 600px;

    padding: 50px 40px;

    text-align: center;
}


/* =========================
   HEADING
========================= */

.cta-content h2 {
    margin-bottom: 20px;

    color: #fff;

    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
}


/* =========================
   TEXT
========================= */

.cta-content p {
    max-width: 500px;

    margin: 0 auto;

    color: #fff;

    font-size: 18px;
    line-height: 1.6;
}


/* =========================
   BUTTONS
========================= */

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 18px;

    flex-wrap: wrap;

    margin-top: 30px;
}


/* GREEN BUTTON */

.btn-az-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 200px;
    min-height: 58px;

    padding: 14px 28px;

    border-radius: 50px;

    background: #7bc635;
    border: 2px solid #7bc635;

    color: #102b1b;

    font-size: 17px;
    font-weight: 700;

    text-decoration: none;

    transition: all 0.3s ease;
}

.btn-az-primary:hover {
    background: #fff;
    border-color: #fff;

    color: #102b1b;

    transform: translateY(-2px);
}


/* OUTLINE BUTTON */

.btn-az-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 170px;
    min-height: 58px;

    padding: 14px 28px;

    border-radius: 50px;

    background: transparent;
    border: 2px solid #fff;

    color: #fff;

    font-size: 17px;
    font-weight: 700;

    text-decoration: none;

    transition: all 0.3s ease;
}

.btn-az-outline:hover {
    background: #fff;
    color: #102b1b;

    transform: translateY(-2px);
}


/* =========================
   TABLET
========================= */

@media (max-width: 991px) {

    .cta-section {
        padding: 60px 0;
    }

    .cta-box {
        min-height: 450px;
    }

    .cta-content {
        padding: 40px 25px;
    }

    .cta-content h2 {
        font-size: 34px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .btn-az-primary,
    .btn-az-outline {
        min-width: 150px;
        font-size: 15px;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 767px) {

    .cta-section {
        padding: 40px 0px;
    }

    .cta-box {
        min-height: 430px;

        border-radius: 15px;
    }

    .cta-content {
        padding: 40px 20px;
    }

    .cta-content h2 {
        font-size: 30px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;

        width: 100%;

        gap: 12px;
    }

    .btn-az-primary,
    .btn-az-outline {
        width: 100%;
        max-width: 280px;
    }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 480px) {

    .cta-box {
        min-height: 400px;
    }

    .cta-content h2 {
        font-size: 27px;
    }

    .cta-content p {
        font-size: 15px;
    }
}




