/* ============================================================
   MUSIC NATION — STYLE.CSS  v3 (refinamento)
   ============================================================ */

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Source Sans 3', sans-serif; background: #F7F8FF; color: #18202C; overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* ── TOKENS ────────────────────────────────────────────────── */
:root {
  --blue:       #00019A;
  --blue-dk:    #000075;
  --blue-lt:    #ECEEFF;
  --navy:       #05065F;
  --navy-2:     #18202C;
  --navy-mid:   #08096B;
  --cream:      #F7F8FF;
  --cream-dk:   #EEF0FF;
  --gold:       #00019A;
  --gold-lt:    #BEC7FF;
  --gold-dp:    #00019A;
  --gold-grad:  linear-gradient(135deg, #BEC7FF 0%, #00019A 45%, #00019A 100%);
  --text:       #36445A;
  --text-lt:    #58616B;
  --border:     rgba(10,26,42,0.09);
  --border-g:   rgba(0,1,154,0.18);
  --sh-sm:      0 2px 8px rgba(10,26,42,0.07);
  --sh-md:      0 8px 28px rgba(10,26,42,0.10);
  --sh-lg:      0 20px 56px rgba(10,26,42,0.14);
  --sh-gold:    0 4px 24px rgba(0,1,154,0.12);
  --py:         96px;
  --max:        1180px;
  --r:          16px;
  --r-lg:       24px;
  --hh:         76px;
}

/* ── UTILS ─────────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.gold-line {
  width: 36px; height: 2px;
  background: var(--gold-grad);
  margin: 18px auto 0; border-radius: 2px;
}
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* ── KEYFRAMES ─────────────────────────────────────────────── */
@keyframes fadeUp    { from { opacity:0; transform:translateY(32px) } to { opacity:1; transform:none } }
@keyframes fadeIn    { from { opacity:0 } to { opacity:1 } }
@keyframes fadeLeft  { from { opacity:0; transform:translateX(-24px) } to { opacity:1; transform:none } }
@keyframes fadeRight { from { opacity:0; transform:translateX(24px) } to { opacity:1; transform:none } }
@keyframes heroZoom  { to { transform:scale(1) } }
@keyframes pulse     { 0%,100%{transform:scale(1);opacity:.7} 50%{transform:scale(1.5);opacity:0} }
@keyframes scrollAnim{ 0%,100%{opacity:.4} 50%{opacity:.9} }
@keyframes galScroll { to { transform:translateX(-50%) } }
@keyframes shimmer   {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* Conteúdo comercial permanece legível sem JavaScript. */
.reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1; transform: none; transition: none;
  }
  * { animation-duration: .01ms !important; transition-duration: .05ms !important; }
}

/* ── TIPOGRAFIA ────────────────────────────────────────────── */
.display { font-family:'Manrope', sans-serif; font-weight:600; line-height:1.1; letter-spacing:-.015em; }
.h1 { font-size: clamp(2.4rem,5vw,4rem); }
.h2 { font-size: clamp(1.85rem,3.2vw,2.7rem); }
.h3 { font-size: clamp(1.2rem,1.8vw,1.55rem); }

