/* ---------- Navegação ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: calc(18px + env(safe-area-inset-top, 0px)) clamp(20px, 4vw, 48px) 18px;
  color: #fff;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  padding-block: calc(12px + env(safe-area-inset-top, 0px)) 12px;
  background: rgba(20, 17, 15, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.brand {
  color: inherit;
  font: 400 1.05rem/1 var(--serif);
  text-decoration: none;
  white-space: nowrap;
}

.brand em { color: var(--gold-soft); }

.nav-links { display: flex; gap: clamp(16px, 2.5vw, 32px); }

.nav-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

.nav-links .nav-cta {
  margin: -7px 0;
  padding: 7px 16px;
  border: 1px solid rgba(233, 197, 138, 0.5);
  border-radius: 999px;
  color: var(--gold-soft);
  white-space: nowrap;
}

.nav-links .nav-cta:hover { background: rgba(233, 197, 138, 0.12); color: var(--gold-soft); }

@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

/* A foto (3:2) é posicionada para deixar Flávio (x 37,5%, rosto em y 46% da
   imagem) no centro horizontal da tela, com o rosto na parte de cima. */
.hero-img {
  --w: max(134vw, 200svh);
  --h: calc(var(--w) / 1.5);
  position: absolute;
  left: calc(50% - var(--w) * 0.375);
  top: clamp(calc(100% - var(--h)), calc(24% - var(--h) * 0.46), 0px);
  width: var(--w);
  height: auto;
  aspect-ratio: 2048 / 1365;
  max-width: none;
  filter: brightness(0.62) saturate(0.85);
  transform-origin: 37.5% 46%;
  animation: kenburns 22s ease-out both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 17, 15, 0.97) 0%, rgba(20, 17, 15, 0.8) 30%, rgba(20, 17, 15, 0.35) 62%, rgba(20, 17, 15, 0.55) 100%),
    rgba(20, 17, 15, 0.25);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding: 96px clamp(20px, 4vw, 48px) clamp(88px, 14vh, 140px);
}

.hero .kicker { color: var(--gold-soft); animation: rise 1s 0.2s both; }

.hero h1 {
  margin: 0 0 28px;
  font-size: clamp(3rem, 9.5vw, 7.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
  animation: rise 1.1s 0.35s both;
}

.hero h1 em { color: var(--gold-soft); font-weight: 300; }

.hero-lead {
  max-width: 34em;
  margin: 0 0 36px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  animation: rise 1.1s 0.5s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: rise 1.1s 0.65s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s, background 0.25s, box-shadow 0.25s;
}

.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(200, 147, 63, 0.35);
}

.btn-gold:hover { background: var(--gold-soft); }

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 1;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #fff;
  animation: cue 2s infinite;
}

@media (max-width: 720px) {
  .scroll-cue { display: none; }
}

/* ---------- Números ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 40px);
  background: var(--ink);
}

.stat strong {
  color: var(--gold-soft);
  font: 300 clamp(3rem, 6vw, 4.75rem)/1 var(--serif);
  letter-spacing: -0.03em;
}

.stat small {
  margin-left: 6px;
  font-size: 0.32em;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--sans);
  font-weight: 500;
}

.stat span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Seções gerais ---------- */

section { scroll-margin-top: 64px; }

.story, .journey, .why, .albums {
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(80px, 12vw, 160px) clamp(20px, 4vw, 48px);
}

h2 {
  margin: 0 0 28px;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
}

/* ---------- História ---------- */

.story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.story-text p { color: #3c352e; font-size: 1.08rem; }

.dropcap::first-letter {
  float: left;
  margin: 0.06em 0.12em 0 0;
  color: var(--accent);
  font: 400 4.6em/0.8 var(--serif);
}

.story-photo { margin: 0; position: relative; }

.story-photo img {
  display: block;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 40px 80px -30px rgba(20, 17, 15, 0.45);
}

.story-photo::before {
  content: "";
  position: absolute;
  inset: 24px -24px auto 24px;
  aspect-ratio: 3 / 4;
  z-index: -1;
  border: 1px solid var(--gold);
  border-radius: 4px;
}

.story-photo figcaption {
  margin-top: 40px;
  color: var(--muted);
  font: italic 400 1rem var(--serif);
  text-align: right;
}

@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story-photo { max-width: 460px; width: calc(100% - 24px); }
}

