/* =========================================================================
   MARCILIO LIMPEZA CASA E RODOVIA — estilos do site
   Cores da marca: azul-marinho #071B35, verde #58C900, laranja #FF7900.
   Fontes: Archivo (títulos, larga e forte) + Figtree (textos).
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --navy: #071B35;
  --navy-2: #0D2A4E;
  --navy-3: #133763;
  --green: #58C900;
  --green-ink: #2C6E00;      /* verde para texto sobre fundo claro (contraste AA) */
  --orange: #FF7900;
  --orange-2: #FF9433;
  --white: #FFFFFF;
  --gray: #F3F5F6;

  /* tema claro */
  --bg: #FFFFFF;
  --bg-alt: var(--gray);
  --surface: #FFFFFF;
  --fg: var(--navy);
  --muted: #4A5B70;
  --line: #DCE2E8;
  --accent-ink: var(--green-ink);
  --card-shadow: 0 1px 2px rgba(7, 27, 53, .06), 0 8px 24px -12px rgba(7, 27, 53, .18);
  --card-shadow-hover: 0 2px 4px rgba(7, 27, 53, .08), 0 22px 40px -18px rgba(7, 27, 53, .35);

  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #050F1F;
    --bg-alt: #081830;
    --surface: #0C2140;
    --fg: #EAF0F6;
    --muted: #A3B3C6;
    --line: #1C3558;
    --accent-ink: #79DD2C;
    --card-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 26px -14px rgba(0, 0, 0, .6);
    --card-shadow-hover: 0 2px 4px rgba(0, 0, 0, .35), 0 24px 44px -18px rgba(0, 0, 0, .75);
    color-scheme: dark;
  }
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--orange); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--alt { background: var(--bg-alt); }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }

/* Cabeçalho de seção */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-stretch: 125%; font-weight: 700;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--green); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.4rem); text-transform: uppercase; }
.section-head p { color: var(--muted); font-size: 1.125rem; max-width: 62ch; }

/* ---------- 3. Botões ---------- */
.btn {
  --btn-bg: var(--orange); --btn-fg: var(--navy);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 24px;
  border: 0; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--display); font-stretch: 112%; font-weight: 800;
  font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap; text-align: center;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::after { /* brilho que atravessa o botão no hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .6s var(--ease);
}
.btn .icon { width: 1.2em; height: 1.2em; }
.btn--primary { box-shadow: 0 8px 18px -10px rgba(4, 14, 29, .55); }
.btn--ghost { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.btn--green { --btn-bg: var(--green); --btn-fg: var(--navy); }
.btn--navy { --btn-bg: var(--navy); --btn-fg: #fff; }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--fg); box-shadow: inset 0 0 0 2px var(--line); }
.btn--sm { min-height: 46px; padding: 11px 18px; font-size: .82rem; }
.btn--block { width: 100%; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover::after { transform: translateX(110%); }
  .btn--primary:hover { box-shadow: 0 14px 26px -12px rgba(4, 14, 29, .6); background: var(--orange-2); }
  .btn--ghost:hover { --btn-bg: rgba(255,255,255,.16); box-shadow: inset 0 0 0 2px #fff; }
  .btn--outline:hover { box-shadow: inset 0 0 0 2px var(--accent-ink); }
}
.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }

/* ---------- 4. Marca (logo tipográfica) ---------- */
.brand { display: inline-flex; align-items: center; text-decoration: none; color: #fff; min-width: 0; }
.brand__logo { display: block; height: 66px; width: auto; border-radius: 0; box-shadow: none; background: none; }
.brand--footer .brand__logo { height: auto; width: 100%; max-width: 280px; }

/* ---------- 5. Cabeçalho fixo ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease), backdrop-filter .35s;
}
.site-header::before { /* leve escurecimento sobre a foto antes da rolagem */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(4, 14, 28, .6), transparent);
  transition: opacity .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(7, 27, 53, .92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px -18px rgba(0,0,0,.6);
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header__inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  position: relative; display: block; padding: 10px 12px;
  font-weight: 600; font-size: .95rem; text-decoration: none; color: rgba(255,255,255,.88);
  transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="true"] { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="true"]::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; }
