/* HOME v10: original compact catalog, full covers and overlaid mobile hero. */
:root { --action-gold: #ffd778; --action-cyan: #8cf6ff; }
html { scroll-padding-top: 98px; }
.button { white-space: normal; text-align: center; line-height: 1.35; gap: 12px; min-height: 52px; font-size: 14px; padding: 15px 20px; border-radius: 10px; }
.button svg { flex: 0 0 auto; width: 20px; height: 20px; }
a:focus-visible, button:focus-visible { outline: 3px solid #fff2b8; outline-offset: 5px; }
.button.button-gold {
  color: #201303; background: linear-gradient(115deg, #ffe6a0, #ffc24d 68%, #ffe091);
  border: 1px solid #ffedb5; font-weight: 900; text-shadow: none;
  box-shadow: 0 0 0 1px #ffc64b33, 0 0 23px #ffbd4566, 0 7px 24px #d88d282e, inset 0 1px 0 #fff9;
  transition: box-shadow .2s, transform .2s, filter .2s;
}
.button.button-curriculum, .course-modal__hotmart {
  min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 10px;
  color: #a1f9ff; background: #09262b; border: 1px solid #59dce9; border-radius: 10px;
  padding: 13px 16px; font-size: 14px; font-weight: 800; line-height: 1.35; text-align: center;
  box-shadow: 0 0 17px #3ad8e53b, inset 0 0 18px #2fdde910;
  transition: box-shadow .2s, transform .2s, background .2s;
}
.desktop-nav .nav-catalog { color: #ffe6a0; text-shadow: 0 0 16px #ffc65b88; }
.hero-actions { flex-wrap: wrap; }
.hero-actions .catalog-hero-link { order: -1; }
.hero-actions .button-ghost { border-color: #d3b36c80; font-size: 13px; }
.formation-intro > p { font-size: 16px; }
.starter-strip { margin-bottom: 28px; gap: 22px; }
.starter-cover { display: grid; place-items: center; border: 1px solid #e6ba6266; border-radius: 7px; box-shadow: 0 0 17px #eab95024; }
.starter-cover img { width: 75px; height: 92px; object-fit: contain; }
.starter-strip p { font-size: 14px; }
.starter-strip > div > span { font-size: 11px; }
.course-cover-link { cursor: pointer; text-decoration: none; transition: box-shadow .2s, border-color .2s; }
.course-cover-link img { transition: transform .3s, filter .3s; }
.cycle-grid { gap: 24px; align-items: stretch; }
.cycle-card { display: flex; flex-direction: column; min-width: 0; border-color: color-mix(in srgb, var(--course-accent) 45%, #172022); box-shadow: 0 0 26px color-mix(in srgb, var(--course-accent) 13%, transparent); }
.cycle-cover { height: 385px; flex: 0 0 auto; padding: 82px 15px 65px; align-items: center; border-bottom: 1px solid var(--course-accent); box-shadow: inset 0 0 36px color-mix(in srgb, var(--course-accent) 15%, transparent); }
.cycle-cover img { height: 100%; width: 100%; margin: 0; }
.cycle-cover::after { pointer-events: none; height: 26%; }
.cycle-cover > .cycle-number { color: #ffffff25; font-size: 45px; top: auto; left: auto; bottom: 52px; right: 15px; }
.course-badges { position: absolute; z-index: 4; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 7px; }
.course-badge { display: inline-flex; align-items: center; padding: 7px 10px; border-radius: 6px; font-size: 11px; line-height: 1.3; font-weight: 900; text-transform: uppercase; letter-spacing: .025em; }
.bestseller-badge { color: #231402; background: #ffdc7a; border: 1px solid #fff1b4; box-shadow: 0 0 19px #ffc75370; }
.offer-badge { color: #fff; background: #0b1829ed; border: 1px solid var(--course-accent); box-shadow: 0 0 16px color-mix(in srgb, var(--course-accent) 35%, transparent); }
.expansion-badge { background: #1e1330; color: #e3bdff; border: 1px solid #8b54b6; }
.cover-action { z-index: 4; position: absolute; bottom: 14px; left: 14px; right: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 7px; color: #fff0c1; background: #0b0d10ed; border: 1px solid #ffd778a6; box-shadow: 0 0 19px #f9bf453d; font-size: 13px; line-height: 1.3; }
.cover-action svg { width: 18px; height: 18px; flex: 0 0 auto; color: #ffd778; }
.cycle-copy { display: flex; flex-direction: column; flex: 1; padding: 24px 20px; }
.cycle-stats { font-size: 11px; line-height: 1.5; }
.cycle-copy h3 { font-size: 26px; line-height: 1.15; }
.cycle-copy p { min-height: 0; margin-bottom: 24px; font-size: 15px; line-height: 1.65; }
.cycle-actions { display: grid; gap: 12px; margin-top: auto; }
.cycle-actions .button { width: 100%; }
.cycle-copy button.button-curriculum { margin: 0; justify-content: center; }
.cycle-copy button.button-curriculum svg { color: #a1f9ff; }
.combo-three-cta { grid-template-columns: minmax(0, 1fr) minmax(290px, .75fr); gap: 36px; margin-top: 32px; padding: 34px; background: radial-gradient(ellipse at 0 0, #68471445, transparent 65%), #141310; border: 1px solid #e7b34f; box-shadow: 0 0 35px #e8a73228; }
.combo-three-copy > span { font-size: 11px; line-height: 1.5; }
.combo-three-cta h3 { margin: 10px 0 12px; font-size: 34px; color: #ffe0a1; }
.combo-three-cta p { max-width: 640px; font-size: 15px; line-height: 1.65; }
.combo-course-list { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; }
.combo-course-list span { display: flex; align-items: center; gap: 6px; color: #f3e4c5; font-size: 13px; letter-spacing: 0; }
.combo-course-list svg { width: 17px; color: #ffcc63; }
.combo-purchase { display: grid; gap: 10px; min-width: 0; }
.combo-purchase > small { font-size: 11px; color: #bfb3a0; text-decoration: line-through; }
.combo-purchase > strong { color: #ffe0a1; font-size: 29px; line-height: 1.1; }
.combo-purchase > span { margin-bottom: 9px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: #ddd2bd; }
.catalog-groups { gap: 25px; }
.catalog-group > header p { font-size: 12px; }
.catalog-group > header span { font-size: 9px; }
.catalog-grid { gap: 0; }
.catalog-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); min-height: 225px; min-width: 0; }
.catalog-thumb { display: flex; align-items: center; justify-content: center; width: auto; height: auto; min-width: 0; min-height: 0; padding: 32px 8px; border-right: 1px solid #e3b55233; box-shadow: inset 0 0 22px #e7b54212; }
.catalog-thumb img { display: block; flex: 0 1 auto; width: 100%; height: auto; max-width: 100%; max-height: 185px; min-width: 0; min-height: 0; object-fit: contain; object-position: center; margin: 0; }
.catalog-thumb b { top: 8px; right: 8px; left: 8px; font-size: 8px; line-height: 1.35; padding: 5px; }
.catalog-thumb > span { top: auto; bottom: 8px; right: 8px; left: 8px; font-size: 8px; line-height: 1.35; padding: 5px; }
.catalog-copy { min-width: 0; padding: 20px 17px; }
.catalog-copy > span { font-size: 9px; line-height: 1.4; }
.catalog-copy h4 { font-size: 20px; line-height: 1.2; }
.catalog-copy p { font-size: 12px; line-height: 1.55; padding-bottom: 16px; }
.catalog-copy a.button { justify-content: center; margin-top: auto; min-height: 46px; padding: 10px 11px; font-size: 12px; gap: 7px; }
.catalog-copy a.button svg { width: 17px; height: 17px; }
.everything-cta { grid-template-columns: auto minmax(0, 1fr) minmax(260px, .55fr); margin-top: 34px; padding: 34px; border-color: #e7b34f; box-shadow: 0 0 35px #e8a73228; }
.everything-cta h3 { font-size: 33px; }
.everything-cta p { font-size: 15px; }
.everything-cta > div > span { font-size: 11px; }
.everything-price { flex-wrap: wrap; }
.everything-price strong { font-size: 32px; }
.everything-price small, .everything-price span { font-size: 12px; }
.everything-cta ul { flex-wrap: wrap; font-size: 13px; }
.course-modal__topbar, .course-modal__tabs, .course-modal__intro, .course-modal__sales { flex-shrink: 0; }
[data-slot="dialog-overlay"] { z-index: 190; }
[data-slot="dialog-content"] { z-index: 200; }
.course-modal__content { flex: 1 1 auto; min-height: 0; overscroll-behavior: contain; }
.course-modal__hotmart { font-size: 13px; }
.course-modal__sales { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border-top: 1px solid #f4c16199; background: #13130f; box-shadow: 0 -8px 32px #0006; }
.course-modal__sales > div { display: grid; gap: 5px; }
.course-modal__sales strong { color: #fff3d8; font-size: 15px; }
.course-modal__sales span { color: #ffd778; font-size: 12px; }
.course-modal__sales .button { flex: 0 0 auto; }
.modal-course-tab { min-height: 44px; font-size: 13px; }
.module-item > button { min-height: 56px; }
.module-item__heading strong { font-size: 14px; }
.module-item__heading small { font-size: 12px; }
.module-item__body p { font-size: 14px; }
.module-item:not(.is-open) .module-item__body { display: none; }
.academy-copy, .academy-art, .youtube-copy, .youtube-grid { min-width: 0; }
@media (hover: hover) {
  .button.button-gold:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 0 0 2px #ffdc7870, 0 0 36px #ffc354a6, 0 10px 30px #c387354a; }
  .button.button-curriculum:hover, .course-modal__hotmart:hover { background: #0c363e; box-shadow: 0 0 29px #54e8f270; transform: translateY(-2px); }
  .course-cover-link:hover { box-shadow: inset 0 0 34px #f7c45825, 0 0 24px #f7c45840; }
  .course-cover-link:hover img { transform: scale(1.035); filter: brightness(1.13); }
}
.button:active { transform: translateY(1px); }
@media (max-width: 1100px) {
  .everything-cta { grid-template-columns: auto 1fr; }
  .everything-cta > .button { grid-column: 1 / -1; width: 100%; }
}
@media (max-width: 1020px) and (min-width: 701px) {
  .cycle-card { display: grid; grid-template-columns: 300px 1fr; }
  .cycle-cover { height: 100%; min-height: 385px; }
  .cycle-cover img { height: 240px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .combo-three-cta { gap: 24px; padding: 28px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 85px; }
  .site-header { height: calc(65px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); }
  .hero { min-height: 0; display: flex; align-items: flex-end; }
  .hero-media { top: calc(89px + env(safe-area-inset-top, 0px)); background-position: 70% top; background-size: 145% auto; }
  .hero-overlay { background: linear-gradient(90deg, #05060699, #05060633 65%, #05060608), linear-gradient(180deg, transparent 100px, #05060612 180px, #050606a8 300px, #050606f5 440px, #050606 540px); }
  .hero-content { padding-top: calc(clamp(170px, 46vw, 215px) + env(safe-area-inset-top, 0px)); padding-bottom: 30px; }
  .hero h1 { font-size: clamp(42px, 11.5vw, 59px); text-shadow: 0 2px 18px #0009; }
  .hero-copy { font-size: 14px; }
  .hero-proof { font-size: 9px; }
  .hero-actions .button { font-size: 14px; min-height: 52px; }
  .hero-actions .button-ghost { font-size: 13px; }
  .starter-strip { gap: 16px; }
  .starter-cover img { width: 60px; height: 80px; }
  .starter-strip h3 { font-size: 22px; }
  .starter-strip p { font-size: 13px; }
  .formation-intro > p, .section-heading > p { font-size: 15px; }
  .cycle-grid { gap: 25px; }
  .cycle-card { display: flex; }
  .cycle-cover { height: 375px; }
  .cycle-cover img { height: 100%; width: 100%; }
  .cycle-copy { padding: 24px 20px; }
  .cycle-copy h3 { font-size: 27px; }
  .cycle-copy p { font-size: 15px; }
  .cycle-copy button.button-curriculum { font-size: 14px; }
  .course-badges { max-width: 100%; }
  .course-badge { font-size: 11px; }
  .cycle-stats { font-size: 11px; }
  .combo-three-cta { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px; }
  .combo-three-cta h3 { font-size: 30px; }
  .combo-purchase { padding-top: 22px; border-top: 1px solid #f5c25744; }
  .combo-three-copy > span { line-height: 1.6; }
  .catalog-card, .catalog-card:nth-child(2), .catalog-card:nth-child(3) { display: grid; grid-template-columns: 105px minmax(0, 1fr); min-height: 210px; }
  .catalog-thumb img { width: 100%; height: auto; max-height: 180px; }
  .catalog-copy { padding: 18px 15px; }
  .catalog-copy h4 { font-size: 20px; }
  .catalog-copy p { font-size: 12px; }
  .everything-cta { grid-template-columns: 1fr; padding: 24px 20px; }
  .everything-cta h3 { font-size: 31px; }
  .everything-cta > .button { grid-column: auto; }
  .academy-panel, .youtube-panel { grid-template-columns: minmax(0, 1fr); }
  .course-modal-dialog { height: 100dvh; max-height: 100dvh; }
  .course-modal__topbar { padding-top: max(15px, env(safe-area-inset-top, 0px)); }
  .course-modal__intro { padding: 12px 16px; gap: 10px; }
  .course-modal__sales { padding: 14px 16px max(16px, env(safe-area-inset-bottom, 0px)); display: grid; justify-content: stretch; gap: 9px; }
  .course-modal__sales strong { display: none; }
  .course-modal__sales span { font-size: 12px; }
  .course-modal__sales .button { width: 100%; min-height: 52px; font-size: 14px; }
  .modal-course-tab { padding: 9px 11px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .course-cover-link, .course-cover-link img { transition: none; }
  .button:hover, .course-cover-link:hover img { transform: none; }
}
