/* =================================================================
   Dedetizadora Dalver — Design System
   Paleta derivada da logo: âmbar #FFAD00 + grafite quente
   Tipografia: Inter Tight (herdada da referência)
================================================================= */

:root {
  /* Cores */
  --color-primary:        #262320;
  --color-primary-dark:   #17150F;
  --color-primary-light:  #3B372F;
  --color-accent:         #FFAD00;
  --color-accent-dark:    #D98F00;
  --color-on-accent:      #1F1B10;
  --color-text:           #3D3A34;
  --color-muted:          #6E6A61;
  --color-bg:             #F7F5F1;
  --color-white:          #FFFFFF;
  --color-divider:        rgba(38, 35, 32, 0.10);

  /* Tipografia */
  --font-base: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --topbar-h:  42px;
  --header-h:  75px;
  --radius:    14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Sombra */
  --shadow-sm: 0 4px 14px rgba(23, 21, 15, 0.08);
  --shadow-md: 0 12px 30px rgba(23, 21, 15, 0.12);
  --shadow-lg: 0 24px 60px rgba(23, 21, 15, 0.18);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-accent { color: var(--color-accent); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-lg { padding: 17px 34px; font-size: 16px; }

.btn-accent {
  background: var(--color-accent);
  color: var(--color-on-accent);
  box-shadow: 0 8px 20px rgba(255, 173, 0, 0.35);
}
.btn-accent:hover { background: var(--color-accent-dark); color: var(--color-on-accent); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 173, 0, 0.45); }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-divider);
}
.btn-ghost:hover { border-color: var(--color-primary); background: var(--color-primary); color: var(--color-white); }
.btn-ghost--light { color: var(--color-white); border-color: rgba(255,255,255,0.4); }
.btn-ghost--light:hover { background: var(--color-white); color: var(--color-primary); border-color: var(--color-white); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 42px; padding: 7px 0;
}
.topbar a { color: inherit; transition: color 0.2s; }
.topbar a:hover { color: var(--color-white); }
.topbar__list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar__list li { display: inline-flex; align-items: center; gap: 7px; }
.topbar__list i { color: var(--color-accent); font-size: 13px; }
.topbar__social { display: flex; align-items: center; gap: 14px; }
.topbar__social a { display: inline-grid; place-items: center; font-size: 16px; }
@media (max-width: 860px) {
  .topbar__list li:not(.is-key) { display: none; }
}

/* ---------- Header / Nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s, background 0.3s, padding 0.3s;
}
.header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, 0.96); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 0; transition: padding 0.3s;
}
.header.scrolled .nav { padding: 9px 0; }

.brand { display: inline-flex; align-items: center; }
.brand img { height: 52px; width: auto; transition: height 0.3s; }
.header.scrolled .brand img { height: 44px; }

.nav__menu { display: flex; align-items: center; gap: 6px; }
.nav__menu a {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; font-weight: 600; font-size: 15px;
  color: var(--color-primary); border-radius: var(--radius-pill);
  transition: color 0.2s, background 0.2s;
}
.nav__menu > li > a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 6px;
  height: 2px; background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.nav__menu a:hover { color: var(--color-accent-dark); }
.nav__menu > li > a:hover::after, .nav__menu > li > a.active::after { transform: scaleX(1); }

/* Submenu (Serviços) */
.nav__menu li.has-sub { position: relative; }
.nav__menu li.has-sub > a i { font-size: 11px; opacity: 0.6; transition: transform 0.25s; }
.sub-menu {
  position: absolute;
  top: 100%; left: 0;
  min-width: 280px;
  background: var(--color-white);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 10px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  z-index: 110;
}
.nav__menu li.has-sub:hover > .sub-menu,
.nav__menu li.has-sub:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(4px);
}
.nav__menu li.has-sub:hover > a i { transform: rotate(180deg); }
.sub-menu a {
  display: flex; width: 100%;
  padding: 10px 14px; font-size: 14.5px;
  border-radius: 10px;
}
.sub-menu a:hover { background: var(--color-bg); color: var(--color-accent-dark); }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__toggle {
  display: none; width: 46px; height: 46px;
  border: 1px solid var(--color-divider); background: var(--color-white);
  border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle span { position: relative; width: 20px; height: 2px; background: var(--color-primary); transition: 0.3s; }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--color-primary); transition: 0.3s;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
