/* ==========================================================================
   Miratech — Componentes
   ========================================================================== */

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--color-accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  box-shadow: var(--shadow-1);
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease,
    border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.btn:hover {
  background: var(--color-accent-strong);
  color: var(--white);
  box-shadow: var(--shadow-2);
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn--sm {
  padding: 0.7rem 1.1rem;
  font-size: 0.88rem;
}

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

.btn--primary:hover {
  background: var(--color-accent-strong);
  color: var(--white);
}

.btn--lg {
  padding: 1rem 1.7rem;
  font-size: 1rem;
}

.btn--dark {
  background: var(--navy-800);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--navy-900);
}

.btn--ghost {
  border-color: var(--color-border-strong);
  background: var(--white);
  color: var(--navy-800);
  box-shadow: none;
}

.btn--ghost:hover {
  border-color: var(--color-border-strong);
  background: var(--slate-100);
  color: var(--navy-800);
}

.btn--whatsapp {
  background: var(--wa-500);
  color: var(--white);
  box-shadow: 0 10px 20px -8px rgba(37, 211, 102, 0.55);
}

.btn--whatsapp:hover {
  background: var(--wa-600);
  color: var(--white);
}

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

.btn--link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-accent);
  box-shadow: none;
  font-size: var(--fs-sm);
}

.btn--link:hover {
  background: none;
  box-shadow: none;
  color: var(--color-accent-strong);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--dur) ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: var(--header-h);
  transition: min-height var(--dur) ease;
}

.site-header.is-scrolled .header-inner {
  min-height: var(--header-h-compact);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 0.7rem;
}

.brand__logo {
  width: auto;
  height: 46px;
  object-fit: contain;
  transition: height var(--dur) ease;
}

.site-header.is-scrolled .brand__logo {
  height: 40px;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding-block: 0.4rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--navy-800);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-800);
  transition: background-color var(--dur-fast) ease;
}

.menu-toggle:hover {
  background: var(--slate-100);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.menu-toggle__close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
  display: block;
}

.nav-mobile {
  border-top: 1px solid var(--color-border);
  background: var(--white);
  padding: 1rem var(--gutter) 1.5rem;
  box-shadow: var(--shadow-2);
}

.nav-mobile ul {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-mobile a:not(.btn) {
  display: block;
  padding: 0.8rem 0.25rem;
  border-bottom: 1px solid var(--slate-100);
  color: var(--color-text-muted);
  font-weight: 500;
}

.nav-mobile a:not(.btn):hover {
  color: var(--color-accent);
}

.nav-mobile .btn {
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   Aviso de configuração (apenas ambiente local)
   -------------------------------------------------------------------------- */

.setup-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--color-warning-border);
  background: var(--color-warning-bg);
  color: var(--color-warning-text);
  font-size: var(--fs-xs);
  text-align: center;
}

.setup-banner code {
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  background: rgba(146, 64, 14, 0.1);
  font-size: 0.78rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 68%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 37, 64, 0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.18;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}

.hero::after {
  content: "";
  position: absolute;
  top: -18%;
  right: -12%;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.16) 0%, transparent 62%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero__content {
  max-width: 640px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--color-text-muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-1);
}

.hero__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wa-500);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.16);
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero__accent {
  position: relative;
  z-index: 0;
  isolation: isolate;
  color: var(--color-accent);
  white-space: nowrap;
}

.hero__accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.28em;
  border-radius: 2px;
  background: var(--cyan-400);
  opacity: 0.35;
  z-index: -1;
}

.hero__lead {
  max-width: 34rem;
  color: var(--color-text-muted);
  font-size: var(--fs-lead);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.hero__tags li {
  color: var(--color-text-soft);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.hero__tags li:not(:last-child)::after {
  content: "·";
  margin-left: 0.5rem;
  color: var(--slate-300);
}

.hero__media {
  position: relative;
  max-width: 540px;
  width: 100%;
  margin-inline: auto;
}

.hero__frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-3);
}

.hero__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 6s var(--ease-out);
}

.hero__frame:hover img {
  transform: scale(1.04);
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(6, 18, 31, 0.82) 100%);
  pointer-events: none;
}

.hero__caption {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1;
  color: var(--white);
}

