:root {
  --ink: #271824;
  --muted: #6e5d68;
  --plum: #5a2946;
  --plum-dark: #401b31;
  --rose: #f5dfe7;
  --rose-soft: #fff7fa;
  --gold: #c7973e;
  --gold-soft: #f7edda;
  --mint: #dff2e9;
  --border: #dfd4da;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(64, 27, 49, 0.12);
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--plum-dark);
  transform: translateY(-140%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(90, 41, 70, 0.12);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(var(--content), calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--white);
  background: var(--plum);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.header-cta {
  min-height: 42px;
  color: var(--plum);
  border-color: var(--plum);
  background: var(--white);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.header-cta:focus-visible,
.button:focus-visible,
.text-link:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.button-primary {
  color: var(--white);
  background: var(--plum);
  box-shadow: 0 10px 24px rgba(90, 41, 70, 0.2);
}

.button-primary:hover {
  background: var(--plum-dark);
  box-shadow: 0 14px 30px rgba(90, 41, 70, 0.24);
}

.hero {
  min-height: 620px;
  border-bottom: 1px solid var(--border);
  background-color: var(--rose-soft);
  background-image: url("/assets/caderno-cilios.webp");
  background-repeat: no-repeat;
  background-position: calc(50% + 330px) center;
  background-size: min(660px, 52vw) auto;
}

.hero-inner {
  position: relative;
  width: min(var(--content), calc(100% - 40px));
  min-height: 620px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(560px, 50%);
  padding: 68px 0 86px;
}

.eyebrow,
.course-category {
  display: inline-block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.coming-section h2 {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.03;
}

.hero h1 {
  max-width: 520px;
  font-size: clamp(54px, 7vw, 92px);
}

.hero-copy > p {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.text-link {
  color: var(--plum);
  font-weight: 750;
  text-underline-offset: 4px;
}

.hero-benefits {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
}

.hero-benefits li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.hero-benefits li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  width: 10px;
  height: 10px;
  border: 2px solid var(--plum);
  border-radius: 50%;
  background: var(--mint);
}

.hero-caption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  width: min(410px, 42%);
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.catalog-section {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 96px;
}

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

.section-heading h2,
.coming-section h2 {
  font-size: clamp(38px, 5vw, 58px);
}

.section-heading > p {
  max-width: 430px;
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 17px;
}

.course-card {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.course-media {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 48px;
  background: var(--rose-soft);
}

.course-media img {
  width: min(100%, 500px);
  height: auto;
  filter: drop-shadow(0 22px 28px rgba(64, 27, 49, 0.18));
}

.course-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border-radius: 4px;
  color: var(--plum-dark);
  background: var(--gold-soft);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.course-content {
  padding: 58px;
  align-self: center;
}

.course-content h3 {
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
}

.course-content > p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.check-list li {
  position: relative;
  padding-left: 32px;
  font-weight: 650;
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--plum);
  background: var(--mint);
  font-size: 13px;
  font-weight: 900;
}

.course-button {
  width: 100%;
  margin-top: 32px;
}

.coming-section {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto 96px;
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 30px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--gold-soft);
}

.coming-section img {
  width: 132px;
  height: 132px;
  border: 4px solid var(--white);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(39, 24, 36, 0.14);
}

.coming-section h2 {
  font-size: clamp(32px, 4vw, 48px);
}

.coming-section p {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.site-footer {
  min-height: 130px;
  padding: 30px max(24px, calc((100vw - var(--content)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--plum-dark);
}

.site-footer > div {
  display: grid;
  gap: 4px;
}

.site-footer strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.site-footer small {
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero {
    min-height: 700px;
    background-position: center bottom 12px;
    background-size: 410px auto;
  }

  .hero-inner {
    min-height: 700px;
    align-items: flex-start;
  }

  .hero-copy {
    width: min(620px, 100%);
    padding: 58px 0 350px;
  }

  .hero h1 {
    font-size: 64px;
  }

  .hero-copy > p {
    max-width: 600px;
    font-size: 18px;
  }

  .hero-caption {
    right: 50%;
    bottom: 14px;
    width: min(440px, 90%);
    transform: translateX(50%);
  }

  .section-heading {
    display: grid;
    gap: 14px;
  }

  .section-heading > p {
    margin: 0;
  }

  .course-card {
    grid-template-columns: 1fr;
  }

  .course-media {
    min-height: 420px;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .hero-inner,
  .catalog-section,
  .coming-section {
    width: min(100% - 28px, var(--content));
  }

  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 14px;
  }

  .brand-copy strong {
    font-size: 19px;
  }

  .brand-copy small {
    display: none;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    min-height: 690px;
    background-position: center bottom 14px;
    background-size: 360px auto;
  }

  .hero-inner {
    min-height: 690px;
  }

  .hero-copy {
    padding: 44px 0 336px;
  }

  .eyebrow,
  .course-category {
    font-size: 11px;
  }

  .hero h1 {
    margin-top: 8px;
    font-size: 54px;
  }

  .hero-copy > p {
    margin-top: 18px;
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 24px;
    align-items: stretch;
    display: grid;
    gap: 14px;
  }

  .button {
    min-height: 52px;
    padding: 0 18px;
  }

  .text-link {
    justify-self: center;
  }

  .hero-benefits {
    margin-top: 22px;
    gap: 8px 14px;
  }

  .hero-benefits li {
    font-size: 12px;
  }

  .hero-caption {
    bottom: 8px;
    font-size: 11px;
  }

  .catalog-section {
    padding: 60px 0 68px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading h2 {
    font-size: 38px;
  }

  .section-heading > p {
    font-size: 15px;
  }

  .course-media {
    min-height: 330px;
    padding: 38px 24px 24px;
  }

  .course-content {
    padding: 28px 22px 24px;
  }

  .course-content h3 {
    font-size: 32px;
  }

  .course-content > p {
    margin-top: 16px;
    font-size: 15px;
  }

  .check-list {
    gap: 10px;
  }

  .check-list li {
    font-size: 14px;
  }

  .coming-section {
    margin-bottom: 68px;
    grid-template-columns: 82px 1fr;
    gap: 18px;
    padding: 22px;
  }

  .coming-section img {
    width: 82px;
    height: 82px;
  }

  .coming-section h2 {
    font-size: 28px;
  }

  .coming-section p {
    grid-column: 1 / -1;
    font-size: 14px;
  }

  .site-footer {
    min-height: 160px;
    align-items: flex-start;
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
