/* ==========================================================================
   Novatore — V2 "Institucional"
   Breakpoints: <600 (mobile) / 600–1023 (tablet) / >=1024 (desktop)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --green-950: #051E17;
  --green-900: #072A20;
  --green-800: #0B3B2E;
  --green-700: #12473A;
  --green-600: #2E5E50;
  --gold: #D4AF5F;
  --gold-300: #E2C68A;
  --bronze: #7D5E22;
  --paper: #FAF8F3;
  --white: #FFFFFF;
  --ivory: #F2EFE6;
  --ivory-dim: #C2CEC8;
  --subtle-dark: #8FA39A;
  --text: #26352F;
  --field: #6B7872;
  --error: #A63D2A;
  --line: #DED8CB;
  --line-dark: rgba(242, 239, 230, .12);
  --line-gold: rgba(212, 175, 95, .24);
  --focus: var(--green-800);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(4rem, 2.5rem + 6vw, 7rem);
  --head-gap: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  --shadow-2: 0 2px 4px rgba(7, 42, 32, .05), 0 12px 32px rgba(7, 42, 32, .08);

  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mark: "Bodoni Moda", "Didot", Georgia, serif;

  --fs-h1: clamp(2.125rem, 1.5rem + 2.75vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.4vw, 2.375rem);
  --fs-h3: clamp(1.125rem, 1.05rem + .3vw, 1.25rem);
  --fs-lead: clamp(1.0625rem, 1rem + .2vw, 1.125rem);
  --fs-stat: clamp(2.25rem, 1.75rem + 1.5vw, 3rem);
  --fs-metric: clamp(2rem, 1.6rem + 1.2vw, 2.5rem);
}
@media (max-width: 599px) {
  :root { --header-h: 64px; }
}

/* Focus color per surface (order matters: .form after .section--dark) */
.header, .hero, .section--dark, .stats, .footer { --focus: var(--gold); }
.section--light, .form { --focus: var(--green-800); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-sans);
  font-kerning: normal;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol, dl { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dd, dt { margin: 0; }
strong, b { font-weight: 500; }

.header, .hero, .section--dark, .stats, .footer, .wa-float {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: inherit;
  text-wrap: balance;
}
h2 {
  font-size: var(--fs-h2);
  font-weight: 500;
  font-variation-settings: "opsz" 32;
  line-height: 1.18;
  letter-spacing: -.01em;
  max-width: 26ch;
}
h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  font-variation-settings: "opsz" 20;
  line-height: 1.3;
}
p { text-wrap: pretty; }
em { font-style: normal; font-weight: inherit; }

.hero em, .section--dark em { color: var(--gold); }
/* light sections: single-colour headings (green-600 read as faded text) */
.section--light em { color: inherit; }
/* keep the accent phrase on one line where the column is wide enough */
@media (min-width: 600px) { h2 em { white-space: nowrap; } }

/* Skip link + utilities */
.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--green-900);
  font: 600 .875rem/1 var(--font-sans);
  border-radius: 2px;
  transform: translateY(-200%);
}
.skip-link:focus, .skip-link:focus-visible { transform: none; outline: 2px solid var(--green-900); outline-offset: 2px; }
main:focus { outline: none; }
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

/* ---------- Layout ---------- */
.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--light { background: var(--paper); color: var(--text); }
.section--light h2, .section--light h3 { color: var(--green-800); }
.section--dark { background: var(--green-900); color: var(--ivory); }
.section__head { margin-bottom: var(--head-gap); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font: 600 .75rem/1.4 var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.eyebrow--dark, .section--light .eyebrow { color: var(--bronze); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  font: 600 .9375rem/1 var(--font-sans);
  letter-spacing: .01em;
  text-transform: none;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .875rem; }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--green-900); }