/* ── BOTÕES ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px;
  font-size: .9rem; font-weight: 600; letter-spacing: .01em;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  white-space: nowrap; cursor: pointer;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 4px 18px rgba(0,1,154,.28);
}
.btn-primary:hover {
  background: var(--blue-dk);
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 8px 28px rgba(0,1,154,.38);
}
.btn-whatsapp {
  background: #128C4A;
  color: #fff;
  box-shadow: 0 4px 18px rgba(18,140,74,.28);
}
.btn-whatsapp:hover {
  background: #0D703B;
  box-shadow: 0 8px 28px rgba(18,140,74,.38);
}
.btn-whatsapp:focus-visible, .wa-float:focus-visible {
  outline: 3px solid #18202C;
  outline-offset: 4px;
}
.btn-whatsapp svg { fill: currentColor; }
.btn-outline {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.85);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent; color: var(--navy-2);
  border: 1.5px solid var(--border);
}
.btn-outline-dark:hover {
  background: var(--cream-dk);
  border-color: rgba(10,26,42,.25);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold-grad); color: var(--navy-2);
  box-shadow: var(--sh-gold);
}
.btn-gold:hover {
  transform: translateY(-2px) scale(1.015);
  box-shadow: 0 8px 32px rgba(0,1,154,.35);
}

/* ── SEÇÕES ────────────────────────────────────────────────── */
section { padding: var(--py) 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .h2 { color: var(--navy-2); margin-bottom: 16px; }
.section-header p {
  font-size: 1.05rem; color: var(--text);
  max-width: 560px; margin: 0 auto; line-height: 1.75;
}

/* ── HEADER ────────────────────────────────────────────────── */
#header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--hh);
  transition: background .4s ease, box-shadow .4s ease;
}
#header.transparent { background: transparent; }
#header.solid {
  background: var(--cream);
  box-shadow: 0 1px 0 rgba(10,26,42,.06), 0 4px 24px rgba(10,26,42,.07);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 100%; gap: 24px;
}
.header-logo { display: flex; align-items: center; flex-shrink: 0; }
.header-logo img {
  height: 44px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a {
  font-size: .85rem; font-weight: 500; letter-spacing: .04em;
  transition: color .2s; position: relative;
}
.header-nav a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1.5px; background: var(--gold-grad);
  transform: scaleX(0); transition: transform .28s cubic-bezier(.22,1,.36,1);
  transform-origin: left;
}
.header-nav a:hover::after { transform: scaleX(1); }
#header.transparent .header-nav a { color: rgba(255,255,255,.85); }
#header.transparent .header-nav a:hover { color: #fff; }
#header.solid .header-nav a { color: var(--text); }
#header.solid .header-nav a:hover { color: var(--navy-2); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: currentColor; transition: all .3s; border-radius: 2px; }
#header.transparent .hamburger { color: #fff; }
#header.solid .hamburger { color: var(--navy-2); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-nav {
  display: none; position: fixed; top: var(--hh); left: 0; right: 0;
  background: var(--cream); padding: 24px; box-shadow: var(--sh-lg);
  z-index: 999; flex-direction: column; gap: 16px; animation: fadeIn .2s ease;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { font-size: 1rem; font-weight: 500; color: var(--navy-2); padding: 10px 0; border-bottom: 1px solid var(--border); }
.mobile-nav .btn { margin-top: 8px; justify-content: center; }

