/* Flávia Dalmonte · site
   Tema: escuro (identidade da marca). Acento único: magenta da marca.
   Forma: botões em pílula, mídias com raio de 20px. */

@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --bg: #0e0a10;
  --surface: #181019;
  --surface-2: #221624;
  --line: rgb(244 150 191 / .14);
  --text: #f6eff3;
  --muted: #bcaab6;
  --plum: #93356e;          /* roxo da marca */
  --accent: #ed2891;        /* magenta da marca: acento único */
  --accent-soft: #f496bf;   /* rosa da marca, tom claro do mesmo acento */
  --accent-ink: #1a0712;
  --r-media: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px; line-height: 1.6; font-weight: 350;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* Tipografia */
.h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; font-weight: 300; letter-spacing: -.02em; max-width: 18ch; }
.lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; font-weight: 300; color: var(--text); }
.lead em { font-style: normal; color: var(--accent-soft); font-weight: 450; }
.section-sub { color: var(--muted); margin-top: 12px; }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-soft); }

/* Botões: pílula */
.btn {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: inherit; font-weight: 500; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .4s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #d81f81; }
.btn--ghost { border-color: rgb(246 239 243 / .28); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent-soft); color: var(--accent-soft); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 18px; }

/* Navegação */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 10; /* camada: navegação */
  transition: background-color .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgb(14 10 16 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.nav__logo img { width: 88px; height: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .3s; }
.nav__links a:hover { color: var(--text); }
@media (max-width: 767px) {
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; height: 64px; }
  .nav__logo img { width: 62px; }
}

/* Hero: texto à esquerda, foto à direita */
.hero { position: relative; padding: 112px 0 72px; min-height: min(100dvh, 920px); display: flex; align-items: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 78% 40%, rgb(147 53 110 / .38), transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title {
  font-size: clamp(54px, 8.4vw, 116px); line-height: .98; font-weight: 250; letter-spacing: -.035em;
}
.hero__title strong { display: block; font-weight: 600; color: var(--accent-soft); }
.hero__sub { margin-top: 28px; max-width: 34ch; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); font-weight: 300; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__media { margin: 0; position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--r-media); }
@media (max-width: 899px) {
  .hero { padding: 80px 0 56px; min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 4 / 3; max-height: 38vh; width: 100%; object-position: 50% 25%; }
  .hero__title { font-size: clamp(48px, 13vw, 72px); }
  .hero__sub { margin-top: 16px; font-size: 17px; }
  .hero__ctas { margin-top: 24px; }
  .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
}

/* Marcas */
.brands { padding: 56px 0 72px; border-block: 1px solid var(--line); }
.brands .eyebrow { text-align: center; }
.brands__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; margin-top: 36px; }
.brands__list li { display: flex; justify-content: center; }
.brands__list img { height: 40px; width: auto; opacity: .82; transition: opacity .3s; }
.brands__list img.tall { height: 62px; }
.brands__list img:hover { opacity: 1; }
@media (max-width: 899px) { .brands__list { gap: 28px 32px; } .brands__list img { height: 30px; } .brands__list img.tall { height: 50px; } }

/* Sobre: foto com texto sobreposto em grade assimétrica */
.about { padding: clamp(80px, 11vw, 150px) 0; }
.about__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about__media { margin: 0; }
.about__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 50%; border-radius: var(--r-media); }
.about__text { display: grid; gap: 26px; }
.about__text p:last-child { color: var(--muted); max-width: 60ch; }
@media (max-width: 899px) { .about__grid { grid-template-columns: 1fr; } .about__media img { aspect-ratio: 1 / 1; } }

