:root {
  color-scheme: light;
  --ink: #211f1b;
  --muted: #756f64;
  --paper: #f7f3eb;
  --paper-strong: #eae2d5;
  --line: #d9cfbf;
  --charcoal: #141311;
  --accent: #b95b32;
  --accent-dark: #8e3f24;
  --olive: #4f604d;
  --white: #ffffff;
  --header-h: 72px;
  --content: 1180px;
  --radius: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

#empresa,
#servicos,
#portfolio,
#diferenciais,
#contato {
  scroll-margin-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 4.4vw, 56px);
  color: var(--white);
  transition: background 240ms ease, color 240ms ease, box-shadow 240ms ease, backdrop-filter 240ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  color: var(--ink);
  background: rgba(247, 243, 235, 0.93);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(30, 28, 25, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.24));
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 850;
  line-height: 0.95;
  white-space: nowrap;
}

.brand-copy {
  color: currentColor;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  font-size: 0.84rem;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
}

.site-nav a::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav .nav-cta {
  position: relative;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  overflow: hidden;
  animation: ctaGlow 2.8s ease-in-out infinite;
}

.site-nav .nav-cta::after {
  display: none;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--accent-dark);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-button span {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  transition: transform 220ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 90svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--charcoal);
}

.hero picture {
  position: absolute;
  inset: 0;
  transform: scale(1.06);
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 72% 36%, rgba(20, 19, 17, 0) 0%, rgba(20, 19, 17, 0.2) 38%, rgba(20, 19, 17, 0.62) 100%),
    linear-gradient(90deg, rgba(12, 11, 10, 0.91) 0%, rgba(12, 11, 10, 0.62) 43%, rgba(12, 11, 10, 0.18) 100%),
    linear-gradient(0deg, rgba(12, 11, 10, 0.78) 0%, rgba(12, 11, 10, 0) 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100% - 40px));
  margin: 0 0 clamp(50px, 7vw, 92px) clamp(20px, 7vw, 96px);
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.intro h2,
.section-heading h2,
.difference h2,
.partners h2,
.contact h2 {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 760;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.2rem, 6vw, 5.65rem);
  line-height: 0.92;
}

.hero-text {
  max-width: 580px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 600;
  line-height: 1.62;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 640px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-trust li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  font-weight: 800;
  animation: trustPulse 4.6s ease-in-out infinite;
}

.hero-trust li:nth-child(2) {
  animation-delay: 650ms;
}

.hero-trust li:nth-child(3) {
  animation-delay: 1300ms;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  position: relative;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  overflow: hidden;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button::after,
.site-nav .nav-cta::before,
.floating-whatsapp::after {
  position: absolute;
  content: "";
  inset: -45% -30%;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.42) 50%, transparent 64%);
  transform: translateX(-120%);
  pointer-events: none;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(185, 91, 50, 0.48);
  animation: ctaGlow 2.8s ease-in-out infinite;
}

.button.primary::after,
.site-nav .nav-cta::before,
.floating-whatsapp::after {
  animation: ctaShine 3.8s ease-in-out infinite;
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-dark);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
  animation: ghostBorder 3.4s ease-in-out infinite;
}

.button.ghost:hover,
.button.ghost:focus-visible {
  background: var(--white);
  color: var(--ink);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: clamp(22px, 4vw, 58px);
  bottom: 34px;
  width: 38px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.scroll-cue::after {
  position: absolute;
  content: "";
  left: 50%;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--white);
  transform: translateX(-50%);
  animation: scrollDot 1300ms ease-in-out infinite;
}

.conversion-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.conversion-strip div {
  position: relative;
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 28px clamp(20px, 5vw, 64px);
  background: var(--paper);
  overflow: hidden;
}

.conversion-strip div::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transform: translateX(-100%);
  animation: stripSweep 6s ease-in-out infinite;
}

.conversion-strip div:nth-child(2)::after {
  animation-delay: 900ms;
}

.conversion-strip div:nth-child(3)::after {
  animation-delay: 1800ms;
}

.conversion-strip strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.35rem, 2.3vw, 2.15rem);
  line-height: 1;
}

.conversion-strip span {
  max-width: 330px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
}

.quick-quote {
  background: var(--paper);
}

.quote-steps {
  max-width: var(--content);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-inline: auto;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.quote-steps div {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 210px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
}

.quote-steps span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 900;
  animation: ctaGlow 3.4s ease-in-out infinite;
}

.quote-steps strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.04;
}

.quote-steps p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.section {
  padding: clamp(74px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.intro > .section-kicker,
.intro-grid,
.section-heading,
.service-layout,
.portfolio-filter,
.gallery,
.difference > *,
.partners > *,
.contact > * {
  max-width: var(--content);
  margin-inline: auto;
}

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 310px);
  gap: clamp(34px, 7vw, 100px);
  align-items: end;
}

