/* =====================================================================
   Ateliê de Música — Espaço de Artes Musicais
   ===================================================================== */
:root {
  --ink: #0f1353;
  --ink-2: #161b6b;
  --ink-3: #232a86;
  --navy: #183357;
  --gold: #f2b61c;
  --gold-2: #ffd35c;
  --gold-deep: #c98f00;
  --cream: #fbf6ea;
  --paper: #fffcf5;
  --sand: #f3ead6;
  --text: #1c1f45;
  --muted: #5d6186;
  --line: rgba(15, 19, 83, .12);
  --white: #fff;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 20px 60px -20px rgba(15, 19, 83, .35);
  --shadow-sm: 0 8px 24px -10px rgba(15, 19, 83, .25);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Sacramento", cursive;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; font-variation-settings: "SOFT" 60, "WONK" 0; }
p { margin: 0 0 1em; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; color: var(--gold); line-height: .8; font-size: 1.35em; display: inline-block; transform: translateY(.08em); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow { color: var(--gold); }

.section-title { font-size: clamp(36px, 5.4vw, 68px); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 60ch; }
.on-dark { color: #e9eaff; }
.on-dark .lead { color: rgba(233, 234, 255, .75); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 16px;
  text-decoration: none; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: 0 10px 30px -10px rgba(242, 182, 28, .7);
  white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-3px); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold); }
.btn-dark { --bg: var(--ink); --fg: #fff; box-shadow: 0 10px 30px -12px rgba(15, 19, 83, .6); }
.btn-outline { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 18px 0; transition: padding .4s var(--ease), background .4s, box-shadow .4s, transform .4s var(--ease);
}
.site-header.scrolled {
  padding: 10px 0;
  background: rgba(15, 19, 83, .82);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .5);
}
.site-header.hide { transform: translateY(-110%); }
.nav { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; margin-right: auto; }
.brand img { width: 52px; height: auto; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-text { line-height: 1; white-space: nowrap; }
.brand-text strong { display: block; font-family: var(--display); font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.brand-text span { font-family: var(--script); color: var(--gold); font-size: 21px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  color: rgba(255, 255, 255, .82); font-weight: 600; font-size: 15px; transition: color .25s, background .25s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, .1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(255, 255, 255, .1); border: 0; cursor: pointer; text-decoration: none;
  transition: background .25s, transform .25s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-badge {
  position: absolute; top: -3px; right: -3px; min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 12px; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 0 0 3px var(--ink);
}
.cart-badge:empty, .cart-badge[data-count="0"] { display: none; }
.cart-badge.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.5); } }
.menu-toggle { display: none; }

@media (max-width: 1180px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: grid; }
}
@media (max-width: 420px) {
  .brand-text span { display: none; }
  .brand img { width: 44px; }
  .brand-text strong { font-size: 19px; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 200; pointer-events: none;
}
.drawer-bg { position: absolute; inset: 0; background: rgba(6, 8, 40, .6); opacity: 0; transition: opacity .4s; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 88vw);
  background: var(--ink); color: #fff; padding: 28px; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s var(--ease); overflow-y: auto;
}
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-bg { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-close { align-self: flex-end; }
.drawer nav { margin: 28px 0; display: grid; gap: 2px; }
.drawer nav a {
  font-family: var(--display); font-size: 34px; text-decoration: none; color: #fff; padding: 6px 0;
  opacity: 0; transform: translateX(30px); transition: color .2s, opacity .5s var(--ease), transform .5s var(--ease);
}
.drawer.open nav a { opacity: 1; transform: none; }
.drawer nav a:hover { color: var(--gold); }
.drawer-foot { margin-top: auto; display: grid; gap: 12px; }
.drawer-foot small { color: rgba(255, 255, 255, .6); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: radial-gradient(1200px 700px at 85% 10%, #2a33a8 0%, transparent 60%),
              radial-gradient(900px 600px at 0% 100%, #231a6b 0%, transparent 60%),
              var(--ink);
  color: #fff; overflow: hidden; padding: 130px 0 90px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; width: 100%; pointer-events: none; opacity: .9; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.hero-glow.g1 { width: 520px; height: 520px; background: rgba(242, 182, 28, .22); top: -120px; right: -80px; animation: float 14s ease-in-out infinite; }
.hero-glow.g2 { width: 420px; height: 420px; background: rgba(90, 110, 255, .35); bottom: -120px; left: -100px; animation: float 18s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translate(40px, 30px) scale(1.08); } }

.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; font-weight: 600;
  backdrop-filter: blur(8px); margin-bottom: 28px;
}
.hero-badge i { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; font-style: normal; }
.hero-badge i svg { width: 16px; height: 16px; color: var(--ink); }
.hero h1 { font-size: clamp(46px, 8.2vw, 112px); line-height: .95; letter-spacing: -.035em; margin-bottom: 26px; font-weight: 500; }
.hero h1 .script { font-size: 1.25em; margin-left: .05em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(110%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.rotator { display: inline-grid; vertical-align: bottom; color: var(--gold); }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(40%); transition: opacity .6s var(--ease), transform .6s var(--ease); white-space: nowrap; }
.rotator > span.on { opacity: 1; transform: none; }
.rotator > span.off { opacity: 0; transform: translateY(-40%); }
.hero-sub { font-size: clamp(20px, 2.2vw, 28px); font-family: var(--display); font-weight: 400; margin-bottom: 18px; color: rgba(255, 255, 255, .9); }
.hero p.lead { color: rgba(233, 234, 255, .72); margin-bottom: 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp 1s var(--ease) forwards; }
.d1 { animation-delay: .35s; } .d2 { animation-delay: .5s; } .d3 { animation-delay: .65s; } .d4 { animation-delay: .8s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Disco / visual */
.hero-visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; justify-self: center; }
.vinyl {
  position: absolute; inset: 6%; border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 31%, rgba(255,255,255,.05) 31.5% 32%, transparent 32.5%),
    repeating-radial-gradient(circle, #0a0c30 0 2px, #14185a 2.5px 4px);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(242, 182, 28, .28), 0 0 90px -10px rgba(242, 182, 28, .25), inset 0 0 0 10px rgba(255, 255, 255, .03);
  animation: spin 18s linear infinite;
}
.vinyl::after { /* reflexo */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 10%, rgba(255,255,255,.12) 14%, transparent 22% 55%, rgba(255,255,255,.08) 60%, transparent 68%);
}
.vinyl-label {
  position: absolute; inset: 29%; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 6px var(--gold), 0 0 0 7px rgba(0,0,0,.3);
}
.vinyl-label img { width: 100%; height: 100%; object-fit: cover; }
.vinyl-label::after { content: ""; position: absolute; width: 9%; height: 9%; left: 45.5%; top: 45.5%; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 3px var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual:hover .vinyl { animation-duration: 5s; }

.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 18px; background: rgba(255, 255, 255, .96); color: var(--ink);
  box-shadow: var(--shadow); font-size: 14px; line-height: 1.25; font-weight: 600;
  animation: bob 6s ease-in-out infinite;
}
.float-card b { display: block; font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1; }
.float-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--gold); display: grid; place-items: center; flex: none; }
.float-card .ic svg { width: 22px; height: 22px; }
.float-card.c1 { top: 8%; left: -4%; }
.float-card.c2 { bottom: 12%; right: -6%; animation-delay: -3s; }
.float-card.c3 { bottom: 2%; left: 8%; animation-delay: -1.5s; background: var(--gold); }
.float-card.c3 .ic { background: var(--ink); color: var(--gold); }
@keyframes bob { 50% { transform: translateY(-14px); } }