/* ---------- Ana Lúcia ---------- */

.partner { background: var(--ivory); }

.partner-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(80px, 12vw, 160px) clamp(20px, 4vw, 48px);
}

.partner-text p { color: #3c352e; font-size: 1.08rem; }

/* Espelha a seção da história: foto à esquerda, moldura deslocada para a esquerda. */
.partner-photo { order: -1; margin: 0; position: relative; }

.partner-photo img {
  display: block;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 40px 80px -30px rgba(20, 17, 15, 0.45);
}

.partner-photo::before {
  content: "";
  position: absolute;
  inset: 24px 24px auto -24px;
  aspect-ratio: 3 / 4;
  z-index: 0;
  border: 1px solid var(--gold);
  border-radius: 4px;
}

.partner-photo img, .partner-photo figcaption { position: relative; z-index: 1; }

.partner-photo figcaption {
  margin-top: 40px;
  color: var(--muted);
  font: italic 400 1rem var(--serif);
}

@media (max-width: 900px) {
  .partner-inner { grid-template-columns: 1fr; }
  .partner-photo { order: 0; max-width: 460px; width: calc(100% - 24px); margin-left: 24px; }
}

/* ---------- Faixa da citação ---------- */

.quote-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.quote-img {
  display: block;
  width: 100%;
  filter: grayscale(0.25) contrast(1.05);
  opacity: 0.85;
}

.quote-band blockquote {
  margin: 0;
  padding: clamp(48px, 8vw, 120px);
}

.quote-band blockquote p {
  margin: 0 0 32px;
  font: 300 clamp(2.2rem, 4.8vw, 4rem)/1.1 var(--serif);
  letter-spacing: -0.02em;
}

.quote-band blockquote em { color: var(--gold-soft); }

.quote-band blockquote footer {
  max-width: 30em;
  padding-left: 20px;
  border-left: 2px solid var(--gold);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  .quote-band { grid-template-columns: 1fr; }
  .quote-band blockquote { padding: 48px 24px 72px; }
}

/* ---------- Jornada ---------- */

.journey-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 88px); }

.journey-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 6px;
  width: 1px;
  background: linear-gradient(var(--gold), var(--line));
}

.timeline li {
  position: relative;
  padding: 0 0 52px 48px;
}

.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
}

.timeline li:last-child::before { background: var(--gold); }

