﻿/* ==========================================================================
   IDEAL PISOS ELEVADOS — Landing page
   Paleta: #172154 (azul-marinho), cinza-chumbo, azul-bebê e branco.
   ========================================================================== */

:root {
  --navy: #172154;
  --navy-deep: #0d1436;
  --navy-soft: #223066;
  --sky: #a9d6f2;
  --sky-strong: #76b9e1;
  --sky-deep: #4f97c7;
  --sky-soft: #eaf4fb;
  --wpp: #7acc00;
  --wpp-deep: #6bb800;
  --graphite: #3b4252;
  --graphite-600: #5b6578;
  --graphite-500: #626d82;
  --surface: #ffffff;
  --surface-alt: #f4f7fa;
  --line: rgba(23, 33, 84, 0.1);
  --line-strong: rgba(23, 33, 84, 0.18);
  --shadow-sm: 0 12px 30px -22px rgba(13, 20, 54, 0.45);
  --shadow-md: 0 30px 70px -38px rgba(13, 20, 54, 0.42);
  --shadow-lg: 0 44px 90px -46px rgba(13, 20, 54, 0.5);
  --radius: 20px;
  --radius-lg: 28px;
  --container: 1180px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-duration: 0.8s;
  --reveal-distance: 28px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--graphite);
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

svg {
  display: block;
}

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

button {
  font: inherit;
  color: inherit;
}

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

h1,
h2,
h3 {
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

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

::selection {
  background: var(--sky);
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--sky-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon path[fill="currentColor"] {
  fill: currentColor;
  stroke: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--sky);
  color: var(--navy);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ============================== BOTÕES ================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), color 0.3s var(--ease);
}

.btn .icon {
  width: 18px;
  height: 18px;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--sky {
  background-color: var(--sky);
  border-color: var(--sky);
  color: var(--navy);
  box-shadow: 0 18px 36px -24px rgba(0, 0, 0, 0.55);
}

.btn--sky:hover {
  background-color: #c3e5f9;
  border-color: #c3e5f9;
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.6);
}

.btn--whatsapp {
  position: relative;
  background-color: var(--wpp);
  border-color: var(--wpp);
  color: var(--navy);
  box-shadow:
    0 16px 34px -24px rgba(122, 204, 0, 0.6),
    0 0 0 0 rgba(122, 204, 0, 0.2);
}

.btn--whatsapp .icon {
  color: var(--navy);
}

.btn--whatsapp:hover {
  background-color: var(--wpp-deep);
  border-color: var(--wpp-deep);
  color: var(--navy);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--surface);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--navy {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--surface);
  box-shadow: var(--shadow-sm);
}

.btn--navy:hover {
  background: var(--navy-soft);
  border-color: var(--navy-soft);
}

.btn--outline {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--navy);
}

.btn--outline:hover {
  border-color: var(--navy);
  background: var(--sky-soft);
}

.btn--sm {
  min-height: 44px;
  padding: 0 19px;
  font-size: 0.81rem;
}

.btn--lg {
  min-height: 58px;
  padding: 0 28px;
  font-size: 0.95rem;
}

/* ============================== CABEÇALHO =============================== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: var(--surface);
  color: var(--navy);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px -30px rgba(13, 20, 54, 0.4);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    box-shadow 0.35s var(--ease), border-color 0.35s var(--ease),
    backdrop-filter 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -32px rgba(13, 20, 54, 0.45);
}

.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  line-height: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 190px;
  object-fit: contain;
  transition: transform 0.4s var(--ease-out);
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: translateY(-1px) scale(1.025);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-list a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: var(--graphite-600);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  transition: color 0.25s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--sky-deep);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--navy);
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta {
  flex: none;
}

.nav-extra {
  display: none;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.menu-toggle:hover {
  background: rgba(169, 214, 242, 0.14);
}

.menu-toggle-box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 19px;
}

.menu-toggle-box span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

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

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

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

.nav-scrim {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(7, 11, 28, 0.56);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

body.menu-open .nav-scrim {
  opacity: 1;
  visibility: visible;
}

/* ================================ HERO ================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(660px, 92vh, 860px);
  min-height: clamp(660px, 92svh, 860px);
  padding: calc(var(--header-h) + 58px) 0 82px;
  overflow: hidden;
  background: var(--navy);
  color: var(--surface);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 76% 14%, rgba(118, 185, 225, 0.24), transparent 48%),
    radial-gradient(ellipse at 8% 92%, rgba(118, 185, 225, 0.12), transparent 42%),
    linear-gradient(145deg, #1b2a65 0%, var(--navy) 46%, #101a46 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(169, 214, 242, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 214, 242, 0.055) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 82%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 82%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  top: -230px;
  right: -170px;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(169, 214, 242, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(169, 214, 242, 0.025);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(42px, 6vw, 82px);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--graphite-600);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  flex: none;
  border-radius: 2px;
  background: var(--sky-strong);
}

.eyebrow--light {
  color: var(--sky);
}

.eyebrow--light::before {
  background: var(--sky);
}

.hero h1 {
  max-width: 12ch;
  margin: 0 0 24px;
  color: var(--surface);
  font-size: clamp(2.7rem, 5vw, 4.65rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero h1 em {
  color: var(--sky);
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.hero-lead {
  max-width: 54ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-meta-item .icon {
  width: 16px;
  height: 16px;
  color: var(--sky);
}

.hero-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.hero-meta-link {
  color: rgba(255, 255, 255, 0.84);
  transition: color 0.25s var(--ease);
}

.hero-meta-link:hover {
  color: var(--sky);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-tags li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-tags li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sky);
}

.hero-media {
  position: relative;
  z-index: 0;
}

.hero-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 4.8;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: var(--navy-deep);
  box-shadow: 0 50px 100px -48px rgba(0, 0, 0, 0.7);
}

.hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(9, 14, 38, 0.28), transparent 46%);
  pointer-events: none;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  z-index: -1;
  border: 1px solid rgba(169, 214, 242, 0.34);
  border-radius: 30px;
}

.hero-contact {
  position: absolute;
  bottom: 22px;
  left: -26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 285px;
  padding: 13px 18px 13px 13px;
  border: 1px solid rgba(23, 33, 84, 0.08);
  border-radius: 16px;
  background: var(--surface);
  color: var(--navy);
  box-shadow: 0 24px 50px -30px rgba(8, 14, 38, 0.55);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.hero-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 60px -30px rgba(8, 14, 38, 0.6);
}

.hero-contact-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: #e8f8ef;
  color: #1faa59;
}

.hero-contact-icon .icon {
  width: 22px;
  height: 22px;
}

.hero-contact-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.hero-contact-label {
  color: var(--graphite-500);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-contact strong {
  font-size: 0.94rem;
  letter-spacing: -0.01em;
}

/* =============================== SEÇÕES ================================= */