.btn--gold:hover { background: var(--gold-300); border-color: var(--gold-300); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: rgba(242, 239, 230, .5); }
.btn--ghost:hover { background: var(--ivory); border-color: var(--ivory); color: var(--green-900); }
.btn--primary { background: var(--green-800); border-color: var(--green-800); color: var(--paper); }
.btn--primary:hover { background: var(--green-900); border-color: var(--green-900); }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  color: var(--ivory);
  transition: background-color .25s, border-color .25s, box-shadow .25s;
}
.header.is-scrolled, .header.menu-open {
  background: var(--green-900);
  border-bottom-color: var(--line-gold);
}
.header.is-scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.brand__bars { width: 22px; height: 20px; fill: var(--gold); flex: none; }
.brand__name {
  font-family: var(--font-mark);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ivory);
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) {
  position: relative;
  padding: 8px 0;
  font: 500 .875rem/1 var(--font-sans);
  letter-spacing: .01em;
  color: var(--ivory);
  transition: color .2s var(--ease);
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease);
}
.nav a:not(.btn):hover, .nav a:not(.btn):focus-visible { color: var(--gold); }
.nav a:not(.btn):hover::after, .nav a:not(.btn):focus-visible::after { transform: scaleX(1); }
.nav__cta { margin-left: 8px; }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1px;
  background: var(--ivory);
  transition: transform .25s var(--ease);
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 1023px) {
  .burger { display: block; margin-left: auto; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--green-900);
    border-bottom: 1px solid var(--line-gold);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .25);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) {
    font-size: 1.0625rem;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin: 16px 0 0; width: 100%; min-height: 48px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--ivory);
  background: radial-gradient(90% 80% at 85% 0%, #12473A 0%, #0B3B2E 45%, #072A20 100%);
  padding: calc(var(--header-h) + clamp(3rem, 2rem + 5vw, 6rem)) 0 clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.hero__title {
  font-size: var(--fs-h1);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.1;
  letter-spacing: -.015em;
  max-width: 20ch;
  margin-bottom: 24px;
}
.hero__title em { display: block; }
.hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ivory-dim);
  max-width: 54ch;
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__visual { display: none; }

@media (min-width: 1024px) {
  .hero { min-height: min(88svh, 760px); display: flex; align-items: center; }
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; }
  .hero__visual {
    display: block;
    position: relative;
    justify-self: end;
    width: min(100%, 400px);
    height: auto;
    min-height: 420px;
    border: 1px solid var(--line-dark);
    background: radial-gradient(80% 70% at 70% 20%, rgba(46, 94, 80, .55), transparent 70%);
  }
  .hero__visual::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    width: 48px;
    height: 2px;
    background: var(--gold);
  }
}
.hero__facade {
  position: absolute;
  inset: 15% 0 0 0;
  background:
    repeating-linear-gradient(90deg, rgba(242, 239, 230, .12) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(0deg, rgba(242, 239, 230, .08) 0 1px, transparent 1px 30px);
  clip-path: polygon(0 100%, 0 45%, 28% 12%, 28% 45%, 55% 0, 55% 40%, 80% 22%, 100% 38%, 100% 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
}
.hero__bars {
  position: absolute;
  left: 50%;
  bottom: 56px;
  transform: translateX(-50%);
  height: 58%;
  display: flex;
  align-items: flex-end;
  gap: 18px;
}
.hero__bars::after {
  content: "";
  position: absolute;
  left: -32px;
  right: -32px;
  bottom: -1px;
  height: 1px;
  background: var(--line-gold);
}
.hero__bars i {
  display: block;
  width: 14px;
  background: var(--gold);
  transform-origin: bottom;
  animation: grow 1.2s var(--ease) both;
}
.hero__bars i:nth-child(1) { height: 55%; animation-delay: .1s; }
.hero__bars i:nth-child(2) { height: 100%; animation-delay: .2s; }
.hero__bars i:nth-child(3) { height: 70%; animation-delay: .3s; }
.hero__bars i:nth-child(4) { height: 92%; animation-delay: .4s; }
.hero__bars i:nth-child(5) { height: 62%; animation-delay: .5s; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

@media (max-width: 599px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- Serviços ---------- */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--green-800);
  padding: 28px 24px 32px;
  transition: box-shadow .2s var(--ease);
}
.card:hover { box-shadow: var(--shadow-2); }
.card__num {
  display: block;
  font: 600 .8125rem/1 var(--font-sans);
  letter-spacing: .08em;
  color: var(--bronze);
  font-variant-numeric: lining-nums tabular-nums;
  margin-bottom: 32px;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: .9375rem; line-height: 1.6; color: var(--text); }

@media (max-width: 1023px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
    padding: 20px 20px 22px;
  }
  .card__num { grid-row: 1 / span 2; margin: 0; padding-top: .35em; }
  .card h3 { margin-bottom: 6px; }
}

/* ---------- Clientes ---------- */
.logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.logos li {
  background: var(--green-900);
  height: 88px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 8px;
  font: 600 .8125rem/1.3 var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--subtle-dark);
}
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case {
  background: var(--green-800);
  border: 1px solid var(--line-gold);
  border-top: 2px solid var(--gold);
  padding: 32px 28px;
  transition: border-color .2s var(--ease);
}
.case:hover { border-color: var(--gold); }
.case__tag {
  display: block;
  font: 600 .75rem/1.4 var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.case__metric {
  display: block;
  font: 500 var(--fs-metric)/1 var(--font-serif);
  font-variation-settings: "opsz" 32;
  letter-spacing: -.01em;
  color: var(--ivory);
  font-variant-numeric: lining-nums tabular-nums;
  margin-bottom: 24px;
}
.case__metric::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 16px;
}
.case h3 { color: var(--ivory); margin-bottom: 8px; }
.case p { font-size: .9375rem; line-height: 1.6; color: var(--ivory-dim); }