/* ── HERO LP2: presença da marca, texto e fotografia separados ───── */
#hero {
  position:relative; isolation:isolate; overflow:hidden;
  background:radial-gradient(ellipse at 88% 25%,rgba(130,146,255,.27),transparent 54%),linear-gradient(118deg,#05065F 0%,#00019A 65%,#1515B3 100%);
  color:#fff; padding:calc(var(--hh) + 62px) 0 64px;
}
#hero::before { content:''; position:absolute; z-index:-1; width:680px; height:680px; right:-270px; top:-340px; border:1px solid rgba(190,199,255,.16); border-radius:50%; box-shadow:0 0 0 76px rgba(190,199,255,.045),0 0 0 152px rgba(190,199,255,.025); pointer-events:none; }
.hero-grid { display:grid; grid-template-columns:1.02fr 1fr; gap:58px; align-items:center; }
.hero-copy { min-width:0; }
.hero-badge { display:inline-flex; align-items:center; gap:9px; font-size:.83rem; font-weight:600; color:#BEC7FF; margin-bottom:24px; }
.hero-badge-dot { width:7px; height:7px; border-radius:50%; background:#BEC7FF; box-shadow:0 0 0 5px rgba(190,199,255,.09); }
.hero-title { font-family:'Manrope',sans-serif; font-size:clamp(2.4rem,3.8vw,3.55rem); font-weight:700; color:#fff; line-height:1.1; letter-spacing:-.045em; margin-bottom:24px; }
.hero-title span { display:block; color:#BEC7FF; }
.hero-sub { color:rgba(255,255,255,.9); font-size:1.18rem; line-height:1.65; max-width:540px; margin:0 0 28px; }
.hero-ctas { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.hero-ctas .btn { padding:14px 23px; font-size:.96rem; }
.hero-next-step { color:rgba(255,255,255,.76); font-size:.96rem; line-height:1.5; margin:16px 0 26px; max-width:440px; }
.hero-down { display:inline-flex; align-items:center; gap:12px; color:#BEC7FF; font-size:.96rem; font-weight:600; padding:8px 0; }
.hero-down svg { width:24px; height:24px; animation:mn-down 1.8s ease-in-out infinite; }
@keyframes mn-down { 0%,100% { transform:translateY(0); } 50% { transform:translateY(6px); } }
.hero-visual { position:relative; background:rgba(5,6,70,.5); border:1px solid rgba(190,199,255,.28); border-radius:24px 24px 70px 24px; padding:12px 12px 28px; margin:0; box-shadow:0 24px 64px rgba(0,0,35,.28); }
.hero-visual picture { display:block; border-radius:14px; overflow:hidden; }
.hero-visual img { width:100%; height:auto; display:block; }
.hero-visual figcaption { max-width:390px; padding:22px 18px 0; color:#fff; font-size:1.03rem; line-height:1.5; }
.hero-visual-label { display:block; font-family:'Manrope',sans-serif; font-size:1.17rem; font-weight:700; margin-bottom:5px; }
.brand-rhythm { display:flex; align-items:center; gap:5px; height:45px; padding-left:18px; margin-top:20px; }
.brand-rhythm i { display:block; width:5px; height:35px; border-radius:5px; background:#fff; }
.brand-rhythm i:nth-child(2),.brand-rhythm i:nth-child(4) { height:24px; }
.brand-rhythm i:nth-child(3) { height:12px; }

/* ── VÍDEO ─────────────────────────────────────────────────── */
#video { background: var(--cream); }
.video-grid {
  display: grid;
  grid-template-columns: 42fr 58fr;   /* texto com mais espaço, vídeo ainda dominante */
  gap: 56px; align-items: center;
}
.video-text { }
.video-text .h2 { color: var(--navy-2); margin-bottom: 18px; line-height: 1.18; }
.video-text > p { color: var(--text); margin-bottom: 28px; line-height: 1.8; font-size: .97rem; }
.video-bullets { display: flex; flex-direction: column; gap: 13px; margin-bottom: 36px; }
.video-bullet { display: flex; align-items: center; gap: 12px; font-size: .93rem; color: var(--text); }
.video-bullet-icon {
  width: 30px; height: 30px; background: var(--blue-lt);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.video-bullet-icon svg { width: 14px; height: 14px; stroke: var(--blue); fill: none; }

/* Player — quase hero secundário */
.video-wrapper {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--navy);
  aspect-ratio: 16/9;
  box-shadow:
    0 2px 0 rgba(255,255,255,.06) inset,
    0 28px 72px rgba(7,22,37,.28),
    0 6px 20px rgba(0,1,154,.14);
  border: 1px solid rgba(10,26,42,.12);
  transition: transform .4s cubic-bezier(.22,1,.36,1),
              box-shadow .4s cubic-bezier(.22,1,.36,1);
}
.video-wrapper:hover {
  transform: translateY(-4px) scale(1.005);
  box-shadow:
    0 2px 0 rgba(255,255,255,.08) inset,
    0 36px 88px rgba(7,22,37,.34),
    0 8px 28px rgba(0,1,154,.2);
}
.video-wrapper video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

/* ── PARA QUEM ─────────────────────────────────────────────── */
#sobre { background: var(--cream-dk); }
/* 6 cards — 3×2, perfeitamente simétrico */
.pquem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card-pq {
  background: var(--cream);
  border-radius: var(--r); padding: 32px 28px;
  border: 1px solid var(--border);
  transition: transform .28s cubic-bezier(.22,1,.36,1),
              box-shadow .28s cubic-bezier(.22,1,.36,1);
  position: relative; overflow: hidden;
}
.card-pq::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2.5px;
  background: var(--gold-grad);
  transform: scaleX(0); transition: transform .35s cubic-bezier(.22,1,.36,1);
  transform-origin: left;
}
.card-pq:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.card-pq:hover::before { transform: scaleX(1); }
.card-pq-icon {
  width: 44px; height: 44px; background: var(--blue-lt);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 18px;
  transition: background .25s ease;
}
.card-pq:hover .card-pq-icon { background: #dce9fa; }
.card-pq-icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.6; }
.card-pq h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.18rem; font-weight: 600; color: var(--navy-2); line-height: 1.38;
}

/* ── EXPERIÊNCIA ───────────────────────────────────────────── */
#experiencia { background: var(--navy); }
#experiencia .section-header .h2 { color: #fff; }
#experiencia .section-header p { color: rgba(255,255,255,.62); }

/* Layout: card principal topo, 3 cards iguais embaixo */
.bento { display: flex; flex-direction: column; gap: 16px; }

/* Card principal — altura fixa, foto real */
.bento-main {
  border-radius: var(--r-lg); overflow: hidden;
  position: relative; min-height:340px; display:flex; align-items:flex-end;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.07);
}
.bento-main-img {
  position: absolute; inset: 0;
  background-image: url('../assets/fotos/otimizadas/estudo-livre-nas-salas-1200.jpg');
  background-image: image-set(url('../assets/fotos/otimizadas/estudo-livre-nas-salas-1200.webp') type('image/webp'),url('../assets/fotos/otimizadas/estudo-livre-nas-salas-1200.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center 35%;
  transition: transform .6s cubic-bezier(.22,1,.36,1);
}
.bento-main:hover .bento-main-img { transform: scale(1.03); }
.bento-main-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7,22,37,.92) 0%,
    rgba(7,22,37,.65) 50%,
    rgba(7,22,37,.18) 100%
  );
}
.bento-main-content {
  position: relative;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 40px 48px;
  max-width: 600px;
}
.bento-main-content h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem; font-weight: 600; color: #fff;
  margin-bottom: 10px; line-height: 1.15;
}
.bento-main-content p {
  font-size: .93rem; color: rgba(255,255,255,.72); line-height: 1.68;
}
.bento-tag {
  display: inline;
  background: rgba(0,1,154,.18);
  border: 1px solid var(--border-g);
  border-radius: 50px; padding: 4px 14px;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-lt); margin-bottom: 14px;
  white-space: nowrap;
  line-height: 2.2;
}

/* 3 cards menores — com foto de fundo real */
.bento-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.bento-sm {
  border-radius: var(--r); overflow: hidden;
  position: relative; min-height: 240px;
  background: var(--navy-mid);
  border: 1px solid rgba(255,255,255,.07);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.bento-sm-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .3s ease;
  opacity: .5;
}
.bento-sm-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,22,37,.96) 30%, rgba(7,22,37,.35) 100%);
}
.bento-sm:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(7,22,37,.35); }
.bento-sm:hover .bento-sm-bg { transform: scale(1.05); opacity: .65; }
.bento-sm-body {
  position: relative; z-index: 1;
  padding: 24px 22px; display: flex; flex-direction: column; gap: 8px;
}
.bento-sm-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(0,1,154,.15);
  border: 1px solid var(--border-g);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.bento-sm-icon svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.6; }