.section {
  position: relative;
  padding: clamp(72px, 8vw, 112px) 0;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-head {
  margin-bottom: clamp(38px, 5vw, 54px);
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: end;
  gap: clamp(28px, 5vw, 70px);
}

.section-head--center {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head--center .eyebrow {
  justify-content: center;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.8vw, 3.05rem);
}

.section-head h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.section-lead {
  max-width: 54ch;
  margin-bottom: 4px;
  color: var(--graphite-600);
  font-size: 0.98rem;
  line-height: 1.75;
}

.section-head--center .section-lead {
  margin: 18px auto 0;
}

/* ============================= DIFERENCIAIS ============================= */

.differentials {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.diff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 32px 30px 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.diff-card::after {
  content: "";
  position: absolute;
  right: 30px;
  bottom: 0;
  left: 30px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--sky-strong), var(--sky) 65%, transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
}

.diff-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 33, 84, 0.16);
  box-shadow: var(--shadow-md);
}

.diff-card:hover::after {
  transform: scaleX(1);
}

.diff-index {
  position: absolute;
  top: 28px;
  right: 28px;
  color: rgba(23, 33, 84, 0.28);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.diff-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  border-radius: 15px;
  background: var(--sky-soft);
  color: var(--navy);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.diff-icon .icon {
  width: 26px;
  height: 26px;
}

.diff-card:hover .diff-icon {
  background: var(--navy);
  color: var(--sky);
}

.diff-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.diff-card p {
  margin-bottom: 0;
  color: var(--graphite-600);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* =============================== SERVIÇOS =============================== */

.services {
  background: var(--surface);
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--sky-strong), var(--sky));
  transform: scaleX(0.2);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 33, 84, 0.16);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 16px;
  background: var(--sky-soft);
  color: var(--navy);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease);
}

.service-icon .icon {
  width: 27px;
  height: 27px;
}

.service-card:hover .service-icon {
  background: var(--navy);
  color: var(--sky);
}

.service-index {
  color: rgba(23, 33, 84, 0.32);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
}

.service-card p {
  margin: 0 0 26px;
  color: var(--graphite-600);
  font-size: 0.9rem;
  line-height: 1.7;
}

.service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: auto;
  padding: 12px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.service-link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.service-link:hover {
  transform: translateY(-1px);
  border-color: var(--navy);
  background: var(--navy);
  color: var(--surface);
}

.service-link:hover .icon {
  transform: translateX(3px);
}

.service-link--whatsapp {
  position: relative;
  border-color: var(--wpp);
  background: var(--wpp);
  color: var(--navy);
  box-shadow: 0 0 0 0 rgba(122, 204, 0, 0);
}

.service-link--whatsapp .icon {
  color: var(--navy);
}

.service-link--whatsapp:hover {
  border-color: var(--wpp-deep);
  background: var(--wpp-deep);
  color: var(--navy);
}

.service-link--whatsapp:hover .icon {
  color: var(--navy);
}

.btn--whatsapp::before,
.service-link--whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  animation: wppBorderBlink 2s ease-in-out infinite;
}

@keyframes wppBorderBlink {
  0%,
  100% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
  12% {
    opacity: 0.98;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.16);
  }
  28% {
    opacity: 0.12;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
  44% {
    opacity: 0.82;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
  }
  64%,
  100% {
    opacity: 0;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* =============================== GALERIA ================================ */

.gallery {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head--gallery {
  align-items: end;
}

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

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px;
  background: var(--sky-soft);
  cursor: zoom-in;
  text-align: left;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 14, 38, 0.5), transparent 45%);
  opacity: 0.55;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

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

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 0.85;
}

.gallery-zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(9, 14, 38, 0.32);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--surface);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.gallery-zoom .icon {
  width: 18px;
  height: 18px;
}

.gallery-item:hover .gallery-zoom,
.gallery-item:focus-visible .gallery-zoom {
  opacity: 1;
  transform: translateY(0);
}

.gallery-label {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 14px rgba(9, 14, 38, 0.7);
  text-transform: uppercase;
}


/* ================================ VÍDEOS ================================ */

.videos {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 84% 18%, rgba(118, 185, 225, 0.16), transparent 46%),
    linear-gradient(145deg, #1b2a66 0%, var(--navy) 55%, #101a46 100%);
  color: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.videos-head {
  margin-bottom: clamp(34px, 4vw, 48px);
}

.videos h2 {
  color: var(--surface);
}

.videos h2 em {
  color: var(--sky);
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.videos-lead {
  max-width: 52ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.75;
}

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

.video-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: #0d1436;
  box-shadow: 0 28px 60px -42px rgba(0, 0, 0, 0.85);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 34px 70px -42px rgba(0, 0, 0, 0.9);
}

.video-card-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(6, 10, 26, 0.72), transparent 48%);
  pointer-events: none;
}

.video-card-control {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--surface);
  cursor: pointer;
}

