/* Reforcos responsivos, acessibilidade e hero banner */

/* ================================================================
   REFORÇO DE RESPONSIVIDADE — AUDITORIA
   Garante que TODAS as seções funcionem de 320px a 1440px+
   ================================================================ */

/* Dot — círculo preto sólido que segue o mouse */

/* Círculo preto externo — segue com atraso suave */

/* Trail — partículas pretas */

/* Hover em links/botões/cards — círculo expande */

/* Clique — círculo contrai */

/* Reforço de responsividade e ajustes complementares */


  /* ---- HERO — mobile pequeno ---- */
  @media (max-width: 480px) {
    .hero-title {
      font-size: clamp(1.6rem, 6vw, 2.2rem)
    }

    .hero-sub {
      font-size: 0.88rem
    }

    .hero-actions {
      flex-direction: column;
      gap: 10px
    }

    .hero-proof {
      font-size: 0.78rem
    }

    .hero-avatar {
      width: 40px;
      height: 40px
    }
  }

  @media (max-width: 360px) {
    .hero-title {
      font-size: 1.5rem
    }

    .hero-proof {
      flex-direction: column;
      gap: 8px;
      text-align: center
    }

    .hero-avatars {
      justify-content: center
    }
  }

  /* ---- MARQUEE — mobile ---- */
  @media (max-width: 640px) {
    .marquee-wrapper { height: 110px; margin-top: -24px; margin-bottom: -24px; clip-path: inset(-50px 0 -50px 0) }
    .marquee-item { font-size: 0.78rem; gap: 10px; padding: 0 8px }
  }

  @media (max-width: 380px) {
    .marquee-item {
      font-size: 0.7rem
    }
  }

  /* ---- MÉTRICAS — mobile ---- */
  @media (max-width: 640px) {
    .metrics-grid {
      grid-template-columns: 1fr 1fr;
      gap: 10px
    }

    .metric-item {
      padding: 14px 10px;
      min-height: 96px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      border-radius: 18px;
    }

    .metric-number {
      font-size: 1.55rem
    }

    .metric-label {
      font-size: 0.7rem;
      line-height: 1.35
    }
  }

  @media (max-width: 380px) {
    .metrics-grid {
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      text-align: center
    }

    .metric-item {
      padding: 12px 8px;
      min-height: 84px;
      border-radius: 16px;
    }

    .metric-number {
      font-size: 1.35rem
    }

    .metric-label {
      font-size: 0.66rem
    }
  }

  /* ---- CTA BAND — mobile ---- */
  @media (max-width: 640px) {
    .cta-band {
      padding: var(--space-lg) var(--space-md);
      border-radius: var(--r-lg);
      text-align: center
    }

    .cta-band h2 {
      font-size: clamp(1.3rem, 4vw, 1.8rem)
    }

    .cta-band p {
      font-size: 0.88rem
    }

    .btn-row {
      flex-direction: column;
      gap: 10px;
      align-items: stretch;
      width: -webkit-fit-content;
      width: -moz-fit-content;
      width: fit-content;
      margin-inline: auto
    }

    .btn-row .btn {
      width: 100%;
      justify-content: center
    }
  }

  @media (max-width: 380px) {
    .cta-band {
      padding: var(--space-md) var(--space-sm)
    }

    .cta-band h2 {
      font-size: 1.2rem
    }
  }

  /* ---- HEADER — reforço mobile ---- */
  @media (max-width: 768px) {
    .header-inner {
      padding: 0 var(--gutter)
    }

    .logo-img {
      max-width: 130px;
      height: auto
    }
  }

  @media (max-width: 380px) {
    .logo-img {
      max-width: 110px
    }

    .header-inner {
      gap: 8px
    }
  }

  /* ---- SECTION HEADERS — mobile ---- */
  @media (max-width: 480px) {

    .section-header h2,
    .section-header.centered h2 {
      font-size: clamp(1.3rem, 5vw, 1.8rem);
    }

    .section-header p {
      font-size: 0.88rem
    }
  }

  /* ---- SERVIÇOS SPLIT — ultra-small ---- */
  @media (max-width: 380px) {
    .services-bullets li {
      font-size: 0.84rem
    }

    .services-intro-cta {
      flex-direction: column
    }

    .services-intro-cta .btn {
      width: 100%;
      justify-content: center
    }

    .svc-card {
      padding: 16px 14px
    }

    .svc-title {
      font-size: 0.9rem
    }

    .svc-desc {
      font-size: 0.78rem
    }
  }

  /* ---- DEPOIMENTOS — ultra-small ---- */
  @media (max-width: 380px) {
    .tm-card {
      padding: 16px 14px 18px;
      min-height: auto;
      border-radius: 16px
    }

    .tm-text {
      font-size: 0.84rem;
      line-height: 1.55
    }

    .tm-name {
      font-size: 0.85rem
    }

    .tm-avatar {
      width: 38px;
      height: 38px;
      font-size: 0.78rem
    }

    .tm-quote-top svg,
    .tm-quote-bottom svg {
      width: 20px;
      height: 20px
    }
  }

  /* ---- PROCESSO/PILL — ultra-small ---- */
  @media (max-width: 380px) {
    .pill-grid {
      gap: 12px
    }

    .pill-card {
      border-radius: 24px;
      gap: 8px;
      padding: 12px 20px 12px 14px
    }

    .pill-num {
      font-size: 18px
    }

    .pill-title {
      font-size: 12.5px
    }

    .pill-text {
      font-size: 11px
    }

    .pill-divider {
      height: 34px
    }

    .pill-bar {
      width: 16px;
      border-radius: 0 24px 24px 0
    }
  }

  /* ---- DASHBOARD — ultra-small ---- */
  @media (max-width: 380px) {
    .dashboard-panel {
      padding: 18px 14px;
      border-radius: 16px
    }

    .dash-number {
      font-size: 1.6rem
    }

    .dash-label-bold {
      font-size: 0.7rem
    }

    .dash-sublabel,
    .dash-sublabel-italic {
      font-size: 0.65rem
    }

    .dash-pre-label {
      font-size: 0.68rem
    }

    .dash-chart {
      height: 40px
    }

    .dash-chart-bar {
      width: 10px
    }

    .dash-icon {
      width: 28px;
      height: 28px
    }

    .dash-icon svg {
      width: 15px;
      height: 15px
    }
  }

  /* ---- PAGE 404 — mobile ---- */
  @media (max-width: 640px) {
    .page-404 {
      padding: var(--space-xl) var(--gutter)
    }

    .giant-num {
      font-size: clamp(6rem, 25vw, 12rem)
    }

    .text-s-fs {
      font-size: clamp(1.3rem, 4vw, 1.8rem)
    }

    .cta-404-row {
      flex-direction: column;
      gap: 10px
    }

    .cta-404-row .btn {
      width: 100%;
      justify-content: center
    }

    .page-404-nav {
      flex-direction: column;
      gap: 8px;
      align-items: center
    }
  }

  /* ---- GLOBAL — evitar overflow horizontal ---- */
  html,
  body {
    overflow-x: hidden
  }

  img,
  video,
  svg {
    max-width: 100%;
    height: auto
  }

  /* ---- Textos fluidos que nunca quebram ---- */
  @media (max-width: 480px) {

    h1,
    .hero-title {
      word-break: break-word;
      hyphens: auto
    }
  }

  /* ---- TÍTULO E DESCRIÇÃO — centralizados no mobile (sem afetar cards) ---- */
  @media (max-width: 768px) {
    /* Page hero: chip + h1 + p centralizados */
    .page-hero .container {
      align-items: center;
      text-align: center;
    }

    .page-hero .chip {
      margin-inline: auto;
      align-self: center;
      justify-self: center;
    }

    .page-hero h1 {
      text-align: center;
    }

    .page-hero > .container > p,
    .page-hero .container > p {
      text-align: center;
      margin-inline: auto;
    }

    /* Section headers: chip + h2 + p centralizados */
    .section-header.centered {
      text-align: center;
      align-items: center;
    }

    .section-header.centered .chip {
      margin-inline: auto;
      align-self: center;
      justify-self: center;
    }

    .section-header.centered h2,
    .section-header.centered p {
      text-align: center;
      margin-inline: auto;
    }

    /* Hero content: centralizado */
    .hero-eyebrow {
      justify-content: center;
    }

    .hero-sub {
      text-align: center;
      margin-inline: auto;
    }

    .hero-actions {
      justify-content: center;
    }
  }

  /* Hero proof — centralizado e avatares maiores em tablet */
  @media (max-width: 768px) {
    .hero-proof {
      flex-direction: column;
      align-items: center;
      gap: 8px;
      text-align: center;
    }

    .hero-avatar {
      width: 40px;
      height: 40px
    }
  }

  /* Footer — ícones sociais */
  .footer-social-row {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin-top: 4px;
  }

  .footer-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
  }

  .footer-social-icon svg {
    width: 18px;
    height: 18px;
  }

  .footer-social-icon:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
  }

  /* Contato — ícones sociais (área escura) */
  .contact-social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .contact-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
  }

  .contact-social-icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-social-icon:hover {
    color: #fff;
    border-color: var(--accent);
    background: rgba(82, 173, 246, 0.15);
    transform: translateY(-2px);
  }

  /* ================================================================
   SEÇÃO INTEGRAÇÕES — Card com imagem animada + conteúdo
   ================================================================ */
  .integrations-section {
    overflow: hidden;
    position: relative;
    background:
      radial-gradient(circle at top left, rgba(82, 173, 246, 0.08), transparent 28%),
      linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  }

  .integ-layout {
    display: grid;
    grid-template-columns: minmax(250px, 345px) minmax(0, 640px);
    gap: clamp(2.5rem, 5vw, 6rem);
    align-items: center;
    justify-content: center;
  }

  /* ---- Card com imagem ---- */
  .integ-card-wrap {
    position: relative;
    perspective: 1000px;
    max-width: 345px;
    width: 100%;
    margin: 0 auto;
  }

  .integ-card {
    background: #fff;
    border: 1px solid rgba(30, 35, 64, 0.08);
    border-radius: 30px;
    padding: 14px;
    box-shadow:
      0 24px 70px rgba(30, 35, 64, 0.08),
      0 6px 20px rgba(30, 35, 64, 0.04);
    overflow: hidden;
    transform-style: preserve-3d;
    will-change: transform, box-shadow;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
  }

  .integ-card:hover {
    box-shadow:
      0 30px 80px rgba(30, 35, 64, 0.12),
      0 10px 24px rgba(30, 35, 64, 0.06);
  }

  /* Camadas internas em profundidades 3D */
  .integ-card .integ-img-container {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .integ-card:hover .integ-img-container {
    transform: translateZ(20px);
  }

  .integ-img-container {
    overflow: hidden;
    border-radius: 24px;
    position: relative;
    background:
      radial-gradient(circle at top right, rgba(82, 173, 246, 0.18), transparent 34%),
      linear-gradient(180deg, #fbfdff 0%, #edf5fd 100%);
  }

  /* Imagem: começa abaixo e sobe ao aparecer */
  .integ-img {
    width: 100%;
    height: auto;
    display: block;
    transform: translateY(40px);
    opacity: 0;
    transition:
      transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s,
      opacity 1s ease 0.3s;
  }

  /* Quando o card-wrap fica visível, a imagem sobe */
  .integ-card-wrap.animate-visible .integ-img {
    transform: translateY(0);
    opacity: 1;
  }

  /* ---- Conteúdo ---- */
  .integ-content {
    max-width: 640px;
    display: grid;
    gap: 16px;
    align-content: start;
  }

  .integ-subtitle {
    font-family: var(--font-display);
    font-size: 1.06rem;
    font-weight: 600;
    color: var(--text-1);
    margin-top: 2px;
    line-height: 1.45;
    max-width: 34ch;
  }

  .integ-desc {
    margin-top: -2px;
    font-size: 0.96rem;
    color: var(--text-2);
    line-height: 1.8;
    max-width: 60ch;
  }

  .integ-highlight {
    margin-top: -2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: start;
    padding: 11px 16px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.84rem;
    color: var(--accent);
    background: rgba(82, 173, 246, 0.09);
    border: 1px solid rgba(82, 173, 246, 0.14);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  }

  /* Subtítulos de seção interna */
  .integ-section-title {
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-1);
    margin-top: 6px;
    margin-bottom: -2px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .integ-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--grad-brand);
    border-radius: 2px;
    flex-shrink: 0;
  }

  .integ-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 2px;
  }

  .integ-proof-item {
    min-height: 100%;
    padding: 16px 15px 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(30, 35, 64, 0.08);
    border-radius: 18px;
    box-shadow: 0 14px 32px rgba(30, 35, 64, 0.045);
  }

  .integ-proof-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 6px;
  }

  .integ-proof-item span {
    display: block;
    font-size: 0.79rem;
    color: var(--text-3);
    line-height: 1.55;
  }

  /* Features grid */
  .integ-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .integ-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-height: 100%;
    padding: 17px 17px 16px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 20px;
    border: 1px solid rgba(30, 35, 64, 0.08);
    box-shadow: 0 14px 34px rgba(30, 35, 64, 0.045);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  }

  .integ-feature:hover {
    border-color: var(--accent);
    box-shadow: 0 16px 32px rgba(82, 173, 246, 0.1);
    transform: translateY(-2px);
  }

  .integ-feature:last-child {
    grid-column: 1 / -1;
  }

  .integ-feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .integ-feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--accent);
  }

  .integ-feature strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-1);
    margin-bottom: 6px;
  }

  .integ-feature span {
    font-size: 0.83rem;
    color: var(--text-2);
    line-height: 1.6;
  }

  /* Comparação lado a lado */
  .integ-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 2px;
  }

  .integ-compare-col {
    padding: 18px 18px 16px;
    border-radius: 20px;
    border: 1px solid var(--line);
  }

  .integ-compare-label {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .integ-compare-bad {
    background: #fef2f2;
    border-color: #fecaca;
  }

  .integ-compare-bad .integ-compare-label {
    color: #dc2626
  }

  .integ-compare-bad ul li::before {
    content: '✕';
    color: #dc2626;
    margin-right: 8px;
    font-weight: 700
  }

  .integ-compare-good {
    background: var(--accent-light);
    border-color: rgba(82, 173, 246, 0.2);
  }

  .integ-compare-good .integ-compare-label {
    color: var(--accent)
  }

  .integ-compare-good ul li::before {
    content: '✓';
    color: var(--accent);
    margin-right: 8px;
    font-weight: 700
  }

  .integ-compare ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .integ-compare ul li {
    font-size: 0.82rem;
    color: var(--text-2);
    display: flex;
    align-items: flex-start;
  }

  /* CTA block */
  .integ-cta-block {
    margin-top: 4px;
    padding: 22px 24px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 249, 252, 0.98) 100%);
    border-radius: 24px;
    border: 1px solid rgba(30, 35, 64, 0.08);
    box-shadow: 0 20px 42px rgba(30, 35, 64, 0.055);
  }

  .integ-cta-text {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-1);
    line-height: 1.45;
    max-width: 28ch;
  }

  .integ-cta-sub {
    font-size: 0.85rem;
    color: var(--text-2);
    margin-top: 8px;
    margin-bottom: 16px;
    max-width: 48ch;
  }

  /* ---- Responsivo ---- */
  @media (max-width: 1120px) {
    .integ-layout {
      grid-template-columns: minmax(230px, 310px) minmax(0, 1fr);
      gap: 28px;
    }

    .integ-proof {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .integ-proof-item:last-child {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 960px) {
    .integ-layout {
      grid-template-columns: 1fr;
      gap: 26px;
    }

    .integ-card-wrap {
      max-width: 320px;
      margin-top: 0;
      order: 1;
    }

    .integ-card {
      padding: 12px;
      border-radius: 24px;
    }

    .integ-content {
      max-width: 100%;
      order: 2;
      gap: 14px;
    }

    .integ-features {
      grid-template-columns: 1fr;
    }

    .integ-feature:last-child {
      grid-column: auto;
    }

    .integ-compare {
      grid-template-columns: 1fr 1fr;
    }
  }

  @media (max-width: 560px) {
    .integ-layout {
      gap: 20px;
    }

    .integ-card-wrap {
      max-width: 280px;
    }

    .integ-card {
      padding: 10px;
      border-radius: 22px;
    }

    .integ-img-container {
      border-radius: 18px
    }

    .integ-proof {
      grid-template-columns: 1fr;
      gap: 10px;
    }

    .integ-proof-item:last-child {
      grid-column: auto;
    }

    .integ-compare {
      grid-template-columns: 1fr;
      gap: 10px
    }

    .integ-feature {
      padding: 14px 14px 13px
    }

    .integ-cta-block {
      padding: 18px 16px;
      border-radius: 20px;
    }

    .integ-cta-block .btn {
      width: 100%;
      justify-content: center
    }

    .integ-subtitle {
      font-size: 0.96rem;
    }

    .integ-desc {
      font-size: 0.88rem;
      line-height: 1.72;
    }

    .integ-highlight {
      width: 100%;
      justify-content: center;
      text-align: center;
      font-size: 0.78rem;
      padding: 10px 12px;
      border-radius: 14px;
    }
  }

  @media (max-width: 380px) {
    .integ-card-wrap {
      max-width: 248px;
    }

    .integ-subtitle {
      font-size: 0.9rem
    }

    .integ-desc {
      font-size: 0.84rem
    }

    .integ-feature strong {
      font-size: 0.85rem
    }

    .integ-feature span {
      font-size: 0.8rem
    }

    .integ-proof-item {
      padding: 12px 13px;
    }

    .integ-cta-text {
      font-size: 0.96rem;
    }
  }

  /* Métricas — card flutuante entre seções */
  .metrics-dark {
    background: transparent;
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    z-index: 10;
    margin-top: calc(var(--space-xl) * -1);
  }

  @media (max-width: 640px) {
    .metrics-dark {
      margin-top: calc(var(--space-lg) * -1);
    }
  }

  .metrics-dark .metric-item {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .metrics-dark .metric-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }

  .metrics-dark .metric-number {
    color: #fff;
  }

  .metrics-dark .metric-number sup {
    color: rgba(255, 255, 255, 0.6);
  }

  .metrics-dark .metric-label {
    color: rgba(255, 255, 255, 0.7);
  }

  /* ================================================================
   ULTRA RESPONSIVIDADE — COBERTURA TOTAL 280px a 2560px
   ================================================================ */

  /* ---- ULTRA WIDE (1440px+) — limitar largura máxima ---- */
  @media (min-width: 1440px) {
    .container {
      max-width: 1280px
    }

    .hero-grid {
      max-width: 1280px;
      margin: 0 auto
    }

    .services-split .container {
      max-width: 1280px
    }

    .integ-layout {
      max-width: 1200px;
      margin: 0 auto
    }

    .metrics-grid {
      max-width: 1100px;
      margin: 0 auto
    }

    .pill-grid {
      max-width: 900px
    }

    .tm-carousel {
      max-width: 1200px
    }

    .cta-band {
      max-width: 1100px;
      margin-left: auto;
      margin-right: auto
    }

    .rel-section {
      max-width: 1200px
    }
  }

  /* ---- LAPTOP (1024px) ---- */
  @media (max-width: 1024px) {
    .hero-grid {
      gap: var(--space-md)
    }

    .integ-layout {
      gap: var(--space-lg)
    }

    .services-split {
      gap: var(--space-md)
    }
  }

  /* ---- TABLET (768px) ---- */
  @media (max-width: 768px) {

    /* Page hero — centralizado e compacto */
    .page-hero {
      padding-top: calc(68px + var(--space-lg));
      padding-bottom: var(--space-xl)
    }

    .page-hero h1 {
      font-size: clamp(1.4rem, 5vw, 2rem)
    }

    .page-hero p {
      font-size: 0.88rem
    }

    /* Hero */
    .hero {
      padding-top: calc(68px + var(--space-lg))
    }

    .hero-sub {
      font-size: 0.88rem
    }

    /* Métricas */
    .metrics-grid {
      grid-template-columns: 1fr 1fr
    }

    .metric-number {
      font-size: clamp(1.5rem, 5vw, 2rem)
    }

    /* Integrações */
    .integ-layout {
      grid-template-columns: 1fr
    }

    .integ-content {
      max-width: 100%
    }

    /* Pill cards */
    .pill-grid {
      grid-template-columns: 1fr 1fr
    }

    /* Textos fluidos */
    h1 {
      font-size: clamp(1.6rem, 5vw, 2.4rem)
    }

    h2 {
      font-size: clamp(1.2rem, 4vw, 1.8rem)
    }

    h3 {
      font-size: clamp(1rem, 3vw, 1.3rem)
    }
  }

  /* ---- PHABLET (640px) ---- */
  @media (max-width: 640px) {

    /* Botões em coluna */
    .btn-row {
      flex-direction: column;
      align-items: stretch;
      width: -webkit-fit-content;
      width: -moz-fit-content;
      width: fit-content;
      margin-inline: auto
    }

    .btn-row .btn {
      width: 100%;
      justify-content: center;
      text-align: center
    }

    /* Footer sem sobreposição de FABs */
    .footer-grid {
      grid-template-columns: 1fr;
      text-align: left
    }

    .footer-bottom {
      padding-right: 70px
    }

    .service-detail {
      gap: var(--space-md);
      padding-block: var(--space-lg)
    }

    .service-list-box,
    .contact-form-box,
    .contact-info-card {
      padding: var(--space-md)
    }

    .service-price-value {
      font-size: clamp(1.45rem, 8vw, 2rem)
    }

    .portfolio-grid {
      grid-auto-rows: auto
    }

    .portfolio-overlay {
      padding: var(--space-xs)
    }

    .portfolio-result {
      white-space: normal
    }

    .footer-social-row,
    .contact-social-icons {
      flex-wrap: wrap
    }
  }

  /* ---- MOBILE (480px) ---- */
  @media (max-width: 480px) {
    body {
      font-size: 0.92rem
    }

    .container {
      padding-left: 16px;
      padding-right: 16px
    }

    /* Seções mais compactas */
    .section-pad {
      padding-top: var(--space-lg);
      padding-bottom: var(--space-lg)
    }

    .section-pad-lg {
      padding-top: var(--space-xl);
      padding-bottom: var(--space-xl)
    }

    /* Métricas compactas 2x2 */
    .metrics-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px
    }

    .metric-item {
      text-align: center;
      padding: 12px 8px;
      min-height: 88px;
      border-radius: 16px
    }

    .metric-item:first-child,
    .metric-item:last-child,
    .metric-item:nth-child(2),
    .metric-item:nth-child(3) {
      border-radius: var(--r-md);
    }

    .metric-number {
      font-size: 1.4rem
    }

    .metric-label {
      font-size: 0.66rem;
      margin-top: 6px;
      line-height: 1.3
    }

    /* Pill 1 coluna */
    .pill-grid {
      grid-template-columns: 1fr
    }

    /* Integrações */
    .integ-compare {
      grid-template-columns: 1fr
    }

    .integ-cta-block .btn {
      width: 100%;
      justify-content: center
    }

    /* CTA band */
    .cta-band {
      padding: var(--space-lg) var(--space-md);
      border-radius: var(--r-lg)
    }

    .cta-band h2 {
      font-size: clamp(1.2rem, 4vw, 1.6rem)
    }

    .service-tag span,
    .pricing-features li,
    .service-list-box li,
    .contact-info-value {
      font-size: 0.82rem
    }

    .blog-card-meta {
      flex-wrap: wrap
    }

    /* Carrossel depoimentos */
    .tm-card {
      min-height: auto
    }

    /* Page hero */
    .page-hero h1 {
      font-size: clamp(1.3rem, 6vw, 1.8rem)
    }

    /* Scroll suave global */
    html {
      scroll-padding-top: 70px
    }
  }

  /* ---- SMALL MOBILE (380px) ---- */
  @media (max-width: 380px) {
    .container {
      padding-left: 14px;
      padding-right: 14px
    }

    /* Tipografia mínima legível */
    body {
      font-size: 0.88rem
    }

    h1 {
      font-size: clamp(1.4rem, 7vw, 1.8rem)
    }

    h2 {
      font-size: clamp(1.1rem, 5vw, 1.4rem)
    }

    /* Hero compacto */
    .hero-title {
      font-size: clamp(1.4rem, 7vw, 1.8rem)
    }

    .hero-sub {
      font-size: 0.82rem
    }

    /* Chips menores */
    .chip {
      font-size: 0.6rem;
      padding: 4px 10px
    }

    /* Dashboard panel compacto */
    .dashboard-panel {
      padding: 16px 12px;
      border-radius: 14px
    }

    /* Services cards */
    .svc-card {
      padding: 14px 12px
    }

    .svc-title {
      font-size: 0.85rem
    }

    /* Depoimentos */
    .tm-card {
      padding: 14px 12px 16px
    }

    .tm-text {
      font-size: 0.82rem
    }

    /* Footer compacto */
    .footer-bottom {
      font-size: 0.68rem;
      padding-right: 60px
    }

    .about-split,
    .contact-grid {
      gap: var(--space-sm)
    }

    .service-detail {
      gap: var(--space-md)
    }

    .contact-info-item {
      gap: 10px
    }

    .contact-info-icon {
      width: 34px;
      height: 34px
    }

    .footer-social-icon {
      width: 34px;
      height: 34px
    }

    .footer-social-icon svg {
      width: 16px;
      height: 16px
    }
  }

  /* ---- ULTRA SMALL (320px — iPhone SE, Galaxy Fold) ---- */
  @media (max-width: 320px) {
    .container {
      padding-left: 12px;
      padding-right: 12px
    }

    body {
      font-size: 0.85rem
    }

    h1 {
      font-size: 1.3rem
    }

    h2 {
      font-size: 1.1rem
    }

    .hero-title {
      font-size: 1.3rem
    }

    .hero-sub {
      font-size: 0.78rem
    }

    .hero-avatar {
      width: 32px;
      height: 32px
    }

    .chip {
      font-size: 0.55rem;
      padding: 3px 8px
    }

    .btn {
      padding: 10px 16px;
      font-size: 0.82rem
    }

    .btn-sm {
      padding: 8px 12px;
      font-size: 0.75rem
    }

    .metric-number {
      font-size: 1.22rem
    }

    .metric-label {
      font-size: 0.6rem;
      line-height: 1.25
    }

    .pill-card {
      padding: 10px 16px 10px 12px
    }

    .pill-num {
      font-size: 16px
    }

    .pill-title {
      font-size: 11px
    }

    .pill-text {
      font-size: 10px
    }

    .tm-card {
      border-radius: 12px
    }

    .tm-avatar {
      width: 34px;
      height: 34px
    }

    .tm-name {
      font-size: 0.8rem
    }

    .fab {
      width: 42px;
      height: 42px
    }

    .fab svg {
      width: 18px;
      height: 18px
    }

    .fab-group {
      bottom: 8px;
      right: 8px
    }

    .footer-grid {
      gap: var(--space-sm)
    }

    .footer-col h4 {
      font-size: 0.78rem
    }

    .footer-col a {
      font-size: 0.78rem
    }
  }

  /* ---- GALAXY FOLD FECHADO (280px) ---- */
  @media (max-width: 280px) {
    .container {
      padding-left: 10px;
      padding-right: 10px
    }

    .hero-title {
      font-size: 1.2rem
    }

    .hero-actions {
      gap: 8px
    }

    .hero-avatar {
      width: 28px;
      height: 28px
    }

    .nav-cta {
      display: none
    }

    .marquee-item {
      font-size: 0.6rem
    }

    .integ-feature {
      flex-direction: column;
      text-align: center
    }

    .integ-feature-icon {
      align-self: center
    }
  }

  /* ---- LANDSCAPE MOBILE ---- */
  @media (max-height: 500px) and (orientation: landscape) {
    .hero {
      padding-top: calc(56px + var(--space-sm));
      padding-bottom: var(--space-sm)
    }

    .hero-title {
      font-size: clamp(1.2rem, 4vw, 1.8rem)
    }

    .hero-visual {
      display: none
    }

    .section-pad {
      padding-top: var(--space-md);
      padding-bottom: var(--space-md)
    }

    .mobile-nav {
      padding-top: 70px
    }
  }

  /* ---- PRINT ---- */
  @media print {

    .site-header,
    .mobile-nav,
    .mobile-nav-overlay,
    .fab-group,
    .cookie-banner,
    .marquee-section {
      display: none !important
    }

    .hero-visual {
      display: none
    }

    body {
      font-size: 12pt;
      color: #000
    }

    a {
      color: #000;
      text-decoration: underline
    }

    .container {
      max-width: 100%;
      padding: 0
    }
  }

  /* ---- TOUCH DEVICES — alvos maiores ---- */
  @media (hover: none) and (pointer: coarse) {

    a,
    button,
    .btn,
    .svc-card,
    .pill-card,
    .tm-card,
    .blog-card {
      -webkit-tap-highlight-color: transparent;
    }

    .btn {
      min-height: 44px
    }

    .nav-links a {
      min-height: 44px;
      display: flex;
      align-items: center
    }

    .footer-col a {
      padding: 6px 0;
      min-height: 40px;
      display: flex;
      align-items: center
    }
  }

  /* ---- SAFE AREAS (iPhone notch) ---- */
  @supports (padding: env(safe-area-inset-bottom)) {
    .site-footer {
      padding-bottom: env(safe-area-inset-bottom)
    }

    .fab-group {
      bottom: calc(14px + env(safe-area-inset-bottom))
    }

    .mobile-nav {
      padding-bottom: calc(40px + env(safe-area-inset-bottom))
    }
  }

  /* ---- PREFERS REDUCED MOTION ---- */
  @media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }

    .marquee-track {
      animation: none
    }

    .hero-visual {
      animation: none
    }
  }

  /* ---- HIGH CONTRAST ---- */
  @media (prefers-contrast: high) {
    :root {
      --line: rgba(0, 0, 0, 0.2);
      --text-2: #2a2e45;
      --text-3: #4a4e65;
    }

    .chip {
      border-width: 2px
    }

    .btn {
      border-width: 2px
    }
  }

  /* Formulário — feedback de erro */
  .form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    text-align: center;
  }

  /* Botão loading */
  .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }

  .spinner {
    animation: spin 0.8s linear infinite
  }

  @keyframes spin {
    to {
      transform: rotate(360deg)
    }
  }

