/* =========================
   Escopo local e containers
   ========================= */
.sobre-main, .sobre-main * { box-sizing: border-box; }

/* Container largo (Sobre) */
.glass .container{
  max-width: none;
  width: min(1400px, 94vw);
  margin-inline: auto;
  padding-inline: clamp(12px, 3vw, 24px);
  padding-block: 0;
}

/* ===============
   Hero (topo)
   =============== */
.hero{
  padding-block: clamp(32px, 6vw, 96px);
}
.hero__grid{
  display: grid;
  align-items: center;
  justify-items: center;
}
.hero__copy{
  max-width: 78ch;
  text-align: center;
}
.hero__copy h1 span{ white-space: normal; }

/* CTA do Hero e globais desta página */
.hero__cta{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(.8rem, 2.5vw, 1.5rem);
  row-gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.hero__cta .btn{
  min-height: 48px;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: clamp(1rem, 1vw + .9rem, 1.25rem);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.hero__cta .btn--primary{
  background: linear-gradient(135deg, #0b3d2e, #159d6e);
  color: #fff;
}
.hero__cta .btn--primary:hover,
.hero__cta .btn--primary:focus{
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  background: linear-gradient(135deg, #159d6e, #0b3d2e);
}
.hero__cta .btn--outline{
  background: #fff;
  color: #0b3d2e;
  border: 2px solid #0b3d2e;
  font-weight: 600;
}
.hero__cta .btn--outline:hover,
.hero__cta .btn--outline:focus{
  color: #fff;
  background: #0b3d2e;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}

/* ============
   Como funciona
   ============ */
.features{
  padding-block: clamp(28px, 5.5vw, 80px);
}
.features h2{
  text-align: center;
  margin-bottom: clamp(12px, 2vw, 20px);
}
.features .cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(12px, 2.5vw, 20px);
  margin-top: 1rem;
}
.features .card{
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: clamp(16px, 2.5vw, 24px);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.features .card h3{
  margin-top: 0;
  margin-bottom: .35rem;
  font-size: clamp(1.05rem, .6vw + 1rem, 1.25rem);
}
.features .card p{
  margin: 0;
  color: #444;
}

/* ==============================
   Áreas de atuação – pill list
   ============================== */
.areas{
  padding-block: clamp(24px, 5vw, 64px);
}
.areas h2{
  text-align: center;
  margin-bottom: .75rem;
}
.pill-list{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.pill-list li{
  border: 1px solid #e7e7e7;
  padding: .5rem .9rem;
  border-radius: 999px;
  background: #fff;
  color: #222;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  font-weight: 600;
  font-size: clamp(.95rem, .5vw + .85rem, 1.05rem);
}

/* ==============================
   Resultados (KPIs) em mini-cards
   ============================== */
.impacto{
  padding-block: clamp(24px, 5vw, 64px);
}
.impacto h2{
  text-align: center;
  margin-bottom: .75rem;
}
.stats{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(12px, 2.5vw, 20px);
  margin-top: 1rem;
}
.stat-card{
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: clamp(16px, 2.5vw, 24px);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  text-align: center;
}
.stat-value{
  display: block;
  font-size: clamp(1.6rem, 2.8vw + 1rem, 2.4rem);
  font-weight: 800;
  color: #0b3d2e;
  line-height: 1.1;
}
.stat-label{
  display: block;
  margin-top: .35rem;
  color: #444;
  font-size: clamp(.9rem, .5vw + .8rem, 1rem);
}

/* =========================
   Seções “tópico” (duas colunas)
   ========================= */
.topico-section{
  padding-block: clamp(32px, 6vw, 80px);
  border-bottom: 1px solid #eee;
}
.topico-section:nth-of-type(even){ background: #fafafa; }

.topico-section-content{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(16px, 4vw, 28px);
  min-width: 0;
}

/* Colunas */
.topico-section-content-imagem{ order: 0; }
.topico-section-content-texto{
  order: 1;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}

/* ≥ 960px: duas colunas */
@media (min-width: 960px){
  .topico-section-content{
    flex-direction: row;
    align-items: center;
    gap: clamp(20px, 4vw, 60px);
  }
  .topico-section-content-imagem{
    flex: 1 1 48%;
    min-width: clamp(300px, 40vw, 720px);
    max-width: 720px;
  }
  .topico-section-content-texto{
    flex: 1 1 52%;
    min-width: 320px;
  }
  .topico-section.topico-section--reverse .topico-section-content{
    flex-direction: row-reverse;
  }
}

/* Imagens das seções */
.topico-section-content-imagem img{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
  aspect-ratio: 16 / 9;     /* evita CLS */
  object-fit: cover;
}
@media (max-width: 480px){
  .topico-section-content-imagem img{
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
  }
}

/* Tipografia das seções */
.topico-section-content-texto-titulo{
  font-size: clamp(1.6rem, 2.2vw + 1rem, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  color: #171717;
  margin: 0;
}
.topico-section-content-texto-descricao{
  font-size: clamp(1.02rem, .7vw + .9rem, 1.22rem);
  line-height: 1.75;
  color: #3a3a3a;
  margin: 0;
  max-width: 70ch;
  text-wrap: pretty;
}

/* =========================
   Listas auxiliares e âncoras
   ========================= */
.check-list{
  list-style: none;
  padding: 0;
  margin: .75rem 0 0;
  display: grid;
  gap: .5rem;
}
.check-list li{
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.6;
}
.check-list li::before{
  content: "✔";
  position: absolute;
  left: 0;
  top: .05rem;
  color: #0b3d2e;
  font-weight: 800;
}

.help-text{
  margin-top: .75rem;
  color: #555;
  font-size: .95rem;
}

/* Offset para âncoras (navbar fixa) */
#para-reservistas,
#para-empresas{
  scroll-margin-top: 96px;
}

/* =========================
   Responsividade e acessibilidade
   ========================= */
@media (max-width: 560px){
  .hero__cta{
    flex-direction: column;
    gap: 1rem;
  }
  .hero__cta .btn{
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 380px){
  .topico-section{ padding-block: clamp(24px, 8vw, 56px); }
}

/* Notches (iOS/Android) */
@supports (padding: max(0px)){
  .topico-section{
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
}

/* Focus visível nos CTAs (acessibilidade) */
.hero__cta .btn:focus-visible{
  outline: 3px solid #159d6e;
  outline-offset: 2px;
}

/* Respeito à redução de movimento */
@media (prefers-reduced-motion: reduce){
  .hero__cta .btn{ transition: none; }
}