.video-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(9, 14, 38, 0.58);
  color: var(--surface);
  transform: translate(-50%, -50%);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.video-card-play .icon {
  width: 21px;
  height: 21px;
}

.video-card:hover .video-card-play,
.video-card-control:focus-visible .video-card-play {
  border-color: var(--sky);
  background: var(--sky);
  color: var(--navy);
  transform: translate(-50%, -50%) scale(1.04);
}

.video-card.is-playing {
  border-color: var(--sky);
  box-shadow:
    0 0 0 2px rgba(169, 214, 242, 0.24),
    0 32px 64px -42px rgba(0, 0, 0, 0.9);
}

.video-card.is-playing .video-card-play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
}

.video-card.is-playing:hover .video-card-play,
.video-card.is-playing .video-card-control:focus-visible .video-card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.video-icon-pause {
  display: none;
}

.video-card.is-playing .video-icon-pause {
  display: block;
}

.video-card.is-playing .video-icon-play {
  display: none;
}

.video-card.is-loading .video-card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(9, 14, 38, 0.78);
}

.video-card.is-loading .video-card-play .icon {
  opacity: 0;
}

.video-card.is-loading .video-card-play::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 22px;
  height: 22px;
  margin: auto;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: videoSpin 0.8s linear infinite;
}

.video-card-info {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  pointer-events: none;
}

.video-card-number {
  align-self: flex-start;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 7px;
  background: rgba(9, 14, 38, 0.66);
  color: var(--surface);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.video-card-caption {
  max-width: 94%;
  color: var(--surface);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.video-grid-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

.video-grid-note .icon {
  width: 15px;
  height: 15px;
  flex: none;
}

/* ================================ SOBRE ================================= *//* ================================ SOBRE ================================= */

.about {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(44px, 6vw, 82px);
}

.about-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 370px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.about-logo img {
  display: block;
  width: auto;
  height: clamp(64px, 7vw, 94px);
  max-width: 100%;
}

.about-copy h2 {
  max-width: 18ch;
  margin: 0 0 22px;
  font-size: clamp(2rem, 3.8vw, 3.05rem);
}

.about-copy h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.about-lead {
  max-width: 56ch;
  margin: 0 0 28px;
  color: var(--graphite-600);
  font-size: 1rem;
  line-height: 1.8;
}

.about-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 12px;
  margin: 0 0 32px;
}

.about-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--navy);
  font-size: 0.83rem;
  font-weight: 600;
  box-shadow: 0 10px 24px -24px rgba(13, 20, 54, 0.45);
}

.about-list .icon {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--sky-soft);
  color: var(--sky-deep);
  stroke-width: 2.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--sky-strong);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.text-link .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.3s var(--ease);
}

.text-link:hover {
  color: var(--sky-deep);
  border-bottom-color: var(--navy);
}

.text-link:hover .icon {
  transform: translateX(3px);
}

/* ========================= FORMULÁRIO DE ORÇAMENTO ====================== */

.quote {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 88% 16%, rgba(169, 214, 242, 0.18), transparent 48%),
    var(--surface-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.quote-copy h2 {
  max-width: 18ch;
  margin-bottom: 20px;
  font-size: clamp(2rem, 3.8vw, 3.05rem);
}

.quote-copy h2 em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.quote-lead {
  max-width: 50ch;
  margin-bottom: 26px;
  color: var(--graphite-600);
  font-size: 1rem;
  line-height: 1.8;
}

.quote-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.quote-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 0.89rem;
  font-weight: 600;
}

.quote-points .icon {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: var(--sky-soft);
  color: var(--sky-deep);
  stroke-width: 2.6;
}

.quote-card {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.quote-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.quote-card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  background: var(--sky-soft);
  color: var(--navy);
}

.quote-card-icon .icon {
  width: 23px;
  height: 23px;
}

.quote-card-head h3 {
  margin: 0 0 4px;
  font-size: 1.14rem;
  letter-spacing: -0.025em;
}

.quote-card-head p {
  margin: 0;
  color: var(--graphite-600);
  font-size: 0.79rem;
  line-height: 1.5;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.form-field label {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.required-mark {
  color: #b42318;
}

.form-field input,
.form-field select {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--navy);
  font-size: 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease);
}

.form-field input::placeholder {
  color: var(--graphite-500);
}

.form-field input:hover:not(:focus),
.form-field select:hover:not(:focus) {
  border-color: rgba(23, 33, 84, 0.3);
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--sky-deep);
  box-shadow: 0 0 0 4px rgba(118, 185, 225, 0.2);
}

.select-wrap {
  position: relative;
}

.select-wrap select {
  padding-right: 44px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.select-chevron {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 18px;
  height: 18px;
  color: var(--graphite-500);
  transform: translateY(-50%);
  pointer-events: none;
}

.form-field.is-invalid input,
.form-field.is-invalid select {
  border-color: #d92d20;
  background: #fff8f7;
}

.form-field.is-invalid input:focus,
.form-field.is-invalid select:focus {
  border-color: #d92d20;
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.12);
}

.form-error {
  display: none;
  margin: 7px 0 0;
  color: #b42318;
  font-size: 0.72rem;
  line-height: 1.45;
}

.form-field.is-invalid .form-error {
  display: block;
}

.quote-submit {
  width: 100%;
  min-height: 56px;
  margin-top: 2px;
  padding: 11px 18px;
  font-size: 0.87rem;
}

.quote-submit .icon {
  width: 20px;
  height: 20px;
}

.quote-note {
  margin: 0;
  color: var(--graphite-500);
  font-size: 0.7rem;
  line-height: 1.5;
  text-align: center;
}

.quote-status {
  min-height: 1.2em;
  margin: 0;
  color: transparent;
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
  transition: color 0.2s var(--ease);
}

.quote-status[data-state="error"] {
  color: #b42318;
}

.quote-status[data-state="success"] {
  color: #16794b;
}

.quote-noscript {
  margin: 0;
  color: var(--graphite-600);
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: center;
}