.hero__caption-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-xs);
  background: rgba(7, 26, 46, 0.82);
  color: var(--cyan-400);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.hero__caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero__float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(8px);
  animation: float-card 6s ease-in-out infinite;
}

.hero__float--1 {
  top: -1.5rem;
  left: -2rem;
}

.hero__float--2 {
  right: -1.75rem;
  bottom: 2.5rem;
  animation-delay: -3s;
}

.hero__float-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--blue-100);
  color: var(--color-accent);
}

.hero__float-icon--green {
  background: #e9fbf0;
  color: #128a4a;
}

.hero__float-icon svg {
  width: 20px;
  height: 20px;
}

.hero__float strong {
  display: block;
  color: var(--navy-800);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.hero__float span {
  color: var(--color-text-soft);
  font-size: 0.72rem;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

.trust-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-1);
}

.trust-strip li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-inline: 0.75rem;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.trust-strip li:not(:last-child) {
  border-right: 1px solid var(--color-border);
}

.trust-strip svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Serviços
   -------------------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease,
    border-color var(--dur) ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-2);
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.15rem;
  border-radius: var(--radius-md);
  background: var(--slate-100);
  color: var(--color-accent);
}

.icon-badge svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin-bottom: 0.5rem;
}

.service-card > p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.check-list svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 0.12rem;
  color: var(--color-accent);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1.35rem;
  color: var(--color-accent);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-fast) ease;
}

.service-card__link:hover svg {
  transform: translateX(3px);
}

.service-card--dark {
  border-color: var(--navy-800);
  background: linear-gradient(150deg, var(--navy-800) 0%, var(--navy-900) 100%);
  color: var(--white);
}

.service-card--dark h3 {
  color: var(--white);
}

.service-card--dark > p,
.service-card--dark .check-list li {
  color: var(--slate-300);
}

.service-card--dark .icon-badge {
  background: rgba(0, 212, 255, 0.12);
  color: var(--cyan-400);
}

.service-card--dark .check-list svg,
.service-card--dark .service-card__link {
  color: var(--cyan-400);
}

.service-card--dark .service-card__link:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   Públicos
   -------------------------------------------------------------------------- */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.audience-card {
  display: flex;
  flex-direction: column;
  padding: 1.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-1);
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}

.audience-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-2);
}

.audience-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  border-radius: var(--radius-md);
  background: var(--blue-100);
  color: var(--color-accent);
}

.audience-card__icon svg {
  width: 24px;
  height: 24px;
}

.audience-card p {
  margin-top: 0.5rem;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

.audience-card .check-list {
  margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   Diferenciais
   -------------------------------------------------------------------------- */

.diffs {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.diffs__intro h2 {
  margin-bottom: 1rem;
}

.diffs__intro p {
  color: var(--color-text-muted);
}

.diffs__intro .btn {
  margin-top: 1.75rem;
}

.diffs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.diff-card {
  padding: 1.35rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-1);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) ease;
}

.diff-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
}

.diff-card svg {
  width: 24px;
  height: 24px;
  margin-bottom: 0.85rem;
  color: var(--color-accent);
}

.diff-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.diff-card p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

.diff-card--cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-color: var(--navy-800);
  background: linear-gradient(150deg, var(--navy-800) 0%, var(--navy-950) 100%);
}

.diff-card--cta h3 {
  color: var(--white);
}

.diff-card--cta p {
  color: var(--slate-300);
}

.diff-card--cta .btn {
  margin-top: 1.1rem;
}

/* --------------------------------------------------------------------------
   Como funciona
   -------------------------------------------------------------------------- */

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--slate-200), var(--blue-100), var(--slate-200));
}

.step {
  position: relative;
  z-index: 1;
  padding: 0 0.5rem;
  text-align: center;
}

.step__number {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1.1rem;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: var(--shadow-1);
}

.step h3 {
  margin-bottom: 0.4rem;
  font-size: 1.02rem;
}

.step p {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Galeria
   -------------------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  height: clamp(380px, 44vw, 520px);
}

.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--slate-100);
  box-shadow: var(--shadow-1);
}

.gallery__item--lg {
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease-out);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 18, 31, 0.78) 100%);
  pointer-events: none;
}

.gallery__caption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.05rem;
  z-index: 1;
  color: var(--white);
}