/* Shows: bento assimétrico com 4 células */
.shows { padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 11vw, 140px); }
.bento {
  display: grid; gap: 16px; margin-top: 48px;
  grid-template-columns: repeat(4, 1fr); grid-template-rows: 300px 300px;
  grid-template-areas: "palco palco closeup closeup" "palco palco corp kids";
}
.tile { position: relative; overflow: hidden; border-radius: var(--r-media); background: var(--surface); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgb(14 10 16 / .92)); }
.tile:hover img { transform: scale(1.04); }
.tile__body { position: absolute; inset: auto 0 0; padding: 24px; display: grid; gap: 6px; }
.tile h3 { font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.tile p { font-size: 15px; line-height: 1.45; color: rgb(246 239 243 / .82); max-width: 42ch; }
.tile--palco { grid-area: palco; }
.tile--palco h3 { font-size: clamp(28px, 2.6vw, 36px); }
.tile--palco p { font-size: 17px; }
.tile--closeup { grid-area: closeup; }
.tile--closeup img { object-position: 50% 60%; }
.tile--corp { grid-area: corp; }
.tile--kids { grid-area: kids; }
.tile--kids img { object-position: 50% 25%; }
@media (max-width: 899px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 420px 280px 300px; grid-template-areas: "palco palco" "closeup closeup" "corp kids"; }
}
@media (max-width: 559px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: 400px 300px 320px 320px; grid-template-areas: "palco" "closeup" "corp" "kids"; }
}

/* Vídeos: faixa horizontal com rolagem por encaixe */
.videos { padding: clamp(80px, 10vw, 130px) 0; background: linear-gradient(180deg, var(--bg), var(--surface) 30%, var(--surface) 70%, var(--bg)); }
.reels {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 23vw, 300px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  padding: 44px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 12px;
  scrollbar-width: thin; scrollbar-color: var(--plum) transparent;
}
.reel { position: relative; margin: 0; scroll-snap-align: start; }
.reel__btn {
  all: unset; cursor: pointer; display: block; position: relative; width: 100%;
  aspect-ratio: 9 / 16; border-radius: var(--r-media); overflow: hidden; background: var(--surface-2);
}
.reel__btn:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel__sound {
  position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 999px;
  display: grid; place-items: center; background: rgb(14 10 16 / .6); backdrop-filter: blur(6px); color: #fff;
}
.reel__sound .icon { width: 18px; height: 18px; }
.reel__sound .on { display: none; }
.reel.is-sound .reel__sound .on { display: block; }
.reel.is-sound .reel__sound .off { display: none; }
.reel figcaption { margin-top: 12px; font-size: 15px; color: var(--muted); line-height: 1.4; }

/* Galeria: alvenaria em colunas */
.gallery { padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 11vw, 140px); }
.masonry { columns: 3 260px; column-gap: 16px; margin-top: 44px; }
.masonry button {
  all: unset; cursor: zoom-in; display: block; width: 100%; margin-bottom: 16px; break-inside: avoid;
  border-radius: var(--r-media); overflow: hidden;
}
.masonry button:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; }
.masonry img { width: 100%; transition: transform 1s var(--ease), opacity .4s; }
.masonry button:hover img { transform: scale(1.03); }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92dvh; overflow: visible; }
.lightbox::backdrop { background: rgb(8 5 9 / .9); backdrop-filter: blur(4px); }
.lightbox img { max-height: 86dvh; width: auto; margin: 0 auto; border-radius: var(--r-media); }
.lightbox__close {
  position: absolute; top: -48px; right: 0; min-height: 40px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgb(246 239 243 / .3); background: transparent; color: var(--text); font: inherit; font-size: 15px;
}

/* Contato */
.contact { padding: clamp(80px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, rgb(237 40 145 / .22), transparent 70%), radial-gradient(40% 50% at 15% 10%, rgb(147 53 110 / .25), transparent 70%);
}
.contact__inner { position: relative; text-align: center; display: grid; justify-items: center; gap: 18px; }
.contact__title { font-size: clamp(38px, 6vw, 76px); line-height: 1.02; font-weight: 300; letter-spacing: -.03em; max-width: 14ch; }
.contact__sub { color: var(--muted); font-size: 18px; }
.contact__actions { margin-top: 18px; }
.contact__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 28px; }
.contact__list a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--muted); transition: color .3s; }
.contact__list a:hover { color: var(--accent-soft); }

.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer img { width: 58px; opacity: .8; }
.footer p { font-size: 14px; color: var(--muted); }
.footer a { color: var(--muted); }

/* Movimento: entrada suave conforme a rolagem (somente com movimento permitido) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Entrada do hero: animação em CSS, sem depender de JavaScript (a foto aparece já no carregamento) */
@media (prefers-reduced-motion: no-preference) {
  .intro { animation: intro 1s var(--ease) both; animation-delay: calc(var(--d, 0) * 120ms + 80ms); }
  @keyframes intro { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
}
