/* ============================================================
   M.arte CASAMENTOS · estética romântica / editorial
   Cores e fontes: mude aqui em cima e o site todo acompanha.
   ============================================================ */

:root {
  --bg: #0b0a08;
  --bg-2: #13110e;
  --bg-3: #1a1712;
  --fg: #F5EBDD;            /* bege vintage (manual da marca) */
  --fg-dim: #b3ab9c;
  --fg-mute: #7a7266;
  --accent: #c9a96e;
  --accent-dim: rgba(201, 169, 110, .45);
  --on-accent: #0b0a08;
  --line: rgba(241, 235, 223, .1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', system-ui, sans-serif;   /* fonte de texto do manual */
  --max: 1320px;
}
body { font-weight: 300; }
em { font-style: italic; color: var(--accent); }

/* Textos de apoio */
.eyebrow { display: inline-flex; align-items: center; gap: 1rem; font-size: .72rem; font-weight: 400; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ''; width: 36px; height: 1px; background: var(--accent-dim); }
.display { font-family: var(--font-display); font-weight: 300; line-height: 1.02; letter-spacing: -.01em; }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--fg-dim); max-width: 58ch; }

.btn { display: inline-flex; align-items: center; gap: .8rem; padding: 1.05rem 1.9rem; font-size: .74rem; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; border: 1px solid var(--accent); transition: background .35s, color .35s, border-color .35s; }
.btn--solid { background: var(--accent); color: var(--on-accent); }
.btn--solid:hover { background: transparent; color: var(--accent); }
.btn--ghost { color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: var(--on-accent); }
.btn--prod { border-color: #DD3F04; color: #ff7a4a; font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: .14em; }
.btn--prod:hover { background: #DD3F04; color: #F5EBDD; }

/* Marca no cabeçalho */
.brand__name b { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; letter-spacing: .18em; }
.brand__name b i { color: var(--accent); }
.brand__name small { font-size: .6rem; letter-spacing: .34em; text-transform: uppercase; color: var(--accent); margin-top: .3rem; }

/* ---------- Poeira dourada (brilhos flutuando por todo o site) ---------- */
.dust { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.dust span { position: absolute; bottom: -10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 6px 1px rgba(201, 169, 110, .55); opacity: 0; animation: floatDust linear infinite; }
@keyframes floatDust {
  0% { transform: translate3d(0, 0, 0) scale(.4); opacity: 0; }
  15% { opacity: .75; }
  70% { opacity: .35; }
  100% { transform: translate3d(var(--dx, 20px), -110vh, 0) scale(1.3); opacity: 0; }
}
body.album-open .dust { display: none; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding: calc(var(--header-h) + 2rem) 0 clamp(3rem, 8vh, 6rem); isolation: isolate; }
.hero__mural { position: absolute; inset: 0; z-index: -2; display: flex; align-items: center; overflow: hidden;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000 25%, transparent 72%);
          mask-image: radial-gradient(ellipse 70% 80% at 50% 45%, #000 25%, transparent 72%); }
.hero__track { display: flex; height: 72vh; width: max-content; animation: pan 140s linear infinite; will-change: transform; }
.hero__track img { flex: 0 0 auto; margin-right: 2.2vw; height: 100%; width: auto; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.85) sepia(.25) contrast(1.05) brightness(.62); transition: filter 1.2s; }
.hero__track img:hover { filter: grayscale(.2) sepia(.1) brightness(.9); }
@keyframes pan { to { transform: translateX(calc(-50% - 1.1vw)); } } /* metade exata = volta sem salto */
.hero__word { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); z-index: -1; font-family: var(--font-display); font-weight: 300; font-size: clamp(6rem, 21vw, 22rem); line-height: 1; color: rgba(241, 235, 223, .9); mix-blend-mode: overlay; white-space: nowrap; pointer-events: none; }
.hero__lines { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__lines path { fill: none; stroke: var(--accent); }
.hero__lines .l1 { stroke-opacity: .16; stroke-width: 1; }
.hero__lines .l2 { stroke-opacity: .5; stroke-width: 1.2; stroke-dasharray: 700 1300; animation: flow 32s linear infinite; }
.hero__lines .l3 { stroke-opacity: .6; stroke-width: 1.2; stroke-dasharray: 900 1800; animation: flow 44s linear infinite reverse; }
@keyframes flow { from { stroke-dashoffset: 3000; } to { stroke-dashoffset: 0; } }
.hero__inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; }
.hero__title { font-size: clamp(3.2rem, 8.6vw, 8.4rem); margin-top: 1.4rem; }
.hero__title em { display: block; }
.hero__side { display: flex; flex-direction: column; align-items: flex-end; gap: 1.4rem; text-align: right; }
.hero__side p { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim); line-height: 2; }
.hero__actions { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: flex-end; }
.hero__fallback { position: absolute; inset: 0; z-index: -3; background: radial-gradient(ellipse at 50% 40%, #2a2116 0%, var(--bg) 65%); }
.hero__film { display: inline-flex; align-items: center; gap: .7rem; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fg); }
.hero__film span { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--accent-dim); display: grid; place-items: center; color: var(--accent); font-size: .7rem; transition: background .3s, color .3s; }
.hero__film:hover span { background: var(--accent); color: var(--on-accent); }
.hero__film[hidden] { display: none; }

/* ---------- Seções ---------- */
.section { padding: clamp(5rem, 11vw, 9rem) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section--alt { background: var(--bg-2); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); flex-wrap: wrap; }
.section__title { font-size: clamp(2.6rem, 5.4vw, 4.8rem); margin-top: 1.2rem; }
.section__count { font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-mute); }

