/* public/styles/about-drawer.css - UNIFICADO */
/* ================================= */
/* ABOUT DRAWER - SLIDE LATERAL      */
/* ================================= */

/* Overlay escuro de fundo */
.about-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 9998;
  display: none;
  opacity: 0;
  cursor: pointer;
}

/* Drawer lateral */
.about-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  background-color: var(--neutral-darker);
  z-index: 9999;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
  
  /* Performance */
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  align-items: center;
}

/* Botão fechar */
.about-drawer-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background-color: rgba(235, 235, 235, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--neutral-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.about-drawer-close:hover {
  background-color: var(--primary-red);
  transform: rotate(90deg);
}

.about-drawer-close:active {
  transform: rotate(90deg) scale(0.95);
}

/* Conteúdo interno */
.about-drawer-content {
  width: 80%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Ajustes no AboutSection quando dentro do drawer */
.about-drawer-content #about {
  min-height: 100vh;
}

.about-drawer-content .about-wrapper {
  max-width: 100%;
  padding: 0;
}

/* ================================= */
/* ABOUT SECTION - BASE              */
/* ================================= */

#about {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: var(--neutral-darker);
  overflow: hidden;
}

.about-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1362px;
  margin: 0 auto;
  min-height: 100vh;
}

/* ================================= */
/* HERO TOP SECTION                  */
/* ================================= */

.about-hero {
  display: flex;
  width: 100%;
  min-height: 361px;
  align-items: flex-end;
}

.about-photo-column {
  display: flex;
  width: 284px;
  height: 100%;
  align-items: center;
  flex-shrink: 0;
  border-right: 1px solid #212121;
}

.about-photo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 361px;
  border-bottom-left-radius: 100px;
  overflow: hidden;
}

.about-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
  filter: grayscale(100%);
}

.about-intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  flex: 1;
  justify-content: flex-end;
  border-bottom: 1px solid #212121;
}

.about-label {
  color: var(--primary-red);
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.0125rem;
  line-height: 2.25rem;
  margin: 0;
}

.about-title {
  color: var(--primary-red);
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  font-size: 4.3125rem;
  font-weight: 900;
  letter-spacing: 0.043125rem;
  line-height: 3.25rem;
  margin: 0;
}

/* ================================= */
/* CONTENT SECTION                   */
/* ================================= */

.about-content {
  display: flex;
  flex: 1;
  width: 100%;
}

.about-content-column {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-start;
  padding-left: 284px;
}

/* LinkedIn Link */
.about-link-wrapper {
  padding: 1rem;
  border-bottom: 1px solid #212121;
  border-left: 1px solid #212121;
}

.about-linkedin-link {
  color: var(--primary-green);
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: 0.053125rem;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-position: from-font;
  transition: color 0.3s ease;
}

.about-linkedin-link:hover {
  color: var(--neutral-light);
}

/* Bio Text */
.about-bio {
  padding: 1rem;
  border-bottom: 1px solid #212121;
  border-left: 1px solid #212121;
}

.about-bio-text {
  color: var(--neutral-light);
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  font-size: 1rem;
  font-weight: 100;
  letter-spacing: 0.10125rem;
  line-height: 1.875rem;
  margin: 0;
}

/* Brands Section */
.about-brands {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem;
  border-left: 1px solid #212121;
}

.about-brands-header {
  padding: 0.5rem;
}

.about-brands-title {
  color: var(--neutral-light);
  font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05rem;
  margin: 0;
}

.about-brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  opacity: 0.5;
}

.about-brand-logo {
  width: 113px;
  height: 70px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.about-brand-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.about-brand-logo:hover .about-brand-img {
  transform: scale(1.05);
}

/* ================================= */
/* RESPONSIVE - DRAWER               */
/* ================================= */

/* Tablet e Mobile: Drawer ocupa tela toda */
@media (max-width: 1023px) {
  .about-drawer {
    max-width: 100%;
  }

  .about-drawer-content #about {
    min-height: unset;
    height: auto;
  }
  
  .about-drawer-content .about-wrapper {
    min-height: unset;
    height: auto;
  }

  .about-drawer-close {
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }
}