/* hero + statbar juntos ocupam exatamente a altura da tela */
.hero-stack {
  display: flex;
  flex-direction: column;
  min-height: calc(84vh - var(--topbar-h) - var(--header-h));
}
.hero {
  position: relative;
  background: var(--color-primary-dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 620px at 86% 6%, rgba(255, 173, 0, 0.32), transparent 56%),
    radial-gradient(760px 520px at 6% 104%, rgba(217, 143, 0, 0.24), transparent 60%),
    radial-gradient(540px 420px at 64% 96%, rgba(59, 55, 47, 0.34), transparent 62%),
    linear-gradient(102deg,
      rgba(23, 21, 15, 0.94) 0%,
      rgba(38, 35, 32, 0.84) 34%,
      rgba(38, 35, 32, 0.52) 66%,
      rgba(23, 21, 15, 0.30) 100%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  width: 100%;
  padding-block: clamp(28px, 4vw, 60px);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(4px);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero-badge i { color: var(--color-accent); }
.hero-title {
  color: var(--color-white);
  font-size: clamp(2rem, 4.0vw, 2.75rem);
  font-weight: 800;
  line-height: 1.02;
  max-width: 720px;
  margin-bottom: 16px;
}
.hero-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.5;
  max-width: 580px;
  margin-bottom: 28px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-cta .btn-ghost { color: var(--color-white); border-color: rgba(255,255,255,0.4); }
.hero-cta .btn-ghost:hover { background: var(--color-white); color: var(--color-primary); border-color: var(--color-white); }

.hero-scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.hero-scroll span {
  width: 1px; height: 38px;
  background: linear-gradient(var(--color-accent), transparent);
  animation: scrolldown 1.8s ease-in-out infinite;
}
@keyframes scrolldown {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}
@media (max-width: 600px) { .hero-scroll { display: none; } }

/* ---------- Statbar (faixa de indicadores colada ao hero) ---------- */
.statbar {
  background: var(--color-primary);
  color: #fff;
  position: relative;
  z-index: 2;
}
.statbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 34px 24px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.10);
  position: relative;
}
.stat:last-child { border-right: none; }
.stat__num {
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #FFD879, var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  margin-top: 8px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .statbar__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, 0.10); }
}

/* ---------- Sections genéricas ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--color-white); }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent-dark);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--color-accent); }

.section-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 18px;
}
.section-title--light { color: var(--color-white); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-lead { color: var(--color-muted); font-size: 1.1rem; }

/* ---------- Sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 76px);
  align-items: center;
}
.about-content p { margin-bottom: 16px; color: var(--color-muted); }
.about-content .section-title { text-align: left; }
.about-highlights { margin: 24px 0 30px; display: grid; gap: 12px; }
.about-highlights li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--color-text); }
.about-highlights i { color: var(--color-accent-dark); font-size: 18px; }

/* ---------- Sobre · collage de imagens ---------- */
.about-media { position: relative; }
.about-collage {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  aspect-ratio: 59 / 70;
}
.about-collage__img {
  position: absolute;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.about-collage__img--1 {
  top: 0; right: 0;
  width: 70%; height: 75%;
  object-position: center 22%;
  z-index: 1;
}
.about-collage__img--2 {
  bottom: 0; left: 0;
  width: 76%; height: 66%;
  object-position: center 40%;
  z-index: 2;
  border: 7px solid var(--color-bg);
}
.about-collage__bug {
  position: absolute;
  top: 13%; left: 7%;
  width: 20%;
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 12px 18px rgba(23, 21, 15, 0.28));
  animation: bugFloat 4.5s ease-in-out infinite;
}
@keyframes bugFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}
.about-badge {
  position: absolute;
  left: 70%; top: 75%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: clamp(118px, 17vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-accent);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}
