/* LBR Serviços. Base mobile-first; breakpoints: 600, 768, 960, 1180. */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #2F5A96;
  --blue-deep: #1F3F6E;
  --ink: #14233A;
  --text: #3A4B63;
  --muted: #4A5B73;
  --tint: #F3F7FC;
  --tint-strong: #DCE7F5;
  --line: #E3EAF3;
  --water: #9DC0E8;
  --on-dark: #D5E1F1;
  --on-blue: #E2EBF7;
  --white: #FFFFFF;

  --font-display: "Montserrat", "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 16px;
  --section-gap: 48px;
  --header-h: 64px;
  --radius-panel: 20px;
  --tap: 44px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-water: cubic-bezier(.65, 0, .25, 1);
  --ease-soft: cubic-bezier(.25, .8, .3, 1);
  --fast: 180ms;
}

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

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
address { font-style: normal; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--blue-deep);
  color: var(--white);
  font-weight: 600;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.icon {
  flex: none;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--check { stroke: var(--water); stroke-width: 2.2; }
.icon--static { stroke: currentColor; stroke-width: 1.8; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
  transition:
    transform var(--fast) var(--ease-soft),
    box-shadow var(--fast) var(--ease-soft),
    background-color var(--fast) linear,
    border-color var(--fast) linear,
    color var(--fast) linear;
}
.btn:active { transform: scale(.97); }
.btn--small { min-height: var(--tap); padding: 12px 22px; font-size: 14px; }
.btn--pill { min-height: var(--tap); padding: 12px 22px; border-radius: 999px; font-size: 14px; }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--outline { background: var(--white); border-color: var(--blue); color: var(--blue-deep); }
.btn--light { background: var(--white); color: var(--blue-deep); }
.btn--ghost-light { background: transparent; border-color: var(--water); color: var(--white); }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn--primary:hover { background: var(--blue-deep); box-shadow: 0 10px 22px -10px rgba(31, 63, 110, .7); }
  .btn--outline:hover { background: var(--tint-strong); }
  .btn--light:hover { background: var(--tint-strong); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .55); }
  .btn--ghost-light:hover { background: rgba(157, 192, 232, .18); border-color: var(--white); }
  .btn:active { transform: scale(.97); }
}

.actions { display: flex; flex-direction: column; gap: 10px; }
.actions .btn { width: 100%; }

/* Cabeçalho */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition:
    transform 320ms var(--ease-out),
    box-shadow 240ms linear,
    border-color 240ms linear;
}
.site-header.is-scrolled {
  border-color: transparent;
  box-shadow: 0 8px 24px -16px rgba(20, 35, 58, .45);
}
.site-header.is-hidden { transform: translateY(-100%); }

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.logo__mark {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .5px;
  color: var(--blue);
}
.logo__word {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
}

.nav { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-phone { display: none; }
.header-cta { display: none; }

.menu-toggle {
  display: none;
  position: relative;
  width: var(--tap);
  height: var(--tap);
  margin-right: -8px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  touch-action: manipulation;
}
.js .menu-toggle { display: block; }
.menu-toggle__bar {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 300ms var(--ease-out);
}
.menu-toggle__bar:nth-child(1) { top: 17px; }
.menu-toggle__bar:nth-child(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Menu do celular */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px max(var(--gutter), env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--blue-deep);
  visibility: hidden;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 420ms var(--ease-water), visibility 0s linear 420ms;
}
.mobile-menu.is-open {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path 480ms var(--ease-water), visibility 0s;
}
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  display: flex;
  align-items: center;
  min-height: 60px;
  border-bottom: 1px solid rgba(157, 192, 232, .25);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}
.mobile-menu__nav a[aria-current="true"] { color: var(--water); }
.mobile-menu__actions { display: flex; flex-direction: column; gap: 10px; }
.mobile-menu__actions .btn { width: 100%; }
.mobile-menu :focus-visible { outline-color: var(--white); }

html.menu-open { overflow: hidden; }

/* Hero */
.hero {
  position: relative;
  background: var(--tint);
  padding-bottom: 56px;
  overflow: clip;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  padding-top: 24px;
}
.hero__copy { display: flex; flex-direction: column; align-items: stretch; gap: 16px; min-width: 0; }
.hero__pill {
  align-self: flex-start;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--tint-strong);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 600;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 9.4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--ink);
}
.w {
  display: inline-block;
  overflow: clip;
  overflow-clip-margin: 0;
  padding-bottom: .14em;
  margin-bottom: -.14em;
  vertical-align: top;
}
.w > span { display: inline-block; }
.hero__lead { max-width: 520px; font-size: 17px; line-height: 1.55; color: var(--text); }

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.hero__trust li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.hero__trust .icon { width: 28px; height: 28px; }
.hero__trust span { font-size: 13px; font-weight: 600; line-height: 1.3; }

