/*
 * sobre.css — Página "Sobre Nós" (slug sobre-nos).
 * Carregado via ai_theme_enqueue_assets() quando is_page('sobre-nos').
 * Header/footer têm CSS próprio (header.css / footer.css). Tokens no :root de style.css.
 */

.sb-page { font-family: var(--tf-font); color: var(--tf-navy); }
.sb-page a { text-decoration: none; }
.sb-page a:hover { text-decoration: none; }

@keyframes tfrise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Primitivas compartilhadas (eyebrow / cabeçalho de seção) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.eyebrow--gold { color: var(--tf-yellow); }
.eyebrow--blue { color: var(--tf-blue); }
.eyebrow-bar { width: 26px; height: 2px; background: var(--tf-yellow); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-title {
  font-family: var(--tf-font);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  margin: 14px 0 0;
}
.section-title--navy { color: var(--tf-navy); }

/* ===== SEÇÃO 1 · HERO ===== */
.sb-hero { position: relative; background: var(--tf-navy-deep); overflow: hidden; }
.sb-hero-bg { position: absolute; inset: 0; }
.sb-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 9, 63, 0.42) 0%, rgba(5, 9, 63, 0.21) 42%, rgba(5, 9, 63, 0.92) 100%);
}
.sb-hero-inner {
  position: relative;
  max-width: var(--tf-container);
  margin: 0 auto;
  min-height: min(88vh, 600px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 150px 32px 78px;
}
.sb-hero-content { max-width: 820px; animation: tfrise .7s ease both; }
.sb-hero-title {
  font-family: var(--tf-font);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 22px 0 0;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.sb-hero-sub { font-size: clamp(17px, 1.8vw, 21px); line-height: 1.5; color: #dfe3ff; max-width: 640px; margin: 22px 0 0; }

/* ===== SEÇÃO 2 · ORIGEM E FUNDADORES ===== */
.sb-founder { background: #fff; }
.sb-founder-inner {
  max-width: var(--tf-container);
  margin: 0 auto;
  padding: 104px 32px;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 70px;
  align-items: center;
}
.sb-founder-media { position: relative; }
.sb-founder-frame { position: absolute; left: -16px; top: -16px; right: 20px; bottom: 20px; border-radius: 18px; background: var(--tf-navy); }
.sb-founder-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: #dfe3f2;
  box-shadow: 0 30px 60px -26px rgba(10, 20, 107, 0.4);
}
.sb-founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-founder-tag {
  position: absolute;
  left: 16px; bottom: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--tf-navy);
  background: rgba(255, 255, 255, 0.92);
  padding: 7px 12px;
  border-radius: 999px;
}
.sb-founder-title { font-family: var(--tf-font); font-weight: 700; font-size: clamp(26px, 3vw, 38px); line-height: 1.18; color: var(--tf-navy); margin: 18px 0 0; }
.sb-founder-p { font-size: 16px; line-height: 1.75; color: #4a5078; margin: 18px 0 0; }
.sb-founder-title + .sb-founder-p { margin-top: 24px; }
.sb-founder-p strong { color: var(--tf-navy); font-weight: 600; }
.sb-stats { display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap; }
.sb-stat-num { font-family: var(--tf-font); font-weight: 700; font-size: 34px; color: var(--tf-navy); }
.sb-stat-label { font-size: 13px; color: var(--tf-muted-2); margin-top: 2px; }
.sb-stat-div { width: 1px; background: #e7e9f3; }

/* ===== SEÇÃO 3 · LINHA DO TEMPO ===== */
.sb-timeline { background: var(--tf-light); border-top: 1px solid var(--tf-border-2); border-bottom: 1px solid var(--tf-border-2); }
.sb-timeline-inner { max-width: var(--tf-container); margin: 0 auto; padding: 100px 32px; }
.sb-tl-list { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; }
.tl-item { display: grid; grid-template-columns: 170px 1fr; gap: 30px; align-items: start; }
.tl-when { text-align: right; padding-top: 2px; }
.tl-year { font-family: var(--tf-font); font-weight: 700; font-size: clamp(26px, 2.8vw, 34px); line-height: 1; color: var(--tf-navy); }
.tl-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tf-blue); margin-top: 8px; }
.tl-body { position: relative; display: flex; gap: 26px; }
.tl-marker { position: relative; flex: none; display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; flex: none; background: var(--tf-yellow); border: 3px solid var(--tf-navy); box-shadow: 0 0 0 4px var(--tf-light); }
.tl-line { flex: 1; width: 2px; background: #d7dbec; min-height: 56px; }
.tl-text-wrap { padding-bottom: 38px; }
.tl-text { font-size: 15.5px; line-height: 1.7; color: #4a5078; margin: 0; max-width: 520px; }

/* ===== SEÇÃO 4 · MISSÃO, VISÃO E VALORES ===== */
.sb-mvv { background: #fff; }
.sb-mvv-inner { max-width: var(--tf-container); margin: 0 auto; padding: 100px 32px; }
.sb-mvv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.sb-mvv-card { border: 1px solid var(--tf-border); border-radius: 18px; padding: 34px 30px; background: #fff; box-shadow: 0 16px 40px -30px rgba(10, 20, 107, 0.4); }
.sb-mvv-icon { width: 52px; height: 52px; border-radius: 14px; background: #f2f4fc; display: flex; align-items: center; justify-content: center; color: var(--tf-navy); margin-bottom: 20px; }
.sb-mvv-icon svg { width: 40px; height: 40px; }
.sb-mvv-title { font-family: var(--tf-font); font-weight: 700; font-size: 21px; color: var(--tf-navy); }
.sb-mvv-text { font-size: 14.5px; line-height: 1.65; color: var(--tf-muted); margin: 12px 0 0; }
.sb-values { display: flex; flex-direction: column; gap: 11px; margin-top: 14px; }
.sb-value { display: flex; align-items: center; gap: 10px; }
.sb-value-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tf-yellow); flex: none; }
.sb-value-label { font-size: 14.5px; font-weight: 500; color: #2a2f5c; }

/* ===== SEÇÃO 5 · DIFERENCIAL ===== */
.sb-dif { background: var(--tf-navy); border-top: 1px solid rgba(255, 255, 255, 0.14); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
/* Contraste do cabecalho sobre o fundo azul */
.sb-dif .eyebrow--blue { color: var(--tf-yellow); }
.sb-dif .section-title--navy { color: #fff; }
.sb-dif-inner { max-width: var(--tf-container); margin: 0 auto; padding: 100px 32px; }
.sb-dif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.sb-dif-card { background: #fff; border: 1px solid var(--tf-border); border-radius: 16px; padding: 30px 28px; }
.sb-dif-icon { width: 50px; height: 50px; border-radius: 13px; background: var(--tf-navy); display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 18px; }
.sb-dif-icon svg { width: 40px; height: 40px; }
.sb-dif-title { font-size: 17.5px; font-weight: 700; color: var(--tf-navy); }
.sb-dif-text { font-size: 14px; line-height: 1.65; color: var(--tf-muted); margin: 10px 0 0; }

/* ===== SEÇÃO 6 · GALERIA DE UNIDADES ===== */
.sb-gal-sec { background: #fff; }
.sb-gal-inner { max-width: var(--tf-container); margin: 0 auto; padding: 100px 32px; }
.sb-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sb-tile { position: relative; display: block; overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3.4; }
.sb-tile.feat { grid-column: span 2; aspect-ratio: 2 / 1.05; }
.sb-tile-ph { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, #e3e7f4 0 16px, #edeff8 16px 32px); }
.sb-tile-note {
  position: absolute;
  left: 16px; top: 14px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 10.5px;
  color: var(--tf-muted-3);
  background: rgba(255, 255, 255, 0.78);
  padding: 5px 9px;
  border-radius: 6px;
}
.sb-tile-badge {
  position: absolute;
  right: 16px; top: 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--tf-yellow);
  color: var(--tf-navy);
  padding: 5px 10px;
  border-radius: 999px;
}
.sb-tile-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 20, 107, 0) 30%, rgba(7, 14, 82, 0.92) 100%);
  opacity: .78;
  transition: opacity .3s ease;
}
.sb-tile:hover .sb-tile-overlay { opacity: 1; }
.sb-tile-info { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.sb-tile-city { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--tf-yellow); }
.sb-tile-name { display: block; font-family: var(--tf-font); font-weight: 700; font-size: 19px; color: #fff; margin-top: 3px; }
.sb-tile-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  background: var(--tf-yellow);
  color: var(--tf-navy);
  font-weight: 700;
  font-size: 12.5px;
  padding: 9px 14px;
  border-radius: 9px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.sb-tile:hover .sb-tile-btn { opacity: 1; transform: none; }

/* ===== SEÇÃO 7 · CTA FINAL ===== */
.sb-cta { position: relative; overflow: hidden; background: var(--tf-navy); }
.sb-cta-deco { position: absolute; inset: 0; opacity: 0.5; pointer-events: none; }
.sb-cta-ring { position: absolute; border-radius: 50%; }
.sb-cta-ring--1 { width: 900px; height: 900px; border: 80px solid rgba(255, 255, 255, 0.05); right: -320px; top: -360px; }
.sb-cta-ring--2 { width: 640px; height: 640px; border: 56px solid rgba(254, 219, 0, 0.06); right: -120px; bottom: -320px; }
.sb-cta-inner { position: relative; max-width: var(--tf-container); margin: 0 auto; padding: 96px 32px; text-align: center; }
.sb-cta-title { font-family: var(--tf-font); font-weight: 700; font-size: clamp(30px, 3.8vw, 48px); line-height: 1.12; color: #fff; margin: 18px auto 0; max-width: 760px; }
.sb-cta-text { font-size: 17px; line-height: 1.6; color: #c3c8ee; margin: 18px auto 0; max-width: 560px; }
.sb-cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }
.sb-cta-btn { display: inline-flex; align-items: center; gap: 9px; font-size: 15.5px; padding: 16px 26px; border-radius: 11px; }
.sb-cta-btn--wa { background: var(--tf-yellow); color: var(--tf-navy); font-weight: 700; box-shadow: 0 14px 34px -10px rgba(254, 219, 0, 0.55); }
.sb-cta-btn--wa:hover { color: var(--tf-navy); }
.sb-cta-btn--ghost { background: transparent; color: #fff; font-weight: 600; border: 1.5px solid rgba(255, 255, 255, 0.35); }
.sb-cta-btn--ghost:hover { color: #fff; }

/* ===== RESPONSIVO ===== */
@media (max-width: 960px) {
  .g-founder { grid-template-columns: 1fr; gap: 36px; }
  .g-mvv { grid-template-columns: 1fr; }
  .g-dif { grid-template-columns: 1fr; }
  .g-gal { grid-template-columns: 1fr 1fr; }
  .g-gal .feat { grid-column: span 2; }
}

@media (max-width: 640px) {
  .sb-founder-inner, .sb-timeline-inner, .sb-mvv-inner,
  .sb-dif-inner, .sb-gal-inner, .sb-cta-inner {
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .sb-hero-inner { padding-left: 20px; padding-right: 20px; }
  .g-gal { grid-template-columns: 1fr; }
  .g-gal .feat { grid-column: span 1; }
  .tl-item { grid-template-columns: 74px 1fr; }
}