.bento-sm h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem; font-weight: 600; color: #fff; line-height: 1.25;
}
.bento-sm p { font-size: .85rem; color: rgba(255,255,255,.68); line-height: 1.6; }

/* ── GALERIA ───────────────────────────────────────────────── */
#galeria { padding: 0; background: var(--navy); overflow: hidden; }
.galeria-strip { width: 100%; overflow: hidden; position: relative; height: 260px; }
.galeria-strip::before, .galeria-strip::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.galeria-strip::before { left: 0; background: linear-gradient(to right, var(--navy), transparent); }
.galeria-strip::after  { right: 0; background: linear-gradient(to left, var(--navy), transparent); }
.galeria-track {
  display: flex; gap: 12px; height: 100%;
  animation: galScroll 34s linear infinite; width: max-content;
}
.galeria-track img {
  height: 260px; width: auto; object-fit: cover; border-radius: 12px;
  flex-shrink: 0; filter: brightness(.82); transition: filter .35s ease, transform .35s ease;
}
.galeria-track img:hover { filter: brightness(1); transform: scale(1.015); }
@media (prefers-reduced-motion: reduce) { .galeria-track { animation: none; } }

/* ── CURSOS ────────────────────────────────────────────────── */
#cursos { background: var(--cream); }
.cursos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card-curso {
  background: #fff; border-radius: var(--r); padding: 28px 24px;
  border: 1px solid var(--border);
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease;
  display: flex; flex-direction: column;
}
.card-curso:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.card-curso.destaque {
  border: 1.5px solid var(--border-g); position: relative; overflow: visible;
}
.card-curso.destaque::before {
  content: 'Diferencial'; position: absolute; top: -11px; right: 14px;
  background: var(--gold-grad); color: var(--navy-2);
  font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 50px;
}
.curso-icon {
  width: 64px; height: 64px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
}
.curso-icon img { width: 64px; height: 64px; object-fit: contain; }
.card-curso h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.22rem; font-weight: 600; color: var(--navy-2); margin-bottom: 10px;
}
.card-curso p { font-size: .87rem; color: var(--text); line-height: 1.68; flex: 1; margin-bottom: 20px; }

/* ── GUIA ──────────────────────────────────────────────────── */
#guia { background: var(--cream-dk); }
.guia-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guia-row2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: calc(66.66% - 8px);
  margin: 16px auto 0;
}
.card-guia {
  background: var(--cream); border-radius: var(--r); padding: 28px 24px;
  border: 1px solid var(--border);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease, border-color .25s;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.card-guia:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 36px rgba(0,1,154,.13);
  border-color: rgba(0,1,154,.3);
}
.card-guia-icon {
  width: 52px; height: 52px; background: var(--blue-lt);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  transition: background .25s ease;
}
.card-guia:hover .card-guia-icon { background: #dce9fa; }
.card-guia-icon svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 1.6; }
.card-guia h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.12rem; font-weight: 600; color: var(--navy-2);
}
.card-guia p { font-size: .83rem; color: var(--text-lt); line-height: 1.58; }
.card-guia .guia-cta {
  font-size: .8rem; color: var(--blue); font-weight: 600;
  display: flex; align-items: center; gap: 4px; margin-top: 2px;
}