.notes { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.notes span { position: absolute; bottom: -40px; color: rgba(242, 182, 28, .5); font-size: 28px; animation: noteUp linear infinite; }
@keyframes noteUp {
  0% { transform: translateY(0) rotate(0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(-110vh) rotate(40deg); opacity: 0; }
}

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: grid; justify-items: center; gap: 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.6); text-decoration: none;
}
.scroll-hint i { width: 26px; height: 42px; border-radius: 20px; border: 2px solid rgba(255,255,255,.4); position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold); animation: wheel 1.8s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }

@media (max-width: 900px) {
  .hero { padding-top: 110px; text-align: left; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 400px; margin-top: 10px; }
  .float-card.c1 { left: 0; }
  .float-card.c2 { right: 0; }
  .scroll-hint { display: none; }
}
@media (max-width: 480px) {
  .hero-ctas .btn { width: 100%; }
  .float-card { padding: 10px 12px; font-size: 12px; }
  .float-card b { font-size: 20px; }
  .float-card .ic { width: 34px; height: 34px; }
}

/* ---------- Marquee ---------- */
.marquee { background: var(--gold); color: var(--ink); overflow: hidden; padding: 18px 0; position: relative; z-index: 3; transform: rotate(-1.5deg); margin: -26px -10px 0; box-shadow: 0 20px 50px -20px rgba(15,19,83,.5); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--display); font-size: clamp(22px, 3vw, 34px); font-weight: 600; padding: 0 22px; display: flex; align-items: center; gap: 44px; white-space: nowrap; font-style: italic; }
.marquee-track span::after { content: "♪"; font-style: normal; font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.photo-stack { position: relative; aspect-ratio: 4/5; }
.photo-stack figure { position: absolute; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.photo-stack figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo-stack figure:hover img { transform: scale(1.06); }
.photo-stack .p1 { inset: 0 22% 18% 0; }
.photo-stack .p2 { inset: 45% 0 0 38%; border: 8px solid var(--cream); }
.photo-stack .stamp {
  position: absolute; left: -18px; bottom: 6%; width: 136px; height: 136px; z-index: 2;
  display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--gold);
}
.photo-stack .stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 20s linear infinite; }
.photo-stack .stamp b { font-family: var(--display); font-size: 34px; }
.about-list { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 12px; }
.about-list li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.about-list li i { width: 36px; height: 36px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--gold-deep); font-style: normal; }
.about-list li i svg { width: 18px; height: 18px; }
.quote-line { font-family: var(--display); font-style: italic; font-size: clamp(20px, 2vw, 24px); color: var(--ink); border-left: 3px solid var(--gold); padding-left: 20px; margin: 0; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .photo-stack { max-width: 520px; width: 100%; margin: 0 auto; }
  .photo-stack .stamp { left: 0; width: 110px; height: 110px; }
}

