:root {
  --fenix-yellow: #fdb521;
  --fenix-yellow-dark: #d99813;
  --ink: #08090d;
  --ink-2: #11141b;
  --panel: #171b22;
  --muted: #b9bec8;
  --line: rgba(255,255,255,0.14);
  --white: #fff;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Poppins, Arial, sans-serif;
  color: var(--white);
  background: var(--ink);
  line-height: 1.55;
}

body.lightbox-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(5, 7, 12, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-wordmark {
  width: min(230px, 38vw);
  object-fit: contain;
}

.header-actions,
.hero-actions,
.final-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.header-link {
  color: var(--white);
  font-weight: 600;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #111;
  background: var(--fenix-yellow);
  border-color: var(--fenix-yellow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--fenix-yellow-dark);
  border-color: var(--fenix-yellow-dark);
}

.btn-ghost,
.btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.05);
}

.btn-whatsapp {
  color: var(--white);
  background: #1b8f4d;
  border-color: #1b8f4d;
}

.btn-large {
  min-height: 54px;
  padding-inline: 22px;
}

.btn-block {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 128px 0 72px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img,
.hero-media picture {
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5,7,12,0.92) 0%, rgba(5,7,12,0.74) 46%, rgba(5,7,12,0.40) 100%),
    linear-gradient(180deg, rgba(5,7,12,0.24) 0%, rgba(5,7,12,0.72) 100%);
}

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

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.quote-card-kicker {
  margin: 0 0 12px;
  color: var(--fenix-yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.98;
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-subtitle {
  max-width: 700px;
  margin-bottom: 28px;
  color: rgba(255,255,255,0.86);
  font-size: 19px;
}

.hero-points {
  display: grid;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255,255,255,0.84);
}

.hero-points li {
  position: relative;
  padding-left: 22px;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--fenix-yellow);
}

.quote-card,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17,20,27,0.88);
  box-shadow: 0 24px 70px rgba(0,0,0,0.34);
}

.quote-card {
  padding: 26px;
}

.quote-card p {
  color: var(--muted);
}

.section {
  padding: 84px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.services {
  background: #0e1117;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: grid;
  grid-template-rows: 230px 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.service-card-accent {
  color: #151515;
  background: var(--fenix-yellow);
}

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

.service-card div {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.service-card p {
  color: var(--muted);
}

.service-card-accent p {
  color: rgba(17,17,17,0.78);
}

.service-card a {
  margin-top: auto;
  font-weight: 800;
  color: var(--fenix-yellow);
}

.service-card-accent a {
  color: #111;
}

.benefits {
  background: #11141b;
}

.benefits-grid,
.proof-grid,
.quote-layout,
.final-cta-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.benefit-list span {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #111;
  background: var(--fenix-yellow);
  font-weight: 800;
}

.proof {
  background: var(--ink);
}

.proof p {
  color: var(--muted);
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.brand-strip img {
  width: 100%;
  height: 118px;
  object-fit: contain;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
}

.gallery {
  background: #0e1117;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #000;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.quote-section {
  background: linear-gradient(180deg, #11141b 0%, #08090d 100%);
}

.quote-copy p {
  color: var(--muted);
}

.direct-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.direct-actions a {
  width: fit-content;
  color: var(--fenix-yellow);
  font-weight: 700;
}

.lead-form {
  padding: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--fenix-yellow);
  box-shadow: 0 0 0 3px rgba(253,181,33,0.2);
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.form-status.success {
  color: #77df9c;
}

.form-status.error {
  color: #ff9b9b;
}

.final-cta {
  padding: 54px 0;
  background: var(--fenix-yellow);
  color: #111;
}

.final-cta .eyebrow {
  color: #111;
}

.final-cta h2 {
  margin: 0;
}

.final-cta .btn-primary {
  color: #fff;
  background: #111;
  border-color: #111;
}

.final-cta .btn-outline {
  color: #111;
  border-color: rgba(17,17,17,0.4);
}

.footer {
  padding: 36px 0;
  color: var(--muted);
  background: #05070c;
}

.footer a {
  color: var(--white);
}

.sticky-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: #1b8f4d;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(0,0,0,0.32);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,0.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  border-radius: var(--radius);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: #fff;
  background: rgba(255,255,255,0.12);
  cursor: pointer;
}

@media (max-width: 1040px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .header-link {
    display: none;
  }

  .hero-grid,
  .benefits-grid,
  .proof-grid,
  .quote-layout,
  .final-cta-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 150px;
  }

  .quote-card {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    min-height: 96px;
  }

  .brand-wordmark {
    display: none;
  }

  .header-actions .btn {
    min-height: 40px;
    padding: 9px 11px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 54px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-actions,
  .final-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .service-grid,
  .benefit-list,
  .brand-strip,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
