/*
  Zeld Brasil — site institucional.
  Visual formal e limpo, alinhado ao Zeld Control: cores do logo (marinho e azul-claro),
  Space Grotesk nos títulos e Plus Jakarta Sans no texto. Verde só para "aprovado/liberado".
  O movimento conta o que a empresa faz: a doca em corte no topo (caminhão encosta, porta
  sobe, nivelador libera a carga) e a ordem de serviço aprovada no celular.
*/

:root {
  --branco: #ffffff;
  --nevoa: #f3f6f9;
  --linha: #dfe6ec;
  --marinho: #041868;
  --marinho-2: #0b2a8a;
  --azul: #1f8fd0;
  --azul-escuro: #1676b0;
  --azul-claro: #e8f4fb;
  --verde: #16a34a;
  --texto: #18213d;
  --texto-2: #5b6687;

  --font: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", "Plus Jakarta Sans", Arial, sans-serif;

  /* Escala tipográfica 1,25 a partir de 17px */
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: 1.5rem;
  --fs-xl: clamp(2rem, 1.35rem + 2.2vw, 3rem);
  --fs-hero: clamp(2.3rem, 1.4rem + 3.2vw, 3.75rem);

  --gap: clamp(1.25rem, 0.8rem + 1.6vw, 2rem);
  --section: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  /* "+" do logo ZB como padrão gráfico discreto */
  --plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M18 14h4v4h4v4h-4v4h-4v-4h-4v-4h4z' fill='%23289DD8' fill-opacity='.18'/%3E%3C/svg%3E");
  --ceu: #289dd8;
  --azul-tint: #eef6fc;
  --wrap: 74rem;
  --radius: 14px;
  --radius-lg: 24px;
  --header-h: 4.75rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--azul);
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--marinho);
  color: var(--branco);
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2 * var(--gap), var(--wrap));
  margin-inline: auto;
}

/* Botões e links de ação */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn--primary {
  background: var(--azul);
  color: var(--branco);
  box-shadow: 0 10px 24px -12px rgb(31 143 208 / 0.7);
}

.btn--primary:hover {
  background: var(--azul-escuro);
  transform: translateY(-1px);
}

.btn--sm {
  min-height: 2.6rem;
  padding: 0.5rem 1.15rem;
  font-size: 0.95rem;
}

.btn--block {
  width: 100%;
}

.link-under {
  font-weight: 600;
  color: var(--marinho);
  text-decoration: underline;
  text-decoration-color: var(--linha);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.25s var(--ease);
}

.link-under:hover {
  text-decoration-color: var(--azul);
}

/* Cabeçalho: transparente no topo, branco com sombra leve ao rolar */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header:not(.is-scrolled) .site-nav ul a {
  color: var(--branco);
}

.site-header:not(.is-scrolled) .brand img {
  filter: brightness(0) invert(1);
}

.site-header.is-scrolled {
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--linha), 0 12px 30px -24px rgb(4 24 104 / 0.35);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand img {
  width: auto;
  height: 40px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul a {
  position: relative;
  color: var(--texto);
  transition: color 0.3s var(--ease);
  font-weight: 500;
  text-decoration: none;
}

.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--azul);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav ul a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--linha);
  border-radius: 999px;
  background: var(--branco);
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--marinho);
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -6px;
}

.nav-toggle__bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Topo: vídeo em tela cheia com película marinho */

.hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(3rem, 2rem + 5vw, 6.5rem));
  padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
  min-height: min(92vh, 52rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--branco);
  background: var(--marinho);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 50%;
  opacity: 0;
  transition: opacity 1s var(--ease);
}

.hero__video.is-active {
  opacity: 1;
}

/* Legenda do clipe e indicadores, no canto do topo */
.hero__reel-ui {
  position: absolute;
  right: var(--gap);
  bottom: clamp(9rem, 7rem + 6vw, 11rem);
  z-index: 1;
  display: grid;
  justify-items: end;
  gap: 0.6rem;
  pointer-events: none;
}

.hero__caption {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgb(4 24 104 / 0.55);
  backdrop-filter: blur(8px);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--branco);
}

.hero__dots {
  display: flex;
  gap: 0.35rem;
}

.hero__dots span {
  width: 1.6rem;
  height: 3px;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.35);
  transition: background-color 0.4s var(--ease);
}