.quote-noscript a {
  color: var(--navy);
  text-decoration: underline;
}

/* ============================= CTA / ORÇAMENTO ========================== */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(66px, 8vw, 96px) 0;
  background: var(--navy);
  color: var(--surface);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 86% 18%, rgba(118, 185, 225, 0.28), transparent 45%),
    radial-gradient(ellipse at 4% 110%, rgba(118, 185, 225, 0.14), transparent 45%),
    linear-gradient(140deg, #1c2b66 0%, var(--navy) 54%, #101a46 100%);
}

.cta-bg::before {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -260px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(169, 214, 242, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(169, 214, 242, 0.03);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(36px, 6vw, 80px);
}

.cta-copy {
  max-width: 690px;
}

.cta-copy h2 {
  margin-bottom: 18px;
  color: var(--surface);
  font-size: clamp(2rem, 3.9vw, 3.2rem);
  letter-spacing: -0.04em;
}

.cta-copy h2 em {
  color: var(--sky);
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

.cta-copy p {
  max-width: 52ch;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cta-phone {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8rem;
}

.cta-phone strong {
  color: var(--surface);
}

.cta-phone:hover {
  color: var(--sky);
}

/* =============================== CONTATO ================================ */

.contact {
  background: var(--surface-alt);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  gap: 24px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

a.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(23, 33, 84, 0.18);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  background: var(--sky-soft);
  color: var(--navy);
}

.contact-icon .icon {
  width: 23px;
  height: 23px;
}

.contact-icon--green {
  background: #e8f8ef;
  color: #1faa59;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.contact-label {
  color: var(--graphite-500);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-copy strong {
  color: var(--navy);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.contact-hint {
  color: var(--graphite-500);
  font-size: 0.75rem;
  line-height: 1.45;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.contact-actions .btn {
  flex: 1 1 180px;
}

.contact-map {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #dde6ee;
  box-shadow: var(--shadow-sm);
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  background:
    linear-gradient(115deg, transparent 42%, rgba(118, 185, 225, 0.15) 42.4%, rgba(118, 185, 225, 0.15) 43.4%, transparent 43.8%),
    linear-gradient(18deg, transparent 58%, rgba(23, 33, 84, 0.07) 58.4%, rgba(23, 33, 84, 0.07) 59.4%, transparent 59.8%),
    linear-gradient(90deg, transparent 23%, rgba(255, 255, 255, 0.55) 23.4%, rgba(255, 255, 255, 0.55) 25%, transparent 25.4%),
    linear-gradient(0deg, transparent 34%, rgba(255, 255, 255, 0.5) 34.4%, rgba(255, 255, 255, 0.5) 36%, transparent 36.4%),
    #e4ecf3;
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
}

.map-fallback::before,
.map-fallback::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(118, 185, 225, 0.14);
  filter: blur(2px);
}

.map-fallback::before {
  width: 260px;
  height: 260px;
  top: -100px;
  right: -70px;
}

.map-fallback::after {
  width: 180px;
  height: 180px;
  bottom: -90px;
  left: -50px;
}

.map-fallback-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 340px;
  padding: 18px 20px;
  border: 1px solid rgba(23, 33, 84, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 50px -34px rgba(13, 20, 54, 0.45);
}

.map-fallback-pin {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--sky-soft);
  color: var(--sky-deep);
}

.map-fallback-pin .icon {
  width: 21px;
  height: 21px;
}

.map-fallback-copy {
  display: flex;
  flex-direction: column;
  color: var(--graphite-600);
  font-size: 0.7rem;
  line-height: 1.5;
}

.map-fallback-copy strong {
  margin-bottom: 2px;
  color: var(--navy);
  font-size: 0.82rem;
  letter-spacing: -0.01em;
}

.map-caption {
  z-index: 2;
}

.map-caption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: calc(100% - 32px);
  padding: 10px 14px;
  border: 1px solid rgba(23, 33, 84, 0.08);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--navy);
  font-size: 0.73rem;
  font-weight: 600;
  box-shadow: 0 14px 30px -22px rgba(13, 20, 54, 0.5);
}

.map-caption-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--sky-deep);
  box-shadow: 0 0 0 4px rgba(118, 185, 225, 0.2);
}

/* ================================ RODAPÉ ================================ */

.site-footer {
  position: relative;
  padding: 72px 0 0;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.64);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(169, 214, 242, 0.45), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.8fr 0.8fr 1.15fr;
  gap: 42px;
  padding-bottom: 54px;
}

.brand--footer {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 11px 15px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 16px 32px -24px rgba(0, 0, 0, 0.55);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.brand--footer:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px -24px rgba(0, 0, 0, 0.6);
}

.brand-logo--footer {
  height: 40px;
  max-width: 190px;
}

.footer-brand p {
  max-width: 34ch;
  margin-bottom: 0;
  font-size: 0.86rem;
  line-height: 1.75;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer-social {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.78);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.footer-social .icon {
  width: 18px;
  height: 18px;
}

.footer-social:hover {
  transform: translateY(-2px);
  border-color: var(--sky);
  background: var(--sky);
  color: var(--navy);
}

.footer-column h3 {
  margin-bottom: 16px;
  color: var(--surface);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.85rem;
  transition: color 0.25s var(--ease);
}

.footer-column a:hover {
  color: var(--sky);
}

.footer-contact address {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
}

.footer-top {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.75rem;
  font-weight: 600;
  transition: color 0.25s var(--ease);
}

.footer-top .icon {
  width: 15px;
  height: 15px;
}

.footer-top:hover {
  color: var(--sky);
}

/* ============================ WHATSAPP FLUTUANTE ======================== */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 80;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #7acc00;
  color: #fff;
  box-shadow:
    0 18px 38px -12px rgba(122, 204, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
  isolation: isolate;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease),
    opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.js .whatsapp-float {
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.92);
}

