/* ===== Professor Erick Gomes — identidade vinho & dourado ===== */
:root {
  --wine: #420b20;
  --wine-2: #5c1530;
  --wine-3: #2a0613;
  --gold: #dd9760;
  --gold-2: #f0b98a;
  --gold-soft: rgba(221, 151, 96, .14);
  --cream: #f7f1ea;
  --cream-2: #efe5da;
  --ink: #2b1a21;
  --muted: #6e5c63;
  --line: #e7dbd0;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(66, 11, 32, .12);
  --display: "Fraunces", Georgia, serif;
  --brand: "Krona One", "Arial Black", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; color: var(--wine); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.4rem; }
h1 em, h2 em { font-style: italic; color: var(--gold); font-weight: 500; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(800px, 100% - 32px); }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--white { background: var(--white); }
.section--dark { background: var(--wine); color: #ead8dd; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 400 .7rem var(--brand); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1em; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section__head .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: 1.12rem; color: var(--muted); }
.section--dark .lead { color: #d6bcc4; }

/* Botões */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 15px 28px; border-radius: 999px; background: var(--gold); color: var(--wine-3); text-decoration: none; border: 1.5px solid var(--gold); cursor: pointer; font: 600 .96rem var(--sans); overflow: hidden; isolation: isolate; transition: color .3s var(--ease), border-color .3s, transform .3s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--gold-2); transform: translateX(-101%); transition: transform .4s var(--ease); z-index: -1; }
.btn:hover::before { transform: none; }
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { color: var(--wine); border-color: #fff; }
.btn--wine { background: var(--wine); color: #fff; border-color: var(--wine); }
.btn--wine::before { background: var(--wine-2); }
.btn--small { padding: 10px 20px; font-size: .88rem; }
.btn--block { width: 100%; }
.link-arrow { color: var(--gold); font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 46px; width: auto; }
.logo__text { display: flex; flex-direction: column; font: 400 1.02rem/1.05 var(--brand); color: #f4ece6; letter-spacing: .01em; }
.logo__text small { font: 600 .6rem var(--sans); letter-spacing: .42em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }

/* Cabeçalho */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .35s, box-shadow .35s, height .35s; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .35s; }
.header.is-scrolled { background: rgba(42, 6, 19, .92); backdrop-filter: blur(12px); box-shadow: 0 6px 30px rgba(0,0,0,.25); }
.header.is-scrolled .header__inner { height: 68px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { position: relative; text-decoration: none; font-size: .93rem; font-weight: 500; color: #ecdde1; padding: 4px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 9px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: .3s var(--ease); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; background: var(--wine-3); color: #ead8dd; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(60% 70% at 78% 40%, rgba(221,151,96,.22), transparent 60%),
  radial-gradient(70% 80% at 10% 100%, rgba(92,21,48,.9), transparent 60%),
  linear-gradient(160deg, var(--wine) 0%, var(--wine-3) 70%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { color: #d9c1c8; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__stats { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; }
.hero__stats li { padding: 0 28px; border-left: 1px solid rgba(221,151,96,.35); }
.hero__stats li:first-child { padding-left: 0; border-left: 0; }
.hero__stats strong { display: block; font: 600 1.45rem/1.1 var(--display); color: #fff; }
.hero__stats span { font-size: .82rem; color: #c8a9b2; }

.hero__visual { position: relative; justify-self: center; width: min(430px, 100%); }
.hero__arch { position: relative; aspect-ratio: 4/5; border-radius: 220px 220px 24px 24px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero__badge { position: absolute; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.96); color: var(--ink); padding: 12px 16px; border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.3); font-size: .82rem; line-height: 1.3; animation: float 6s ease-in-out infinite; }
.hero__badge strong { display: block; color: var(--wine); font-size: .9rem; }
.hero__badge i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--wine); color: var(--gold); font-style: normal; flex: none; }
.hero__badge i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero__badge--1 { left: -48px; bottom: 18%; }
.hero__badge--2 { right: -36px; top: 14%; animation-delay: -3s; }
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 20px; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: scroll 1.8s infinite; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Faixa rolante */
.marquee { background: var(--gold); color: var(--wine-3); overflow: hidden; padding: 16px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__track span { font: 400 .78rem var(--brand); letter-spacing: .14em; text-transform: uppercase; padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: "◆"; font-size: .55rem; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sobre */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.about__intro { position: sticky; top: 110px; }
.about__intro p { font-size: 1.08rem; color: var(--muted); }
.about__quote { margin: 28px 0; padding: 22px 26px; border-left: 3px solid var(--gold); background: var(--white); border-radius: 0 14px 14px 0; font: italic 500 1.25rem/1.45 var(--display); color: var(--wine); }
.link-row { display: flex; flex-wrap: wrap; gap: 26px; }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cred { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.cred:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.cred span { display: block; font: 400 .62rem var(--brand); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.cred strong { display: block; font: 600 1.12rem/1.3 var(--display); color: var(--wine); }
.cred small { color: var(--muted); font-size: .86rem; }
.cred--wide { grid-column: 1 / -1; background: var(--wine); border-color: var(--wine); }
.cred--wide strong { color: #fff; }
.cred--wide small { color: #d6bcc4; }

/* Galeria / linha do tempo */
.gallery-section { background: linear-gradient(180deg, var(--wine-3), var(--wine)); overflow: hidden; }
.gallery { max-width: 1000px; margin: 0 auto; }
.gallery__stage { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: var(--wine-3); box-shadow: 0 40px 80px rgba(0,0,0,.45); touch-action: pan-y; }
.gallery__slides { position: absolute; inset: 0; }
.gallery__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s var(--ease); }
.gallery__slide.is-active { opacity: 1; }
.gallery__bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(28px) brightness(.55) saturate(1.1); }
.gallery__slide img { position: relative; width: 100%; height: 100%; object-fit: contain; transform: scale(1.04); transition: transform 7s linear; }
.gallery__slide.is-active img { transform: scale(1); }
.gallery__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(29,4,13,.55)); pointer-events: none; }
.gallery__placeholder { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; color: #c8a9b2; background: radial-gradient(60% 80% at 50% 40%, rgba(221,151,96,.18), transparent 70%), repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 14px, transparent 14px 28px), var(--wine-2); }
.gallery__placeholder svg { width: 56px; height: 56px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.gallery__placeholder small { font-size: .82rem; letter-spacing: .04em; }
.gallery__nav { position: absolute; top: 50%; z-index: 2; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(29,4,13,.45); backdrop-filter: blur(6px); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; transition: background .3s, border-color .3s, transform .3s var(--ease); }
.gallery__nav:hover { background: var(--gold); border-color: var(--gold); color: var(--wine-3); }
.gallery__nav--prev { left: 18px; }
.gallery__nav--next { right: 18px; }
.gallery__nav--prev:hover { transform: translateX(-3px); }
.gallery__nav--next:hover { transform: translateX(3px); }
.gallery__play { position: absolute; right: 18px; bottom: 22px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(29,4,13,.45); color: #fff; font-size: .7rem; cursor: pointer; }
.gallery__play:hover { border-color: var(--gold); color: var(--gold); }
.gallery__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); z-index: 2; }
.gallery__progress span { display: block; height: 100%; width: 0; background: var(--gold); }
.gallery__caption { text-align: center; max-width: 700px; margin: 32px auto 0; min-height: 130px; }
.gallery__caption.is-changing > * { opacity: 0; transform: translateY(8px); }
.gallery__caption > * { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.gallery__year { display: inline-block; font: 400 .75rem var(--brand); letter-spacing: .2em; color: var(--wine-3); background: var(--gold); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.gallery__title { color: #fff; font-size: 1.6rem; margin-bottom: .3em; }
.gallery__text { font: italic 400 1.15rem/1.5 var(--display); color: #e0c8cf; margin: 0; }

.gallery__meta { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 14px; }
.gallery__meta .gallery__year { margin-bottom: 0; }
.gallery__kind { font: 400 .62rem var(--brand); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); border: 1px solid rgba(221,151,96,.5); padding: 5px 12px; border-radius: 999px; }
.timeline-wrap { margin-top: 40px; overflow-x: auto; padding: 6px 0 10px; scrollbar-width: thin; scrollbar-color: rgba(221,151,96,.4) transparent; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.timeline { list-style: none; padding: 0 24px; margin: 0; display: flex; position: relative; min-width: 100%; width: max-content; }
.timeline li { flex: 1 0 70px; }
.timeline button.is-premio::before { border-radius: 3px; transform: rotate(45deg) scale(.85); border-color: var(--gold-2); }
.timeline button.is-premio.is-active::before { transform: rotate(45deg) scale(1.2); }
.timeline-legend { display: flex; justify-content: center; align-items: center; gap: 8px 10px; flex-wrap: wrap; margin: 14px 0 0; font-size: .8rem; color: #b993a0; }
.tl-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--gold); margin-left: 8px; }
.tl-dot--premio { border-radius: 2px; transform: rotate(45deg); border-color: var(--gold-2); }
.timeline::before { content: ""; position: absolute; left: 24px; right: 24px; top: 9px; height: 1px; background: rgba(221,151,96,.35); }
.timeline__fill { position: absolute; left: 0; top: 9px; height: 2px; margin-top: -.5px; background: var(--gold); transition: width .8s var(--ease); }
.timeline li { position: relative; flex: 1; display: flex; justify-content: center; }
.timeline button { display: flex; flex-direction: column; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; color: #b993a0; font: 600 .78rem var(--sans); letter-spacing: .06em; padding: 0 4px; transition: color .3s; }
.timeline button::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--wine-3); border: 2px solid rgba(221,151,96,.55); transition: transform .4s var(--ease), background .3s, border-color .3s, box-shadow .3s; }
.timeline button:hover { color: #fff; }
.timeline button:hover::before { border-color: var(--gold); }
.timeline button.is-past::before { background: var(--gold); border-color: var(--gold); }
.timeline button.is-active { color: var(--gold-2); }
.timeline button.is-active::before { background: var(--gold); border-color: var(--gold); transform: scale(1.35); box-shadow: 0 0 0 6px rgba(221,151,96,.2); }
.timeline button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 6px; }

/* Livro */
.book-section { background: linear-gradient(135deg, var(--wine) 0%, var(--wine-3) 100%); overflow: hidden; }
.book-section::before { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(221,151,96,.18), transparent 65%); }
.book { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.book__cover { perspective: 1200px; }
.book__cover img { width: 100%; max-width: 360px; margin-inline: auto; border-radius: 4px 10px 10px 4px; box-shadow: -2px 0 0 rgba(0,0,0,.25), 30px 40px 70px rgba(0,0,0,.55); transform: rotateY(-14deg) rotateX(4deg); transition: transform .6s var(--ease); }
.book__cover:hover img { transform: rotateY(0) rotateX(0) scale(1.02); }
.book__meta { color: var(--gold-2); font-size: .92rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.6em; }
.checklist li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.book__buy { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.price__label { display: block; font: 400 .62rem var(--brand); text-transform: uppercase; letter-spacing: .16em; color: #c8a9b2; }
.price__value { font: 600 2.4rem/1 var(--display); color: #fff; }
.small-note { font-size: .84rem; color: #bf9fa8; margin-top: 18px; }

/* Serviços */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.card { grid-column: span 2; position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px 28px; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; overflow: hidden; }
.card:nth-child(4), .card:nth-child(5) { grid-column: span 3; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-2)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__num { position: absolute; top: 22px; right: 26px; font: 400 2.4rem/1 var(--brand); color: var(--gold-soft); -webkit-text-stroke: 1px rgba(221,151,96,.45); color: transparent; }
.card--featured { background: var(--wine); border-color: var(--wine); color: #ead8dd; }
.card--featured h3 { color: #fff; }
.card--featured p, .card--featured .card__list { color: #d9c1c8; }
.card--featured .card__price { border-color: rgba(255,255,255,.14); color: #d9c1c8; }
.card--featured .card__price strong { color: #fff; }
.card--featured .card__icon { background: rgba(221,151,96,.16); }
.card__badge { align-self: flex-start; background: var(--gold); color: var(--wine-3); font: 400 .6rem var(--brand); letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.card__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--cream); display: grid; place-items: center; margin-bottom: 20px; transition: transform .4s var(--ease); }
.card:hover .card__icon { transform: rotate(-6deg) scale(1.06); }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--muted); font-size: .95rem; }
.card__list { list-style: none; padding: 0; margin: 0 0 22px; font-size: .9rem; }
.card__list li { padding: 5px 0 5px 22px; position: relative; }
.card__list li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.card__price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.card__price strong { font: 600 1.25rem var(--display); color: var(--wine); }
.ethics { margin: 48px auto 0; max-width: 780px; text-align: center; font-size: .92rem; color: var(--muted); border: 1px dashed var(--gold); border-radius: 14px; padding: 16px 22px; }

/* Etapas */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.steps::before { content: ""; position: absolute; top: 32px; left: 12%; right: 12%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); opacity: .6; }
.steps li { position: relative; text-align: center; padding: 0 8px; }
.steps span { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--wine); color: var(--gold); font: 400 1.2rem var(--brand); box-shadow: 0 0 0 8px var(--cream); transition: transform .4s var(--ease), background .4s; }
.steps li:hover span { transform: scale(1.1); background: var(--gold); color: var(--wine-3); }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Publicações: abas */
.tabs { max-width: 980px; margin: 0 auto 56px; }
.tabs__list { display: flex; gap: 6px; padding: 6px; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; width: fit-content; max-width: 100%; margin: 0 auto 28px; overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--muted); font: 600 .92rem var(--sans); padding: 11px 20px; border-radius: 999px; cursor: pointer; transition: background .3s var(--ease), color .3s; }
.tabs__list button:hover { color: var(--wine); }
.tabs__list button[aria-selected="true"] { background: var(--wine); color: #fff; box-shadow: 0 6px 18px rgba(66,11,32,.25); }
.tabs__list button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.tabs__count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font-size: .74rem; }
[aria-selected="true"] .tabs__count { background: var(--gold); color: var(--wine-3); }
.tabs__panel { animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.biblio { list-style: none; counter-reset: b; margin: 0; padding: 0; }
.biblio li { counter-increment: b; display: grid; grid-template-columns: 52px 1fr auto; gap: 14px 18px; align-items: center; padding: 20px 18px; border-bottom: 1px solid var(--line); border-radius: 12px; transition: background .3s; }
.biblio li::before { content: counter(b, decimal-leading-zero); font: 400 .9rem var(--brand); color: var(--gold); }
.biblio li:hover { background: var(--cream); }
.biblio strong { display: block; color: var(--wine); font-weight: 600; line-height: 1.4; }
.biblio__tag { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); font: 400 .58rem var(--brand); letter-spacing: .14em; text-transform: uppercase; }
.biblio small { display: block; color: var(--muted); font-size: .86rem; margin-top: 4px; }
.biblio__actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.dl { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 9px 16px; border-radius: 999px; background: var(--wine); color: #fff; font-size: .84rem; font-weight: 600; text-decoration: none; border: 1.5px solid var(--wine); transition: background .3s, color .3s, transform .3s var(--ease); }
.dl:hover { background: var(--gold); border-color: var(--gold); color: var(--wine-3); transform: translateY(-2px); }
.dl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dl--ghost { background: transparent; color: var(--wine); border-color: var(--line); }
.dl--ghost:hover { border-color: var(--gold); background: transparent; color: var(--gold); }
.pubs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pub { display: flex; flex-direction: column; gap: 8px; padding: 30px 26px; border-radius: var(--radius); text-decoration: none; background: var(--cream); border: 1px solid var(--line); transition: transform .35s var(--ease), background .35s, color .35s; }
.pub:hover { transform: translateY(-4px); background: var(--wine); }
.pub:hover strong { color: #fff; }
.pub__tag { font: 400 .62rem var(--brand); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.pub strong { font: 600 1.3rem/1.25 var(--display); color: var(--wine); transition: color .35s; }

/* FAQ */
details { background: var(--white); border-radius: 14px; margin-bottom: 12px; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
details[open] { border-color: var(--gold); box-shadow: var(--shadow); }
summary { cursor: pointer; padding: 20px 24px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--wine); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cream); color: var(--gold); font-size: 1.2rem; transition: transform .3s var(--ease), background .3s; }
details[open] summary::after { transform: rotate(45deg); background: var(--gold); color: var(--wine-3); }
details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* Contato */
.contact-section { background: radial-gradient(70% 90% at 0% 0%, var(--wine-2), transparent 60%), var(--wine-3); overflow: hidden; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.contact__list a { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; text-decoration: none; color: #f2e4e8; transition: border-color .3s, background .3s, transform .3s var(--ease); word-break: break-word; }
.contact__list a:hover { border-color: var(--gold); background: rgba(221,151,96,.08); transform: translateX(4px); }
.contact__list i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(221,151,96,.15); color: var(--gold); flex: none; }
.contact__list i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__list small { display: block; font-size: .72rem; color: #bf9fa8; text-transform: uppercase; letter-spacing: .1em; }
.form { background: var(--white); color: var(--ink); border-radius: 22px; padding: 34px; display: grid; gap: 16px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.form h3 { margin-bottom: 0; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--wine); }
.form input, .form select, .form textarea { font: 400 1rem var(--sans); padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink); width: 100%; transition: border-color .3s, box-shadow .3s, background .3s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px var(--gold-soft); }
.form__msg { margin: 0; font-size: .88rem; color: #b3412e; min-height: 1.2em; }

/* Rodapé */
.footer { background: #1d040d; color: #b597a0; padding: 64px 0 26px; font-size: .92rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font: 400 .66rem var(--brand); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 16px; }
.footer nav a, .footer__col a { display: block; text-decoration: none; padding: 4px 0; word-break: break-word; transition: color .3s; }
.footer a:hover { color: var(--gold-2); }
.footer__tag { margin-top: 18px; max-width: 320px; }
.footer__copy { text-align: center; border-top: 1px solid rgba(255,255,255,.07); margin: 44px 0 0; padding-top: 22px; font-size: .82rem; }

/* WhatsApp flutuante */
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.3); z-index: 60; transition: transform .3s var(--ease); }
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: pulse 2.4s infinite; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

/* Animações de entrada */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 1020px) {
  .hero__inner, .about, .book, .contact, .footer__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: auto; padding-top: 120px; }
  .hero__visual { width: min(340px, 78%); order: -1; }
  .hero__badge--1 { left: -30px; }
  .hero__badge--2 { right: -26px; }
  .hero__scroll { display: none; }
  .about__intro { position: static; }
  .book__cover img { max-width: 280px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: span 1; }
  .card:nth-child(5) { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  /* No celular o cabeçalho não usa desfoque: o backdrop-filter "prenderia" o menu à altura do cabeçalho */
  .header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--wine-3); }
  .nav { position: fixed; top: 0; right: 0; bottom: auto; left: auto; height: 100vh; height: 100dvh; overflow-y: auto; width: min(320px, 85vw); background: var(--wine-3); flex-direction: column; align-items: stretch; gap: 0; padding: 96px 28px 28px; transform: translateX(100%); transition: transform .45s var(--ease), box-shadow .45s, visibility 0s linear .45s; box-shadow: none; visibility: hidden; }
  .nav.is-open { transform: none; visibility: visible; transition-delay: 0s; box-shadow: -20px 0 60px rgba(0,0,0,.4), 0 0 0 100vmax rgba(20, 3, 9, .6); }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav a.btn { margin-top: 22px; }
  .nav-toggle { position: relative; z-index: 2; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 600px) {
  .hero__stats { grid-template-columns: 1fr 1fr 1fr; }
  .hero__stats li { padding: 0 12px; }
  .hero__stats strong { font-size: 1.1rem; }
  .hero__stats span { font-size: .74rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__badge { font-size: .74rem; padding: 9px 12px; }
  .hero__badge i { width: 32px; height: 32px; }
  .hero__badge--1 { left: -20px; bottom: 8%; }
  .hero__badge--2 { right: -20px; top: 8%; }
  .creds, .cards, .steps { grid-template-columns: 1fr; }
  .gallery__stage { aspect-ratio: 4 / 3; border-radius: 16px; }
  .gallery__nav { width: 40px; height: 40px; margin-top: -20px; font-size: 1.5rem; }
  .gallery__nav--prev { left: 10px; }
  .gallery__nav--next { right: 10px; }
  .gallery__title { font-size: 1.3rem; }
  .gallery__text { font-size: 1.02rem; }
  .timeline li { flex: 1 0 62px; }
  .card:nth-child(5) { grid-column: auto; }
  .form { padding: 24px; }
  .logo img { height: 40px; }
  .logo__text { font-size: .9rem; }
  .biblio li { grid-template-columns: 34px 1fr; padding: 18px 6px; }
  .biblio__actions { grid-column: 2; justify-content: flex-start; }
  .tabs__list { width: 100%; border-radius: 16px; }
  .tabs__list button { padding: 10px 14px; font-size: .86rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