/* ---------- Números ---------- */
.stats { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(242,182,28,.35), transparent 70%); }
.stat { position: relative; }
.stat b { display: block; font-family: var(--display); font-size: clamp(44px, 6vw, 76px); font-weight: 600; line-height: 1; color: var(--gold); letter-spacing: -.03em; }
.stat span { color: rgba(255,255,255,.7); font-weight: 500; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Valores ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.value { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); background: #fff; }
.value i { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--ink); color: var(--gold); margin-bottom: 18px; }
.value i svg { width: 26px; height: 26px; }
.value h3 { font-size: 22px; margin-bottom: 6px; }
.value p { color: var(--muted); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } }

/* ---------- Modalidades ---------- */
.courses-section { background: var(--ink); overflow: hidden; }
.courses-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 100% 0%, rgba(42,51,168,.8), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(242,182,28,.12), transparent 60%); }
.courses-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 36px; position: relative; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: rgba(255,255,255,.8);
  font-weight: 600; font-size: 14px; cursor: pointer; transition: all .3s var(--ease);
}
.chip:hover { border-color: var(--gold); color: #fff; }
.chip.active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.courses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.course {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; color: #fff; text-decoration: none;
  background: #1b2070; isolation: isolate; transition: transform .5s var(--ease), opacity .4s, filter .4s;
  transform-style: preserve-3d;
}
.course.big { grid-column: span 2; aspect-ratio: auto; }
.course img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.course::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,19,83,0) 30%, rgba(15,19,83,.92) 100%); transition: background .5s; }
.course:hover img { transform: scale(1.08); }
.course:hover::before { background: linear-gradient(180deg, rgba(15,19,83,.2) 0%, rgba(15,19,83,.95) 85%); }
.course-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.course-tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(6px); margin-bottom: 12px; }
.course h3 { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 6px; }
.course p { font-size: 15px; color: rgba(255,255,255,.78); margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
.course:hover p, .course:focus-visible p { max-height: 120px; opacity: 1; margin-bottom: 14px; }
.course .go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold); font-size: 14px; }
.course .go svg { width: 18px; height: 18px; transition: transform .3s; }
.course:hover .go svg { transform: translateX(5px); }
.course .num { position: absolute; top: 18px; right: 20px; font-family: var(--display); font-size: 15px; opacity: .7; }
.course.hidden { display: none; }
@media (hover: none) { .course p { max-height: 120px; opacity: 1; margin-bottom: 14px; } }
@media (max-width: 1020px) { .courses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .courses { grid-template-columns: 1fr; }
  .course, .course.big { grid-column: auto; aspect-ratio: 4/3.4; }
}