.js .whatsapp-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.js .whatsapp-float.is-visible:hover {
  transform: translateY(-3px) scale(1.07);
}

.whatsapp-float .icon {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 1px 1px rgba(0, 52, 18, 0.28));
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 2px solid rgba(122, 204, 0, 0.58);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 18px rgba(122, 204, 0, 0.24);
  animation: whatsapp-pulse 2s var(--ease-out) infinite;
  will-change: transform, opacity;
}

.js .whatsapp-float:not(.is-visible)::before {
  animation: none;
  opacity: 0;
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: wppBorderBlink 2s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.07);
  box-shadow:
    0 22px 46px -12px rgba(122, 204, 0, 0.82),
    0 0 22px rgba(122, 204, 0, 0.28);
}

.whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--surface);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0.25s var(--ease);
  pointer-events: none;
  box-shadow: var(--shadow-sm);
}

.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-float:focus-visible .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(0.96);
    opacity: 0.7;
  }
  75%,
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

/* =============================== LIGHTBOX =============================== */

.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: transparent;
  color: var(--surface);
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox::backdrop {
  background: rgba(7, 11, 28, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.lightbox-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(1080px, 100%);
  height: min(88vh, 900px);
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}

.lightbox-figure img {
  width: auto;
  max-width: 100%;
  max-height: calc(88vh - 70px);
  border-radius: 14px;
  object-fit: contain;
  background: var(--surface-alt);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-count {
  padding: 3px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: var(--sky);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.lightbox-close,
.lightbox-nav {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--surface);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--navy);
}

.lightbox-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 3;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 0;
}

.lightbox-next {
  right: 0;
}

.lightbox-close .icon,
.lightbox-nav .icon {
  width: 20px;
  height: 20px;
}

/* ============================ MOTION SYSTEM ============================= */

/* Entrada do cabeçalho */
.site-header .brand {
  animation: headerItemIn 0.8s var(--ease-out) 0.05s backwards;
}

.site-header .nav-list {
  animation: headerItemIn 0.85s var(--ease-out) 0.14s backwards;
}

.site-header .nav-cta {
  animation: headerItemIn 0.8s var(--ease-out) 0.24s backwards;
}

.site-header .menu-toggle {
  animation: headerItemIn 0.8s var(--ease-out) 0.28s backwards;
}

/* Sistema de revelação no scroll */
.js [data-reveal] {
  opacity: 0;
  translate: 0 var(--reveal-distance);
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    translate var(--reveal-duration) var(--ease-out),
    scale var(--reveal-duration) var(--ease-out),
    clip-path 1s var(--ease-out),
    filter var(--reveal-duration) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, translate, scale;
}

.js [data-reveal="down"] {
  translate: 0 calc(var(--reveal-distance) * -0.75);
}

.js [data-reveal="left"] {
  translate: calc(var(--reveal-distance) * -1.35) 0;
}

.js [data-reveal="right"] {
  translate: calc(var(--reveal-distance) * 1.35) 0;
}

.js [data-reveal="scale"] {
  scale: 0.94;
}

.js [data-reveal="blur"] {
  filter: blur(9px);
  translate: 0 calc(var(--reveal-distance) * 0.65);
}

.js [data-reveal="clip"] {
  clip-path: inset(12% 0 0 0);
  scale: 1.035;
}

.js [data-reveal].is-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  filter: none;
  clip-path: inset(0 0 0 0);
  will-change: auto;
}

/* Fallback seguro: se o JavaScript falhar, o conteúdo aparece. */
.reveal-fallback [data-reveal] {
  opacity: 1 !important;
  translate: none !important;
  scale: 1 !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
  transition: none !important;
}

.reveal-fallback .mask-word-inner {
  opacity: 1 !important;
  transform: none !important;
}

/* Linhas dos eyebrows */
.js .eyebrow::before {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.85s var(--ease-out) 0.16s;
}

.js .is-visible .eyebrow::before {
  transform: scaleX(1);
}

.hero .eyebrow::before {
  transform: scaleX(1);
  animation: lineGrow 0.9s var(--ease-out) 0.55s both;
}

/* Texto revelado por palavras com máscara */
.mask-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.02em 0.07em 0.16em;
  margin: -0.02em -0.07em -0.16em;
}

.mask-word-inner {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 118%, 0);
  transition:
    transform 0.95s var(--ease-out),
    opacity 0.7s ease;
  transition-delay: calc(var(--word-index, 0) * 55ms);
}

.split-ready.is-revealed .mask-word-inner {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero [data-split-words] .mask-word-inner {
  transition-delay: calc(0.16s + var(--word-index, 0) * 55ms);
}

.cta-band [data-split-words] .mask-word-inner {
  transition-delay: calc(var(--word-index, 0) * 50ms);
}

/* HERO — entrada cinematográfica */
.hero {
  padding-bottom: clamp(96px, 11vh, 118px);
}

.hero-bg {
  background-size: 155% 155%;
  animation: heroGradientShift 24s ease-in-out infinite alternate;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  will-change: transform;
}

.hero-glow--one {
  top: -180px;
  right: 6%;
  width: 480px;
  height: 480px;
  background: rgba(118, 185, 225, 0.38);
  opacity: 0.45;
  animation: glowDriftA 20s ease-in-out infinite alternate;
}

.hero-glow--two {
  bottom: -190px;
  left: 6%;
  width: 400px;
  height: 400px;
  background: rgba(32, 57, 139, 0.55);
  opacity: 0.42;
  animation: glowDriftB 25s ease-in-out infinite alternate;
}

.hero .eyebrow {
  animation: heroFadeUp 0.8s var(--ease-out) 0.16s backwards;
}

.hero .hero-lead {
  animation: heroFadeUp 0.95s var(--ease-out) 0.82s backwards;
}

.hero .hero-actions {
  animation: heroFadeUp 0.9s var(--ease-out) 0.96s backwards;
}

.hero .hero-meta {
  animation: heroFadeUp 0.8s var(--ease-out) 1.08s backwards;
}

.hero .hero-tags {
  animation: heroFadeUp 0.8s var(--ease-out) 1.18s backwards;
}

/* Typewriter do título principal */
.js .hero h1[data-typewriter]:not(.type-ready) {
  opacity: 0;
}

.type-letter {
  display: inline;
  opacity: 0;
}

.type-ready .type-letter {
  animation: typeLetterReveal 0.6s var(--ease-out) both;
  animation-delay: calc(0.25s + var(--type-index, 0) * 55ms);
}

.typing-complete .type-letter,
.reveal-fallback .type-letter {
  opacity: 1 !important;
  animation: none !important;
  text-shadow: none !important;
}

.reveal-fallback .hero h1[data-typewriter] {
  opacity: 1 !important;
}

.hero-figure {
  animation: heroImageMask 1.25s var(--ease-out) 0.3s backwards;
}

.hero-figure img {
  transform-origin: 57% 43%;
  animation: kenBurns 28s ease-in-out 1.45s infinite alternate;
  will-change: transform;
}

.hero-contact {
  animation: heroFadeUp 0.85s var(--ease-out) 1s backwards;
}

.hero-media {
  --parallax-x: 0px;
  --parallax-y: 0px;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
  transition: transform 0.55s var(--ease-out);
  will-change: transform;
}

/* Indicador de rolagem */
.hero-scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color 0.3s var(--ease);
}