/* Manifesto */
.intro { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.intro .display { font-size: clamp(2rem, 3.8vw, 3.4rem); }

/* ---------- Álbuns (histórias) — todos do mesmo tamanho ---------- */
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(14px, 1.8vw, 28px); }
.album-card { position: relative; display: block; overflow: hidden; background: var(--bg-3); aspect-ratio: 4 / 5; }
.albums:has(> .album-card:only-child) { grid-template-columns: 1fr; }
.albums:has(> .album-card:only-child) .album-card { aspect-ratio: 21 / 9; }
.album-card__media { position: absolute; inset: 0; }
.album-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(.85) brightness(.82); }
.album-card:hover .album-card__media img { transform: scale(1.045); filter: saturate(1) brightness(.9); }
.album-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 7, 5, .88) 0%, rgba(8, 7, 5, .1) 45%, transparent 70%); pointer-events: none; }
.album-card__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(1.2rem, 2.4vw, 2.2rem); }
.album-card__tag { display: block; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.album-card__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.9rem, 3.2vw, 3rem); line-height: 1.05; }
.album-card__meta { display: block; margin-top: .6rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--fg-dim); }
.album-card__cta { position: absolute; top: 1.2rem; right: 1.2rem; z-index: 2; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fg); padding: .55rem .9rem; border: 1px solid rgba(241, 235, 223, .3); background: rgba(11, 10, 8, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s var(--ease); }
.album-card:hover .album-card__cta, .album-card:focus-visible .album-card__cta { opacity: 1; transform: none; }
.albums[aria-busy="true"]::before { content: 'Carregando histórias…'; grid-column: 1 / -1; color: var(--fg-mute); letter-spacing: .2em; text-transform: uppercase; font-size: .75rem; }

/* ---------- Entregas ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.offer { padding: 2.4rem 2rem 2.4rem 0; border-right: 1px solid var(--line); }
.offer + .offer { padding-left: 2rem; }
.offer:last-child { border-right: 0; }
.offer__n { font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 1.1rem; }
.offer h3 { font-family: var(--font-display); font-weight: 400; font-size: 2rem; margin: .6rem 0 .8rem; }
.offer p { color: var(--fg-dim); font-size: .95rem; }

/* ---------- Como funciona ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; }
.step { counter-increment: s; padding-top: 1.6rem; border-top: 1px solid var(--accent-dim); }
.step::before { content: counter(s, decimal-leading-zero); display: block; font-family: var(--font-display); font-style: italic; font-size: 2.6rem; line-height: 1; color: var(--accent); margin-bottom: 1rem; }
.step h3 { font-weight: 400; font-size: 1.05rem; margin-bottom: .5rem; letter-spacing: .02em; }
.step p { color: var(--fg-dim); font-size: .92rem; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about__photo { position: relative; }
.about__photo img { width: 100%; height: auto; aspect-ratio: 1856 / 1741; object-fit: cover; }
.about__photo::after { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--accent-dim); z-index: -1; }
.about blockquote { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.2; margin: 1.4rem 0 1.8rem; }
.about p + p { margin-top: 1rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.5rem 0; font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.7rem); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-family: var(--font-body); font-weight: 200; font-size: 1.6rem; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--fg-dim); padding: 0 0 1.6rem; max-width: 64ch; }

/* ---------- Porta para o outro site ---------- */
.door { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line); background: linear-gradient(120deg, #17120d 0%, #0b0a08 60%); overflow: hidden; transition: border-color .4s; }
.door:hover { border-color: var(--accent-dim); }
.door__kicker { font-size: .7rem; letter-spacing: .28em; text-transform: uppercase; color: #e0643a; }
.door h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; margin: .8rem 0 .8rem; }
.door p { color: var(--fg-dim); max-width: 56ch; }
.door__arrow { width: clamp(64px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--accent-dim); display: grid; place-items: center; font-size: 1.6rem; color: var(--accent); transition: background .4s, color .4s, transform .6s var(--ease); }
.door:hover .door__arrow { background: var(--accent); color: var(--on-accent); transform: rotate(-45deg); }

/* ---------- Contato ---------- */
.contact { text-align: center; }
.contact .display { font-size: clamp(3rem, 7.5vw, 7rem); margin: 1.4rem 0 1.2rem; }
.contact__note { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-mute); margin-bottom: 2.5rem; }
.contact__actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--line); padding: 2.5rem 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute); }
.footer .container { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer a:hover { color: var(--accent); }
.footer__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* Álbum aberto: tipografia do tema */
.album-view__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(3rem, 7vw, 6.4rem); line-height: 1; }

/* ---------- Celular / tablet ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__side { align-items: flex-start; text-align: left; }
  .hero__actions { justify-content: flex-start; }
  .intro, .about { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .offer, .offer + .offer { padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; gap: 2.2rem 1.5rem; }
  .door { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero__word { font-size: 30vw; top: 36%; }
  .hero__track { height: 58vh; }
  .steps { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero__actions, .contact__actions { width: 100%; }
  .albums:has(> .album-card:only-child) .album-card { aspect-ratio: 4 / 5; }
}

/* Escrita "M.arte" (vetor do logo) */
.footer__script { height: 34px; width: auto; opacity: .85; }