/* ================================================================
   HERO BANNER IMAGE — Imagem de portfólio no hero
   ================================================================ */

.hero-banner-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 580px;
  margin-inline: auto;
  overflow: visible;
  animation: heroBannerFloat 6s ease-in-out infinite;
}

@keyframes heroBannerFloat {
  0%, 100% { transform: translateY(0) }
  50%      { transform: translateY(-10px) }
}

.hero-banner-img {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-banner-wrap:hover .hero-banner-img {
  transform: scale(1.03);
}

/* Hero visual — SEMPRE VISÍVEL incluindo mobile */
.hero-visual {
  display: block !important;
}

@media (min-width: 1440px) {
  .hero-banner-img { max-width: 560px }
}

@media (max-width: 1024px) {
  .hero-banner-img { max-width: 440px }
}

@media (max-width: 768px) {
  .hero-grid { grid-template-columns: 1fr !important; text-align: center }
  .hero-visual { display: block !important; order: 2; margin-top: var(--space-md) }
  .hero-content { order: 1 }
  .hero-banner-wrap { justify-content: center }
  .hero-banner-img { max-width: 460px; width: 95%; margin-inline: auto }
  .hero-eyebrow { display: flex; justify-content: center }
  .hero-sub { margin-inline: auto }
  .hero-actions { justify-content: center }
}

@media (max-width: 640px) {
  .hero-banner-img { max-width: 420px; width: 92% }
  .hero-banner-wrap { animation-duration: 8s }
}

@media (max-width: 480px) {
  .hero-banner-img { max-width: 370px; width: 90% }
  .hero-visual { margin-top: var(--space-sm) }
}

@media (max-width: 380px) {
  .hero-banner-img { max-width: 320px; width: 86% }
}

@media (max-width: 320px) {
  .hero-banner-img { max-width: 275px; width: 82% }
  .hero-visual { margin-top: var(--space-xs) }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero-banner-img { max-width: 240px; width: 60% }
}

@media (hover: none) and (pointer: coarse) {
  .hero-banner-wrap:active .hero-banner-img {
    transform: scale(1.03);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner-wrap { animation: none }
}

/* ================================================================
   MELHORIAS RESPONSIVAS — INDEX.HTML
   Lacunas identificadas e corrigidas
   ================================================================ */

/* ---- HERO ACTIONS — botões uniformes no mobile ---- */
@media (max-width: 640px) {
  .hero-actions {
    width: min(90vw, 380px);
  }
  .hero-actions .btn,
  .hero-actions .btn-cta-play {
    min-height: 54px;
    font-size: 1rem;
  }
  .hero-actions .btn-cta-play {
    padding: 8px 14px 8px 26px;
    gap: 12px;
  }
  .hero-actions .btn-cta-play .btn-cta-play__circle {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    width: min(92vw, 360px);
  }
  .hero-actions .btn,
  .hero-actions .btn-cta-play {
    min-height: 52px;
    font-size: 0.97rem;
    padding: 13px 24px;
  }
  .hero-actions .btn-cta-play {
    padding: 8px 12px 8px 22px;
    gap: 11px;
  }
  .hero-actions .btn-cta-play .btn-cta-play__circle {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 380px) {
  .hero-actions {
    width: min(94vw, 320px);
  }
  .hero-actions .btn,
  .hero-actions .btn-cta-play {
    min-height: 50px;
    font-size: 0.93rem;
    padding: 12px 20px;
  }
  .hero-actions .btn-cta-play {
    padding: 7px 10px 7px 18px;
    gap: 9px;
  }
  .hero-actions .btn-cta-play .btn-cta-play__circle {
    width: 34px;
    height: 34px;
  }
}

/* ---- SERVIÇOS — header centralizado no mobile ---- */
@media (max-width: 768px) {
  .svc-header-row {
    align-items: center;
    text-align: center;
  }

  .svc-header-row > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .svc-header-row > .btn-cta-play {
    align-self: center;
  }
}

@media (max-width: 560px) {
  .svc-header-row > .btn-cta-play {
    justify-content: center;
  }
}


/* ---- CARROSSEL DEPOIMENTOS — margem no topo ---- */
@media (max-width: 640px) {
  .tm-carousel {
    margin-top: var(--space-md);
  }
}


/* ---- HERO LABEL TAG — marcadores de canto em mobile ---- */
@media (max-width: 480px) {
  .hero-label-tag {
    font-size: 0.72rem;
    padding: 5px 12px;
  }

  .hero-eyebrow {
    margin-bottom: 1.25rem;
  }
}

/* ---- SEÇÃO PROCESSO — espaço no fundo dourado ---- */
@media (max-width: 640px) {
  .bg-warm .section-header,
  .bg-green-tint .section-header {
    text-align: center;
    align-items: center;
  }
}

/* ---- FAB WHATSAPP — espaço do rodapé nos FABs ---- */
@media (max-width: 480px) {
  .footer-bottom {
    padding-right: 0;
    padding-bottom: calc(var(--space-sm) + 60px);
  }
}


/* ---- SOBRE — centraliza bloco de texto quando empilhado ---- */
@media (max-width: 900px) {
  .about-split > div:first-child {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-split > div:first-child p {
    max-width: 100%;
    margin-inline: auto;
  }

  .about-split .chip {
    align-self: center;
    margin-inline: auto;
  }

  .about-split .btn {
    align-self: center;
  }
}

/* ---- SERVICOS — espaçamentos mobile ---- */
@media (max-width: 768px) {
  /* pricing cards: gap generoso para o badge posicionado (top:-12px) não colidir */
  .pricing-grid {
    gap: var(--space-lg)
  }

  /* FAQ: mais espaço entre as perguntas */
  .faq-list {
    gap: var(--space-md)
  }
}

@media (max-width: 640px) {
  /* elementos internos do bloco de serviço: aumenta espaço entre chip/h2/p */
  .service-info .mt-xs {
    margin-top: var(--space-sm)
  }
}

@media (max-width: 480px) {
  /* reverte a redução de padding dos pricing e faq cards para manter conteúdo respirável */
  .pricing-card,
  .faq-list .card {
    padding: var(--space-md)
  }

  /* faq: fonte menor para o summary não quebrar em múltiplas linhas */
  .faq-summary {
    font-size: 0.9rem
  }
}


/* ================================================================
   ESPAÇAMENTO GLOBAL MOBILE — COBERTURA TODAS AS SEÇÕES/PÁGINAS
   ================================================================ */

/* ---- CHIP — centralizado e com espaço do título em mobile (todas as páginas) ---- */
@media (max-width: 768px) {
  .chip {
    display: block;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 16px;
    align-self: center;
    justify-self: center;
  }
}

@media (max-width: 480px) {
  .chip {
    margin-bottom: 14px;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 380px) {
  .section-header {
    margin-bottom: 1.25rem;
  }
}

/* ---- PAGE HERO — mais compacto em telas pequenas ---- */
@media (max-width: 380px) {
  .page-hero {
    padding-top: calc(56px + var(--space-md));
    padding-bottom: var(--space-lg);
  }
}

/* ---- SOBRE — valores e equipe compactos ---- */
@media (max-width: 560px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xs);
  }

  .about-split {
    gap: var(--space-md);
  }
}

@media (max-width: 380px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .value-card,
  .team-card {
    padding: var(--space-sm);
  }
}

/* ---- DEPOIMENTOS — carrossel margem compacta no mobile ---- */
@media (max-width: 480px) {
  .tm-carousel {
    margin-top: var(--space-sm);
  }
}

/* ---- BLOG PREVIEW — espaçamento no mobile ---- */
@media (max-width: 380px) {
  .blog-preview-carousel {
    padding: 0 10px;
    margin-top: var(--space-md);
  }

  .blog-preview-footer {
    margin-top: var(--space-md);
  }
}

/* ---- MÉTRICAS DARK — espaçamento interno ---- */
@media (max-width: 380px) {
  .metrics-dark .metric-item {
    min-height: auto;
  }
}

/* ---- CONTATO — cards empilhados ---- */
@media (max-width: 480px) {
  .contact-form-box,
  .contact-info-card {
    padding: var(--space-sm);
    border-radius: var(--r-lg);
  }
}

/* ---- SERVIÇOS INTERNOS — espaçamento ---- */
@media (max-width: 480px) {
  .service-list-box {
    padding: var(--space-sm);
  }

  .pricing-features {
    gap: 8px;
  }

  .service-detail {
    padding-block: var(--space-md);
  }
}

/* ---- FAQ — legível em mobile ---- */
@media (max-width: 380px) {
  .faq-summary {
    font-size: 0.85rem;
    gap: 10px;
  }

  .faq-body {
    font-size: 0.8rem;
  }
}

/* ---- PORTFÓLIO — overlay mais compacto ---- */
@media (max-width: 380px) {
  .portfolio-item {
    min-height: 210px;
  }
}

/* ---- POLÍTICAS/TERMOS — texto legível ---- */
@media (max-width: 480px) {
  .legal-content h2,
  .legal h2 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
  }

  .legal-content h3,
  .legal h3 {
    font-size: 0.95rem;
  }

  .legal-content p,
  .legal p,
  .legal-content li,
  .legal li {
    font-size: 0.85rem;
    line-height: 1.65;
  }
}

/* ---- PILL GRID — gap menor no mobile pequeno ---- */
@media (max-width: 380px) {
  .pill-grid {
    gap: 10px;
  }
}

/* ================================================================
   RITMO DE ESPAÇAMENTO ENTRE SEÇÕES — MELHORIA GLOBAL
   Cobre todas as páginas (index, sobre, serviços, portfólio,
   contato, blog) em todos os breakpoints de 320px a 1440px+
   ================================================================ */

/* ---- DESKTOP LARGO (1280px+) — já usa --space-xl = 6rem = 96px ---- */

/* ---- TABLET (≤ 768px) — step-down suave do xl para ~40-52px ---- */
@media (max-width: 768px) {
  .section-pad {
    padding-block: clamp(2.5rem, 5.5vw, 3.25rem); /* 40px → 52px */
  }

  .section-pad-lg {
    padding-block: clamp(3rem, 7vw, 4.5rem); /* 48px → 72px */
  }

  .section-header {
    margin-bottom: clamp(1.75rem, 4vw, 2.5rem); /* 28px → 40px */
  }

  /* Blog hero: alinha com page-hero no tablet */
  .blog-hero {
    padding-top: calc(68px + var(--space-lg));
    padding-bottom: var(--space-xl);
  }
}

/* ---- PHABLET (≤ 640px) — 36px por lado ---- */
@media (max-width: 640px) {
  .section-pad {
    padding-block: clamp(2.25rem, 5vw, 3rem); /* 36px → 48px */
  }

  .section-header {
    margin-bottom: clamp(1.5rem, 3.5vw, 2rem); /* 24px → 32px */
  }

  /* Espaço interno dos cards de info e formulário */
  .contact-form-box,
  .contact-info-card {
    padding: var(--space-md) clamp(1rem, 4vw, var(--space-lg));
  }

  /* Serviços: espaço entre itens */
  .service-detail {
    gap: var(--space-md);
    padding-block: clamp(1.75rem, 4vw, var(--space-xl));
  }
}

/* ---- MOBILE (≤ 480px) — 40px por lado (melhora dos 32px anteriores) ---- */
@media (max-width: 480px) {
  .section-pad {
    padding-block: 2.5rem; /* 40px — mais respirável */
  }

  .section-pad-lg {
    padding-block: 3rem; /* 48px */
  }

  .section-header {
    margin-bottom: 1.5rem; /* 24px */
  }

  /* Page hero: fundo + espaço inferior */
  .page-hero {
    padding-bottom: var(--space-lg);
  }

  /* Blog hero */
  .blog-hero {
    padding-bottom: var(--space-lg);
  }

  /* Cards internos: padding reduzido mas respirável */
  .value-card,
  .team-card {
    padding: var(--space-sm) var(--space-md);
  }

  /* Portfólio overlay */
  .portfolio-overlay {
    padding: 12px 14px 11px;
  }

  /* Blog grid gap */
  .blog-grid {
    gap: 16px;
    margin-top: var(--space-md);
  }
}

/* ---- SMALL MOBILE (≤ 380px) — 32px por lado ---- */
@media (max-width: 380px) {
  .section-pad {
    padding-block: 2rem; /* 32px */
  }

  .section-pad-lg {
    padding-block: 2.5rem; /* 40px */
  }

  .section-header {
    margin-bottom: 1.25rem; /* 20px */
  }

  .page-hero {
    padding-top: calc(56px + var(--space-md));
    padding-bottom: var(--space-lg);
  }

  .blog-hero {
    padding-top: calc(56px + var(--space-md));
    padding-bottom: var(--space-lg);
  }

  /* Gaps internos mais compactos */
  .values-grid,
  .team-grid {
    gap: 10px;
  }

  .blog-grid {
    gap: 12px;
  }

  .portfolio-grid {
    gap: 12px;
  }
}

/* ---- ULTRA SMALL (≤ 320px) — 28px por lado ---- */
@media (max-width: 320px) {
  .section-pad {
    padding-block: 1.75rem; /* 28px */
  }

  .section-pad-lg {
    padding-block: 2.25rem; /* 36px */
  }

  .section-header {
    margin-bottom: 1rem; /* 16px */
  }

  .page-hero {
    padding-top: calc(54px + var(--space-sm));
    padding-bottom: var(--space-md);
  }
}

/* ---- LANDSCAPE MOBILE — compacto na horizontal ---- */
@media (max-height: 500px) and (orientation: landscape) {
  .section-pad {
    padding-block: var(--space-md); /* já existe, reforço */
  }

  .page-hero {
    padding-top: calc(54px + var(--space-xs));
    padding-bottom: var(--space-sm);
  }

  .blog-hero {
    padding-top: calc(54px + 0.5rem);
    padding-bottom: 0.75rem;
  }
}

/* ================================================================
   BOTÕES GLOBAIS — tamanho uniforme em todas as páginas
   ================================================================ */
@media (max-width: 640px) {
  .btn {
    font-size: 1rem;
    padding: 14px 26px;
    min-height: 52px;
  }
  .btn-cta-play {
    padding: 8px 14px 8px 26px;
    gap: 12px;
    min-height: 54px;
  }
  .btn-cta-play .btn-cta-play__circle {
    width: 38px;
    height: 38px;
  }
  .btn-sm {
    font-size: 0.88rem;
    padding: 11px 20px;
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .btn {
    font-size: 0.97rem;
    padding: 13px 24px;
    min-height: 50px;
  }
  .btn-cta-play {
    padding: 8px 12px 8px 22px;
    gap: 11px;
    min-height: 52px;
  }
  .btn-cta-play .btn-cta-play__circle {
    width: 36px;
    height: 36px;
  }
  .btn-sm {
    font-size: 0.85rem;
    padding: 10px 18px;
    min-height: 42px;
  }
}

@media (max-width: 380px) {
  .btn {
    font-size: 0.93rem;
    padding: 12px 20px;
    min-height: 48px;
  }
  .btn-cta-play {
    padding: 7px 10px 7px 18px;
    gap: 9px;
    min-height: 50px;
  }
  .btn-cta-play .btn-cta-play__circle {
    width: 34px;
    height: 34px;
  }
  .btn-sm {
    font-size: 0.82rem;
    padding: 9px 16px;
    min-height: 40px;
  }
}