.nav__extra { display: none; }

.menu-toggle {
  display: none; position: relative; z-index: 120;
  width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: rgba(255,255,255,.1); color: #fff; cursor: pointer;
}
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 29px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-backdrop { display: none; }

@media (max-width: 1080px) {
  :root { --header-h: 66px; }
  .menu-toggle { display: inline-block; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 110;
    width: min(86vw, 380px);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: calc(var(--header-h) + 18px) 24px max(24px, env(safe-area-inset-bottom));
    background: var(--navy);
    box-shadow: -20px 0 60px rgba(0,0,0,.45);
    transform: translateX(105%); visibility: hidden;
    transition: transform .4s var(--ease-out), visibility 0s linear .4s;
    overflow-y: auto;
  }
  .nav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease-out), visibility 0s; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { padding: 16px 4px; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 1.35rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__link::after { left: 4px; right: auto; width: 34px; bottom: 10px; }
  .nav__cta { margin: 28px 0 0; width: 100%; }
  .nav__extra { display: grid; gap: 10px; margin-top: 22px; color: rgba(255,255,255,.75); font-size: .95rem; }
  .nav__extra a { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 6px 0; }
  .nav-backdrop { display: block; position: fixed; inset: 0; z-index: 105; background: rgba(2, 8, 18, .55); opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 400px) {
    }

/* ---------- 6. Primeira tela ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #fff; background: var(--navy);
  overflow: hidden;
}
.hero__media { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::before { /* sobreposição cinematográfica */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(5, 16, 32, .96) 0%, rgba(5, 16, 32, .72) 38%, rgba(5, 16, 32, .25) 70%, rgba(5, 16, 32, .45) 100%),
    linear-gradient(to right, rgba(7, 27, 53, .75) 0%, rgba(7, 27, 53, 0) 65%);
}
.hero__content {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: clamp(56px, 9vh, 104px);
  display: grid; gap: 22px;
}
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px; justify-self: start;
  padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(88, 201, 0, .14); box-shadow: inset 0 0 0 1px rgba(88, 201, 0, .45);
  font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: #CFF5AE;
}
.hero__tag .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--green); transform: rotate(45deg); }
.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.6rem, 1.1rem + 6.4vw, 6.1rem);
  font-stretch: 118%; font-weight: 900; line-height: .98; letter-spacing: -.015em;
  text-transform: uppercase;
}
.hero h1 .hl { color: var(--green); }
.hero__lead { max-width: 58ch; font-size: clamp(1.06rem, 1rem + .35vw, 1.25rem); color: rgba(255,255,255,.86); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.chip {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px; border-radius: var(--radius);
  background: rgba(7, 27, 53, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
  line-height: 1.25;
}
.chip__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; flex: none; }
.chip__icon--green { background: var(--green); color: var(--navy); }
.chip__icon--orange { background: var(--orange); color: var(--navy); }
.chip__icon .icon { width: 24px; height: 24px; }
.chip strong { display: block; font-family: var(--display); font-stretch: 112%; font-size: .95rem; letter-spacing: .03em; text-transform: uppercase; }
.chip small { display: block; font-size: .85rem; color: rgba(255,255,255,.72); }

.hero__grass { /* grama em silhueta no pé da primeira tela */
  position: absolute; left: 0; right: 0; bottom: -2px; z-index: -1;
  width: 100%; height: clamp(40px, 6vw, 80px);
  color: var(--bg); pointer-events: none;
}
.hero__grass .sway { transform-origin: 50% 100%; transform-box: fill-box; }
.hero__scroll {
  position: absolute; right: var(--gutter-r); bottom: clamp(70px, 10vh, 110px);
  display: none; flex-direction: column; align-items: center; gap: 10px;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7); text-decoration: none;
  writing-mode: vertical-rl;
}
.hero__scroll::after { content: ""; width: 2px; height: 46px; background: linear-gradient(var(--green), transparent); }
@media (min-width: 1081px) { .hero__scroll { display: flex; } }

