/* ==============================
   WHS Automação & Elétrica
   Parte 1 - Header + Hero
   ============================== */

:root {
  --bg: #101112;
  --bg-soft: #17191b;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-border: rgba(255, 255, 255, 0.10);

  --text: #f5f1e8;
  --muted: #b9b3a8;

  --gold: #c8a45f;
  --gold-soft: #ddc28a;
  --gold-deep: #9d7b3e;

  --header-height: 82px;
  --container: 1180px;

  --radius: 24px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.30);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

/* HEADER */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(12, 13, 14, 0.78);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  font-size: 1.65rem;
  letter-spacing: -0.06em;
  color: var(--gold-soft);
}

.brand-copy {
  display: grid;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.62rem;
  color: var(--muted);
}

.brand-copy strong {
  color: var(--text);
  font-size: 0.68rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #dad5cc;
  font-size: 0.92rem;
}

.main-nav > a:not(.btn) {
  transition: color 180ms ease;
}

.main-nav > a:not(.btn):hover {
  color: var(--gold-soft);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #15110a;
  box-shadow: 0 12px 34px rgba(200, 164, 95, 0.20);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ead39f, #d0ad67);
}

.btn-outline {
  border: 1px solid rgba(221, 194, 138, 0.50);
  color: var(--gold-soft);
}

.btn-outline:hover {
  background: rgba(221, 194, 138, 0.09);
  border-color: var(--gold-soft);
}

.btn-small {
  min-height: 42px;
  padding-inline: 17px;
  font-size: 0.80rem;
}

.btn-link {
  min-height: auto;
  padding: 12px 4px;
  color: var(--text);
}

.btn-link span {
  color: var(--gold-soft);
  font-size: 1.1rem;
}

/* HERO */

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + 74px) 0 72px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 80% 22%, rgba(200, 164, 95, 0.14), transparent 28%),
    radial-gradient(circle at 18% 76%, rgba(255, 255, 255, 0.04), transparent 31%),
    linear-gradient(135deg, #0e0f10 0%, #131517 48%, #0c0d0e 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.17;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, transparent, black 28%, black 72%, transparent);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,15,16,0.35), rgba(14,15,16,0.06)),
    linear-gradient(180deg, transparent 60%, rgba(10,10,10,0.45));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.62fr);
  align-items: center;
  gap: 68px;
}

.hero-content {
  max-width: 770px;
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(3rem, 6.3vw, 6.1rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

h1 span {
  display: block;
  color: var(--gold-soft);
}

.hero-text {
  max-width: 670px;
  margin-top: 30px;
  color: #d4cec4;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.75;
}

.service-area {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.91rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 58px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.feature-icon {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.feature-item div {
  display: grid;
  gap: 6px;
}

.feature-item strong {
  font-size: 0.86rem;
}

.feature-item div span {
  color: #8f8b84;
  font-size: 0.76rem;
  line-height: 1.45;
}

/* HERO CARD */

.hero-card {
  position: relative;
  min-height: 430px;
  padding: 36px;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255,255,255,0.085), rgba(255,255,255,0.025)),
    radial-gradient(circle at 80% 0%, rgba(200,164,95,0.16), transparent 44%);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(221, 194, 138, 0.12);
  border-radius: calc(var(--radius) - 8px);
  pointer-events: none;
}

.card-label {
  position: absolute;
  top: 34px;
  left: 36px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 3.7rem;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(221, 194, 138, 0.17);
}

.hero-card h2 {
  position: relative;
  max-width: 320px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.7rem, 2.3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hero-card > p {
  position: relative;
  margin-top: 18px;
  color: #bdb7ae;
  font-size: 0.92rem;
  line-height: 1.65;
}

.card-line {
  position: relative;
  width: 58px;
  height: 2px;
  margin-top: 26px;
  background: var(--gold);
}

.card-note {
  font-size: 0.73rem !important;
  color: #77736d !important;
}


/* SERVICES */

.services-section {
  position: relative;
  padding: 110px 0 118px;
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 164, 95, 0.07), transparent 24%),
    linear-gradient(180deg, #111315 0%, #0d0f10 100%);
  scroll-margin-top: var(--header-height);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

.section-heading .eyebrow {
  margin-bottom: 16px;
}

.section-heading h2 {
  max-width: 700px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.25rem, 4.4vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-intro {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

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

.service-card {
  grid-column: span 2;
  min-width: 0;
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255,255,255,0.055), rgba(255,255,255,0.02));
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(221, 194, 138, 0.32);
  background: linear-gradient(160deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025));
}

.service-card-wide {
  grid-column: span 3;
}

.service-media {
  position: relative;
  aspect-ratio: 16 / 8.8;
  overflow: hidden;
  background: #191b1d;
}

.service-media-small {
  aspect-ratio: 4 / 3;
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(11,12,13,0.55) 100%);
  pointer-events: none;
}

.service-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.03) brightness(0.86);
  transition: transform 500ms ease, filter 300ms ease;
}