.about-badge__ring {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  animation: spin 20s linear infinite;
}
.about-badge__ring text {
  fill: #fff;
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.about-badge__core {
  width: 54%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-white);
  display: grid;
  place-items: center;
}
.about-badge__core img { width: 76%; height: auto; }
.about-badge__core i { font-size: clamp(26px, 4vw, 38px); color: var(--color-primary); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .about-collage__bug, .about-badge__ring { animation: none; }
}

/* ---------- Serviços ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.section--alt .service-card { background: var(--color-bg); }
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 18px;
  background: rgba(38, 35, 32, 0.07);
  color: var(--color-primary);
  font-size: 26px;
  margin-bottom: 22px;
  transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--color-accent); color: var(--color-on-accent); transform: rotate(-6deg); }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: var(--color-muted); font-size: 0.98rem; }
a.service-card { display: block; }
.service-card .card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 16px; font-weight: 600; font-size: 0.92rem;
  color: var(--color-accent-dark);
}
.service-card:hover .card-link { gap: 12px; }
.service-card .card-link i { transition: var(--transition); }

/* ---------- Diferenciais ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.feature-box {
  display: flex;
  gap: 18px;
  background: var(--color-white);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
}
.feature-box:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.feature-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--color-primary);
  color: var(--color-accent);
  font-size: 22px;
}
.feature-box h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feature-box p { color: var(--color-muted); font-size: 0.96rem; }
.feature-box--cta {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.feature-box--cta h3 { color: var(--color-white); font-size: 1.3rem; }
.feature-box--cta p { color: rgba(255,255,255,0.82); }

/* ---------- Áreas ---------- */
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}
.areas-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-pill);
  padding: 13px 24px;
  font-weight: 600;
  color: var(--color-primary);
  transition: var(--transition);
}
.section--alt .areas-list li { background: var(--color-bg); }
.areas-list li:hover { background: var(--color-primary); color: var(--color-white); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.areas-list i { color: var(--color-accent-dark); }
.areas-list li:hover i { color: var(--color-accent); }

/* ---------- CTA / Contato ---------- */
.cta-section {
  padding: 96px 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,173,0,0.16), transparent 45%),
    linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: var(--color-white);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta-content p { color: rgba(255,255,255,0.85); margin-bottom: 30px; font-size: 1.1rem; }