@media (max-width: 640px) {
  .hero { align-items: flex-end; }
  .hero__media img { object-position: 62% 40%; }
  .hero__content { gap: 16px; padding-top: calc(var(--header-h) + 28px); padding-bottom: 104px; }
  .hero h1 { font-size: clamp(2.2rem, 10.5vw, 2.9rem); }
  .hero__lead { font-size: 1rem; }
  .hero__tag { font-size: .75rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .chip { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .chip__icon { width: 36px; height: 36px; }
  .chip small { font-size: .8rem; }
}

/* ---------- 7. Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.service {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--card-shadow); outline: 1px solid var(--line); outline-offset: -1px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-2); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,27,53,.45), transparent 55%); }
.service__num {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  padding: 4px 9px; border-radius: 6px; background: rgba(7,27,53,.78); color: #fff;
  font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: .72rem; letter-spacing: .12em;
}
.service__icon {
  position: absolute; left: 20px; bottom: -24px; z-index: 2;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--green); color: var(--navy);
  box-shadow: 0 0 0 5px var(--surface);
  transition: transform .45s var(--ease-out);
}
.service__icon .icon { width: 26px; height: 26px; }
.service:nth-child(6) .service__icon, .service:nth-child(4) .service__icon { background: var(--orange); }
.service__media-wrap { position: relative; }
.service__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 40px 22px 22px; }
.service h3 { font-size: 1.35rem; text-transform: uppercase; }
.service p { color: var(--muted); font-size: 1rem; flex: 1; }
.service .btn { margin-top: 10px; align-self: flex-start; }
@media (hover: hover) {
  .service:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
  .service:hover .service__media img { transform: scale(1.03); }
  .service:hover .service__icon { transform: translateY(-3px) scale(1.05); }
}
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; gap: 18px; }
  .service .btn { width: 100%; }
}

/* ---------- 8. Casa e Rodovia ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split__block {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 620px; border-radius: 22px; padding: clamp(24px, 4vw, 44px);
  color: #fff;
}
.split__media { position: absolute; inset: 0; z-index: -2; }
.split__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split__block::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.split__block--casa::before { background: linear-gradient(to top, rgba(8, 38, 5, .96) 0%, rgba(12, 54, 8, .8) 45%, rgba(12, 54, 8, .1) 80%); }
.split__block--rodovia::before { background: linear-gradient(to top, rgba(5, 14, 28, .97) 0%, rgba(7, 27, 53, .78) 45%, rgba(7, 27, 53, .1) 80%); }
.split__label {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  padding: 7px 12px; border-radius: 8px; margin-bottom: 18px;
  font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
}
.split__block--casa .split__label { background: var(--green); color: var(--navy); }
.split__block--rodovia .split__label { background: var(--orange); color: var(--navy); }
.split__block h3 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem); text-transform: uppercase; margin-bottom: 14px; }
.split__block p { max-width: 44ch; color: rgba(255,255,255,.88); font-size: 1.08rem; margin-bottom: 20px; }
.split__list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.split__list li { padding: 6px 12px; border-radius: 999px; font-size: .88rem; font-weight: 600; background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.split__block .btn { align-self: flex-start; }
.split__block--casa .btn { --btn-bg: var(--green); }
/* faixa de estrada animada no bloco rodoviário */
.road-line {
  position: absolute; top: 0; bottom: 0; right: clamp(22px, 4vw, 40px); z-index: -1;
  width: 6px; opacity: .85;
  background: repeating-linear-gradient(to bottom, var(--orange) 0 34px, transparent 34px 62px);
  background-size: 100% 62px;
}
.hazard { position: absolute; left: 0; right: 0; top: 0; height: 8px; z-index: 0; background: repeating-linear-gradient(-45deg, var(--orange) 0 14px, var(--navy) 14px 28px); }
.leaf-deco, .cta__leaves { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; }
.leaf-deco { position: absolute; top: 22px; right: 22px; z-index: -1; width: 96px; height: 96px; color: rgba(88, 201, 0, .55); }
@media (hover: hover) { .split__block:hover .split__media img { transform: scale(1.03); } }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split__block { min-height: 540px; }
}
@media (max-width: 640px) {
  .split__block { min-height: 560px; border-radius: 18px; }
  .split__block .btn { width: 100%; }
  .road-line { display: none; }
}
@media (max-width: 400px) {
  .btn { font-size: .84rem; letter-spacing: .03em; padding-inline: 16px; }
  .btn--sm { font-size: .78rem; }
}

/* ---------- 9. Sobre ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__text { display: grid; gap: 18px; }
.about__text h2 { font-size: clamp(2rem, 1.1rem + 3vw, 3.2rem); text-transform: uppercase; }
.about__text h2 span { color: var(--accent-ink); display: block; }
.about__text p { color: var(--muted); font-size: 1.1rem; }
.about__text p strong { color: var(--fg); }
.about__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 8px 0 6px; }
.about__tags li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); outline: 1px solid var(--line); outline-offset: -1px; font-weight: 600; font-size: .95rem;
}
.about__tags li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--green); transform: rotate(45deg); }
.about__media { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 1; }
.about__media figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--navy-2); }
.about__media figure:first-child { grid-row: 1 / 3; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__badge {
  position: absolute; left: -18px; bottom: 26px;
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: var(--radius);
  background: var(--navy); color: #fff; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
  font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.2;
}
.about__badge .icon { width: 30px; height: 30px; color: var(--green); }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .about__media { aspect-ratio: 4 / 3.4; }
  .about__badge { left: 12px; bottom: 12px; }
}

/* ---------- 10. Galeria ---------- */
.gallery-note {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start;
  padding: 6px 12px; border-radius: 8px; font-size: .88rem; font-weight: 600;
  background: var(--surface); outline: 1px dashed var(--line); outline-offset: -1px; color: var(--muted);
}
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 14px; list-style: none; margin: 0; padding: 0; }
.gallery li:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery li:nth-child(6) { grid-column: span 2; }
.gallery__item {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; background: var(--navy-2);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .4s; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,27,53,.7), transparent 50%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.gallery__zoom {
  position: absolute; right: 12px; bottom: 12px; z-index: 1;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--orange); color: var(--navy);
  opacity: 0; transform: translateY(8px) scale(.9); transition: opacity .3s var(--ease), transform .35s var(--ease-out);
}
.gallery__tag {
  position: absolute; left: 10px; top: 10px; z-index: 1;
  padding: 3px 8px; border-radius: 6px; background: rgba(7,27,53,.72); color: #fff;
  font-size: .7rem; font-weight: 600; letter-spacing: .04em;
}
@media (hover: hover) {
  .gallery__item:hover img { transform: scale(1.03); }
  .gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
  .gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .gallery li:nth-child(6) { grid-column: span 1; }
  .gallery li:nth-child(8) { grid-column: span 2; }
}
@media (max-width: 480px) {
  .gallery { grid-auto-rows: 150px; gap: 10px; }
  .gallery__zoom { opacity: 1; transform: none; width: 34px; height: 34px; }
}

