/* Responsividade e acessibilidade (WCAG 2.2 / e-MAG)
   - Texto corpo: mín. 16px (1rem)
   - Alvos de toque: mín. 44×44px (2.75rem)
   - Line-height corpo: 1,5
   - Caixas: padding mín. confortável
*/

:root {
  --a11y-touch-min: 2.75rem;
  --a11y-touch-comfort: 3rem;
  --text-base: 1rem;
  --text-secondary: 0.875rem;
  --text-caption: 0.8125rem;
  --line-body: 1.5;
  --line-heading: 1.25;
  --space-box: 1rem;
  --space-box-lg: 1.25rem;
  --focus-ring: 0 0 0 3px rgba(28, 181, 212, 0.55);
}

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  overflow-x: clip;
  font-size: var(--text-base);
  line-height: var(--line-body);
}

/* Foco visível para teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

main {
  overflow-x: clip;
}

/* Legibilidade: evita textos críticos menores que 14px no conteúdo */
main .text-xs,
main .text-\[10px\],
main .text-\[11px\],
main .text-\[13px\] {
  font-size: var(--text-secondary) !important;
  line-height: var(--line-body) !important;
}

main .text-sm {
  font-size: var(--text-base);
  line-height: var(--line-body);
}

main .text-body,
main p {
  line-height: var(--line-body);
}

/* Caixas e cards — área interna mínima */
.neon-box,
.surface-card,
.wa-form-card,
.mobile-nav-group {
  padding: max(var(--space-box), 1rem) !important;
}

@media (min-width: 640px) {
  .neon-box,
  .surface-card,
  .wa-form-card {
    padding: var(--space-box-lg) !important;
  }
}

/* Labels de formulário legíveis */
.lead-form label,
.wa-form-card label {
  font-size: var(--text-secondary) !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: var(--line-body);
}

img,
video {
  max-width: 100%;
  height: auto;
}

/* Header: azul accent do site (#1cb5d4) */
:root {
  --color-nardo: 108, 108, 108;
  --color-accent: 28, 181, 212;
  --color-accent-dark: 10, 130, 155;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #20ba5a;
  --header-offset: 6.5rem;
  --content-gap-below-header: 1rem;
  --page-top-spacing: calc(var(--header-offset) + var(--content-gap-below-header));
}

.site-header {
  overflow: visible;
  background: linear-gradient(
    180deg,
    rgba(var(--color-accent), 0.96) 0%,
    rgba(var(--color-accent-dark), 0.98) 100%
  );
  border-bottom-color: rgba(255, 255, 255, 0.18);
}

.site-header.is-menu-open {
  /* backdrop-filter cria containing block e anula position:fixed dos filhos */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header-inner,
.site-header-main {
  overflow: visible;
}

@media (min-width: 640px) {
  :root {
    --header-offset: 7.5rem;
    --content-gap-below-header: 1.25rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-offset: 8.75rem;
    --content-gap-below-header: 1.25rem;
  }
}

@media (max-width: 639px) {
  :root {
    --section-py: clamp(2.75rem, 8vw, 4rem);
  }
}

@media (max-width: 1023px) {
  :root {
    --header-offset: 4.75rem;
    --content-gap-below-header: 0.75rem;
  }
}

html.header-menu-open {
  overflow: hidden;
}

/* Espaço para botão flutuante (formulário) no mobile */
@media (max-width: 767px) {
  main {
    padding-bottom: max(5rem, calc(4.5rem + env(safe-area-inset-bottom)));
  }
}

/* Logo do header */
.site-logo {
  height: 6.5rem;
  width: auto;
  max-width: 14rem;
}

@media (min-width: 640px) {
  .site-logo {
    height: 7.5rem;
    max-width: 16rem;
  }
}

@media (min-width: 1024px) {
  .site-logo {
    height: 8.75rem;
    max-width: 17.5rem;
  }
}

.site-header-main {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .site-header-main {
    gap: 0.65rem;
  }
}

.site-header-brand .site-logo,
.wa-page-header .site-logo {
  display: block;
}

.site-header-brand {
  position: relative;
  z-index: 30;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  line-height: 0;
}

.header-main-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 20;
  width: max-content;
  max-width: calc(100% - 28rem);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

@media (min-width: 480px) {
  .header-main-nav {
    max-width: calc(100% - 32rem);
  }
}

@media (min-width: 1024px) {
  .header-main-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    right: auto;
    bottom: auto;
    z-index: 20;
    width: max-content;
    max-width: calc(100% - 36rem);
    margin: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: translate(-50%, -50%);
  }
}

.header-nav-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  pointer-events: auto;
}

@media (min-width: 640px) {
  .header-nav-list {
    gap: 0.65rem;
  }
}

