/* Victoria Huggler — site oficial
   Paleta: papel cru, terracota, sálvia e madeira escura (violão) */
:root {
  --paper: #F3EBDF;
  --paper-2: #EADFCF;
  --cream: #FBF7F0;
  --wood: #2A1F18;
  --wood-2: #4A3A2E;
  --terracotta: #B4623D;
  --terracotta-d: #97502F;
  --sage: #6F7D62;
  --sage-l: #C9CFBC;
  --ink: #2A1F18;
  --muted: #6D5F54;
  --line: rgba(42, 31, 24, .14);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* grão de papel sutil */
body::before {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h1 em, h2 em, .nav__logo em, .footer__name em { font-style: italic; color: var(--terracotta); }
p { margin: 0 0 1.1em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--wood); color: var(--cream); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font: 600 .78rem/1 var(--sans);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--sage);
  display: inline-flex; align-items: center; gap: .8em;
  margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.6em; border-radius: 999px;
  font: 600 .95rem/1 var(--sans); text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--terracotta); color: var(--cream); }
.btn--primary:hover { background: var(--terracotta-d); }
.btn--ghost { border-color: var(--wood); color: var(--wood); }
.btn--ghost:hover { background: var(--wood); color: var(--cream); }

/* ---------- Navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(243, 235, 223, .88); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav__inner { max-width: var(--wrap); margin: 0 auto; padding: 18px var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.nav__logo { font: 400 1.45rem/1 var(--serif); text-decoration: none; }
.nav__menu { display: flex; gap: 2rem; align-items: center; }
.nav__menu a { text-decoration: none; font-size: .93rem; font-weight: 500; position: relative; }
.nav__menu a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1px; background: var(--terracotta); transition: right .35s var(--ease); }
.nav__menu a:not(.nav__cta):hover::after { right: 0; }
.nav__cta { padding: .6em 1.2em; border-radius: 999px; background: var(--wood); color: var(--cream); }
.nav__cta:hover { background: var(--terracotta); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--wood); transition: transform .35s var(--ease), top .35s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 26px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  max-width: var(--wrap); margin: 0 auto;
  padding: 120px var(--gutter) 140px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 72px); align-items: center;
}
.hero__title { font-size: clamp(3.6rem, 10vw, 7.6rem); font-weight: 300; margin-bottom: .35em; }
.hero__title em { display: inline-block; padding-left: .5em; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 32em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.hero__photo { margin: 0; position: relative; justify-self: end; width: min(100%, 440px); }
.hero__photo img {
  width: 100%; aspect-ratio: 3 / 4.2; object-fit: cover; object-position: 50% 30%;
  border-radius: 220px 220px var(--radius) var(--radius);
  box-shadow: 0 40px 80px -30px rgba(42, 31, 24, .45);
  animation: breathe 9s ease-in-out infinite;
}
.hero__photo::before {
  content: ""; position: absolute; inset: -18px -18px 18px 18px; z-index: -1;
  border: 1px solid var(--terracotta); border-radius: 230px 230px var(--radius) var(--radius); opacity: .5;
}
.hero__photo figcaption { position: absolute; left: -14px; bottom: 28px; background: var(--cream); padding: .55em 1em; border-radius: 999px; font-size: .8rem; color: var(--muted); box-shadow: 0 10px 30px -12px rgba(0,0,0,.25); }
@keyframes breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.strings { position: absolute; left: 50%; bottom: 20px; width: 100vw; height: 90px; transform: translateX(-50%); fill: none; stroke: var(--wood); stroke-width: .8; opacity: .18; }
.strings path { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: pluck 3.2s var(--ease) forwards; }
.strings path:nth-child(2) { animation-delay: .15s; } .strings path:nth-child(3) { animation-delay: .3s; }
.strings path:nth-child(4) { animation-delay: .45s; } .strings path:nth-child(5) { animation-delay: .6s; } .strings path:nth-child(6) { animation-delay: .75s; }
@keyframes pluck { to { stroke-dashoffset: 0; } }

/* ---------- Seções ---------- */
.section { max-width: var(--wrap); margin: 0 auto; padding: clamp(72px, 10vw, 130px) var(--gutter); }
.section__head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head p:not(.eyebrow) { color: var(--muted); }

/* Sobre */
.sobre__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.sobre__photos { position: relative; padding-bottom: 60px; }
.sobre__p1 { width: 78%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.sobre__p2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); border: 8px solid var(--paper); }
.sobre__text p { color: var(--wood-2); }
.sobre__influences { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--muted) !important; border-left: 2px solid var(--sage-l); padding-left: 1em; }
.sobre__influences span { display: block; font: 600 .72rem/1.8 var(--sans); letter-spacing: .18em; text-transform: uppercase; font-style: normal; color: var(--sage); }
.stats { list-style: none; padding: 1.6rem 0 0; margin: 1.6rem 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats strong { display: block; font: 300 clamp(2.2rem, 4vw, 3rem)/1 var(--serif); color: var(--terracotta); }
.stats span { font-size: .85rem; color: var(--muted); }

/* Citação */
.quote { background: var(--wood); color: var(--cream); padding: clamp(72px, 10vw, 120px) var(--gutter); text-align: center; position: relative; overflow: hidden; }
.quote::before, .quote::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(251,247,240,.1); }
.quote::before { left: -200px; top: -260px; } .quote::after { right: -220px; bottom: -300px; width: 640px; height: 640px; }
.quote blockquote { margin: 0 auto; max-width: 880px; position: relative; }
.quote p { font: 300 clamp(1.6rem, 3.6vw, 2.6rem)/1.3 var(--serif); font-style: italic; }
.quote cite { font: 500 .85rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; font-style: normal; color: var(--sage-l); }