.hero__dots span.is-active {
  background: var(--ceu);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(4 24 104 / 0.92) 0%, rgb(4 24 104 / 0.78) 38%, rgb(4 24 104 / 0.25) 70%, rgb(4 24 104 / 0.1) 100%),
    linear-gradient(0deg, rgb(4 24 104 / 0.85) 0%, transparent 35%);
}

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

.hero__copy {
  max-width: 40rem;
}

.hero__title {
  max-width: 16ch;
  font-size: var(--fs-hero);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--branco);
}

.hero__lead {
  max-width: 36rem;
  margin-top: 1.5rem;
  font-size: var(--fs-md);
  line-height: 1.6;
  color: #d6def5;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: 2.25rem;
}

.btn--ghost {
  background: rgb(255 255 255 / 0.08);
  color: var(--branco);
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.55);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: rgb(255 255 255 / 0.16);
}

/* Fatos no rodapé do topo, sobre o vídeo */
.hero .facts-bar {
  margin-top: clamp(3rem, 2rem + 4vw, 5rem);
  border-top-color: rgb(255 255 255 / 0.2);
}

.hero .facts-bar dt {
  color: #aebbe3;
}

.hero .facts-bar dd {
  color: var(--branco);
}

/* Serviços em ação: vídeos curtos que tocam ao aparecer */

.reel__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

.reel__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #020f45;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08), 0 30px 60px -40px rgb(0 0 0 / 0.6);
}

.reel__item video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.reel__item figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 0.15rem;
  padding: 2.5rem 1.1rem 1rem;
  background: linear-gradient(0deg, rgb(4 24 104 / 0.9), transparent);
  font-size: var(--fs-sm);
  color: #d3dcf2;
}

.reel__item figcaption strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--branco);
}

/* Docas: texto + cena à esquerda, ficha à direita */

.docks {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  align-items: start;
}

.docks__intro .dock-scene {
  margin-top: 2rem;
}

/* Cena da doca */

.dock-scene {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  background: var(--branco);
  box-shadow: 0 40px 80px -48px rgb(4 24 104 / 0.4), 0 0 0 1px var(--linha);
  overflow: hidden;
}

.dock-scene svg {
  display: block;
  width: 100%;
  height: auto;
}

.sc-yard {
  fill: #e6ecf3;
}

.sc-canopy-tie {
  stroke: var(--marinho);
  stroke-width: 1.5;
}

.sc-ground {
  stroke: var(--marinho);
  stroke-width: 2;
}

.sc-building {
  fill: var(--nevoa);
  stroke: var(--marinho);
  stroke-width: 2;
  stroke-linejoin: round;
}

.sc-slab {
  fill: #e4ebf1;
  stroke: var(--marinho);
  stroke-width: 2;
}

.sc-canopy {
  fill: var(--marinho);
}

.sc-detail {
  stroke: #b9c7d2;
  stroke-width: 1.5;
}

.sc-rack {
  fill: none;
  stroke: #b9c7d2;
  stroke-width: 1.5;
}

.sc-shelter {
  fill: var(--azul);
}

.sc-door {
  fill: #a9b6cc;
  transform-box: fill-box;
  transform-origin: top;
}

.sc-coil {
  fill: var(--marinho);
}

.sc-bumper {
  fill: var(--marinho);
}

.sc-pit {
  fill: #d3dde5;
}

.sc-leveler {
  fill: var(--marinho);
  transform-box: fill-box;
  transform-origin: left center;
}

.sc-lip {
  fill: var(--azul);
  transform-box: fill-box;
  transform-origin: left center;
  transform: rotate(80deg);
}

.sc-box {
  fill: #d9a35f;
  stroke: #9b6d33;
  stroke-width: 1.5;
}

.sc-pallet-base {
  fill: #7a5730;
}

.sc-trailer {
  fill: var(--branco);
  stroke: var(--marinho);
  stroke-width: 2;
}

.sc-chassis,
.sc-cab {
  fill: var(--marinho);
}

.sc-window {
  fill: #cfe4f3;
}

.sc-wheel {
  fill: var(--marinho-2);
}

.sc-hub {
  fill: #c4d2dc;
}

.dock-status {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--branco);
  box-shadow: 0 8px 24px -12px rgb(4 24 104 / 0.35), 0 0 0 1px var(--linha);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--marinho);
}