/* ── COMO FUNCIONA ─────────────────────────────────────────── */
#como-funciona { background: var(--cream); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; gap: 0; }
.timeline::before {
  content: ''; position: absolute; top: 44px;
  left: calc(16.66% + 24px); right: calc(16.66% + 24px);
  height: 1px; background: linear-gradient(to right, var(--border-g), var(--gold), var(--border-g));
}
.step { text-align: center; padding: 0 32px; position: relative; z-index: 1; }
.step-num {
  width: 48px; height: 48px; background: var(--cream); border: 1.5px solid var(--border-g);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Manrope', sans-serif; font-size: 1.2rem; font-weight: 600;
  color: var(--gold-dp); box-shadow: var(--sh-sm);
}
.step h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.22rem; font-weight: 600; color: var(--navy-2); margin-bottom: 12px;
}
.step p { font-size: .91rem; color: var(--text); line-height: 1.72; }

/* ── ESTRUTURA ─────────────────────────────────────────────── */
#estrutura { background: var(--cream-dk); }
.estrutura-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.estrutura-items { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.estrutura-item {
  background: var(--cream); border-radius: var(--r); padding: 18px 16px;
  border: 1px solid var(--border); display: flex; align-items: center; gap: 12px;
  transition: transform .22s ease, box-shadow .22s ease;
}
.estrutura-item:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); }
.estrutura-item-icon {
  width: 38px; height: 38px; background: var(--blue-lt);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.estrutura-item-icon svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 1.7; }