/* Músicas */
.musicas__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.player { border-radius: var(--radius); overflow: hidden; background: var(--wood); box-shadow: 0 30px 60px -30px rgba(42,31,24,.45); min-height: 452px; }
.player iframe { display: block; border: 0; }
.tracks { list-style: none; margin: 0; padding: 0; }
.tracks a { display: flex; align-items: baseline; gap: 1rem; padding: 1.05rem .4rem; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .35s var(--ease), color .3s; }
.tracks li:first-child a { border-top: 1px solid var(--line); }
.tracks a:hover { padding-left: 1rem; color: var(--terracotta); }
.tracks__n { font: 400 .8rem/1 var(--sans); color: var(--sage); min-width: 1.6em; }
.tracks__t { font: 400 1.25rem/1.3 var(--serif); flex: 1; }
.tracks__tag { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta); background: rgba(180,98,61,.1); padding: .35em .7em; border-radius: 999px; white-space: nowrap; }

/* Trajetória */
.trajetoria { position: relative; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.timeline li { padding: 2rem 2rem 2rem 0; border-top: 1px solid var(--line); position: relative; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--terracotta); }
.timeline__year { display: block; font: 300 2.4rem/1 var(--serif); color: var(--sage); margin-bottom: .6rem; }
.timeline p { color: var(--wood-2); font-size: .98rem; }

/* Galeria */
.gallery { columns: 4 220px; column-gap: 14px; }
.gallery__item { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: var(--paper-2); border-radius: 14px; overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.gallery__item img { width: 100%; height: auto; transition: transform .8s var(--ease), filter .5s; filter: saturate(.92); }
.gallery__item:hover img { transform: scale(1.04); filter: saturate(1.05); }

/* Projetos */
.projetos { background: var(--sage); color: var(--cream); max-width: none; }
.projetos__grid { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.projetos .eyebrow { color: var(--sage-l); }
.projetos h2 em { color: #F1C9A9; }
.projetos p { color: rgba(251,247,240,.86); }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.checks li { padding: .7rem 0 .7rem 2rem; border-bottom: 1px solid rgba(251,247,240,.18); position: relative; }
.checks li::before { content: "♪"; position: absolute; left: 0; color: #F1C9A9; font-size: 1.1rem; }
.projetos__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: center; }
.projetos__photos img { border-radius: var(--radius); object-fit: cover; width: 100%; }
.projetos__photos img:first-child { aspect-ratio: 4 / 5; }
.projetos__photos img:last-child { aspect-ratio: 3 / 4; object-position: 60% 50%; transform: translateY(-40px); }

/* Contato */
.contato__card { background: var(--cream); border-radius: calc(var(--radius) * 1.6); padding: clamp(28px, 6vw, 72px); box-shadow: 0 40px 80px -50px rgba(42,31,24,.5); position: relative; overflow: hidden; }
.contato__card::after { content: ""; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(180,98,61,.18), transparent 70%); pointer-events: none; }
.contato__card > p:not(.eyebrow) { color: var(--muted); max-width: 36em; }
.form { display: grid; gap: 16px; margin: 2rem 0 2.4rem; max-width: 760px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--wood-2); }
.form input, .form select, .form textarea {
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: .85em 1em; width: 100%;
  transition: border-color .3s, background .3s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--terracotta); background: #fff; }
.form .btn { justify-self: start; }
.form .is-invalid { border-color: #b23b3b; }
.contato__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 1.8rem; }
.contato__links a { text-decoration: none; font-family: var(--serif); font-size: 1.1rem; transition: color .3s; word-break: break-word; }
.contato__links a:hover { color: var(--terracotta); }
.contato__links span { display: block; font: 600 .72rem/1.8 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--sage); }

/* Alertas e honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { margin: 1.4rem 0 0; padding: 1rem 1.2rem; border-radius: 12px; font-size: .95rem; max-width: 760px; }
.alert a { font-weight: 600; margin-left: .4em; }
.alert--ok { background: #E6EBDD; color: #3D4A33; }
.alert--erro { background: #F6E1D8; color: #7A3A22; }

/* Rodapé */
.footer { text-align: center; padding: 56px var(--gutter) 90px; color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); }
.footer__name { font: 300 2rem/1 var(--serif); color: var(--ink); margin-bottom: .6rem; }
.footer__small { font-size: .78rem; opacity: .8; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(20, 14, 10, .88); backdrop-filter: blur(4px); }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 12px; }
.lightbox__close { position: fixed; top: 14px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--cream); color: var(--wood); font-size: 1.8rem; line-height: 1; cursor: pointer; }

/* Animação de entrada */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 0; background: var(--paper); flex-direction: column; justify-content: center; gap: 1.6rem;
    opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; z-index: -1;
  }
  .nav__menu a { font: 300 1.9rem/1 var(--serif); }
  .nav__menu .nav__cta { font: 600 1rem/1 var(--sans); padding: 1em 1.6em; }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; }

  .hero { grid-template-columns: 1fr; padding-top: 104px; padding-bottom: 120px; text-align: left; }
  .hero__photo { justify-self: center; order: -1; width: min(78%, 340px); }
  .hero__photo figcaption { left: -8px; }
  .sobre__grid, .musicas__grid, .projetos__grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .contato__links { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li { padding-right: 0; }
  .form__row { grid-template-columns: 1fr; }
  .stats { gap: 6px; }
  .tracks__tag { display: none; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; }
  .projetos__photos img:last-child { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .strings path { stroke-dashoffset: 0; }
}