.dock-status__dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--verde);
  box-shadow: 0 0 0 4px rgb(22 163 74 / 0.18);
}

/* Sequência: só roda quando a página está pronta (classe .is-ready no <html>). */
.is-ready .sc-truck {
  animation: truck-in 2.2s var(--ease) 0.3s both;
}

.is-ready .sc-door {
  animation: door-up 0.9s var(--ease) 2.5s both;
}

.is-ready .sc-lip {
  animation: lip-down 0.7s var(--ease) 3.3s both;
}

.is-ready .sc-leveler {
  animation: leveler-rise 0.7s var(--ease) 3.2s both;
}

.is-ready .sc-pallet {
  animation: pallet-in 1.6s var(--ease) 4.1s both;
}

.is-ready .dock-status {
  animation: status-in 0.6s var(--ease) 5.6s both;
}

@keyframes truck-in {
  from { transform: translateX(380px); }
  to { transform: translateX(0); }
}

@keyframes door-up {
  from { transform: scaleY(1); }
  to { transform: scaleY(0.02); }
}

@keyframes lip-down {
  from { transform: rotate(80deg); }
  to { transform: rotate(0deg); }
}

@keyframes leveler-rise {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(-3deg); }
  100% { transform: rotate(0deg); }
}

@keyframes pallet-in {
  from { transform: translateX(0); }
  to { transform: translateX(230px); }
}

@keyframes status-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Fim da sequência (classe .is-done): o estado final vira o estado fixo da cena. */
.is-done .sc-truck { transform: none; animation: none; }
.is-done .sc-door { transform: scaleY(0.02); animation: none; }
.is-done .sc-lip { transform: rotate(0deg); animation: none; }
.is-done .sc-leveler { animation: none; }
.is-done .sc-pallet { transform: translateX(230px); animation: none; }
.is-done .dock-status { opacity: 1; animation: none; }

/* Antes de rodar: caminhão fora, status escondido */
html:not(.is-ready) .sc-truck {
  transform: translateX(380px);
}

html:not(.is-ready) .dock-status {
  opacity: 0;
}

/* Faixa de fatos */

.facts-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: clamp(3rem, 2rem + 3vw, 4.5rem) 0 0;
  padding-top: 2rem;
  border-top: 1px solid var(--linha);
}

.facts-bar dt {
  font-size: var(--fs-sm);
  color: var(--texto-2);
}

.facts-bar dd {
  margin: 0.25rem 0 0;
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--marinho);
}

/* Seções */

.section {
  padding-block: var(--section);
}

.section--mist {
  background: var(--azul-tint);
}

.section--plus {
  background: var(--plus) 0 0 / 40px 40px, var(--branco);
}

.section--navy {
  background:
    radial-gradient(50rem 30rem at 0% 0%, var(--marinho-2), transparent 70%),
    var(--marinho);
  color: #d3dcf2;
}

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

.section__title {
  max-width: 20ch;
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--marinho);
}

.section--navy .section__title {
  color: var(--branco);
}

.section__lead {
  max-width: 40rem;
  margin-top: 1.25rem;
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--texto-2);
}

.section--navy .section__lead {
  color: #b6c4e8;
}

/* Serviços */

.section--tint {
  background: var(--plus) right -20px top -20px / 40px 40px no-repeat, var(--azul-tint);
}

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

.service {
  position: relative;
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem);
  border-radius: var(--radius-lg);
  background: var(--branco);
  box-shadow: 0 0 0 1px #dce9f5, 0 24px 48px -36px rgb(4 24 104 / 0.45);
  overflow: hidden;
}

/* Faixa azul no topo do card, com o "+" do logo */
.service::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--marinho), var(--ceu));
}

.service__photo {
  display: block;
  width: calc(100% + 2 * clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem));
  max-width: none;
  margin: calc(-1 * clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem)) calc(-1 * clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem)) 1.5rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service__icon {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  border-radius: 14px;
  background: var(--azul-tint);
  fill: none;
  stroke: var(--marinho);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service__title {
  margin-bottom: 0.6rem;
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--marinho);
}

.service p {
  color: var(--texto-2);
}

/* Docas: ficha dos equipamentos */

.spec {
  margin: 0;
}

.spec__row {
  display: grid;
  gap: 0.4rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--linha);
}

.spec__row:last-child {
  border-bottom: 1px solid var(--linha);
}