.service-card:hover .service-media img {
  transform: scale(1.035);
  filter: saturate(0.92) contrast(1.03) brightness(0.91);
}

.image-note {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(8,9,10,0.64);
  color: rgba(255,255,255,0.66);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  backdrop-filter: blur(10px);
}

.service-body {
  padding: 28px 28px 30px;
}

.service-body.compact {
  padding: 24px 24px 26px;
}

.service-number {
  margin-bottom: 15px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.10em;
}

.service-body h3 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.service-body p {
  margin-top: 14px;
  color: #aaa59c;
  font-size: 0.9rem;
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.service-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(221, 194, 138, 0.15);
  border-radius: 999px;
  background: rgba(221, 194, 138, 0.055);
  color: #c8c0b4;
  font-size: 0.67rem;
  font-weight: 600;
}

.service-link {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: 24px;
  color: var(--gold-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.service-link span {
  font-size: 1rem;
  transition: transform 180ms ease;
}

.service-link:hover span {
  transform: translateX(4px);
}

.services-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
  padding: 22px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.services-footer p {
  max-width: 720px;
  color: #8d8982;
  font-size: 0.78rem;
  line-height: 1.6;
}

.services-footer strong {
  color: #bbb5aa;
}

/* Placeholder para permitir navegar nas âncoras
   enquanto as próximas seções ainda não foram construídas */

.next-section-placeholder {
  height: 14px;
}

.anchor-placeholder {
  height: 1px;
}

/* RESPONSIVO */

@media (max-width: 980px) {
  :root {
    --header-height: 74px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 20px;
    right: 20px;

    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;

    padding: 16px;
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    background: rgba(18, 19, 20, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav > a:not(.btn) {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
  }

  .main-nav .btn {
    margin-top: 14px;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 64px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    max-width: 820px;
  }

  .hero-card {
    min-height: 350px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand-copy {
    display: none;
  }

  .hero {
    padding-bottom: 50px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 0.70rem;
    line-height: 1.5;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.4rem);
  }

  .hero-text {
    margin-top: 24px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-features {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 44px;
  }

  .feature-item {
    padding: 17px 0;
  }

  .hero-card {
    min-height: 315px;
    padding: 28px;
  }

  .hero-card::before {
    inset: 14px;
  }

  .card-label {
    top: 24px;
    left: 28px;
    font-size: 3rem;
  }
}


@media (max-width: 980px) {
  .services-section {
    padding: 84px 0 92px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-intro {
    max-width: 720px;
  }

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

  .service-card,
  .service-card-wide {
    grid-column: span 1;
  }

  .service-card:last-child {
    grid-column: 1 / -1;
  }

  .service-card:last-child .service-media-small {
    aspect-ratio: 16 / 7;
  }
}

@media (max-width: 720px) {
  .services-section {
    padding: 70px 0 74px;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card-wide,
  .service-card:last-child {
    grid-column: auto;
  }

  .service-media,
  .service-media-small,
  .service-card:last-child .service-media-small {
    aspect-ratio: 16 / 10;
  }

  .service-body,
  .service-body.compact {
    padding: 22px;
  }

  .services-footer {
    align-items: stretch;
    flex-direction: column;
    padding: 20px 0 0;
  }

  .services-footer .btn {
    width: 100%;
  }
}

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

  .btn,
  .main-nav > a {
    transition: none;
  }
}


/* ==============================
   PARTE 3 - PROJETOS REAIS WHS
   ============================== */

.hero-card-photo {
  position: relative;
  padding: 0;
  min-height: 520px;
  background: #111;
}

.hero-card-photo::before {
  display: none;
}

.hero-card-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.03) 28%, rgba(0,0,0,0.78) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.12), transparent 58%);
}

.hero-card-photo-copy {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  z-index: 2;
}

.hero-card-photo-copy h2 {
  margin-top: 12px;
  max-width: 380px;
}

.hero-card-photo-copy p {
  max-width: 420px;
  margin-top: 12px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

.project-proof,
.project-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(221, 194, 138, 0.42);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.42);
  color: var(--gold-soft);
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.projects-section {
  position: relative;
  padding: 116px 0 124px;
  background:
    radial-gradient(circle at 88% 18%, rgba(200, 164, 95, 0.08), transparent 25%),
    linear-gradient(180deg, #111315 0%, #0d0e0f 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.projects-heading {
  margin-bottom: 46px;
}

.project-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.65fr);
  gap: 0;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 26px;
  background: rgba(255,255,255,0.035);
}

.project-highlight-media {
  position: relative;
  min-height: 500px;
  border: 0;
  padding: 0;
  overflow: hidden;
  background: #090a0b;
  cursor: zoom-in;
}

.project-highlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.project-highlight-media:hover img,
.project-image:hover img {
  transform: scale(1.025);
}

.project-highlight-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 46px;
}

