/* =========================
   SEÇÃO SOBRE MIM
========================= */

#about-page .about-section{
  padding: 30px 0;
  background: #000000;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  opacity: 0;
}

#about-page .about-section.is-inview{
  opacity: 1;
}

#about-page .about-container{
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TITLE ===== */

#about-page .about-section__title{
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 8px;
  font-weight: 600;
  color: #ffffff;
}

#about-page .about-section__role{
  font-size: 16px;
  letter-spacing: .12em;
  color: #939393;
  margin: 0 0 28px;
}

/* ===== IMAGE CARD ===== */

#about-page .about-section__media{
  float: right;
  width: min(520px, 45%);
  margin: 0 0 20px 40px;
  position: relative;
}

/* ===== SLIDER ===== */

#about-page .about-slider{
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

#about-page .about-slider__track{
  position: relative;
  width: 100%;
  background: #111;

  height: clamp(360px, 42vh, 560px);
  min-height: 360px;
}

#about-page .about-slider__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transform: scale(1.02);
  transition: opacity .55s ease, transform .9s ease;
}

#about-page .about-slider__img.is-active{
  opacity: 1;
  transform: scale(1);
}

/* ===== BUTTONS ===== */

#about-page .about-slider__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  cursor: pointer;

  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: .22s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

#about-page .about-slider__btn:hover{
  background: rgba(0,0,0,.75);
}

#about-page .about-slider__btn--prev{ left: 10px; }
#about-page .about-slider__btn--next{ right: 10px; }

/* ===== DOTS ===== */

#about-page .about-slider__dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

#about-page .about-slider__dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.30);
  background: rgba(255,255,255,.20);
  cursor: pointer;
  padding: 0;            /* evita estilo global em button */
  appearance: none;      /* evita estilo global */
}

#about-page .about-slider__dot.is-active{
  background: #fff;
}

/* ===== TEXT ===== */

#about-page .about-section__content{
  display: block;
}

#about-page .about-section__content p{
  font-size: 16px;
  line-height: 1.75;
  color: #ffffff;
  margin: 0 0 18px;
  text-align: justify;
}

#about-page .about-section__content::after{
  content: "";
  display: block;
  clear: both;
}

/* =========================
   ABOUT CARD EFFECT
========================= */

#about-page .about-slider{
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease;
}

/* glow atrás */
#about-page .about-slider::before{
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 18px;
  background: radial-gradient(
    circle at center,
    rgba(40,199,0,.18),
    rgba(40,199,0,.08) 40%,
    transparent 70%
  );
  filter: blur(14px);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: -1;
}

/* hover */
#about-page .about-slider:hover{
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 60px rgba(0,0,0,.45);
}

#about-page .about-slider:hover::before{
  opacity: 1;
}

/* =========================
   ABOUT — PREMIUM CARD FX
   - spotlight follow mouse
   - glass sheen
   - cinematic zoom
========================= */

#about-page .about-slider{
  position: relative;
  isolation: isolate; /* garante camadas */
  border-radius: 14px;
  overflow: hidden;

  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

/* leve lift */
#about-page .about-slider:hover{
  transform: translateY(-6px);
  box-shadow: 0 34px 70px rgba(0,0,0,.45);
}

/* ===== Spotlight (luz que segue o mouse) ===== */
#about-page .about-slider::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;

  /* usa variáveis setadas no JS */
  background: radial-gradient(
    280px 280px at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,.18),
    rgba(40,199,0,.10) 35%,
    transparent 70%
  );

  opacity: 0;
  transition: opacity .25s ease;
  mix-blend-mode: screen; /* brilho mais “premium” */
}

#about-page .about-slider.is-lit::after{
  opacity: 1;
}

/* ===== Glass reflection (sheen) ===== */
#about-page .about-slider::before{
  content: "";
  position: absolute;
  inset: -40%;
  pointer-events: none;
  z-index: 3;

  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255,255,255,.16) 45%,
    rgba(255,255,255,.06) 52%,
    transparent 62%
  );

  transform: translateX(-30%) translateY(-10%) rotate(0deg);
  opacity: .0;
  transition: opacity .25s ease, transform .55s ease;
}

#about-page .about-slider:hover::before{
  opacity: .85;
  transform: translateX(30%) translateY(10%) rotate(0deg);
}

/* ===== Cinematic zoom nas imagens ===== */
#about-page .about-slider__img{
  transform: scale(1.06); /* base “cinema” */
  transition: opacity .55s ease, transform 1.6s ease;
  will-change: transform, opacity;
}

/* a ativa “respira” */
#about-page .about-slider__img.is-active{
  opacity: 1;
  transform: scale(1.00);
}

/* hover dá um zoomzinho extra na ativa */
#about-page .about-slider:hover .about-slider__img.is-active{
  transform: scale(1.03);
}

/* opcional: dá um gradiente sutil pra reforçar contraste */
#about-page .about-slider__track{
  position: relative;
}

#about-page .about-slider__track::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle at 60% 40%, transparent 0%, rgba(0,0,0,.18) 70%, rgba(0,0,0,.35) 100%);
}









