.reading-progress {
  position: fixed; inset: 0 0 auto; z-index: 70; height: 3px;
  background: linear-gradient(90deg, #b29152, #f2dca8); transform: scaleX(0); transform-origin: left;
}
.section--hero {
  isolation: isolate; padding-block: clamp(42px, 7vw, 100px) clamp(50px, 8vw, 116px);
  background: radial-gradient(ellipse at 76% 45%, #3e5942a1, transparent 54%), radial-gradient(circle, #dfbc741c .6px, transparent .8px) 0 0 / 15px 15px;
}
.hero-grid { grid-template-columns: minmax(0, 1fr); }
.course-title {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(4rem, 8.6vw, 8.5rem); line-height: .86; letter-spacing: -.05em;
  font-weight: 600; margin: .18em 0 .3em;
}
.course-title em { display: block; color: var(--gold-light); }
.course-title::after {
  content: ""; display: block; width: 46%; height: 2px; margin-top: .24em;
  background: linear-gradient(90deg, var(--gold), #dfbc7440); transform-origin: left;
  animation: draw-thread 1.2s .42s var(--ease-out) both;
}
.hero-content > * { animation: open-atelier .85s var(--ease-out) both; }
.hero-content > :nth-child(2) { animation-delay: .13s; }
.hero-content > :nth-child(3) { animation-delay: .23s; }
.hero-content > :nth-child(4) { animation-delay: .33s; }
.hero-visual { position: relative; min-width: 0; margin-inline: auto; width: min(96%, 475px); padding: 0 14% 9% 0; animation: open-atelier 1s .16s var(--ease-out) both; }
.hero-visual::before { content: ""; position: absolute; inset: 3% 6% 6% 9%; border: 1px solid #dfbc7470; border-radius: 50% 50% 5% 5%; transform: rotate(9deg); }
.hero-frame { border-radius: 46% 46% 6px 6px; padding: 6px; max-width: none; }
.hero-frame img { aspect-ratio: .85; border-radius: inherit; object-position: 50% 42%; }
.hero-frame::after { border-radius: inherit; }
.hero-detail {
  position: absolute; width: 41%; right: 1%; bottom: 13%; margin: 0; z-index: 1;
  border: 5px solid #e7c88c; border-bottom-width: 13px; background: #e7c88c; box-shadow: 0 20px 43px #0008;
  transform: rotate(10deg); animation: float-detail 7s ease-in-out infinite;
}
.hero-detail img { display: block; width: 100%; height: auto; aspect-ratio: .84; object-fit: cover; }
.hero-annotation { position: absolute; right: 2%; bottom: 0; margin: 0; color: var(--gold-light); font: italic 600 clamp(1.2rem, 3vw, 1.7rem)/1 "Cormorant Garamond", Georgia, serif; }
.offer-at-a-glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 0; border-block: 1px solid var(--border-gold); background: #13271db3; padding-block: 15px; }
.offer-at-a-glance div { display: flex; flex-direction: column-reverse; align-items: center; text-align: center; justify-content: center; padding: .35rem; }
.offer-at-a-glance div + div { border-inline-start: 1px solid var(--border-gold); }
.offer-at-a-glance dd { margin: 0; color: var(--gold-light); font: 700 clamp(2.2rem, 5vw, 3.8rem)/1 "Cormorant Garamond", Georgia, serif; }
.offer-at-a-glance dt { color: var(--text-secondary); font-size: .85rem; margin-top: 5px; }
html, body { overflow-x: clip; }
.section--gallery { background: radial-gradient(ellipse at 50% 0, #31463875, transparent 74%), #0a1811; }

/* Seção 1: Identidade e Valor Percebido (3 Pilares Abertos + Contraste) */
.pillars-open {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 40px;
}
.pillar-item {
  position: relative;
  padding: 12px 32px 16px;
}
.pillar-item + .pillar-item {
  border-left: 1px solid rgba(223, 188, 116, .25);
}
.pillar-num {
  display: block;
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--gold);
}
.pillar-rule {
  display: block;
  width: 36px;
  height: 1px;
  margin: 14px 0 18px;
  background: var(--gold);
  transition: width .35s var(--ease-out);
}
.pillar-item:hover .pillar-rule,
.pillar-item.visible .pillar-rule {
  width: 64px;
}
.pillar-title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}
.pillar-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: .95rem;
  line-height: 1.62;
}
.contrast-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}
.contrast-side {
  padding: 22px 26px;
  border-radius: 14px;
}
.contrast-side--plain {
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .1);
}
.contrast-side--fabric {
  background: var(--bg-elevated);
  border: 1px solid var(--border-gold-strong);
  box-shadow: 0 16px 36px rgba(4, 12, 8, .35);
}
.contrast-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.contrast-side--plain .contrast-label { color: var(--text-muted, #a9b5ac); }
.contrast-side--fabric .contrast-label { color: var(--gold-light); }
.contrast-text {
  margin: 0;
  font-size: .96rem;
  line-height: 1.55;
}
.contrast-side--plain .contrast-text { color: var(--text-secondary); }
.contrast-side--fabric .contrast-text { color: var(--text-primary); }

/* Seção 2: Lookbook Escalonado (4 Fotos) */
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
  align-items: start;
}
@media (min-width: 960px) {
  .lookbook-grid .gallery-item:nth-child(2),
  .lookbook-grid .gallery-item:nth-child(4) {
    margin-top: 28px;
  }
}
.gallery-zoom {
  position: relative;
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  text-align: start;
  color: inherit;
  transition: border-color .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
.gallery-zoom img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .35s var(--ease-out);
}
@media (hover: hover) {
  .gallery-zoom:hover {
    border-color: var(--gold-light);
    box-shadow: 0 18px 36px rgba(3, 10, 7, .45);
  }
  .gallery-zoom:hover img { transform: scale(1.04); }
}
.gallery-zoom:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
  border-color: var(--gold-light);
}
.lookbook-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(6, 18, 13, .78);
  border: 1px solid rgba(223, 188, 116, .45);
  color: var(--gold-light);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.lookbook-action {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 34px 14px 12px;
  background: linear-gradient(to top, rgba(6, 18, 13, .88), transparent);
  color: var(--gold-light);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.gallery-item__caption {
  margin: 12px 2px 0;
  color: var(--text-secondary);
  font-size: .9rem;
  line-height: 1.45;
}
.lookbook-mobile-hint { display: none; }

/* Seção 3: 9 Aulas Bônus (Índice de Ateliê em 3 Pilares) */
.bonus-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
  align-items: start;
}
.bonus-pillar {
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(223, 188, 116, .2);
  border-radius: 16px;
  padding: 24px 22px 16px;
}
.bonus-pillar__header {
  margin: 0 0 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(223, 188, 116, .35);
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.bonus-index {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bonus-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 10px 14px 12px;
  border-left: 2px solid transparent;
  transition: border-color .22s var(--ease-out), background-color .22s var(--ease-out);
}
.bonus-row + .bonus-row {
  border-top: 1px solid rgba(223, 188, 116, .18);
}
.bonus-row:hover,
.bonus-row:focus-within {
  border-left-color: var(--gold);
  background: rgba(223, 188, 116, .06);
}
.bonus-row__number {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.15;
  color: var(--gold);
}
.bonus-row__title {
  margin: 0;
  font-size: .98rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}
.bonus-row__description {
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: .88rem;
  line-height: 1.48;
}
.offer-signature { font: 700 clamp(2.4rem, 5vw, 4.5rem)/.95 "Cormorant Garamond", Georgia, serif; color: var(--text-primary); }
.offer-signature em { color: var(--gold-light); }
.offer-action .offer-meta + .offer-meta { margin-top: 0; }
#oferta { scroll-margin-top: 75px; }
.reveal-ready [data-reveal] { opacity: 0; translate: 0 23px; transition: opacity .64s var(--ease-out), translate .64s var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.reveal-ready [data-reveal].visible, .reveal-ready [data-reveal]:focus-within { opacity: 1; translate: 0; }
.mobile-offer { display: none; }
.bonus-card__description { margin: .32rem 0 0; color: var(--text-secondary); font-size: .9rem; line-height: 1.45; }
.course-dialog {
  position: fixed; inset: 0; margin: auto;
  width: min(calc(100% - 28px), 620px); max-width: none; max-height: calc(100dvh - 28px);
  overflow: auto; overscroll-behavior: contain; padding: 18px;
  border: 1px solid var(--border-gold-strong); border-radius: 18px;
  background: #14271c; color: var(--text-primary); box-shadow: 0 26px 85px #020906b3;
}
.course-dialog::backdrop { background: #040c08d9; backdrop-filter: blur(8px); }
.gallery-dialog { width: min(calc(100% - 28px), 900px); padding: 0; }
.gallery-dialog[open] { animation: gallery-open .28s var(--ease-out) both; }
.gallery-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .47fr); }
.gallery-stage { display: grid; place-items: center; background: radial-gradient(ellipse at center, #283b2c, #09130e); min-height: 0; }
.gallery-expanded { display: block; width: 100%; height: min(74dvh, 690px); object-fit: contain; }
.gallery-notes { align-self: center; min-width: 0; padding: 58px 25px 32px; }
.gallery-position { color: var(--gold-light); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gallery-notes h2 { margin: .32em 0 .25em; font: 700 clamp(2.1rem, 4vw, 3rem)/.95 "Cormorant Garamond", Georgia, serif; }
.gallery-description { color: var(--text-secondary); font-size: .95rem; line-height: 1.55; }
.gallery-close { position: absolute; z-index: 1; right: 12px; top: 12px; }
.course-dialog-close, .gallery-controls button {
  min-height: 44px; cursor: pointer; padding: .35em .72em; border: 1px solid var(--border-gold);
  border-radius: 999px; background: var(--bg-deep); color: var(--text-primary); font: inherit;
  transition: background-color .2s, border-color .2s;
}
.course-dialog-close:hover, .gallery-controls button:hover { border-color: var(--gold-light); background: var(--bg-elevated); }
.course-dialog-close:focus-visible, .gallery-controls button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.course-dialog-close { display: grid; padding: 0; place-items: center; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.gallery-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 20px; }
.gallery-controls button { white-space: nowrap; font-size: .82rem; font-weight: 700; }
.checkout-dialog { max-width: 460px; padding: 26px; }
.checkout-dialog p { margin-block: 12px 18px; }
@keyframes gallery-open { from { opacity: 0; transform: translateY(9px) scale(.987); } to { opacity: 1; transform: none; } }
@keyframes open-atelier { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes draw-thread { from { transform: scaleX(0); } }
@keyframes float-detail { 0%, 100% { transform: rotate(10deg); } 50% { transform: rotate(8deg) translateY(-8px); } }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
@media (max-width: 959px) {
  .pillars-open { grid-template-columns: 1fr; margin-top: 28px; }
  .pillar-item { padding: 22px 4px; }
  .pillar-item + .pillar-item { border-left: 0; border-top: 1px solid rgba(223, 188, 116, .25); }
  .contrast-band { grid-template-columns: 1fr; margin-top: 24px; }
  .lookbook-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78vw, 320px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; gap: 14px; margin-top: 25px; }
  .lookbook-grid .gallery-item { scroll-snap-align: start; min-width: 0; margin-top: 0; }
  .lookbook-mobile-hint { display: block; margin: 10px 0 0; text-align: center; font-size: .78rem; color: var(--text-secondary); letter-spacing: .04em; }
  .bonus-pillars { grid-template-columns: 1fr; gap: 18px; margin-top: 28px; }
}
@media (max-width: 650px) {
  .gallery-panel { grid-template-columns: minmax(0, 1fr); }
  .gallery-expanded { height: min(51dvh, 445px); }
  .gallery-notes { padding: 15px 18px 17px; }
  .gallery-notes h2 { font-size: 2.25rem; }
  .gallery-controls { margin-top: 13px; }
  .offer-at-a-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; }
  .offer-at-a-glance div:nth-child(3) { border: 0; }
  .mobile-offer.visible { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; z-index: 60; bottom: 0; inset-inline: 0; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); background: #08150ff5; border-top: 1px solid var(--border-gold); }
  .mobile-offer strong { color: var(--gold-light); font-size: 1.1rem; }
  .mobile-offer .btn { min-height: 44px; }
  .footer { padding-bottom: 82px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal-ready [data-reveal] { opacity: 1; translate: none; }
}
