:root {
   --main-header-height: 83px;
   --container: min(1200px, 92%);
   --text: #232323;
   --muted: #666;
   --brand: #f58220;
}

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

html {
   scroll-behavior: smooth;
}

body {
   font-family: 'Montserrat', sans-serif;
   color: var(--text);
   background: #fff;
   line-height: 1.6;
   overflow-x: hidden;
}

.split-header {
   display: flex;
   height: 120px;
   width: 100%;
   margin-top: var(--main-header-height);
}

.header-dark {
   background-color: #2d3e4a;
   width: 45%;
   display: flex;
   align-items: center;
   justify-content: flex-end;
   padding-right: 40px;
   position: relative;
}

.header-dark h2 {
   color: #fff;
   font-weight: 400;
   font-size: 1.2rem;
   text-transform: none;
   white-space: nowrap;
}

.header-content {
   display: flex;
   align-items: center;
   gap: 20px;
}

.header-line {
   width: 150px;
   height: 1px;
   background-color: #ff8c31;
}

.header-orange {
   background-color: #ff8c31;
   flex: 1;
}

.content-spacer {
   min-height: 400px;
   background-color: #fff;
}

.service-hero-full {
   position: relative;
   width: 100%;
   min-height: clamp(420px, 84vh, 760px);
   background: url('../assets/images/supressao-vegetal.webp') center/cover no-repeat;
   display: flex;
   align-items: center;
}

.hero-overlay {
   position: absolute;
   inset: 0;
   background: rgba(0, 0, 0, 0.45);
}

.hero-content {
   position: relative;
   z-index: 2;
   width: var(--container);
   margin: 0 auto;
   color: #fff;
}

.section-tag {
   display: inline-block;
   margin-bottom: 14px;
   color: var(--brand);
   font-size: 0.8rem;
   font-weight: 700;
   letter-spacing: 2px;
}

.hero-content h1 {
   font-size: clamp(1.7rem, 4.2vw, 3.5rem);
   line-height: 1.1;
   font-weight: 800;
   margin-bottom: 20px;
   max-width: 760px;
   text-wrap: balance;
}

.hero-content p {
   font-size: clamp(0.95rem, 1.4vw, 1.1rem);
   max-width: 640px;
   color: rgba(255, 255, 255, 0.86);
}

.operation-highlight {
   width: var(--container);
   margin: 0 auto;
   padding: 90px 0 70px;
}

.operation-header {
   max-width: 860px;
   margin-bottom: 42px;
}

.operation-header h2 {
   font-size: clamp(1.45rem, 2.5vw, 2rem);
   line-height: 1.25;
   color: var(--text);
   font-weight: 800;
   margin-bottom: 12px;
}

.operation-header p {
   font-size: 1rem;
   color: var(--muted);
}

.operation-text h3 {
   font-size: clamp(1.15rem, 2.2vw, 1.85rem);
   font-weight: 500;
   color: var(--text);
   margin-bottom: 10px;
}

.operation-line {
   width: min(100%, 420px);
   height: 2px;
   background: var(--brand);
   margin-bottom: 24px;
}

.operation-text p {
   font-size: clamp(0.95rem, 1.4vw, 1.05rem);
   color: var(--text);
   line-height: 1.6;
   max-width: 920px;
}

.operation-image-cards {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 20px;
   margin: 40px 0;
}

.operation-image img {
   width: 100%;
   height: clamp(220px, 34vw, 420px);
   object-fit: cover;
   border-radius: 20px;
   display: block;
}

.real-work-text {
   margin-top: 8px;
   max-width: 980px;
}

.highlight-text {
   display: block;
   background: #5a6f80;
   color: #fff;
   line-height: 1.7;
   padding: 12px 14px;
   margin-top: 10px;
   border-radius: 6px;
}

.service-section {
   width: 100%;
   padding: 90px 0;
}

.section-bege {
   background: #f5f5f5;
}

.section-heading {
   width: var(--container);
   margin: 0 auto 48px;
}

.section-heading.center {
   text-align: center;
}

.section-heading h2 {
   font-size: clamp(1.55rem, 2.5vw, 2.2rem);
   color: var(--text);
   line-height: 1.2;
   font-weight: 800;
}

.section-heading p {
   max-width: 760px;
   margin: 12px auto 0;
   color: var(--muted);
}

.cards-grid {
   width: var(--container);
   margin: 0 auto;
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: 20px;
}

.info-card {
   background: #fff;
   border: 1px solid #ececec;
   padding: 26px;
   border-radius: 16px;
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
   font-size: 1.15rem;
   color: var(--text);
   margin-bottom: 10px;
}

.info-card p {
   color: var(--muted);
   font-size: 0.95rem;
}

.related-services {
   background: #fff;
}

.services-gallery {
   width: var(--container);
   margin: 0 auto;
}

.gallery-grid {
   display: grid;
   grid-template-columns: repeat(3, minmax(0, 1fr));
   gap: 16px;
}

.gallery-card {
   position: relative;
   border-radius: 16px;
   overflow: hidden;
   min-height: 260px;
   text-decoration: none;
}

.gallery-card img {
   width: 100%;
   height: 100%;
   min-height: 260px;
   object-fit: cover;
   display: block;
   transition: transform 0.35s ease;
}

.gallery-card:hover img {
   transform: scale(1.04);
}

.card-overlay {
   position: absolute;
   inset: 0;
   display: flex;
   align-items: flex-end;
   padding: 20px;
   background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.15) 55%, transparent);
}

.card-overlay h3 {
   color: #fff;
   font-size: 1.08rem;
   font-weight: 700;
}

@media (max-width: 1024px) {
   .cards-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
   }
}

@media (max-width: 768px) {
   .split-header {
      height: 100px;
      margin-top: 60px;
   }

   .header-dark {
      width: 70%;
      padding-right: 15px;
   }

   .header-content {
      gap: 12px;
   }

   .header-line {
      width: 60px;
   }

   .header-dark h2 {
      font-size: 1rem;
   }

   .operation-highlight,
   .service-section {
      padding: 64px 0;
   }

   .operation-image-cards,
   .cards-grid,
   .gallery-grid {
      grid-template-columns: 1fr;
   }
}

@media (max-width: 560px) {
   .hero-content {
      width: min(1200px, 94%);
   }

   .gallery-card,
   .gallery-card img {
      min-height: 220px;
   }
}
