/* =========================================================
   Learn Zouk · Nina & Matheus
   Tons de "luz de palco": cada seção tem um tom e a página
   faz a transição de cor conforme a pessoa rola.
   ========================================================= */

@property --bg      { syntax: "<color>"; inherits: true; initial-value: #121a16; }
@property --fg      { syntax: "<color>"; inherits: true; initial-value: #eef1e6; }
@property --muted   { syntax: "<color>"; inherits: true; initial-value: #a3b0a0; }
@property --accent  { syntax: "<color>"; inherits: true; initial-value: #e6d6c8; }
@property --line    { syntax: "<color>"; inherits: true; initial-value: rgba(238, 241, 230, .16); }
@property --surface { syntax: "<color>"; inherits: true; initial-value: #1b2620; }
@property --btn-bg  { syntax: "<color>"; inherits: true; initial-value: #e6d6c8; }
@property --btn-fg  { syntax: "<color>"; inherits: true; initial-value: #121a16; }

:root {
  --font-display: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --font-text: "Newsreader", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
  --wrap: 1320px;
  --header-h: 76px;
  --radius-photo: 32px;
}

/* Tons -------------------------------------------------- */
body[data-tone="night"], html:not(.js) [data-tone="night"] {
  --bg: #121a16; --fg: #eef1e6; --muted: #a3b0a0; --accent: #e6d6c8;
  --line: rgba(238, 241, 230, .16); --surface: #1c2821; --btn-bg: #e6d6c8; --btn-fg: #121a16;
}
body[data-tone="pistachio"], html:not(.js) [data-tone="pistachio"] {
  --bg: #edf0e4; --fg: #17211b; --muted: #56635a; --accent: #2f7a58;
  --line: rgba(23, 33, 27, .14); --surface: #f8f9f2; --btn-bg: #17211b; --btn-fg: #edf0e4;
}
body[data-tone="sand"], html:not(.js) [data-tone="sand"] {
  --bg: #ebdcd0; --fg: #1d221e; --muted: #675b53; --accent: #2f7a58;
  --line: rgba(29, 34, 30, .15); --surface: #f4e9df; --btn-bg: #1d221e; --btn-fg: #ebdcd0;
}
body[data-tone="moss"], html:not(.js) [data-tone="moss"] {
  --bg: #26352b; --fg: #eef1e6; --muted: #b2c0ae; --accent: #e6d6c8;
  --line: rgba(238, 241, 230, .16); --surface: #2f4135; --btn-bg: #e6d6c8; --btn-fg: #1d2a22;
}
body[data-tone="jade"], html:not(.js) [data-tone="jade"] {
  --bg: #1e4a3a; --fg: #f2efe6; --muted: #bcd2c5; --accent: #e6d6c8;
  --line: rgba(242, 239, 230, .2); --surface: #245644; --btn-bg: #f2efe6; --btn-fg: #1e4a3a;
}
html:not(.js) [data-tone] { background-color: var(--bg); color: var(--fg); }

/* Base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
html.menu-open { overflow: hidden; }
body {
  margin: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-text);
  font-size: 19px;
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: --bg .9s var(--ease), --fg .9s var(--ease), --muted .9s var(--ease), --accent .9s var(--ease),
              --line .9s var(--ease), --surface .9s var(--ease), --btn-bg .9s var(--ease), --btn-fg .9s var(--ease);
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 620; letter-spacing: -.02em; }
h2 { font-size: clamp(36px, 5vw, 68px); font-stretch: 112%; line-height: 1.02; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.section { padding-block: clamp(80px, 10vw, 136px); }
.section-head { max-width: 46rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 + p { margin-top: 20px; max-width: 36rem; font-size: clamp(18px, 1.4vw, 21px); color: var(--muted); }

.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 16px; }

/* Buttons & links --------------------------------------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border: 1.5px solid var(--btn-bg); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 16px/1.1 var(--font-display); font-stretch: 112%; letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: transform .45s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-ghost { background: transparent; color: var(--fg); border-color: color-mix(in srgb, var(--fg) 32%, transparent); }
.btn-ghost:hover { border-color: var(--fg); background: color-mix(in srgb, var(--fg) 7%, transparent); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }

.text-link {
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px;
  transition: text-underline-offset .3s var(--ease), color .3s;
}
.text-link:hover { text-underline-offset: 3px; color: var(--accent); }

/* Header ------------------------------------------------ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--fg);
  transition: transform .5s var(--ease), background-color .4s, box-shadow .4s;
}
.site-header.is-scrolled {
  background-color: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.brand {
  margin-right: auto;
  font-family: var(--font-display); font-weight: 700; font-stretch: 125%; font-size: 21px; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap;
  transition: font-stretch .6s var(--ease);
}
.brand:hover { font-stretch: 150%; }
.nav { display: flex; gap: 28px; }
.nav a {
  font-family: var(--font-display); font-weight: 550; font-size: 15.5px;
  color: var(--muted); text-decoration: none; transition: color .3s;
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--fg); }
.menu-toggle {
  display: none; align-items: center; gap: 12px;
  height: 44px; padding: 0 6px 0 16px;
  border: 1.5px solid var(--line); border-radius: 999px; background: transparent; color: inherit;
  font: 600 15px/1 var(--font-display); cursor: pointer;
}
.menu-toggle-bars { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--btn-bg); }
.menu-toggle-bars i {
  position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--btn-fg);
  transition: transform .45s var(--ease);
}
.menu-toggle-bars i:first-child { top: 12px; }
.menu-toggle-bars i:last-child { top: 17px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:first-child { transform: translateY(2.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars i:last-child { transform: translateY(-2.5px) rotate(-45deg); }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--header-h) + 32px) clamp(16px, 4vw, 40px) 40px;
  background: var(--bg); color: var(--fg);
  visibility: hidden;
  clip-path: circle(0 at calc(100% - 48px) 38px);
  transition: clip-path .75s var(--ease-in-out), visibility 0s linear .75s;
}
.menu.is-open { visibility: visible; clip-path: circle(150vmax at calc(100% - 48px) 38px); transition: clip-path .75s var(--ease-in-out), visibility 0s; }
.menu-links { display: grid; }
.menu-links a {
  font-family: var(--font-display); font-weight: 650; font-stretch: 125%; font-size: clamp(38px, 11vw, 60px); line-height: 1.2;
  text-decoration: none;
  opacity: 0; transform: translateY(28px);
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.menu.is-open .menu-links a { opacity: 1; transform: none; transition-delay: calc(.2s + var(--i) * .06s); }
.menu-foot { display: grid; justify-items: start; gap: 20px; }

/* Hero -------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(24px, 5vh, 64px));
}
.hero::before { /* foco de luz atrás da foto */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: min(80vw, 1000px); aspect-ratio: 1; right: -12vw; top: -8vw;
  background: radial-gradient(closest-side, rgba(47, 122, 88, .32), rgba(47, 122, 88, 0));
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(32px, 6vw, 112px); align-items: start;
}
.hero-copy { padding-top: clamp(8px, 6vh, 72px); padding-bottom: clamp(24px, 4vw, 56px); max-width: 680px; }
.hero-title { font-size: clamp(40px, 4.6vw, 68px); font-weight: 620; font-stretch: 104%; line-height: 1; letter-spacing: -.028em; text-wrap: balance; }
.hero-lead { margin: 28px 0 36px; max-width: 31em; font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); }

.hero-figure { position: relative; isolation: isolate; z-index: 2; margin-bottom: calc(var(--giant, 24vw) * -.42); }
.hero-photo {
  position: relative; z-index: 1;
  aspect-ratio: 3 / 4; overflow: hidden; border-radius: 999px;
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .8);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.orbit-back { z-index: 0; }
.orbit-front { z-index: 2; }
.orbit ellipse { fill: none; stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.orbit-dot { fill: var(--accent); transform-box: fill-box; transform-origin: center; }

.giant-track {
  position: relative; z-index: 1;
  text-align: center; line-height: .78; white-space: nowrap; pointer-events: none;
}
.giant {
  display: inline-block;
  font-family: var(--font-display); font-weight: 800; font-stretch: 150%;
  font-size: var(--giant, 24vw); line-height: .78; letter-spacing: -.035em;
  color: var(--accent);
  transform: translateY(.04em);
}

/* Stages ticker ----------------------------------------- */
.stages {
  display: flex; align-items: center; gap: 32px;
  padding: 26px 0; border-block: 1px solid var(--line); overflow: hidden;
}
.stages-label {
  flex: none;
  padding-left: max(clamp(16px, 4vw, 40px), calc((100vw - var(--wrap)) / 2 + 40px));
  font-style: italic; font-size: 17px; color: var(--muted);
}
.ticker { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ticker-track {
  display: flex; width: max-content; margin: 0; padding: 0; list-style: none;
  animation: ticker var(--ticker-duration, 60s) linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track li {
  display: flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--font-display); font-weight: 600; font-stretch: 122%; font-size: clamp(20px, 2.1vw, 30px);
  letter-spacing: -.01em; white-space: nowrap;
}
.ticker-track li::after { /* o "giro" como separador */
  content: ""; flex: none; width: 24px; height: 11px;
  border: 1.5px solid var(--accent); border-radius: 50%; transform: rotate(-26deg);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* Ways to learn ----------------------------------------- */
.learn-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.offers { border-bottom: 1px solid var(--line); }
.offer { border-top: 1px solid var(--line); }
.offer-heading { font: inherit; letter-spacing: normal; }
.offer-toggle {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title icon" "note icon";
  align-items: center; gap: 6px 24px;
  width: 100%; padding: 30px 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer;
}
.offer-title {
  grid-area: title;
  font-family: var(--font-display); font-weight: 620; font-stretch: 108%; font-size: clamp(26px, 3vw, 42px);
  line-height: 1.04; letter-spacing: -.02em;
  transition: font-stretch .7s var(--ease);
}
.offer-toggle:hover .offer-title, .offer.is-open .offer-title { font-stretch: 132%; }
.offer-note { grid-area: note; font-style: italic; font-size: 18px; color: var(--muted); }
.offer-icon {
  grid-area: icon; position: relative; width: 46px; height: 46px;
  border: 1.5px solid var(--line); border-radius: 50%;
  transition: transform .6s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.offer-icon::before, .offer-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px;
  background: currentColor; transform: translate(-50%, -50%);
}
.offer-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.offer.is-open .offer-icon { transform: rotate(135deg); background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.offer-panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .65s var(--ease); }
.js .offer:not(.is-open) .offer-panel { grid-template-rows: 0fr; }
.offer-inner { min-height: 0; overflow: hidden; }
.offer-content { max-width: 34rem; padding-bottom: 34px; }
.offer-content p { margin-bottom: 24px; }
.offer-img { display: none; }
.learn-media {
  position: sticky; top: calc(var(--header-h) + 32px);
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-photo);
  background: var(--surface);
}
.learn-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity .8s var(--ease), transform 1.4s var(--ease);
}
.learn-media img.is-active { opacity: 1; transform: none; }

/* About ------------------------------------------------- */
.about-top {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  grid-template-areas: "statement photo" "text photo";
  gap: 40px clamp(40px, 6vw, 104px); align-items: start;
  margin-bottom: clamp(88px, 11vw, 160px);
}
.statement {
  grid-area: statement;
  font-family: var(--font-text); font-weight: 400; font-stretch: normal;
  font-size: clamp(34px, 4.3vw, 60px); line-height: 1.1; letter-spacing: -.018em;
}
.about-photo { grid-area: photo; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-photo); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text { grid-area: text; max-width: 34rem; color: var(--muted); }
.about-text p + p { margin-top: 16px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 104px); align-items: start; }
.person--offset { margin-top: clamp(0px, 11vw, 160px); }
.person-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-photo); margin-bottom: 30px; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.person h3 { font-size: clamp(30px, 3vw, 42px); font-stretch: 116%; line-height: 1.05; }
.person-role { margin: 6px 0 20px; font-style: italic; color: var(--muted); }
.person p:not(.person-role) { max-width: 32rem; margin-bottom: 14px; }
.person .text-link { display: inline-block; margin-top: 8px; }

/* What we do -------------------------------------------- */
.work .section-head { max-width: 58rem; }
.panels { display: flex; gap: 12px; height: clamp(440px, 64vh, 640px); margin: 0; padding: 0; list-style: none; }
.panel {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  border-radius: 28px; cursor: pointer; color: #f2efe6;
  transition: flex-grow .85s var(--ease);
}
.panel.is-active { flex-grow: 3.4; cursor: default; }
.panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.1); filter: saturate(.55) brightness(.72);
  transition: transform 1.4s var(--ease), filter .8s var(--ease);
}
.panel.is-active img, .panel:hover img { transform: none; filter: none; }
.panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(14, 20, 16, .88), rgba(14, 20, 16, 0) 58%);
}
.panel-label {
  position: absolute; z-index: 1; left: 20px; bottom: 26px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--font-display); font-weight: 620; font-stretch: 118%; font-size: 22px; letter-spacing: -.01em;
  transition: opacity .35s;
}
.panel.is-active .panel-label { opacity: 0; }
.panel-body {
  position: absolute; z-index: 1; left: 0; bottom: 0; width: min(100%, 34rem); padding: 32px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .25s, transform .3s;
}
.panel.is-active .panel-body { opacity: 1; transform: none; transition: opacity .6s var(--ease) .25s, transform .8s var(--ease) .25s; }
.panel-body h3 { margin-bottom: 8px; font-size: clamp(28px, 2.6vw, 40px); font-stretch: 122%; line-height: 1.05; }
.panel-body p { font-size: 18px; color: rgba(242, 239, 230, .86); }
.panel:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }

/* Courses & mentoring ----------------------------------- */
.courses-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.products { margin: 0 0 32px; padding: 0; list-style: none; border-bottom: 1px solid var(--line); }
.product {
  display: grid; grid-template-columns: clamp(120px, 15vw, 196px) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px);
  padding: 32px 0; border-top: 1px solid var(--line);
}
.product-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 22px; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.product:hover .product-img img { transform: scale(1.05); }
.product-body { display: flex; flex-direction: column; min-width: 0; }
.product-tag { font-style: italic; font-size: 16px; color: var(--muted); }
.product-title { margin: 4px 0 12px; font-size: clamp(28px, 2.8vw, 40px); font-stretch: 112%; line-height: 1.02; transition: font-stretch .7s var(--ease); }
.product:hover .product-title { font-stretch: 135%; }
.product-text { max-width: 32rem; margin-bottom: 22px; color: var(--muted); }
.product-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; }
.product-price { font-family: var(--font-display); font-weight: 650; font-stretch: 115%; font-size: 26px; line-height: 1; }
.product-price span { display: block; margin-top: 6px; font-family: var(--font-text); font-style: italic; font-weight: 400; font-stretch: normal; font-size: 15px; color: var(--muted); }
.products-all { display: inline-block; }

.mentor {
  position: sticky; top: calc(var(--header-h) + 24px);
  padding: clamp(20px, 2.4vw, 28px); border-radius: var(--radius-photo);
  background: #e6d6c8; color: #17211b;
}
.mentor-photo { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 20px; margin-bottom: 24px; }
.mentor-photo img { width: 100%; height: 100%; object-fit: cover; }
.mentor-label { font-style: italic; color: #5d5249; }
.mentor-title { margin: 2px 0 14px; font-size: clamp(34px, 3.4vw, 50px); font-weight: 700; font-stretch: 135%; line-height: .98; letter-spacing: -.03em; }
.mentor-text { margin-bottom: 20px; }
.mentor-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.mentor-facts li { padding: 6px 14px; border: 1.5px solid rgba(23, 33, 27, .25); border-radius: 999px; font-family: var(--font-display); font-weight: 550; font-size: 14.5px; }
.mentor-cta {
  display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px;
  border-radius: 999px; background: #17211b; color: #e6d6c8;
  font: 600 16px/1.1 var(--font-display); font-stretch: 112%; text-align: center; text-decoration: none;
  transition: transform .45s var(--ease), background-color .3s;
}
.mentor-cta:hover { transform: translateY(-2px); background: #1e4a3a; }
.mentor :focus-visible { outline-color: #17211b; }

/* Calendar ---------------------------------------------- */
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cal-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: 36px; }
.cal-head .section-head { margin-bottom: 0; }
.next-stop { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin-bottom: 28px; padding: 18px 0; border-block: 1px solid var(--line); }
.next-label { font-style: italic; color: var(--muted); }
.next-event { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.next-event strong { font-family: var(--font-display); font-weight: 650; font-stretch: 118%; font-size: clamp(20px, 2vw, 26px); transition: font-stretch .6s var(--ease); }
.next-event:hover strong { font-stretch: 140%; }
.next-event span { color: var(--muted); }
.cal-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.cal-index { display: flex; gap: 6px; min-width: 0; overflow-x: auto; padding: 4px 2px; scrollbar-width: none; }
.cal-index::-webkit-scrollbar { display: none; }
.cal-chip {
  position: relative; flex: none; padding: 8px 13px;
  border: 1.5px solid var(--line); border-radius: 999px; background: transparent; color: inherit;
  font: 550 14.5px/1 var(--font-display); cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.cal-chip small { margin-left: 3px; font-size: 11px; color: var(--muted); }
.cal-chip.has-events::after { content: ""; position: absolute; top: 4px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.cal-chip:hover { border-color: var(--fg); }
.cal-chip[aria-current="true"] { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.cal-chip[aria-current="true"] small { color: inherit; opacity: .7; }
.cal-arrows { display: flex; flex: none; gap: 8px; }
.cal-arrow {
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1.5px solid var(--line); border-radius: 50%; background: transparent; color: inherit; cursor: pointer;
  transition: background-color .3s, border-color .3s;
}
.cal-arrow:hover { border-color: var(--fg); background: color-mix(in srgb, var(--fg) 6%, transparent); }

.months {
  --edge: max(clamp(16px, 4vw, 40px), calc((100vw - var(--wrap)) / 2 + clamp(16px, 4vw, 40px)));
  position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 27vw, 340px); gap: 16px; align-items: start;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge);
  padding: 4px var(--edge) 20px;
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.months:focus-visible { outline-offset: -2px; }
.month { scroll-snap-align: start; padding: 24px 22px 14px; border-radius: 28px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.month-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.month-name { font-size: 30px; font-weight: 650; font-stretch: 120%; line-height: 1; letter-spacing: -.02em; }
.month-year { font-style: italic; color: var(--muted); }
.month-count { margin: 6px 0 16px; font-style: italic; font-size: 15px; color: var(--muted); }
.weekends { margin: 0; padding: 0; list-style: none; }
.wk {
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 10px;
  margin: 0 -10px; padding: 14px 10px; border-top: 1px solid var(--line);
}
.wk-date { font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.3; }
.wk-body { min-width: 0; }
.wk-open { font-style: italic; font-size: 16px; line-height: 1.3; color: var(--muted); }
.wk-invite {
  display: inline-block; margin-top: 2px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.wk-invite:hover { color: var(--accent); }
.wk.is-booked { border-top-color: transparent; border-radius: 18px; background: var(--btn-bg); color: var(--btn-fg); }
.wk.is-booked + .wk { border-top-color: transparent; }
.wk-event + .wk-event { margin-top: 12px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, currentColor 20%, transparent); }
.wk-name { font-family: var(--font-display); font-weight: 650; font-size: 17px; line-height: 1.2; }
.wk-place { font-size: 15px; line-height: 1.35; opacity: .8; }
.wk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 8px; font-size: 13.5px; }
.wk-who { padding: 2px 9px; border-radius: 999px; background: color-mix(in srgb, currentColor 14%, transparent); font-family: var(--font-display); font-weight: 550; }
.wk-range { font-style: italic; opacity: .75; }
.wk-link { font-family: var(--font-display); font-weight: 600; text-underline-offset: 3px; }
.wk.is-past { opacity: .45; }

/* Language switch --------------------------------------- */
.lang { display: inline-flex; flex: none; padding: 3px; border: 1.5px solid var(--line); border-radius: 999px; }
.lang button {
  min-width: 38px; height: 30px; padding: 0 8px; border: 0; border-radius: 999px;
  background: transparent; color: var(--muted);
  font: 600 13px/1 var(--font-display); letter-spacing: .02em; cursor: pointer;
  transition: background-color .3s, color .3s;
}
.lang button:hover { color: var(--fg); }
.lang button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

/* Watch ------------------------------------------------- */
.watch-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; margin-bottom: 56px; }
.player-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 28px; background: #000; view-transition-name: player; }
.player-frame img, .player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.player-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border: 0; background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 60%); color: inherit; cursor: pointer;
}
.player-play span {
  display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 28px 0 22px;
  border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg);
  font: 600 17px/1 var(--font-display); font-stretch: 115%;
  transition: transform .5s var(--ease), font-stretch .5s var(--ease);
}
.player-play:hover span { transform: scale(1.05); font-stretch: 135%; }
.player-play svg { width: 18px; height: 18px; fill: currentColor; }
.player-caption { margin-top: 22px; }
.player-caption h3 { font-size: clamp(22px, 2vw, 28px); font-stretch: 115%; }
.player-caption p { color: var(--muted); }
.playlist { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.playlist button {
  display: grid; grid-template-columns: 136px minmax(0, 1fr); align-items: center; gap: 18px;
  width: 100%; padding: 10px; border: 0; border-radius: 22px;
  background: transparent; color: inherit; text-align: left; cursor: pointer;
  transition: background-color .3s;
}
.playlist button:hover, .playlist button[aria-current="true"] { background: var(--surface); }
.playlist img { width: 136px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; transition: transform .5s var(--ease); }
.playlist button:hover img { transform: scale(1.04); }
.playlist strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 17px; line-height: 1.25; }
.playlist span { display: block; margin-top: 2px; font-size: 15px; line-height: 1.35; color: var(--muted); }
::view-transition-old(player), ::view-transition-new(player) { animation-duration: .5s; animation-timing-function: var(--ease); }

/* Contact ----------------------------------------------- */
.contact-title {
  display: grid; margin-bottom: clamp(48px, 6vw, 88px);
  font-weight: 800; font-stretch: 150%; font-size: var(--fit, clamp(72px, 17vw, 250px));
  line-height: .84; letter-spacing: -.035em; color: var(--accent); white-space: nowrap;
}
.contact-title span:last-child { justify-self: end; }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px 64px;
  padding-bottom: 48px; margin-bottom: 40px; border-bottom: 1px solid var(--line);
}
.contact-lead { max-width: 30rem; font-size: clamp(20px, 1.8vw, 25px); line-height: 1.45; }
.contact-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.contact-details dt { font-style: italic; font-size: 16px; color: var(--muted); }
.contact-details dd { margin-top: 4px; font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.5vw, 21px); overflow-wrap: anywhere; }
.contact-details a { text-decoration: none; cursor: pointer; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); }
.contact-details a:hover { background-size: 100% 1.5px; }