.hero-scroll:hover {
  color: var(--sky);
}

.hero-scroll-line {
  position: relative;
  width: 1px;
  height: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.hero-scroll-line span {
  position: absolute;
  top: -12px;
  left: 0;
  width: 1px;
  height: 12px;
  background: var(--sky);
  animation: scrollCue 2.1s var(--ease) infinite;
}

/* Botões magnéticos e brilho */
.btn--shine {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.5) 47%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.5) 53%,
    transparent 62%
  );
  background-repeat: no-repeat;
  background-size: 250% 100%;
  background-position: 220% 0;
  animation: btnShineBg 7.5s var(--ease) 2s infinite;
}

.btn--magnetic {
  transform: translate3d(var(--magnet-x, 0px), var(--magnet-y, 0px), 0);
  transition:
    transform 0.25s var(--ease-out),
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    color 0.3s var(--ease);
}

.btn--magnetic:hover {
  transform: translate3d(
    var(--magnet-x, 0px),
    calc(var(--magnet-y, 0px) - 2px),
    0
  );
}

.btn--magnetic:active {
  transform: translate3d(var(--magnet-x, 0px), var(--magnet-y, 0px), 0) scale(0.97);
}

.btn:not(.btn--magnetic):active {
  transform: translateY(0) scale(0.98);
}

/* Destaque do spotlight nos cards de serviço */
.service-card::before {
  z-index: 2;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    270px circle at var(--spot-x, 50%) var(--spot-y, 0%),
    rgba(118, 185, 225, 0.2),
    transparent 66%
  );
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  border-color: rgba(118, 185, 225, 0.55);
  box-shadow:
    0 34px 70px -40px rgba(13, 20, 54, 0.5),
    0 0 0 1px rgba(169, 214, 242, 0.18) inset;
}

.service-icon {
  transition:
    transform 0.4s var(--ease-out),
    background-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.06);
}

.service-card p {
  transition: color 0.3s var(--ease);
}

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

/* Desenho dos traços dos ícones */
.js .service-icon .icon path,
.js .service-icon .icon rect,
.js .service-icon .icon circle,
.js .diff-icon .icon path,
.js .diff-icon .icon rect,
.js .diff-icon .icon circle {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
}

.reveal-fallback .service-icon .icon path,
.reveal-fallback .service-icon .icon rect,
.reveal-fallback .service-icon .icon circle,
.reveal-fallback .diff-icon .icon path,
.reveal-fallback .diff-icon .icon rect,
.reveal-fallback .diff-icon .icon circle {
  stroke-dasharray: none;
  stroke-dashoffset: 0;
}

.service-card.is-visible .service-icon .icon path,
.service-card.is-visible .service-icon .icon rect,
.service-card.is-visible .service-icon .icon circle,
.diff-card.is-visible .diff-icon .icon path,
.diff-card.is-visible .diff-icon .icon rect,
.diff-card.is-visible .diff-icon .icon circle {
  animation: strokeDraw 1.25s var(--ease-out) 0.3s forwards;
}

.diff-icon .icon {
  transition: transform 0.4s var(--ease-out);
}

.diff-card:hover .diff-icon .icon {
  transform: scale(1.06);
}

.diff-card h3 {
  display: inline-block;
  position: relative;
  padding-bottom: 4px;
}

.diff-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--sky-strong);
  transition: width 0.35s var(--ease-out);
}

.diff-card:hover h3::after {
  width: 100%;
}

/* Galeria — legendas e interações */
@media (hover: hover) and (pointer: fine) {
  .gallery-label {
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity 0.35s var(--ease),
      transform 0.4s var(--ease-out);
  }

  .gallery-item:hover .gallery-label,
  .gallery-item:focus-visible .gallery-label {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: none) {
  .service-card::after {
    display: none;
  }
}

@media (max-width: 1024px) {
  .gallery-label {
    opacity: 1;
    transform: none;
  }
}

/* Sobre — leve entrada do destaque tipográfico */
.about-copy.is-visible h2 em {
  animation: accentIn 1s var(--ease-out) 0.3s backwards;
}

/* CTA — fundo vivo, glow e botão */
.cta-bg {
  background-size: 165% 165%;
  animation: ctaGradientShift 22s ease-in-out infinite alternate;
}

.cta-bg::after {
  content: "";
  position: absolute;
  top: -190px;
  right: 8%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(118, 185, 225, 0.28);
  filter: blur(90px);
  animation: glowDriftB 18s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Contato */
.contact-copy strong {
  position: relative;
  display: inline-block;
}

.contact-copy strong::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--sky-deep);
  transition: width 0.35s var(--ease-out);
}