@media (max-width: 1023px) {
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cases { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .case {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    grid-template-areas: "tag title" "metric text";
    column-gap: 32px;
    row-gap: 8px;
    align-items: start;
  }
  .case__tag { grid-area: tag; margin: 0; }
  .case__metric { grid-area: metric; margin: 0; }
  .case h3 { grid-area: title; margin: 0; }
  .case p { grid-area: text; }
}
@media (max-width: 599px) {
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos li { height: 72px; }
  .case { padding: 28px 24px; }
}

/* ---------- Sobre / método / números ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px 64px;
  margin-bottom: clamp(56px, 6vw, 88px);
  align-items: start;
}
.about p:not(.eyebrow) { font-size: var(--fs-lead); line-height: 1.6; color: var(--text); max-width: 60ch; }
.about p:not(.eyebrow) + p { margin-top: 16px; }
@media (min-width: 1024px) {
  .about { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .about > div:last-child { padding-top: 33px; }
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px 24px;
  margin-bottom: clamp(56px, 6vw, 88px);
}
.steps li { position: relative; border-top: 1px solid var(--line); padding-top: 24px; }
.steps li::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--green-800);
}
.steps span {
  display: block;
  font: 600 .8125rem/1 var(--font-sans);
  letter-spacing: .08em;
  color: var(--bronze);
  font-variant-numeric: lining-nums tabular-nums;
  margin-bottom: 16px;
}
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: .9375rem; line-height: 1.6; color: var(--text); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--green-800);
  color: var(--ivory);
  padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 56px);
  border-radius: 2px;
}
.stats div {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  border-left: 1px solid var(--line-dark);
}
.stats div:first-child { padding-left: 0; border-left: 0; }
.stats dd {
  order: 1;
  font: 500 var(--fs-stat)/1 var(--font-serif);
  font-variation-settings: "opsz" 32;
  letter-spacing: -.01em;
  color: var(--gold);
  font-variant-numeric: lining-nums tabular-nums;
}
.stats dd b { font-weight: 500; color: var(--ivory); }
.stats dt {
  order: 2;
  margin-top: 10px;
  font: 500 .8125rem/1.4 var(--font-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

@media (max-width: 1023px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .stats div:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 599px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
    padding-top: 20px;
  }
  .steps span { grid-row: 1 / span 2; margin: 0; padding-top: .35em; }
  .steps h3 { margin: 0 0 4px; }
  .stats div { padding: 0 0 0 16px; }
}

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px 72px; align-items: start; }
.contact h2 { color: var(--ivory); }
.contact__lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ivory-dim);
  max-width: 40ch;
  margin: 20px 0 40px;
}
.contact__list { margin-bottom: 40px; }
.contact__list li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line-dark);
  color: var(--ivory);
  overflow-wrap: anywhere;
}
.contact__list li:last-child { border-bottom: 1px solid var(--line-dark); }
.contact__list span {
  font: 600 .75rem/1.4 var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact__list a {
  display: inline-block;
  padding: 10px 0;
  margin: -10px 0;
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 95, .5);
  text-underline-offset: 4px;
  transition: color .2s var(--ease);
}
.contact__list a:hover { color: var(--gold); }
@media (min-width: 1024px) {
  .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

.form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  background: var(--white);
  color: var(--text);
  padding: clamp(24px, 3vw, 40px);
  border-radius: 4px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .22);
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}
.form__title { color: var(--green-800); margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.form label { font: 500 .875rem/1.4 var(--font-sans); color: var(--text); }
.field__opt { font-weight: 400; }
.field__error { font: 500 .8125rem/1.4 var(--font-sans); color: var(--error); }
.field__error:empty { display: none; }
.field__error::before { content: "\0021\00A0"; font-weight: 700; }
.form input, .form textarea {
  font: 400 1rem/1.4 var(--font-sans);
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--field);
  border-radius: 2px;
  padding: 12px 14px;
  min-height: 48px;
  width: 100%;
  min-width: 0;
}
.form textarea { min-height: 96px; resize: vertical; }
.form input:focus, .form textarea:focus,
.form input:focus-visible, .form textarea:focus-visible {
  border-color: var(--green-800);
  outline: 2px solid var(--green-800);
  outline-offset: 1px;
}
.form [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.form .btn { justify-self: start; }
.form__status { margin: 0; font-size: .875rem; line-height: 1.5; color: var(--green-800); }
.form__status.is-error { color: var(--error); }
@media (min-width: 600px) {
  .form { grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; }
  .form > * { grid-column: 1 / -1; }
  .form > .btn, .form > .form__status { grid-column: auto; align-self: center; }
}

@media (max-width: 599px) {
  .contact__list li { grid-template-columns: minmax(0, 1fr); }
  .contact .btn, .form .btn { width: 100%; justify-self: stretch; }
  .form__status:empty { margin-top: -16px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--green-950);
  border-top: 1px solid var(--line-gold);
  padding: 32px 0 88px;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--ivory-dim);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}
.footer .brand__name { font-size: 1.125rem; color: var(--ivory); }
@media (max-width: 1023px) {
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (min-width: 1024px) {
  .footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .footer__inner > :nth-child(2) { justify-self: center; }
  .footer__inner > :last-child { justify-self: end; }
}
@media (max-width: 599px) {
  .footer { padding-bottom: 96px; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  --focus: var(--gold);
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-800);
  border: 2px solid var(--gold);
  box-shadow: 0 6px 20px rgba(7, 42, 32, .28);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.wa-float:hover { background: var(--green-700); transform: scale(1.05); }
.wa-float:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--green-900), 0 6px 20px rgba(7, 42, 32, .28);
}
.wa-float svg { width: 24px; height: 24px; fill: var(--ivory); }
@media (max-width: 599px) {
  .wa-float { width: 48px; height: 48px; right: 16px; bottom: 16px; }
}

/* ---------- Motion ---------- */
/* hidden state only when JS is running (html.js is set inline in <head>) */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.cards > .reveal:nth-child(2), .cases > .reveal:nth-child(2), .steps > .reveal:nth-child(2) { transition-delay: .08s; }
.cards > .reveal:nth-child(3), .cases > .reveal:nth-child(3), .steps > .reveal:nth-child(3) { transition-delay: .16s; }
.cards > .reveal:nth-child(4), .cases > .reveal:nth-child(4), .steps > .reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