/* Footer ------------------------------------------------ */
.footer { padding: 80px 0 40px; }
.footer-brand { margin-bottom: 44px; font-family: var(--font-display); font-weight: 700; font-stretch: 140%; font-size: clamp(34px, 5vw, 64px); line-height: 1; letter-spacing: -.025em; }
.footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 64px; padding-bottom: 36px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer-cols nav, .footer-cols ul { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; list-style: none; }
.footer-cols a { font-family: var(--font-display); font-weight: 550; font-size: 16px; text-decoration: none; color: var(--muted); transition: color .3s; }
.footer-cols a:hover { color: var(--fg); }
.footer-legal { font-size: 15px; color: var(--muted); }

/* Motion ------------------------------------------------ */
@media (prefers-reduced-motion: no-preference) {
  /* Esconde a abertura até as fontes carregarem (máx. 1,4 s) */
  .js:not(.is-ready) .hero-copy,
  .js:not(.is-ready) .hero-figure,
  .js:not(.is-ready) .giant { opacity: 0; }

  .is-ready .giant { animation: stretch 2.1s var(--ease) .1s both; }
  .is-ready .hero-photo { animation: unveil 1.4s var(--ease-in-out) .2s both; }
  .is-ready .hero-photo img { animation: settle 2s var(--ease) .2s both; }
  .is-ready .orbit ellipse { animation: draw 1.8s var(--ease) .95s both; }
  .is-ready .orbit-dot { animation: pop .6s var(--ease) 2.5s both; }
  .is-ready .hero-copy > * { animation: rise 1s var(--ease) both; }
  .is-ready .hero-copy > :nth-child(1) { animation-delay: .45s; }
  .is-ready .hero-copy > :nth-child(2) { animation-delay: .6s; }
  .is-ready .hero-copy > :nth-child(3) { animation-delay: .75s; }

  @keyframes stretch {
    0% { font-stretch: 50%; opacity: 0; }
    20% { opacity: 1; }
    100% { font-stretch: 150%; }
  }
  @keyframes unveil {
    from { clip-path: inset(100% 0 0 0 round 999px); }
    to { clip-path: inset(0 0 0 0 round 999px); }
  }
  @keyframes settle { from { transform: scale(1.18); } }
  @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes pop { from { opacity: 0; transform: scale(0); } }
  @keyframes rise { from { opacity: 0; transform: translateY(26px); } }

  /* Efeitos ligados à rolagem (navegadores compatíveis) */
  @supports (animation-timeline: view()) {
    .giant-track { animation: drift linear both; animation-timeline: scroll(root block); animation-range: 0 100vh; }
    .contact-title { animation: pull linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .unveil { animation: unveil-scroll linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    @keyframes drift { to { transform: translateX(-9%); } }
    @keyframes pull { from { font-stretch: 55%; } to { font-stretch: 150%; } }
    @keyframes unveil-scroll {
      from { clip-path: inset(22% 0 0 0 round var(--radius-photo)); transform: translateY(48px); }
      to { clip-path: inset(0 0 0 0 round var(--radius-photo)); transform: none; }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { transition: none; }
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; row-gap: 8px; }
  .ticker-track li[aria-hidden="true"] { display: none; }
  .ticker { -webkit-mask-image: none; mask-image: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Responsive -------------------------------------------- */
@media (max-width: 1240px) {
  .header-cta { display: none; }
  .nav { gap: 22px; }
}

@media (max-width: 960px) {
  .nav, .header-cta, .header-lang { display: none; }
  .courses-grid { grid-template-columns: 1fr; }
  .mentor { position: static; max-width: 560px; }
  .menu-toggle { display: inline-flex; }

  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { padding-top: 8px; }
  .hero-figure { width: min(72%, 360px); justify-self: end; margin-right: 8%; }

  .learn-grid { grid-template-columns: 1fr; }
  .learn-media { display: none; }
  .offer-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; margin-bottom: 22px; }

  .watch-grid { grid-template-columns: 1fr; }
}

@media (min-width: 961px) {
  .menu { display: none; }
}

@media (max-width: 800px) {
  .stages { flex-direction: column; align-items: stretch; gap: 14px; padding: 22px 0; }
  .stages-label { padding-left: clamp(16px, 4vw, 40px); }

  .about-top { grid-template-columns: 1fr; grid-template-areas: "statement" "photo" "text"; }
  .about-photo { aspect-ratio: 4 / 3; }
  .duo { grid-template-columns: 1fr; gap: 72px; }
  .person--offset { margin-top: 0; }

  .panels { flex-direction: column; height: auto; }
  .panel { flex: none; height: 320px; cursor: default; }
  .panel img { transform: none; filter: none; }
  .panel-label { display: none; }
  .panel-body { opacity: 1; transform: none; }

  .cal-head { flex-direction: column; align-items: stretch; }
  .months { grid-auto-columns: min(82vw, 340px); }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-details { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 18px; }
  .header-inner { gap: 12px; }
  .brand { font-size: 18px; font-stretch: 118%; }
  .menu-toggle { padding-left: 14px; gap: 10px; }
  .hero-figure { width: 76%; margin-right: 6%; }
  .actions .btn, .cal-head > .btn { flex: 1 1 100%; }
  .product { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 26px 0; }
  .product-img { border-radius: 16px; }
  .cal-arrows { display: none; }
  .playlist button { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
  .playlist img { width: 112px; }
  .footer-cols { flex-direction: column; }
}
