/* ============================================
   Saneadora Ambiental — Design System
   ============================================ */

:root {
  /* Cores */
  --color-primary: #0a192f;
  --color-primary-container: #0d1c32;
  --color-on-primary: #ffffff;
  --color-on-primary-container: #76849f;
  --color-secondary: #006c49;
  --color-secondary-emerald: #10b981;
  --color-on-secondary: #ffffff;
  --color-on-secondary-variant: #005236;
  --color-secondary-container: #6cf8bb;
  --color-surface: #f7f9fb;
  --color-surface-alt: #f8fafc;
  --color-white: #ffffff;
  --color-on-surface: #191c1e;
  --color-on-surface-variant: #44474d;
  --color-outline: #75777e;
  --color-outline-variant: #c5c6cd;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;

  /* Tipografia */
  --font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  --text-headline-xl: 3rem;
  --text-headline-xl-mobile: 2rem;
  --text-headline-lg: 2rem;
  --text-headline-md: 1.5rem;
  --text-body-lg: 1.125rem;
  --text-body-md: 1rem;
  --text-label: 0.875rem;
  --text-caption: 0.75rem;

  /* Espaçamento */
  --space-unit: 8px;
  --container-max: 1280px;
  --gutter: clamp(16px, 4vw, 24px);
  --margin-mobile: 16px;
  --section-gap-lg: clamp(72px, 10vw, 120px);
  --section-gap-md: clamp(56px, 8vw, 80px);

  /* Formas */
  --radius-sm: 0.125rem;
  --radius: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-full: 9999px;

  /* Elevação */
  --shadow-subtle: 0 20px 40px rgba(10, 25, 47, 0.1);
  --shadow-card-hover: 0 20px 40px rgba(10, 25, 47, 0.08);

  /* Navbar */
  --navbar-height: clamp(64px, 10vw, 72px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
  overflow-x: clip;
}

body {
  font-family: var(--font-family);
  font-size: var(--text-body-md);
  line-height: 1.6;
  color: var(--color-on-surface);
  background-color: var(--color-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img,
picture {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

address {
  font-style: normal;
}

/* Utilitários */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--gutter);
  z-index: 9999;
  padding: 12px 24px;
  background: var(--color-secondary-emerald);
  color: var(--color-white);
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

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

.container--narrow {
  max-width: 800px;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, background-color 0.2s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-on-primary);
}

.btn--primary:hover {
  opacity: 0.9;
}

.btn--whatsapp {
  background: transparent;
  color: #25d366;
  border: 2px solid #25d366;
}

.btn--whatsapp:hover {
  background: rgba(37, 211, 102, 0.1);
  color: #1ebe57;
  border-color: #1ebe57;
}

.btn--cta {
  background: var(--color-secondary-emerald);
  color: var(--color-white);
  padding: 16px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-subtle);
}

.btn--cta:hover {
  background: var(--color-on-secondary-variant);
}

.btn--sm {
  padding: 10px 20px;
}

.btn--full {
  width: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--navbar-height);
  background: rgba(247, 249, 251, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-outline-variant);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.navbar__title {
  display: block;
  font-size: clamp(1rem, 3.5vw, var(--text-headline-md));
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.navbar__menu {
  display: none;
  align-items: center;
  gap: 32px;
}

.navbar__menu a {
  font-size: var(--text-body-md);
  color: var(--color-on-surface-variant);
  transition: color 0.2s;
}

.navbar__menu a:hover,
.navbar__menu a:focus-visible {
  color: var(--color-secondary);
}

.navbar__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-primary);
}

.navbar__toggle .material-symbols-outlined {
  font-size: 28px;
}

.navbar--open .navbar__menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  background: var(--color-white);
  padding: 24px var(--gutter);
  padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  gap: 20px;
  border-bottom: 1px solid var(--color-outline-variant);
  box-shadow: var(--shadow-subtle);
  max-height: calc(100svh - var(--navbar-height));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Hero */
.hero {
  position: relative;
  min-height: max(520px, 88svh);
  display: flex;
  align-items: flex-start;
  padding-top: var(--navbar-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--color-primary-container);
}

.hero__img {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
  object-fit: cover;
  object-position: center center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 25, 47, 0.72) 0%, rgba(10, 25, 47, 0.28) 42%, rgba(10, 25, 47, 0.08) 68%, transparent 100%),
    linear-gradient(90deg, rgba(10, 25, 47, 0.45) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 48px 72px;
  max-width: 640px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-full);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__badge .material-symbols-outlined {
  font-size: 16px;
  font-variation-settings: 'FILL' 1;
  color: var(--color-secondary-container);
}

