/* SOCIUS — estilos do site
   Paleta da marca: ferrugem, creme, musgo, floresta e tinta. */

:root {
  --rust: #b5552d;
  --rust-dark: #9c4624;
  --rust-soft: #e3956f;
  --cream: #f3ebe2;
  --paper: #faf6f1;
  --sand: #e9dfd2;
  --moss: #3d4a3d;
  --forest: #263026;
  --forest-deep: #1c241c;
  --ink: #1d1d1b;
  --white: #ffffff;

  --text: #23251f;
  --text-muted: #5f5b52;
  --on-dark: #f3ebe2;
  --on-dark-muted: rgb(243 235 226 / 0.72);
  --line: rgb(29 29 27 / 0.12);
  --line-dark: rgb(243 235 226 / 0.16);

  --color-primary: var(--rust);
  --color-text: var(--text);
  --color-bg: var(--paper);

  --font-body: 'General Sans', 'Helvetica Neue', Arial, sans-serif;

  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  --text-xl: clamp(1.875rem, 1.2rem + 2.1vw, 3.125rem);
  --text-hero: clamp(2.375rem, 1.1rem + 3.9vw, 4.5rem);

  --space-20: 5.5rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-full: 999px;

  --header-h: 76px;
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --transition-interactive: 180ms cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-weight: 400;
  letter-spacing: -0.003em;
}

body.nav-open {
  overflow: hidden;
}

h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: -0.025em;
}

h2 {
  font-size: var(--text-xl);
  line-height: 1.08;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.25;
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--rust);
  color: var(--white);
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust-dark);
}
.eyebrow::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: currentColor;
}
.eyebrow-light {
  color: var(--rust-soft);
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--text);
}

/* ───────────── Botões ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.005em;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-sm {
  min-height: 2.75rem;
  padding: 0.6rem 1.25rem;
}
.btn-primary {
  background: var(--rust);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--rust-dark);
}
.btn-ghost {
  border-color: rgb(255 255 255 / 0.45);
  color: var(--white);
}
.btn-ghost:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: rgb(255 255 255 / 0.8);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--rust-dark);
  border-bottom: 1px solid rgb(156 70 36 / 0.35);
  padding-bottom: 0.2rem;
}
.text-link::after {
  content: '→';
  transition: transform var(--transition-interactive);
}
.text-link:hover {
  border-color: var(--rust-dark);
}
.text-link:hover::after {
  transform: translateX(3px);
}

/* ───────────── Cabeçalho ───────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition:
    background 240ms ease,
    box-shadow 240ms ease;
}
.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgb(28 36 28 / 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  margin-right: auto;
}
.brand-logo {
  width: 132px;
  height: auto;
}
.nav {
  display: none;
  gap: 2rem;
  font-size: var(--text-sm);
  font-weight: 500;
}
.nav a {
  position: relative;
  color: rgb(255 255 255 / 0.82);
  padding-block: 0.5rem;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
.nav a:hover {
  color: var(--white);
}
.nav a:hover::after {
  transform: scaleX(1);
}
.header-cta {
  display: none;
}
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.5rem;
  color: var(--white);
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
}
.nav-toggle .icon-close,
body.nav-open .nav-toggle .icon-open {
  display: none;
}
body.nav-open .nav-toggle .icon-close {
  display: block;
}

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 40;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem var(--gutter) 2rem;
  background: var(--forest-deep);
  color: var(--on-dark);
  overflow-y: auto;
}
body.nav-open .mobile-nav {
  display: flex;
}
.mobile-nav ul a {
  display: block;
  padding-block: 1.1rem;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--line-dark);
}

@media (width >= 1024px) {
  .nav,
  .header-cta {
    display: inline-flex;
  }
  .nav-toggle,
  .mobile-nav,
  body.nav-open .mobile-nav {
    display: none;
  }
}

/* ───────────── Hero ───────────── */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 3rem);
  color: var(--white);
  background: var(--forest-deep);
}
.hero-bg,
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-bg {
  z-index: -2;
}
.hero-bg img {
  object-fit: cover;
  object-position: 60% 50%;
  filter: saturate(0.82);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(20 26 20 / 0.78) 0%, rgb(20 26 20 / 0.42) 48%, rgb(20 26 20 / 0) 100%),
    linear-gradient(0deg, rgb(20 26 20 / 0.6) 0%, rgb(20 26 20 / 0) 38%),
    linear-gradient(180deg, rgb(20 26 20 / 0.45) 0%, rgb(20 26 20 / 0) 26%);
}
.hero-inner {
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.hero h1 {
  max-width: 17ch;
  font-size: var(--text-hero);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero-lead {
  max-width: 38rem;
  margin-top: 1.5rem;
  font-size: var(--text-lg);
  line-height: 1.55;
  color: rgb(255 255 255 / 0.82);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}
.hero-strip {
  border-top: 1px solid rgb(255 255 255 / 0.16);
  background: rgb(20 26 20 / 0.35);
  backdrop-filter: blur(6px);
}
.hero-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.hero-pillars li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding-block: 1.1rem;
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgb(255 255 255 / 0.85);
}
.hero-pillars span {
  font-variant-numeric: tabular-nums;
  color: var(--rust-soft);
  font-weight: 600;
}
@media (width >= 760px) {
  .hero-pillars {
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-pillars li {
    padding-block: 1.5rem;
    font-size: var(--text-sm);
  }
  .hero-pillars li + li {
    padding-left: 1.5rem;
    border-left: 1px solid rgb(255 255 255 / 0.16);
  }
}

/* ───────────── Seções ───────────── */
.section {
  position: relative;
  padding-block: clamp(4.5rem, 3rem + 7vw, 8.5rem);
}

/* Quem somos */
.about {
  background: var(--paper);
}
.about-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
.about-text h2 {
  max-width: 16ch;
  margin-bottom: 1.75rem;
}
.about-text p + p {
  margin-top: 1rem;
  color: var(--text-muted);
}
.about-text .text-link {
  margin-top: 2rem;
}
.about-media {
  position: relative;
  padding-bottom: 3rem;
}
.about-photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 5 / 4;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-inset {
  position: absolute;
  left: -0.5rem;
  bottom: 0;
  width: 30%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 6px solid var(--paper);
  box-shadow: 0 18px 40px -18px rgb(38 48 38 / 0.45);
}
.about-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}
@media (width >= 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
  }
  .about-inset {
    left: -3rem;
    width: 34%;
  }
}