.project-highlight-copy h3 {
  margin-top: 18px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.project-highlight-copy p {
  margin-top: 20px;
  color: var(--muted);
  line-height: 1.75;
}

.project-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.project-pills span {
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 999px;
  color: #c7c1b8;
  font-size: 0.72rem;
}

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

.project-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background: rgba(255,255,255,0.035);
}

.project-image {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: #090a0b;
  cursor: zoom-in;
}

.project-tall .project-image {
  aspect-ratio: 4 / 5;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(8, 9, 10, 0.68);
  color: #fff;
  font: 700 0.68rem "Inter", sans-serif;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(8px);
}

.lightbox-trigger:hover .zoom-hint,
.lightbox-trigger:focus-visible .zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.project-meta {
  padding: 18px 20px 20px;
}

.project-meta span {
  color: var(--gold-soft);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.project-meta h3 {
  margin-top: 6px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
}

.projects-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 30px;
  padding: 34px;
  border: 1px solid rgba(221,194,138,0.15);
  border-radius: 24px;
  background: linear-gradient(120deg, rgba(221,194,138,0.075), rgba(255,255,255,0.025));
}

.projects-cta h3 {
  margin-top: 12px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  letter-spacing: -0.035em;
}

.projects-cta p {
  max-width: 670px;
  margin-top: 8px;
  color: var(--muted);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  place-items: center;
  padding: 30px;
}

.lightbox.open {
  display: grid;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4, 5, 6, 0.92);
  cursor: zoom-out;
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: min(1160px, 92vw);
  max-height: 88vh;
  margin: 0;
}

.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  margin: auto;
  border-radius: 18px;
  box-shadow: 0 28px 100px rgba(0,0,0,0.55);
}

