/*
 * Section layout classes — usadas nos blocos do editor
 * Estas classes permitem que o conteúdo seja editável no Gutenberg
 * sem precisar de inline styles em cada bloco.
 */

/* ── Seções de fundo ─────────────────────────────── */
.section-dark {
  background-color: #0D0D0D !important;
  color: #FFFFFF;
  padding-top: 88px;
  padding-bottom: 88px;
}

.section-light {
  background-color: #F5F5F5 !important;
  color: #1A1A1A;
  padding-top: 88px;
  padding-bottom: 88px;
}

.section-hero {
  background-color: #0D0D0D !important;
  color: #FFFFFF;
  padding-top: 120px;
  padding-bottom: 88px;
}

.section-stats {
  background-color: #111111 !important;
  color: #FFFFFF;
  padding-top: 0;
  padding-bottom: 0;
}

.section-cta-blue {
  background-color: #0099CC !important;
  color: #FFFFFF;
  padding-top: 100px;
  padding-bottom: 100px;
  text-align: center;
}

.section-cta-dark {
  background-color: #0D0D0D !important;
  color: #FFFFFF;
  padding-top: 112px;
  padding-bottom: 112px;
  text-align: center;
}

.section-faq {
  background-color: #0D0D0D !important;
  color: #FFFFFF;
  padding-top: 88px;
  padding-bottom: 88px;
}

/* ── Tipografia de título por seção ──────────────── */
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-hero h1,
.section-hero h2,
.section-hero h3,
.section-faq h2,
.section-faq h3,
.section-cta-dark h2 {
  color: #FFFFFF !important;
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4 {
  color: #1A1A1A !important;
}

.section-dark p,
.section-hero p,
.section-faq p {
  color: #AAAAAA;
}

.section-light p {
  color: #555555;
}

.section-cta-dark p,
.section-cta-blue p {
  color: rgba(255, 255, 255, 0.85);
}

/* ── H1 hero — tamanho do modelo: 72px ───────────── */
.section-hero h1 {
  font-size: clamp(48px, 7vw, 72px) !important;
  line-height: 1.0 !important;
  margin-bottom: 24px;
}

/* ── H2 padrão de seção ─────────────────────────── */
.section-dark h2,
.section-light h2,
.section-faq h2 {
  font-size: clamp(36px, 4vw, 48px) !important;
  margin-bottom: 20px;
}

/* ── H2 CTA final ────────────────────────────────── */
.section-cta-dark h2 {
  font-size: clamp(40px, 5vw, 64px) !important;
  max-width: 800px;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 20px;
}

/* ── Eyebrow tag ─────────────────────────────────── */
.eyebrow {
  display: inline-block !important;
  width: auto !important;
  max-width: 100% !important;
  float: none !important;
  clear: both !important;
  transform: none !important;
  left: auto !important;
  right: auto !important;
  margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important;
  margin-right: auto !important;
  margin-inline: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) auto !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #0099CC !important;
  margin-bottom: 20px !important;
  padding: 6px 12px !important;
  border: 1px solid rgba(0, 153, 204, 0.3) !important;
  border-radius: 2px !important;
  line-height: 1.4 !important;
}

.section-light .eyebrow {
  color: #007AA3 !important;
}

/* ── Coluna de imagem da hero — centralizada e limitada ── */
.section-hero .wp-block-column:last-child {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.section-hero .wp-block-image {
  width: 100%;
  max-width: 520px;
}

.section-hero .wp-block-image img,
.section-hero figure img {
  width: 100% !important;
  height: auto !important;
  max-height: 500px !important;
  object-fit: contain !important;
  border-radius: 4px;
  filter: drop-shadow(0 32px 64px rgba(0, 153, 204, 0.12));
}

/* Hero: suporte para embed de video (YouTube/Vimeo) e video nativo */
.section-hero .wp-block-embed,
.section-hero .wp-block-video {
  width: 100%;
  max-width: 520px;
}

.section-hero .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  filter: drop-shadow(0 32px 64px rgba(0, 153, 204, 0.12));
}

.section-hero .wp-block-embed__wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}

.section-hero .wp-block-video video {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: 500px !important;
  border-radius: 4px;
  filter: drop-shadow(0 32px 64px rgba(0, 153, 204, 0.12));
}

/* ── Stats (números KPI) ─────────────────────────── */
.stat-value {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 56px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  color: #0099CC !important;
  line-height: 1 !important;
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #888888 !important;
  display: block;
  margin-top: 6px;
}

