/* Priscila Bezerra — base convertida do template Lovable (Cravo Creative) para HTML/CSS puro */
:root {
  --radius: 0.5rem;
  --background: oklch(0.16 0.03 255);
  --foreground: oklch(0.97 0.005 250);
  --card: oklch(0.19 0.035 255);
  --primary: oklch(0.62 0.2 255);
  --primary-foreground: oklch(0.98 0 0);
  --muted-foreground: oklch(0.72 0.03 250);
  --border: oklch(0.32 0.04 255);
  --max: 72rem;
  --gutter: 1.5rem;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; border-color: var(--border); }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--foreground);
  font-family: "Google Sans Flex", "Google Sans", "DM Sans", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
.icon { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 2.5rem; height: 2.5rem; stroke-width: 1.5; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.eyebrow { font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--primary); }
.text-primary { color: var(--primary); }
.muted { color: var(--muted-foreground); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklch, var(--background) 82%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
.logo { display: flex; align-items: center; gap: 1rem; min-width: 0; }
/* logo: monograma PB (Didot → Bodoni Moda) | linha | nome em Montserrat, proporções do SVG enviado */
.logo { gap: 1.1rem; }
.logo-mark { font-family: "Bodoni Moda", Didot, "Bodoni MT", "Times New Roman", serif; font-size: 2.6rem; font-weight: 500; letter-spacing: -.155em; padding-right: .155em; line-height: 1; flex-shrink: 0; color: #fff; }
.logo-sep { width: 1px; height: 2.6rem; background: rgb(255 255 255 / .3); flex-shrink: 0; }
.logo-name { font-family: Montserrat, "Helvetica Neue", Arial, sans-serif; font-size: .8rem; font-weight: 300; letter-spacing: .31em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.logo-role { margin-top: .2rem; font-family: Montserrat, "Helvetica Neue", Arial, sans-serif; font-size: .55rem; font-weight: 400; letter-spacing: .4em; text-transform: uppercase; color: rgb(255 255 255 / .6); }
.nav { display: none; gap: 2.5rem; }
.nav a, .nav-mobile a {
  color: var(--muted-foreground); border-bottom: 2px solid transparent; padding-bottom: .25rem;
  transition: color .2s, border-color .2s;
}
.nav a:hover, .nav-mobile a:hover { color: var(--foreground); }
.nav a[aria-current="page"], .nav-mobile a[aria-current="page"] { color: var(--primary); border-color: var(--primary); }
.nav-mobile { display: flex; justify-content: center; gap: 2rem; padding-bottom: .9rem; font-size: .9rem; }
.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem; flex-shrink: 0;
  border: 1px solid color-mix(in oklch, var(--primary) 60%, transparent); border-radius: 999px;
  padding: .5rem 1.25rem; font-size: .875rem; transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--primary); color: var(--primary-foreground); }
@media (min-width: 768px) {
  .nav { display: flex; }
  .nav-mobile { display: none; }
}
@media (max-width: 480px) {
  .btn-outline .btn-label-long { display: none; }
  .logo-mark { font-size: 1.9rem; }
  .logo-sep { height: 2rem; }
  .logo { gap: .75rem; }
}

/* ---------- Hero com vídeo ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(36rem, 92svh, 56rem);
  display: flex; align-items: flex-end;
}
.hero-media {
  position: absolute; inset: 0; z-index: -2;
  will-change: transform; transform: translate3d(0, 0, 0);
}
.hero-media video, .hero-media .hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 20%;
}
.hero-media video { opacity: 0; transition: opacity .9s var(--ease); }
.hero-media video.is-ready { opacity: 1; }
.hero-fade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(0deg, var(--background) 4%, color-mix(in oklch, var(--background) 70%, transparent) 38%, transparent 62%),
    linear-gradient(180deg, color-mix(in oklch, var(--background) 55%, transparent) 0%, transparent 22%);
}
.hero-shade { position: absolute; inset: 0; z-index: -1; background: var(--background); opacity: 0; pointer-events: none; will-change: opacity; }
.hero-content { position: relative; padding-top: 8rem; padding-bottom: 13rem; will-change: transform, opacity; }
.hero-eyebrow { display: inline-block; border-bottom: 1px solid color-mix(in oklch, var(--primary) 50%, transparent); padding-bottom: 1rem; line-height: 2; }
.hero h1 { margin-top: 2rem; font-size: clamp(3.4rem, 13vw, 6rem); line-height: .95; font-weight: 500; letter-spacing: -.01em; }
.hero-role { margin-top: 1.5rem; letter-spacing: .5em; text-transform: uppercase; }
.hero-lead { margin-top: 2rem; max-width: 20rem; font-size: 1.125rem; color: var(--muted-foreground); }

@media (max-width: 767px) {
  /* celular: vídeo no topo, texto abaixo da Priscila */
  .hero-media { bottom: auto; height: 72svh; }
  .hero-media video, .hero-media .hero-poster { object-position: 50% 0%; }
  .hero-fade {
    background: linear-gradient(0deg, var(--background) calc(100% - 72svh), color-mix(in oklch, var(--background) 60%, transparent) calc(100% - 58svh), transparent calc(100% - 40svh));
  }
  .hero-content { padding-top: calc(72svh - 5.5rem); padding-bottom: 12rem; }
  .hero h1 { margin-top: 1.25rem; }
  .hero-lead { margin-top: 1.25rem; }
}
@media (min-width: 768px) {
  /* altura limitada a 720px = altura nativa do vídeo: aparece em 1:1, sem ampliar */
  .hero { align-items: center; min-height: 0; height: clamp(36rem, calc(100svh - 5rem), 45rem); }
  .hero-media video, .hero-media .hero-poster { object-position: 50% 50%; }
  .hero-fade {
    background:
      linear-gradient(90deg, var(--background) 14%, color-mix(in oklch, var(--background) 55%, transparent) 30%, transparent 46%),
      linear-gradient(0deg, var(--background) 0%, transparent 28%);
  }
  .hero-content { padding-top: 2rem; padding-bottom: 9rem; }
  .hero h1 { font-size: clamp(4.5rem, 8vw, 6rem); }
}