.cta-content .section-title { text-align: left; }
.cta-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.cta-info { display: grid; gap: 18px; }
.cta-info li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.cta-info i {
  font-size: 22px;
  color: var(--color-accent);
  width: 26px;
  margin-top: 3px;
}
.cta-info span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 4px;
}
.cta-info a, .cta-info p { color: var(--color-white); font-weight: 600; display: block; }
.cta-info a:hover { color: var(--color-accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary-dark); color: rgba(255,255,255,0.75); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding: 70px 24px 50px;
}
.footer-logo { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 0.95rem; margin-bottom: 22px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  transition: var(--transition);
}
.footer-social a:hover { background: var(--color-accent); color: var(--color-on-accent); transform: translateY(-3px); }
.footer-col h4 { color: var(--color-white); font-size: 1.05rem; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a:hover { color: var(--color-accent); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.footer-contact i { color: var(--color-accent); margin-top: 4px; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 26px 0; font-size: 0.9rem; }
.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.footer-bottom a { color: var(--color-accent); font-weight: 600; }
.footer-webformas {
  display: block;
  margin: 0 auto;
  opacity: 1;
  width: auto;
  height: auto;
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  animation: pulse 2.4s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Banner LGPD / Cookies ---------- */
.cookie-banner {
  position: fixed;
  left: 24px; bottom: 24px;
  z-index: 130;
  max-width: 400px;
  background: var(--color-white);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px 26px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s, transform 0.35s;
}
.cookie-banner.show { opacity: 1; transform: translateY(0); }
.cookie-banner h3 { font-size: 1.05rem; margin-bottom: 8px; }
.cookie-banner p { font-size: 0.88rem; color: var(--color-muted); margin-bottom: 16px; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner__actions .btn { padding: 10px 20px; font-size: 14px; }
@media (max-width: 520px) {
  .cookie-banner { left: 16px; right: 16px; bottom: 16px; max-width: none; }
}

/* ---------- Animações de scroll ---------- */
.animate { opacity: 0; transform: translateY(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .animate { opacity: 1; transform: none; transition: none; }
  .hero-scroll, .whatsapp-float { animation: none; }
  html { scroll-behavior: auto; }
}

/* =================================================================
   Responsivo
================================================================= */
@media (max-width: 1024px) {
  .nav__actions .btn { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 360px);
    background: var(--color-white);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 96px 18px 24px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    overflow: auto;
    z-index: 120;
  }
  body.nav-open .nav__menu { transform: translateX(0); }
  .nav__menu a { padding: 14px 16px; font-size: 17px; }
  .nav__menu > li > a::after { display: none; }
  /* submenu sempre visível dentro do menu mobile */
  .sub-menu {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 6px 14px;
  }
  .sub-menu a { font-size: 15.5px; padding: 10px 16px; color: var(--color-muted); }
  .nav__menu li.has-sub > a { pointer-events: none; }
  .nav__menu li.has-sub > a i { display: none; }
  .nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(23, 21, 15, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 115;
  }
  body.nav-open .nav__overlay { opacity: 1; visibility: visible; }
}

@media (max-width: 992px) {
  .about-grid, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-content { order: 1; }
  .about-media { order: 2; }
  .services-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .section { padding: 70px 0; }

  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .section-head { margin-bottom: 40px; }
  .services-grid, .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: left; }
  .cta-buttons { flex-direction: column; }
  .cta-buttons .btn { width: 100%; }
}

/* =================================================================
   PÁGINAS INTERNAS — componentes compartilhados
================================================================= */

/* ---------- Utilidades ---------- */
.container--narrow { max-width: 880px; }
.section--tight { padding: 72px 0; }
.text-center { text-align: center; }

/* ---------- Page hero (banner topo das páginas internas) ---------- */
.page-hero {
  position: relative;
  background: var(--color-primary-dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(30px, 6vw, 38px) 0 clamp(43px, 4vw, 35px);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(820px 560px at 88% 4%, rgba(255, 173, 0, 0.28), transparent 56%),
    radial-gradient(620px 460px at 4% 102%, rgba(59, 55, 47, 0.36), transparent 60%),
    linear-gradient(102deg, rgba(23, 21, 15, 0.96) 0%, rgba(38, 35, 32, 0.86) 48%, rgba(23, 21, 15, 0.78) 100%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page-hero__inner { position: relative; max-width: 100%; }
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.06;
  margin-bottom: 16px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 0.4vw, 1.15rem);
  max-width: 80%;
  margin-bottom: 6px;
}
.page-hero .btn { margin-top: 26px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 18px;
}
.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 9px; opacity: 0.55; }
.breadcrumb [aria-current] { color: var(--color-accent); font-weight: 600; }

/* ---------- Prose (blocos de texto) ---------- */
.prose p { color: var(--color-muted); margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--color-text); }

/* lista com check */
.check-list { display: grid; gap: 12px; margin: 6px 0 4px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--color-text); font-weight: 500; }
.check-list i { color: var(--color-accent-dark); font-size: 17px; margin-top: 4px; flex-shrink: 0; }

/* ---------- Bloco intro com texto centralizado ---------- */
.intro-block { max-width: 800px; margin: 0 auto; text-align: center; }
.intro-block .section-title { text-align: center; }
.intro-block p { color: var(--color-muted); font-size: 1.08rem; }

/* ---------- História (texto + imagem) ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.split-grid .section-title { text-align: left; }
.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Missão, Visão, Valores ---------- */
.mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mvv-card {
  background: var(--color-white);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.section--alt .mvv-card { background: var(--color-bg); }
.mvv-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.mvv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mvv-card:hover::before { transform: scaleX(1); }
.mvv-card .feature-icon { margin-bottom: 20px; border-radius: 16px; }
.mvv-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.mvv-card p { color: var(--color-muted); font-size: 0.98rem; }

/* ---------- Banda destaque ---------- */
.highlight-band {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(34px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}
.highlight-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(540px 360px at 92% 8%, rgba(255, 173, 0, 0.18), transparent 60%);
  pointer-events: none;
}
.highlight-band > * { position: relative; }
.highlight-band .section-title { color: #fff; text-align: left; }
.highlight-band p { color: rgba(255, 255, 255, 0.85); }
.highlight-band .badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.highlight-band .badge-row span {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-pill);
  padding: 10px 18px; font-weight: 600; font-size: 0.92rem;
}
.highlight-band .badge-row i { color: var(--color-accent); }

/* ---------- Navegação por âncoras ---------- */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 8px;
  max-width: 940px;
}
.anchor-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-white);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-weight: 600; font-size: 0.92rem;
  color: var(--color-primary);
  transition: var(--transition);
}
.anchor-nav a:hover { background: var(--color-primary); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.anchor-nav i { color: var(--color-accent-dark); }
.anchor-nav a:hover i { color: var(--color-accent); }

/* ---------- Detalhe de serviço ---------- */
.service-detail { scroll-margin-top: 100px; }
.service-detail + .service-detail { margin-top: 60px; padding-top: 60px; border-top: 1px solid var(--color-divider); }
.service-detail__head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.service-detail__head .service-icon { margin: 0; width: 58px; height: 58px; font-size: 24px; }
.service-detail__head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.service-detail__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: start;
}
.service-detail__grid h3 {
  font-size: 1.05rem;
  color: var(--color-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 22px 0 8px;
}
.service-detail__grid h3:first-child { margin-top: 0; }
.service-detail__grid p { color: var(--color-muted); }
.service-aside {
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: sticky;
  top: 100px;
}
.section--alt .service-aside { background: var(--color-white); }
.service-aside h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-primary); margin-bottom: 14px; }
.service-aside .check-list { margin-bottom: 22px; }
.service-aside .tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.service-aside .tag-row span {
  font-size: 0.8rem; font-weight: 600; color: var(--color-primary);
  background: var(--color-divider); border-radius: var(--radius-pill); padding: 6px 13px;
}
.service-aside .btn { width: 100%; }
.service-aside__img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
}
.service-aside__img img { width: 100%; height: 180px; object-fit: cover; }