@media (min-width: 1024px) {
  .header-nav-list {
    gap: 0.85rem;
  }
}

.header-nav-list::-webkit-scrollbar {
  display: none;
}

.header-nav-list > li {
  flex-shrink: 0;
}

.header-nav-dropdown {
  position: relative;
}

.header-nav-dropdown.is-open {
  z-index: 80;
}

@media (min-width: 1024px) {
  .header-main-nav,
  .header-nav-list {
    overflow: visible;
  }
}

.site-header-actions {
  position: relative;
  z-index: 30;
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.site-header .header-cta-btn {
  display: inline-flex;
  min-height: 2.5rem;
  min-width: auto;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: none;
  padding: 0.5rem 1rem;
  font-size: var(--text-secondary);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: #fff;
  background: var(--color-whatsapp);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.site-header .header-cta-btn:hover,
.site-header .header-cta-btn:focus-visible {
  color: #fff;
  background: var(--color-whatsapp-hover);
  outline: none;
}

.site-header .header-cta-btn:active {
  transform: scale(0.97);
}

@media (min-width: 640px) {
  .site-header .header-cta-btn {
    font-size: var(--text-base);
    padding: 0.5rem 1.2rem;
  }
}

.site-header .header-section-btn {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  border: none !important;
  border-radius: 0.25rem;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0.35rem 0.5rem;
  font-size: var(--text-secondary);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.header-section-btn:hover,
.header-section-btn:focus-visible {
  color: #fff;
  opacity: 0.88;
  outline: none;
}

.header-section-btn.is-active {
  color: #fff;
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 2px;
}

.header-dropdown-chevron {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
  color: #fff;
}

@media (max-width: 639px) {
  .header-section-btn {
    padding: 0.35rem 0.45rem;
    font-size: var(--text-caption);
  }

  .site-header .header-cta-btn {
    padding: 0.45rem 0.75rem;
    font-size: var(--text-caption);
  }
}

@media (min-width: 1024px) {
  .header-section-btn {
    font-size: var(--text-base);
    padding: 0.4rem 0.6rem;
  }
}

.header-dropdown-toggle {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.header-nav-dropdown.is-open .header-dropdown-chevron {
  transform: rotate(180deg);
}

.header-dropdown-menu {
  display: none;
  position: absolute;
  left: 50%;
  top: calc(100% + 0.5rem);
  z-index: 90;
  min-width: 16.5rem;
  translate: -50% 0;
  margin: 0;
  list-style: none;
  padding: 0.4rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(var(--color-accent-dark), 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.header-nav-dropdown.is-open .header-dropdown-menu {
  display: block;
}

.header-dropdown-item {
  display: flex;
  align-items: center;
  min-height: var(--a11y-touch-min);
  border-radius: 0.55rem;
  padding: 0.65rem 0.85rem;
  font-size: var(--text-secondary);
  font-weight: 600;
  line-height: var(--line-body);
  color: #fff;
  transition: background-color 0.15s ease;
}

.header-dropdown-item:hover,
.header-dropdown-item:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  outline: none;
}

.header-dropdown-item--section {
  margin-bottom: 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--text-caption);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.header-dropdown-item--section:hover,
.header-dropdown-item--section:focus-visible {
  color: #fff;
}

.header-dropdown-toggle {
  cursor: pointer;
}

/* Header mobile — menu em painel (evita nav espremida / sobreposta) */
.header-menu-toggle {
  display: none;
}

.header-menu-icon {
  width: 1.35rem;
  height: 1.35rem;
  color: #fff;
}

.header-menu-icon--close {
  display: none;
}

.site-header.is-menu-open .header-menu-icon--open {
  display: none;
}

.site-header.is-menu-open .header-menu-icon--close {
  display: block;
}

@media (max-width: 1023px) {
  .site-logo {
    height: 4.75rem;
    max-width: 10.5rem;
  }

  .site-header-main {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.5rem 0.65rem;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(1rem, calc(0.65rem + env(safe-area-inset-right)));
  }

  .site-header-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .header-menu-toggle {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
    min-height: var(--a11y-touch-min);
    min-width: var(--a11y-touch-min);
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0.5rem;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.15s ease;
  }

  .header-menu-toggle:hover,
  .header-menu-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    outline: none;
  }

  .header-main-nav {
    position: fixed;
    top: var(--header-offset);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 49;
    display: block;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0.75rem 0.75rem max(1rem, env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: linear-gradient(
      180deg,
      rgba(var(--color-accent-dark), 0.98) 0%,
      rgba(8, 100, 120, 0.99) 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .site-header.is-menu-open .header-main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header-nav-list {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.25rem;
    overflow: visible;
    padding: 0;
  }

  .header-nav-list > li {
    width: 100%;
  }

  .header-section-btn,
  .header-dropdown-toggle {
    justify-content: flex-start;
    width: 100%;
    min-height: var(--a11y-touch-min);
    padding: 0.65rem 0.85rem !important;
    font-size: var(--text-base) !important;
    border-radius: 0.55rem;
    white-space: normal;
    text-align: left;
  }

  .header-section-btn:hover,
  .header-section-btn:focus-visible,
  .header-dropdown-toggle:hover,
  .header-dropdown-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.1) !important;
    opacity: 1;
  }

  .header-dropdown-menu {
    position: static;
    top: auto;
    left: auto;
    z-index: auto;
    min-width: 0;
    width: 100%;
    margin: 0.15rem 0 0.35rem;
    padding: 0.25rem 0 0.25rem 0.5rem;
    translate: none;
    border: none;
    border-radius: 0.55rem;
    background: rgba(0, 0, 0, 0.18);
    box-shadow: none;
  }

  .header-dropdown-item {
    font-size: var(--text-base);
    padding: 0.7rem 0.85rem;
  }

  .site-header .header-cta-btn {
    padding: 0.45rem 0.85rem;
    font-size: var(--text-secondary);
  }
}

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

.btn-glow {
  color: #fff !important;
}

/* Páginas de serviço dedicadas */
.service-page-shell {
  max-width: 56rem;
}

.service-page-media {
  width: 100%;
}

.service-page-image {
  display: block;
  width: 100%;
  object-fit: cover;
  min-height: 14rem;
}

@media (min-width: 768px) {
  .service-page-image {
    min-height: 18rem;
  }
}

@media (min-width: 1024px) {
  .service-page-image {
    min-height: 22rem;
  }
}

.service-page .service-page-cta {
  color: #fff !important;
}

.service-page-content h1 {
  text-wrap: balance;
  line-height: var(--line-heading);
}

.service-page-content p,
.service-page-content li {
  font-size: var(--text-base);
  line-height: var(--line-body);
}

.service-page .btn-glow,
.service-page a.rounded-full {
  min-height: var(--a11y-touch-comfort);
  font-size: var(--text-base);
}

.service-page-media img {
  transition: transform 0.5s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .service-page-media:hover img {
    transform: scale(1.03);
  }
}

/* Hero — duas colunas: formulário + vídeo */
.hero-split {
  display: grid;
  width: 100%;
  gap: 2rem;
  align-items: start;
}

.hero-split-left {
  width: 100%;
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}

.hero-section--photo,
.hero-main--photo {
  background-color: #000;
}

.hero-section--photo::before,
.hero-main--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
  pointer-events: none;
}

.hero-section--photo::after,
.hero-main--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.65);
  pointer-events: none;
}

.hero-section--photo .hero-content-wrap,
.hero-main--photo .hero-content-wrap {
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-family: var(--font-headline, 'Montserrat', system-ui, sans-serif);
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.hero-benefit-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(28, 181, 212, 0.35);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
}

.hero-social-proof {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-social-proof-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.hero-social-proof-icon {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
}

.hero-text-underline {
  text-decoration: underline;
  text-decoration-color: #ef4444;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
  text-decoration-skip-ink: none;
}

.hero-split-right {
  width: 100%;
  max-width: 26rem;
  margin-inline: auto;
}

.hero-video-wrap {
  width: 100%;
  margin-inline: auto;
}

.hero-video-box {
  position: relative;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
  border: 1px solid rgba(28, 181, 212, 0.35);
  border-bottom: none;
  background: #000;
  box-shadow: 0 0 32px rgba(28, 181, 212, 0.12);
  cursor: pointer;
}

.hero-video-box.is-playing {
  cursor: default;
}

.hero-video-box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
}

.hero-video-box.is-playing::after {
  display: none;
}

.hero-side-video {
  display: block;
  width: 100%;
  height: auto;
  min-height: 22rem;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  vertical-align: middle;
  background: #000;
}

.hero-video-badge {
  margin: 0;
  padding: 0.875rem 1.125rem;
  background: linear-gradient(
    90deg,
    rgba(10, 130, 155, 0.96) 0%,
    rgba(28, 181, 212, 0.96) 100%
  );
  border: 1px solid rgba(28, 181, 212, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 0 1rem 1rem;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-align: center;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .hero-video-wrap {
    max-width: 26rem;
  }

  .hero-side-video {
    min-height: 0;
    width: 100%;
    max-width: 100%;
    max-height: min(80vh, 36rem);
    margin-inline: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
  }
}

@media (min-width: 1024px) {
  .hero-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.75rem;
    align-items: center;
  }

  .hero-stats-bar {
    background: transparent;
    border-top: none;
    padding-top: 0.5rem;
  }

  .hero-split-left {
    max-width: none;
    margin-inline: 0;
    text-align: left;
  }

  .hero-split-right {
    max-width: none;
    margin-inline: 0;
    justify-self: center;
  }

  .hero-bullets {
    margin-inline: 0;
  }

  .hero-benefits {
    justify-content: flex-start;
  }

  .hero-social-proof-item {
    justify-content: flex-start;
  }

  .hero-video-box {
    border-radius: 1.25rem 1.25rem 0 0;
  }

  .hero-video-wrap {
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
  }

  .hero-video-badge {
    border-radius: 0 0 1.25rem 1.25rem;
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }

  .hero-side-video {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    max-height: min(78vh, 36rem);
    margin-inline: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    object-position: center center;
  }
}

@media (max-width: 1023px) {
  .hero-split {
    grid-template-areas:
      "copy"
      "video";
    gap: 1rem;
  }

  .hero-split-left {
    grid-area: copy;
  }

  .hero-split-right {
    grid-area: video;
    max-width: 100%;
    width: 100%;
  }
}

/* Hero e páginas — respiro abaixo do header fixo */
.hero-main,
.service-page,
.page-top-below-header {
  padding-top: var(--page-top-spacing) !important;
}

.hero-section .hero-content-wrap {
  padding-top: 0.75rem;
}

@media (min-width: 640px) {
  .hero-section .hero-content-wrap {
    padding-top: 1rem;
  }
}

@media (min-width: 1024px) {
  .hero-section .hero-content-wrap {
    padding-top: 1.25rem;
  }
}

/* Primeira seção após o hero */
.section-below-fold:first-of-type,
#servicos.section-below-fold {
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

@media (max-width: 639px) {
  .hero-main {
    padding-bottom: 1rem !important;
  }

  .hero-section .hero-content-wrap {
    padding-left: max(0.875rem, env(safe-area-inset-left));
    padding-right: max(0.875rem, env(safe-area-inset-right));
    padding-top: 0.5rem;
  }

  .hero-section h1,
  .hero-headline {
    font-size: clamp(1.35rem, 5.5vw, 1.625rem) !important;
    line-height: 1.18;
    padding-inline: 0.125rem;
  }

  .hero-benefits {
    gap: 0.375rem;
    justify-content: center;
  }

  .hero-benefit-tag {
    font-size: 0.75rem;
    padding: 0.3125rem 0.625rem;
  }

  .hero-main--photo::after {
    background: rgba(0, 0, 0, 0.54);
  }

  .hero-main--photo::before {
    background-size: cover;
    background-position: center 22%;
  }

  .hero-split-left .neon-box {
    padding: 1rem !important;
    background-color: rgba(0, 0, 0, 0.62) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .hero-social-proof {
    gap: 0.4375rem;
  }

  .hero-social-proof-item {
    font-size: 0.8125rem;
    line-height: 1.3;
  }

  .hero-split-left > .mt-4.flex {
    width: 100%;
  }

  .hero-split-left > .mt-4.flex a {
    width: 100%;
    max-width: 100%;
    padding-inline: 1rem;
    text-align: center;
  }

  .hero-split-right {
    max-width: 100%;
    width: 100%;
  }

  .hero-video-wrap {
    width: 100%;
    max-width: 28rem;
    margin-inline: auto;
  }

  .hero-video-box {
    background: #0a0a0a;
    box-shadow: 0 0 20px rgba(28, 181, 212, 0.1);
  }

  .hero-video-badge {
    padding: 0.8125rem 1rem;
    font-size: 0.875rem;
  }

  .hero-side-video {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    max-width: 100%;
    max-height: min(78vh, 42rem);
    margin-inline: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    object-position: center center;
    vertical-align: middle;
    background: #000;
  }

  .hero-stats-bar {
    padding-left: max(0.875rem, env(safe-area-inset-left));
    padding-right: max(0.875rem, env(safe-area-inset-right));
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
    border-top: 1px solid rgba(28, 181, 212, 0.15);
  }

  .hero-stats-grid {
    gap: 0.625rem;
    margin-top: 0;
  }

  .stat-box {
    padding: 0.875rem 0.5rem;
    min-height: 5.25rem;
  }

  .stat-box .stat-counter {
    font-size: 1.5rem;
  }

  .stat-box .stat-label {
    font-size: 0.8125rem;
    line-height: 1.35;
    hyphens: auto;
    overflow-wrap: anywhere;
    padding: 0 0.125rem;
  }
}

@media (min-width: 640px) {
  .stat-box {
    padding: 1.75rem 1.25rem;
    min-height: 7.5rem;
  }
}

@media (min-width: 1024px) {
  .stat-box {
    padding: 2rem 1.5rem;
    min-height: 8.5rem;
  }

  .hero-stats-grid {
    max-width: 72rem;
  }
}

@media (max-width: 400px) {
  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-headline {
    font-size: 1.3rem !important;
  }
}

@media (max-width: 360px) {
  .hero-stats-grid {
    grid-template-columns: 1fr;
    max-width: 16rem;
    margin-inline: auto;
  }

  .site-logo {
    height: 4.25rem;
    max-width: 9.5rem;
  }

  .site-header .header-cta-btn {
    padding: 0.4rem 0.65rem;
    font-size: 0.75rem;
  }
}

.neon-box .lead-form button[type="submit"].btn-glow {
  color: #fff !important;
}

/* Campo de telefone com +55 fixo */
.neon-box .phone-input-wrap {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.neon-box .phone-input-prefix {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: var(--a11y-touch-comfort);
  padding: 0.75rem 0.75rem;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: var(--line-body);
  color: #fff;
  border: 1px solid rgba(28, 181, 212, 0.45);
  border-right: 0;
  border-radius: 0.5rem 0 0 0.5rem;
  background: rgba(0, 0, 0, 0.55);
  user-select: none;
  pointer-events: none;
}

.neon-box .phone-input-wrap .phone-input-field {
  flex: 1;
  min-width: 0;
  color: #fff;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.neon-box .phone-input-wrap .phone-input-field::placeholder {
  color: #fff;
  opacity: 0.72;
}

.neon-box .neon-input::placeholder {
  color: #fff;
  opacity: 0.72;
}

.cta-banner-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cta-banner-check {
  font-size: 0.95em;
  line-height: 1;
  color: #fff;
}

@media (min-width: 1024px) {
  .cta-banner--fiscalizacao .cta-banner-inner {
    align-items: center;
    justify-content: space-between;
  }

  .cta-banner--fiscalizacao .cta-banner-content {
    flex: 1 1 0;
    min-width: 0;
    max-width: min(56rem, calc(100% - 18rem));
    margin-right: auto;
    text-align: center;
  }

  .cta-banner--fiscalizacao .cta-banner-btn {
    flex: 0 0 auto;
    margin-left: clamp(2rem, 4vw, 5rem);
  }
}

.neon-box .phone-input-wrap:focus-within .phone-input-prefix {
  border-color: rgba(28, 181, 212, 0.75);
  color: #fff;
}

/* Formulários e botões — área de toque (mín. 44px) */
.neon-input,
.wa-input {
  min-height: var(--a11y-touch-comfort);
  padding: 0.75rem 1rem !important;
  font-size: var(--text-base) !important;
  line-height: var(--line-body);
}

.lead-form button[type="submit"],
.wa-btn,
.cta-banner-btn,
.btn-glow,
#contato .btn-glow,
.faq-toggle {
  min-height: var(--a11y-touch-comfort);
  font-size: var(--text-base);
  line-height: var(--line-body);
}

.cta-banner-btn,
.lead-form button[type="submit"],
.wa-btn {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

/* Links e itens clicáveis no rodapé */
#contato a {
  min-height: var(--a11y-touch-min);
  align-items: center;
}

/* Largura máxima de leitura em blocos de texto longos */
.service-page-content > div,
.faq-panel p,
.text-body {
  max-width: 70ch;
}

/* Página obrigado — conteúdo no meio da tela */
.thank-you-section {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 100dvh;
  padding: var(--header-offset) 1rem 2rem;
}

.thank-you-shell {
  margin-inline: auto;
  width: 100%;
}

.thank-you-text {
  margin-inline: auto;
  max-width: 42rem;
  text-align: center;
}

.faq-list {
  width: 100%;
  max-width: min(48rem, 100%);
  margin-inline: auto;
}

#duvidas .section-shell {
  margin-inline: auto;
}

#duvidas .faq-item {
  width: 100%;
}

/* Nomes dos serviços em destaque */
.service-title,
#servicos h3 strong,
#solucoes h3 strong,
.hero-section ul li > span {
  font-weight: 700;
}

/* Links de serviço e navegação de conteúdo em negrito */
main a:not(.btn-glow):not(.header-cta-btn):not(.header-section-btn):not(.header-dropdown-item) {
  font-weight: 700;
}

@media (max-width: 639px) {
  .section-shell {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .section-py {
    padding-top: clamp(2.25rem, 7vw, 3rem);
    padding-bottom: clamp(2.25rem, 7vw, 3rem);
  }

  #servicos .grid > a {
    min-height: var(--a11y-touch-min);
  }

  #servicos .grid {
    gap: 0.75rem;
  }

  #servicos .group > div {
    min-height: 6.75rem;
    padding: 0.875rem;
  }

  #servicos h3 strong {
    font-size: 0.9375rem;
    line-height: 1.35;
  }

  .cta-banner-inner {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .cta-banner-title {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
  }

  #duvidas .faq-toggle {
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
  }
}

