/* ==========================================================================
   Language Bridge | Teacher Claudinha
   Editorial navy / orange / warm-white system
   ========================================================================== */

:root {
  --navy: #08264b;
  --navy-deep: #061b35;
  --navy2: var(--navy-deep);
  --navy-soft: #123c68;
  --blue: #123c68;
  --sky: #edf5f7;
  --orange: #ff6416;
  --orange-dark: #da4c0b;
  --cream: #f9f7f2;
  --cream-deep: #f1ede5;
  --white: #ffffff;
  --ink: #10253e;
  --text: var(--ink);
  --muted: #5f6f7f;
  --muted-light: #8e9bab;
  --line: #dfe5e9;
  --line-dark: rgba(8, 38, 75, 0.2);
  --shadow-sm: 0 10px 28px rgba(8, 38, 75, 0.08);
  --shadow-md: 0 20px 55px rgba(8, 38, 75, 0.12);
  --shadow-lg: 0 32px 90px rgba(8, 38, 75, 0.16);
  --shadow: var(--shadow-md);
  --radius-sm: 7px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Reset and foundations -------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--white);
  color: var(--ink);
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
textarea,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: inherit;
}

p,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--navy);
  font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

h1 {
  font-size: clamp(2.75rem, 6.4vw, 4.75rem);
}

h2 {
  font-size: clamp(2.25rem, 4.4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p {
  color: var(--muted);
}

strong,
b {
  font-weight: 800;
}

::selection {
  background: rgba(255, 100, 22, 0.22);
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid rgba(255, 100, 22, 0.55);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

/* Shared layout and accessibility -------------------------------------- */

.container {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 6px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.section {
  padding: 96px 0;
}

.section-soft,
.cream {
  background: var(--cream);
}

.sky {
  background: var(--sky);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.section-head > * {
  min-width: 0;
}

.section-title {
  max-width: 710px;
}

.section-intro {
  max-width: 385px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.section-navy .section-title,
.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-navy .section-intro,
.section-navy p {
  color: rgba(255, 255, 255, 0.7);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow-light::before {
  background: var(--orange);
}

/* Buttons, links and form controls ------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  box-shadow: 0 12px 24px rgba(255, 100, 22, 0.2);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
  box-shadow: 0 16px 28px rgba(255, 100, 22, 0.28);
}

.btn-secondary {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background: var(--cream);
  color: var(--navy);
}

.btn-small {
  min-height: 38px;
  padding: 9px 14px;
  font-size: 0.7rem;
}

.btn svg,
.text-link svg,
.card-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.8;
}

.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  transition: gap 180ms var(--ease), color 180ms var(--ease);
}

.text-link:hover,
.card-link:hover {
  gap: 12px;
  color: var(--orange);
}

.text-link-light {
  color: var(--white);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 13px 15px;
  font-size: 0.88rem;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-light);
}

/* Header / navigation --------------------------------------------------- */

header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(8, 38, 75, 0.1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  color: var(--navy);
}

.brand img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 0.84rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.25;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 27px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-shop {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav-shop svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.7;
}

.cart-count {
  display: inline-grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  padding: 0 5px;
  border-radius: 20px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.6rem;
  line-height: 1;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--navy);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
  content: "";
  transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Backwards-compatible original shell --------------------------------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
}

.logo-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--orange);
  border-radius: 50%;
}

.logo-mark::after {
  width: 23px;
  height: 10px;
  border: 1px solid var(--navy-soft);
  border-radius: 50%;
  content: "";
}

.logo small {
  display: block;
  color: var(--muted);
  font-size: 0.52rem;
  letter-spacing: 0.16em;
}

.logo em {
  color: var(--orange);
  font-style: normal;
}

nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

/* Homepage hero --------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 74px;
  background: var(--cream);
}

.hero::before {
  position: absolute;
  top: -220px;
  right: -180px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(8, 38, 75, 0.08);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  display: grid;
  position: relative;
  grid-template-columns: minmax(0, 1.04fr) minmax(400px, 0.96fr);
  align-items: center;
  gap: clamp(48px, 8vw, 116px);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 100, 22, 0.13);
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3rem, 7.5vw, 4.75rem);
  line-height: 0.99;
}

.hero h1 .accent,
.hero h1 span {
  color: var(--orange);
}

.hero-description {
  max-width: 520px;
  margin: 28px 0 31px;
  color: var(--muted);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  margin-top: 37px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 37px;
}

.stat {
  min-width: 92px;
  padding-right: 25px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat b {
  display: block;
  color: var(--navy);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 1.05rem;
}

.stat small {
  color: var(--muted);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-item {
  display: grid;
  gap: 2px;
}

.proof-item b {
  color: var(--navy);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
}

.proof-item small {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-visual {
  position: relative;
  min-height: 495px;
}

.hero-visual::before {
  position: absolute;
  top: 8%;
  right: -18%;
  bottom: 2%;
  left: 5%;
  border-radius: 48% 52% 43% 57% / 42% 37% 63% 58%;
  background: var(--navy);
  content: "";
  transform: rotate(-7deg);
}

.hero-visual::after {
  position: absolute;
  top: 20%;
  right: -3%;
  width: 170px;
  height: 170px;
  border: 1px solid rgba(255, 100, 22, 0.55);
  border-radius: 50%;
  content: "";
}

.hero-orbit {
  display: grid;
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(310px, 58vw);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.hero-orbit::before {
  inset: 20px;
}

.hero-orbit::after {
  inset: -24px;
  border-color: rgba(255, 100, 22, 0.45);
}

.hero-orbit img {
  position: relative;
  z-index: 2;
  width: min(236px, 46vw);
  aspect-ratio: 1;
  border: 14px solid var(--white);
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.floating-note {
  display: flex;
  position: absolute;
  z-index: 4;
  align-items: center;
  gap: 10px;
  max-width: 180px;
  padding: 11px 13px;
  border: 1px solid rgba(8, 38, 75, 0.09);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-md);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1.35;
}

.floating-note svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: var(--orange);
  stroke: currentColor;
}

.note-top {
  top: 11%;
  right: -1%;
  transform: rotate(4deg);
}

.note-bottom {
  bottom: 11%;
  left: 1%;
  transform: rotate(-4deg);
}

.hero-caption {
  position: absolute;
  right: 3%;
  bottom: -9px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card {
  display: grid;
  min-height: 360px;
  place-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(8, 38, 75, 0.15);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
  transform: rotate(2deg);
}

.hero-card-inner {
  display: grid;
  width: 70%;
  height: 70%;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  text-align: center;
}

.journey-strip {
  border-top: 1px solid rgba(8, 38, 75, 0.12);
  background: var(--white);
}

.journey-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  overflow: hidden;
}

.journey-inner span {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.journey-inner span::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 10px 2px 0;
  border-radius: 50%;
  background: var(--orange);
  content: "";
}

/* Courses --------------------------------------------------------------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: transparent;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.filter-btn:hover,
.filter-btn.is-active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.course-card {
  display: flex;
  min-height: 355px;
  flex-direction: column;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}

.course-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.course-card-featured {
  border-color: var(--orange);
  background: var(--navy);
  color: var(--white);
}

.course-card-featured h3,
.course-card-featured .course-title,
.course-card-featured .course-description,
.course-card-featured .course-category {
  color: var(--white);
}

.course-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 28px;
}

.course-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 11px;
  background: var(--cream);
  color: var(--orange);
}

.course-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.7;
}

.course-card-featured .course-icon {
  background: rgba(255, 100, 22, 0.17);
}

.course-category,
.course-number {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.course-number {
  color: var(--orange);
}

.course-title {
  margin-bottom: 12px;
  color: var(--navy);
}

.course-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.course-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 25px;
}

.tag {
  display: inline-block;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 800;
}

.course-card-featured .tag {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.74);
}

.course-card .card-link {
  margin-top: 22px;
}

.course-card-featured .card-link {
  color: var(--white);
}

/* Original card aliases ------------------------------------------------- */

.card {
  display: flex;
  min-height: 290px;
  flex-direction: column;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.card.dark,
.card.blue {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.card.sky {
  background: #edf5f7;
}

.card-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 27px;
  place-items: center;
  border-radius: 11px;
  background: var(--orange);
  color: var(--white);
}

.card p {
  color: var(--muted);
}

.card.dark p,
.card.blue p {
  color: rgba(255, 255, 255, 0.72);
}

.card.dark .card-link,
.card.blue .card-link {
  color: var(--white);
}

/* Method --------------------------------------------------------------- */

.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(45px, 7vw, 90px);
}

.method-story {
  position: relative;
  min-height: 410px;
  overflow: hidden;
  padding: clamp(32px, 5vw, 55px);
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: var(--white);
}

.method-story::before {
  position: absolute;
  right: -100px;
  bottom: -135px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 100, 22, 0.45);
  border-radius: 50%;
  content: "";
}

.method-story h3,
.method-story p {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.method-story p {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.72);
}

.quote-mark {
  margin-bottom: 22px;
  color: var(--orange);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.65;
}

.method-quote {
  max-width: 480px;
  margin: 0 0 31px;
  color: var(--white);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: clamp(1.45rem, 2.7vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.14;
}

.teacher-sign {
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.7rem;
  font-weight: 800;
}

.teacher-sign::before {
  width: 30px;
  height: 1px;
  background: var(--orange);
  content: "";
}

.method-copy > p {
  max-width: 520px;
}

.number-list {
  display: grid;
  gap: 0;
  margin: 35px 0 0;
  padding: 0;
  list-style: none;
}

.number-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 15px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}

.number-item > b {
  color: var(--orange);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 0.78rem;
}

.number-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
  font-size: 0.91rem;
}

.number-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* Original method aliases ---------------------------------------------- */

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 70px;
}

.method-art {
  display: grid;
  min-height: 390px;
  place-items: center;
  padding: 45px;
  border-radius: var(--radius-lg);
  background: var(--cream);
}

.method-screen {
  display: flex;
  width: 90%;
  height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  background: var(--navy);
  box-shadow: var(--shadow-md);
  color: var(--white);
  text-align: center;
}

.method-screen .tc {
  display: grid;
  width: 84px;
  height: 84px;
  margin-bottom: 25px;
  place-items: center;
  border: 1px solid var(--orange);
  border-radius: 50%;
  font-size: 25px;
  font-weight: 900;
}

/* Materials / shop ------------------------------------------------------ */

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}