/* Serviços */
.services {
  background: var(--forest);
  color: var(--on-dark);
}
.services-head {
  display: grid;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.services-head h2 {
  max-width: 18ch;
}
.services-photo {
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
}
.services-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services-list {
  display: grid;
  gap: 1rem;
}
.service {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.03);
}
.service-num {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--rust-soft);
}
.service h3 {
  font-size: 1.375rem;
  color: var(--white);
}
.service ul {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.service li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--on-dark-muted);
  line-height: 1.55;
}
.service li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.5rem;
  height: 1px;
  background: var(--rust-soft);
}
.service-capital {
  background: var(--rust);
  border-color: var(--rust);
}
.service-capital .service-num {
  color: var(--cream);
}
.service-capital li {
  color: rgb(255 255 255 / 0.9);
}
.service-capital li::before {
  background: var(--cream);
}
@media (width >= 760px) {
  .services-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (width >= 1024px) {
  .services-head {
    grid-template-columns: 1.15fr 1fr;
    gap: 5rem;
  }
}

/* Como trabalhamos */
.process {
  background: var(--cream);
}
.process-head {
  display: grid;
  gap: 1.5rem;
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.process-head .eyebrow {
  margin-bottom: 0;
}
.process-head h2 {
  max-width: 17ch;
}
.process-head > p:last-child {
  color: var(--text-muted);
  font-size: var(--text-lg);
  line-height: 1.6;
}
.steps {
  display: grid;
  gap: 2.25rem;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding-top: 2rem;
  border-top: 1px solid rgb(61 74 61 / 0.3);
}
.steps li::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rust);
}
.step-num {
  display: block;
  margin-bottom: 0.75rem;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--rust-dark);
}
.steps h3 {
  margin-bottom: 0.5rem;
  color: var(--moss);
}
.steps p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
}
@media (width >= 760px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2.5rem;
  }
}
@media (width >= 1024px) {
  .process-head {
    grid-template-columns: 1fr 1fr;
    column-gap: 5rem;
    align-items: end;
  }
  .process-head .eyebrow {
    grid-column: 1 / -1;
  }
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Para quem atuamos */
.audience {
  background: var(--paper);
}
.audience-head {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.audience-head h2 {
  max-width: 18ch;
}
.audience-grid {
  display: grid;
  gap: 2.5rem;
}
.audience-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.audience-card figure {
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
}
.audience-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}
.audience-card:hover img {
  transform: scale(1.03);
}
.audience-body h3 {
  margin-bottom: 0.4rem;
  color: var(--moss);
}
.audience-body p {
  color: var(--text-muted);
}
@media (width >= 760px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }
  .audience-card-lg {
    grid-column: 1 / -1;
  }
}
@media (width >= 1024px) {
  .audience-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
    column-gap: 2rem;
  }
  .audience-card-lg {
    grid-column: auto;
  }
  .audience-card figure {
    aspect-ratio: auto;
    height: clamp(320px, 30vw, 420px);
  }
}