/* Visualização ampliada */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(3, 10, 22, .94); color: #fff;
}
.lightbox::backdrop { background: rgba(3, 10, 22, .7); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lb-in .3s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(14px, env(safe-area-inset-top)) var(--gutter-r) 14px var(--gutter); }
.lightbox__count { font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: .85rem; letter-spacing: .12em; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 72px; touch-action: pan-y; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; user-select: none; -webkit-user-drag: none; }
.lightbox__stage img.is-changing { animation: lb-swap .35s var(--ease); }
@keyframes lb-swap { from { opacity: 0; transform: scale(.98); } }
.lightbox__caption { padding: 14px var(--gutter) max(18px, env(safe-area-inset-bottom)); text-align: center; color: rgba(255,255,255,.78); font-size: .95rem; }
.lb-btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.1); color: #fff; transition: background-color .2s, transform .2s var(--ease);
}
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn:active { transform: scale(.94); }
.lb-btn .icon { width: 24px; height: 24px; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev:active, .lb-next:active { transform: translateY(-50%) scale(.94); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
@media (max-width: 640px) {
  .lightbox__stage { padding: 0 12px; }
  .lb-prev, .lb-next { top: auto; bottom: -66px; transform: none; }
  .lb-prev:active, .lb-next:active { transform: scale(.94); }
  .lb-prev { left: var(--gutter); } .lb-next { right: var(--gutter-r); }
  .lightbox__caption { padding-inline: 80px; min-height: 80px; display: grid; place-items: center; }
}

/* ---------- 11. Chamada para orçamento ---------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--navy); color: #fff;
  padding-block: clamp(80px, 11vw, 140px);
}
.cta::before { /* brilho verde discreto */
  content: ""; position: absolute; z-index: -1; width: 70vmax; height: 70vmax; left: -20vmax; top: -30vmax;
  background: radial-gradient(closest-side, rgba(88, 201, 0, .22), transparent);
}
.cta::after {
  content: ""; position: absolute; z-index: -1; width: 50vmax; height: 50vmax; right: -18vmax; bottom: -30vmax;
  background: radial-gradient(closest-side, rgba(255, 121, 0, .14), transparent);
}
.cta__inner { display: grid; grid-template-columns: 1.3fr auto; gap: 32px 48px; align-items: end; }
.cta h2 { font-size: clamp(2.2rem, 1.1rem + 4.2vw, 4.6rem); text-transform: uppercase; font-weight: 900; max-width: 15ch; }
.cta h2 span { color: var(--green); }
.cta p { margin-top: 20px; max-width: 54ch; font-size: 1.15rem; color: rgba(255,255,255,.82); }
.cta__actions { display: grid; gap: 12px; justify-items: start; }
.cta .btn--primary { min-height: 62px; padding: 18px 30px; font-size: 1.02rem; }
.cta__alt { font-size: .95rem; color: rgba(255,255,255,.7); }
.cta__alt a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.cta__leaves { position: absolute; right: 4%; top: 12%; z-index: -1; width: clamp(120px, 16vw, 220px); color: rgba(88, 201, 0, .16); }
.cta__line { height: 4px; margin-top: 30px; width: 120px; border-radius: 2px; background: linear-gradient(90deg, var(--green) 0 60%, var(--orange) 60%); }
@media (max-width: 400px) {
  .cta .btn--primary { font-size: .88rem; letter-spacing: .02em; padding-inline: 16px; }
}
@media (max-width: 820px) {
  .cta__inner { grid-template-columns: 1fr; }
  .cta__actions { justify-items: stretch; }
  .cta .btn--primary { width: 100%; }
}

/* ---------- 12. Contato ---------- */
.contacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.contact-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%;
  padding: 26px 22px 22px; border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--card-shadow); outline: 1px solid var(--line); outline-offset: -1px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-card--main { background: var(--navy); color: #fff; outline-color: transparent; }
.contact-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; }
.contact-card__icon .icon { width: 28px; height: 28px; }
.ic-wa { background: #25D366; color: #fff; }
.ic-mail { background: var(--orange); color: var(--navy); }
.ic-ig { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); color: #fff; }
.contact-card__label { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.contact-card--main .contact-card__label { color: var(--green); }
.contact-card__value { font-family: var(--display); font-stretch: 105%; font-weight: 800; font-size: 1.3rem; line-height: 1.2; overflow-wrap: anywhere; }
.contact-card__value--sm { font-size: 1rem; font-family: var(--body); font-weight: 700; }
.contact-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.contact-card--main p { color: rgba(255,255,255,.75); }
.contact-card .btn { margin-top: 4px; }
@media (hover: hover) { .contact-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); } }
@media (max-width: 1080px) { .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .contacts { grid-template-columns: 1fr; } }

