/* Página Início (Figma: "Início - Desktop" 1371:15828 e "Início - Mobile" 1371:16560) */

/* ---------- Hero ---------- */
.hero { padding: 160px 0 196px; }
.hero__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.hero__texto { max-width: 660px; }
.hero h1 { max-width: 645px; }
.hero h1 {
  font-family: var(--f-titulo); font-weight: 600; font-size: 48px; line-height: 58px;
  color: var(--texto); margin-bottom: 36px;
}
.hero__texto p { font-size: 20px; line-height: 27px; color: var(--texto-2); margin-bottom: 34px; }

.carrossel {
  position: relative; flex: none; width: 367px; height: 424px; margin-right: 105px;
  border-radius: 20px; overflow: hidden; background: #ddd;
  box-shadow: var(--sombra-botao);
}
.carrossel__slides, .carrossel__slide { position: absolute; inset: 0; margin: 0; }
.carrossel__slide { opacity: 0; transition: opacity .6s ease; }
.carrossel__slide.ativo { opacity: 1; }
.carrossel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carrossel__slide::after {
  content: ""; position: absolute; inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .45));
}
.carrossel__slide figcaption {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 40px;
  color: var(--branco); text-align: center; font-size: 18px; line-height: 22px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}
.carrossel__pontos { position: absolute; z-index: 2; bottom: 17px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.carrossel__pontos button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: var(--branco); cursor: pointer; }
.carrossel__pontos button[aria-selected="true"] { background: var(--rosa); }
.carrossel__barra { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 6px; background: var(--branco); }
.carrossel__barra span { display: block; height: 100%; width: 0; background: var(--rosa); }
.carrossel__barra span.anda { width: 100%; transition: width linear var(--tempo, 5s); }

/* ---------- Propósito ---------- */
.proposito { display: flex; justify-content: space-between; gap: 22px; padding: 90px 0 140px; }
.proposito__texto { max-width: 610px; }
.proposito__texto > p { font-family: var(--f-titulo); font-size: 20px; line-height: 30px; color: var(--texto); }
.ods { margin-top: 8px; }
.ods__rotulo { font-family: system-ui, sans-serif; font-weight: 600; font-size: 12px; line-height: 15px; color: var(--cinza-claro); margin: 0 0 3px 110px; }
.proposito__foto {
  width: 446px; height: 251px; object-fit: cover; margin-top: 5px;
  box-shadow: 0 8px 15px -2px var(--rosa);
}

/* ---------- O que é (eixos e jornada em secoes.css) ---------- */
.oque .titulo-secao { margin-bottom: 50px; }
.oque__intro { font-size: 20px; line-height: 24px; color: var(--texto-2); margin-bottom: 42px; }

/* ---------- Porque fazer parte ---------- */
.setores-sec { padding: 70px 0 160px; }
.setores-sec > .titulo-secao { margin-bottom: 70px; }
.setores { display: grid; grid-template-columns: repeat(3, 345px); justify-content: center; gap: 40px; }
.setor {
  display: flex; flex-direction: column; background: var(--branco); border-radius: 24px; overflow: hidden;
  --cor: var(--s1); --cor-fundo: var(--s1-fundo); --cor-borda: var(--s1-borda); --cor-texto: var(--s1);
}
.setor--2 { --cor: var(--s2); --cor-fundo: var(--s2-fundo); --cor-borda: var(--s2-borda); --cor-texto: var(--s2); }
.setor--3 { --cor: var(--s3); --cor-fundo: var(--s3-fundo); --cor-borda: var(--s3-borda); --cor-texto: var(--s3-texto); }
.setor__foto { width: 100%; height: 180px; object-fit: cover; }
.setor__topo {
  display: flex; align-items: center; gap: 10px; min-height: 95px; padding: 12px 18px;
  background: var(--cor-fundo); border-bottom: 1px solid var(--cor-borda);
}
.setor__icone { flex: none; width: 37px; height: 37px; border-radius: 12px; background: var(--cor); color: var(--branco); display: grid; place-items: center; }
.setor__icone .icone { width: 23px; height: 23px; }
.setor__topo h3 { font-weight: 600; font-size: 18px; line-height: 22px; color: #000; }
.setor__topo p { font-weight: 500; font-size: 14px; line-height: 17px; color: var(--cor-texto); margin-top: 3px; }
.setor__lista { flex: 1; padding: 30px 30px 24px; display: flex; flex-direction: column; gap: 20px; }
.setor__lista li {
  position: relative; padding-left: 30px; font-weight: 500; font-size: 16px; line-height: 16px; color: #000;
}
.setor__lista li::before {
  content: ""; position: absolute; left: 0; top: -2px; width: 20px; height: 20px;
  background: var(--cor-borda);
  -webkit-mask: url("../img/check.svg") center / 16px no-repeat; mask: url("../img/check.svg") center / 16px no-repeat;
}
.setor--1 .setor__lista li::before { background: var(--s1); }
.setor__frase {
  margin: 0 15px 24px 30px; padding: 10px; border-radius: 12px;
  background: var(--cor-fundo); border: 1px solid var(--cor-borda); color: var(--cor-texto);
  font-weight: 600; font-size: 14px; line-height: 17px;
}

/* Realização / parceiros (caixas em base.css) */
.setores-sec .apoio { margin-top: 160px; }

/* ---------- Blog ---------- */
.blog-sec { padding: 130px 0 138px; }
.blog-sec .titulo-secao { margin-bottom: 50px; }
.blog-sec .titulo-secao a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.blog-sec .titulo-secao a:hover { color: var(--rosa); }
.cards-blog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; width: min(100% - 2 * var(--gutter), 1240px); margin: 0 auto; }