/* Vantagens */
.advantages {
  background: var(--rust);
  color: var(--white);
}
.advantages .eyebrow-light {
  color: var(--cream);
}
.advantages-grid {
  display: grid;
  gap: 3rem;
}
.advantages-head h2 {
  max-width: 16ch;
}
.advantages-photo {
  margin-top: 2.5rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
}
.advantages-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lupa mágica: antes e depois */
.lens-reveal {
  --x: 50%;
  --y: 50%;
  --r: 0px;
  --zoom: 1.12;
  position: relative;
  isolation: isolate;
  touch-action: pan-y;
  cursor: crosshair;
  background: var(--forest);
  box-shadow: 0 24px 60px -28px rgb(0 0 0 / 0.55);
  user-select: none;
  -webkit-user-select: none;
}
.lens-reveal img {
  display: block;
  -webkit-user-drag: none;
  pointer-events: none;
}
.lens-after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: circle(var(--r) at var(--x) var(--y));
  -webkit-clip-path: circle(var(--r) at var(--x) var(--y));
  z-index: 1;
}
.lens-after img {
  transform: scale(var(--zoom));
  transform-origin: var(--x) var(--y);
}
.lens-ring {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  translate: -50% -50%;
  border-radius: 50%;
  border: 3px solid var(--cream);
  box-shadow:
    0 0 0 1px rgb(29 29 27 / 0.25),
    0 14px 34px rgb(0 0 0 / 0.38),
    inset 0 0 0 1px rgb(255 255 255 / 0.35),
    inset 0 0 28px rgb(0 0 0 / 0.25);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lens-reveal.is-lens .lens-ring {
  opacity: 1;
}
.lens-reveal.is-full .lens-ring {
  opacity: 0;
}
.lens-tag {
  position: absolute;
  top: 1rem;
  z-index: 3;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lens-tag-before {
  left: 1rem;
  background: rgb(250 246 241 / 0.92);
  color: var(--ink);
}
.lens-tag-after {
  left: 1rem;
  background: var(--rust);
  color: var(--white);
  opacity: 0;
}
.lens-reveal.is-lens .lens-tag-after,
.lens-reveal.is-full .lens-tag-after {
  opacity: 1;
}
.lens-reveal.is-lens .lens-tag-before,
.lens-reveal.is-full .lens-tag-before {
  opacity: 0;
}
.lens-bar {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  border-radius: 999px;
  background: rgb(29 29 27 / 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.8125rem;
  line-height: 1.3;
  transition: opacity 0.3s ease;
}
.lens-reveal.is-lens:not(.is-full) .lens-bar:not(:hover) {
  opacity: 0.35;
}
.lens-hint .hint-touch {
  display: none;
}
@media (hover: none) {
  .lens-hint .hint-mouse {
    display: none;
  }
  .lens-hint .hint-touch {
    display: inline;
  }
}
.lens-toggle {
  flex-shrink: 0;
  min-height: 36px;
  padding: 0.4rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.lens-toggle:hover {
  background: var(--white);
}
.lens-toggle[aria-pressed='true'] {
  background: var(--rust);
  color: var(--white);
}
.lens-toggle:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}
.lens-reveal.is-animating .lens-after {
  transition: clip-path 0.7s cubic-bezier(0.65, 0, 0.35, 1), -webkit-clip-path 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}
@media (prefers-reduced-motion: reduce) {
  .lens-reveal.is-animating .lens-after {
    transition: none;
  }
}
.advantages-list {
  display: grid;
  align-content: center;
}
.advantages-list li {
  display: grid;
  gap: 0.5rem;
  padding-block: 1.75rem;
  border-top: 1px solid rgb(255 255 255 / 0.28);
}
.advantages-list li:last-child {
  border-bottom: 1px solid rgb(255 255 255 / 0.28);
}
.advantages-list h3 {
  font-size: 1.375rem;
}
.advantages-list p {
  color: rgb(255 255 255 / 0.86);
}
@media (width >= 1024px) {
  .advantages-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
  .advantages-list li {
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: baseline;
    padding-block: 2.25rem;
  }
}

/* Contato */
.contact {
  background: var(--forest);
  color: var(--on-dark);
}
.contact-grid {
  display: grid;
  gap: 3rem;
}
.contact-copy h2 {
  max-width: 15ch;
  color: var(--white);
}
.contact-lead {
  margin-top: 1.5rem;
  font-size: var(--text-lg);
  color: var(--on-dark-muted);
}
.channels {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.channels:empty {
  display: none;
}
.channels li {
  display: grid;
  gap: 0.25rem;
}
.channels .label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust-soft);
}
.channels a {
  font-size: var(--text-lg);
  color: var(--white);
}
.channels a:hover {
  color: var(--rust-soft);
}

.form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--text);
}
.form-row {
  display: grid;
  gap: 1.25rem;
}
.field {
  display: grid;
  gap: 0.5rem;
}
.field label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--moss);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.125rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgb(61 74 61 / 0.22);
  border-radius: var(--radius-md);
  background: var(--white);
  font-size: 1rem;
  color: var(--text);
}
.field textarea {
  min-height: 7.5rem;
  resize: vertical;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgb(61 74 61 / 0.4);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgb(181 85 45 / 0.18);
}
.field textarea::placeholder {
  color: #8a857b;
}
.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.25rem;
}
.form-note {
  font-size: var(--text-xs);
  color: var(--text-muted);
}
.form-status {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background: var(--cream);
  color: var(--moss);
  font-size: var(--text-sm);
  font-weight: 500;
}
.form-status.is-visible {
  display: block;
}
@media (width >= 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (width >= 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 5rem;
    align-items: start;
  }
  .contact-copy {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

/* ───────────── Rodapé ───────────── */
.site-footer {
  padding-block: 4rem 2rem;
  background: var(--ink);
  color: rgb(243 235 226 / 0.7);
  font-size: var(--text-sm);
}
.footer-top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-logo {
  width: 150px;
  height: auto;
  margin-bottom: 1rem;
  color: var(--cream);
}
.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 0.85rem 3rem;
}
.footer-nav a {
  color: var(--cream);
}
.footer-nav a:hover {
  color: var(--rust-soft);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgb(243 235 226 / 0.12);
  font-size: var(--text-xs);
}
@media (width >= 760px) {
  .footer-top {
    grid-template-columns: 1fr auto;
  }
  .footer-nav ul {
    grid-template-columns: repeat(3, max-content);
  }
}

/* ───────────── Animações ───────────── */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 800ms var(--ease-out),
    transform 800ms var(--ease-out);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
.lens-reveal.is-full {
  --zoom: 1;
  cursor: default;
}
.lens-reveal.is-animating .lens-after img {
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

/* Campo anti-robô (invisível) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status a {
  color: var(--rust-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#form-enviar:disabled {
  opacity: 0.7;
  cursor: progress;
}

/* Contatos no rodapé */
.footer-contact {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.25rem;
}
.footer-contact a {
  color: var(--cream);
}
.footer-contact a:hover {
  color: var(--rust-soft);
}

/* Botão flutuante do WhatsApp */
.wa-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 56px;
  padding: 0 1.25rem 0 1rem;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  box-shadow: 0 10px 28px -8px rgb(0 0 0 / 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.wa-fab svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.wa-fab:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgb(0 0 0 / 0.5);
}
.wa-fab:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 3px;
}
@media (width < 760px) {
  .wa-fab {
    width: 56px;
    padding: 0;
    justify-content: center;
  }
  .wa-fab-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab,
  .wa-fab:hover {
    transition: none;
    transform: none;
  }
}
.site-footer {
  padding-bottom: 6.5rem;
}
