/* ============================================================
   ABOUT CSS — BrunoDev.AI
   Cinematic professional profile page
   Compatible with home identity system
   ============================================================ */

/* === ABOUT THEME EXTENSIONS === */
.about-hero {
  --mx: 0.48; --my: 0.42;
  position: relative;
  min-height: 90svh;
  background: var(--void);
  color: var(--text-hi);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 88px;
  isolation: isolate;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 22px clamp(16px, 3.4vw, 56px) 22px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(216, 179, 104, 0.18);
  border-radius: 30px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025), 0 0 120px rgba(0, 0, 0, 0.6);
}

.about-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--void) 0%, rgba(12, 13, 11, 0.92) 20%, rgba(12, 13, 11, 0.42) 48%, rgba(12, 13, 11, 0.88) 100%),
    radial-gradient(40% 54% at 62% 50%, rgba(168, 255, 96, 0.10), transparent 62%),
    linear-gradient(180deg, rgba(12, 13, 11, 0.76) 0%, transparent 28%, rgba(12, 13, 11, 0.42) 74%, var(--void) 100%);
}

.about-hero-inner {
  position: relative;
  z-index: 8;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 56px);
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 3.5vw, 58px);
  align-items: center;
}

.about-hero-content {
  position: relative;
  z-index: 2;
}

.about-hero-photo {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  min-height: 70svh;
}

.about-hero-photo .photo-frame {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(216, 179, 104, 0.2);
  box-shadow:
    0 0 60px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  background: var(--void-2);
}

.about-profile-picture {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(115deg, rgba(255,255,255,.035), rgba(168,255,96,.025)),
    var(--void-2);
}

.about-hero-photo .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 40%;
  display: block;
}

.about-hero-photo .photo-glow {
  position: absolute;
  inset: -20%;
  z-index: 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(168, 255, 96, 0.08), transparent 70%);
  pointer-events: none;
}

.about-hero-photo .photo-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, transparent 30%, rgba(12, 13, 11, 0.6) 100%);
  pointer-events: none;
}

/* Hero eyebrow */
.about-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-lit);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
}

/* Hero name */
.about-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-family: 'Bodoni Moda', serif;
  color: var(--text-hi);
  margin-bottom: 4px;
}

.about-hero .hero-signature {
  font-size: clamp(14px, 1.3vw, 18px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 12px;
  font-weight: 500;
}

.about-hero .hero-formacao {
  font-size: clamp(11px, 0.9vw, 13px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-lit);
  margin-bottom: 20px;
  font-weight: 600;
}

.about-hero .hero-headline {
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.4;
  color: var(--text-hi);
  font-weight: 500;
  margin-bottom: 18px;
  font-style: italic;
  max-width: 28ch;
}

.about-hero .hero-text-main {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.7;
  color: var(--text-lo);
  font-weight: 300;
  max-width: 52ch;
  margin-bottom: 12px;
}

.about-hero .hero-text-comp {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.65;
  color: rgba(244, 242, 236, 0.68);
  font-weight: 300;
  max-width: 50ch;
  margin-bottom: 14px;
}

.about-hero .hero-text-pos {
  font-size: clamp(12.5px, 1vw, 14.5px);
  line-height: 1.65;
  color: rgba(244, 242, 236, 0.55);
  font-weight: 300;
  max-width: 54ch;
  margin-bottom: 24px;
}

/* Hero indicators */
.about-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 28px;
}

.about-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--text-lo);
  font-weight: 300;
}

.about-indicator .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
  flex-shrink: 0;
}

/* Hero CTAs */
.about-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* === PROFESSIONAL IDENTITY MODULES === */
.about-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.about-module {
  background: var(--void-2);
  border: 1px solid rgba(216, 179, 104, 0.15);
  border-radius: 10px;
  padding: 16px 18px;
  transition: border-color 0.3s, background 0.3s;
}

.about-module:hover {
  border-color: rgba(168, 255, 96, 0.25);
  background: var(--void-3);
}

.about-module .mod-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}

.about-module .mod-value {
  font-size: 14px;
  color: var(--text-hi);
  font-weight: 500;
  line-height: 1.4;
}

/* === RESPONSIVE HERO === */
@media (max-width: 1100px) {
  .about-hero-inner {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 30px;
  }
  .about-hero-photo .photo-frame {
    aspect-ratio: 5/4;
  }
}