.lightbox-content figcaption {
  margin-top: 14px;
  color: #ddd7cc;
  text-align: center;
  font-size: 0.88rem;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
  background: rgba(20,20,20,0.82);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .hero-card-photo {
    min-height: 430px;
  }

  .projects-section {
    padding: 92px 0 98px;
  }

  .project-highlight {
    grid-template-columns: 1fr;
  }

  .project-highlight-media {
    min-height: 410px;
  }

  .project-highlight-copy {
    padding: 34px;
  }

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

@media (max-width: 720px) {
  .hero-card-photo {
    min-height: 400px;
  }

  .hero-card-photo-copy {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .projects-section {
    padding: 72px 0 78px;
  }

  .project-highlight-media {
    min-height: 260px;
  }

  .project-highlight-copy {
    padding: 26px 22px 28px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-image,
  .project-tall .project-image {
    aspect-ratio: 4 / 3;
  }

  .projects-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 24px;
  }

  .projects-cta .btn {
    width: 100%;
  }

  .zoom-hint {
    opacity: 1;
    transform: none;
  }

  .lightbox {
    padding: 16px;
  }
}


/* ==============================
   PARTE 4 - COMO TRABALHAMOS
   + DIFERENCIAIS WHS
   ============================== */

.process-section {
  position: relative;
  padding: 118px 0 124px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(200, 164, 95, 0.09), transparent 26%),
    linear-gradient(180deg, #141618 0%, #101214 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.process-heading {
  margin-bottom: 48px;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1.18fr);
  gap: 26px;
  align-items: stretch;
}

.process-visual {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 26px;
  background: #0d0e0f;
  box-shadow: 0 30px 90px rgba(0,0,0,0.22);
}

.process-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,7,8,0.04) 30%, rgba(6,7,8,0.88) 100%),
    linear-gradient(90deg, rgba(6,7,8,0.10), transparent 58%);
}

.process-visual-copy {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 34px;
  z-index: 2;
}

.process-visual-copy h3 {
  max-width: 420px;
  margin-top: 15px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.75rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.process-visual-copy p {
  max-width: 460px;
  margin-top: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  font-size: 0.90rem;
}

.process-steps {
  display: grid;
  gap: 14px;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: start;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: 22px;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.05), rgba(255,255,255,0.018));
  transition:
    border-color 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(200,164,95,0.055);
  transform: translate(44%, -44%);
}

.process-step:hover {
  transform: translateY(-2px);
  border-color: rgba(221,194,138,0.22);
  background:
    linear-gradient(120deg, rgba(221,194,138,0.06), rgba(255,255,255,0.02));
}

.process-number {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(221,194,138,0.26);
  border-radius: 18px;
  color: var(--gold-soft);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(221,194,138,0.055);
}

.process-step-copy > span {
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-step-copy h3 {
  margin-top: 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.18rem, 2vw, 1.52rem);
  letter-spacing: -0.028em;
}

.process-step-copy p {
  max-width: 610px;
  margin-top: 9px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.88rem;
}


/* DIFERENCIAIS */

.why-section {
  position: relative;
  padding: 110px 0 122px;
  background:
    radial-gradient(circle at 84% 16%, rgba(200,164,95,0.075), transparent 25%),
    linear-gradient(180deg, #0d0f10 0%, #0a0b0c 100%);
  border-top: 1px solid rgba(255,255,255,0.055);
}

.why-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.62fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 44px;
}

.why-top h2 {
  max-width: 760px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.why-top > p {
  color: var(--muted);
  line-height: 1.75;
}

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

.why-card {
  position: relative;
  min-height: 310px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: 22px;
  background:
    linear-gradient(155deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
}

.why-index {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(221,194,138,0.24);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
}

.why-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-top: 4px;
  border: 1px solid rgba(221,194,138,0.26);
  border-radius: 16px;
  background: rgba(221,194,138,0.055);
}

.why-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-card h3 {
  margin-top: 58px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.why-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.68;
  font-size: 0.85rem;
}

.why-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 24px;
  padding: 38px;
  border: 1px solid rgba(221,194,138,0.18);
  border-radius: 26px;
  background:
    linear-gradient(120deg, rgba(221,194,138,0.095), rgba(255,255,255,0.025));
}