/* ---------- Segmentos ---------- */
.segment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.segment-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.section--alt .segment-card { background: var(--color-bg); }
.segment-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.segment-card__icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: rgba(38, 35, 32, 0.07);
  color: var(--color-primary);
  font-size: 24px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.segment-card:hover .segment-card__icon { background: var(--color-accent); color: var(--color-on-accent); transform: rotate(-6deg); }
.segment-card h2, .segment-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.segment-card p { color: var(--color-muted); font-size: 0.96rem; margin-bottom: 22px; flex: 1; }
.segment-card .btn { align-self: flex-start; }

/* ---------- Pilares ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.pillar-card {
  display: flex; gap: 20px;
  background: var(--color-white);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  transition: var(--transition);
}
.section--alt .pillar-card { background: var(--color-bg); }
.pillar-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pillar-card .feature-icon { background: var(--color-accent); color: var(--color-on-accent); }
.pillar-card h2, .pillar-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.pillar-card p { color: var(--color-muted); font-size: 0.96rem; margin-bottom: 14px; }
.pillar-card .check-list li { font-size: 0.94rem; font-weight: 500; }

/* ---------- Pragas / Doenças (hub / accordion) ---------- */
.praga-list { display: grid; gap: 16px; max-width: 940px; margin: 0 auto; }
.praga {
  background: var(--color-white);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.praga[open] { box-shadow: var(--shadow-md); }
.praga > summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.praga > summary::-webkit-details-marker { display: none; }
.praga__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 13px;
  background: rgba(38, 35, 32, 0.07);
  color: var(--color-primary);
  font-size: 20px;
  transition: var(--transition);
}
.praga[open] .praga__icon { background: var(--color-accent); color: var(--color-on-accent); }
.praga__name { flex: 1; font-weight: 700; color: var(--color-primary); font-size: 1.12rem; letter-spacing: -0.01em; }
.praga__chev { color: var(--color-muted); transition: transform 0.3s; }
.praga[open] .praga__chev { transform: rotate(180deg); color: var(--color-accent-dark); }
.praga__content { padding: 4px 24px 26px 90px; }
.praga__content > p { color: var(--color-muted); margin-bottom: 18px; }
.praga__block { margin-bottom: 16px; }
.praga__block:last-child { margin-bottom: 0; }
.praga__block h4 {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--color-accent-dark); margin-bottom: 6px;
}
.praga__block p { color: var(--color-muted); font-size: 0.96rem; }
.praga__block ul { display: grid; gap: 6px; margin-top: 6px; }
.praga__block li { position: relative; padding-left: 18px; color: var(--color-muted); font-size: 0.95rem; }
.praga__block li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); }
@media (max-width: 600px) { .praga__content { padding-left: 24px; } }