@media (max-width: 900px) {
  .about-hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 50px;
  }
  .about-hero::before {
    inset: 74px 10px 18px;
    border-radius: 18px;
  }
  .about-hero::after {
    background:
      linear-gradient(180deg, rgba(12, 13, 11, 0.64) 0%, rgba(12, 13, 11, 0.92) 46%, var(--void) 100%),
      radial-gradient(70% 48% at 80% 42%, rgba(168, 255, 96, 0.13), transparent 68%);
  }
  .about-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-hero-photo {
    order: -1;
    min-height: auto;
  }
  .about-hero-photo .photo-frame {
    width: min(88vw, 680px);
    max-width: none;
    aspect-ratio: 3/4;
  }
  .about-hero-photo .photo-frame img {
    object-position: 64% 32%;
  }
  .about-hero-content {
    text-align: center;
  }
  .about-eyebrow {
    justify-content: center;
  }
  .about-eyebrow::before {
    display: none;
  }
  .about-hero .hero-headline {
    max-width: 100%;
  }
  .about-hero .hero-text-main,
  .about-hero .hero-text-comp,
  .about-hero .hero-text-pos {
    max-width: 100%;
  }
  .about-indicators {
    justify-content: center;
  }
  .about-hero-actions {
    justify-content: center;
  }
  .about-modules {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .about-hero {
    padding-top: 88px;
    padding-bottom: 40px;
  }
  .about-hero-photo .photo-frame {
    width: calc(100vw - 36px);
    max-width: 430px;
    aspect-ratio: 3/4;
    border-radius: 12px;
  }
  .about-hero-photo .photo-frame img {
    object-position: 67% 28%;
  }
  .about-hero h1 {
    font-size: clamp(30px, 10vw, 44px);
  }
  .about-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .about-hero-actions .btn-primary,
  .about-hero-actions .btn-ghost {
    justify-content: center;
  }
  .about-modules {
    grid-template-columns: 1fr;
  }
}

/* === TRAJETÓRIA SECTION === */
.about-traj {
  background: var(--void);
  color: var(--text-hi);
  position: relative;
}

.about-traj::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.about-traj .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 110px) clamp(18px, 4vw, 56px);
  position: relative;
  z-index: 2;
}

.about-traj-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  margin-top: 30px;
}

.about-traj-text p {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.75;
  color: var(--text-lo);
  font-weight: 300;
  margin-bottom: 16px;
}

.about-traj-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-traj-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--void-2);
  border: 1px solid rgba(216, 179, 104, 0.1);
  border-radius: 10px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.about-traj-step:hover {
  border-color: rgba(168, 255, 96, 0.25);
  background: var(--void-3);
  transform: translateX(4px);
}

.about-traj-step .step-num {
  font-family: 'Bodoni Moda', serif;
  font-size: 24px;
  color: var(--gold-lit);
  width: 36px;
  text-align: center;
  flex-shrink: 0;
}

.about-traj-step .step-text {
  font-size: 13.5px;
  color: var(--text-hi);
  font-weight: 400;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .about-traj-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* === ÁREAS SECTION === */
.about-areas {
  background: var(--cream);
  color: var(--ink);
}

.about-areas .sec-title {
  color: var(--charcoal);
}

.about-areas-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  border-bottom: 1px solid rgba(27, 28, 25, 0.1);
  padding-bottom: 2px;
}

.about-area-tab {
  border: none;
  background: none;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.06em;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  position: relative;
  transition: color 0.22s;
  border-radius: 8px 8px 0 0;
}

.about-area-tab::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: transparent;
  border-radius: 2px 2px 0 0;
  transition: background 0.25s;
}

.about-area-tab:hover {
  color: var(--charcoal);
}

.about-area-tab[aria-selected="true"] {
  color: var(--charcoal);
  background: rgba(27, 28, 25, 0.04);
}

.about-area-tab[aria-selected="true"]::after {
  background: var(--gold);
}

.about-area-panel {
  display: none;
  margin-top: 28px;
}

.about-area-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.about-area-content h3 {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(22px, 2.5vw, 32px);
  color: var(--charcoal);
  margin-bottom: 14px;
}

.about-area-content p {
  font-size: clamp(14px, 1.05vw, 15.5px);
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 65ch;
  margin-bottom: 12px;
}

.about-area-content .security-rule {
  background: rgba(27, 28, 25, 0.04);
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  margin-top: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--charcoal);
  line-height: 1.5;
  border-radius: 0 6px 6px 0;
}

@media (max-width: 560px) {
  .about-areas-tabs {
    gap: 4px;
  }
  .about-area-tab {
    font-size: 11px;
    padding: 8px 12px;
  }
}