.why-cta-label {
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.why-cta h3 {
  margin-top: 10px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.why-cta p {
  max-width: 720px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 1040px) {
  .process-layout {
    grid-template-columns: 1fr;
  }

  .process-visual {
    min-height: 500px;
  }

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

  .why-top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .why-top > p {
    max-width: 700px;
  }
}

@media (max-width: 720px) {
  .process-section {
    padding: 74px 0 80px;
  }

  .process-heading {
    margin-bottom: 32px;
  }

  .process-visual {
    min-height: 430px;
  }

  .process-visual-copy {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  .process-step {
    grid-template-columns: 54px 1fr;
    gap: 17px;
    padding: 22px;
  }

  .process-number {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  .why-section {
    padding: 76px 0 82px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    min-height: 250px;
  }

  .why-card h3 {
    margin-top: 42px;
  }

  .why-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 26px 22px;
  }

  .why-cta .btn {
    width: 100%;
  }
}


/* ==============================
   PARTE 5 - SOBRE + CONTATO
   + WHATSAPP + RODAPE
   ============================== */

.about-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(200,164,95,0.08), transparent 25%),
    linear-gradient(180deg, #111315 0%, #0d0f10 100%);
  border-top: 1px solid rgba(255,255,255,0.055);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.78fr);
  gap: 72px;
  align-items: center;
}

.about-copy h2 {
  max-width: 760px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.55rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.about-copy > p {
  max-width: 690px;
  color: var(--muted);
  line-height: 1.78;
}

.about-lead {
  margin-top: 28px;
  margin-bottom: 18px;
  color: #d8d2c7 !important;
  font-size: 1.06rem;
}

.about-values {
  display: grid;
  gap: 14px;
  margin-top: 38px;
}

.about-value {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.085);
}

.about-value > span {
  color: var(--gold-soft);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
}

.about-value strong {
  font-size: 0.95rem;
}

.about-value p {
  margin-top: 6px;
  color: #8f8b84;
  line-height: 1.6;
  font-size: 0.82rem;
}

.about-photo-wrap {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 28px;
  background: #0a0b0c;
  box-shadow: 0 34px 100px rgba(0,0,0,0.25);
}

.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 44%, rgba(5,6,7,0.88) 100%),
    linear-gradient(90deg, rgba(5,6,7,0.08), transparent);
}

.about-photo-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(12,13,14,0.62);
  backdrop-filter: blur(14px);
}