/* ---------- 13. Formulário ---------- */
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote__intro { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 32px); }
.quote__intro h2 { font-size: clamp(2rem, 1.1rem + 3vw, 3.2rem); text-transform: uppercase; }
.quote__intro p { color: var(--muted); font-size: 1.08rem; }
.steps { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; font-weight: 600; counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--navy); color: var(--green); font-family: var(--display); font-stretch: 125%; font-weight: 900;
}
.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  padding: clamp(22px, 4vw, 40px); border-radius: 22px;
  background: var(--surface); box-shadow: var(--card-shadow); outline: 1px solid var(--line); outline-offset: -1px;
}
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  font-size: 1rem; /* 16px evita zoom automático no iPhone */
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2358C900' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 20px;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(88, 201, 0, .2); }
.field.is-invalid input, .field.is-invalid select { border-color: #D93025; }
.field__error { display: none; color: #D93025; font-size: .88rem; font-weight: 600; }
@media (prefers-color-scheme: dark) { .field.is-invalid input, .field.is-invalid select { border-color: #FF6B5E; } .field__error { color: #FF8A80; } }
.field.is-invalid .field__error { display: block; }
.form__foot { grid-column: 1 / -1; display: grid; gap: 12px; margin-top: 4px; }
.form__note { font-size: .9rem; color: var(--muted); }
.form__status { font-size: .95rem; font-weight: 600; color: var(--accent-ink); min-height: 1.5em; }
@media (max-width: 900px) {
  .quote { grid-template-columns: 1fr; }
  .quote__intro { position: static; }
}
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- 14. Rodapé ---------- */
.footer { background: #040E1D; color: rgba(255,255,255,.75); padding: 72px 0 calc(104px + env(safe-area-inset-bottom)); font-size: .98rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h2 { font-family: var(--display); font-stretch: 125%; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--green); }
.footer__brand p { margin-top: 18px; max-width: 34ch; }
.footer__contact a { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.footer__contact .icon { color: var(--green); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .86rem; color: rgba(255,255,255,.55); }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- 15. Botão flutuante do WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 90;
  right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 10px;
  height: 62px; padding: 0 22px 0 16px; border-radius: 999px;
  background: #25D366; color: #fff; text-decoration: none;
  font-weight: 800; font-size: 1rem;
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .45), 0 2px 6px rgba(0,0,0,.2);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float .icon { width: 30px; height: 30px; }
.wa-float::before { /* anel de destaque, discreto */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float:active { transform: scale(.96); }
@media (max-width: 640px) {
  .wa-float { width: 62px; padding: 0; justify-content: center; }
  .wa-float__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- 16. Movimento (somente se o visitante não pediu menos movimento) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
  .js [data-reveal="fade"] { transform: none; }
  .js [data-reveal="scale"] { transform: scale(.96); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .hero__content > * { animation: rise .9s var(--ease-out) both; }
  .hero__content > :nth-child(2) { animation-delay: .08s; }
  .hero__content > :nth-child(3) { animation-delay: .16s; }
  .hero__content > :nth-child(4) { animation-delay: .24s; }
  .hero__content > :nth-child(5) { animation-delay: .32s; }
  .hero__media img { animation: settle 2.2s var(--ease-out) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
  @keyframes settle { from { transform: scale(1.08); } }

  /* Movimentos pontuais: a logo entra uma vez; nada se move sozinho em loop, exceto o aviso do WhatsApp (3 vezes). */
  .brand__logo { animation: logo-in .9s var(--ease-out) .15s both; }
  @keyframes logo-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

  .wa-float::before { animation: wa-ring 4s var(--ease) 2s 3; }
  @keyframes wa-ring { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 40%, 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