.spec__row dt {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--marinho);
}

.spec__row dd {
  margin: 0;
  color: var(--texto-2);
}

/* Faixa de foto com parallax suave */

.photo-band {
  position: relative;
  display: grid;
  min-height: clamp(22rem, 15rem + 22vw, 34rem);
  overflow: hidden;
  isolation: isolate;
  color: var(--branco);
}

.photo-band__media {
  position: absolute;
  inset: -12% 0;
  z-index: -2;
  will-change: transform;
}

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

.photo-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(4 24 104 / 0.9) 0%, rgb(4 24 104 / 0.55) 45%, rgb(4 24 104 / 0.1) 100%);
}

.photo-band__content {
  display: flex;
  align-items: center;
}

.photo-band__quote {
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* Manutenção */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}

.modes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.mode {
  padding-block: 1.6rem;
  border-top: 1px solid var(--linha);
}

.mode:last-child {
  border-bottom: 1px solid var(--linha);
}

.mode__title {
  margin-bottom: 0.4rem;
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--marinho);
}

.mode p {
  color: var(--texto-2);
}

/* Relatório */

.report {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(3rem, 2rem + 4vw, 5rem);
  align-items: center;
}

.report__list {
  display: grid;
  gap: 0.85rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.report__list li {
  position: relative;
  padding-left: 2rem;
  color: #e2e8f8;
}

.report__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: rgb(22 163 74 / 0.18);
  box-shadow: inset 0 0 0 1.5px var(--verde);
}

.report__list li::after {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: calc(0.35em + 0.24rem);
  width: 0.3rem;
  height: 0.55rem;
  border: solid var(--verde);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Celular com o relatório */

.phone {
  justify-self: center;
  width: min(100%, 20rem);
  padding: 0.65rem;
  border-radius: 2.6rem;
  background: #020f45;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08), 0 50px 100px -40px rgb(0 0 0 / 0.65);
}

.phone__screen {
  padding: 1.5rem 1.1rem 1.25rem;
  border-radius: 2.1rem;
  background: var(--branco);
  color: var(--texto);
}

.phone__bar {
  display: grid;
  gap: 0.1rem;
  margin-bottom: 1rem;
}

.phone__label {
  font-weight: 600;
  color: var(--marinho);
}

.phone__client {
  font-size: var(--fs-sm);
  color: var(--texto-2);
}

.phone__items {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.phone__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.75rem;
  border-radius: 12px;
  background: var(--nevoa);
  font-size: 0.9rem;
  font-weight: 500;
}

.phone__qty {
  font-size: 0.8rem;
  color: var(--texto-2);
}

.phone__check {
  position: relative;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #b9c7d2;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.phone__check::after {
  content: "";
  position: absolute;
  left: 0.42rem;
  top: 0.22rem;
  width: 0.3rem;
  height: 0.58rem;
  border: solid var(--branco);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.35s var(--ease);
}

.phone__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.phone__photos span {
  aspect-ratio: 1;
  border-radius: 10px;
  background-size: 300% auto;
  background-color: var(--nevoa);
}

.phone__approve {
  position: relative;
  display: grid;
  place-items: center;
  height: 2.9rem;
  margin-top: 1rem;
  border-radius: 999px;
  background: var(--azul);
  color: var(--branco);
  font-weight: 600;
  overflow: hidden;
  transition: background-color 0.4s var(--ease);
}

.phone__approve span {
  grid-area: 1 / 1;
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}

.phone__approve-done {
  opacity: 0;
  transform: translateY(100%);
}

/* Sequência do celular ao aparecer na tela */
.phone.is-visible .phone__item:nth-child(1) .phone__check,
.phone.is-visible .phone__item:nth-child(1) .phone__check::after { transition-delay: 0.3s; }
.phone.is-visible .phone__item:nth-child(2) .phone__check,
.phone.is-visible .phone__item:nth-child(2) .phone__check::after { transition-delay: 0.8s; }
.phone.is-visible .phone__item:nth-child(3) .phone__check,
.phone.is-visible .phone__item:nth-child(3) .phone__check::after { transition-delay: 1.3s; }

.phone.is-visible .phone__check {
  background: var(--verde);
  box-shadow: inset 0 0 0 1.5px var(--verde);
}

.phone.is-visible .phone__check::after {
  transform: rotate(45deg) scale(1);
}

.phone.is-visible .phone__approve {
  background: var(--verde);
  transition-delay: 2.2s;
}

.phone.is-visible .phone__approve-idle {
  opacity: 0;
  transform: translateY(-100%);
  transition-delay: 2.2s;
}

.phone.is-visible .phone__approve-done {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 2.2s;
}

/* Obras */

.works {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  align-items: center;
}

.works__photo {
  margin: 0;
}

.works__photo video,
.works__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.works__photo video {
  aspect-ratio: 16 / 9;
}

.works__list {
  display: grid;
  gap: 1.5rem;
  margin: 2.25rem 0 0;
}

.works__list dt {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--marinho);
}