.hero__media { position: relative; min-width: 0; padding-bottom: 38px; }
.hero__photo {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  background: var(--tint-strong);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 16px 32px -20px rgba(20, 35, 58, .55);
}
.hero__badge-text { font-size: 14px; line-height: 1.35; color: var(--ink); }

/* Caixinha d'água do selo "6 meses" */
.tank {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--tint);
  box-shadow: inset 0 0 0 2px var(--tint-strong);
  isolation: isolate;
}
.tank__level {
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(24%);
}
.tank__wave {
  position: absolute;
  top: -8px;
  left: 0;
  display: block;
  width: 200%;
}
.tank__wave svg { width: 100%; height: 10px; fill: var(--water); }
.tank__body { display: block; height: 80px; margin-top: -1px; background: var(--water); }
.tank__number {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  color: var(--blue-deep);
}

/* Linha d'água na base do hero */
.hero__waterline {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 200%;
  height: 28px;
  pointer-events: none;
}
.hero__waterline svg { display: block; width: 100%; height: 100%; fill: var(--white); }

/* Seções */
.section { padding-block: var(--section-gap); }
.section--tight-top { padding-top: 0; }
.section--flush-top { padding-top: 0; }

.title {
  font-family: var(--font-display);
  font-size: clamp(26px, 7.4vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--blue-deep);
}
.title--light { color: var(--white); }

.heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  text-align: center;
}
.heading p { color: var(--muted); }

.panel { border-radius: var(--radius-panel); background: var(--blue-deep); }

/* Serviços */
.services {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px 14px 14px;
}
.services__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-inline: 8px;
  color: var(--white);
}
.services__intro p { color: var(--on-dark); }
.services__grid { display: grid; gap: 8px; }
.service {
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 14px;
  row-gap: 3px;
  padding: 16px;
  border-radius: 14px;
  background: var(--white);
  transition: translate 220ms var(--ease-soft), box-shadow 220ms var(--ease-soft);
}
.service .icon { grid-row: span 2; }
.service h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.25; }
.service p { font-size: 14px; line-height: 1.45; color: var(--muted); }
.service--tint { background: var(--tint-strong); }
.service--tint .icon { stroke: var(--blue-deep); }
.service--tint p { color: var(--blue-deep); }