/* CTA banners — botão largura total no mobile */
@media (max-width: 1023px) {
  .cta-banner-inner {
    text-align: center;
  }

  .cta-banner-btn {
    width: 100%;
    max-width: 22rem;
  }
}

/* Seções abaixo da dobra — renderização mais leve no mobile */
@media (max-width: 767px) {
  .section-below-fold {
    content-visibility: auto;
    contain-intrinsic-size: auto 28rem;
  }
}

/* Seção clientes — marquee no mobile */
@media (max-width: 767px) {
  #clientes.section-below-fold {
    content-visibility: visible;
  }

  #clientes .section-shell h2 {
    font-size: 1.375rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  #clientes .clientes-box-wrap {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  #clientes .clientes-marquee-track {
    animation-duration: 32s;
  }

  #clientes .clientes-marquee-item {
    height: 3rem;
  }

  #clientes .clientes-marquee-img {
    max-height: 2.5rem;
    max-width: 5.5rem;
  }
}

/* Mosaico áreas — altura mínima no mobile */
@media (max-width: 1023px) {
  #solucoes .grid > div {
    min-height: 12rem !important;
  }
}

/* FAQ */
.faq-toggle span.flex-1 {
  font-size: var(--text-base);
  line-height: var(--line-body);
}

.faq-panel p {
  font-size: var(--text-base);
  line-height: var(--line-body);
}