.gallery__caption span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--cyan-400);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery__caption strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
}

.gallery__note {
  margin-top: 1rem;
  color: var(--color-text-soft);
  font-size: var(--fs-xs);
  text-align: right;
}

/* --------------------------------------------------------------------------
   Área de atendimento
   -------------------------------------------------------------------------- */

.coverage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.75rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, var(--navy-800) 0%, var(--navy-950) 100%);
  color: var(--white);
  box-shadow: var(--shadow-3);
}

.coverage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 212, 255, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}

.coverage::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.coverage__intro,
.coverage__cards {
  position: relative;
  z-index: 1;
}

.coverage h2 {
  margin-bottom: 1rem;
  color: var(--white);
}

.coverage__intro p {
  color: var(--slate-300);
}

.coverage__region {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.coverage__region svg {
  width: 18px;
  height: 18px;
  color: var(--cyan-400);
}

.coverage__cards {
  display: grid;
  gap: 0.85rem;
}

.coverage-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
}

.coverage-card svg {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--cyan-400);
}

.coverage-card h3 {
  margin-bottom: 0.25rem;
  color: var(--white);
  font-size: 1rem;
}

.coverage-card p {
  color: var(--slate-300);
  font-size: var(--fs-sm);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.container--narrow {
  width: min(100% - (var(--gutter) * 2), 840px);
  margin-inline: auto;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: border-color var(--dur) ease, box-shadow var(--dur) ease;
}

.faq__item.is-open {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-2);
}

.faq__heading {
  margin: 0;
  font-size: inherit;
}

.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.15rem 1.35rem;
  border: 0;
  background: none;
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

.faq__trigger:hover {
  color: var(--color-accent);
}

.faq__icon {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--color-accent);
  transition: transform var(--dur) var(--ease-out);
}

.faq__item.is-open .faq__icon {
  transform: rotate(180deg);
}

.faq__panel {
  padding: 0 1.35rem 1.35rem;
  border-top: 1px solid var(--slate-100);
  padding-top: 1rem;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Contato
   -------------------------------------------------------------------------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact__info h2 {
  margin-bottom: 1rem;
}

.contact__info > p {
  color: var(--color-text-muted);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-1);
  color: var(--navy-800);
  transition: border-color var(--dur) ease, background-color var(--dur) ease, box-shadow var(--dur) ease;
}

a.contact-card:hover {
  border-color: #bfe9cf;
  background: #f3fcf7;
  color: var(--navy-800);
  box-shadow: var(--shadow-2);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--radius-sm);
  background: var(--blue-100);
  color: var(--color-accent);
}

.contact-card__icon--whatsapp {
  background: var(--wa-500);
  color: var(--white);
}

.contact-card__icon--navy {
  background: var(--navy-800);
  color: var(--white);
}

.contact-card__icon svg {
  width: 22px;
  height: 22px;
}

.contact-card__label {
  display: block;
  color: var(--color-text-soft);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}

.contact__region {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.contact__region svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

/* Formulário */

.contact__form-wrap {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-2);
}

.contact__form-wrap h3 {
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
}

.contact__form-wrap > p {
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--navy-800);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.field label .req {
  color: var(--color-danger);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy-800);
  font-size: 0.94rem;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.4rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--slate-400);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: var(--shadow-focus);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.field__error {
  display: none;
  color: var(--color-danger);
  font-size: 0.75rem;
  line-height: 1.4;
}

.field.has-error .field__error {
  display: block;
}

.field--check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.2rem 0.65rem;
}

.field--check input {
  grid-column: 1;
  grid-row: 1;
  width: 18px;
  min-width: 18px;
  min-height: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--color-accent);
}

.field--check label {
  grid-column: 2;
  grid-row: 1;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.5;
}

.field--check .field__error {
  grid-column: 2;
  grid-row: 2;
}

.field--check a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid #bfe9cf;
  border-radius: var(--radius-sm);
  background: #f3fcf7;
  color: #166534;
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.form-status.is-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.form-privacy {
  margin-top: 0.85rem;
  color: var(--color-text-soft);
  font-size: 0.72rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy-800);
  color: var(--slate-300);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.footer__logo {
  display: inline-flex;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-md);
  background: var(--white);
}

.footer__logo img {
  width: auto;
  height: 44px;
}