/* Mobile: Ajustes finos */
@media (max-width: 767px) {
  .about-drawer-close {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }

  .about-drawer-overlay {
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }

  .about-drawer-content {
    width: 100%;
    padding: 0 1rem;
  }

  .about-brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================= */
/* RESPONSIVE - ABOUT SECTION        */
/* ================================= */

/* Desktop Padrão: 1440px - 1919px */
@media (min-width: 1440px) and (max-width: 1919px) {
  .about-title {
    font-size: 4rem;
    letter-spacing: 0.04rem;
  }

  .about-bio-text {
    font-size: 1.05rem;
    letter-spacing: 0.094rem;
  }
}

/* Laptop: 1024px - 1439px */
@media (min-width: 1024px) and (max-width: 1439px) {
  .about-wrapper {
    max-width: 100%;
    padding: 0 2rem;
  }

  .about-photo-column {
    width: 240px;
  }

  .about-content-column {
    padding-left: 240px;
  }

  .about-title {
    font-size: 3.5rem;
    letter-spacing: 0.035rem;
  }

  .about-bio-text {
    font-size: 1rem;
    letter-spacing: 0.09rem;
  }
}

/* Tablet Landscape: 768px - 1023px */
@media (max-width: 1023px) and (min-width: 768px) {
  .about-wrapper {
    max-width: 100%;
  }

  .about-hero {
    flex-direction: column;
    min-height: 0;
  }

  .about-photo-column {
    width: 100%;
    height: 356px;
    border-right: none;
    border-bottom: 1px solid #212121;
  }

  .about-photo {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 100px;
  }

  .about-content-column {
    padding-left: 0;
  }

  .about-title {
    font-size: 3rem;
    line-height: 3.5rem;
  }

  .about-bio-text {
    font-size: 1rem;
    line-height: 1.7rem;
  }
}

/* Tablet Portrait: 600px - 767px */
@media (max-width: 767px) {
  .about-hero {
    flex-direction: column;
    min-height: 0;
  }

  .about-photo-column {
    width: 100%;
    height: 356px;
    border-right: none;
    border-bottom: 1px solid #212121;
  }

  .about-photo {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 100px;
  }

  .about-content-column {
    padding-left: 0;
  }

  .about-label {
    font-size: 1.125rem;
    line-height: normal;
  }

  .about-title {
    font-size: 2.5rem;
    line-height: 2.8rem;
    letter-spacing: 0.025rem;
  }

  .about-bio-text {
    font-size: 0.9375rem;
    line-height: 1.6rem;
    letter-spacing: 0.084rem;
  }

  .about-brand-logo {
    width: 167px;
    height: 104px;
  }
}

/* Mobile Large: 480px - 599px */
@media (max-width: 599px) {
  .about-hero {
    flex-direction: column;
    min-height: 455px;
  }

  .about-photo-column {
    width: 284px;
    height: 356px;
    align-self: flex-end;
    border-right: 1px solid #212121;
    border-bottom: none;
  }

  .about-photo {
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 0;
  }

  .about-intro {
    width: 100%;
  }

  .about-content-column {
    padding-left: 0;
  }

  .about-label {
    font-size: 1.125rem;
  }

  .about-title {
    font-size: 1.8125rem;
    line-height: 6.25rem;
    letter-spacing: 0.018125rem;
  }

  .about-bio-text {
    font-size: 1.125rem;
    line-height: 1.875rem;
  }

  .about-brand-logo {
    width: 167px;
    height: 104px;
  }
}

/* Mobile Padrão: 360px - 479px */
@media (max-width: 479px) {
  .about-hero {
    min-height: 455px;
  }

  .about-title {
    font-size: 1.625rem;
    letter-spacing: 0.01625rem;
  }

  .about-bio-text {
    font-size: 1rem;
    line-height: 1.7rem;
  }
}

/* Mobile Small: 375px e abaixo */
@media (max-width: 375px) {
  .about-title {
    font-size: 1.4375rem;
    letter-spacing: 0.014375rem;
  }

  .about-bio-text {
    font-size: 0.9375rem;
    line-height: 1.6rem;
  }

  .about-brand-logo {
    width: 150px;
    height: 93px;
  }
}

/* ================================= */
/* SCROLLBAR CUSTOMIZADA             */
/* ================================= */

.about-drawer::-webkit-scrollbar {
  width: 8px;
}

.about-drawer::-webkit-scrollbar-track {
  background: var(--neutral-darker);
}

.about-drawer::-webkit-scrollbar-thumb {
  background: var(--primary-red);
  border-radius: 4px;
}

.about-drawer::-webkit-scrollbar-thumb:hover {
  background: var(--primary-green);
}

/* Firefox - opcional, fallback gracioso */
@supports (scrollbar-width: thin) {
  .about-drawer {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-red) var(--neutral-darker);
  }
}

/* ================================= */
/* ACCESSIBILITY                     */
/* ================================= */

/* Focus visible para teclado */
.about-drawer-close:focus-visible {
  outline: 2px solid var(--primary-green);
  outline-offset: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .about-drawer,
  .about-drawer-overlay,
  .about-drawer-close {
    transition: none !important;
  }
}