.intro-copy h2,
.section-heading h2,
.difference h2,
.partners h2,
.contact h2 {
  max-width: 880px;
  font-size: clamp(2.15rem, 4.35vw, 4.35rem);
  line-height: 1;
}

.intro-copy p,
.difference-copy p,
.partners-copy p,
.contact-copy p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.78;
}

.experience {
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}

.experience strong {
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--accent);
  font-size: clamp(3.8rem, 7.2vw, 6.6rem);
  font-weight: 850;
  line-height: 0.9;
}

.experience span {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.45;
}

.values {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: center;
  background: var(--charcoal);
  color: var(--white);
}

.values-media {
  min-height: clamp(460px, 66vw, 760px);
  overflow: hidden;
  border-radius: var(--radius);
}

.values-list {
  display: grid;
  gap: 30px;
}

.value-item {
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.value-item span {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.value-item p {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.05rem, 1.65vw, 1.45rem);
  font-weight: 600;
  line-height: 1.5;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(34px, 5vw, 64px);
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: start;
}

.section-cta {
  max-width: var(--content);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: clamp(30px, 5vw, 54px) auto 0;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.38);
}

.section-cta div {
  display: grid;
  gap: 6px;
}

.section-cta strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.5rem, 2.3vw, 2.3rem);
  line-height: 1.02;
}

.section-cta span {
  max-width: 650px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.section-cta .button {
  flex: 0 0 auto;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}

.service-image {
  aspect-ratio: 4 / 3;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.service-list li {
  min-height: 72px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  font-weight: 800;
  line-height: 1.35;
}

.portfolio {
  background: var(--paper-strong);
}

.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  font-size: 0.9rem;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.filter-button:hover,
.filter-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.filter-button.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  background: #ddd5c7;
  border-radius: var(--radius);
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  transition: transform 520ms var(--ease), filter 520ms var(--ease);
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.03);
}

.gallery-item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 28px);
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 12px;
  border-radius: 6px;
  background: rgba(17, 17, 15, 0.78);
  color: var(--white);
  font-size: 0.83rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.gallery-item figcaption a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.76rem;
  white-space: nowrap;
  animation: ctaGlow 3s ease-in-out infinite;
}

.gallery-item.is-hidden {
  display: none;
}

.difference {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(34px, 6vw, 82px);
  align-items: end;
  background: var(--olive);
  color: var(--white);
}

.difference .section-cta {
  grid-column: 1 / -1;
  width: 100%;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.difference .section-cta span {
  color: rgba(255, 255, 255, 0.78);
}

.difference .section-kicker {
  color: #f0b18e;
}

.difference-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.difference-points {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.difference-points span {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-size: clamp(1.03rem, 1.42vw, 1.22rem);
  font-weight: 800;
}

.local-seo {
  background: var(--paper);
}

.local-seo .section-heading p:not(.section-kicker) {
  max-width: 900px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  font-weight: 650;
  line-height: 1.78;
}

.seo-topics {
  background: var(--paper);
}

.topic-grid {
  max-width: var(--content);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-inline: auto;
}

.topic-grid a {
  display: grid;
  gap: 9px;
  min-height: 158px;
  align-content: start;
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.4);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.topic-grid a:hover,
.topic-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.68);
}

.topic-grid strong {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: clamp(1.25rem, 1.75vw, 1.75rem);
  line-height: 1.08;
}

.topic-grid span {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.faq {
  background: var(--paper-strong);
}

.faq-list {
  max-width: var(--content);
  display: grid;
  gap: 12px;
  margin-inline: auto;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.44);
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px clamp(18px, 3vw, 28px);
  color: var(--ink);
  font-weight: 900;
  line-height: 1.35;
}

.faq-list p {
  margin: 0;
  padding: 0 clamp(18px, 3vw, 28px) 22px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
}