/* ==================================================
   RESPONSIVO — SEÇÃO SOBRE MIM (#about-page)
   Regras:
   - NÃO mexe no desktop (>=1200px)
   - Ajustes só via media queries
   - Sem scroll horizontal
   - Mais respiro nas bordas
   - Imagens sem distorção (mantém object-fit: cover)
================================================== */

/* ---------- Anti-scroll horizontal (segurança) ---------- */
@media (max-width: 1199.98px){
  html, body{ overflow-x: hidden; }

  #about-page .about-section,
  #about-page .about-container{
    max-width: 100%;
  }

  /* evita o float “vazar” em layouts menores */
  #about-page .about-section__media{
    max-width: 100%;
  }
}

/* ==================================================
   MOBILE — até 575.98px
================================================== */
@media (max-width: 575.98px){

  /* ---------- Container / respiro ---------- */
  #about-page .about-section{
    padding: 26px 0;                 /* mantém semelhante, ajusta levemente */
  }

  #about-page .about-container{
    width: 100%;
    padding: 0 16px;                 /* margem lateral para textos não colarem */
  }

  /* ---------- Títulos legíveis ---------- */
  #about-page .about-section__title{
    font-size: 32px;                 /* reduz para caber bem */
    line-height: 1.12;
    overflow-wrap: anywhere;         /* evita overflow por palavras grandes */
  }

  #about-page .about-section__role{
    font-size: 14px;
    margin: 0 0 18px;
    overflow-wrap: anywhere;
  }

  /* ---------- Media: sai do float e vira bloco ---------- */
  #about-page .about-section__media{
    float: none;
    width: 100%;
    margin: 0 0 16px 0;              /* remove margem lateral do float */
  }

  /* ---------- Slider: altura mais “mobile-friendly” ---------- */
  #about-page .about-slider__track{
    height: clamp(260px, 38vh, 380px);
    min-height: 260px;
  }

  /* ---------- Botões: área de toque maior ---------- */
  #about-page .about-slider__btn{
    width: 46px;
    height: 46px;
    font-size: 22px;
  }

  #about-page .about-slider__btn--prev{ left: 8px; }
  #about-page .about-slider__btn--next{ right: 8px; }

  /* ---------- Dots: maior e mais fácil de tocar ---------- */
  #about-page .about-slider__dots{
    bottom: 10px;
    gap: 10px;
  }

  #about-page .about-slider__dot{
    width: 11px;
    height: 11px;
  }

  /* ---------- Texto: legível + sem “colar” ---------- */
  #about-page .about-section__content p{
    font-size: 15.5px;
    line-height: 1.7;
    text-align: left;                /* melhora leitura em telas pequenas */
    margin: 0 0 14px;
    overflow-wrap: anywhere;
  }

  /* ---------- Evita hover “pular” no touch ---------- */
  #about-page .about-slider:hover{
    transform: none;
  }
}

/* ==================================================
   TABLET MINI — 576px até 991.98px
================================================== */
@media (min-width: 576px) and (max-width: 991.98px){

  /* ---------- Container / respiro ---------- */
  #about-page .about-container{
    width: 100%;
    padding: 0 18px;                 /* margem lateral equilibrada */
  }

  /* ---------- Títulos ---------- */
  #about-page .about-section__title{
    font-size: 38px;
    line-height: 1.12;
    overflow-wrap: anywhere;
  }

  #about-page .about-section__role{
    margin: 0 0 22px;
    overflow-wrap: anywhere;
  }

  /* ---------- Media: empilha (remove float) para não apertar texto ---------- */
  #about-page .about-section__media{
    float: none;
    width: 100%;
    margin: 0 0 18px 0;
  }

  /* ---------- Slider ---------- */
  #about-page .about-slider__track{
    height: clamp(320px, 40vh, 520px);
    min-height: 320px;
  }

  /* ---------- Botões (toque) ---------- */
  #about-page .about-slider__btn{
    width: 44px;
    height: 44px;
  }

  /* ---------- Texto ---------- */
  #about-page .about-section__content p{
    font-size: 16px;                 /* mantém padrão, só melhora leitura */
    line-height: 1.75;
    text-align: justify;             /* mantém estilo do desktop aqui */
    overflow-wrap: anywhere;
  }
}

/* ==================================================
   TABLET PRO — 992px até 1199.98px
================================================== */
@media (min-width: 992px) and (max-width: 1199.98px){

  /* ---------- Container ---------- */
  #about-page .about-container{
    width: 100%;
    padding: 0 20px;                 /* mantém padrão e garante respiro */
  }

  /* ---------- Mantém layout semelhante ao desktop,
     mas com proteções para não estourar ---------- */
  #about-page .about-section__title,
  #about-page .about-section__role,
  #about-page .about-section__content p{
    overflow-wrap: anywhere;
  }

  /* float continua, mas evita “aperto” extremo */
  #about-page .about-section__media{
    width: min(520px, 46%);
    margin: 0 0 18px 28px;           /* reduz a margem lateral levemente */
  }

  /* slider fica um pouco mais contido para a faixa 992–1199 */
  #about-page .about-slider__track{
    height: clamp(340px, 40vh, 560px);
    min-height: 340px;
  }
}









/* ===== FIX GLOBAL DE LARGURA ===== */
*, *::before, *::after{
  box-sizing: border-box;
}