a.contact-card:hover .contact-copy strong::after {
  width: 100%;
}

.contact-icon {
  transition:
    transform 0.35s var(--ease-out),
    background-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

a.contact-card:hover .contact-icon {
  transform: scale(1.06);
}

/* Rodapé */
.footer-column a {
  position: relative;
  display: inline-block;
}

.footer-column a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--sky);
  transition: width 0.35s var(--ease-out);
}

.footer-column a:hover::after {
  width: 100%;
}

.footer-social {
  transition:
    transform 0.35s var(--ease-out),
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.footer-social:hover {
  transform: translateY(-3px) scale(1.04);
}

.footer-bottom {
  position: relative;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--sky), rgba(169, 214, 242, 0));
  transition: width 1.2s var(--ease-out) 0.15s;
}

.footer-bottom.is-visible::before {
  width: 100%;
}

/* WhatsApp flutuante */
.whatsapp-float .icon {
  animation: whatsappHover 3.6s ease-in-out infinite;
}

.js .whatsapp-float.is-visible:active {
  transform: translateY(0) scale(0.94);
}

/* Lightbox */
.lightbox[open] .lightbox-inner {
  animation: lightboxIn 0.45s var(--ease-out) both;
}

.lightbox::backdrop {
  animation: lightboxBackdropIn 0.35s ease-out both;
}

/* Keyframes */
@keyframes headerItemIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageMask {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0 round 30px);
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0 round 30px);
    transform: scale(1);
  }
}

@keyframes kenBurns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

@keyframes typeLetterReveal {
  0% {
    opacity: 0;
    text-shadow:
      0 0 18px rgba(169, 214, 242, 0.9),
      0 0 38px rgba(169, 214, 242, 0.35);
  }
  45% {
    opacity: 1;
    text-shadow:
      0 0 20px rgba(169, 214, 242, 0.75),
      0 0 40px rgba(169, 214, 242, 0.28);
  }
  100% {
    opacity: 1;
    text-shadow:
      0 0 0 rgba(169, 214, 242, 0),
      0 0 0 rgba(169, 214, 242, 0);
  }
}