.when {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timeline h3 {
  margin: 8px 0 10px;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.timeline p { margin: 0; color: #4a423a; }

.journey-photo {
  position: sticky;
  top: 110px;
  margin: 0;
}

.journey-photo img {
  display: block;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 40px 80px -30px rgba(20, 17, 15, 0.45);
}

@media (max-width: 900px) {
  .journey-body { grid-template-columns: 1fr; }
  .journey-photo { position: static; max-width: 460px; }
}

/* ---------- Por que ---------- */

.why {
  max-width: none;
  background: var(--ivory);
}

.why-head, .why-grid { max-width: 1144px; margin-inline: auto; }
.why-head { margin-bottom: 56px; }
.why-head h2 { max-width: 760px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-grid article {
  padding: 36px 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  transition: transform 0.35s, box-shadow 0.35s;
}

.why-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -24px rgba(20, 17, 15, 0.25);
}

.why-grid span {
  display: block;
  margin-bottom: 20px;
  color: var(--gold);
  font: 300 2.5rem/1 var(--serif);
}

.why-grid p { margin: 0; color: #4a423a; font-size: 0.98rem; }

@media (max-width: 1000px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Pré-venda ---------- */

.presale {
  padding: clamp(80px, 12vw, 150px) clamp(20px, 4vw, 48px);
  background:
    radial-gradient(ellipse at 25% 50%, rgba(200, 147, 63, 0.18), transparent 60%),
    var(--ink-2);
  color: #fff;
}

.presale-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  max-width: 1080px;
  margin-inline: auto;
}

.presale .kicker { color: var(--gold-soft); }
.presale-text p:not(.kicker) { color: rgba(255, 255, 255, 0.72); font-size: 1.08rem; margin: 0 0 32px; }
.presale-text em { color: #fff; font-family: var(--serif); }

.btn.is-soon {
  cursor: default;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  box-shadow: none;
}

.btn.is-soon:hover { transform: none; }

.book-cover { display: block; width: 100%; max-width: 340px; margin-inline: auto; box-shadow: 0 50px 90px -30px #000; }

.book-mock {
  width: 100%;
  max-width: 320px;
  margin-inline: auto;
  perspective: 1400px;
}

.book-cover-mock {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 2 / 3;
  padding: 14% 12% 12% 16%;
  border-radius: 2px 6px 6px 2px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(255, 255, 255, 0.08) 3%, transparent 7%),
    linear-gradient(160deg, #2a231d 0%, #120f0d 70%);
  box-shadow:
    inset 0 0 0 1px rgba(233, 197, 138, 0.15),
    30px 40px 70px -20px rgba(0, 0, 0, 0.8);
  transform: rotateY(-18deg) rotateX(4deg);
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.book-mock:hover .book-cover-mock { transform: rotateY(-6deg) rotateX(2deg); }

.bm-kicker {
  color: var(--gold-soft);
  font: 600 0.62rem/1 var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.bm-title {
  font: 300 clamp(1.8rem, 3.4vw, 2.4rem)/1.02 var(--serif);
  letter-spacing: -0.02em;
}

.bm-title em { display: block; color: var(--gold-soft); }

.bm-line { width: 40%; height: 1px; background: var(--gold); }

@media (max-width: 820px) {
  .presale-inner { grid-template-columns: 1fr; text-align: center; }
  .book-mock { max-width: 240px; }
}

/* ---------- Álbuns ---------- */

.albums-head { margin-bottom: 48px; }

/* Linha justificada: cada card cresce na proporção da sua foto (--r = largura/altura),
   então todos ficam com a mesma altura sem cortar nem distorcer as imagens. */
.album-cards {
  display: flex;
  gap: 20px;
}

.album-card {
  position: relative;
  display: block;
  flex: var(--r) 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.album-card img {
  display: block;
  width: 100%;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s;
  opacity: 0.88;
}

.album-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 17, 15, 0.85), transparent 55%);
}

.album-card div {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px;
}

.album-card span { font: 400 1.9rem/1.1 var(--serif); }

.album-card small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.album-card small::after {
  content: " →";
  display: inline-block;
  margin-left: 4px;
  color: var(--gold-soft);
  transition: transform 0.3s;
}

.album-card:hover img { transform: scale(1.06); opacity: 1; }
.album-card:hover small::after { transform: translateX(4px); }

@media (max-width: 820px) {
  .album-cards { flex-direction: column; }
  .album-card { flex: none; }
}

/* ---------- Encerramento ---------- */

.closing {
  padding: clamp(96px, 14vw, 180px) clamp(20px, 4vw, 48px);
  background: var(--ink);
  color: #fff;
  text-align: center;
}

.closing blockquote { max-width: 900px; margin: 0 auto; }

.closing p {
  margin: 0 0 28px;
  font: italic 300 clamp(1.9rem, 4.2vw, 3.4rem)/1.15 var(--serif);
  letter-spacing: -0.02em;
}

.closing footer {
  color: var(--gold-soft);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-footer {
  padding: 56px clamp(20px, 4vw, 48px) calc(56px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
  text-align: center;
}

.site-footer p { margin: 0 0 6px; }
.site-footer .brand { display: block; margin-bottom: 14px; color: #fff; font-size: 1.3rem; }
.site-footer .domain { margin-top: 18px; font-size: 0.75rem; letter-spacing: 0.08em; }


/* ---------- Animações ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.visible { opacity: 1; transform: none; }

@keyframes kenburns {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

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

@keyframes cue {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img, .hero .kicker, .hero h1, .hero-lead, .hero-ctas, .scroll-cue span { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