.material-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}

.material-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.material-cover {
  display: flex;
  min-height: 235px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: var(--navy);
  color: var(--white);
}

.cover-orange {
  background: var(--orange);
}

.cover-blue {
  background: var(--navy-soft);
}

.cover-cream {
  background: var(--cream-deep);
  color: var(--navy);
}

.cover-label {
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.cover-title {
  max-width: 250px;
  color: inherit;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 0.98;
}

.cover-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.material-body {
  padding: 22px 24px 25px;
}

.material-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(255, 100, 22, 0.12);
  color: var(--orange-dark);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.badge-upcoming {
  background: rgba(8, 38, 75, 0.1);
  color: var(--navy);
}

.material-title {
  margin-bottom: 9px;
  font-size: 1.17rem;
}

.material-description {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.81rem;
}

.material-price {
  color: var(--navy);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.material-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.store-note {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

/* Product detail -------------------------------------------------------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.breadcrumb a:hover {
  color: var(--orange);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(38px, 8vw, 100px);
}

.detail-cover {
  position: sticky;
  top: 120px;
  min-height: 450px;
  border-radius: var(--radius-lg);
  background: var(--navy);
}

.detail-cover .material-cover {
  min-height: 450px;
  border-radius: inherit;
}

.detail-info h1 {
  max-width: 620px;
  margin-bottom: 17px;
  font-size: clamp(2.3rem, 5vw, 4rem);
}

.detail-info > p {
  max-width: 570px;
  margin-bottom: 26px;
}

.product-list {
  display: grid;
  gap: 0;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.product-list li {
  display: flex;
  gap: 11px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.product-list li::before {
  color: var(--orange);
  content: "✓";
  font-weight: 900;
}

.purchase-panel {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream);
}

.purchase-panel .material-price {
  margin-bottom: 16px;
}

.purchase-panel .btn {
  width: 100%;
}

/* CTA ------------------------------------------------------------------- */

.cta-section,
.orange-cta {
  position: relative;
  overflow: hidden;
  background: var(--orange);
  color: var(--white);
}

.cta-section::after,
.orange-cta::after {
  position: absolute;
  top: -150px;
  right: -120px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 50%;
  content: "";
}

.cta-inner {
  display: flex;
  position: relative;
  z-index: 1;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
}

.cta-copy {
  max-width: 680px;
}

.cta-copy h2,
.orange-cta h2 {
  color: var(--white);
}

.cta-copy p {
  max-width: 510px;
  margin: 21px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.orange-cta {
  padding: 90px 20px;
  text-align: center;
}

.orange-cta h2 {
  max-width: 800px;
  margin: auto;
}

.orange-cta h2 span {
  color: var(--navy);
}

/* FAQ ------------------------------------------------------------------- */

.faq-grid,
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(45px, 8vw, 100px);
}

.faq-grid > div:first-child {
  position: sticky;
  top: 120px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 0;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--orange);
  content: "+";
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}

.faq-item[open] summary::after {
  background: var(--orange);
  color: var(--white);
  content: "−";
  transform: rotate(180deg);
}

.faq-item summary p {
  margin: 0;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.faq-item > p {
  max-width: 650px;
  margin: -4px 45px 22px 0;
  color: var(--muted);
  font-size: 0.84rem;
}

/* Contact ---------------------------------------------------------------- */

.contact,
.contact-section {
  background: var(--navy);
  color: var(--white);
}

.contact {
  margin: 0 auto;
  padding: 45px;
  border-radius: var(--radius-lg);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 8vw, 95px);
}

.contact-copy h2,
.contact-copy h3 {
  color: var(--white);
}

.contact-copy > p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-options {
  display: grid;
  gap: 0;
  margin-top: 32px;
}

.contact-option {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-option svg {
  width: 22px;
  height: 22px;
  color: var(--orange);
  stroke: currentColor;
  stroke-width: 1.7;
}

.contact-option strong {
  display: block;
  margin-bottom: 3px;
  color: var(--white);
  font-size: 0.8rem;
}

.contact-option p {
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.76rem;
}

.contact .btn-secondary {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.contact .btn-secondary:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

/* Course detail pages --------------------------------------------------- */

.course-hero {
  overflow: hidden;
  padding: 79px 0 68px;
  background: var(--navy);
  color: var(--white);
}

.course-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(45px, 8vw, 100px);
}

.course-hero h1 {
  max-width: 680px;
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
}

.course-hero h1 .accent,
.course-hero h1 span {
  color: var(--orange);
}

.course-hero p {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.72);
}

.course-art {
  display: grid;
  position: relative;
  min-height: 360px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.06);
}

.course-art::before {
  position: absolute;
  width: 255px;
  height: 255px;
  border: 1px solid rgba(255, 100, 22, 0.72);
  border-radius: 50%;
  content: "";
}

.course-art img {
  position: relative;
  z-index: 1;
  width: 240px;
  height: 240px;
  padding: 12px;
  border-radius: 50%;
  background: var(--white);
  object-fit: contain;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.quickfacts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.fact {
  padding: 0 25px;
  border-right: 1px solid var(--line);
}

.fact:first-child {
  padding-left: 0;
}

.fact:last-child {
  border-right: 0;
}

.fact b {
  display: block;
  color: var(--navy);
  font-size: 1.1rem;
}

.fact small {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: start;
  gap: clamp(45px, 8vw, 90px);
}

.two-col h2 {
  max-width: 470px;
}

.checklist {
  display: grid;
  gap: 0;
}

.checklist div {
  padding: 12px 0 12px 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.87rem;
}

.checklist div::before {
  margin-left: -26px;
  margin-right: 12px;
  color: var(--orange);
  content: "✓";
  font-weight: 900;
}

.three-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.mini-card {
  min-height: 190px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.mini-card b {
  display: block;
  margin-bottom: 25px;
  color: var(--orange);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.81rem;
}

.program {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(45px, 8vw, 70px);
}

.program-row {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr);
  gap: 12px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.program-row b {
  color: var(--orange);
  font-size: 0.78rem;
}

.program-row strong {
  display: block;
  margin-bottom: 5px;
  color: var(--navy);
}

.program-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.course-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 60px;
}

/* Checkout and cart ----------------------------------------------------- */

.page-heading {
  padding: 68px 0 48px;
  background: var(--cream);
}

.page-heading h1 {
  max-width: 740px;
}

.page-heading p {
  max-width: 570px;
  margin: 17px 0 0;
}

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: start;
  gap: 36px;
}

.cart-items,
.checkout-list {
  display: grid;
  gap: 13px;
}

.cart-item,
.checkout-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}