.about-photo-card span {
  display: block;
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.about-photo-card strong {
  display: block;
  margin-top: 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 1.25rem;
}

/* CONTACT */

.contact-section {
  position: relative;
  padding: 118px 0 124px;
  background:
    radial-gradient(circle at 8% 18%, rgba(200,164,95,0.07), transparent 24%),
    linear-gradient(180deg, #0a0b0c 0%, #0f1112 100%);
  border-top: 1px solid rgba(255,255,255,0.055);
}

.contact-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.62fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 48px;
}

.contact-heading h2 {
  max-width: 820px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.55rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.contact-heading > p {
  color: var(--muted);
  line-height: 1.75;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 24px;
  align-items: stretch;
}

.contact-panel,
.quote-form {
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: 26px;
  background:
    linear-gradient(150deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
}

.contact-panel {
  padding: 30px;
}

.contact-card {
  padding: 24px;
  border: 1px solid rgba(221,194,138,0.18);
  border-radius: 20px;
  background: rgba(221,194,138,0.055);
}

.contact-card-label {
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-card h3 {
  margin-top: 10px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.contact-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.86rem;
}

.contact-list {
  margin-top: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.contact-item > span {
  color: #817d76;
  font-size: 0.76rem;
}

.contact-item strong {
  max-width: 230px;
  text-align: right;
  font-size: 0.82rem;
}

.contact-note {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.contact-note-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(221,194,138,0.22);
  border-radius: 14px;
  color: var(--gold-soft);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
}

.contact-note p {
  color: var(--muted);
  font-size: 0.80rem;
  line-height: 1.62;
}

.quote-form {
  padding: 34px;
}

.form-row {
  display: grid;
  gap: 18px;
}

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

.form-row + .form-row,
.form-row + .form-full,
.form-full + .form-full {
  margin-top: 18px;
}

.quote-form label {
  display: grid;
  gap: 9px;
}

.quote-form label > span {
  color: #d6d0c6;
  font-size: 0.76rem;
  font-weight: 700;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 15px;
  outline: none;
  background: rgba(255,255,255,0.035);
  color: var(--text);
  font: inherit;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.quote-form input,
.quote-form select {
  min-height: 52px;
  padding: 0 15px;
}

.quote-form textarea {
  min-height: 150px;
  resize: vertical;
  padding: 15px;
}

.pdf-project-option {
  margin-top: 18px;
}

.quote-form .pdf-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(221,194,138,0.18);
  border-radius: 15px;
  background: rgba(221,194,138,0.045);
  cursor: pointer;
}

.quote-form .pdf-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  flex: 0 0 18px;
  accent-color: #ddc28a;
}

.pdf-option-copy {
  display: grid;
  gap: 4px;
}

.pdf-option-copy strong {
  color: #ebe6dc;
  font-size: 0.82rem;
}

.pdf-option-copy small {
  color: #8d8982;
  font-size: 0.73rem;
  line-height: 1.5;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #696762;
}


.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: rgba(221,194,138,0.45);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 3px rgba(221,194,138,0.055);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.form-helper {
  max-width: 360px;
  color: #77736d;
  font-size: 0.72rem;
  line-height: 1.5;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 13px 15px;
  border-radius: 13px;
  font-size: 0.78rem;
  line-height: 1.5;
}

.form-status.show {
  display: block;
}

.form-status.info {
  border: 1px solid rgba(221,194,138,0.24);
  background: rgba(221,194,138,0.06);
  color: var(--gold-soft);
}

/* FOOTER */

.site-footer {
  padding: 62px 0 24px;
  background: #070809;
  border-top: 1px solid rgba(255,255,255,0.065);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 80px;
  align-items: start;
}

.footer-brand {
  max-width: 430px;
}

.footer-brand > p {
  margin-top: 20px;
  color: #77736d;
  line-height: 1.6;
  font-size: 0.82rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 54px;
}

.footer-links > div {
  display: grid;
  gap: 10px;
}

.footer-title {
  margin-bottom: 8px;
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-links a {
  color: #aaa59c;
  font-size: 0.80rem;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.065);
  color: #5f5d58;
  font-size: 0.70rem;
}

/* WHATSAPP FLOAT */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px 0 12px;
  border: 1px solid rgba(221,194,138,0.24);
  border-radius: 999px;
  background: rgba(15,17,18,0.93);
  color: var(--text);
  box-shadow: 0 16px 50px rgba(0,0,0,0.32);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  border-color: rgba(221,194,138,0.44);
  background: rgba(24,25,26,0.97);
}

.whatsapp-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(221,194,138,0.09);
}

.whatsapp-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-label {
  font-size: 0.78rem;
  font-weight: 800;
}

@media (max-width: 1040px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-photo-wrap {
    min-height: 520px;
  }

  .contact-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-heading > p {
    max-width: 720px;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
    gap: 42px;
  }
}

@media (max-width: 720px) {
  .about-section,
  .contact-section {
    padding: 76px 0 82px;
  }

  .about-photo-wrap {
    min-height: 430px;
  }

  .contact-panel,
  .quote-form {
    padding: 22px;
  }

  .form-row.two-columns {
    grid-template-columns: 1fr;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }

  .contact-item {
    flex-direction: column;
    gap: 5px;
  }

  .contact-item strong {
    max-width: none;
    text-align: left;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding-right: 14px;
  }

  .whatsapp-label {
    display: none;
  }
}


/* PARTE 6 - ACESSIBILIDADE E ACABAMENTO */
:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 4px;
}

img {
  max-width: 100%;
}

::selection {
  background: rgba(221, 194, 138, 0.28);
  color: var(--text);
}


/* ==============================
   PARTE 6.5 - CASA INTELIGENTE
   ============================== */

.smart-home-section {
  position: relative;
  padding: 118px 0 124px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(200,164,95,0.10), transparent 28%),
    radial-gradient(circle at 92% 86%, rgba(255,255,255,0.035), transparent 24%),
    linear-gradient(180deg, #0b0d0e 0%, #111315 100%);
  border-top: 1px solid rgba(255,255,255,0.055);
}

.smart-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, 0.87fr);
  gap: 64px;
  align-items: center;
}