.estrutura-item span { font-size: .87rem; font-weight: 500; color: var(--navy-2); }
.mapa-wrapper {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--sh-md); height: 100%; min-height: 300px;
}
.mapa-wrapper iframe { width: 100%; height: 100%; min-height: 300px; display: block; border: 0; filter: grayscale(12%); }
.endereco-card {
  background: var(--navy-2); border-radius: var(--r-lg);
  padding: 40px 48px; color: #fff; grid-column: 1/-1;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; align-items: center;
  border: 1px solid rgba(255,255,255,.05);
}
.endereco-card h3 {
  font-family: 'Manrope', sans-serif; font-size: 1.3rem; font-weight: 600;
  margin-bottom: 14px; color: #fff;
}
.endereco-card address { font-style: normal; font-size: .92rem; line-height: 1.9; color: rgba(255,255,255,.68); }
.endereco-card address strong { color: #fff; display: block; }
.endereco-transport { display: flex; flex-direction: column; gap: 13px; }
.endereco-transport-item { display: flex; align-items: flex-start; gap: 12px; font-size: .87rem; color: rgba(255,255,255,.62); line-height: 1.55; }
.endereco-transport-item svg { width: 17px; height: 17px; stroke: var(--gold); fill: none; stroke-width: 1.8; flex-shrink: 0; margin-top: 1px; }
.endereco-btns { display: flex; flex-direction: column; gap: 12px; }
.endereco-btns .btn { justify-content: center; }

/* ── REVIEWS ───────────────────────────────────────────────── */
#reviews { background: var(--navy); }
#reviews .section-header .h2 { color: #fff; }
#reviews .section-header p { color: rgba(255,255,255,.58); }
.reviews-summary { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.reviews-score { font-family: 'Manrope', sans-serif; font-size: 3.6rem; font-weight: 600; color: #fff; line-height: 1; }
.reviews-stars { display: flex; gap: 4px; margin-bottom: 6px; }
.reviews-count { font-size: .83rem; color: rgba(255,255,255,.48); }
.reviews-google-badge {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px; padding: 8px 16px; font-size: .78rem; color: rgba(255,255,255,.58);
}
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.review-card {
  background: rgba(255,255,255,.048); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background .28s ease, transform .28s cubic-bezier(.22,1,.36,1);
}
.review-card:hover { background: rgba(255,255,255,.09); transform: translateY(-4px); }
.review-header { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif; font-size: 1.1rem; font-weight: 600;
  color: #fff; flex-shrink: 0; overflow: hidden;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.review-name { font-size: .9rem; font-weight: 600; color: #fff; }
.review-date { font-size: .75rem; color: rgba(255,255,255,.38); margin-top: 2px; }
.review-stars { display: flex; gap: 2px; }
.review-text { font-size: .89rem; color: rgba(255,255,255,.68); line-height: 1.72; flex: 1; }
.reviews-loading { text-align: center; color: rgba(255,255,255,.38); font-size: .88rem; padding: 40px 0; }
.star-full  { fill: #F59E0B; stroke: none; }
.star-empty { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.5; }

/* ── FAQ ───────────────────────────────────────────────────── */
#faq { background: var(--cream); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: #fff; border-radius: var(--r);
  border: 1px solid var(--border); overflow: hidden;
  transition: box-shadow .25s ease;
}
.faq-item.open { box-shadow: var(--sh-sm); }
.faq-q {
  width: 100%; text-align: left; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: .94rem;
  color: var(--navy-2); gap: 16px; user-select: none;
}
.faq-q svg { width: 18px; height: 18px; stroke: var(--text-lt); flex-shrink: 0; transition: transform .28s ease, stroke .2s; }
.faq-q::after { content: '+'; font-size: 1.3rem; font-weight: 400; flex-shrink: 0; }
.faq-item[open] .faq-q::after { content: '−'; }
.faq-item.open .faq-q svg { transform: rotate(45deg); stroke: var(--blue); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .38s ease, padding .28s ease;
  padding: 0 24px; font-size: .92rem; color: var(--text); line-height: 1.78;
}
.faq-item.open .faq-a, .faq-item[open] .faq-a { max-height: none; padding: 0 24px 22px; }

/* ── CTA FINAL ─────────────────────────────────────────────── */
#cta-final {
  position: relative; overflow: hidden;
  background: var(--navy); padding: var(--py) 0;
}
.cta-bg {
  position: absolute; inset: 0;
  background: url('../assets/fotos/otimizadas/recital-guitarra-1200.jpg') center top / cover;
  background: image-set(url('../assets/fotos/otimizadas/recital-guitarra-1200.webp') type('image/webp'),url('../assets/fotos/otimizadas/recital-guitarra-1200.jpg') type('image/jpeg')) center top / cover;
  opacity: .2;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(7,22,37,.97) 0%, rgba(15,35,64,.6) 100%);
}
.cta-inner { position: relative; z-index: 1; text-align: center; color: #fff; }
.cta-inner .h2 { color: #fff; margin-bottom: 16px; }
.cta-inner p {
  font-size: 1.03rem; color: rgba(255,255,255,.7);
  max-width: 490px; margin: 0 auto 40px; line-height: 1.75;
}
.cta-gold-detail {
  width: 44px; height: 2px;
  background: var(--gold-grad);
  margin: 0 auto 32px; border-radius: 2px;
}

/* ── FOOTER ────────────────────────────────────────────────── */
footer { background: var(--navy-2); color: rgba(255,255,255,.68); padding: 64px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-logo img { height: 40px; width: auto; object-fit: contain; display: block; margin-bottom: 18px; }
.footer-tagline { font-size: .88rem; line-height: 1.72; color: rgba(255,255,255,.52); max-width: 240px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .2s;
}
.footer-social a:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; stroke: rgba(255,255,255,.68); fill: none; stroke-width: 1.8; }
.footer-col h3 {
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: #BEC7FF; margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a { font-size: .88rem; color: rgba(255,255,255,.62); transition: color .2s, transform .2s; display: inline-block; }
.footer-col ul a:hover { color: #fff; transform: translateX(2px); }
.footer-contact { display: flex; flex-direction: column; gap: 13px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; line-height: 1.55; }
.footer-contact-item svg { width: 15px; height: 15px; stroke: #BEC7FF; fill: none; stroke-width: 1.9; margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  padding-top: 24px; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.7); }

/* ── WA FLOAT ──────────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: max(18px,calc(env(safe-area-inset-bottom) + 12px)); right: max(18px,env(safe-area-inset-right)); z-index: 900;
  width: 58px; height: 58px; background: #25D366; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 22px rgba(37,211,102,.38);
  transition: transform .22s ease, box-shadow .22s ease;
  animation: fadeIn .5s ease 2.5s both;
}
.wa-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #25D366; animation: pulse 2.2s ease-out infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,.52); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; position: relative; }
.wa-float.is-suppressed { visibility:hidden; pointer-events:none; }

/* ── RESPONSIVO ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cursos-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid  { grid-template-columns: 1fr 1.4fr; gap: 40px; }
  .pquem-grid  { grid-template-columns: repeat(2, 1fr); }
  .bento-row   { grid-template-columns: 1fr; gap: 12px; }
  .guia-grid   { grid-template-columns: repeat(2, 1fr); }
  .guia-row2   { grid-template-columns: 1fr; max-width: 100%; }
  .endereco-card { grid-template-columns: 1fr 1fr; gap: 32px; }
  .reviews-grid  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --py: 64px; }
  .header-nav, #header-cta { display: none !important; }
  .hamburger { display: flex; }
  #hero { min-height: auto; }
  .hero-content { padding-top: calc(var(--hh) + 42px); padding-bottom: 64px; }
  .hero-badge { margin-bottom: 24px; font-size: .66rem; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-sub { margin-bottom: 28px; line-height: 1.65; }
  .hero-scroll { display: none; }
  .hero-ctas  { flex-direction: column; align-items: center; }
  .video-grid { grid-template-columns: 1fr; gap: 32px; }
  .pquem-grid { grid-template-columns: 1fr 1fr; }
  .bento-main { height: auto; min-height:280px; }
  .bento-main-content { padding: 24px 28px; }
  .bento-row  { grid-template-columns: 1fr; }
  .bento-sm   { min-height: 200px; }
  .galeria-strip      { height: 180px; }
  .galeria-track img  { height: 180px; }
  .cursos-grid { grid-template-columns: 1fr 1fr; }
  .guia-grid   { grid-template-columns: 1fr; }
  .guia-row2   { grid-template-columns: 1fr; max-width: 100%; margin-top: 12px; }
  .timeline   { grid-template-columns: 1fr; gap: 36px; }
  .timeline::before { display: none; }
  .estrutura-grid { grid-template-columns: 1fr; gap: 24px; }
  .estrutura-items { grid-template-columns: 1fr 1fr; }
  .endereco-card { grid-column: auto; grid-template-columns: 1fr; gap: 28px; }
  .endereco-btns { flex-direction: row; flex-wrap: wrap; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .btn { max-width:100%; white-space:normal; justify-content:center; text-align:center; line-height:1.4; }
  .pquem-grid  { grid-template-columns: 1fr; }
  .cursos-grid { grid-template-columns: 1fr; }
  .estrutura-items { grid-template-columns: 1fr; }
  .endereco-btns .btn { width: 100%; justify-content: center; }
  .bento-main { height: auto; min-height:260px; }
  .bento-main-content { padding: 22px 22px; }
  .bento-main-content h3 { font-size: 1.5rem; }
}

/* ── UNMUTE BUTTON ─────────────────────────────────────────── */
.video-unmute-btn {
  position: absolute;
  bottom: 52px; right: 12px;
  z-index: 10;
  display: flex; align-items: center; gap: 8px;
  background: rgba(7,22,37,.78);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50px;
  padding: 8px 14px 8px 10px;
  color: rgba(255,255,255,.85);
  font-size: .75rem; font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: opacity .3s ease, transform .3s ease;
  font-family: 'Source Sans 3', sans-serif;
}
.video-unmute-btn svg { width: 16px; height: 16px; flex-shrink: 0; stroke: #fff; }
.video-unmute-btn:hover { background: rgba(7,22,37,.92); }
.video-unmute-btn.hidden { opacity: 0; pointer-events: none; }

/* Fix bento-main-content flex para tag inline funcionar */
.bento-main-content { display: flex; flex-direction: column; align-items: flex-start; }

/* Cursos acessíveis na primeira navegação, com ou sem JS. */
.curso-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.curso-actions .btn { padding:10px 16px; font-size:.9rem; line-height:1.35; min-height:44px; white-space:normal; justify-content:center; }
.curso-actions .btn svg { width: 14px; height: 14px; }
.course-quick-label { text-align:center; color:var(--text); margin:-20px 0 16px; font-size:1rem; }
.course-quick-links { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin:0 auto 32px; max-width:960px; }
.course-quick-links a { display:inline-flex; align-items:center; justify-content:center; border:1px solid rgba(0,1,154,.2); border-radius:30px; padding:10px 16px; color:var(--blue); font-size:.95rem; font-weight:600; min-height:44px; background:#fff; line-height:1.3; }
.course-quick-links a:hover { background:var(--blue-lt); border-color:var(--blue); }
main [id] { scroll-margin-top:calc(var(--hh) + 16px); }
.reviews-fallback { text-align: center; margin-top: 24px; text-decoration: underline; }
.mobile-nav { max-height: calc(100dvh - var(--hh)); overflow-y: auto; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
#hero :focus-visible, footer :focus-visible { outline-color: var(--gold-lt); }

/* LP2 — cores e leitura do guia Music Nation V2. */
.display { font-family:'Manrope',sans-serif; font-weight:700; letter-spacing:-.035em; line-height:1.17; }
.eyebrow { color:var(--blue); letter-spacing:.12em; font-size:.8rem; }
#experiencia .eyebrow, #reviews .eyebrow, #cta-final .eyebrow { color:#BEC7FF; }
.btn-gold { color:#fff; }
.card-curso.destaque::before { color:#fff; }
.hero-ctas .btn-outline-dark { border-color:rgba(190,199,255,.6); color:#fff; background:rgba(255,255,255,.04); }
.hero-ctas .btn-outline-dark:hover { border-color:#fff; background:rgba(255,255,255,.13); }
.skip-link { position:fixed; top:12px; left:12px; z-index:2000; transform:translateY(-150%); background:#fff; color:var(--blue); padding:12px 20px; border:2px solid var(--blue); border-radius:8px; }
.skip-link:focus { transform:translateY(0); }
.curso-hero, .page-hero { background:var(--blue); padding:calc(var(--hh) + 48px) 0 48px; }
.curso-hero-bg { display:none; }
.curso-hero::before { display:none; }
.curso-hero-grid { display:grid; grid-template-columns:1.1fr 1fr; gap:48px; align-items:center; }
.curso-hero-copy { min-width:0; }
.curso-hero-copy h1 { font-family:'Manrope',sans-serif; font-size:clamp(2rem,3.3vw,3.1rem); font-weight:700; letter-spacing:-.035em; color:#fff; }
.curso-hero-copy .curso-hero-sub { color:rgba(255,255,255,.86); }
.course-hero-visual { margin:0; }
.course-hero-visual picture, .course-hero-visual img { display:block; width:100%; height:auto; border-radius:18px; }
.galeria-track picture { display:block; flex-shrink:0; }
.galeria-track picture img { width:auto; }
summary.faq-q::after { content:'+'; color:var(--blue); font-family:'Manrope',sans-serif; font-size:1.35rem; flex-shrink:0; margin-left:18px; }
details[open] > summary.faq-q::after { content:'−'; }
.video-unmute-btn { font-size:.92rem; padding:11px 16px; bottom:18px; }
.video-unmute-btn:focus-visible { outline-color:#fff; }
@media (max-width:1024px) { .hero-grid { gap:32px; } .hero-title { font-size:2.7rem; } .hero-ctas .btn { padding:13px 18px; } }
@media (max-width:800px) {
  #hero { padding:calc(var(--hh) + 38px) 0 42px; }
  .hero-grid, .curso-hero-grid { grid-template-columns:1fr; gap:30px; }
  .hero-title { font-size:clamp(2.15rem,6.2vw,3.1rem); }
  .hero-copy { max-width:630px; }
  .hero-badge { margin-bottom:20px; font-size:.82rem; }
  .hero-sub { font-size:1.12rem; margin-bottom:23px; }
  .hero-ctas { align-items:stretch; flex-direction:row; }
  .hero-ctas .btn { white-space:normal; justify-content:center; }
  .hero-next-step { margin-bottom:12px; }
  .hero-down { display:inline-flex; }
  .hero-visual { max-width:640px; padding:14px 14px 26px; border-bottom-right-radius:50px; }
  .hero-visual figcaption { padding:18px 12px 0; }
  .brand-rhythm { margin-top:14px; padding-left:12px; }
  .curso-hero, .page-hero { padding:calc(var(--hh) + 32px) 0 32px; }
}
@media (max-width:480px) { .container { padding-left:20px; padding-right:20px; } .hero-ctas { flex-direction:column; } .hero-ctas .btn { width:100%; } .hero-title { font-size:2.15rem; } .hero-down { padding-top:6px; } .hero-visual figcaption { font-size:.98rem; } }
@media (max-width:768px) { .bento-main-img { background-image:image-set(url('../assets/fotos/otimizadas/estudo-livre-nas-salas-768.webp') type('image/webp'),url('../assets/fotos/otimizadas/estudo-livre-nas-salas-768.jpg') type('image/jpeg')); }
.cta-bg { background-image:image-set(url('../assets/fotos/otimizadas/recital-guitarra-768.webp') type('image/webp'),url('../assets/fotos/otimizadas/recital-guitarra-768.jpg') type('image/jpeg')); } }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .hero-down svg { animation:none; } }

/* Responsive photo layers */
.bento-sm-bg picture, .bento-sm-bg img { display:block; width:100%; height:100%; object-fit:cover; }
/* Keep legacy inline page styles readable on the new brand backgrounds. */
.curso-hero .curso-hero-eyebrow, .page-hero .eyebrow { color:#BEC7FF; }
.curso-hero .curso-breadcrumb, .curso-hero .curso-breadcrumb a { color:rgba(255,255,255,.88); }

/* Contrast and keyboard focus */
.btn-whatsapp, .wa-float, .wa-float::before { background:#107C41; }
.btn-whatsapp:hover, .wa-float:hover { background:#0D703B; }
#hero.hero-split :focus-visible { outline-color:#BEC7FF; }
.curso-hero :focus-visible, .page-hero :focus-visible { outline-color:#fff; }

/* Review fallback and footer remain readable on the dark brand surfaces. */
#reviews .reviews-fallback a { color:#BEC7FF; text-decoration:underline; text-underline-offset:.2em; }
#reviews .reviews-fallback a:hover, #reviews .reviews-fallback a:focus-visible { color:#fff; }
#reviews .reviews-fallback a:focus-visible { outline:3px solid #BEC7FF; outline-offset:5px; border-radius:2px; }