.hero__title {
  font-size: clamp(1.625rem, 5vw, var(--text-headline-xl));
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(10, 25, 47, 0.45);
  text-wrap: balance;
}

.hero__subtitle {
  font-size: clamp(1rem, 2.5vw, var(--text-body-lg));
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 32px;
  max-width: 520px;
  text-shadow: 0 1px 12px rgba(10, 25, 47, 0.35);
}

.hero__actions {
  margin-bottom: 32px;
}

.hero__social-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--color-white);
  opacity: 0.9;
}

.hero__stars {
  color: #6ffbbe;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

/* Seções */
.section {
  padding-block: var(--section-gap-md);
}

.section--white {
  background: var(--color-white);
}

.section--surface {
  background: var(--color-surface);
}

.section__header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section__title {
  font-size: clamp(1.375rem, 4vw, var(--text-headline-lg));
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary-container);
  margin-bottom: 16px;
  text-wrap: balance;
}

.section__divider {
  width: 80px;
  height: 4px;
  margin-inline: auto;
  background: var(--color-secondary-emerald);
  border-radius: var(--radius-full);
}

/* Cards de Serviço */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gutter);
}

.card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 32px);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  border-top: 2px solid var(--color-secondary-emerald);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background: rgba(13, 28, 50, 0.05);
  border-radius: var(--radius-lg);
  color: var(--color-secondary);
}

.service-card__icon .material-symbols-outlined {
  font-size: 28px;
}

.service-card__title {
  font-size: var(--text-headline-md);
  font-weight: 600;
  margin-bottom: 16px;
}

.service-card__label {
  font-size: var(--text-caption);
  font-weight: 500;
  color: var(--color-on-surface-variant);
  margin-bottom: 4px;
  margin-top: 12px;
}

.service-card__label:first-of-type {
  margin-top: 0;
}

.service-card p:not(.service-card__label) {
  margin-bottom: 4px;
}

.cta-card {
  background: var(--color-primary-container);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
}

.cta-card__title {
  font-size: var(--text-headline-md);
  font-weight: 600;
  color: var(--color-white);
}

/* Diferenciais */
.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}

.feature {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.feature + .feature {
  margin-top: 32px;
}

.feature__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 108, 73, 0.1);
  border-radius: var(--radius-full);
  color: var(--color-secondary);
}

.feature__icon .material-symbols-outlined {
  font-variation-settings: 'FILL' 1;
}

.feature__title {
  font-size: var(--text-headline-md);
  font-weight: 600;
  margin-bottom: 8px;
}

.feature p {
  color: var(--color-on-surface-variant);
}

.diferenciais-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  margin: 0;
  aspect-ratio: 4 / 3;
  width: 100%;
  max-width: 100%;
}

.diferenciais-image__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.diferenciais-image__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  background: linear-gradient(to top, var(--color-primary-container), transparent);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.diferenciais-image__caption strong {
  font-size: var(--text-headline-md);
  font-weight: 600;
}

.diferenciais-image__caption span {
  opacity: 0.8;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-secondary);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  background: var(--color-surface-alt);
}

.faq-item p {
  padding: 0 24px 20px;
  color: var(--color-on-surface-variant);
}

/* Divisor ondulado entre seções */
.section-wave {
  position: relative;
  z-index: 1;
  height: clamp(56px, 8vw, 88px);
  background: var(--color-white);
  overflow: hidden;
  line-height: 0;
}

.section-wave__flow {
  display: flex;
  width: 200%;
  height: 100%;
  animation: section-wave-flow 28s linear infinite;
  will-change: transform;
}

.section-wave__flow svg {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  display: block;
}

.section-wave__flow path {
  fill: var(--color-primary-container);
}