.smart-home-copy h2 {
  max-width: 780px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.smart-home-lead {
  max-width: 710px;
  margin-top: 28px;
  color: #ddd6ca;
  font-size: 1.08rem;
  line-height: 1.72;
}

.smart-home-text {
  max-width: 680px;
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.75;
}

.scene-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.scene-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(221,194,138,0.20);
  border-radius: 999px;
  background: rgba(221,194,138,0.055);
  color: #d9cdaF;
  font-size: 0.76rem;
  font-weight: 700;
}

.smart-home-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 34px;
}

.smart-home-visual {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 28px;
  background: #0a0b0c;
  box-shadow: 0 34px 100px rgba(0,0,0,0.26);
}

.smart-home-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smart-home-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,6,7,0.03) 34%, rgba(5,6,7,0.74) 100%),
    linear-gradient(90deg, rgba(5,6,7,0.08), transparent 55%);
}

.smart-home-badge {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  background: rgba(12,13,14,0.64);
  backdrop-filter: blur(14px);
}

.smart-home-badge span {
  display: block;
  color: var(--gold-soft);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.smart-home-badge strong {
  display: block;
  margin-top: 8px;
  font-size: 1.25rem;
}

.smart-home-floating {
  position: absolute;
  top: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 180px;
  padding: 14px 16px;
  border: 1px solid rgba(221,194,138,0.18);
  border-radius: 16px;
  background: rgba(12,13,14,0.72);
  backdrop-filter: blur(14px);
}

.smart-home-floating > div {
  display: grid;
  gap: 4px;
}

.smart-home-floating-label {
  color: #8f8b84;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

.smart-home-floating strong {
  font-size: 0.90rem;
}

.smart-home-floating-icon {
  margin-left: auto;
  color: var(--gold-soft);
  font-size: 1.1rem;
}

@media (max-width: 1040px) {
  .smart-home-grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .smart-home-visual {
    min-height: 520px;
  }
}

@media (max-width: 720px) {
  .smart-home-section {
    padding: 76px 0 82px;
  }

  .smart-home-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .smart-home-actions .btn {
    width: 100%;
  }

  .smart-home-visual {
    min-height: 460px;
  }

  .smart-home-floating {
    top: 18px;
    right: 18px;
    min-width: 155px;
  }
}


/* ==============================
   PARTE 6.6 - ECOSSISTEMA CASA INTELIGENTE
   ============================== */

.ecosystem-section {
  position: relative;
  padding: 120px 0 128px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(200,164,95,0.095), transparent 30%),
    linear-gradient(180deg, #101214 0%, #090b0c 100%);
  border-top: 1px solid rgba(255,255,255,0.055);
}

.ecosystem-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 58px;
}

.ecosystem-heading h2 {
  max-width: 820px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.8rem, 5.7vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.ecosystem-heading > p {
  color: var(--muted);
  line-height: 1.75;
}

.ecosystem-stage {
  position: relative;
  min-height: 720px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 50%, rgba(221,194,138,0.085), transparent 28%),
    linear-gradient(160deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012));
  overflow: hidden;
}

.ecosystem-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
}

.phone-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
}

