/* --- PÁGINAS DE SERVIÇOS & LANDING PAGES (HIDROSSEMEADURA & DRENAGEM) --- */

/* Hero Split com Foto (Drenagem) */
.hero-split {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero-split .hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  align-items: center;
  min-height: 640px;
  gap: 60px;
  padding-top: 54px;
  padding-bottom: 60px;
}

.hero-split .hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: left;
}

.hero-split .hero-copy h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero-split .hero-copy p {
  color: #d5dce0;
  max-width: 535px;
  margin: 20px 0 30px;
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero-split .hero-copy small {
  display: block;
  color: #bac8d0;
  margin-top: 18px;
  font-size: 0.85rem;
}

.hero-photo {
  position: relative;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 480px;
}

.hero-photo > img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  border-radius: 120px 6px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.photo-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(16, 31, 41, 0.92);
  backdrop-filter: blur(8px);
  padding: 18px 22px;
  border-radius: 4px;
  border-left: 3px solid var(--gold);
  font-size: 0.85rem;
  color: #d5dce0;
}

.photo-label strong {
  display: block;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 4px;
}

.hero-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #d5dce0;
  background: rgba(8, 23, 32, 0.5);
}

.hero-strip .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 0.85rem;
}

.hero-strip span:before {
  content: '✓';
  color: var(--gold);
  margin-right: 10px;
  font-weight: bold;
}

@media (max-width: 800px) {
  .hero-split .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 45px;
    padding-bottom: 30px;
    min-height: 0;
  }
  .hero-photo {
    min-height: 310px;
    max-height: 410px;
    aspect-ratio: 1.45;
  }
  .hero-photo > img {
    border-top-left-radius: 65px;
  }
  .hero-strip .wrap {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}

.hero-specialized {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  text-align: center;
}

.hero-specialized .hero-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 640px;
  padding: 100px 0 80px;
}

.hero-specialized .hero-copy {
  width: 100%;
  max-width: 1120px;
}

.hero-rotating-title {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  font-weight: 700;
  min-height: 2.3em;
  margin: 0 auto;
}

.hero-title-fixed {
  display: inline;
}

.hero-word-stack {
  display: inline;
  color: var(--gold);
  white-space: nowrap;
}

.hero-type-cursor {
  display: inline-block;
  margin-left: 0.05em;
  font-weight: 300;
  animation: hero-cursor-blink 1s step-end infinite;
}

@keyframes hero-cursor-blink {
  50% {
    opacity: 0;
  }
}

.hero-specialized .hero-copy p {
  max-width: 740px;
  margin: 24px auto 32px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #d5dce0;
}

.hero-specialized .btn {
  justify-content: center;
}

.hero-specialized small {
  display: block;
  margin-top: 22px;
  color: #bac8d0;
  font-size: 0.85rem;
}

.hero-specialized .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  pointer-events: none;
}

.hero-specialized .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 31, 41, 0.82) 0%, rgba(16, 31, 41, 0.95) 100%);
  pointer-events: none;
}

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

/* Seção de Introdução Técnica */
.intro {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 80px;
  align-items: start;
}

.intro p {
  margin-top: 20px;
  font-size: 1.05rem;
}

.points {
  margin-top: 36px;
  border-top: 1px solid var(--line);
}

.point {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: start;
}

.point svg {
  color: var(--gold);
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.point h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.point p {
  font-size: 0.92rem;
  margin-top: 6px;
}

/* Aplicações e Soluções */
.applications {
  background: var(--paper);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.app {
  background: var(--white);
  padding: 32px 28px;
  border-radius: 6px;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.app:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.app svg {
  color: var(--gold);
  margin-bottom: 24px;
}

.app h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.app p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Oreo em Campo / Prova Social */
.proof-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}

.proof-photo figure {
  margin: 0;
}

.proof-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.proof-photo figcaption {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 10px;
}

.oreo-extra-photo {
  margin-top: 20px;
}

.proof-text p {
  margin-top: 20px;
  font-size: 1.05rem;
}

.proof-text ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
}

.proof-text li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  display: flex;
  gap: 12px;
  align-items: center;
}

.proof-text li:before {
  content: '✓';
  color: var(--gold);
  font-weight: bold;
}

/* Métodos e Tecnologias */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.method {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
  display: flex;
  flex-direction: column;
}