@keyframes section-wave-flow {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Contato */
.section--contact {
  position: relative;
  padding-block: var(--section-gap-lg);
  background: var(--color-primary-container);
  margin-top: -2px;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.contact-info {
  max-width: 640px;
  text-align: center;
}

.contact-info__cta {
  margin-top: 32px;
}

.contact-info__title {
  font-size: clamp(1.625rem, 5vw, var(--text-headline-xl));
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 24px;
  text-wrap: balance;
}

.contact-info__text {
  font-size: clamp(1rem, 2.5vw, var(--text-body-lg));
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.contact-form-wrapper {
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-subtle);
}

.contact-form__title {
  font-size: var(--text-headline-lg);
  font-weight: 700;
  color: var(--color-primary-container);
  margin-bottom: 8px;
}

.contact-form__subtitle {
  color: var(--color-on-surface-variant);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-on-surface-variant);
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-outline-variant);
  border-radius: var(--radius);
  background: var(--color-white);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid {
  border-color: #ba1a1a;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.form-error {
  display: block;
  font-size: var(--text-caption);
  color: #ba1a1a;
  margin-top: 6px;
  min-height: 18px;
}

.form-success {
  margin-top: 16px;
  padding: 12px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--color-on-secondary-variant);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 500;
}

/* Footer */
.footer {
  position: relative;
  background: linear-gradient(165deg, var(--color-primary-container) 0%, var(--color-primary) 100%);
  color: rgba(255, 255, 255, 0.85);
  padding-block: 56px 28px;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-secondary-emerald));
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__name {
  font-size: var(--text-headline-md);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer__tagline {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  max-width: 440px;
}

.footer__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.footer__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  font-size: var(--text-label);
  color: rgba(255, 255, 255, 0.9);
}

.footer__trust-item .material-symbols-outlined {
  font-size: 18px;
  color: var(--color-secondary-emerald);
}

.footer__contact {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 28px;
}

.footer__heading {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer__contact-list {
  list-style: none;
}

.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.footer__contact-list li:last-child {
  margin-bottom: 0;
}

.footer__contact-list .material-symbols-outlined {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 20px;
  color: var(--color-secondary-emerald);
}

.footer__contact a {
  color: var(--color-white);
  transition: color 0.2s ease;
}

.footer__contact a:hover {
  color: var(--color-secondary-emerald);
}

.footer__contact a.is-copied {
  color: var(--color-secondary-emerald);
  cursor: default;
}

.footer__whatsapp {
  width: 100%;
  margin-top: 24px;
  justify-content: center;
  background: #25d366;
  color: var(--color-white);
  border: none;
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  font-weight: 600;
}

.footer__whatsapp:hover {
  background: #1ebe57;
  color: var(--color-white);
  border-color: transparent;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: var(--text-caption);
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s ease;
}

.footer__bottom a:hover {
  color: var(--color-secondary-emerald);
}

/* WhatsApp flutuante */
.whatsapp-widget {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  right: max(24px, env(safe-area-inset-right, 0px));
  z-index: 900;
  width: 72px;
  height: 72px;
}

.whatsapp-widget__pulse {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.whatsapp-widget__ring {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0;
  animation: whatsapp-pulse 2.4s ease-out infinite;
}

.whatsapp-widget__ring:nth-child(2) {
  animation-delay: 0.8s;
  border-color: var(--color-secondary-emerald);
}

.whatsapp-widget__ring:nth-child(3) {
  animation-delay: 1.6s;
  border-color: var(--color-primary-container);
}

.whatsapp-widget__decor {
  position: absolute;
  inset: -18px;
  pointer-events: none;
}

.whatsapp-widget__orbit-icon {
  position: absolute;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.12);
  color: var(--color-secondary);
}

.whatsapp-widget__orbit-icon .material-symbols-outlined {
  font-size: 16px;
}

.whatsapp-widget__orbit-icon--1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-primary-container);
  animation: whatsapp-float-badge-center 3s ease-in-out infinite;
}

.whatsapp-widget__orbit-icon--2 {
  bottom: 8px;
  left: -4px;
  color: var(--color-secondary-emerald);
  animation: whatsapp-float-badge 3s ease-in-out infinite 1s;
}

.whatsapp-widget__orbit-icon--3 {
  bottom: 8px;
  right: -4px;
  color: var(--color-on-secondary-variant);
  animation: whatsapp-float-badge 3s ease-in-out infinite 2s;
}

.whatsapp-float {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: var(--color-white);
  border-radius: 50%;
  border: 3px solid var(--color-white);
  box-shadow:
    0 8px 24px rgba(37, 211, 102, 0.45),
    0 0 0 4px rgba(16, 185, 129, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: whatsapp-bounce 2.4s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow:
    0 12px 32px rgba(37, 211, 102, 0.55),
    0 0 0 6px rgba(16, 185, 129, 0.2);
  animation-play-state: paused;
}

.whatsapp-float__icon {
  width: 34px;
  height: 34px;
}

.whatsapp-float__brand {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 2px solid var(--color-primary-container);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.2);
  animation: whatsapp-brand-pulse 2s ease-in-out infinite;
}

