/* =====================================================
   SOBRE.CSS — Página "A Vilac" — Redesign Premium v2
   ===================================================== */

:root {
  --about-blue: #06265b;
  --about-blue-deep: #020f28;
  --about-blue-mid: #041b44;
  --about-cyan: #2ebdf2;
  --about-cyan-glow: rgba(46, 189, 242, .22);
  --about-cyan-soft: rgba(87, 205, 248, .14);
}

/* ── Base da página ─────────────────────────────────── */
.about-page { background: var(--paper); }
.about-page .site-header { color: #fff; }
.about-page .site-header.is-scrolled { color: var(--ink); }
.about-page .desktop-nav a.is-current { opacity: 1; }
.about-page .desktop-nav a.is-current::after {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 4px;
  content: "";
  background: currentColor;
}

/* ── HERO ─────────────────────────────────────────── */
.about-hero {
  position: relative;
  min-height: min(900px, 100svh);
  overflow: hidden;
  color: #fff;
  background: #020f28 url("assets/bg-vilac.webp") center / cover no-repeat;
}

/* Overlay sutil para dar legibilidade ao texto sobre a imagem de fundo */
.about-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 12, 32, .75) 0%, rgba(2, 12, 32, .35) 45%, transparent 80%),
    linear-gradient(180deg, rgba(2, 12, 32, .4) 0%, transparent 40%, rgba(2, 12, 32, .5) 100%);
  pointer-events: none;
}

/* Luz volumétrica animada */
.about-hero__field {
  position: absolute;
  top: -15%;
  right: -8%;
  width: min(72vw, 1100px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 189, 242, .08) 0%, rgba(46, 189, 242, .03) 40%, transparent 70%);
  box-shadow:
    0 0 0 1px rgba(87, 205, 248, .08),
    0 0 80px 20px rgba(46, 189, 242, .04),
    inset 0 0 60px rgba(46, 189, 242, .03);
  animation: hero-field-breathe 7s ease-in-out infinite;
  pointer-events: none;
}

.about-hero__field::after {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(87, 205, 248, .1);
  border-radius: inherit;
  content: "";
  animation: hero-field-breathe 7s ease-in-out infinite reverse;
}

@keyframes hero-field-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.04); opacity: .76; }
}

/* Gradiente de saída na base */
.about-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 120px;
  content: "";
  background: linear-gradient(0deg, var(--paper), transparent);
  pointer-events: none;
}

/* Layout principal: duas colunas (copy + stats) */
.about-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: inherit;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(30px, 5vw, 60px);
}

/* ── Coluna esquerda: copy ── */
.about-hero__copy {
  max-width: 580px;
  padding-block: 150px 130px;
}

.about-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #61cdf3;
}

.about-hero .eyebrow::before {
  display: inline-block;
  width: 28px;
  height: 1px;
  content: "";
  background: #61cdf3;
}

.about-hero h1 {
  max-width: 560px;
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 3.6vw, 3.8rem);
  line-height: .96;
  text-wrap: balance;
}

/* Palavra em destaque em ciano */
.about-hero h1 .hero-highlight {
  color: #2ebdf2;
  -webkit-text-fill-color: #2ebdf2;
  background: none;
}

.about-hero__copy > p:not(.eyebrow) {
  max-width: 480px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, .75);
  font-size: clamp(.88rem, 1.02vw, 1rem);
  line-height: 1.6;
}

/* Botões lado a lado */
.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Botão ghost — borda clara, transparente */
.about-button--ghost {
  color: rgba(255, 255, 255, .90);
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}

.about-button--ghost:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .5);
  transform: translateY(-2px);
}

/* ── Coluna direita: apenas visual stats ── */
.about-hero__visual-col {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-block: 120px 120px;
}

/* ── Cards de stats empilhados (coluna lateral direita) ── */
.about-hero__stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 220px;
}

.about-hero__stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid rgba(87, 205, 248, .18);
  border-radius: 6px;
  background: rgba(4, 16, 42, .62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: default;
  transition: background-color .25s ease, border-color .25s ease;
}

.about-hero__stat:hover {
  background: rgba(8, 28, 68, .82);
  border-color: rgba(87, 205, 248, .36);
}

.about-hero__stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(87, 205, 248, .22);
  border-radius: 6px;
  background: rgba(46, 189, 242, .1);
  color: #61cdf3;
}

.about-hero__stat div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-hero__stat small {
  color: rgba(255, 255, 255, .45);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
}

.about-hero__stat strong {
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
}



/* ── NOSSA HISTÓRIA ───────────────────────────────── */
.about-story {
  padding-block: clamp(100px, 11vw, 170px);
}

.about-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(60px, 10vw, 150px);
  align-items: end;
}

.about-story__intro h2 {
  max-width: 780px;
  margin: 0;
}

/* Primeira linha do h2 em tom mais suave */
.about-story__intro h2 em {
  display: block;
  color: var(--ink-soft);
  font-style: normal;
}

.about-story__body { padding-bottom: 6px; }

.about-story__body p {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
}