.works__list dd {
  margin: 0.2rem 0 0;
  color: var(--texto-2);
}

/* Sobre */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.about__body {
  display: grid;
  gap: 1.25rem;
  max-width: 42rem;
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--texto-2);
}

/* Contato */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  align-items: start;
}

.contact__list {
  display: grid;
  gap: 1.5rem;
  margin: 2.5rem 0 0;
}

.contact__list dt {
  font-size: var(--fs-sm);
  color: var(--texto-2);
}

.contact__list dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
  color: var(--marinho);
}

.contact__list a {
  color: var(--marinho);
  text-decoration: none;
  background-image: linear-gradient(var(--azul), var(--azul));
  background-size: 0 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s var(--ease);
}

.contact__list a:hover {
  background-size: 100% 2px;
}

.contact__form {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--branco);
  box-shadow: 0 0 0 1px var(--linha), 0 40px 80px -50px rgb(4 24 104 / 0.4);
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.field label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--marinho);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--texto);
  background: var(--nevoa);
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  resize: vertical;
  min-height: 7.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--branco);
  border-color: var(--azul);
  box-shadow: 0 0 0 4px rgb(31 143 208 / 0.15);
}

.field [aria-invalid="true"] {
  border-color: #c4321a;
}

.form__error {
  margin: 0 0 1rem;
  font-weight: 600;
  color: #c4321a;
}

.form__note {
  margin-top: 0.85rem;
  font-size: var(--fs-sm);
  color: var(--texto-2);
}

/* Rodapé */

.site-footer {
  background: var(--marinho);
  color: #b3c0e6;
}

.site-footer__inner {
  display: grid;
  gap: 2.25rem;
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
}

.site-footer__brand img {
  width: auto;
  height: 40px;
  margin-bottom: 1rem;
}

.site-footer__brand p {
  max-width: 22rem;
}

.site-footer__companies {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
}

.site-footer__copy {
  font-size: var(--fs-sm);
  color: #8494c8;
}

/* WhatsApp flutuante */

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--verde);
  color: var(--branco);
  box-shadow: 0 14px 30px -12px rgb(22 163 74 / 0.7);
  transition: transform 0.25s var(--ease);
}

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

/* Telas médias e grandes */

@media (min-width: 40rem) {
  .facts-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 60rem) {
  .reel__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Vídeo em destaque ocupa a primeira coluna nas duas linhas */
  .reel__item--feature {
    grid-row: span 2;
  }

  .reel__item--feature video {
    height: 100%;
    aspect-ratio: auto;
  }

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

  .split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .docks {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  }

  .section__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: end;
    max-width: none;
  }

  .section__head .section__lead {
    margin-top: 0;
  }

  .split__intro {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }

  .report {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }

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

  .about {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

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

  .site-footer__inner {
    grid-template-columns: 1.2fr 1.4fr 1fr;
    align-items: end;
  }
}

/* Celular: menu recolhido */

@media (max-width: 59.99rem) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: var(--gap);
    right: var(--gap);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    border-radius: var(--radius);
    background: var(--branco);
    box-shadow: 0 0 0 1px var(--linha), 0 30px 60px -30px rgb(4 24 104 / 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav ul a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--linha);
  }

  .site-nav ul a::after {
    display: none;
  }

  .site-header:not(.is-scrolled) .site-nav ul a {
    color: var(--texto);
  }

  .site-nav .btn {
    margin-top: 1rem;
  }
}

/* Movimento reduzido: estado final, sem animação */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }

  .photo-band__media {
    transform: none !important;
  }
}

@media (max-width: 40rem) {
  .hero__reel-ui {
    display: none;
  }
}