.footer__brand p {
  max-width: 22rem;
  margin-top: 1.1rem;
  color: var(--slate-400);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

.footer__social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transition: background-color var(--dur-fast) ease;
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.footer__social svg {
  width: 19px;
  height: 19px;
}

.footer__col h3 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__col a,
.footer__col li {
  color: var(--slate-400);
  font-size: var(--fs-sm);
}

.footer__col a:hover {
  color: var(--white);
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.5;
}

.footer__contact svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 0.18rem;
  color: var(--cyan-400);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--slate-400);
  font-size: var(--fs-xs);
}

.footer__bottom a {
  color: var(--slate-300);
}

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

/* --------------------------------------------------------------------------
   WhatsApp flutuante
   -------------------------------------------------------------------------- */

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--wa-500);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-3), 0 0 0 6px rgba(37, 211, 102, 0.12);
  transition: background-color var(--dur-fast) ease, transform var(--dur-fast) ease;
}

.wa-float:hover {
  background: var(--wa-600);
  color: var(--white);
  transform: translateY(-2px);
}

.wa-float svg {
  width: 24px;
  height: 24px;
  flex: none;
}

/* --------------------------------------------------------------------------
   Página de política de privacidade
   -------------------------------------------------------------------------- */

.page-hero {
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: 2.5rem;
  background: var(--slate-50);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
}

.page-hero p {
  max-width: 44rem;
  margin-top: 1rem;
  color: var(--color-text-muted);
}

.prose {
  max-width: 800px;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.prose p + p {
  margin-top: 0.85rem;
}

.prose ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  list-style: disc;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose .notice {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--color-warning-border);
  border-radius: var(--radius-sm);
  background: var(--color-warning-bg);
  color: var(--color-warning-text);
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .nav-desktop ul {
    gap: 1.15rem;
  }

  .hero__float--1 {
    left: -1rem;
  }

  .hero__float--2 {
    right: -1rem;
  }
}

@media (max-width: 1040px) {
  /* Com o logo horizontal, o menu completo só cabe a partir de ~1041px */
  .nav-desktop {
    display: none;
  }

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

@media (max-width: 980px) {
  :root {
    --header-h: 70px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__content {
    max-width: 720px;
  }

  .hero__media {
    max-width: 620px;
  }

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

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

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem 1.25rem;
  }

  .steps::before {
    display: none;
  }

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

  .contact__info {
    max-width: 640px;
  }

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

@media (max-width: 760px) {
  .header-actions .btn {
    display: none;
  }

  /* Páginas internas: mantém o atalho de volta visível no mobile */
  .header-actions .btn.header-back {
    display: inline-flex;
  }

  .hero__float {
    display: none;
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .trust-strip li {
    padding-inline: 0;
    border-right: 0 !important;
  }

  .trust-strip li:nth-child(odd) {
    padding-right: 0.85rem;
    border-right: 1px solid var(--color-border) !important;
  }

  .trust-strip li:nth-child(-n + 2) {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--color-border);
  }

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

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
  }

  .gallery__item {
    height: 240px;
  }

  .gallery__item--lg {
    grid-row: auto;
    height: 320px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .brand__logo {
    height: 38px;
  }

  .site-header.is-scrolled .brand__logo {
    height: 34px;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

  .hero__tags {
    gap: 0.35rem 0.5rem;
  }

  .services-grid,
  .audience-grid,
  .diffs__grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    padding: 0;
    text-align: left;
  }

  .step__number {
    margin-inline: 0;
  }

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

  .wa-float {
    right: 1rem;
    bottom: 1rem;
    padding: 0.9rem;
    border-radius: 50%;
  }

  .wa-float span {
    display: none;
  }

  .setup-banner {
    padding-right: 4.5rem;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .brand__logo {
    height: 33px;
  }

  .site-header.is-scrolled .brand__logo {
    height: 30px;
  }

  .header-actions .btn.header-back {
    padding-inline: 0.7rem;
  }

  .header-back__label {
    display: none;
  }

  .hero__badge {
    font-size: 0.68rem;
  }

  .hero__accent {
    white-space: normal;
  }

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

  .trust-strip li:nth-child(odd) {
    border-right: 0 !important;
    padding-right: 0;
  }

  .trust-strip li:not(:last-child) {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
  }
}