/* ---------- Contato ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(34px, 4vw, 56px);
  align-items: start;
}
.contact-info { display: grid; gap: 18px; align-content: start; }
.contact-info .lead { color: var(--color-muted); font-size: 1.05rem; margin-bottom: 6px; }
.contact-info__item {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--color-white);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.contact-info__item i { font-size: 22px; color: var(--color-accent-dark); width: 26px; margin-top: 3px; }
.contact-info__item span { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-muted); margin-bottom: 4px; }
.contact-info__item a, .contact-info__item p { color: var(--color-primary); font-weight: 600; display: block; }
.contact-info__item a:hover { color: var(--color-accent-dark); }

.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.5vw, 44px);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--color-primary); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-divider);
  border-radius: var(--radius);
  padding: 13px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 173, 0, 0.18);
}
.contact-form .btn { width: 100%; }
.contact-form .btn[disabled] { opacity: 0.65; cursor: wait; }
.form-note { font-size: 0.85rem; color: var(--color-muted); margin-top: 14px; text-align: center; }

/* reCAPTCHA */
.form-recaptcha { margin-bottom: 18px; }
@media (max-width: 400px) {
  .form-recaptcha .g-recaptcha { transform: scale(0.85); transform-origin: 0 0; }
}

/* feedback do envio (erro / enviando) */
.form-feedback { display: none; margin-bottom: 18px; padding: 14px 18px; border-radius: var(--radius); font-size: 0.93rem; font-weight: 500; }
.form-feedback.is-error { display: block; background: rgba(214, 69, 51, 0.08); border: 1px solid rgba(214, 69, 51, 0.35); color: #B3402F; }
.form-feedback.is-sending { display: block; background: rgba(255, 173, 0, 0.10); border: 1px solid rgba(255, 173, 0, 0.4); color: #8A6200; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-divider);
  line-height: 0;
}
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Página Obrigado / 404 ---------- */
.status-page {
  min-height: calc(100vh - var(--topbar-h) - var(--header-h));
  display: flex;
  align-items: center;
  text-align: center;
  padding: 80px 0;
}
.status-page__inner { max-width: 620px; margin: 0 auto; }
.status-page__icon {
  width: 92px; height: 92px;
  margin: 0 auto 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 173, 0, 0.14);
  color: var(--color-accent-dark);
  font-size: 40px;
}
.status-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.status-page p { color: var(--color-muted); margin-bottom: 28px; }
.status-page .btn + .btn { margin-left: 12px; }
@media (max-width: 520px) {
  .status-page .btn { width: 100%; }
  .status-page .btn + .btn { margin: 12px 0 0; }
}