/* ── Cards claros (pilares) ──────────────────────── */
.card-white {
  background: #FFFFFF;
  border-radius: 6px;
  padding: 40px 32px;
  border: 1px solid #DDDDDD;
  border-top: 3px solid transparent;
  transition: border-top-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: default;
}

.card-white:hover {
  border-top-color: #0099CC;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  transform: translateY(-2px);
}

.card-white h3,
.card-white h4 {
  color: #1A1A1A !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin-bottom: 12px;
}

.card-white p {
  color: #555555 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

/* ── Número de etapa decorativo ──────────────────── */
.card-step-number {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  color: rgba(0, 153, 204, 0.20) !important;
  line-height: 1 !important;
  margin-bottom: 12px !important;
  display: block;
}

/* ── Cards escuros (etapas / processo) ───────────── */
.card-dark-border {
  background: #1A1A1A;
  border-radius: 4px;
  padding: 32px 28px;
  border: 1px solid #2A2A2A;
  border-top: 3px solid #0099CC;
  transition: border-color 0.2s;
}

.card-dark-border:hover {
  border-color: #0099CC;
}

.card-dark-border h3,
.card-dark-border h4 {
  color: #FFFFFF !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin-bottom: 10px;
}

.card-dark-border p {
  color: #AAAAAA !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

/* ── Card de exclusão ────────────────────────────── */
.card-exclusion {
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid #2A2A2A;
  border-radius: 0 4px 4px 0;
  padding: 18px 20px;
  margin-top: 28px;
}

.card-exclusion p {
  color: #666666 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.card-exclusion-label {
  font-family: 'Inter', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: #888888 !important;
  display: block;
  margin-bottom: 6px;
}

/* ── Tabela ROI ───────────────────────────────────── */
.table-roi table,
.table-specs table {
  width: 100%;
  border-collapse: collapse;
}

/* Tabela em fundo escuro */
.section-dark .table-roi td,
.section-dark .table-specs td {
  padding: 16px;
  border: 1px solid #2A2A2A;
  color: #CCCCCC;
  font-size: 15px;
  background: transparent;
}

.section-dark .table-roi td:first-child,
.section-dark .table-specs td:first-child {
  color: #AAAAAA;
  font-size: 14px;
}

.section-dark .table-roi td:last-child,
.section-dark .table-specs td:last-child {
  text-align: right;
  font-weight: 600;
  color: #FFFFFF;
}

.section-dark .table-roi tr:last-child td,
.section-dark .table-specs tr:last-child td {
  border: 1px solid #2A2A2A;
}

/* Tabela em fundo claro */
.section-light .table-specs td {
  padding: 14px;
  border: 1px solid #DDDDDD;
  font-size: 14px;
  color: #444444;
  background: transparent;
}

.section-light .table-specs td:first-child {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #777777;
}

.section-light .table-specs td:last-child {
  text-align: right;
  font-weight: 600;
  color: #1A1A1A;
}

.section-light .table-specs tr:last-child td {
  border: 1px solid #DDDDDD;
}

.highlight-blue {
  color: #0099CC !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

/* ── Botões de seção CTA azul ─────────────────────── */
.section-cta-blue .wp-block-button__link {
  background: #FFFFFF !important;
  color: #0099CC !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  border-radius: 4px !important;
  padding: 16px 36px !important;
}

.section-cta-blue .wp-block-button__link:hover {
  background: #F0F0F0 !important;
}

/* ── Info de contato ─────────────────────────────── */
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #333333;
  margin-bottom: 12px;
}

.contact-info-hours {
  background: #FFFFFF;
  border: 1px solid #DDDDDD;
  border-radius: 4px;
  padding: 20px;
  margin-top: 24px;
}

.contact-info-hours p {
  font-size: 14px !important;
  color: #444444 !important;
  line-height: 1.6 !important;
}

/* ── Galeria grid ────────────────────────────────── */
.gallery-grid .wp-block-image img {
  border-radius: 4px;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* ── Responsivo ──────────────────────────────────── */
@media (max-width: 768px) {
  .section-hero {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .section-hero h1 {
    font-size: clamp(40px, 10vw, 56px) !important;
  }

  .section-dark,
  .section-light {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .section-cta-dark,
  .section-cta-blue {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .stat-value {
    font-size: 40px !important;
  }

  .card-white {
    padding: 28px 24px;
  }

  .card-dark-border {
    padding: 24px 20px;
  }

  .section-hero .wp-block-image img,
  .section-hero figure img {
    max-height: 320px !important;
  }
}