/* ==========================================================================
   Sobre Mim — estilos exclusivos desta página.
   Depende de estilo.css (tokens, botões, cabeçalho, rodapé, marquee).
   ========================================================================== */

/* ------------------------------------------------------------------ hero -- */
.sm-hero {
  position: relative;
  overflow: hidden;
  background: var(--laranja);
  min-height: 673px;
  display: grid;
  align-items: center;
}
.sm-hero__fundo {
  position: absolute; inset: 0;
  width: 100%; height: 101%;
  object-fit: cover;
  /* enquadramento medido no original: bloco 0 */
  object-position: 50% 56%;
  z-index: 0;
}
.sm-hero__grade {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.sm-hero__midia { position: relative; display: grid; place-items: center; }
.sm-hero__foto {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 417px;
  border-bottom-left-radius: var(--raio);
  border-bottom-right-radius: var(--raio);
}
/* ALTERAÇÃO CLIENTE — arredondar a imagem pequena à esquerda */
.sm-hero__selo {
  border-radius: 16px;
  position: absolute;
  top: 22%; left: 4%;
  width: clamp(70px, 8vw, 105px);
  z-index: 0;
  opacity: .85;
}

.sm-hero__titulo { margin: 0 0 .9rem; }
.sm-hero__prazer {
  display: block;
  font-family: var(--fonte-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.45rem);
  line-height: 1.05;
  color: var(--navy-manual);
}
.sm-hero__prazer strong { font-weight: 700; color: var(--texto-forte); }
.sm-hero__nome {
  display: block;
  width: clamp(250px, 30vw, 406px);
  margin-top: .15rem;
}
.sm-hero__sub {
  margin: 0;
  max-width: 290px;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--navy-manual);
}
.sm-hero__sub strong { color: var(--texto-forte); font-weight: 600; }

/* ------------------------------------------------------------ trajetória -- */
.sm-trajetoria {
  background: var(--branco);
  padding: 0;
}

.sm-carrossel { position: relative; }

.sm-carrossel__trilho {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sm-carrossel__trilho::-webkit-scrollbar { display: none; }
.sm-carrossel__trilho:focus-visible { outline: 3px solid var(--laranja); outline-offset: -6px; }

.sm-slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
}
.sm-slide img {
  width: 100%;
  aspect-ratio: 1454 / 612;
  height: auto;
  object-fit: cover;
  display: block;
}

.sm-carrossel__seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--laranja);
  cursor: pointer;
  transition: background-color .2s ease;
}
.sm-carrossel__seta:hover { background: rgba(253, 79, 10, .12); }
.sm-carrossel__seta svg { width: 24px; height: 24px; }
.sm-carrossel__seta--ant  { left: .9rem; }
.sm-carrossel__seta--prox { right: .9rem; }

.sm-carrossel__pontos {
  position: absolute;
  bottom: 1rem;
  left: 0; right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: .45rem;
}
.sm-ponto {
  width: 8px; height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(253, 79, 10, .3);
  cursor: pointer;
  padding: 0;
  transition: background-color .2s ease, transform .2s ease;
}
.sm-ponto[aria-selected="true"] { background: var(--laranja); transform: scale(1.35); }

/* ------------------------------------------------------------ credenciais -- */
.sm-credenciais { padding: 3rem 0; }
.sm-credenciais__lista {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .6rem;
  max-width: 700px;
}
.sm-credenciais__lista li {
  position: relative;
  padding-left: 1.2rem;
  font-size: .92rem;
  line-height: 1.6;
}
.sm-credenciais__lista li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--laranja);
}

/* -------------------------------------------------------------- projetos -- */
.sm-projetos { padding: 3.6rem 0 3.2rem; }
.sm-projetos__grade {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 313px;
}
.sm-projetos__foto {
  grid-area: 1 / 1 / 2 / 2;
  width: 100%;
  max-width: 634px;
  border-radius: var(--raio);
  justify-self: start;
}
.sm-projetos__cartao {
  grid-area: 1 / 1 / 2 / 3;
  position: relative;
  justify-self: end;
  width: min(536px, 58%);
  min-height: 253px;
  border-radius: var(--raio);
  overflow: hidden;
  display: grid;
  align-items: center;
}
.sm-projetos__fundo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.sm-projetos__texto {
  position: relative;
  z-index: 1;
  padding: 1.9rem clamp(1.4rem, 3vw, 2.2rem);
  color: var(--creme);
}
.sm-projetos__texto p {
  margin: 0 0 1rem;
  font-size: .84rem;
  line-height: 1.6;
}

/* ------------------------------------------------------------- instagram -- */
.sm-insta { padding: 1.4rem 0 3.9rem; }
.sm-insta__cartao {
  position: relative;
  border-radius: var(--raio);
  overflow: hidden;
  padding: 3.2rem clamp(1.4rem, 4vw, 3.4rem) 3rem;
  text-align: center;
  min-height: 982px;
}
.sm-insta__fundo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.sm-insta__titulo {
  position: relative; z-index: 1;
  margin: 0 0 2.4rem;
  font-family: var(--fonte-serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 2.05rem);
  line-height: 1.2;
  color: var(--texto-forte);
}
.sm-insta__titulo em { font-style: italic; color: var(--laranja); }

.sm-insta__grade {
  position: relative; z-index: 1;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 815px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.sm-insta__grade img {
  width: 100%;
  aspect-ratio: 268 / 334;
  object-fit: cover;
  border-radius: 4px;
}
.sm-insta__acao { position: relative; z-index: 1; margin-top: 2.2rem; }

/* ============================================================== responsivo */
@media (max-width: 980px) {
  .sm-hero { min-height: 0; padding: 2.6rem 0 3rem; }
  .sm-hero__grade { grid-template-columns: 1fr; text-align: center; }
  .sm-hero__nome { margin-inline: auto; }
  .sm-hero__sub { margin-inline: auto; }
  .sm-hero__foto { max-width: 330px; }

  .sm-projetos__grade { grid-template-columns: 1fr; gap: 1rem; }
  .sm-projetos__foto { grid-area: auto; max-width: 100%; }
  .sm-projetos__cartao { grid-area: auto; width: 100%; justify-self: stretch; }

  .sm-insta__cartao { min-height: 0; }
}

@media (max-width: 860px) {
  /* ALTERAÇÃO CLIENTE — no original o slide tem recorte mais alto no celular */
  .sm-slide img { aspect-ratio: 390 / 324; }
  .sm-projetos { padding: 2.4rem 0 2.2rem; }
  .sm-projetos__texto { padding: 1.5rem 1.3rem; }
}

@media (max-width: 620px) {
  .sm-insta__grade { grid-template-columns: repeat(2, 1fr); }
  .sm-carrossel__seta--ant  { left: .2rem; }
  .sm-carrossel__seta--prox { right: .2rem; }
}