/* === PORTFOLIO ATLAS === */
.about-portfolio {
  background: var(--void);
  color: var(--text-hi);
  position: relative;
}

.about-portfolio::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.about-portfolio .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 110px) clamp(18px, 4vw, 56px);
  position: relative;
  z-index: 2;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  margin-bottom: 30px;
}

.portfolio-filter {
  border: 1px solid rgba(216, 179, 104, 0.25);
  background: transparent;
  color: var(--text-lo);
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.22s;
  text-transform: uppercase;
}

.portfolio-filter:hover {
  border-color: var(--neon);
  color: var(--text-hi);
}

.portfolio-filter[aria-pressed="true"] {
  background: var(--neon);
  color: var(--void);
  border-color: var(--neon);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.portfolio-card {
  background: var(--void-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 22px 24px 24px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.portfolio-card:hover {
  border-color: rgba(168, 255, 96, 0.2);
  background: var(--void-3);
  transform: translateY(-3px);
}

.portfolio-card .p-category {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio-card .p-name {
  font-family: 'Bodoni Moda', serif;
  font-size: 20px;
  color: var(--text-hi);
  margin-bottom: 10px;
  line-height: 1.15;
}

.portfolio-card .p-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-lo);
  font-weight: 300;
}

.portfolio-card .p-note {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  color: var(--gold-lit);
  font-style: italic;
}

.portfolio-card.hidden {
  display: none;
}

@media (max-width: 560px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* === MÉTODO SECTION === */
.about-method {
  background: var(--cream);
  color: var(--ink);
}

.about-method-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.method-card {
  background: #fff;
  border: 1px solid rgba(27, 28, 25, 0.08);
  border-radius: 12px;
  padding: 22px 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.method-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(27, 28, 25, 0.08);
}

.method-card .mc-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #6f5218;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.method-card h3 {
  font-size: 16px;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.method-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 300;
}

/* === COMPETÊNCIAS SECTION === */
.about-comp {
  background: var(--void);
  color: var(--text-hi);
  position: relative;
}

.about-comp::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.about-comp .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(60px, 8vw, 110px) clamp(18px, 4vw, 56px);
  position: relative;
  z-index: 2;
}

.comp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.comp-card {
  background: var(--void-2);
  border: 1px solid rgba(216, 179, 104, 0.15);
  border-radius: 12px;
  padding: 20px 22px;
  transition: border-color 0.3s;
}

.comp-card:hover {
  border-color: rgba(168, 255, 96, 0.25);
}

.comp-card .cc-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--neon);
  font-weight: 700;
  margin-bottom: 12px;
}

.comp-card .cc-items {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-lo);
  font-weight: 300;
}

/* === VISÃO SECTION === */
.about-visao {
  background: var(--cream);
  color: var(--ink);
  text-align: center;
}

.about-visao blockquote {
  font-family: 'Bodoni Moda', serif;
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.25;
  color: var(--charcoal);
  max-width: 18ch;
  margin: 0 auto 24px;
  font-style: italic;
}

.about-visao .visao-text {
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 300;
  max-width: 62ch;
  margin: 0 auto 12px;
}

/* === CTA FINAL === */
.about-cta {
  background: var(--void);
  color: var(--text-hi);
  text-align: center;
  position: relative;
}

.about-cta .cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* === FOOTER VARIANTS === */
footer {
  background: var(--void);
  color: var(--text-lo);
  border-top: 1px solid rgba(197, 160, 89, 0.16);
}

/* === SCROLL REVEAL === */
.about-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease, cubic-bezier(0.22, 0.61, 0.36, 1)), transform 0.7s var(--ease, cubic-bezier(0.22, 0.61, 0.36, 1));
}

.about-reveal.in {
  opacity: 1;
  transform: none;
}

/* === MOTION REDUCED OVERRIDES === */
html.motion-reduced .about-hero-scene-video {
  display: none !important;
}

html.motion-reduced .about-module:hover {
  transform: none !important;
}

html.motion-reduced .about-traj-step:hover {
  transform: none !important;
}

html.motion-reduced .portfolio-card:hover {
  transform: none !important;
}

html.motion-reduced .method-card:hover {
  transform: none !important;
}

html.motion-reduced .about-reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

html.motion-reduced .about-area-panel.active {
  animation: none !important;
}

.light .eyebrow {
  color: #6f5218;
}

.foot-col h2 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-hi);
  margin-bottom: 14px;
}

.foot-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-identity {
  position: relative;
  background: var(--void);
  color: var(--text-hi);
  padding-bottom: clamp(40px, 5vw, 80px);
}