.about-story__body p:last-child { margin-bottom: 0; }

/* Separador horizontal decorativo entre parágrafos */
.about-story__body p + p { padding-top: 18px; }

/* Card de Origem — Glassmorphism */
.about-origin-card {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--about-blue);
}

.about-origin-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1);
}

.about-origin-card:hover img {
  transform: scale(1.04);
}

/* Gradiente mais suave para deixar a foto respirar */
.about-origin-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(0deg, rgba(2, 15, 40, .88) 0%, rgba(2, 15, 40, .18) 55%, transparent 100%),
    linear-gradient(90deg, rgba(2, 15, 40, .52) 0%, transparent 48%);
}

/* Painel glassmorphism na base */
.about-origin-card__content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(28px, 4vw, 52px) clamp(28px, 5vw, 66px) clamp(32px, 4.5vw, 56px);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(2, 10, 28, .42);
  border-top: 1px solid rgba(87, 205, 248, .18);
}

.about-origin-card__content span {
  display: block;
  margin-bottom: 14px;
  color: #5ed0f5;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.about-origin-card__content p {
  margin: 0;
  color: #fff;
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.8vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.06;
  text-wrap: balance;
}

/* ── O QUE NOS MOVE ───────────────────────────────── */
.about-purpose {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--green-deep);
}

/* Ruído de textura sutil */
.about-purpose::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Detalhe geométrico decorativo */
.about-purpose::after {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 380px;
  height: 380px;
  content: "";
  border: 1px solid rgba(158, 226, 197, .1);
  border-radius: 50%;
  box-shadow:
    0 0 0 60px rgba(158, 226, 197, .04),
    0 0 0 120px rgba(158, 226, 197, .02);
  pointer-events: none;
}

.about-purpose__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: clamp(60px, 10vw, 140px);
  padding-block: clamp(100px, 12vw, 176px);
}

.about-purpose h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.6rem, 4.2vw, 4.8rem);
  line-height: .96;
}

/* Linha decorativa antes da eyebrow */
.about-purpose .eyebrow--mint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--mint);
  margin-bottom: 28px;
}

.about-purpose .eyebrow--mint::before {
  display: inline-block;
  width: 22px;
  height: 1px;
  content: "";
  background: var(--mint);
}

.about-purpose__statement {
  padding-top: 72px;
  border-top: 1px solid rgba(158, 226, 197, .18);
}

.about-purpose__statement p {
  color: #a8ccbb;
  font-size: clamp(1rem, 1.18vw, 1.13rem);
  line-height: 1.72;
}

.about-purpose__statement p:last-child {
  margin-bottom: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(158, 226, 197, .12);
  color: #e0ede7;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 600;
}

/* ── PORTFÓLIO ────────────────────────────────────── */
.about-portfolio {
  padding-block: clamp(110px, 13vw, 190px);
  background: var(--paper);
}

.about-portfolio__heading {
  display: grid;
  grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr);
  gap: 60px;
  align-items: start;
  margin-bottom: clamp(60px, 8vw, 100px);
}

.about-portfolio__heading h2 {
  max-width: 840px;
  margin: 0;
}

/* Grid de artigos: cards interativos */
.about-portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.about-portfolio__grid article {
  position: relative;
  min-height: 320px;
  padding: 38px clamp(24px, 3vw, 52px) 38px;
  border-left: 1px solid var(--line);
  overflow: hidden;
  transition: background-color .35s ease;
  cursor: default;
}

.about-portfolio__grid article:first-child {
  padding-left: 0;
  border-left: 0;
}

.about-portfolio__grid article:last-child {
  padding-right: 0;
}

.about-portfolio__grid article::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(135deg, rgba(11, 118, 82, .04), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
}

.about-portfolio__grid article:hover::before {
  opacity: 1;
}

/* Número oversize — marca d'água elegante */
.about-portfolio__grid span {
  display: block;
  margin-bottom: 64px;
  color: transparent;
  font-family: var(--display);
  font-size: 5.5rem;
  font-weight: 700;
  letter-spacing: -.08em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(11, 118, 82, .2);
  text-stroke: 1px rgba(11, 118, 82, .2);
  transition: -webkit-text-stroke-color .35s ease;
  user-select: none;
}

.about-portfolio__grid article:hover span {
  -webkit-text-stroke-color: rgba(11, 118, 82, .45);
}

.about-portfolio__grid h3 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 1.9vw, 2rem);
  font-weight: 600;
  transition: color .25s ease;
}

.about-portfolio__grid article:hover h3 {
  color: var(--green);
}

.about-portfolio__grid p {
  max-width: 320px;
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.62;
}

/* Indicador de hover — linha verde embaixo */
.about-portfolio__grid article::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .42s cubic-bezier(.2, .8, .2, 1);
}

.about-portfolio__grid article:first-child::after { left: 0; }

.about-portfolio__grid article:hover::after {
  transform: scaleX(1);
}