/* ---------- Cards ---------- */
.services { position: relative; margin-top: -10rem; display: grid; gap: 1.25rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .services { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); padding: 2rem;
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .3s;
}
.card.in { opacity: 1; transform: none; }
.card:hover { border-color: color-mix(in oklch, var(--primary) 55%, var(--border)); }
/* imagem no canto superior direito, dissolvendo na diagonal para o canto inferior esquerdo (referência) */
.card {
  background: linear-gradient(180deg, oklch(0.2 0.04 255) 0%, oklch(0.165 0.03 255) 100%);
  padding: 2.25rem 2rem 2rem;
  border-color: oklch(0.34 0.05 255 / .8);
}
.card-img {
  position: absolute; top: 0; right: 0; width: 62%; height: 88%; object-fit: cover; object-position: 50% 0; z-index: -2;
  -webkit-mask-image: linear-gradient(to bottom, #000 48%, rgb(0 0 0 / .55) 64%, transparent 84%), linear-gradient(to left, #000 50%, rgb(0 0 0 / .5) 76%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to bottom, #000 48%, rgb(0 0 0 / .55) 64%, transparent 84%), linear-gradient(to left, #000 50%, rgb(0 0 0 / .5) 76%, transparent 100%);
          mask-composite: intersect;
  transition: transform .6s var(--ease);
  transform-origin: top right;
}
.card:hover .card-img { transform: scale(1.04); }
.card-fade { display: none; }
.card-num { display: inline-block; position: relative; padding-bottom: .55rem; color: var(--primary); font-size: 1.15rem; letter-spacing: .04em; }
.card-num::after { content: ""; position: absolute; left: 0; bottom: 0; width: 3.4rem; height: 2px; background: linear-gradient(90deg, var(--primary) 0 60%, oklch(0.62 0.2 255 / .35) 60% 100%); }
.card .icon-lg { margin-top: 0; width: 2.9rem; height: 2.9rem; stroke-width: 1.6; color: var(--primary); }
.card h2 { margin-top: 1.5rem; font-size: 1.95rem; line-height: 1.15; font-weight: 500; letter-spacing: -.005em; }
.card p { margin-top: 1.1rem; max-width: 15rem; font-size: 1.05rem; line-height: 1.45; color: oklch(0.86 0.02 250); }
.card-link {
  margin-top: 2rem; display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem;
  border-radius: 999px; border: 1px solid var(--primary); color: var(--primary); transition: background .2s, color .2s;
}
.card-link::after { content: ""; position: absolute; inset: 0; } /* card inteiro clicável */
.card:hover .card-link, .card-link:hover { background: var(--primary); color: var(--primary-foreground); }

/* ---------- Páginas internas ---------- */
.page { max-width: 48rem; margin-inline: auto; padding: 6rem var(--gutter); }
.page h1 { margin-top: 1.5rem; font-size: clamp(2.75rem, 8vw, 3.75rem); line-height: 1.05; font-weight: 500; }
.page-body { margin-top: 2.5rem; display: grid; gap: 1.5rem; font-size: 1.125rem; color: var(--muted-foreground); }
.page-body strong { color: var(--foreground); font-weight: 500; }
.list-row { display: flex; gap: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
.list-row .text-primary { flex-shrink: 0; }
.list-row a { color: var(--foreground); }
.list-row a:hover { color: var(--primary); }
.facts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.fact { border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); padding: 1.25rem 1.5rem; }
.fact b { display: block; color: var(--foreground); font-weight: 500; font-size: 1.05rem; }
.fact span { font-size: .95rem; }

/* ---------- Formulário ---------- */
.form { display: grid; gap: 1rem; }
.field { width: 100%; border: 1px solid var(--border); border-radius: calc(var(--radius) - 2px); background: var(--card); padding: .75rem 1rem; color: var(--foreground); }
.field::placeholder { color: var(--muted-foreground); }
.field:focus { outline: none; border-color: var(--primary); }
.btn-primary {
  justify-self: start; display: inline-flex; align-items: center; gap: .5rem;
  border: 0; border-radius: 999px; background: var(--primary); color: var(--primary-foreground);
  padding: .75rem 2rem; cursor: pointer; transition: filter .2s;
}
.btn-primary:hover { filter: brightness(1.1); }
.form-note { font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: auto; }
.footer-row { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 2rem; text-align: center; }
.footer-row p { font-size: .875rem; color: var(--muted-foreground); }
.socials { display: flex; gap: 1.25rem; }
.socials a { transition: color .2s; }
.socials a:hover { color: var(--primary); }
@media (min-width: 768px) { .footer-row { flex-direction: row; text-align: left; } }

@media (prefers-reduced-motion: reduce) {
  .card { opacity: 1; transform: none; transition: none; }
  .hero-media video { transition: none; }
}
.card:nth-child(4) .card-img { object-position: 50% 62%; }

/* ---------- Efeitos dos blocos: spotlight, tilt 3D e brilho na borda ---------- */
.card {
  --mx: 50%; --my: 50%; --spot: 0;
  transform-style: preserve-3d;
  will-change: transform;
  transition: opacity .8s var(--ease), transform .8s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
/* 1. luz azul que acompanha o cursor, atrás do conteúdo e acima da imagem */
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(420px circle at var(--mx) var(--my), oklch(0.62 0.2 255 / .30), oklch(0.62 0.2 255 / .10) 35%, transparent 65%);
  opacity: var(--spot); transition: opacity .35s var(--ease);
}
/* borda que acende mais perto do cursor */
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx) var(--my), oklch(0.72 0.18 255 / .95), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: var(--spot); transition: opacity .35s var(--ease);
}
/* 3. brilho na borda + sombra azulada */
.card.is-hover {
  border-color: oklch(0.62 0.2 255 / .75);
  box-shadow: 0 0 0 1px oklch(0.62 0.2 255 / .35), 0 18px 50px -12px oklch(0.62 0.2 255 / .45), 0 0 34px -6px oklch(0.62 0.2 255 / .35);
}
/* 2. tilt 3D: transição curta enquanto o mouse está em cima */
.card.is-hover { transition-delay: 0s !important; }
.card.is-hover.in { transition: opacity .8s var(--ease), transform .12s ease-out, border-color .35s var(--ease), box-shadow .35s var(--ease); }
.card h2, .card p, .card .icon-lg { transform: translateZ(0); }
@media (hover: none), (prefers-reduced-motion: reduce) {
  .card::before, .card::after { display: none; }
}

/* ---------- Reflexo no hover: logo e botão "Entre em contato" ---------- */
/* logo: o brilho atravessa as próprias letras */
.logo-mark, .logo-name, .logo-role {
  background-image: linear-gradient(105deg, var(--shine-base) 0 34%, oklch(0.78 0.14 250) 40%, oklch(0.68 0.22 255) 45%, oklch(0.9 0.08 240) 49%, #fff 50%, oklch(0.9 0.08 240) 51%, oklch(0.68 0.22 255) 55%, oklch(0.78 0.14 250) 60%, var(--shine-base) 66% 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position 0s;
}
.logo-mark, .logo-name { --shine-base: #fff; }
.logo-role { --shine-base: rgb(255 255 255 / .6); }
.logo:hover .logo-mark, .logo:hover .logo-name, .logo:hover .logo-role {
  background-position: 0 0;
  transition: background-position 1s var(--ease);
}
.logo:hover .logo-name { transition-delay: .08s; }
.logo:hover .logo-role { transition-delay: .16s; }


/* brilho que acompanha só o reflexo: cópia desfocada do texto, iluminada apenas na faixa de luz */
.logo-mark, .logo-name { position: relative; overflow: visible; text-overflow: clip; }
.logo-mark::after, .logo-name::after {
  content: attr(data-text);
  position: absolute; inset: 0; padding: inherit; pointer-events: none;
  font: inherit; letter-spacing: inherit; text-transform: inherit; white-space: nowrap;
  background-image: linear-gradient(105deg, transparent 0 34%, oklch(0.66 0.22 255 / .6) 41%, oklch(0.72 0.2 252) 46%, #fff 50%, oklch(0.72 0.2 252) 54%, oklch(0.66 0.22 255 / .6) 59%, transparent 66% 100%);
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: blur(5px) brightness(1.5);
  transition: background-position 0s;
}
/* passagem mais longa e suave, com o mesmo tempo no reflexo e no brilho */
.logo:hover .logo-mark, .logo:hover .logo-name, .logo:hover .logo-role,
.logo:hover .logo-mark::after, .logo:hover .logo-name::after,
.logo.is-shining .logo-mark, .logo.is-shining .logo-name, .logo.is-shining .logo-role,
.logo.is-shining .logo-mark::after, .logo.is-shining .logo-name::after {
  background-position: 0 0;
  transition: background-position 1.5s cubic-bezier(.45, .05, .25, 1);
}
.logo:hover .logo-name, .logo:hover .logo-name::after,
.logo.is-shining .logo-name, .logo.is-shining .logo-name::after { transition-delay: .12s; }
.logo:hover .logo-role, .logo.is-shining .logo-role { transition-delay: .24s; }

/* botão: faixa de luz diagonal passando, como reflexo em vidro */
.btn-outline { position: relative; overflow: hidden; isolation: isolate; }
.btn-outline::before {
  content: ""; position: absolute; top: -50%; bottom: -50%; left: -60%; width: 40%; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .75), transparent);
  transform: skewX(-20deg) translateX(0);
  transition: transform 0s;
}
.btn-outline:hover::before {
  transform: skewX(-20deg) translateX(520%);
  transition: transform .8s var(--ease);
}
.btn-outline:hover { box-shadow: 0 0 22px -4px oklch(0.62 0.2 255 / .6); }

@media (prefers-reduced-motion: reduce) {
  .logo:hover .logo-mark, .logo:hover .logo-name, .logo:hover .logo-role { transition: none; }
  .btn-outline::before { display: none; }
}

/* ---------- Página Sobre ---------- */
.about { position: relative; overflow: hidden; isolation: isolate; font-family: Montserrat, "Helvetica Neue", Arial, sans-serif; }

/* foto: celular = recorte vertical no topo; computador = imagem inteira ancorada à direita, na proporção original */
.about-visual { position: relative; height: min(115vw, 34rem); }
.about-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 15%; }
.about-fade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, var(--background) 0%, color-mix(in oklch, var(--background) 65%, transparent) 16%, transparent 38%); }
.about-words { display: none; }