.cart-item > img {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  background: var(--cream);
  object-fit: contain;
}

.cart-item-info h3,
.checkout-card h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.cart-item-info p,
.checkout-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.cart-quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.quantity-button {
  width: 29px;
  height: 29px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font-weight: 800;
}

.cart-quantity span {
  min-width: 27px;
  color: var(--navy);
  font-size: 0.77rem;
  font-weight: 800;
  text-align: center;
}

.cart-remove {
  margin-top: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  text-decoration: underline;
}

.cart-remove:hover {
  color: var(--orange);
}

.cart-summary,
.checkout-note,
.checkout-status {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream);
}

.cart-summary {
  position: sticky;
  top: 120px;
}

.cart-summary h2,
.checkout-note h2 {
  margin-bottom: 20px;
  font-size: 1.35rem;
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.summary-row + .summary-row {
  border-top: 1px solid var(--line);
}

.checkout-total {
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 900;
}

.checkout-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.checkout-actions .btn {
  flex: 1 1 180px;
}

.empty-state {
  padding: 65px 25px;
  border: 1px dashed var(--line-dark);
  border-radius: var(--radius-md);
  background: var(--cream);
  text-align: center;
}

.empty-state h2 {
  margin-bottom: 9px;
  font-size: 1.5rem;
}

.empty-state p {
  max-width: 420px;
  margin: 0 auto 22px;
}

.checkout-card {
  grid-template-columns: minmax(0, 1fr) auto;
}

.checkout-card strong {
  color: var(--navy);
  font-size: 0.87rem;
}

.checkout-note {
  margin-top: 18px;
  background: var(--white);
}

.checkout-status {
  margin-top: 18px;
  border-color: rgba(255, 100, 22, 0.26);
  background: rgba(255, 100, 22, 0.08);
}

.checkout-status strong {
  color: var(--navy);
}

/* Toast ----------------------------------------------------------------- */

.toast {
  display: flex;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  max-width: min(390px, calc(100vw - 44px));
  align-items: center;
  gap: 13px;
  padding: 14px 17px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: var(--navy);
  box-shadow: var(--shadow-lg);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Footer ---------------------------------------------------------------- */

.footer,
footer {
  padding: 65px 0 24px;
  background: var(--navy-deep);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.8fr));
  gap: 48px;
  padding-bottom: 53px;
}