/* ---------- Piano interativo ---------- */
.piano-section { background: var(--sand); overflow: hidden; }
.piano-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.piano {
  position: relative; display: flex; height: clamp(190px, 26vw, 280px); padding: 22px 22px 26px; border-radius: 28px;
  background: linear-gradient(180deg, #1a1f73, var(--ink)); box-shadow: var(--shadow), inset 0 2px 0 rgba(255,255,255,.1);
  user-select: none; -webkit-user-select: none; touch-action: none;
}
.piano::before { content: ""; position: absolute; left: 22px; right: 22px; top: 10px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold), #ff8a3d, var(--gold)); opacity: .9; }
.key {
  position: relative; flex: 1; margin: 0 2px; border: 0; cursor: pointer; border-radius: 0 0 12px 12px;
  background: linear-gradient(180deg, #fff 80%, #ece7da); box-shadow: inset 0 -6px 0 #d8d0bc, 0 4px 6px rgba(0,0,0,.25);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12px;
  font-size: 12px; font-weight: 700; color: #9a97b5; transition: transform .08s, background .15s, box-shadow .08s;
}
.key.black {
  position: absolute; z-index: 2; width: 6%; height: 60%; margin: 0; top: 0;
  background: linear-gradient(180deg, #2a2f5e, #0a0c24); box-shadow: inset 0 -5px 0 #000, 0 4px 8px rgba(0,0,0,.5);
  color: rgba(255,255,255,.35); padding-bottom: 8px; font-size: 10px; border-radius: 0 0 8px 8px;
}
.piano-keys { position: relative; display: flex; flex: 1; }
.key.on { transform: translateY(3px); background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: inset 0 -2px 0 var(--gold-deep), 0 0 30px rgba(242,182,28,.8); color: var(--ink); }
.key.black.on { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); }
.piano-hint { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-top: 18px; }
.piano-hint svg { width: 18px; height: 18px; flex: none; }
@media (hover: none) { .piano-hint { display: none; } }
.piano-hint kbd { background: #fff; border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 6px; padding: 1px 7px; font-family: var(--sans); font-size: 12px; }
.song-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.burst { position: absolute; pointer-events: none; color: var(--gold); font-size: 22px; animation: burst 1.2s var(--ease) forwards; z-index: 5; }
@keyframes burst { to { transform: translate(var(--dx), -140px) rotate(var(--r)); opacity: 0; } }
@media (max-width: 900px) { .piano-wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .piano { padding: 18px 10px 20px; } .piano::before { left: 10px; right: 10px; } .key { font-size: 0; margin: 0 1px; } }

/* ---------- Idades ---------- */
.ages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.age {
  position: relative; border-radius: var(--radius-lg); padding: 34px 30px 30px; overflow: hidden; min-height: 360px;
  display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate;
}
.age img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.age::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, rgba(15,19,83,.95)); }
.age:hover img { transform: scale(1.07); }
.age .big { display: block; font-family: var(--script); font-size: 64px; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.age h3 { font-size: 28px; margin-bottom: 8px; }
.age p { color: rgba(255,255,255,.82); margin: 0; font-size: 15.5px; }
@media (max-width: 900px) { .ages { grid-template-columns: 1fr; } .age { min-height: 300px; } }

/* ---------- Fundadora ---------- */
.founder { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.founder-photo { position: relative; }
.founder-photo img { border-radius: 200px 200px var(--radius-lg) var(--radius-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; box-shadow: var(--shadow); position: relative; z-index: 1; }
.founder-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); border: 2px solid var(--gold); }
.founder-sign { font-family: var(--script); font-size: clamp(48px, 5vw, 64px); color: var(--gold-deep); line-height: 1; margin-top: 10px; }
.founder blockquote { font-family: var(--display); font-size: clamp(22px, 2.5vw, 32px); line-height: 1.3; margin: 0 0 26px; color: var(--ink); font-weight: 400; }
.founder blockquote::before { content: "“"; display: block; font-size: 100px; line-height: .6; color: var(--gold); height: 44px; }
.founder-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.founder-facts span { padding: 8px 16px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; } .founder-photo { max-width: 420px; margin: 0 auto 20px; width: 90%; } }

/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; margin-top: 44px; }
.gallery a { position: relative; border-radius: 20px; overflow: hidden; display: block; cursor: zoom-in; }
.gallery a:nth-child(1) { grid-row: span 2; grid-column: span 2; }
.gallery a:nth-child(4) { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery a:hover img { transform: scale(1.07); }
.gallery a::after { content: "+"; position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 24px; font-weight: 700; opacity: 0; transform: scale(.5); transition: all .35s var(--ease); }
.gallery a:hover::after { opacity: 1; transform: none; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } .gallery a:nth-child(4) { grid-row: span 1; } }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6,8,40,.94); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; animation: fadeIn .3s; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox .icon-btn { position: absolute; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; } .lb-next { right: 20px; top: 50%; }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- Produtos (cards) ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.product-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product-card .thumb { position: relative; aspect-ratio: 1; background: var(--sand); overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .5s; }
.product-card .thumb img.alt { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .thumb img.alt { opacity: 1; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .badge { position: absolute; top: 14px; left: 14px; background: var(--ink); color: var(--gold); padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.product-card .info { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-card .cat { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.product-card h3 { font-size: 21px; margin: 0; }
.product-card .desc { font-size: 14px; color: var(--muted); margin: 2px 0 10px; }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.price b { font-family: var(--display); font-size: 24px; color: var(--ink); }
.price s { color: var(--muted); font-size: 15px; }

/* ---------- Novidades (cards) ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { text-decoration: none; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.post-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--ink); position: relative; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; }
.post-card .thumb .ph img { width: 40%; height: auto; object-fit: contain; opacity: .9; }
.post-card .info { padding: 22px 24px 26px; }
.post-card time { font-size: 13px; font-weight: 600; color: var(--gold-deep); }
.post-card h3 { font-size: 23px; margin: 6px 0 8px; }
.post-card p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head .section-title { margin: 0; }

.shop-teaser { background: var(--paper); }
.empty-shop { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 60px); overflow: hidden; position: relative; }
.empty-shop img { width: 100%; max-width: 260px; justify-self: center; animation: bob 6s ease-in-out infinite; }
@media (max-width: 760px) { .empty-shop { grid-template-columns: 1fr; } .empty-shop img { max-width: 160px; } }

/* ---------- Newsletter band ---------- */
.newsletter-band { background: linear-gradient(120deg, var(--gold) 0%, var(--gold-2) 100%); border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 60px); display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; color: var(--ink); }
.newsletter-band::after { content: "♫"; position: absolute; right: -20px; bottom: -80px; font-size: 300px; opacity: .08; line-height: 1; }
.newsletter-band h2 { font-size: clamp(30px, 4vw, 48px); }
.newsletter-band p { margin: 0; color: rgba(15,19,83,.75); }
.nl-form { display: flex; gap: 10px; background: #fff; padding: 8px; border-radius: 999px; box-shadow: var(--shadow-sm); position: relative; z-index: 1; }
.nl-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 18px; font: inherit; color: var(--ink); outline: none; }
.nl-msg { margin-top: 10px; font-weight: 600; font-size: 14px; min-height: 1.4em; position: relative; z-index: 1; }
@media (max-width: 760px) {
  .newsletter-band { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; border-radius: 20px; }
  .nl-form input { padding: 14px 16px; }
}

/* ---------- Visite ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.visit-info { padding: clamp(32px, 5vw, 64px); }
.visit-info h2 { font-size: clamp(34px, 4.5vw, 56px); }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.info-row:last-of-type { border: 0; margin-bottom: 20px; }
.info-row i { width: 46px; height: 46px; border-radius: 14px; background: rgba(242,182,28,.15); color: var(--gold); display: grid; place-items: center; flex: none; }
.info-row i svg { width: 22px; height: 22px; }
.info-row small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.info-row a { text-decoration: none; }
.visit-map { min-height: 420px; position: relative; }
.visit-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.8); }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .visit-map { min-height: 320px; } }

/* ---------- Footer ---------- */
.site-footer { background: #080b38; color: rgba(255,255,255,.7); padding: 90px 0 30px; margin-top: 0; position: relative; overflow: hidden; }
.footer-cta { text-align: center; padding-bottom: 70px; margin-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-cta h2 { font-size: clamp(40px, 7vw, 96px); color: #fff; font-weight: 500; letter-spacing: -.035em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: #fff; font-family: var(--sans); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; transition: color .2s; }
.footer-grid a:hover { color: var(--gold); }
.footer-logo { width: 190px; margin-bottom: 18px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); transition: background .3s, transform .3s; }
.socials a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 62px; height: 62px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(37,211,102,.7);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.4s infinite; }
@keyframes ping { to { transform: scale(1.6); opacity: 0; } }

/* ---------- Páginas internas ---------- */
.page-hero {
  position: relative; background: radial-gradient(900px 500px at 90% 0%, #2a33a8, transparent 60%), var(--ink);
  color: #fff; padding: clamp(130px, 16vw, 190px) 0 clamp(60px, 8vw, 100px); overflow: hidden;
}
.page-hero h1 { font-size: clamp(42px, 7vw, 88px); font-weight: 500; letter-spacing: -.035em; margin-bottom: 14px; }
.page-hero .lead { color: rgba(233,234,255,.75); }
.page-hero .hero-waves { height: 70%; opacity: .5; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

.shop-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.shop-bar .filters .chip { color: var(--ink); border-color: var(--line); text-decoration: none; }
.shop-bar .filters .chip.active { color: var(--ink); }
.search { display: flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 18px; min-width: 260px; }
.search input { border: 0; background: transparent; outline: none; font: inherit; flex: 1; min-width: 0; padding: 8px 0; }
.search button { border: 0; background: var(--ink); color: #fff; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.search button svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .search { min-width: 0; width: 100%; } }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty img { width: 120px; margin: 0 auto 20px; opacity: .8; }

/* Produto */
.product-page { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.pgallery { position: sticky; top: 100px; }
.pgallery-main { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand); box-shadow: var(--shadow-sm); cursor: zoom-in; }
.pgallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .35s; }
.pgallery-main .nav-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.9); color: var(--ink); }
.pgallery-main .nav-arrow.prev { left: 14px; } .pgallery-main .nav-arrow.next { right: 14px; }
.pgallery-main .nav-arrow:hover { background: #fff; }
.pthumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.pthumbs button { flex: none; width: 82px; height: 82px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--sand); opacity: .65; transition: all .25s; }
.pthumbs button.active { border-color: var(--gold); opacity: 1; }
.pthumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo h1 { font-size: clamp(34px, 4.4vw, 54px); color: var(--ink); }
.pinfo .price b { font-size: 36px; }
.pinfo .short { font-size: 18px; color: var(--muted); }
.opt-group { margin: 26px 0 0; }
.opt-group label.t { display: block; font-weight: 700; margin-bottom: 10px; font-size: 15px; }
.opt-group label.t span { color: var(--muted); font-weight: 500; }
.opt-values { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-values input { position: absolute; opacity: 0; pointer-events: none; }
.opt-values label { padding: 10px 18px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-weight: 600; font-size: 15px; transition: all .2s; min-width: 52px; text-align: center; }
.opt-values label:hover { border-color: var(--ink); }
.opt-values input:checked + label { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 6px 16px -6px rgba(15,19,83,.6); }
.opt-values input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); overflow: hidden; }
.qty button { width: 46px; height: 48px; border: 0; background: transparent; cursor: pointer; font-size: 22px; color: var(--ink); }
.qty button:hover { background: var(--sand); }
.qty input { width: 48px; text-align: center; border: 0; background: transparent; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 30px 0; }
.buy-row .btn { flex: 1; min-width: 180px; }
.pdesc { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 10px; color: var(--text); }
.pdesc h2 { font-size: 24px; }
.notice { display: flex; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px; font-size: 14.5px; color: var(--muted); }
.notice svg { width: 24px; height: 24px; flex: none; color: var(--gold-deep); }
.form-error { color: #c0262d; font-weight: 600; font-size: 14px; margin-top: 10px; min-height: 1em; }
@media (max-width: 900px) { .product-page { grid-template-columns: 1fr; } .pgallery { position: static; } }

/* Carrinho / checkout */
.checkout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: start; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.card h2 { font-size: 26px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border: 0; }
.cart-item img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; background: var(--sand); }
.cart-item h3 { font-size: 18px; margin: 0 0 2px; }
.cart-item h3 a { text-decoration: none; }
.cart-item .opts { font-size: 13.5px; color: var(--muted); }
.cart-item .right { text-align: right; display: grid; gap: 8px; justify-items: end; }
.cart-item .qty button { width: 34px; height: 36px; font-size: 18px; }
.cart-item .qty input { width: 34px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; }
.link-btn:hover { color: #c0262d; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; font-size: 20px; font-weight: 800; color: var(--ink); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 14px; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(15,19,83,.08); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-item img { width: 64px; height: 64px; }
  .cart-item .right { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; }
}

/* Pedido confirmado */
.success { text-align: center; max-width: 760px; margin: 0 auto; }
.success-icon { width: 120px; height: 120px; margin: 0 auto 26px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; position: relative; animation: pop .8s var(--ease) both; }
.success-icon::before, .success-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: ping 2s infinite; }
.success-icon::after { animation-delay: 1s; }
.success-icon svg { width: 56px; height: 56px; color: var(--ink); stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .8s .4s var(--ease) forwards; }
@keyframes pop { from { transform: scale(0); } 70% { transform: scale(1.1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.order-code { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-family: var(--display); font-size: clamp(20px, 6vw, 28px); font-weight: 700; letter-spacing: .06em; padding: 10px 24px; border-radius: 16px; background: var(--ink); color: var(--gold); margin: 10px 0 26px; }
.timeline { list-style: none; margin: 34px 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; text-align: center; position: relative; }
.timeline li { position: relative; font-size: 13.5px; font-weight: 600; color: var(--muted); padding-top: 48px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: var(--sand); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--line); z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 16px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.timeline li:first-child::after { display: none; }
.timeline li.done { color: var(--ink); }
.timeline li.done::before { background: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.timeline li.done::after { background: var(--gold); }
.timeline li.current::before { animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(242,182,28,.3); } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; text-align: left; gap: 0; } .timeline li { padding: 8px 0 18px 50px; } .timeline li::before { left: 17px; top: 4px; } .timeline li::after { left: 15px; top: -30px; width: 3px; height: 100%; } }

/* Toast */
.toasts { position: fixed; top: 90px; right: 20px; z-index: 400; display: grid; gap: 10px; width: min(380px, calc(100vw - 40px)); }
.toast { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: var(--shadow); animation: toastIn .5s var(--ease); }
.toast .ic { width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; flex: none; }
.toast .ic svg { width: 20px; height: 20px; }
.toast b { display: block; }
.toast small { color: rgba(255,255,255,.75); }
.toast a { color: var(--gold); font-weight: 700; }
.toast.out { animation: toastOut .4s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

/* Post */
.article { max-width: 780px; margin: 0 auto; font-size: 18.5px; line-height: 1.8; }
.article .cover { border-radius: var(--radius-lg); overflow: hidden; margin: -80px 0 40px; box-shadow: var(--shadow); position: relative; z-index: 2; }
.article h2 { font-size: 32px; margin-top: 1.4em; }
.article h3 { font-size: 25px; margin-top: 1.3em; }
.article blockquote { margin: 1.5em 0; padding: 10px 0 10px 24px; border-left: 4px solid var(--gold); font-family: var(--display); font-size: 1.2em; font-style: italic; color: var(--ink); }
.article a { color: var(--gold-deep); font-weight: 600; }
.article img { border-radius: 18px; }
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 36px 0; }
.media-grid a { border-radius: 16px; overflow: hidden; display: block; aspect-ratio: 1; }
.media-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.media-grid a:hover img { transform: scale(1.06); }
.video { position: relative; aspect-ratio: 16/9; border-radius: 20px; overflow: hidden; margin: 26px 0; background: #000; box-shadow: var(--shadow-sm); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption, .media-caption { font-size: 14px; color: var(--muted); }
.link-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); text-decoration: none !important; margin: 14px 0; transition: transform .3s var(--ease), box-shadow .3s; }
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.link-card i { width: 46px; height: 46px; border-radius: 14px; background: var(--ink); color: var(--gold); display: grid; place-items: center; flex: none; }
.link-card i svg { width: 22px; height: 22px; }
.link-card span { display: block; font-size: 13px; color: var(--muted); font-weight: 500; word-break: break-all; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pager a, .pager span { min-width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; padding: 0 14px; text-decoration: none; font-weight: 700; border: 1px solid var(--line); }
.pager span { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; }
.split-word > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); }
.in .split-word > span { transform: none; }

@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, .fade-up { opacity: 1; transform: none; }
  .hero h1 .line > span { transform: none; }
}
.footer-cta .eyebrow::before { display: none; }

/* ---------- Página da modalidade ---------- */
.course-hero {
  position: relative; color: #fff; overflow: hidden; padding: clamp(140px, 18vw, 210px) 0 clamp(70px, 9vw, 110px);
  background: linear-gradient(100deg, rgba(15,19,83,.96) 0%, rgba(15,19,83,.82) 45%, rgba(15,19,83,.35) 100%), var(--cover) center / cover no-repeat, var(--ink);
}
.course-hero .hero-waves { height: 60%; opacity: .45; }
.course-hero h1 { font-size: clamp(46px, 8vw, 104px); font-weight: 500; letter-spacing: -.035em; margin: 10px 0 14px; }
.course-hero .lead { color: rgba(233,234,255,.85); margin-bottom: 30px; }
.course-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(242,182,28,.18); color: var(--gold); }
.course .course-tag { background: rgba(255,255,255,.14); color: #fff; }
.course-about { display: grid; grid-template-columns: 1.5fr .8fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.about-text { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.75; color: var(--text); }
.course-facts { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.course-facts > div { display: flex; align-items: baseline; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 14px; }
.course-facts b { font-family: var(--display); font-size: 40px; color: var(--gold); line-height: 1; min-width: 50px; }
.course-facts span { color: rgba(255,255,255,.75); font-weight: 500; }
.course-facts .btn-dark { --bg: var(--gold); --fg: var(--ink); }
@media (max-width: 860px) { .course-about { grid-template-columns: 1fr; } }

.teachers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; margin-top: 40px; }
.teacher-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; align-content: start; }
.teacher-head { display: flex; align-items: center; gap: 18px; }
.teacher-photo { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 4px var(--cream), 0 0 0 6px var(--gold); background: var(--ink); display: grid; place-items: center; }
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; }
.teacher-photo span { font-family: var(--display); font-size: 44px; color: var(--gold); }
.teacher-card h3 { font-size: 26px; margin: 0 0 2px; }
.teacher-role { margin: 0 0 6px; color: var(--muted); font-size: 15px; }
.teacher-ig { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--gold-deep); text-decoration: none; }
.teacher-ig svg { width: 17px; height: 17px; }
.teacher-bio { color: var(--text); line-height: 1.7; }
.teacher-bio.clamped { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { background: none; border: 0; padding: 0; color: var(--gold-deep); font-weight: 700; cursor: pointer; justify-self: start; margin-top: -10px; }

.yt-lite { position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #000 center / cover no-repeat; cursor: pointer; }
.yt-lite::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.45)); }
.yt-lite button { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 74px; height: 74px; border-radius: 50%; border: 0; background: var(--gold); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .3s var(--ease); }
.yt-lite button svg { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.yt-lite:hover button { transform: translate(-50%, -50%) scale(1.1); }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-big { margin: 0 0 32px; box-shadow: var(--shadow); }

.lessons-section { background: var(--paper); }
.lesson-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lesson-list a { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 18px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.lesson-list a:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
.lesson-num { width: 70px; height: 70px; border-radius: 18px; background: var(--ink); color: var(--gold); display: grid; place-items: center; align-content: center; font-family: var(--display); font-size: 30px; font-weight: 600; line-height: 1; }
.lesson-num small { font-family: var(--sans); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 3px; }
.lesson-info { display: grid; gap: 4px; min-width: 0; }
.lesson-info strong { font-family: var(--display); font-size: clamp(19px, 2vw, 23px); color: var(--ink); font-weight: 600; }
.lesson-info small { color: var(--muted); }
.lesson-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.lesson-badges em { font-style: normal; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; background: var(--sand); color: var(--ink); }
.lesson-badges svg { width: 13px; height: 13px; }
.lesson-go { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--ink); transition: background .3s; }
.lesson-go svg { width: 20px; height: 20px; }
.lesson-list a:hover .lesson-go { background: var(--gold); }
@media (max-width: 560px) {
  .lesson-list a { grid-template-columns: auto 1fr; gap: 14px; padding: 14px; }
  .lesson-go { display: none; }
  .lesson-num { width: 56px; height: 56px; font-size: 24px; }
}

.lesson-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; color: rgba(233,234,255,.8); }
.lesson-teacher { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.lesson-teacher img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--gold); }
.page-hero .course-tag { margin-bottom: 8px; }
.lesson-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.lesson-nav a { display: grid; gap: 4px; padding: 16px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); text-decoration: none !important; color: var(--ink) !important; font-family: var(--display); font-size: 18px; transition: border-color .3s, transform .3s var(--ease); }
.lesson-nav a:hover { border-color: var(--gold); transform: translateY(-3px); }
.lesson-nav a.next { text-align: right; grid-column: 2; }
.lesson-nav small { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); display: inline-flex; align-items: center; gap: 6px; }
.lesson-nav a.next small { justify-content: flex-end; }
.lesson-nav svg { width: 15px; height: 15px; }
@media (max-width: 560px) { .lesson-nav { grid-template-columns: 1fr; } .lesson-nav a.next { grid-column: auto; } }

.other-courses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.other-courses a { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; display: block; }
.other-courses img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.other-courses a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(15,19,83,.9)); }
.other-courses span { position: absolute; left: 18px; bottom: 14px; z-index: 1; font-family: var(--display); font-size: 22px; display: flex; align-items: center; gap: 8px; }
.other-courses span svg { width: 18px; height: 18px; color: var(--gold); }
.other-courses a:hover img { transform: scale(1.07); }
@media (max-width: 860px) { .other-courses { grid-template-columns: 1fr 1fr; } }

/* Crédito de desenvolvimento */
.footer-credits { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.credit { opacity: .6; font-size: 13px; }
.credit a { color: inherit; text-decoration: none; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.25); transition: color .2s, border-color .2s; }
.credit a:hover { color: var(--gold); border-color: var(--gold); }