/* ---------- Mobile ---------- */
@media (max-width: 1100px) {
  .carrossel { margin-right: 0; }
  .hero h1 { font-size: 40px; line-height: 50px; }
  .setores { grid-template-columns: repeat(auto-fit, minmax(300px, 345px)); }
}

@media (max-width: 860px) {
  /* Hero: o carrossel vira fundo e o texto fica por cima */
  .hero { position: relative; padding: 0; min-height: 578px; color: var(--branco); }
  .hero__inner { display: block; width: 100%; }
  .hero__texto { position: relative; z-index: 3; padding: 90px 30px 160px; max-width: none; pointer-events: none; }
  .hero__texto .botao { pointer-events: auto; }
  .hero h1 { color: var(--branco); font-size: 24px; line-height: 29px; margin-bottom: 46px; text-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
  .hero__texto p { color: var(--branco); font-size: 18px; line-height: 27px; margin-bottom: 26px; }
  .botao--gradiente { font-size: 20px; line-height: 30px; padding: 15px 24px; }
  .carrossel { position: absolute; inset: 0; width: auto; height: auto; border-radius: 0; box-shadow: none; }
  .carrossel__slide::after { inset: 0; background: rgba(0, 0, 0, .45); }
  .carrossel__slide figcaption { bottom: 32px; font-size: 18px; }
  .carrossel__barra { height: 5px; }

  .proposito { flex-direction: column-reverse; padding: 70px 0 60px; gap: 46px; }
  .proposito__foto { width: 100%; height: auto; aspect-ratio: 367 / 206; }
  .proposito__texto { display: grid; grid-template-columns: 1fr 66px; gap: 30px; max-width: none; }
  .proposito__texto > p { font-size: 17px; line-height: 24px; letter-spacing: .4px; }
  .ods { margin: 0; }
  .ods__rotulo { margin: 0 0 4px; text-align: center; font-size: 11px; line-height: 14px; }
  .ods__lista { flex-direction: column; gap: 2px; }
  .ods__lista img { width: 66px; height: 66px; }

  .oque .titulo-secao { margin-bottom: 26px; }
  .oque__intro { font-size: 18px; line-height: 22px; margin-bottom: 34px; }

  .setores-sec { padding: 40px 0 70px; }
  .setores-sec > .titulo-secao { margin-bottom: 44px; }
  .setores-sec .apoio { margin-top: 40px; }
  .setores { grid-template-columns: minmax(0, 345px); gap: 40px; }

  .blog-sec { padding: 50px 0 70px; }
  .blog-sec .titulo-secao { margin-bottom: 36px; }
  .cards-blog {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
    width: 100%; padding: 0 16px 8px; scrollbar-width: none;
  }
  .cards-blog::-webkit-scrollbar { display: none; }
  .card-blog { flex: 0 0 min(380px, 100% - 16px); scroll-snap-align: center; }

}