@keyframes videoSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroGradientShift {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@keyframes ctaGradientShift {
  from {
    background-position: 0% 40%;
  }
  to {
    background-position: 100% 60%;
  }
}

@keyframes glowDriftA {
  from {
    transform: translate3d(-24px, -10px, 0) scale(0.96);
  }
  to {
    transform: translate3d(42px, 28px, 0) scale(1.06);
  }
}

@keyframes glowDriftB {
  from {
    transform: translate3d(20px, 12px, 0) scale(1.04);
  }
  to {
    transform: translate3d(-38px, -24px, 0) scale(0.94);
  }
}

@keyframes scrollCue {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  75% {
    opacity: 1;
  }
  100% {
    transform: translateY(46px);
    opacity: 0;
  }
}

@keyframes lineGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes btnShineBg {
  0%,
  62% {
    background-position: 220% 0;
  }
  78%,
  100% {
    background-position: -120% 0;
  }
}

@keyframes strokeDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes accentIn {
  from {
    opacity: 0.25;
    transform: translateY(8px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes whatsappHover {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-1.5px);
  }
}

@keyframes lightboxIn {
  from {
    opacity: 0;
    transform: scale(0.965) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes lightboxBackdropIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes menuItemIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================ RESPONSIVIDADE ============================ */

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

  .nav-list {
    gap: 20px;
  }

  .primary-nav {
    gap: 20px;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-contact {
    left: -14px;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 100px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  }

  .hero h1 {
    font-size: clamp(2.5rem, 5.2vw, 3.7rem);
  }

  .hero-contact {
    left: 14px;
    bottom: 14px;
  }

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


  .contact-map {
    min-height: 440px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 76px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    right: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(88vw, 390px);
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    padding: 22px 28px calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--navy);
    color: var(--surface);
    box-shadow: -30px 0 80px -40px rgba(0, 0, 0, 0.8);
    transform: translateX(102%);
    visibility: hidden;
    transition: transform 0.42s var(--ease), visibility 0s linear 0.42s;
  }

  body.menu-open .primary-nav {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.42s var(--ease), visibility 0s linear 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    font-weight: 600;
  }

  .nav-list a::after {
    display: none;
  }

  .nav-list a:hover,
  .nav-list a[aria-current="page"] {
    color: var(--sky);
  }

  .nav-cta {
    width: 100%;
    margin-top: 30px;
  }

  .nav-extra {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.55);
  }

  .nav-extra-label {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .nav-extra-phone {
    color: var(--surface);
    font-size: 1.1rem;
    font-weight: 700;
  }

  .nav-extra-link {
    color: var(--sky);
    font-size: 0.8rem;
  }

  body.menu-open .nav-list li {
    animation: menuItemIn 0.55s var(--ease-out) both;
  }

  body.menu-open .nav-list li:nth-child(1) {
    animation-delay: 0.12s;
  }

  body.menu-open .nav-list li:nth-child(2) {
    animation-delay: 0.175s;
  }

  body.menu-open .nav-list li:nth-child(3) {
    animation-delay: 0.23s;
  }

  body.menu-open .nav-list li:nth-child(4) {
    animation-delay: 0.285s;
  }

  body.menu-open .nav-list li:nth-child(5) {
    animation-delay: 0.34s;
  }

  body.menu-open .nav-cta {
    animation: menuItemIn 0.55s var(--ease-out) 0.4s both;
  }

  body.menu-open .nav-extra {
    animation: menuItemIn 0.55s var(--ease-out) 0.47s both;
  }

  body.menu-open .site-header,
  body.menu-open .site-header.is-scrolled {
    background: var(--surface);
    border-bottom-color: var(--line);
    box-shadow: 0 18px 40px -32px rgba(13, 20, 54, 0.45);
    color: var(--navy);
  }

  .brand-logo {
    height: 38px;
    max-width: 165px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 52px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

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

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(2.7rem, 7vw, 4rem);
  }

  .hero-media {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero-figure {
    aspect-ratio: 16 / 10.5;
  }

  .hero-media::before {
    inset: 16px -14px -14px 16px;
  }

  .hero-glow {
    filter: blur(55px);
    opacity: 0.36;
  }

  .hero-glow--one {
    top: -130px;
    right: -90px;
    width: 330px;
    height: 330px;
  }

  .hero-glow--two {
    bottom: -160px;
    left: -90px;
    width: 300px;
    height: 300px;
  }

  .hero-scroll {
    bottom: 18px;
  }

  .section-head--split {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .section-lead {
    max-width: 64ch;
  }

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

  .diff-card {
    padding: 26px 22px;
  }

  .diff-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .quote-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .about-logo {
    min-height: 235px;
  }

  .about-logo img {
    height: 72px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    align-items: flex-start;
  }

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

  .contact-map {
    min-height: 420px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 820px) {
  .diff-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .diff-card {
    min-height: 0;
    padding: 26px 24px;
  }

  .diff-icon {
    margin-bottom: 18px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 36px, var(--container));
  }

  .hero {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 94px;
  }

  .hero-scroll {
    bottom: 14px;
    gap: 6px;
    font-size: 0.54rem;
  }

  .hero-scroll-line {
    height: 28px;
  }

  .hero-glow {
    opacity: 0.3;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 10vw, 3.3rem);
    line-height: 1.04;
  }

  .hero-lead {
    font-size: 0.97rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-top: 28px;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 0 18px;
    font-size: 0.84rem;
  }

  .hero-tags {
    gap: 8px 16px;
    margin-top: 28px;
    font-size: 0.72rem;
  }

  .hero-figure {
    aspect-ratio: 4 / 3.6;
    border-radius: 22px;
  }

  .hero-media::before {
    display: none;
  }

  .hero-contact {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
    padding: 11px 14px 11px 11px;
  }

  .hero-contact-icon {
    width: 38px;
    height: 38px;
  }

  .hero-contact strong {
    font-size: 0.88rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .section-head h2,
  .about-copy h2,
  .cta-copy h2 {
    font-size: clamp(1.9rem, 8.4vw, 2.45rem);
  }

  .eyebrow {
    font-size: 0.64rem;
  }

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

  .gallery-item {
    border-radius: 13px;
  }

  .gallery-zoom {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    opacity: 1;
    transform: none;
  }

  .gallery-label {
    bottom: 10px;
    left: 12px;
    font-size: 0.62rem;
  }

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

  .service-card {
    padding: 24px 22px;
  }

  .service-card-top {
    margin-bottom: 22px;
  }

  .about-logo {
    min-height: 195px;
  }

  .about-logo img {
    height: 58px;
  }

  .about-lead {
    font-size: 0.96rem;
  }

  .about-list {
    gap: 8px;
  }

  .about-list li {
    font-size: 0.79rem;
    padding: 7px 12px;
  }

  .videos-head {
    margin-bottom: 30px;
  }

  .video-grid {
    gap: 10px;
  }

  .video-card {
    border-radius: 13px;
  }

  .video-card-play {
    width: 46px;
    height: 46px;
  }

  .video-card-play .icon {
    width: 18px;
    height: 18px;
  }

  .video-card-info {
    padding: 11px;
  }

  .video-card-number {
    font-size: 0.56rem;
  }

  .video-card-caption {
    font-size: 0.78rem;
  }

  .video-grid-note {
    justify-content: flex-start;
    text-align: left;
  }

  .quote-card {
    padding: 22px 20px;
    border-radius: 20px;
  }

  .quote-card-head {
    margin-bottom: 20px;
    padding-bottom: 18px;
  }

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

  .quote-copy h2 {
    font-size: clamp(1.9rem, 8.4vw, 2.45rem);
  }

  .quote-submit {
    min-height: 54px;
    padding: 10px 12px;
    font-size: 0.8rem;
    gap: 8px;
  }

  .quote-submit .icon {
    width: 18px;
    height: 18px;
  }

  .cta-copy h2 {
    font-size: clamp(2rem, 8.6vw, 2.6rem);
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
    padding: 0 16px;
    font-size: 0.82rem;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
    flex-basis: auto;
  }

  .contact-map {
    min-height: 360px;
  }

  .map-caption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    font-size: 0.67rem;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-bottom: 40px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 0 24px;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-inner {
    height: 90vh;
  }

  .lightbox-figure img {
    max-height: calc(90vh - 86px);
  }

  .lightbox-close {
    top: 4px;
    right: 4px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 4px;
    transform: none;
  }

  .lightbox-prev {
    left: 4px;
  }

  .lightbox-next {
    right: 4px;
  }

  .lightbox-caption {
    flex-direction: column;
    gap: 8px;
    font-size: 0.78rem;
  }

  .whatsapp-float {
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
  }

  .whatsapp-float .icon {
    width: 28px;
    height: 28px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-bg,
  .cta-bg,
  .hero-glow,
  .cta-bg::after {
    animation: none;
  }
}

@media (max-width: 380px) {
  .hero-meta {
    font-size: 0.76rem;
  }

  .hero h1 {
    font-size: 2.3rem;
  }
}

@media (hover: none) {
  .whatsapp-tooltip {
    display: none;
  }

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

@media print {
  .site-header,
  .nav-scrim,
  .whatsapp-float,
  .hero-contact,
  .cta-band {
    display: none !important;
  }

  body {
    color: #000;
  }

  .hero {
    min-height: auto;
    padding: 24px 0;
    background: #fff;
    color: #000;
  }

  .hero h1,
  .hero-lead,
  .eyebrow--light {
    color: #000;
  }
}













