/* Rei da Grama Sintética — LP (estrutura inspirada em landing comercial) */

:root {
  --ink: #0b1f14;
  --navy: #0d2818;
  --deep: #123524;
  --mid: #1f6b45;
  --mint: #3dbf8a;
  --mint-soft: #7ddea8;
  --bright: #52b788;
  --paper: #f4faf6;
  --fog: #e8f3ec;
  --white: #ffffff;
  --muted: #5a7264;
  --line: rgba(13, 40, 24, 0.12);
  --whatsapp: #25d366;
  --shadow: 0 20px 50px rgba(11, 31, 20, 0.16);
  --radius: 22px;
  --radius-sm: 14px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(61, 191, 138, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 10%, rgba(18, 53, 36, 0.08), transparent 50%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  color: var(--navy);
}

.section-head .section-sub {
  color: var(--muted);
  margin: 0;
}

.section-head.light h2,
.section-head.light .section-sub {
  color: var(--white);
}

.section-head.light .section-sub {
  opacity: 0.82;
}

.brand-mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  letter-spacing: -0.02em;
  color: var(--mid);
  margin: 0 0 0.85rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 1.55rem;
  font-size: 1rem;
}

.btn-whatsapp {
  background: var(--mint);
  color: var(--white);
}

.btn-whatsapp:hover {
  background: #34b07c;
}

.btn-outline {
  background: transparent;
  border-color: var(--mint);
  color: var(--mid);
}

.btn-outline:hover {
  background: rgba(61, 191, 138, 0.1);
}

.btn-mint {
  background: var(--mint);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-header {
  padding: 0.7rem 1.1rem;
  font-size: 0.88rem;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: var(--navy);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 58px;
  width: auto;
  max-width: min(220px, 48vw);
  object-fit: contain;
}

.nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  background: var(--deep);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem 1.75rem;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  padding: 0.7rem 0.4rem;
  font-weight: 600;
}

.nav .btn-nav {
  margin-top: 0.5rem;
  width: fit-content;
}

/* Hero */

.hero {
  position: relative;
  min-height: clamp(580px, 88vh, 780px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  overflow: hidden;
  color: var(--white);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Overlay no estilo oreidocelulares: foto full + degradê escuro à esquerda */
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(11, 31, 20, 0.88) 0%,
    rgba(11, 31, 20, 0.62) 42%,
    rgba(11, 31, 20, 0.28) 68%,
    rgba(11, 31, 20, 0.1) 100%
  );
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--navy);
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}

.hero-media img.is-active {
  opacity: 1;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.hero-copy {
  max-width: 40rem;
}

.hero .brand-mark {
  color: var(--mint-soft);
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.2vw, 3rem);
  color: var(--white);
  max-width: 18ch;
  line-height: 1.12;
  text-wrap: balance;
}

.hero-copy .lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 42ch;
  font-size: 1.08rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.35rem;
}

.hero .btn-outline {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  backdrop-filter: blur(6px);
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.22);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  font-size: 0.92rem;
}

.hero-trust i {
  color: var(--mint-soft);
}

/* Benefits */

.benefits {
  padding: 1rem 0 3.5rem;
}

.benefit-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.benefit-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 120px;
  box-shadow: 0 10px 28px rgba(13, 40, 24, 0.05);
}

.benefit-chip i {
  color: var(--mint);
  font-size: 1.25rem;
}

.benefit-chip p {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
  line-height: 1.35;
}

/* Solutions */

.solutions {
  padding: 2rem 0 4rem;
  background: linear-gradient(180deg, transparent, rgba(232, 243, 236, 0.65) 30%, transparent);
}

.solutions > .container {
  width: min(1480px, calc(100% - 1.25rem));
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
}

.project-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(13, 40, 24, 0.07);
  transition: transform 0.3s var(--ease);
  cursor: zoom-in;
  font: inherit;
  text-align: inherit;
  color: inherit;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  min-height: 260px;
  object-fit: cover;
}

.project-card p {
  margin: 0;
  padding: 1.15rem 1rem 1.3rem;
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.35;
}

/* Cases */

.cases {
  padding: 1rem 0 3.5rem;
  overflow: hidden;
}

.cases-carousel {
  --cases-gap: 1.15rem;
  --cases-visible: 4;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: center;
  width: min(1480px, calc(100% - 1.25rem));
  margin: 0.75rem auto 0;
}