/* Footer */
@media (max-width: 767px) {
  #contato .section-shell {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  #contato a[href^="mailto:"] {
    word-break: break-all;
  }

  #contato .btn-glow {
    width: 100%;
    justify-content: center;
  }
}

/* WhatsApp flutuante — não sair da tela */
.whatsapp-widget {
  max-width: calc(100vw - 1.5rem);
}

/* Tipografia fluida em títulos de seção */
@media (max-width: 639px) {
  .font-display.text-2xl {
    font-size: clamp(1.375rem, 5vw, 1.5rem);
  }
}

/* Página /whatsapp */
@media (max-width: 380px) {
  .wa-page-header {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .wa-form-card {
    padding: 1.25rem !important;
  }
}

/* Desktop largo — conteúdo centralizado */
@media (min-width: 1280px) {
  .section-shell {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Inputs: 16px evita zoom no iOS e atende legibilidade */
@media (max-width: 767px) {
  input[type="text"],
  input[type="tel"],
  input[type="email"] {
    font-size: var(--text-base);
  }
}

/* Páginas de formulário e obrigado */
section.flex.min-h-\[calc\(100dvh-var\(--header-offset\)\)\] .neon-box {
  width: 100%;
  max-width: 28rem;
}

/* WhatsApp widget — alvo de toque */
.whatsapp-widget a,
.whatsapp-widget button {
  min-height: var(--a11y-touch-min);
  min-width: var(--a11y-touch-min);
}

/* Reduz movimento se o usuário preferir */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.form-privacy-notice {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-privacy-notice--in-box {
  margin: 0;
  padding-top: 0.125rem;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.62);
  text-align: left;
}

.form-privacy-notice p {
  margin: 0;
}

.neon-box .form-privacy-notice--in-box .privacy-policy-link {
  color: #5fe0f5;
}

.neon-box .form-privacy-notice--in-box .privacy-policy-link:hover {
  color: #9deef8;
}

.privacy-policy-page-body,
.privacy-policy-content {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.privacy-policy-content p {
  margin: 0 0 1rem;
}

.privacy-policy-content h2 {
  margin: 1.75rem 0 0.75rem;
  font-family: var(--font-syne), system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.privacy-policy-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.privacy-policy-content li {
  margin-bottom: 0.375rem;
}

.privacy-policy-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.privacy-policy-content a:hover {
  color: #5fe0f5;
}

.privacy-policy-content em {
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

.privacy-policy-updated {
  font-size: 0.875rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
}

.privacy-policy-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.privacy-policy-link:hover {
  color: #5fe0f5;
}

.privacy-policy-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.privacy-policy-modal.hidden {
  display: none;
}

.privacy-policy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.privacy-policy-modal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 40rem);
  max-height: min(88vh, 44rem);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(28, 181, 212, 0.35);
  border-radius: 1rem;
  background: #0a0a0a;
  box-shadow:
    0 0 0 1px rgba(28, 181, 212, 0.15),
    0 24px 64px rgba(0, 0, 0, 0.55);
}

.privacy-policy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
}

.privacy-policy-modal-title {
  margin: 0;
  font-family: var(--font-syne), system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.privacy-policy-modal-close {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.privacy-policy-modal-close:hover {
  border-color: rgba(28, 181, 212, 0.5);
  color: var(--color-accent);
}

.privacy-policy-modal-body {
  overflow-y: auto;
  padding: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.privacy-policy-modal-body p {
  margin: 0 0 0.875rem;
}

.privacy-policy-updated {
  font-size: 0.8125rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
}

.privacy-policy-modal-body ul {
  margin: 0 0 0.875rem;
  padding-left: 1.25rem;
}

.privacy-policy-modal-body li {
  margin-bottom: 0.375rem;
}

.privacy-policy-modal-body li:last-child {
  margin-bottom: 0;
}

.privacy-policy-modal-body h3 {
  margin: 1.25rem 0 0.5rem;
  font-family: var(--font-syne), system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}

.privacy-policy-modal-body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.privacy-policy-modal-body a:hover {
  color: #5fe0f5;
}

.privacy-policy-modal.is-open {
  animation: privacy-modal-fade-in 0.2s ease both;
}

.privacy-policy-modal.is-open .privacy-policy-modal-dialog {
  animation: privacy-modal-slide-in 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes privacy-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes privacy-modal-slide-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

body.privacy-modal-open {
  overflow: hidden;
}

/* Blog */
.blog-card {
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
  border-color: rgba(28, 181, 212, 0.35);
}

.blog-card-image-link {
  display: block;
  height: 11rem;
  overflow: hidden;
  background: #000;
}

.blog-card-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.blog-article-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
}

@media (min-width: 640px) {
  .blog-article-content {
    font-size: 1rem;
    gap: 2.25rem;
  }
}

.blog-article-content > * {
  margin-top: 0;
  margin-bottom: 0;
}

.blog-article-content p + p {
  margin-top: 0;
}

.blog-article-content p.blog-block--paragraph {
  line-height: 1.75;
}

.blog-article-content h2 {
  margin-top: 2rem;
  font-family: var(--font-syne, 'Syne', system-ui, sans-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
}

.blog-article-content ul {
  margin-top: 1rem;
  list-style: disc;
  padding-left: 1.25rem;
}

.blog-article-content li + li {
  margin-top: 0.5rem;
}

.blog-article-content li {
  color: rgba(255, 255, 255, 0.85);
}

.blog-article-content img {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-admin-input {
  color-scheme: dark;
}

.blog-admin-input:focus {
  outline: 2px solid rgba(28, 181, 212, 0.45);
  outline-offset: 2px;
  border-color: rgba(28, 181, 212, 0.45);
}

.blog-admin-alert {
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
}

.blog-admin-alert--error {
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
}

.blog-admin-alert--success {
  border: 1px solid rgba(28, 181, 212, 0.35);
  background: rgba(28, 181, 212, 0.12);
  color: #d8f8ff;
}

.blog-block-editor {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.blog-editor-toolbar-btn,
.blog-editor-text-btn,
.blog-editor-upload-btn {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.blog-editor-toolbar-btn:hover,
.blog-editor-text-btn:hover,
.blog-editor-upload-btn:hover {
  border-color: rgba(28, 181, 212, 0.55);
  color: #9fefff;
}

.blog-editor-block--paragraph .blog-editor-block__body {
  padding: 1.1rem;
}

.blog-editor-block {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.blog-editor-block.is-dragging {
  opacity: 0.55;
}

.blog-editor-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.blog-editor-block__type {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(28, 181, 212, 0.95);
}

.blog-editor-block__actions {
  display: flex;
  gap: 0.35rem;
}

.blog-editor-block__body {
  padding: 1rem;
}

.blog-editor-paragraph {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.blog-editor-paragraph-toolbar {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

@media (min-width: 768px) {
  .blog-editor-paragraph-toolbar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }
}

.blog-editor-field {
  min-width: 0;
}

.blog-editor-color-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-editor-color-wrap .blog-editor-select {
  flex: 1;
  min-width: 0;
}

.blog-editor-color-wrap .blog-editor-color {
  width: 2.75rem;
  height: 2.75rem;
  margin-top: 0;
  flex-shrink: 0;
  padding: 0.15rem;
}

.blog-editor-label--main {
  margin-top: 0.15rem;
  margin-bottom: 0;
}

.blog-editor-paragraph-input {
  width: 100%;
  min-height: 8.75rem;
  padding: 1rem 1.1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.45);
  font-size: 0.95rem;
  line-height: 1.75;
  resize: none;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-editor-paragraph-input:focus {
  border-color: rgba(28, 181, 212, 0.55);
  box-shadow: 0 0 0 3px rgba(28, 181, 212, 0.12);
}

.blog-editor-paragraph-input.blog-block--color-default {
  color: rgba(255, 255, 255, 0.88);
}

.blog-editor-paragraph-input.blog-block--color-white {
  color: #fff;
}

.blog-editor-paragraph-input.blog-block--color-accent {
  color: #1cb5d4;
}

.blog-editor-paragraph-input.blog-block--color-muted {
  color: rgba(255, 255, 255, 0.65);
}

.blog-editor-hint {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}

.blog-editor-upload-status--error {
  color: #fca5a5;
}

.blog-editor-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.blog-editor-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .blog-editor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.blog-editor-textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.blog-editor-select {
  width: 100%;
}

.blog-editor-color {
  width: 100%;
  height: 2.75rem;
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
}

.blog-editor-preview-label {
  margin-top: 0.85rem;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.blog-editor-preview {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.blog-editor-icon-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.blog-editor-icon-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.blog-editor-icon-btn--danger {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.35);
}

.blog-editor-upload-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.blog-editor-upload-status {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.blog-editor-image-wrap {
  margin-bottom: 0.85rem;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-editor-image-preview {
  display: block;
  width: 100%;
  max-height: 14rem;
  object-fit: cover;
}

.blog-editor-image-placeholder {
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

.blog-editor-cover-preview {
  display: block;
  width: 100%;
  max-width: 20rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.blog-editor-list-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-editor-list-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.blog-block--font-inter {
  font-family: var(--font-inter, 'Inter', system-ui, sans-serif);
}

.blog-block--font-syne {
  font-family: var(--font-syne, 'Syne', system-ui, sans-serif);
  font-weight: 600;
}

.blog-block--font-serif {
  font-family: Georgia, 'Times New Roman', serif;
}

.blog-block--color-default {
  color: rgba(255, 255, 255, 0.85);
}

.blog-block--color-white {
  color: #fff;
}

.blog-block--color-accent {
  color: #1cb5d4;
}

.blog-block--color-muted {
  color: rgba(255, 255, 255, 0.65);
}

.blog-block--align-left {
  text-align: left;
}

.blog-block--align-center {
  text-align: center;
}

.blog-block--align-right {
  text-align: right;
}

.blog-block--heading {
  margin-top: 2rem;
  font-family: var(--font-syne, 'Syne', system-ui, sans-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
}

.blog-block--list {
  margin-top: 1rem;
  list-style: disc;
  padding-left: 1.25rem;
}

.blog-block--list li + li {
  margin-top: 0.5rem;
}

.blog-block--image {
  margin-left: auto;
  margin-right: auto;
}

.blog-block--image img {
  display: block;
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-block--video {
  margin-left: auto;
  margin-right: auto;
  max-width: min(100%, 24rem);
  text-align: center;
}

@media (min-width: 640px) {
  .blog-block--video {
    max-width: min(100%, 28rem);
  }
}

@media (min-width: 1024px) {
  .blog-block--video {
    max-width: min(100%, 32rem);
  }
}

.blog-block--video video,
.blog-article-video-player,
.blog-video-player {
  display: block;
  width: 100%;
  max-height: min(80vh, 44rem);
  height: auto;
  margin: 0 auto;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  object-fit: contain;
}

.blog-card-video-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 11rem;
  overflow: hidden;
  background: #000;
}

.blog-card-video {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.blog-card-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.blog-img-caption {
  margin-top: 0.75rem;
  margin-bottom: 0;
  padding: 0 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  line-height: 1.5;
}

.blog-img--full img {
  width: 100%;
}

.blog-img--center {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.blog-img--left img,
.blog-img--right img {
  width: min(100%, 28rem);
}

.blog-img--left {
  text-align: left;
}

.blog-img--right {
  text-align: right;
}

.blog-img--inline-left {
  float: left;
  max-width: min(48%, 20rem);
  margin: 0.25rem 1.25rem 1rem 0;
}

.blog-img--inline-right {
  float: right;
  max-width: min(48%, 20rem);
  margin: 0.25rem 0 1rem 1.25rem;
}

.blog-article-content::after {
  content: "";
  display: block;
  clear: both;
}

.blog-editor-image-wrap.blog-img--center img {
  margin-left: auto;
  margin-right: auto;
}

.blog-editor-image-wrap.blog-img--left img {
  margin-right: auto;
}

.blog-editor-image-wrap.blog-img--right img {
  margin-left: auto;
}

.blog-editor-image-wrap.blog-img--inline-left img,
.blog-editor-image-wrap.blog-img--inline-right img {
  width: 100%;
  max-height: 10rem;
}