.method h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.method p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.method ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 32px;
  flex-grow: 1;
}

.method li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  display: flex;
  gap: 12px;
}

.method li:before {
  content: '✓';
  color: var(--gold);
  font-weight: bold;
}

.method-note {
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* Processo em 3 Etapas */
.process {
  background: var(--navy);
  color: var(--white);
}

.process .section-head p {
  color: #bfcbd0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.process-item {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 24px;
}

.process-item svg {
  color: var(--gold);
  margin-bottom: 18px;
}

.process-item h3 {
  margin: 12px 0;
  font-size: 1.25rem;
}

.process-item p {
  color: #bfcbd0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.process-foot {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #bfcbd0;
  font-size: 0.85rem;
  text-align: center;
}

/* Galeria de Campo */
.field-gallery {
  background: var(--paper);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.field-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.field-photo {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--navy);
}

.field-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.field-card:hover .field-photo img {
  transform: scale(1.04);
}

.field-card figcaption {
  padding: 20px 24px;
}

.field-card figcaption h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.field-card figcaption p {
  font-size: 0.9rem;
}

/* Faixa de Orçamento Rápido */
.budget {
  background: var(--gold);
  padding: 54px 0;
  color: var(--navy);
}

.budget .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.budget h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  font-weight: 700;
  color: var(--navy);
}

.budget p {
  color: var(--navy);
  margin-top: 10px;
  font-size: 1.05rem;
  max-width: 650px;
}

.budget .btn {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  flex-shrink: 0;
}

.budget .btn:hover {
  background: #08131a;
  border-color: #08131a;
  color: var(--gold);
}

/* FAQ com Details/Summary */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}

.faq-intro p {
  margin-top: 20px;
  font-size: 1.05rem;
}

.faq-intro .btn {
  margin-top: 32px;
}

details {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

summary::-webkit-details-marker {
  display: none;
}

summary:after {
  content: '+';
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 400;
  transition: transform 0.2s;
}

details[open] summary:after {
  content: '−';
}

details p {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Contato e Orçamento */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.contact-info {
  background: var(--navy);
  color: var(--white);
  padding: 44px;
  border-radius: 8px;
}

.contact-info h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
}

.contact-info p {
  color: #becad0;
  margin: 18px 0 24px;
  font-size: 1.05rem;
}

.contact-line {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.95rem;
}

.contact-line strong {
  display: block;
  color: var(--gold);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-card {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  align-self: center;
}

.contact-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.contact-card p {
  color: var(--ink);
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-card ul {
  padding: 0;
  list-style: none;
  margin: 20px 0 28px;
  color: var(--ink);
}

.contact-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
  display: flex;
  gap: 12px;
  color: var(--ink);
  align-items: center;
}

.contact-card li:before {
  content: '✓';
  color: var(--gold);
  font-weight: bold;
  flex-shrink: 0;
}

.contact-card .btn {
  width: 100%;
}

.contact-card small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

/* Mobile CTA Fixo */
.mobile-cta {
  display: none;
}

@media (max-width: 800px) {
  .mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 25;
    display: flex;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--gold);
    border-top: 2px solid rgba(16, 31, 41, 0.15);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  }
  .mobile-cta .btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    background: var(--navy);
    color: #ffffff;
    border: 1px solid var(--navy);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .mobile-cta .btn:hover {
    background: #0a141b;
  }
  .intro, .proof-grid, .faq-grid, .contact-grid, .method-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .field-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .budget .wrap {
    flex-direction: column;
    text-align: center;
  }
  .budget .btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
  .hero-specialized .hero-grid {
    min-height: 0;
    padding: 60px 0 45px;
  }
  .hero-rotating-title {
    font-size: clamp(26px, 7vw, 36px);
  }
}

/* Client Carousel Marquee */
.client-carousel {
  overflow: hidden !important;
  margin-top: 26px;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.client-carousel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.client-track {
  display: flex;
  width: max-content;
  animation: client-slide 28s linear infinite !important;
  will-change: transform;
}

.client-group {
  display: flex;
  align-items: center;
  gap: 52px;
  padding: 0 26px;
  flex-shrink: 0;
}

.client-group img {
  width: 130px;
  height: 68px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  flex-shrink: 0;
}

.client-track.paused,
.client-carousel:hover .client-track {
  animation-play-state: paused;
}

@keyframes client-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