.partners {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.partners-image {
  aspect-ratio: 16 / 8;
  min-height: 300px;
  overflow: hidden;
  border-radius: var(--radius);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.92fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
  background: var(--charcoal);
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.lead-box {
  display: grid;
  gap: 28px;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form label span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 0 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lead-form textarea {
  min-height: 112px;
  padding-block: 12px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(185, 91, 50, 0.24);
}

.submit-button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
  min-height: 54px;
}

.contact-actions {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-line {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-line span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-line strong {
  font-size: clamp(1.1rem, 1.75vw, 1.5rem);
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.site-footer {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: #080807;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer a {
  color: var(--white);
}

.floating-whatsapp {
  position: fixed;
  z-index: 25;
  right: 22px;
  bottom: 22px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  background: #1f9d5a;
  color: var(--white);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  font-size: 0.92rem;
  font-weight: 900;
  overflow: visible;
  isolation: isolate;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
  animation: whatsappGlow 2.4s ease-in-out infinite;
}

.floating-whatsapp::before {
  position: absolute;
  content: "";
  inset: -8px;
  border: 2px solid rgba(31, 157, 90, 0.48);
  border-radius: inherit;
  opacity: 0;
  animation: whatsappRing 2.4s ease-out infinite;
  pointer-events: none;
}

.floating-whatsapp::after {
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  transform: translateY(-2px);
  background: #187f49;
}

.floating-whatsapp.is-hidden,
body.menu-open .floating-whatsapp {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 680ms var(--ease), transform 680ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from {
    transform: scale(1.06) translate3d(-0.8%, -0.6%, 0);
  }

  to {
    transform: scale(1.12) translate3d(1.2%, 0.8%, 0);
  }
}

@keyframes ctaGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(185, 91, 50, 0.34), 0 14px 34px rgba(0, 0, 0, 0.12);
  }

  50% {
    box-shadow: 0 0 0 9px rgba(185, 91, 50, 0), 0 18px 44px rgba(0, 0, 0, 0.2);
  }
}

@keyframes ctaShine {
  0%,
  58% {
    transform: translateX(-120%);
  }

  78%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes ghostBorder {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0);
  }

  50% {
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  }
}

@keyframes trustPulse {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
  }

  50% {
    border-color: rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.12);
  }
}

@keyframes stripSweep {
  0%,
  55%,
  100% {
    opacity: 0;
    transform: translateX(-100%);
  }

  70% {
    opacity: 1;
  }

  86% {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes whatsappGlow {
  0%,
  100% {
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(31, 157, 90, 0.34);
  }

  50% {
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.34), 0 0 0 10px rgba(31, 157, 90, 0);
  }
}

@keyframes whatsappRing {
  0% {
    opacity: 0.65;
    transform: scale(0.82);
  }

  80%,
  100% {
    opacity: 0;
    transform: scale(1.16);
  }
}

@keyframes scrollDot {
  0%,
  100% {
    opacity: 0.45;
    transform: translate(-50%, 0);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, 20px);
  }
}

@media (max-width: 980px) {
  .brand {
    gap: 10px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand-copy {
    display: none;
  }

  .intro-grid,
  .values,
  .service-layout,
  .difference,
  .partners,
  .contact {
    grid-template-columns: 1fr;
  }

  .values-media {
    min-height: 540px;
  }

  .service-image,
  .partners-image {
    min-height: 280px;
  }

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

  .conversion-strip {
    grid-template-columns: 1fr;
  }

  .conversion-strip div {
    min-height: 112px;
  }

  .quote-steps {
    grid-template-columns: 1fr;
  }

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

  .quote-steps div {
    min-height: 150px;
  }

  .section-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .section-cta .button {
    width: 100%;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    padding: 14px 18px;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 8px 18px 22px;
    background: rgba(247, 243, 235, 0.98);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-cta {
    min-height: 48px;
    justify-content: flex-start;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--accent);
    box-shadow: none;
    animation: none;
    overflow: visible;
  }

  .site-nav .nav-cta::before {
    display: none;
  }

  .hero {
    min-height: 92svh;
  }

  .hero picture {
    left: -22%;
    width: 122%;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 11, 10, 0.9) 0%, rgba(12, 11, 10, 0.62) 58%, rgba(12, 11, 10, 0.22) 100%),
      linear-gradient(0deg, rgba(12, 11, 10, 0.78) 0%, rgba(12, 11, 10, 0) 46%);
  }

  .hero-content {
    margin: 0 18px 74px;
    width: calc(100% - 36px);
  }

  .hero h1 {
    font-size: clamp(2.65rem, 11vw, 3.8rem);
  }

  .hero-trust {
    gap: 8px;
  }

  .hero-trust li {
    min-height: 32px;
    font-size: 0.74rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding-block: 68px;
  }

  .intro-copy h2,
  .section-heading h2,
  .difference h2,
  .partners h2,
  .contact h2 {
    font-size: clamp(2.1rem, 10vw, 3.25rem);
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 300px;
  }

  .gallery-item figcaption {
    left: 10px;
    right: 10px;
    max-width: none;
    justify-content: space-between;
  }

  .topic-grid {
    grid-template-columns: 1fr;
  }

  .values-media {
    min-height: 460px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 92px;
  }

  .floating-whatsapp {
    left: 14px;
    right: 14px;
    bottom: 14px;
    min-height: 56px;
    font-size: 0.96rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