/* Por que a LBR */
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
.reason { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.reason__ring {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 2px solid var(--tint-strong);
  border-radius: 50%;
  transition: background-color 240ms linear, border-color 240ms linear;
}
.reason__ring .icon { width: 28px; height: 28px; }
.reason h3 { font-family: var(--font-display); font-size: 15px; font-weight: 700; line-height: 1.25; }
.reason p { font-size: 14px; line-height: 1.45; color: var(--muted); }

/* Destaque */
.feature { display: flex; flex-direction: column; overflow: hidden; }
.feature__media { --tank: var(--blue-deep); position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 22px 26px;
  color: var(--white);
}
.checks { display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.4; }

/* Números */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 12px;
  padding: 24px 14px;
  border-radius: var(--radius-panel);
  background: var(--blue);
  color: var(--white);
  text-align: center;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat__value {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(24px, 7.6vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat__label { font-size: 13px; line-height: 1.35; color: var(--on-blue); }

/* Como funciona: o cano que enche */
.steps-wrap { position: relative; }
.steps__pipe {
  position: absolute;
  top: 28px;
  bottom: 56px;
  left: 26px;
  width: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--tint-strong);
}
.steps__pipe i { display: block; width: 100%; height: 100%; background: var(--blue); transform-origin: top; }
.steps { position: relative; display: flex; flex-direction: column; gap: 24px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.step__number {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 2px solid var(--tint-strong);
  border-radius: 50%;
  background: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--blue);
}
.step__body { display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.step h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.25; }
.step p { font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Trabalhos: carrossel com encaixe no celular */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 12px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  padding-bottom: 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { display: none; }
.work { display: flex; flex-direction: column; gap: 10px; min-width: 0; scroll-snap-align: start; }
.work__photo { position: relative; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; background: var(--tint-strong); }
.work__photo img { width: 100%; height: 100%; object-fit: cover; transition: scale 500ms var(--ease-out); }
.work__photo--top img { object-position: top; }
.work figcaption { font-size: 15px; font-weight: 600; line-height: 1.3; }

/* Chamada final */
.closing { display: flex; align-items: center; overflow: hidden; }
.closing__copy {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 28px 18px 18px;
  color: var(--white);
}
.closing__copy p { color: var(--on-dark); }
.closing__card { display: none; }

/* Rodapé */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--tint);
  padding-bottom: env(safe-area-inset-bottom);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
  padding-top: 40px;
  padding-bottom: 28px;
}
.footer-brand, .footer-contact { grid-column: 1 / -1; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.logo--static .logo__word { font-size: 12px; }
.footer-col { display: flex; flex-direction: column; font-size: 14px; color: var(--text); }
.footer-col h3 {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.footer-col a, .footer-col > span {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  line-height: 1.3;
  text-decoration: none;
}
.footer-col address { margin-top: 8px; line-height: 1.5; }
.footer-legal {
  padding-top: 16px;
  padding-bottom: 24px;
  font-size: 13px;
  color: var(--muted);
}
.footer-legal::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: 16px;
  background: var(--line);
}

/* Barra de ação do celular */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 10px max(12px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  border-top: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 -10px 24px -18px rgba(20, 35, 58, .5);
  visibility: hidden;
  transform: translateY(110%);
  transition: transform 320ms var(--ease-out), visibility 0s linear 320ms;
}
.dock.is-visible {
  visibility: visible;
  transform: none;
  transition: transform 420ms var(--ease-out), visibility 0s;
}
.dock .btn { min-height: 48px; padding: 10px 14px; font-size: 14px; white-space: nowrap; }

/* Telas bem estreitas: tira o ícone do botão principal para o texto caber */
@media (max-width: 359px) {
  .dock__main .icon { display: none; }
  .dock .btn { padding-inline: 10px; font-size: 13px; }
  .hero__trust span { font-size: 12px; }
}

/* 600px+ */
@media (min-width: 600px) {
  :root { --gutter: 24px; --section-gap: 60px; --radius-panel: 24px; }

  .header-cta { display: inline-flex; }
  .actions { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .actions .btn { width: auto; }

  .hero__trust .icon { width: 36px; height: 36px; }
  .hero__trust span { font-size: 14px; }
  .hero__photo { aspect-ratio: 16 / 9; }
  .hero__badge { left: 20px; right: auto; max-width: 340px; }

  .services { padding: 32px; }
  .services__intro { padding-inline: 0; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .service { display: flex; flex-direction: column; gap: 10px; padding: 22px; }

  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 32px 20px; }
  .stat__value { font-size: 34px; }
  .stat__label { font-size: 14px; }

  .closing__copy { padding: 36px; }
  .closing__card {
    display: block;
    flex: 0 1 300px;
    min-width: 0;
    margin: 0 32px 0 0;
    border-radius: 16px;
  }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .footer-brand, .footer-contact { grid-column: auto; }
}

/* 768px+ */
@media (min-width: 768px) {
  .reasons { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .reason { padding: 12px; gap: 12px; }
  .reason__ring { width: 72px; height: 72px; }
  .reason__ring .icon { width: 32px; height: 32px; }
  .reason h3 { font-size: 17px; }

  .gallery {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    gap: 20px;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .steps-wrap { padding-top: 22px; }
  .steps__pipe { top: 0; bottom: auto; left: 0; right: 0; width: auto; height: 4px; }
  .steps__pipe i { transform-origin: left; }
  .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .step {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    border-radius: 16px;
    background: var(--tint);
  }
  .step__number {
    display: block;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1.2;
  }
  .step__body { gap: 10px; padding-top: 0; }
  .step h3 { font-size: 18px; }
  .step p { font-size: 14px; }

  .hero__waterline { height: 40px; }
}

/* 960px+: layout de computador */
@media (min-width: 960px) {
  :root { --section-gap: 72px; --header-h: 84px; --radius-panel: 28px; }

  .logo__mark { font-size: 30px; }
  .logo__word { font-size: 14px; }

  .nav { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
  .nav a {
    position: relative;
    padding-block: 8px;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--fast) linear;
  }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 320ms var(--ease-out);
  }
  .nav a:hover { color: var(--blue); }
  .nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
  .nav a[aria-current="true"] { color: var(--blue); }

  .js .menu-toggle { display: none; }
  .mobile-menu { display: none; }
  .dock { display: none; }

  .site-header { transform: none !important; }

  .hero { padding-bottom: 96px; }
  .hero__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 48px;
    padding-top: 64px;
  }
  .hero__copy { gap: 24px; }
  .hero__title { font-size: clamp(44px, 5vw, 60px); line-height: 1.08; }
  .hero__lead { font-size: 18px; line-height: 1.6; }
  .hero__trust { max-width: 520px; gap: 16px; margin-top: 12px; }
  .hero__trust li { gap: 8px; }
  .hero__media { padding-bottom: 0; }
  .hero__photo { height: 460px; aspect-ratio: auto; border-radius: 24px; }
  .hero__badge { left: 20px; bottom: 20px; max-width: 320px; padding: 14px 18px; gap: 14px; }
  .tank { width: 60px; height: 60px; }
  .tank__number { font-size: 32px; }

  .title { font-size: clamp(30px, 3.4vw, 42px); }
  .heading { gap: 12px; margin-bottom: 40px; }

  .services {
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: clamp(36px, 4vw, 56px);
  }
  .services__intro { flex: 1 1 260px; min-width: 0; gap: 18px; }
  .services__grid { flex: 3 1 560px; min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .feature { flex-direction: row; }
  .feature__media { flex: 1 1 50%; min-width: 0; height: 420px; aspect-ratio: auto; }
  .feature__copy {
    flex: 1 1 50%;
    min-width: 0;
    justify-content: center;
    gap: 20px;
    padding: clamp(36px, 4vw, 56px);
  }
  .checks { gap: 14px; }
  .checks li { align-items: center; gap: 12px; }

  .stats { padding: 32px; gap: 24px; }
  .stat { gap: 6px; }
  .stat__value { font-size: 38px; }

  .closing__copy { padding: clamp(36px, 4vw, 56px); gap: 18px; }
  .closing__card { flex: 0 1 460px; margin: 32px; }

  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 56px; }
  .footer-col a, .footer-col > span { min-height: 32px; }
  .footer-col a { transition: color var(--fast) linear; }
  .footer-col a:hover { color: var(--blue); }
}

/* 1180px+: telefone volta ao cabeçalho */
@media (min-width: 1180px) {
  .nav { gap: 32px; }
  .header-actions { gap: 20px; }
  .header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
  }
  .header-phone .icon { stroke-width: 1.8; }
  .header-phone__text { display: flex; flex-direction: column; line-height: 1.2; }
  .header-phone__number { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
  .header-phone__hint { font-size: 12px; color: var(--muted); }
}

/* Interações de ponteiro */
@media (hover: hover) {
  .service:hover { translate: 0 -4px; box-shadow: 0 16px 28px -18px rgba(0, 0, 0, .6); }
  .reason:hover .reason__ring { background: var(--tint); border-color: var(--water); }
  .work:hover .work__photo img { scale: 1.04; }
}

/* ------------------------------------------------------------------ */
/* Movimento. Tudo fica aqui dentro: sem esta preferência, o conteúdo   */
/* aparece completo e parado.                                           */
/* ------------------------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Entrada do hero: roda sem JS e termina sempre no estado visível */
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  @keyframes word-rise { from { transform: translateY(112%); } to { transform: none; } }
  @keyframes water-rise { from { transform: scaleY(1); } to { transform: scaleY(0); } }
  @keyframes settle { from { transform: scale(1.1); } to { transform: none; } }
  @keyframes tank-fill { from { transform: translateY(100%); } to { transform: translateY(24%); } }
  @keyframes drift { to { transform: translateX(-50%); } }

  .hero__pill { animation: rise 600ms var(--ease-out) both; }
  .w > span { animation: word-rise 820ms var(--ease-out) both; }
  .w:nth-child(1) > span { animation-delay: 60ms; }
  .w:nth-child(2) > span { animation-delay: 110ms; }
  .w:nth-child(3) > span { animation-delay: 160ms; }
  .w:nth-child(4) > span { animation-delay: 210ms; }
  .w:nth-child(5) > span { animation-delay: 260ms; }
  .w:nth-child(6) > span { animation-delay: 310ms; }
  .hero__lead { animation: rise 700ms var(--ease-out) 380ms both; }
  .hero__actions { animation: rise 700ms var(--ease-out) 460ms both; }
  .hero__trust li { animation: rise 640ms var(--ease-out) both; }
  .hero__trust li:nth-child(1) { animation-delay: 560ms; }
  .hero__trust li:nth-child(2) { animation-delay: 630ms; }
  .hero__trust li:nth-child(3) { animation-delay: 700ms; }

  .hero__photo::after {
    content: "";
    position: absolute;
    inset: -1px;
    background: var(--tint-strong);
    transform-origin: top;
    pointer-events: none;
    animation: water-rise 1150ms var(--ease-water) 160ms both;
  }
  .hero__photo img { animation: settle 1500ms var(--ease-out) 160ms both; }
  .hero__badge { animation: rise 640ms var(--ease-out) 1000ms both; }
  .tank__level { animation: tank-fill 1500ms var(--ease-water) 1100ms both; }

  /* Ondas contínuas: só transform; pausadas fora da tela via JS */
  .wave-drift { animation: drift 9s linear infinite; }
  .tank__wave.wave-drift { animation-duration: 3.6s; }
  .is-paused .wave-drift { animation-play-state: paused; }

  /* Revelação ao rolar (a classe .motion só existe com JS) */
  .motion [data-reveal]:not(.is-done) {
    transition:
      opacity 720ms var(--ease-out) var(--delay, 0ms),
      transform 720ms var(--ease-out) var(--delay, 0ms);
  }
  .motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(18px); }

  /* Fotos sobem como água enchendo: uma cobertura encolhe em direção ao topo.
     Não usar clip-path aqui: área zero impede tanto o IntersectionObserver
     quanto o loading="lazy" do navegador, e a foto nunca carrega. */
  .motion [data-reveal="water"]:not(.is-in) { opacity: 1; transform: none; }
  .motion [data-reveal="water"]:not(.is-done)::after {
    content: "";
    position: absolute;
    inset: -1px;
    background: var(--tank, var(--tint-strong));
    transform-origin: top;
    transition: transform 1150ms var(--ease-water) var(--delay, 0ms);
  }
  .motion [data-reveal="water"].is-in:not(.is-done)::after { transform: scaleY(0); }
  .motion [data-reveal="water"]:not(.is-done) img { transition: transform 1500ms var(--ease-out) var(--delay, 0ms); }
  .motion [data-reveal="water"]:not(.is-in) img { transform: scale(1.1); }

  /* Cano do "Como funciona" */
  .motion [data-reveal="pipe"]:not(.is-in) { opacity: 1; transform: none; }
  .motion [data-reveal="pipe"] .steps__pipe i { transition: transform 1700ms var(--ease-water) 120ms; }
  .motion [data-reveal="pipe"]:not(.is-in) .steps__pipe i { transform: scaleY(0); }

  /* Ícones se desenham quando o bloco entra */
  .motion [data-reveal] .icon:not(.icon--static) { transition: opacity 120ms linear calc(var(--delay, 0ms) + 120ms); }
  .motion [data-reveal]:not(.is-in) .icon:not(.icon--static) { opacity: 0; }
  .motion [data-reveal] .icon:not(.icon--static) :is(path, rect, circle) {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 950ms var(--ease-water) calc(var(--delay, 0ms) + 120ms);
  }
  .motion [data-reveal]:not(.is-in) .icon:not(.icon--static) :is(path, rect, circle) { stroke-dashoffset: 1; }

  /* Anel do "Por que a LBR" abre junto com o ícone */
  .motion .reason:not(.is-done) .reason__ring {
    transition: transform 620ms var(--ease-out) calc(var(--delay, 0ms) + 60ms);
  }
  .motion .reason:not(.is-in) .reason__ring { transform: scale(.72); }

  /* Links do menu entram em sequência */
  .mobile-menu__nav a, .mobile-menu__actions {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 200ms linear, transform 200ms linear;
  }
  .mobile-menu.is-open .mobile-menu__nav a, .mobile-menu.is-open .mobile-menu__actions {
    opacity: 1;
    transform: none;
    transition: opacity 460ms var(--ease-out), transform 460ms var(--ease-out);
  }
  .mobile-menu.is-open .mobile-menu__nav a:nth-child(1) { transition-delay: 130ms; }
  .mobile-menu.is-open .mobile-menu__nav a:nth-child(2) { transition-delay: 170ms; }
  .mobile-menu.is-open .mobile-menu__nav a:nth-child(3) { transition-delay: 210ms; }
  .mobile-menu.is-open .mobile-menu__nav a:nth-child(4) { transition-delay: 250ms; }
  .mobile-menu.is-open .mobile-menu__nav a:nth-child(5) { transition-delay: 290ms; }
  .mobile-menu.is-open .mobile-menu__actions { transition-delay: 340ms; }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 768px) {
  .motion [data-reveal="pipe"]:not(.is-in) .steps__pipe i { transform: scaleX(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
}

@media print {
  .site-header, .dock, .mobile-menu, .hero__waterline { display: none; }
  .motion [data-reveal] { opacity: 1 !important; transform: none !important; }
  .motion [data-reveal]::after, .hero__photo::after { display: none; }
}