.cases-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(13, 40, 24, 0.08);
}

.cases-nav:hover {
  transform: scale(1.05);
  background: var(--fog);
}

.cases-nav:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.cases-viewport {
  overflow: hidden;
  container-type: inline-size;
}

.cases-track {
  display: flex;
  gap: var(--cases-gap);
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.case-panel {
  flex: 0 0 calc((100cqi - (var(--cases-visible) - 1) * var(--cases-gap)) / var(--cases-visible));
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background: #0d2818;
}

button.case-panel {
  display: block;
  padding: 0;
  border: 0;
  cursor: zoom-in;
  font: inherit;
  color: inherit;
  text-align: left;
}

button.case-panel:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.case-panel img,
.case-panel video {
  width: 100%;
  aspect-ratio: 9 / 14;
  min-height: 420px;
  object-fit: cover;
  display: block;
  background: #0d2818;
}

.case-panel video {
  vertical-align: top;
}

/* Fotos — mosaico */

.fotos {
  padding: 3.5rem 0 4.5rem;
}

.fotos > .container {
  width: min(1480px, calc(100% - 1.25rem));
}

.fotos-head {
  margin: 0 0 1.5rem;
}

.fotos-head .eyebrow {
  margin: 0;
}

.galeria-grade {
  display: grid;
  grid-template-columns: repeat(var(--colunas, 4), 1fr);
  grid-auto-rows: 230px;
  gap: 14px;
}

.galeria-grade.mosaico .galeria-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.galeria-item {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--fog);
  box-shadow: 0 12px 28px rgba(13, 40, 24, 0.08);
}

.galeria-item:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s var(--ease);
}

.galeria-item:hover img {
  transform: scale(1.04);
}

.galeria-item.is-extra {
  display: none;
}

.galeria-grade.is-expanded .galeria-item.is-extra {
  display: block;
}

.fotos-more {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.fotos-more .btn {
  min-width: 160px;
}

.fotos-more[hidden] {
  display: none;
}

/* Reviews */

.google-reviews {
  padding: 4.5rem 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(61, 191, 138, 0.18), transparent 55%),
    linear-gradient(160deg, #0d2818 0%, #123524 55%, #0b1f14 100%);
  color: var(--white);
}

.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.reviews-score {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.reviews-score strong {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}

.reviews-score p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.92;
}

.reviews-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.stars {
  color: #f5c542;
  letter-spacing: 0.08em;
}

.google-wordmark {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.g-blue { color: #4285f4; }
.g-red { color: #ea4335; }
.g-yellow { color: #fbbc05; }
.g-green { color: #34a853; }

.reviews-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.reviews-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.25s var(--ease);
}

.reviews-nav:hover {
  transform: scale(1.05);
}

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  transition: transform 0.45s var(--ease);
}

.review {
  flex: 0 0 calc(100% / 3);
  padding: 0 0.45rem;
}

.review-link {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 280px;
  height: 100%;
  padding: 1.35rem 1.25rem 1.2rem;
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s var(--ease);
}

.review-link:hover {
  transform: translateY(-3px);
}

.review-quote {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 0.8;
  color: var(--mint);
  font-weight: 800;
}

.review-link header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.review-avatar-fallback,
.review-avatar-photo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.review-avatar-fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--mid), var(--mint));
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
}

.review-avatar-photo {
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.review-avatar-photo.is-hidden {
  display: none;
}

.review-google-badge {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  color: #4285f4;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.review-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.review-meta strong {
  font-size: 0.98rem;
}

.review-meta time {
  font-size: 0.82rem;
  color: var(--muted);
}

.review-text {
  margin: 0;
  flex: 1;
  color: #33443b;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-more {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--mid);
}

/* Differentials */

.differentials {
  padding: 4.5rem 0 3.5rem;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.diff-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.25rem;
  box-shadow: 0 10px 28px rgba(13, 40, 24, 0.05);
}

.diff-card i {
  color: var(--mint);
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.diff-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
}

.diff-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA banner — full-bleed, sem card partido */

.cta-banner {
  position: relative;
  isolation: isolate;
  min-height: clamp(360px, 52vw, 480px);
  display: grid;
  place-items: center;
  padding: 4.5rem 0;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.cta-banner-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 25, 16, 0.55) 0%, rgba(8, 25, 16, 0.72) 45%, rgba(8, 25, 16, 0.88) 100%),
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(61, 191, 138, 0.22), transparent 70%);
}