.phone-shell {
  width: 310px;
  height: 620px;
  padding: 11px;
  border-radius: 42px;
  background: linear-gradient(145deg, #25282b, #090a0b);
  box-shadow:
    0 38px 90px rgba(0,0,0,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.10);
}

.phone-speaker {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 5;
  width: 72px;
  height: 7px;
  border-radius: 999px;
  background: #0b0c0d;
  transform: translateX(-50%);
}

.phone-screen {
  height: 100%;
  padding: 32px 18px 18px;
  border-radius: 33px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 10%, rgba(200,164,95,0.10), transparent 24%),
    linear-gradient(180deg, #17191b 0%, #0d0f10 100%);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  color: #7d7972;
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.phone-status span:last-child {
  color: var(--gold-soft);
}

.phone-header {
  display: grid;
  margin-top: 28px;
}

.phone-header span {
  color: #8e8a83;
  font-size: 0.75rem;
}

.phone-header strong {
  margin-top: 4px;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.phone-scene {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding: 17px;
  border: 1px solid rgba(221,194,138,0.20);
  border-radius: 18px;
  background: rgba(221,194,138,0.065);
}

.phone-scene > div {
  display: grid;
  gap: 4px;
}

.phone-scene span {
  color: #8d8982;
  font-size: 0.68rem;
}

.phone-scene strong {
  font-size: 1rem;
}

.phone-scene button {
  width: 44px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: #16120c;
  font-weight: 900;
  font-size: 0.62rem;
}

.phone-controls {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.phone-control {
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  background: rgba(255,255,255,0.028);
}

.phone-control span {
  display: block;
  color: #88847e;
  font-size: 0.65rem;
}

.phone-control strong {
  display: block;
  margin-top: 5px;
  font-size: 1.05rem;
}

.phone-control-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-control-row b {
  color: var(--gold-soft);
  font-size: 0.76rem;
}

.phone-slider {
  height: 5px;
  margin-top: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  overflow: hidden;
}

.phone-slider i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.phone-scenes-label {
  margin-top: 18px;
  color: #77736d;
  font-size: 0.63rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.phone-scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 9px;
}

.phone-scenes span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  background: rgba(255,255,255,0.025);
  color: #b9b3a8;
  font-size: 0.60rem;
  text-align: center;
}

.eco-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 15px;
  width: 250px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.085);
  border-radius: 18px;
  background: rgba(16,18,19,0.82);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 52px rgba(0,0,0,0.20);
}

.eco-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(221,194,138,0.22);
  border-radius: 14px;
  background: rgba(221,194,138,0.055);
}

.eco-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eco-card > div:last-child {
  display: grid;
  gap: 4px;
}

.eco-card span {
  color: var(--gold-soft);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eco-card strong {
  font-size: 0.84rem;
}

.eco-card-1 { top: 86px; left: 70px; }
.eco-card-2 { top: 270px; left: 38px; }
.eco-card-3 { bottom: 94px; left: 86px; }
.eco-card-4 { top: 86px; right: 70px; }
.eco-card-5 { top: 270px; right: 38px; }
.eco-card-6 { bottom: 94px; right: 86px; }

.ecosystem-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
  margin-top: 28px;
  padding: 28px 30px;
  border: 1px solid rgba(221,194,138,0.15);
  border-radius: 22px;
  background: rgba(221,194,138,0.045);
}

.ecosystem-bottom p {
  max-width: 730px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.84rem;
}

@media (max-width: 1100px) {
  .ecosystem-stage {
    min-height: auto;
    padding: 34px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .phone-wrap {
    position: relative;
    left: auto;
    top: auto;
    grid-column: 1 / -1;
    justify-self: center;
    transform: none;
    margin-bottom: 22px;
  }

  .eco-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
  }

  .eco-card-1,
  .eco-card-2,
  .eco-card-3,
  .eco-card-4,
  .eco-card-5,
  .eco-card-6 {
    inset: auto;
  }
}

@media (max-width: 820px) {
  .ecosystem-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media (max-width: 720px) {
  .ecosystem-section {
    padding: 76px 0 82px;
  }

  .ecosystem-stage {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .phone-wrap {
    grid-column: 1;
    width: 100%;
    display: grid;
    place-items: center;
  }

  .phone-shell {
    width: min(100%, 310px);
  }

  .ecosystem-bottom {
    align-items: stretch;
    flex-direction: column;
    padding: 22px;
  }

  .ecosystem-bottom .btn {
    width: 100%;
  }
}


/* PARTE 6.8 - IMAGENS ILUSTRATIVAS */
.project-image-note {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(221,194,138,0.22);
  border-radius: 999px;
  background: rgba(12,13,14,0.78);
  color: var(--gold-soft);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

/* V7.1 - CORRECAO DOS MENUS DO FORMULARIO NO WINDOWS/CHROME
   Alguns navegadores exibem a lista nativa do select com fundo claro.
   Define cores explicitas para manter as opcoes legiveis e selecionaveis. */
.quote-form select option {
  background: #ffffff;
  color: #171717;
}

.quote-form select option:disabled {
  color: #666666;
}