.about-text { padding-block: 1rem 2.5rem; }
.about-eyebrow { display: flex; align-items: center; gap: 1.25rem; font-family: Montserrat, sans-serif; font-weight: 500; }
.about-eyebrow::after { content: ""; width: 4.5rem; height: 1px; background: color-mix(in oklch, var(--primary) 70%, transparent); }
.about-title { margin-top: 1.1rem; font-size: clamp(2.5rem, 10vw, 4rem); line-height: 1.04; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
.grad { background: linear-gradient(90deg, oklch(0.74 0.15 232), oklch(0.6 0.22 258)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.about-body { margin-top: 1.6rem; display: grid; gap: 1.1rem; max-width: 33rem; font-size: 1rem; line-height: 1.6; color: oklch(0.8 0.025 250); }
.about-body strong { color: #fff; font-weight: 600; }
.about-quote {
  margin-top: 1.9rem; max-width: 29rem; padding-left: 1.5rem; border-left: 3px solid var(--primary);
  font-size: 1.15rem; line-height: 1.45; font-weight: 500; color: oklch(0.72 0.17 245);
}

/* 4 destaques: colunas iguais, ícone e texto alinhados */
.stats { position: relative; z-index: 2; display: grid; gap: 1rem; padding-bottom: 4.5rem; }
.stat {
  display: grid; grid-template-columns: 2.5rem 1fr; align-items: center; column-gap: 1.1rem;
  padding: 1.35rem 1.4rem; min-height: 6.5rem;
  border: 1px solid oklch(0.42 0.08 255 / .7); border-radius: var(--radius);
  background: linear-gradient(180deg, oklch(0.2 0.04 255 / .88), oklch(0.165 0.03 255 / .92));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.stat:hover { border-color: oklch(0.62 0.2 255 / .75); box-shadow: 0 0 30px -8px oklch(0.62 0.2 255 / .5); }
.stat-icon { width: 2.4rem; height: 2.4rem; stroke-width: 1.5; color: var(--primary); }
.stat-title { font-size: 1.15rem; font-weight: 600; line-height: 1.2; color: #fff; }
.stat-text { margin-top: .3rem; font-size: .86rem; line-height: 1.4; color: oklch(0.78 0.025 250); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.about-shade { display: none; }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 1024–1279px: foto inteira no topo (16:9), texto abaixo */
@media (min-width: 1024px) and (max-width: 1279px) {
  .about-visual { height: auto; aspect-ratio: 1672 / 941; }
  .about-photo { object-position: 100% 0; }
  .about-text { max-width: 44rem; }
  .stat { grid-template-columns: 2.1rem 1fr; padding: 1.2rem; column-gap: .9rem; }
  .stat-icon { width: 2.1rem; height: 2.1rem; }
}

/* 1280px+: texto à esquerda, foto à direita */
@media (min-width: 1280px) {
  /* caixa na proporção da imagem (16:9), com altura máxima para não ampliar demais;
     alinhada à margem do conteúdo (e não à borda da tela) para a Priscila ficar perto do centro em telas largas */
  .about-visual {
    position: absolute; top: 0; height: min(100%, 54rem); width: auto;
    aspect-ratio: 1672 / 941;
    right: max(0px, calc((100% - var(--max)) / 2 - 6rem));
    -webkit-mask-image: linear-gradient(to left, transparent 0, #000 7%);
            mask-image: linear-gradient(to left, transparent 0, #000 7%);
  }
  .about-photo { object-fit: cover; object-position: 100% 0; }
  .about-fade {
    background: linear-gradient(0deg, var(--background) 0%, color-mix(in oklch, var(--background) 55%, transparent) 7rem, transparent 14rem);
  }
  /* escurece só atrás do texto, para leitura */
  .about-shade {
    display: block; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, color-mix(in oklch, var(--background) 92%, transparent) 0%, color-mix(in oklch, var(--background) 70%, transparent) 36%, transparent 52%);
  }
  /* palavras no painel à direita da linha de luz (a linha fica em ≈ 83,6% da largura da imagem) */
  .about-words {
    display: grid; gap: .65rem; position: absolute; top: 2.5%; left: 84.9%; z-index: 2;
    list-style: none; padding: 0; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: oklch(0.9 0.02 250 / .85);
    text-shadow: 0 1px 8px oklch(0.16 0.03 255 / .8);
  }
  .about-words::after { content: ""; width: 2.5rem; height: 1px; margin-top: 1.1rem; background: var(--primary); }
  .about-grid { position: relative; z-index: 1; }
  .about-text { padding-block: 4.5rem 2.75rem; max-width: 36rem; }
  .about-title { font-size: 4rem; }
}
.stat-text { text-wrap: balance; hyphens: manual; }
.nowrap { white-space: nowrap; }

/* blocos com a mesma proporção: título sempre na mesma altura, ícone alinhado ao título */
.stat { align-items: start; align-content: start; padding-top: 1.5rem; }
.stat-icon { margin-top: .1rem; }
.stats { align-items: stretch; }

/* ---------- Sobre: zoom lento em loop na imagem de fundo ---------- */
@keyframes about-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
.about-visual {
  transform-origin: 50% 30%;
  animation: about-zoom 14s ease-in-out infinite alternate;
  will-change: transform;
}
@media (min-width: 1280px) {
  .about-visual { transform-origin: 70% 35%; }  /* aproxima em direção à Priscila */
}
@media (prefers-reduced-motion: reduce) {
  .about-visual { animation: none; }
}

/* ---------- Entrada coreografada (página Sobre) ---------- */
.about-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.about-title .line > span { display: inline-block; }

html.reveal [data-reveal] { --ease-out: cubic-bezier(.16, 1, .3, 1); }
/* estado inicial (só com JS ativo) */
html.reveal .about-pic[data-reveal] img { opacity: 0; filter: blur(14px); transform: scale(1.05); }
html.reveal .about-eyebrow[data-reveal] { opacity: 0; letter-spacing: .6em; }
html.reveal .about-eyebrow[data-reveal]::after { transform: scaleX(0); transform-origin: left; }
html.reveal .about-title[data-reveal] .line > span { transform: translateY(110%); }
html.reveal .about-body [data-reveal], html.reveal .stat[data-reveal] { opacity: 0; transform: translateY(26px); filter: blur(6px); }
html.reveal .stat[data-reveal] { transform: translateY(34px) scale(.96); }
html.reveal .about-quote[data-reveal] { opacity: 0; transform: translateX(-14px); border-left-color: transparent; }
html.reveal .about-quote[data-reveal]::before { content: ""; position: absolute; left: -3px; top: 0; bottom: 0; width: 3px; background: var(--primary); transform: scaleY(0); transform-origin: top; }
html.reveal .about-words[data-reveal] li { opacity: 0; letter-spacing: .7em; }
html.reveal .about-words[data-reveal]::after { transform: scaleX(0); transform-origin: left; }
.about-quote { position: relative; }

/* estado final */
html.reveal .is-in.about-pic img { opacity: 1; filter: none; transform: none; transition: opacity 1.4s var(--ease-out) var(--d), filter 1.6s var(--ease-out) var(--d), transform 2.2s var(--ease-out) var(--d); }
html.reveal .is-in.about-eyebrow { opacity: 1; letter-spacing: .3em; transition: opacity .8s var(--ease-out) var(--d), letter-spacing 1.2s var(--ease-out) var(--d); }
html.reveal .is-in.about-eyebrow::after { transform: scaleX(1); transition: transform 1s var(--ease-out) calc(var(--d) + .25s); }
html.reveal .is-in.about-title .line > span { transform: none; transition: transform 1.1s var(--ease-out) calc(var(--d) + var(--i) * .14s); }
html.reveal .about-body .is-in, html.reveal .stat.is-in { opacity: 1; transform: none; filter: none;
  transition: opacity .9s var(--ease-out) var(--d), transform 1s var(--ease-out) var(--d), filter .9s var(--ease-out) var(--d), border-color .3s, box-shadow .3s; }
html.reveal .is-in.about-quote { opacity: 1; transform: none; transition: opacity .9s var(--ease-out) calc(var(--d) + .3s), transform .9s var(--ease-out) calc(var(--d) + .3s), border-left-color 0s linear calc(var(--d) + 1.1s); border-left-color: var(--primary); }
html.reveal .is-in.about-quote::before { transform: scaleY(1); transition: transform .7s var(--ease-out) var(--d); }
html.reveal .is-in.about-words li { opacity: 1; letter-spacing: .3em; transition: opacity .8s var(--ease-out) calc(var(--d) + var(--i) * .12s), letter-spacing 1.1s var(--ease-out) calc(var(--d) + var(--i) * .12s); }
html.reveal .is-in.about-words::after { transform: scaleX(1); transition: transform .9s var(--ease-out) calc(var(--d) + .6s); }

@media (prefers-reduced-motion: reduce) {
  html.reveal [data-reveal], html.reveal [data-reveal] *, html.reveal [data-reveal]::before, html.reveal [data-reveal]::after {
    opacity: 1 !important; transform: none !important; filter: none !important; letter-spacing: inherit; transition: none !important;
  }
}
.about-pic { position: absolute; inset: 0; display: block; }

/* ---------- Efeitos nos 4 blocos da página Sobre (iguais aos blocos da página inicial) ---------- */
.stat {
  --mx: 50%; --my: 50%; --spot: 0;
  position: relative; overflow: hidden; isolation: isolate;
  transform-style: preserve-3d; will-change: transform;
}
/* 1. luz azul que acompanha o cursor, atrás do conteúdo */
.stat::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(320px circle at var(--mx) var(--my), oklch(0.62 0.2 255 / .32), oklch(0.62 0.2 255 / .1) 35%, transparent 65%);
  opacity: var(--spot); transition: opacity .35s var(--ease);
}
/* borda que acende mais perto do cursor */
.stat::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx) var(--my), oklch(0.72 0.18 255 / .95), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: var(--spot); transition: opacity .35s var(--ease);
}
/* 3. brilho na borda + sombra azulada */
.stat.is-hover {
  border-color: oklch(0.62 0.2 255 / .75);
  box-shadow: 0 0 0 1px oklch(0.62 0.2 255 / .35), 0 18px 46px -12px oklch(0.62 0.2 255 / .5), 0 0 30px -6px oklch(0.62 0.2 255 / .4);
}
/* 2. tilt 3D: resposta imediata enquanto o mouse está em cima (sem o atraso da entrada) */
.stat.is-hover, html.reveal .stat.is-in.is-hover {
  transition: transform .12s ease-out, border-color .35s var(--ease), box-shadow .35s var(--ease), opacity .9s, filter .9s;
  transition-delay: 0s !important;
}
html.reveal .stat.is-in:not(.is-hover) { transition-property: opacity, transform, filter, border-color, box-shadow; }
@media (hover: none), (prefers-reduced-motion: reduce) { .stat::before, .stat::after { display: none; } }

/* tipografia da página inicial mais próxima da referência (Google Sans Flex) */
.hero-eyebrow { font-weight: 500; letter-spacing: .26em; }
.hero h1 { font-weight: 500; letter-spacing: -.02em; }
.hero-role { font-weight: 400; letter-spacing: .45em; }
.hero-lead { color: oklch(0.86 0.02 250); line-height: 1.45; }
.card h2 { font-weight: 500; letter-spacing: -.01em; }
.nav a, .btn-outline { font-weight: 400; }

/* nome + "Engenheira | Professora | Palestrante": a linha ocupa a largura do nome e escala junto com ele */
.hero-namebox { display: flex; width: max-content; max-width: 100%; flex-direction: column; margin-top: 2rem; font-size: clamp(3.4rem, 13vw, 6rem); }
.hero-namebox h1 { margin-top: 0; font-size: 1em; }
.hero-role {
  display: flex; align-items: center; justify-content: space-between; gap: .7em;
  margin-top: 1.5rem; font-size: .135em; letter-spacing: .24em; white-space: nowrap;
}
.hero-role span { margin-right: -.24em; }   /* compensa o espaçamento da última letra */
.hero-role i { width: 1px; height: 1.1em; background: color-mix(in oklch, var(--primary) 70%, transparent); flex-shrink: 0; }
@media (min-width: 768px) { .hero-namebox { font-size: clamp(4.5rem, 8vw, 6rem); } }
@media (max-width: 767px) {
  .hero-role { font-size: .7rem; letter-spacing: .16em; justify-content: flex-start; gap: .8em; }
  .hero-role span { margin-right: -.16em; }
}

/* reflexo individual em cada palavra (igual ao do logo) */
.hero-role span {
  --shine-base: #fff; position: relative; cursor: default;
  background-image: linear-gradient(105deg, var(--shine-base) 0 34%, oklch(0.78 0.14 250) 40%, oklch(0.68 0.22 255) 45%, oklch(0.9 0.08 240) 49%, #fff 50%, oklch(0.9 0.08 240) 51%, oklch(0.68 0.22 255) 55%, oklch(0.78 0.14 250) 60%, var(--shine-base) 66% 100%);
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: background-position 0s;
}
.hero-role span::after {
  content: attr(data-text); position: absolute; inset: 0; pointer-events: none;
  font: inherit; letter-spacing: inherit; text-transform: inherit; white-space: nowrap;
  background-image: linear-gradient(105deg, transparent 0 34%, oklch(0.66 0.22 255 / .6) 41%, oklch(0.72 0.2 252) 46%, #fff 50%, oklch(0.72 0.2 252) 54%, oklch(0.66 0.22 255 / .6) 59%, transparent 66% 100%);
  background-size: 300% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: blur(4px) brightness(1.5);
  transition: background-position 0s;
}
.hero-role span:hover, .hero-role span:hover::after {
  background-position: 0 0;
  transition: background-position 1.3s cubic-bezier(.45, .05, .25, 1);
}
@media (prefers-reduced-motion: reduce) { .hero-role span:hover, .hero-role span:hover::after { transition: none; } }

/* destaque reforçado em cada palavra: zoom leve, reflexo mais longo e brilho que pulsa */
.hero-role span {
  display: inline-block; transform-origin: 50% 60%;
  background-image: linear-gradient(105deg, var(--shine-base) 0 30%, oklch(0.85 0.1 245) 37%, oklch(0.72 0.19 252) 43%, oklch(0.92 0.06 240) 48%, #fff 50%, oklch(0.92 0.06 240) 52%, oklch(0.72 0.19 252) 57%, oklch(0.85 0.1 245) 63%, var(--shine-base) 70% 100%);
  transition: background-position 0s, transform .55s cubic-bezier(.22, 1, .36, 1), filter .5s ease;
}
.hero-role span::after {
  background-image: linear-gradient(105deg, transparent 0 30%, oklch(0.66 0.22 255 / .5) 38%, oklch(0.72 0.2 252) 45%, #fff 50%, oklch(0.72 0.2 252) 55%, oklch(0.66 0.22 255 / .5) 62%, transparent 70% 100%);
  filter: blur(5px) brightness(1.6);
}
/* aura azul atrás da palavra */
.hero-role span::before {
  content: ""; position: absolute; inset: -.9em -1.1em; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(closest-side, oklch(0.62 0.21 255 / .26), oklch(0.62 0.21 255 / .08) 55%, transparent 100%);
  opacity: 0; transform: scale(.7);
  transition: opacity .5s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
}
.hero-role { position: relative; isolation: isolate; }
.hero-role span:hover {
  transform: scale(1.08);
  animation: role-glow 2.2s ease-in-out .35s infinite alternate;
}
.hero-role span:hover::before { opacity: 1; transform: scale(1); animation: role-aura 2.2s ease-in-out .35s infinite alternate; }
.hero-role span:hover, .hero-role span:hover::after {
  background-position: 0 0;
}
.hero-role span:hover { transition: background-position 1.8s cubic-bezier(.37, 0, .2, 1), transform .55s cubic-bezier(.22, 1, .36, 1), filter .5s ease; }
.hero-role span:hover::after { transition: background-position 1.8s cubic-bezier(.37, 0, .2, 1); }
@keyframes role-glow {
  from { filter: drop-shadow(0 0 2px oklch(0.66 0.22 255 / .28)); }
  to   { filter: drop-shadow(0 0 6px oklch(0.7 0.2 252 / .55)) drop-shadow(0 0 12px oklch(0.62 0.2 255 / .22)); }
}
@keyframes role-aura {
  from { opacity: .5; transform: scale(.94); }
  to   { opacity: .85; transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-role span:hover, .hero-role span:hover::before { animation: none; transform: none; }
}
@media (min-width: 768px) { .hero-role { gap: .85em; letter-spacing: .21em; } .hero-role span { margin-right: -.21em; } }

/* ---------- Cabeçalho de vidro (mantém o azul-marinho, translúcido e desfocado) ---------- */
:root { --header-h: 121px; }                       /* valor inicial; o JS mede o real */
@media (min-width: 768px) { :root { --header-h: 82px; } }
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background:
    linear-gradient(180deg, oklch(0.24 0.05 255 / .52) 0%, oklch(0.17 0.035 255 / .34) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
          backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid oklch(1 0 0 / .09);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / .07),              /* reflexo fino no topo do vidro */
    inset 0 -1px 0 oklch(0.62 0.2 255 / .10),      /* leve tom azul na borda de baixo */
    0 12px 32px -20px rgb(0 0 0 / .65);
  transition: background .4s ease, box-shadow .4s ease;
}
/* ao rolar, o vidro fica um pouco mais denso para manter a leitura */
.site-header.is-scrolled {
  background: linear-gradient(180deg, oklch(0.22 0.045 255 / .7) 0%, oklch(0.17 0.035 255 / .55) 100%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: oklch(0.17 0.035 255 / .94); }
}
/* o conteúdo começa abaixo do cabeçalho... */
main { padding-top: var(--header-h); }
/* ...exceto o vídeo da página inicial e a foto do Sobre, que passam por trás do vidro */
.hero, .about { margin-top: calc(-1 * var(--header-h)); }
.hero-content { padding-top: calc(8rem + var(--header-h)); }
.about-text { padding-top: calc(1rem + var(--header-h)); }
@media (max-width: 767px) {
  .hero-media { height: calc(72svh + var(--header-h)); }
  .hero-fade { background: linear-gradient(0deg, var(--background) calc(100% - 72svh - var(--header-h)), color-mix(in oklch, var(--background) 60%, transparent) calc(100% - 58svh - var(--header-h)), transparent calc(100% - 40svh - var(--header-h))); }
  .hero-content { padding-top: calc(72svh - 5.5rem + var(--header-h)); }
}
@media (max-width: 1023px) {
  .about-visual { margin-top: 0; }
  .about .about-visual:not(:only-child) { }
}
@media (max-width: 1023px) and (min-width: 0px) {
  .about-visual { height: calc(min(115vw, 34rem) + var(--header-h)); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .about-visual { height: auto; aspect-ratio: auto; height: calc(100vw * 941 / 1672 + var(--header-h)); }
}
@media (min-width: 768px) {
  .hero { height: calc(clamp(36rem, calc(100svh - 5rem), 45rem) + var(--header-h)); }
  .hero-content { padding-top: calc(2rem + var(--header-h)); }
}
@media (min-width: 1280px) {
  .about-text { padding-top: calc(4.5rem + var(--header-h)); }
  /* computador: a foto mantém a geometria aprovada, começando logo abaixo do vidro */
  .about-visual { top: var(--header-h); height: min(calc(100% - var(--header-h)), 54rem); }
}

/* bloco inteiro clicável: a área do link cobre o card todo, acima da imagem e do texto */
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: 0; }
.card { cursor: pointer; }
.card { transform-style: flat; }
.card h2, .card p, .card .icon-lg { transform: none; }

/* ---------- Enquadramento do vídeo da página inicial ----------
   medido no vídeo: topo da cabeça a 5,4% da altura; corpo de 48,7% a 72,6% da largura (centro 60,7%)
   - o vídeo começa logo abaixo do vidro do cabeçalho: a cabeça nunca fica escondida
   - posição horizontal calculada para ela ficar o mais ao centro possível sem encostar no texto */
.hero-media { top: var(--header-h); }
@media (max-width: 767px) {
  .hero-media { height: 72svh; }
}
@media (min-width: 768px) {
  .hero-media { bottom: 0; height: auto; }
  .hero-media video, .hero-media .hero-poster { object-position: 60% 0; }
}
@media (min-width: 1200px) {
  .hero-media video, .hero-media .hero-poster { object-position: 64% 0; }
}
@media (min-width: 1366px) {
  .hero-media video, .hero-media .hero-poster { object-position: 71% 0; }
}

/* ---------- Abertura da página inicial (animações com keyframes: não interferem nos efeitos de hover) ---------- */
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero h1 .line > span { display: inline-block; }
@keyframes rv-media { from { opacity: 0; filter: blur(16px); } to { opacity: 1; filter: none; } }
@keyframes rv-zoom  { from { transform: scale(1.07); } to { transform: none; } }
@keyframes rv-track { from { opacity: 0; letter-spacing: .7em; } to { opacity: 1; } }
@keyframes rv-line  { from { transform: translateY(112%); } to { transform: none; } }
@keyframes rv-up    { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes rv-word  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rv-bar   { from { transform: scaleY(0); } to { transform: none; } }
@keyframes rv-rule  { from { border-bottom-color: transparent; } to { } }

/* estado antes de começar (só com JS ativo) */
html.reveal [data-intro]:not(.is-in) { opacity: 0; }
html.reveal .hero h1[data-intro]:not(.is-in) { opacity: 1; }
html.reveal .hero h1[data-intro]:not(.is-in) .line > span { transform: translateY(112%); }
html.reveal .hero-role[data-intro]:not(.is-in) { opacity: 1; }
html.reveal .hero-role[data-intro]:not(.is-in) > * { opacity: 0; }

/* sequência */
/* vídeo: só esmaece (sem desfoque nem zoom no vídeo em movimento, que causava tremedeira);
   o desfoque fica apenas na imagem parada de carregamento */
@keyframes rv-fade { from { opacity: 0; } to { opacity: 1; } }
/* abertura do vídeo só com opacidade (efeito mais leve para o navegador = fluido):
   a versão desfocada (pré-renderizada) se dissolve revelando a nítida */
.hero-poster-blur {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: blur(6px); transform: scale(1.04); opacity: 0; pointer-events: none;
}
html.reveal .hero-poster-blur { opacity: 1; }
@keyframes rv-out { from { opacity: 1; } to { opacity: 0; } }
html.reveal .hero-media.is-in { animation: rv-fade 2.4s cubic-bezier(.33, 0, .2, 1) var(--d) backwards; will-change: opacity; }
html.reveal .hero-media.is-in .hero-poster-blur { animation: rv-out 2.8s cubic-bezier(.4, 0, .2, 1) var(--d) forwards; will-change: opacity; }
.hero-media video { transition: opacity 1s ease; }
.hero-media video { z-index: 1; }
html.reveal .hero-eyebrow.is-in { animation: rv-track 1.3s cubic-bezier(.16, 1, .3, 1) var(--d) backwards; }
html.reveal .hero h1.is-in .line > span { animation: rv-line 1.1s cubic-bezier(.16, 1, .3, 1) calc(var(--d) + var(--i) * .15s) backwards; }
html.reveal .hero-role.is-in > span { animation: rv-word .8s cubic-bezier(.16, 1, .3, 1) calc(var(--d) + var(--i) * .09s) backwards; }
html.reveal .hero-role.is-in > i { transform-origin: 50% 100%; animation: rv-bar .6s cubic-bezier(.16, 1, .3, 1) calc(var(--d) + var(--i) * .09s) backwards; }
html.reveal .hero-lead.is-in { animation: rv-up 1s cubic-bezier(.16, 1, .3, 1) var(--d) backwards; }
html.reveal .no-anim, html.reveal .no-anim * { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  html.reveal [data-intro], html.reveal [data-intro] * { opacity: 1 !important; animation: none !important; }
  html.reveal .hero h1[data-intro] .line > span { transform: none !important; }
}

/* vídeo em camada própria de GPU, sem reamostragem a cada quadro */
/* (sem backface-visibility no vídeo: bug conhecido do Safari no iPhone pode deixá-lo invisível) */
/* a versão desfocada usa o mesmo enquadramento da imagem nítida */
.hero-poster-blur { object-position: 50% 0%; }
@media (min-width: 768px)  { .hero-poster-blur { object-position: 60% 0; } }
@media (min-width: 1200px) { .hero-poster-blur { object-position: 64% 0; } }
@media (min-width: 1366px) { .hero-poster-blur { object-position: 71% 0; } }

/* Sobre em celular/tablet: a foto começa logo abaixo do vidro (cabeça nunca escondida) e a Priscila fica centralizada */
@media (max-width: 1279px) {
  .about-visual { margin-top: var(--header-h); }
  .about-text { padding-top: 1rem; }
}
@media (max-width: 1023px) {
  .about-visual { height: min(118vw, 36rem); }
  .about-photo { object-position: 51% 0; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .about-visual { height: calc(100vw * 941 / 1672); }
  .about-photo { object-position: 50% 0; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .about-visual { height: min(75vw, 941px); }
  .about-photo { object-position: 100% 0; }
}

/* celular: entrada dos blocos um pouco mais curta */
@media (max-width: 767px) {
  .card { transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .3s; transform: translateY(18px); }
  .card.in { transform: none; }
}

/* rodapé mobile: nome e cargo alinhados à esquerda, como no cabeçalho */
.footer-row .logo { text-align: left; }

/* ---------- Página Prêmios ---------- */
.awards-page { --gold: 226 172 96; padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(3.5rem, 6vw, 5rem); }
.awards-head { display: grid; gap: 1.75rem; align-items: start; }
.awards-h1 { margin-top: 1.25rem; font-size: clamp(2.75rem, 6vw, 4rem); line-height: 1.05; font-weight: 500; letter-spacing: -.01em; }
.awards-h1::after { content: ""; display: block; width: 2.75rem; height: 2px; margin-top: 1.25rem; background: color-mix(in oklab, var(--muted-foreground) 55%, transparent); }
.awards-intro { max-width: 26rem; padding-left: 1.5rem; border-left: 1px solid var(--border); color: var(--muted-foreground); font-size: 1rem; line-height: 1.6; }
@media (min-width: 1024px) {
  .awards-head { grid-template-columns: 1fr auto; }
  .awards-intro { margin-top: .25rem; padding-left: 2.25rem; }
}
.awards { list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; display: grid; gap: clamp(3rem, 6vw, 2.5rem); }
@media (min-width: 720px) and (max-width: 1023px) { .awards { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; } }
@media (min-width: 1024px) { .awards { grid-template-columns: repeat(3, 1fr); column-gap: clamp(1.5rem, 3vw, 3rem); } }
.award { display: flex; flex-direction: column; min-width: 0; }
.award-stage { position: relative; aspect-ratio: 6 / 5; display: grid; place-items: center; isolation: isolate; }
.award-halo {
  position: absolute; z-index: -2; left: 50%; top: 4%; width: 84%; aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%; border: 1px solid rgb(var(--gold) / .38);
  background: radial-gradient(circle at 50% 50%, rgb(var(--gold) / .20), rgb(var(--gold) / .06) 45%, transparent 68%);
  -webkit-mask-image: linear-gradient(#000 25%, transparent 78%); mask-image: linear-gradient(#000 25%, transparent 78%);
  opacity: .85; transition: opacity .6s ease, transform .8s cubic-bezier(.16,1,.3,1);
}
.award-floor {
  position: absolute; z-index: -1; left: 8%; right: 8%; bottom: 2%; height: 18%;
  background: radial-gradient(ellipse at 50% 40%, rgb(var(--gold) / .32), rgb(var(--gold) / .08) 45%, transparent 72%);
  filter: blur(6px); transition: opacity .6s ease;
}
.award-media { position: relative; width: 100%; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.award-media img { display: block; width: 100%; height: auto; }
.award--frame .award-media { width: min(56%, 16.5rem); padding: 6px; border-radius: 3px;
  background: linear-gradient(135deg, #cfc3a4 0%, #6f6248 30%, #e4dac0 52%, #5d5139 80%, #b9ab88 100%);
  box-shadow: 0 0 0 1px rgb(0 0 0 / .5), 0 34px 60px -24px rgb(0 0 0 / .9), 0 0 70px -10px rgb(var(--gold) / .35);
}
.award--frame .award-media img { border-radius: 1px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .2); }
@media (hover: hover) {
  .award:hover .award-media { transform: translateY(-6px); }
  .award:hover .award-halo { opacity: 1; transform: translateX(-50%) scale(1.03); }
}
.award-meta { margin-top: 1rem; }
.award-num { display: flex; align-items: center; gap: 1rem; color: var(--primary); font-size: 1.15rem; font-weight: 500; }
.award-num::after { content: ""; width: 4rem; height: 1px; background: color-mix(in oklab, var(--muted-foreground) 50%, transparent); }
.award-title { margin-top: .9rem; font-size: clamp(1.3rem, 1.7vw, 1.55rem); line-height: 1.25; font-weight: 500; }
.award-title a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s ease, color .3s; }
.award-title a:hover { color: var(--primary); background-size: 100% 1px; }
.award-sub { margin-top: .35rem; color: var(--muted-foreground); font-size: 1rem; }
html.reveal .awards-page [data-reveal] { opacity: 0; transform: translateY(24px); filter: blur(6px); }
html.reveal .award[data-reveal] { transform: translateY(36px) scale(.97); }
html.reveal .awards-page .is-in { opacity: 1; transform: none; filter: none;
  transition: opacity 1s var(--ease-out) var(--d), transform 1.2s var(--ease-out) var(--d), filter 1s var(--ease-out) var(--d); }
@media (min-width: 1024px) {
  .awards { width: min(calc(100vw - 2 * var(--gutter)), 1500px); margin-left: 50%; translate: -50% 0; }
}
.award-halo { width: 90%; top: 2%; border-color: rgb(var(--gold) / .5); }
/* placas recortadas (PNG sem fundo): só sombra de contato */
.award--plaque .award-media { width: 92%; }
.award--plaque .award-media img { filter: drop-shadow(0 26px 30px rgb(0 0 0 / .65)); }

/* ---------- Galeria do prêmio (abre ao clicar) ---------- */
button.award-stage { all: unset; position: relative; aspect-ratio: 6 / 5; display: grid; place-items: center; isolation: isolate; cursor: zoom-in; border-radius: 12px; }
button.award-stage:focus-visible { outline: 2px solid var(--primary); outline-offset: 6px; }
.award-chip {
  position: absolute; right: 8%; bottom: 10%; display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .8rem; border-radius: 999px; font-size: .8rem; letter-spacing: .02em; color: var(--foreground);
  background: rgb(10 18 34 / .55); border: 1px solid rgb(255 255 255 / .14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease;
}
.award--gallery:hover .award-chip, button.award-stage:focus-visible .award-chip { opacity: 1; transform: none; }
@media (hover: none) { .award-chip { opacity: 1; transform: none; } }
.award-more { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; font-size: .9rem; color: var(--primary); }
.award-more .icon { transition: transform .3s ease; }
.award-more:hover .icon { transform: translateX(4px); }
.award-more:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 4px; }
html.modal-open { overflow: hidden; }
dialog.gallery {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: transparent; color: var(--foreground); overflow: auto; overscroll-behavior: contain;
}
dialog.gallery::backdrop {
  background: rgb(4 9 20 / .55); -webkit-backdrop-filter: blur(0px); backdrop-filter: blur(0px);
  transition: background .35s ease, backdrop-filter .45s ease, -webkit-backdrop-filter .45s ease;
}
dialog.gallery.is-open::backdrop { background: rgb(4 9 20 / .6); -webkit-backdrop-filter: blur(18px) saturate(.9); backdrop-filter: blur(18px) saturate(.9); }
dialog.gallery:not(.is-open)::backdrop { background: rgb(4 9 20 / 0); }
.gallery-inner { min-height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center;
  width: min(100%, 1180px); margin-inline: auto; padding: clamp(1.25rem, 4vw, 3rem) var(--gutter); gap: clamp(1.25rem, 3vw, 2rem); }
.gallery-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  opacity: 0; transform: translateY(-8px); transition: opacity .45s ease .1s, transform .45s ease .1s; }
.gallery-num { color: var(--primary); font-weight: 500; }
.gallery-title { margin-top: .35rem; font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 500; line-height: 1.2; }
.gallery-sub { margin-top: .25rem; color: var(--muted-foreground); }
.gallery-close { all: unset; flex-shrink: 0; cursor: pointer; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .2); background: rgb(10 18 34 / .5); transition: background .25s, border-color .25s, transform .25s; }
.gallery-close:hover { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .4); transform: rotate(90deg); }
.gallery-close:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); align-items: start; }
.gallery-fig { margin: 0; border-radius: 14px; overflow: hidden; background: rgb(255 255 255 / .04);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .85), 0 0 0 1px rgb(255 255 255 / .08);
  opacity: 0; transform: translateY(24px) scale(.97);
  transition: opacity .55s cubic-bezier(.16,1,.3,1) calc(.12s + var(--k) * .1s), transform .7s cubic-bezier(.16,1,.3,1) calc(.12s + var(--k) * .1s); }
.gallery-fig img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 12rem); object-fit: cover; aspect-ratio: 3 / 4; }
dialog.gallery.is-open .gallery-head, dialog.gallery.is-open .gallery-fig { opacity: 1; transform: none; }
dialog.gallery.is-closing .gallery-head, dialog.gallery.is-closing .gallery-fig { transition-duration: .25s; transition-delay: 0s; }
@media (max-width: 719px) {
  .gallery-inner { justify-content: flex-start; padding-top: 1.25rem; }
  .gallery-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .75rem; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-fig { flex: 0 0 86%; scroll-snap-align: center; }
  .gallery-fig img { max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  dialog.gallery::backdrop, .gallery-head, .gallery-fig { transition: none !important; }
}
/* galeria: fotos de proporções diferentes na mesma altura (verticais e horizontais) */
@media (min-width: 720px) {
  .gallery-grid { display: flex; align-items: flex-start; width: 100%; max-width: calc((100dvh - 13rem) * var(--sum-ar, 1.5) + 1.5rem); margin-inline: auto; }
  .gallery-fig { flex: var(--ar, .75) 1 0%; min-width: 0; }
  .gallery-fig img { aspect-ratio: var(--ar, .75); max-height: none; object-fit: cover; }
  .gallery-head { width: 100%; max-width: calc((100dvh - 13rem) * var(--sum-ar, 1.5) + 1.5rem); margin-inline: auto; }
}
@media (max-width: 719px) {
  .gallery-fig { flex: 0 0 auto; width: min(86vw, calc((100dvh - 11rem) * var(--ar, .75))); }
  .gallery-fig img { aspect-ratio: var(--ar, .75); }
}
@media (max-width: 719px) { .gallery-grid { align-items: center; } }

/* vídeo da cerimônia, abaixo das fotos */
.gallery-video { margin: 0; width: 100%; max-width: calc((100dvh - 13rem) * var(--sum-ar, 1.5) + 1.5rem); margin-inline: auto;
  opacity: 0; transform: translateY(24px); transition: opacity .55s cubic-bezier(.16,1,.3,1) calc(.12s + var(--k) * .1s), transform .7s cubic-bezier(.16,1,.3,1) calc(.12s + var(--k) * .1s); }
.gallery-video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .85), 0 0 0 1px rgb(255 255 255 / .08); }
.gallery-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery-video figcaption { margin-top: .75rem; font-size: .9rem; color: var(--foreground); }
.gallery-video figcaption span { color: var(--muted-foreground); }
dialog.gallery.is-open .gallery-video { opacity: 1; transform: none; }
dialog.gallery.is-closing .gallery-video { transition-duration: .25s; transition-delay: 0s; }
@media (max-width: 719px) { .gallery-video { max-width: none; } }
.gallery-jump { display: inline-flex; align-items: center; gap: .45rem; margin-top: .85rem; padding: .45rem .9rem; border-radius: 999px;
  font-size: .85rem; color: var(--foreground); text-decoration: none; border: 1px solid rgb(255 255 255 / .18); background: rgb(10 18 34 / .5);
  transition: background .25s, border-color .25s; }
.gallery-jump .icon { fill: currentColor; stroke: none; width: .8rem; height: .8rem; color: var(--primary); }
.gallery-jump:hover { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .35); }
.gallery-jump:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
dialog.gallery { scroll-behavior: smooth; }
.gallery-video { scroll-margin-top: 1.5rem; }

/* ---------- 4 blocos na página inicial: menores e em 1 linha ---------- */
@media (min-width: 768px) {
  .services { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, 1rem); }
  .services .card { padding: clamp(1.1rem, 1.8vw, 1.6rem) clamp(.95rem, 1.5vw, 1.35rem) clamp(1rem, 1.6vw, 1.4rem); }
  .services .card .icon-lg { width: clamp(1.9rem, 2.6vw, 2.4rem); height: clamp(1.9rem, 2.6vw, 2.4rem); }
  .services .card h2 { margin-top: clamp(.9rem, 1.4vw, 1.2rem); font-size: clamp(1.1rem, 1.75vw, 1.6rem); }
  .services .card p { margin-top: .7rem; max-width: 12.5rem; font-size: clamp(.78rem, 1.05vw, .95rem); line-height: 1.4; }
  .services .card-link { width: clamp(2.3rem, 3.2vw, 2.9rem); height: clamp(2.3rem, 3.2vw, 2.9rem); margin-top: clamp(1rem, 1.8vw, 1.5rem); }
  .services .card-img { width: 58%; height: 80%; }
}
@media (min-width: 768px) {
  .services .card { display: flex; flex-direction: column; align-items: flex-start; }
  .services .card p { margin-bottom: clamp(1rem, 1.8vw, 1.5rem); }
  .services .card-link { margin-top: auto; }
}
/* celular: blocos menores, 2 por linha */
@media (max-width: 767px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin-top: -7rem; padding-bottom: 4rem; }
  .services .card { display: flex; flex-direction: column; align-items: flex-start; padding: 1.1rem .95rem 1rem; }
  .services .card .icon-lg { width: 1.75rem; height: 1.75rem; }
  .services .card h2 { margin-top: .8rem; font-size: 1.12rem; line-height: 1.2; }
  .services .card p { margin-top: .55rem; margin-bottom: .9rem; max-width: none; font-size: .8rem; line-height: 1.4; }
  .services .card-link { margin-top: auto; width: 2.25rem; height: 2.25rem; }
  .services .card-img { width: 60%; height: 78%; }
}
/* celular: 1 por linha, cada bloco com ~meia tela de altura (2 visíveis por vez) */
@media (max-width: 767px) {
  .services { grid-template-columns: 1fr; gap: .75rem; }
  .services .card { min-height: calc((100svh - var(--header-h, 7.5rem) - 2.5rem) / 2); padding: 1.35rem 1.25rem 1.2rem; }
  .services .card .icon-lg { width: 2.1rem; height: 2.1rem; }
  .services .card h2 { margin-top: .9rem; font-size: 1.45rem; line-height: 1.15; }
  .services .card p { margin-top: .6rem; margin-bottom: 1rem; max-width: 14rem; font-size: .92rem; }
  .services .card-link { width: 2.6rem; height: 2.6rem; }
  .services .card-img { width: 56%; height: 100%; }
}
/* desktop: blocos um pouco maiores, ainda 4 na mesma linha */
@media (min-width: 1024px) {
  .services { width: min(calc(100vw - 2 * var(--gutter)), 1320px); max-width: none; padding-inline: 0; margin-left: 50%; translate: -50% 0; gap: 1.1rem; }
  .services .card { min-height: 21rem; padding: 1.9rem 1.6rem 1.6rem; }
  .services .card .icon-lg { width: 2.6rem; height: 2.6rem; }
  .services .card h2 { margin-top: 1.3rem; font-size: clamp(1.45rem, 1.9vw, 1.8rem); }
  .services .card p { margin-top: .8rem; max-width: 14rem; font-size: clamp(.92rem, 1.05vw, 1.02rem); }
  .services .card-link { width: 3rem; height: 3rem; }
  .services .card-img { width: 60%; height: 84%; }
}
/* celular: blocos firmes no scroll (sem deslizar na entrada) e um pouco menores */
@media (max-width: 767px) {
  .services .card, .services .card.in { transform: none !important; transition: opacity .45s ease, border-color .3s !important; transition-delay: 0s !important; }
  .services .card { min-height: calc((100svh - var(--header-h, 7.5rem) - 2.5rem) * .44); padding: 1.2rem 1.15rem 1.1rem; }
  .services .card .icon-lg { width: 1.9rem; height: 1.9rem; }
  .services .card h2 { margin-top: .75rem; font-size: 1.3rem; }
  .services .card p { margin-top: .5rem; margin-bottom: .85rem; font-size: .88rem; }
  .services .card-link { width: 2.4rem; height: 2.4rem; }
}

/* ---------- Vídeo v4 (fundo animado): enquadramento ----------
   canvas 2048x1054 com a Priscila centralizada em 63% da largura e topo do cabelo a 18% da altura;
   no desktop alinhado à direita (ela fica à direita do texto) e descendo um pouco para reduzir o espaço acima da cabeça */
@media (min-width: 768px) {
  .hero-media video, .hero-media .hero-poster, .hero-poster-blur { object-position: 100% 40%; }
}
/* celular: vídeo um pouco mais para cima (menos espaço acima da cabeça) */
@media (max-width: 767px) {
  .hero-media { top: calc(var(--header-h) - 1.5rem); }
  .hero-media video, .hero-media .hero-poster, .hero-poster-blur { object-position: 50% 100%; }
}
/* desktop: blocos um pouco mais para baixo (sobrepõem menos o vídeo) */
@media (min-width: 768px) { .services { margin-top: -7rem; } }
@media (min-width: 768px) { .services { margin-top: -3rem; } }
/* celular: o vídeo começa exatamente na base do cabeçalho (a cabeça nunca passa por baixo do vidro) */
@media (max-width: 767px) {
  .hero-media { top: var(--header-h); }
}
/* celular: sobe o vídeo o máximo possível sem cortar a cabeça (topo do cabelo fica ~20px abaixo do cabeçalho)
   o vídeo do celular é 768x1280 e o cabelo começa em 18,4% da altura; ocupa a largura toda (altura = 166,7vw) */
@media (max-width: 767px) {
  .hero-media video, .hero-media .hero-poster, .hero-poster-blur {
    object-position: 50% max(calc(20px - 30.6vw), calc(72svh - 166.7vw));
  }
}
/* bloco Palestras: mostrar o palco e o púlpito */
.card:nth-child(3) .card-img { object-position: 50% 72%; }