/* ---------- Responsivo páginas internas ---------- */
@media (max-width: 992px) {
  .split-grid { grid-template-columns: 1fr; gap: 36px; }
  .mvv-grid, .segment-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail__grid { grid-template-columns: 1fr; gap: 26px; }
  .service-aside { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .mvv-grid, .segment-grid, .pillar-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .praga > summary { padding: 16px 18px; gap: 14px; }
  .praga__content { padding: 4px 18px 22px; }
}

/* ============================================================
 * Shiny WhatsApp CTA — botão com borda animada e shimmer
 * Padrão manancialpiscina, paleta verde do WhatsApp
 * ============================================================ */
@property --shiny-angle        { syntax: "<angle>";      initial-value: 0deg; inherits: false; }
@property --shiny-angle-offset { syntax: "<angle>";      initial-value: 0deg; inherits: false; }
@property --shiny-percent      { syntax: "<percentage>"; initial-value: 5%;   inherits: false; }
@property --shiny-shine        { syntax: "<color>";      initial-value: #ffffff; inherits: false; }

.btn-shiny-wa {
  --wa-bg-from: #128C7E;
  --wa-bg-to: #25D366;
  --wa-bg-subtle: #0e6b5f;
  --wa-fg: #ffffff;
  --wa-highlight: #4ade80;
  --wa-highlight-subtle: #bbf7d0;
  --shiny-duration: 3s;
  --shiny-shadow-size: 2px;
  --shiny-transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);

  isolation: isolate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;
  padding: 14px 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--wa-fg);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
  background:
    linear-gradient(45deg, transparent 25%, rgba(255,255,255,0.7) 50%, transparent 75%, transparent 100%) padding-box,
    linear-gradient(135deg, var(--wa-bg-from), var(--wa-bg-to)) padding-box,
    conic-gradient(
      from calc(var(--shiny-angle) - var(--shiny-angle-offset)),
      transparent,
      var(--wa-highlight) var(--shiny-percent),
      var(--shiny-shine) calc(var(--shiny-percent) * 2),
      var(--wa-highlight) calc(var(--shiny-percent) * 3),
      transparent calc(var(--shiny-percent) * 4)
    ) border-box;
  background-size: 250% 250%, 100% 100%, 100% 100%;
  background-position: 200% 0, 0 0, 0 0;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px var(--wa-bg-subtle), 0 8px 22px rgba(18, 140, 126, 0.35);
  transition:
    --shiny-angle-offset var(--shiny-transition),
    --shiny-percent var(--shiny-transition),
    --shiny-shine var(--shiny-transition),
    box-shadow var(--shiny-transition),
    transform var(--shiny-transition),
    background-position 1000ms ease;
}

.btn-shiny-wa::before,
.btn-shiny-wa::after,
.btn-shiny-wa > span::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  z-index: -1;
}

.btn-shiny-wa:active { translate: 0 1px; }

/* Padrão de pontinhos */
.btn-shiny-wa::before {
  --size: calc(100% - var(--shiny-shadow-size) * 3);
  --position: 2px;
  --space: calc(var(--position) * 2);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(
    circle at var(--position) var(--position),
    #ffffff calc(var(--position) / 4),
    transparent 0
  ) padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  -webkit-mask-image: conic-gradient(from calc(var(--shiny-angle) + 45deg), black, transparent 10% 90%, black);
          mask-image: conic-gradient(from calc(var(--shiny-angle) + 45deg), black, transparent 10% 90%, black);
  border-radius: inherit;
  opacity: 0.35;
  z-index: -1;
}