.footer-brand .brand-text strong,
.footer-brand .brand-text small {
  color: var(--white);
}

.footer-brand p {
  max-width: 270px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links h4 {
  margin: 0 0 10px;
  color: var(--white);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 0.76rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  transition: color 180ms var(--ease);
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.65rem;
}

.social-link {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.social-link:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}

.social-link svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 1.7;
}

footer p,
footer a {
  color: rgba(255, 255, 255, 0.6);
}

footer h4 {
  margin: 0 0 14px;
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1100px) {
  .container {
    width: min(100% - 48px, 980px);
  }

  .nav-links {
    gap: 17px;
  }

  .hero-grid,
  .course-hero-grid {
    gap: 50px;
  }

  .hero-visual {
    min-height: 440px;
  }
}

@media (max-width: 900px) {
  .section {
    padding: 75px 0;
  }

  .nav {
    min-height: 78px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 24px;
    left: 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-md);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link,
  .nav-shop {
    padding: 13px 12px;
  }

  .nav-link::after {
    right: 12px;
    bottom: 6px;
    left: 12px;
  }

  .hero-grid,
  .method-grid,
  .detail-grid,
  .contact-grid,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    width: min(100%, 600px);
    min-height: 470px;
    margin-inline: auto;
  }

  .materials-grid,
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .detail-cover {
    position: relative;
    top: auto;
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .cart-summary {
    position: relative;
    top: auto;
  }

  .faq-grid,
  .faq,
  .course-faq,
  .program {
    grid-template-columns: 1fr;
  }

  .faq-grid > div:first-child {
    position: static;
  }

  .three-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 36px, 560px);
  }

  .section {
    padding: 62px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 30px;
  }

  .section-intro,
  .section-head .section-intro {
    margin-top: 17px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand-text strong {
    font-size: 0.75rem;
  }

  .hero {
    padding: 61px 0 50px;
  }

  .hero h1,
  .course-hero h1 {
    font-size: clamp(2.75rem, 14vw, 4rem);
  }

  .hero-description {
    margin: 22px 0 26px;
    font-size: 0.9rem;
  }

  .hero-proof {
    gap: 17px;
    margin-top: 28px;
  }

  .hero-visual {
    min-height: 355px;
  }

  .hero-visual::before {
    top: 8%;
    right: -15%;
    bottom: 2%;
    left: 1%;
  }

  .hero-orbit {
    width: min(230px, 60vw);
  }

  .hero-orbit img {
    width: min(174px, 46vw);
    border-width: 9px;
  }

  .floating-note {
    max-width: 145px;
    padding: 9px 10px;
    font-size: 0.58rem;
  }

  .note-top {
    top: 4%;
    right: -1%;
  }

  .note-bottom {
    bottom: 3%;
    left: -1%;
  }

  .hero-caption {
    right: 0;
    bottom: -3px;
    font-size: 0.48rem;
  }

  .journey-inner {
    min-height: 64px;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .journey-inner::-webkit-scrollbar {
    display: none;
  }

  .course-grid,
  .materials-grid,
  .three-cards {
    grid-template-columns: 1fr;
  }

  .course-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .course-card,
  .card {
    min-height: 0;
  }

  .method-story {
    min-height: 360px;
  }

  .method,
  .method-grid {
    gap: 36px;
  }

  .method-art {
    min-height: 280px;
    padding: 27px;
  }

  .method-screen {
    height: 200px;
  }

  .cta-inner {
    display: block;
  }

  .cta-actions {
    margin-top: 28px;
  }

  .faq-item summary {
    padding: 18px 0;
  }

  .faq-item summary p {
    font-size: 0.82rem;
  }

  .faq-item > p {
    margin-right: 0;
  }

  .contact {
    padding: 29px 23px;
  }

  .contact-grid {
    gap: 30px;
  }

  .course-hero {
    padding: 61px 0 53px;
  }

  .course-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .course-art {
    min-height: 280px;
  }

  .course-art img {
    width: 190px;
    height: 190px;
  }

  .quickfacts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .fact {
    padding: 13px 13px 13px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact:nth-child(even) {
    padding-left: 13px;
    border-left: 1px solid var(--line);
  }

  .fact:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .two-col,
  .program {
    gap: 34px;
  }

  .page-heading {
    padding: 52px 0 36px;
  }

  .cart-item,
  .checkout-card {
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 13px;
  }

  .cart-item > img {
    width: 66px;
    height: 66px;
  }

  .cart-item > .cart-quantity,
  .checkout-card > strong {
    grid-column: 2;
    justify-self: start;
  }

  .cart-summary,
  .checkout-note,
  .checkout-status {
    padding: 20px;
  }

  .checkout-actions .btn {
    flex-basis: 100%;
  }

  .footer,
  footer {
    padding-top: 52px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 22px;
    padding-bottom: 38px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Ajustes finais compatíveis com o HTML efetivamente entregue. */
.accent { color: var(--orange); }
.hero h1 { font-size: clamp(2.75rem, 4.4vw, 3.5rem); line-height: 1.06; }
.cta-section { padding: 80px 0; }
#contact.section-soft .contact-copy h2,
#contact.section-soft .contact-copy h3,
#contact.section-soft .contact-option strong { color: var(--navy); }
#contact.section-soft .contact-copy > p,
#contact.section-soft .contact-option p { color: var(--muted); }
#contact.section-soft .contact-copy > .eyebrow { color: var(--orange); }
#contact.section-soft .contact-option { grid-template-columns: 28px minmax(0, 1fr) 24px; border-color: var(--line); }
.course-hero .btn-secondary { color: var(--white); border-color: rgba(255,255,255,.6); }
.course-hero .btn-secondary:hover { background: var(--white); color: var(--navy); }
.contact h2,
.contact h3 { color: var(--white); }
.contact p,
.contact .checklist div { color: #d8e4ee; }
.nav-toggle::before,
.nav-toggle::after { display: none; }
.nav-toggle svg { width: 22px; height: 22px; }
.cart-item,
.checkout-card { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 24px; }
.cart-item-title { font-size: 1.15rem; }
.cart-item p,
.checkout-card p { margin: 0; }
.cart-quantity { width: max-content; align-items: center; gap: 8px; padding: 4px; flex-wrap: wrap; }
.cart-quantity-input { width: 56px; padding: 5px; text-align: center; }
.cart-remove { margin-left: 8px; }
.cart-summary h2 { font-size: 1.65rem; line-height: 1.2; }
.cart-summary .btn { width: 100%; }
.checkout-notice { margin-bottom: 22px; }
.material-actions { flex-wrap: wrap; }
.material-actions .text-link { flex-basis: 100%; margin-bottom: 4px; }
.detail-info .tags { margin: 18px 0 26px; }
.material-price { overflow-wrap: anywhere; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-links h4 { margin-bottom: 6px; }
.footer .social-link { overflow-wrap: anywhere; }
.faq-item summary { font-weight: 700; }
.privacy-copy h3 { margin-top: 28px; margin-bottom: 15px; }
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(2.5rem, 8.6vw, 3.5rem); }
  .cta-section { padding: 56px 0; }
  .contact-option { min-width: 0; }
  .cart-item, .checkout-card { padding: 20px; }
  .footer-bottom { align-items: flex-start; }
}

.detail-cover.material-cover { min-height: 450px; }
.detail-cover.material-cover.cover-orange { background: var(--orange); }
.detail-cover.material-cover.cover-blue { background: var(--navy); }
.detail-cover.material-cover.cover-cream { background: var(--cream-deep); }
@media (max-width: 760px) {
  .detail-cover.material-cover { min-height: 330px; }
}

/* Alteração solicitada: apenas a logo, maior, no destaque inicial. */
.hero-visual.hero-logo-only {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0;
  background: transparent;
}
.hero-visual.hero-logo-only::before,
.hero-visual.hero-logo-only::after {
  display: none;
  content: none;
}
.hero-logo-only .hero-main-logo {
  position: static;
  display: block;
  width: min(100%, 520px);
  height: auto;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  object-fit: contain;
}
@media (max-width: 980px) {
  .hero-logo-only .hero-main-logo { width: min(100%, 520px); }
}
@media (max-width: 600px) {
  .hero-logo-only .hero-main-logo { width: 100%; }
}

/* Cursos: título e conteúdo alinhados, sem sobreposição em telas menores. */
.two-col > *,
.course-hero-grid > *,
.program > *,
.course-faq > * { min-width: 0; }
.two-col h2,
.two-col p,
.two-col .checklist div {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}
.two-col h2 { line-height: 1.14; }
@media (max-width: 900px) {
  .two-col,
  .course-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .two-col h2 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2rem, 5.7vw, 2.75rem);
    line-height: 1.16;
    letter-spacing: -0.04em;
  }
  .two-col > div { width: 100%; }
  .two-col > div > p { margin: 0 0 22px; line-height: 1.7; }
}
@media (max-width: 480px) {
  .two-col { gap: 26px; }
  .two-col h2 { font-size: clamp(1.85rem, 8vw, 2.25rem); }
}

/* V4: estrutura independente dos fundos decorativos das versões anteriores. */
.brand-showcase {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
}
.brand-showcase::before,
.brand-showcase::after { content: none !important; display: none !important; }
.brand-showcase-logo {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  object-fit: contain;
}
.footer .social-link {
  display: inline-flex;
  width: auto;
  height: auto;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 0;
}
.journey-inner > span { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; }
@media (max-width: 900px) {
 .brand-showcase { width: min(100%, 520px); }
}

/*
 * Language Bridge | layout-global.css
 *
 * Append-only layout corrections for language-bridge-v5.css.
 * This file intentionally changes presentation only: no copy, brand assets,
 * links or document structure are changed here.
 */

/* --------------------------------------------------------------------------
   Global sizing, flow and readable text
   -------------------------------------------------------------------------- */

html,
body {
  min-width: 320px;
}

body {
  line-height: 1.7;
}

main,
main > *,
section,
article,
aside,
.container,
.nav,
.footer-grid,
.footer-bottom,
.hero-grid,
.course-hero-grid,
.method-grid,
.detail-grid,
.two-col,
.three-cards,
.program,
.program-row,
.course-faq,
.faq-grid,
.faq,
.contact-grid,
.cart-layout,
.cart-items,
.checkout-list,
.material-card,
.material-body,
.material-cover,
.detail-cover,
.detail-info,
.purchase-panel,
.footer-brand,
.footer-links {
  min-width: 0;
}

main > *,
.container > *,
.hero-grid > *,
.course-hero-grid > *,
.method-grid > *,
.detail-grid > *,
.two-col > *,
.three-cards > *,
.program > *,
.program-row > *,
.course-faq > *,
.faq-grid > *,
.faq > *,
.contact-grid > *,
.cart-layout > *,
.cart-item > *,
.checkout-card > *,
.material-card > *,
.footer-grid > *,
.footer-bottom > * {
  min-width: 0;
}

p,
li {
  line-height: 1.7;
  overflow-wrap: break-word;
  word-break: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  max-width: 100%;
  line-height: 1.26;
  overflow-wrap: break-word;
  word-break: normal;
}

h1 {
  margin-bottom: 1.05rem;
}

h2 {
  margin-bottom: 1.15rem;
}

h3 {
  margin-bottom: 0.72rem;
}

img {
  max-width: 100%;
}

svg {
  flex: 0 0 auto;
}

/* Keep logos intact while allowing their text block to wrap inside its cell. */
.brand {
  min-width: 0;
  max-width: 100%;
  flex: 0 1 auto;
}

.brand img {
  flex: 0 0 auto;
  max-width: none;
}

.brand-text,
.brand-text strong,
.brand-text small {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.btn,
.text-link,
.card-link {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
}

.btn svg,
.text-link svg,
.card-link svg {
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */

header,
.nav,
.nav-links,
.nav-links > * {
  min-width: 0;
}

header .nav {
  position: relative;
}

.nav-links > a {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
}

.nav-shop svg {
  flex: 0 0 auto;
}

/* At this width the desktop navigation is the source of the common squeeze;
   use the existing toggle pattern before the brand or links can collide. */
@media (max-width: 1000px) {
  .nav-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    box-shadow: var(--shadow-md);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-link,
  .nav-shop {
    padding: 13px 12px;
  }

  .nav-link::after {
    right: 12px;
    bottom: 6px;
    left: 12px;
  }
}

/* --------------------------------------------------------------------------
   Heading hierarchy and page grids
   -------------------------------------------------------------------------- */

.hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

.course-hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.two-col,
.program,
.course-faq,
.faq-grid,
.faq,
.contact-grid,
.detail-grid,
.cart-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.two-col {
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
}

.program {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
}

.course-faq {
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
}

.faq-grid,
.faq {
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1.38fr);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.detail-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.cart-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
}

.section-title,
.section-head,
.section-intro,
.hero-copy,
.hero-description,
.course-hero-grid > div,
.detail-info,
.page-heading,
.empty-state {
  min-width: 0;
  max-width: 100%;
}

.hero h1,
.course-hero h1,
.detail-info h1,
.page-heading h1,
.empty-state h1 {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

/* A one-column hero avoids the min-content track that used to overflow near
   tablet widths. The image/art remains centered and bounded by its container. */
@media (max-width: 1000px) {
  .hero-grid,
  .course-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(32px, 6vw, 50px);
  }

  .hero-copy,
  .course-hero-grid > * {
    width: 100%;
  }

  .brand-showcase,
  .hero-visual,
  .course-art {
    width: min(100%, 620px);
    max-width: 100%;
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .program,
  .course-faq,
  .faq-grid,
  .faq,
  .contact-grid,
  .detail-grid,
  .cart-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-col > *,
  .program > *,
  .course-faq > *,
  .faq-grid > *,
  .faq > *,
  .contact-grid > *,
  .detail-grid > *,
  .cart-layout > * {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Privacy page: explicit two-column reading hierarchy
   -------------------------------------------------------------------------- */

.privacy-layout {
  margin-top: 48px !important;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  align-items: start;
}

.privacy-layout > div,
.privacy-copy {
  min-width: 0;
  max-width: 100%;
}

.privacy-layout > div:first-child h2 {
  max-width: 100%;
  margin-bottom: 1rem;
}

.privacy-layout > div:first-child p {
  margin: 0;
}

.privacy-copy h3 {
  margin: 0 0 0.72rem;
  line-height: 1.26;
}

.privacy-copy h3:not(:first-child) {
  margin-top: 2rem;
}

.privacy-copy p {
  max-width: 100%;
  margin: 0 0 1.45rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.privacy-copy p:last-child {
  margin-bottom: 0;
}

.privacy-copy .text-link {
  max-width: 100%;
  text-align: left;
}

@media (max-width: 900px) {
  .privacy-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
}

/* --------------------------------------------------------------------------
   Materials and detail pages
   -------------------------------------------------------------------------- */

.material-cover,
.material-body,
.material-meta,
.material-actions,
.detail-cover,
.detail-cover .material-cover,
.detail-info,
.purchase-panel {
  min-width: 0;
  max-width: 100%;
}

.cover-label,
.cover-title,
.cover-bottom {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.cover-label,
.cover-bottom {
  line-height: 1.4;
}

.cover-title {
  line-height: 1.1;
}

.detail-cover .material-cover {
  min-height: clamp(330px, 45vw, 450px);
}

.material-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  row-gap: 8px;
}

.material-meta > * {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

.material-meta > :first-child {
  flex: 1 1 8rem;
}

.material-meta .badge {
  flex: 0 1 auto;
  margin-left: auto;
}

.badge {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.3;
  text-align: center;
}

.material-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
}

.material-actions > * {
  min-width: 0;
  max-width: 100%;
}

.material-actions > .text-link {
  flex: 1 1 100%;
}

.material-actions > .btn {
  flex: 1 1 12rem;
}

.material-actions .btn {
  height: auto;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Breadcrumbs, tags and course programme rows
   -------------------------------------------------------------------------- */

nav.breadcrumb,
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  gap: 8px;
}

.breadcrumb > * {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
  gap: 7px;
}

.tags > *,
.tag {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.35;
}

.course-card,
.course-card h3,
.course-card p,
.program-row,
.program-row h3,
.program-row strong,
.program-row p {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

.course-card .course-title,
.program-row h3,
.program-row strong {
  line-height: 1.3;
}

.program-row {
  grid-template-columns: minmax(42px, 55px) minmax(0, 1fr);
}

.program-row > * {
  min-width: 0;
}

@media (max-width: 520px) {
  .program-row {
    grid-template-columns: minmax(34px, 42px) minmax(0, 1fr);
    gap: 10px;
  }
}

/* --------------------------------------------------------------------------
   FAQ details: reserve a fixed icon column and let the question wrap
   -------------------------------------------------------------------------- */

.faq-item,
.faq-item summary,
.faq-item > p {
  min-width: 0;
  max-width: 100%;
}

.faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 25px;
  align-items: start;
  gap: 14px;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.faq-item summary::after {
  justify-self: end;
  flex: 0 0 25px;
  margin-top: 0.08em;
}

.faq-item > p {
  max-width: 100%;
  margin-right: 0;
  line-height: 1.7;
  overflow-wrap: break-word;
}

/* --------------------------------------------------------------------------
   Cart and checkout: real script-generated markup
   -------------------------------------------------------------------------- */

.cart-item {
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  align-items: start;
}

.cart-item-title,
.cart-item-details,
.cart-item-price {
  grid-column: 1;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

.cart-item-controls {
  display: flex;
  grid-column: 2;
  grid-row: 1 / span 3;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-quantity {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  flex: 0 1 auto;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 4px;
}

.cart-quantity .quantity-button {
  flex: 0 0 29px;
  width: 29px;
  min-width: 29px;
}

.cart-quantity-input {
  width: 56px;
  min-width: 0;
  max-width: 100%;
  flex: 0 1 56px;
  padding: 5px;
  text-align: center;
}

.cart-remove {
  min-width: 0;
  max-width: 100%;
  margin: 0;
  white-space: normal;
  overflow-wrap: break-word;
}

.checkout-card {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.checkout-card > * {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

.checkout-card .btn {
  justify-self: start;
}

@media (max-width: 600px) {
  .cart-item {
    grid-template-columns: minmax(0, 1fr);
  }

  .cart-item-controls {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Footer: stable 3/2/1-column behavior and wrapped link content
   -------------------------------------------------------------------------- */

.footer-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
}

.footer-grid > * {
  min-width: 0;
}

.footer-brand .brand {
  display: inline-flex;
  min-width: 0;
  max-width: 100%;
}

.footer-brand .brand-text,
.footer-brand .brand-text strong,
.footer-brand .brand-text small,
.footer-brand p {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

.footer-brand p {
  line-height: 1.7;
}

.footer-links {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 13px;
}

.footer-links h4 {
  max-width: 100%;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.footer-links a {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  line-height: 1.55;
}

.footer-links .social-link,
.footer .social-link {
  display: inline-flex;
  width: auto;
  height: auto;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  align-self: flex-start;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 9px;
  border: 0;
  border-radius: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.55;
}

.footer-links .social-link svg,
.footer .social-link svg {
  flex: 0 0 auto;
}

.footer-bottom {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
}

.footer-bottom > span {
  min-width: 0;
  max-width: 100%;
  flex: 1 1 18rem;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  line-height: 1.55;
}

.footer-bottom > span:last-child {
  text-align: right;
}

@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom > span {
    flex-basis: auto;
  }

  .footer-bottom > span:last-child {
    text-align: left;
  }
}

/* Three-card course feature rows become one readable column before they get
   narrow enough to create wrapped heading collisions. */
@media (max-width: 760px) {
  .three-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* --------------------------------------------------------------------------
   Audit hardening: long course/contact headings at phone widths
   -------------------------------------------------------------------------- */

.contact h2,
.contact-copy h2 {
  min-width: 0;
  max-width: 100%;
  font-size: clamp(1.7rem, 3.6vw, 2.25rem);
  overflow-wrap: anywhere;
  word-break: normal;
}

.course-hero h1 {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media (max-width: 760px) {
  .course-hero h1 {
    /* Keeps long titles such as “Aulas de Inglês Personalizadas” inside
       the course hero at 320–360px without changing desktop scale. */
    font-size: clamp(2rem, 10vw, 2.5rem);
    line-height: 1.18;
  }

  .contact h2,
  .contact-copy h2 {
    /* 1.75rem = 28px: the longest heading remains inside narrow contact
       cards while preserving the same responsive hierarchy. */
    font-size: clamp(1.7rem, 8vw, 1.75rem);
  }

  .footer .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .footer .footer-brand {
    grid-column: auto !important;
  }
}

/* Tipografia uniforme: sem o tracking negativo que juntava palavras. */
main h1,
main h2,
main h3,
main h4,
main h5,
main h6,
main .hero h1,
main .course-hero h1,
main .two-col h2,
main .detail-info h1,
main .course-title,
main .cover-title,
.footer h4,
.brand-text strong {
  letter-spacing: normal;
}

/* Hotmart recent materials and embedded checkout ------------------------ */
.latest-materials-section {
  background: var(--cream);
}

.latest-materials-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.checkout-embedded-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.checkout-embedded-head .checkout-note {
  margin: 0;
}

.hotmart-inline-checkout {
  min-height: 520px;
  padding: clamp(18px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.checkout-fallback-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

@media (max-width: 700px) {
  .checkout-embedded-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hotmart-inline-checkout {
    min-height: 620px;
    padding: 12px;
  }
}


/* Compact landing-page disclosures --------------------------------------- */
.landing-collapsible-section {
  padding: 32px 0;
}
.landing-collapsible-section.is-expanded {
  padding: 70px 0;
}
.landing-disclosure {
  width: 100%;
}
.landing-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 4vw, 54px);
  list-style: none;
  cursor: pointer;
}
.landing-summary::-webkit-details-marker {
  display: none;
}
.landing-summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 6px;
  border-radius: var(--radius-sm);
}
.landing-summary .section-head {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
.landing-summary .section-title {
  margin-bottom: 0;
}
.landing-summary .section-intro {
  max-width: 420px;
}
.landing-disclosure-action {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 800;
  transition: border-color 180ms var(--ease), color 180ms var(--ease), transform 180ms var(--ease);
}
.landing-summary:hover .landing-disclosure-action {
  border-color: var(--orange);
  color: var(--orange-dark);
}
.landing-disclosure-icon {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 180ms var(--ease);
}
.landing-disclosure[open] .landing-disclosure-icon {
  transform: rotate(45deg);
}
.landing-disclosure-content {
  margin-top: 34px;
}
.landing-disclosure-content > .method-grid,
.landing-disclosure-content > .faq-grid {
  margin-top: 0;
}
.landing-material-more {
  margin: 0 0 20px;
}
.landing-contact-options {
  max-width: 780px;
  margin: 0 auto;
}
#contact.landing-collapsible-section .landing-summary .contact-copy h2 {
  color: var(--navy);
}
#contact.landing-collapsible-section .landing-summary .contact-copy > p {
  color: var(--muted);
}
#contact.landing-collapsible-section .landing-disclosure-content .contact-option {
  border-color: var(--line);
}
#contact.landing-collapsible-section .landing-disclosure-content .contact-option strong {
  color: var(--navy);
}
#contact.landing-collapsible-section .landing-disclosure-content .contact-option p {
  color: var(--muted);
}
@media (max-width: 760px) {
  .landing-collapsible-section {
    padding: 25px 0;
  }
  .landing-collapsible-section.is-expanded {
    padding: 46px 0;
  }
  .landing-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .landing-summary .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .landing-summary .section-intro {
    max-width: none;
    text-align: left;
  }
  .landing-summary .contact-copy {
    width: 100%;
  }
  .landing-disclosure-action {
    padding: 9px 13px;
  }
  .landing-disclosure-content {
    margin-top: 24px;
  }
}


/* Área restrita dos alunos: convite de destaque na abertura. */
.student-access-banner { padding: 26px 0 0; background: var(--cream); }
.student-access-card { display: grid; position: relative; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 20px; min-height: 118px; overflow: hidden; padding: 24px 28px; border: 1px solid rgba(8,38,75,.14); border-radius: var(--radius-md); background: var(--navy); color: var(--white); box-shadow: 0 20px 45px rgba(8,38,75,.14); isolation: isolate; transition: transform 180ms var(--ease), box-shadow 180ms var(--ease); }
.student-access-card::before { position: absolute; z-index: -1; top: -120px; right: 8%; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; content: ""; animation: student-access-drift 8s ease-in-out infinite; }
.student-access-card::after { position: absolute; z-index: -1; right: 22%; bottom: -170px; width: 320px; height: 320px; border: 1px solid rgba(255,100,22,.28); border-radius: 50%; content: ""; animation: student-access-drift 10s ease-in-out -2s infinite reverse; }
.student-access-card:hover { color: var(--white); transform: translateY(-3px); box-shadow: 0 25px 55px rgba(8,38,75,.2); }
.student-access-icon { display: grid; position: relative; width: 58px; height: 58px; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(255,255,255,.1); color: var(--orange); animation: student-access-pulse 2.8s ease-in-out infinite; }
.student-access-icon::before { position: absolute; inset: -8px; border: 1px solid rgba(255,100,22,.35); border-radius: inherit; content: ""; animation: student-access-ring 2.8s ease-out infinite; }
.student-access-copy { display: grid; position: relative; gap: 4px; min-width: 0; }
.student-access-copy .eyebrow { margin: 0 0 2px; color: var(--orange); }
.student-access-copy strong { color: var(--white); font-family: "Plus Jakarta Sans", Arial, sans-serif; font-size: clamp(1.05rem, 2vw, 1.38rem); letter-spacing: -.04em; line-height: 1.15; }
.student-access-copy > span:last-child { color: rgba(255,255,255,.72); font-size: .78rem; }
.student-access-action { display: inline-flex; position: relative; align-items: center; gap: 10px; color: var(--white); font-size: .74rem; font-weight: 800; white-space: nowrap; }
.student-access-action svg { width: 18px; height: 18px; transition: transform 180ms var(--ease); }
.student-access-card:hover .student-access-action svg { transform: translateX(5px); }
.student-access-orbit { position: absolute; z-index: -1; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 6px rgba(255,100,22,.12); }
.student-access-orbit-one { top: 22px; right: 35%; animation: student-access-float 5s ease-in-out infinite; }
.student-access-orbit-two { right: 8%; bottom: 22px; width: 5px; height: 5px; background: rgba(255,255,255,.75); box-shadow: none; animation: student-access-float 6s ease-in-out -1s infinite reverse; }
@keyframes student-access-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,100,22,.18); } 50% { box-shadow: 0 0 0 9px rgba(255,100,22,0); } }
@keyframes student-access-ring { 0%,100% { opacity: .7; transform: scale(.9); } 55% { opacity: 0; transform: scale(1.2); } }
@keyframes student-access-drift { 0%,100% { transform: translate3d(0,0,0) rotate(0); } 50% { transform: translate3d(14px,8px,0) rotate(8deg); } }
@keyframes student-access-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 700px) { .student-access-banner { padding-top: 18px; } .student-access-card { grid-template-columns: auto minmax(0,1fr); gap: 14px; padding: 20px; } .student-access-action { grid-column: 2; justify-self: start; } .student-access-copy > span:last-child { font-size: .72rem; } }
@media (max-width: 420px) { .student-access-card { grid-template-columns: 1fr; gap: 12px; } .student-access-icon { width: 48px; height: 48px; } .student-access-action { grid-column: 1; } }
@media (prefers-reduced-motion: reduce) { .student-access-card::before, .student-access-card::after, .student-access-icon, .student-access-icon::before, .student-access-orbit-one, .student-access-orbit-two { animation: none; } }

/* Cartão da área restrita: tratamento visual estático para maior destaque. */
.student-access-banner { padding-top: 30px; background: var(--cream); }
.student-access-card {
  min-height: 142px;
  padding: 27px 32px;
  border: 0;
  border-left: 6px solid var(--orange);
  border-radius: 18px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,100,22,.3) 0 2px, transparent 3px 44px),
    radial-gradient(circle at 92% 92%, rgba(255,255,255,.11) 0 2px, transparent 3px 62px),
    linear-gradient(118deg, #061b35 0%, #08264b 54%, #123c68 100%);
  box-shadow: 0 22px 48px rgba(8,38,75,.22);
}
.student-access-card::before {
  top: auto;
  right: -22px;
  bottom: -105px;
  width: 410px;
  height: 210px;
  border: 1px solid rgba(255,255,255,.2);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  opacity: 1;
  animation: none;
  transform: rotate(-8deg);
}
.student-access-card::after {
  top: -88px;
  right: 19%;
  bottom: auto;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255,100,22,.38);
  border-radius: 50%;
  opacity: 1;
  animation: none;
}
.student-access-card:hover { transform: translateY(-2px); box-shadow: 0 26px 56px rgba(8,38,75,.27); }
.student-access-icon {
  width: 66px;
  height: 66px;
  border: 2px solid rgba(255,255,255,.65);
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255,100,22,.32);
  animation: none;
}
.student-access-icon::before { inset: -7px; border: 1px solid rgba(255,255,255,.32); animation: none; }
.student-access-copy .eyebrow { color: #ff9a6d; }
.student-access-copy strong { font-size: clamp(1.12rem, 2.2vw, 1.52rem); }
.student-access-copy > span:last-child { color: rgba(255,255,255,.82); }
.student-access-action { padding: 11px 15px; border: 1px solid rgba(255,255,255,.32); border-radius: 7px; background: rgba(255,255,255,.1); }
.student-access-orbit-one { top: 25px; right: 35%; animation: none; }
.student-access-orbit-two { right: 8%; bottom: 24px; animation: none; }
@media (max-width: 700px) {
  .student-access-banner { padding-top: 22px; }
  .student-access-card { min-height: 0; padding: 23px 20px; }
  .student-access-action { padding: 9px 12px; }
}
@media (max-width: 420px) { .student-access-card { padding: 20px; } }