/* ── IMAGE BREAK + CTA UNIFICADO ─────────────────── */
.about-image-break {
  position: relative;
  min-height: clamp(500px, 48vw, 640px);
  color: #fff;
  background: #1a0c04 url("assets/Generative Fill.png") 72% center / cover no-repeat;
  overflow: hidden;
}

/* Gradiente refinado — escurece mais a esquerda para o texto ter contraste total e limpo */
.about-image-break__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 5, 2, .96) 0%, rgba(10, 5, 2, .80) 38%, rgba(10, 5, 2, .12) 75%),
    linear-gradient(0deg, rgba(10, 5, 2, .6) 0%, transparent 60%);
}

.about-image-break__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: inherit;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 480px;
  padding-block: 80px;
}

.about-image-break__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #d7b98f;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.about-image-break__eyebrow::before {
  display: inline-block;
  width: 22px;
  height: 1px;
  content: "";
  background: #d7b98f;
}

.about-image-break__title {
  max-width: 460px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  line-height: .98;
  letter-spacing: -.035em;
  text-wrap: balance;
  color: #fff;
}

.about-image-break__sub {
  max-width: 420px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(.92rem, 1.1vw, 1.1rem);
  font-weight: 500;
  line-height: 1.5;
}

.about-image-break__action {
  display: flex;
}

.about-image-break__button {
  min-width: 240px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(11, 118, 82, .35);
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}

.about-image-break__button:hover {
  box-shadow: 0 12px 40px rgba(11, 118, 82, .5);
  transform: translateY(-3px);
}

/* ── ANIMAÇÕES DE ENTRADA (Scroll Reveal) ─────────── */
.about-reveal {
  opacity: 0;
  transform: translate3d(0, 40px, 0);
  transition:
    opacity .8s cubic-bezier(.2, .72, .2, 1),
    transform .9s cubic-bezier(.16, .76, .22, 1);
  transition-delay: var(--delay, 0ms);
}

.about-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.about-reveal-left {
  opacity: 0;
  transform: translate3d(-30px, 0, 0);
  transition:
    opacity .8s cubic-bezier(.2, .72, .2, 1),
    transform .9s cubic-bezier(.16, .76, .22, 1);
  transition-delay: var(--delay, 0ms);
}

.about-reveal-left.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ── RESPONSIVO 900px ─────────────────────────────── */
@media (max-width: 900px) {
  .about-hero { min-height: auto; }
  .about-hero::after { height: 80px; }
  .about-hero__layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .about-story__grid,
  .about-purpose__grid,
  .about-portfolio__heading,
  .about-cta__grid { grid-template-columns: 1fr; }
  .about-hero__copy { padding: 140px 0 32px; max-width: 100%; }
  .about-hero h1 { max-width: 100%; font-size: clamp(2rem, 5vw, 3.2rem); }
  .about-hero__visual-col {
    display: block;
    padding-block: 0 60px;
  }
  .about-hero__stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
  }
  .about-story__grid  { gap: 36px; }
  .about-purpose__grid { gap: 36px; }
  .about-purpose__statement { padding-top: 0; border-top: 0; }
  .about-portfolio__heading { gap: 18px; }
  .about-portfolio__grid article { min-height: 280px; }
  .about-portfolio__grid span   { margin-bottom: 44px; font-size: 4.5rem; }
  .about-image-break__button { width: min(100%, 320px); }
}

/* ── RESPONSIVO 580px ─────────────────────────────── */
@media (max-width: 580px) {
  .about-hero__copy { padding-top: 116px; }
  .about-hero h1 { font-size: clamp(1.85rem, 8.5vw, 2.6rem); }
  .about-hero__copy > p:not(.eyebrow) { margin-bottom: 24px; font-size: .88rem; }
  .about-hero__actions { flex-direction: column; }
  .about-button--ghost { width: 100%; justify-content: center; }
  .about-hero__stats {
    grid-template-columns: 1fr 1fr;
  }
  .about-hero__stat { padding: 10px 12px; gap: 10px; }
  .about-hero__stat strong { font-size: .7rem; }
  .about-origin-card { min-height: 480px; }
  .about-origin-card img { object-position: 62% center; }
  .about-origin-card__content { backdrop-filter: blur(10px); }
  .about-portfolio__grid { grid-template-columns: 1fr; border-top: 0; }
  .about-portfolio__grid article,
  .about-portfolio__grid article:first-child,
  .about-portfolio__grid article:last-child {
    min-height: 0;
    padding: 30px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .about-portfolio__grid article::after { display: none; }
  .about-portfolio__grid article:first-child { padding-top: 0; border-top: 0; }
  .about-portfolio__grid span { margin-bottom: 20px; font-size: 3.8rem; }
  .about-image-break { min-height: 480px; background-position: 65% center; }
  .about-image-break__title { font-size: clamp(1.9rem, 8.5vw, 3rem); }
  .about-image-break__button { width: 100%; justify-content: space-between; }
}

/* ── REDUCED MOTION ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .about-page { scroll-behavior: auto; }
  .about-hero__field { animation: none; }
  .about-reveal,
  .about-reveal-left {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