.whatsapp-float__brand img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  padding: 8px 14px;
  background: var(--color-primary-container);
  color: var(--color-white);
  font-size: var(--text-caption);
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  border-radius: var(--radius-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: var(--shadow-subtle);
}

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--color-primary-container);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes whatsapp-bounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes whatsapp-float-badge {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes whatsapp-float-badge-center {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-6px);
  }
}

@keyframes whatsapp-brand-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}

/* Animações de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__content > * {
  animation: fadeInUp 0.6s ease-out both;
}

.hero__badge { animation-delay: 0.1s; }
.hero__title { animation-delay: 0.2s; }
.hero__subtitle { animation-delay: 0.3s; }
.hero__actions { animation-delay: 0.4s; }
.hero__social-proof { animation-delay: 0.5s; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Media Queries — Mobile first refinements */

/* Telas pequenas (smartphones) */
@media (max-width: 479px) {
  .btn--cta {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.8125rem;
  }

  .hero__actions .btn--cta {
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }

  .hero__badge {
    font-size: 0.6875rem;
    padding: 6px 12px;
  }

  .hero__social-proof {
    font-size: var(--text-label);
  }

  .navbar__menu .btn--sm {
    width: 100%;
    justify-content: center;
  }

  .faq-item summary {
    padding: 16px 18px;
    font-size: var(--text-label);
    gap: 12px;
  }

  .faq-item p {
    padding: 0 18px 16px;
    font-size: var(--text-label);
  }

  .footer__contact {
    padding: 20px;
  }

  .footer__trust {
    gap: 8px;
  }

  .footer__trust-item {
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  .whatsapp-widget {
    bottom: 16px;
    right: 16px;
    width: 60px;
    height: 60px;
  }

  .whatsapp-widget__decor {
    display: none;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
  }

  .whatsapp-float__icon {
    width: 28px;
    height: 28px;
  }

  .whatsapp-float__tooltip {
    display: none;
  }

  .cta-card {
    padding: 24px;
  }

  .diferenciais-image {
    aspect-ratio: 3 / 2;
  }

  .diferenciais-image__img {
    object-position: center 30%;
  }
}

/* Mobile e tablets pequenos */
@media (max-width: 767px) {
  .hero {
    min-height: max(480px, 85svh);
  }

  .hero__img {
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    transform: none;
    object-fit: cover;
    object-position: center center;
  }

  .hero__content {
    padding-block: clamp(24px, 5vw, 32px) clamp(40px, 8vw, 56px);
    max-width: 100%;
  }

  .hero__overlay {
    background:
      linear-gradient(180deg, rgba(10, 25, 47, 0.88) 0%, rgba(10, 25, 47, 0.55) 45%, rgba(10, 25, 47, 0.2) 75%, transparent 100%);
  }

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

  .diferenciais-image {
    order: -1;
    max-width: 100%;
    margin-inline: auto;
  }

  .feature {
    gap: 16px;
  }

  .feature__title {
    font-size: 1.125rem;
  }

  .contact-info__cta {
    width: 100%;
  }

  .section--contact {
    padding-block: var(--section-gap-md);
  }
}

/* Tablets */
@media (min-width: 768px) {
  .navbar__toggle {
    display: none;
  }

  .navbar__menu {
    display: flex;
  }

  .navbar--open .navbar__menu {
    position: static;
    flex-direction: row;
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
  }

  .hero__content {
    padding-block: 72px 96px;
    max-width: 680px;
  }

  .hero__img {
    object-position: center center;
  }

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

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .contact-form-wrapper {
    padding: 48px;
  }

  .footer__grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: start;
  }

  .footer__contact {
    margin-left: auto;
    max-width: 400px;
  }

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .diferenciais-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .section {
    padding-block: var(--section-gap-lg);
  }

  .hero {
    min-height: max(600px, 92svh);
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .diferenciais-grid {
    gap: 64px;
  }
}

/* Telas largas */
@media (min-width: 1280px) {
  .hero__content {
    max-width: 720px;
  }
}

/* Orientação paisagem em mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-bottom: 32px;
  }

  .hero__content {
    padding-block: 24px 32px;
  }

  .hero__title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .hero__subtitle {
    font-size: 0.9375rem;
    margin-bottom: 16px;
  }

  .hero__actions {
    margin-bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .section-wave__flow {
    width: 100%;
    animation: none;
    transform: none;
  }

  .section-wave__flow svg:last-child {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