.cta-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-banner .brand-mark.light {
  color: var(--mint-soft);
}

.cta-banner h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  color: var(--white);
  margin-bottom: 0.85rem;
}

.cta-banner-inner > p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  max-width: 40ch;
  margin-bottom: 1.5rem;
}

.cta-banner .btn-whatsapp {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

/* Steps */

.steps {
  padding: 2rem 0 4rem;
  background: linear-gradient(180deg, var(--fog), transparent);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.2rem;
  border: 1px solid var(--line);
  position: relative;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.step-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* SEO + FAQ */

.seo-block {
  padding: 1rem 0 2rem;
}

.seo-block h2 {
  font-size: 1.35rem;
  color: var(--navy);
}

.seo-block p {
  color: var(--muted);
  max-width: 85ch;
}

.faq {
  padding: 2rem 0 4rem;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.2rem 1.1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 1rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--mint);
  font-size: 1.3rem;
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* Contact + footer */

.contact {
  padding: 2.5rem 0 3.5rem;
  background: var(--navy);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact h2 {
  color: var(--white);
}

.address,
.area,
.contact-list a {
  color: rgba(255, 255, 255, 0.86);
}

.address i,
.contact-list i {
  color: var(--mint-soft);
  margin-right: 0.4rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-list a:hover {
  color: var(--white);
}

.site-footer {
  background: #081910;
  color: rgba(255, 255, 255, 0.7);
  padding: 1.25rem 0;
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
}

.whatsapp-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s var(--ease);
}

.whatsapp-fab:hover {
  transform: scale(1.06);
}

.wa-balao {
  position: fixed;
  right: 1.1rem;
  bottom: 5.5rem;
  z-index: 90;
  max-width: 260px;
  background: var(--white);
  color: var(--ink);
  border-radius: 18px 18px 4px 18px;
  padding: 14px 36px 14px 16px;
  font-size: 0.95rem;
  line-height: 1.45;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  animation: wa-surgir 0.4s var(--ease) both;
}

.wa-balao[hidden] {
  display: none !important;
}

.wa-balao-fechar {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: none;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  color: #777;
  padding: 0.15rem;
}

@keyframes wa-surgir {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
}

@media (max-width: 860px) {
  .whatsapp-fab {
    right: 1rem;
    bottom: 1rem;
  }

  .wa-balao {
    right: 1rem;
    bottom: 5.35rem;
  }
}

/* Motion */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}

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

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cases-track {
    transition: none;
  }
}

/* Responsive */

@media (max-width: 1100px) {
  .cases-carousel {
    --cases-visible: 2;
  }

  .project-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefit-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .diff-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review {
    flex-basis: 50%;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: clamp(520px, 86vh, 700px);
    padding: calc(var(--header-h) + 1.5rem) 0 2.5rem;
  }

  .hero-visual::after {
    background: linear-gradient(
      180deg,
      rgba(11, 31, 20, 0.82) 0%,
      rgba(11, 31, 20, 0.55) 45%,
      rgba(11, 31, 20, 0.35) 100%
    );
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .btn-header span {
    display: none;
  }

  .btn-header {
    width: 44px;
    height: 44px;
    padding: 0;
  }
}

@media (max-width: 900px) {
  .galeria-grade,
  .galeria-grade.mosaico {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }

  .galeria-grade.mosaico .galeria-item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 1.5rem, 1180px);
  }

  .cases-carousel {
    --cases-visible: 1;
    width: calc(100% - 1rem);
    grid-template-columns: auto 1fr auto;
  }

  .case-panel img,
  .case-panel video {
    min-height: 360px;
  }

  .project-grid,
  .benefit-rail,
  .diff-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .review {
    flex-basis: 100%;
  }

  .reviews-carousel {
    grid-template-columns: 1fr;
  }

  .reviews-nav {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .brand img {
    height: 44px;
  }
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(11, 31, 20, 0.88);
  backdrop-filter: blur(6px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 1;
}

.lightbox-figure {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.lightbox-figure figcaption {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
}
