:root {
  color-scheme: light;
  --paper: #fffdf7;
  --white: #fff;
  --navy: #131e38;
  --navy-deep: #0e172d;
  --muted: #4c5871;
  --line: #d4d5d8;
  --gold: #ffc747;
  --gold-soft: #fff0c7;
  --red: #ab252e;
  --red-soft: #fae6e4;
  --blue-soft: #e5edf8;
  --body: system-ui, -apple-system, sans-serif;
  --display: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--paper);
  font: 1rem/1.6 var(--body);
}
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
a:focus-visible {
  outline: 2px solid var(--navy-deep);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--gold);
}
::selection { background: var(--gold); color: var(--navy-deep); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: var(--display); letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 6.1vw, 5.55rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.08; }
h3 { font-size: 1.23rem; line-height: 1.23; }
.wrap { width: min(100% - 3rem, 73rem); margin-inline: auto; }
.reading { width: min(100% - 3rem, 44rem); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 1;
  inset: .75rem auto auto .75rem;
  padding: .65rem 1rem;
  background: var(--gold);
  color: var(--navy-deep);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }
.arrow { display: inline-block; flex: 0 0 auto; width: 1.2em; height: 1.2em; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.header-inner { min-height: 4.6rem; }
.wordmark {
  flex: 0 0 auto;
  font-size: clamp(1.12rem, 3vw, 1.72rem);
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1;
  text-decoration: none;
}
.wordmark span { color: var(--red); }
.site-header nav, .site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem 1.3rem;
}
.site-header nav a, .site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .93rem;
  font-weight: 650;
}
.site-header nav a:not(:hover):not([aria-current]) { text-decoration: none; }
.site-header nav .header-action {
  padding-inline: .92rem;
  border: 1px solid var(--navy);
  border-radius: .25rem;
}
.site-header nav .header-action:hover { background: var(--gold-soft); }

.hero { background: var(--navy); color: var(--white); }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .83fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  padding-block: clamp(3rem, 6.3vw, 5.4rem);
}
.hero h1 { font-size: clamp(2.65rem, 5.1vw, 4.6rem); text-wrap: wrap; }
.hero h1 em { color: var(--gold); font-weight: inherit; }
.hero-copy p {
  max-width: 44ch;
  margin-top: 1.35rem;
  color: #e2e8f6;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .8rem 1.3rem; margin-top: 1.9rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3rem;
  max-width: 100%;
  padding: .64rem 1.03rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
.button-primary { background: var(--gold); color: var(--navy-deep); }
.button-primary:hover { background: #ffe292; }
.button-outline { border-color: var(--navy); }
.button-outline:hover { background: var(--gold-soft); }
.hero-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  gap: .45rem;
  font-weight: 650;
}
.hero-art {
  position: relative;
  width: min(100%, 27rem);
  justify-self: end;
  padding: clamp(.9rem, 2vw, 1.5rem);
  border-radius: .25rem .25rem .25rem 1.8rem;
  background: var(--white);
  border-bottom: .52rem solid var(--gold);
}
.hero-art img { width: 100%; }

.section { padding-block: clamp(3.7rem, 7vw, 6rem); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: end; }
.section-heading p, .editorial-inner > div > p, .guide-group > div > p {
  max-width: 42ch;
  color: var(--muted);
}
.group-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.7rem;
  padding: 0;
  list-style: none;
}
.group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  gap: .6rem;
  padding: 1.55rem 1.3rem 1.15rem;
  border-radius: .25rem;
}
.group-casa { background: var(--gold-soft); }
.group-beleza { background: var(--red-soft); }
.group-tech { background: var(--blue-soft); }
.group p { color: #34415b; }
.group-action {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.75rem;
  margin-top: auto;
  font-weight: 750;
}
.editorial { border-top: 1px solid var(--line); background: var(--white); }
.editorial-inner { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr); gap: 3rem; }
.editorial-inner h2 + p { margin-block: .8rem 1.15rem; }
.guide-list { list-style: none; padding: 0; min-width: 0; }
.guide-list li { border-bottom: 1px solid var(--line); }
.guide-list li:first-child { border-top: 1px solid var(--line); }
.guide-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3.25rem;
  padding-block: 1rem;
  text-decoration: none;
}
.guide-row strong { display: block; font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.3; }
.guide-row:hover strong { text-decoration: underline; text-underline-offset: .18em; }
.row-description { display: block; margin-top: .23rem; color: var(--muted); }
.guide-row .arrow { color: var(--red); }