/* Shimmer interno */
.btn-shiny-wa::after {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(-50deg, transparent, var(--wa-highlight), transparent);
  -webkit-mask-image: radial-gradient(circle at bottom, transparent 40%, black);
          mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.55;
}

.btn-shiny-wa > span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-base);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  padding: 3px 0;
}
.btn-shiny-wa > span i { flex-shrink: 0; font-size: 18px; }

.btn-shiny-wa > span::before {
  width: 300%;
  height: 300%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 90%,
    var(--wa-highlight) 0%,
    rgba(74, 222, 128, 0.35) 30%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--shiny-transition);
  animation: calc(var(--shiny-duration) * 1.5) shiny-breathe linear infinite;
}

.btn-shiny-wa,
.btn-shiny-wa::before,
.btn-shiny-wa::after {
  animation: shiny-angle linear infinite var(--shiny-duration),
             shiny-angle calc(var(--shiny-duration) / 0.4) linear infinite reverse paused;
  animation-composition: add;
}

.btn-shiny-wa:is(:hover, :focus-visible) {
  --shiny-percent: 20%;
  --shiny-angle-offset: 95deg;
  --shiny-shine: var(--wa-highlight-subtle);
  background-position: -100% 0, 0 0, 0 0;
  box-shadow: inset 0 0 0 1px var(--wa-bg-subtle), 0 12px 28px rgba(37, 211, 102, 0.45);
}
.btn-shiny-wa:is(:hover, :focus-visible),
.btn-shiny-wa:is(:hover, :focus-visible)::before,
.btn-shiny-wa:is(:hover, :focus-visible)::after { animation-play-state: running; }
.btn-shiny-wa:is(:hover, :focus-visible) > span::before { opacity: 1; }

@keyframes shiny-angle   { to { --shiny-angle: 360deg; } }
@keyframes shiny-breathe { from, to { scale: 1; } 50% { scale: 1.2; } }

/* Variante menor — usada no header */
.btn-shiny-wa--sm { padding: 10px 22px; }
.btn-shiny-wa--sm > span { font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  .btn-shiny-wa,
  .btn-shiny-wa::before,
  .btn-shiny-wa::after,
  .btn-shiny-wa > span::before { animation: none; }
}

/* Integração do shiny com os layouts existentes */
.service-aside .btn-shiny-wa { width: 100%; }
.status-page .btn-shiny-wa + .btn,
.status-page .btn + .btn-shiny-wa { margin-left: 12px; }
@media (max-width: 1024px) {
  .nav__actions .btn-shiny-wa { display: none; }
}
@media (max-width: 768px) {
  .hero-cta .btn-shiny-wa,
  .cta-buttons .btn-shiny-wa { width: 100%; }
}
@media (max-width: 520px) {
  .status-page .btn-shiny-wa { width: 100%; }
  .status-page .btn-shiny-wa + .btn,
  .status-page .btn + .btn-shiny-wa { margin: 12px 0 0; }
}

/* ---------- Page hero com imagem de fundo + overlay em degradê ---------- */
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.page-hero--bg::before {
  background:
    radial-gradient(820px 560px at 88% 4%, rgba(255, 173, 0, 0.10), transparent 56%),
    linear-gradient(96deg,
      rgba(23, 21, 15, 0.97) 0%,
      rgba(23, 21, 15, 0.93) 34%,
      rgba(23, 21, 15, 0.72) 55%,
      rgba(23, 21, 15, 0.42) 75%,
      rgba(23, 21, 15, 0.22) 100%);
}
@media (max-width: 768px) {
  .page-hero--bg::before {
    background: linear-gradient(102deg, rgba(23, 21, 15, 0.96) 0%, rgba(23, 21, 15, 0.86) 100%);
  }
}