.page-intro { padding-block: clamp(2.7rem, 6vw, 5.5rem) 2.5rem; }
.page-intro p { margin-top: 1rem; color: var(--muted); font-size: 1.15rem; }
.category-nav { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.35rem; }
.category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .45rem .8rem;
  border: 1px solid var(--navy);
  border-radius: .25rem;
  font-size: .91rem;
  font-weight: 700;
  text-decoration: none;
}
.category-nav a:hover { background: var(--gold-soft); }
.guide-index { padding-bottom: clamp(3rem, 7vw, 6rem); }
.guide-group {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: 3rem;
  padding-block: 2rem;
  border-top: 1px solid var(--line);
}
.guide-group h2 { font-size: clamp(1.9rem, 3.8vw, 2.85rem); }
.guide-group h2 + p { margin-top: .7rem; }

.article-header { background: var(--navy); color: var(--white); padding-block: 2rem clamp(2.5rem, 6vw, 4.5rem); }
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 .55rem;
  margin-bottom: clamp(1.1rem, 2.6vw, 2.1rem);
  color: var(--gold);
  font-size: .92rem;
}
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.article-header h1, .institutional h1 { font-size: clamp(2.35rem, 5.5vw, 4.15rem); }
.article-intro { margin-top: 1rem; font-size: clamp(1.125rem, 2vw, 1.35rem); line-height: 1.5; }
.article-header .article-intro { color: #e2e8f6; }
.byline { display: flex; flex-wrap: wrap; gap: 0 .55rem; margin-top: 1.25rem; font-size: .93rem; color: #e2e8f6; }
.article-body, .institutional { padding-block: clamp(2.3rem, 5vw, 4rem) clamp(3.6rem, 8vw, 6rem); }
.article-body h2, .institutional h2 { font-size: clamp(1.55rem, 3.3vw, 2.25rem); }
.article-body p, .institutional > p {
  margin-top: .75rem;
  font-size: 1.055rem;
  line-height: 1.72;
  overflow-wrap: anywhere;
}
.article-body section + section, .institutional h2 { margin-top: 2.05rem; }
.institutional header { margin-bottom: 2.6rem; }
.institutional > p a, .source-link a { color: var(--red); font-weight: 650; }
.takeaway { margin-top: 2.35rem; padding: 1.5rem; border-radius: .25rem; background: var(--gold-soft); }
.article-body .article-disclosure {
  margin-top: 2.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .94rem;
}
.article-body > .button { margin-top: 1.1rem; }

.site-footer { background: var(--navy-deep); color: var(--white); padding-block: 2rem; }
.site-footer .wordmark span { color: var(--gold); }
.footer-note { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #53627b; color: #e2e8f6; font-size: .9rem; }
.footer-note p + p { margin-top: .5rem; }

@media (max-width: 49rem) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-art { justify-self: center; width: min(100%, 22rem); }
  .section-heading, .editorial-inner, .guide-group { grid-template-columns: 1fr; gap: 1.15rem; }
  .group-list { grid-template-columns: 1fr; gap: .65rem; }
  .group { padding: 1.18rem 1rem .65rem; }
}
@media (max-width: 34rem) {
  .wrap, .reading { width: calc(100% - 2rem); }
  .header-inner { min-height: 3.8rem; gap: .6rem; }
  .site-header nav { gap: .04rem .65rem; justify-content: flex-end; }
  .site-header nav a { font-size: .82rem; }
  .site-header nav .header-action { padding-inline: .48rem; }
  .hero-inner { padding-block: 2.4rem 2.2rem; }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 2.65rem); }
  .hero-copy p { margin-top: 1rem; }
  .hero-actions { margin-top: 1.3rem; }
  .hero-art { width: min(100%, 17.75rem); }
  .footer-top { flex-direction: column; align-items: flex-start; gap: .65rem; }
  .site-footer nav { gap: .1rem .95rem; }
}
@media (max-width: 22rem) {
  .hero-actions { column-gap: .8rem; }
  .hero-secondary { font-size: .94rem; }
}
