/* CSS carregado apenas na primeira página inicial. */
.nm-home-active {
  --nm-sage: #f1f5ef;
  --nm-sand: #f2e9db;
  --nm-green: #2f7d54;
  --nm-deep: #2d5a3a;
  --nm-ink: #1a1a1a;
  --nm-muted: #5a5a4f;
  --nm-line: #d6dfd2;
}
.nm-home-active #page.site { max-width: none; }
.nm-home-active #content.site-content { display: block; padding: 0; }
.nm-home-active #primary.content-area { float: none; width: 100%; }
.nm-home-active #main.site-main { margin: 0; }
.nm-home-active .site-header .inside-header { max-width: 1200px; padding: 18px 24px; }
.nm-home-active .site-header .header-image { width: 140px; height: auto; }
.nm-home-active .site-header .main-navigation { margin-left: auto; }
.nm-home-active .site-header .main-navigation .main-nav > ul > li > a { padding-right: 13px; padding-left: 13px; }
.nm-home { color: var(--nm-ink); background: #fff; font-family: 'Hanken Grotesk', Arial, sans-serif; font-size: 17px; line-height: 1.5; }
.nm-home *, .nm-home *::before, .nm-home *::after { box-sizing: border-box; }
.nm-home-active #main.nm-home > * { margin-bottom: 0; }
.nm-home strong { font-weight: 600; }
.nm-home h1, .nm-home h2, .nm-home h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; color: var(--nm-ink); letter-spacing: -.035em; }
.nm-home h1 { font-size: clamp(42px, 4.7vw, 66px); line-height: 1.02; margin: 0 0 22px; }
.nm-home h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.13; margin: 0 0 14px; }
.nm-home h3 { font-size: 35px; line-height: 1.15; margin: 0 0 10px; }
.nm-home p { margin: 0 0 18px; }
.nm-home a { color: var(--nm-green); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.nm-home a:hover { color: var(--nm-deep); }
.nm-home a:focus-visible { outline: 3px solid var(--nm-green); outline-offset: 5px; }
.nm-container { width: min(100% - 64px, 1200px); margin-inline: auto; }
.nm-section { padding-block: 50px; }
.nm-home .nm-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--nm-deep); margin: 0 0 20px; }
.nm-eyebrow::before { content: ''; width: 36px; height: 1px; background: currentColor; flex-shrink: 0; }
.nm-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--nm-deep); }
.nm-hero-photo { position: absolute; top: 0; bottom: 0; right: 0; width: 64%; overflow: hidden; }
/* Fotografias da composição aprovada, exibidas como recortes CSS.
 * Um único WebP local, sem recriar rosto, cenário ou produtos da imagem.
 * A imagem original mede 952 x 1652. Cada recorte mantém sua proporção.
 */
.nm-hero-photo svg { display: block; width: 100%; height: 100%; }
.nm-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--nm-deep), transparent 18%); }
.nm-hero-inner { position: relative; min-height: 485px; display: flex; align-items: center; padding-block: 40px; }
.nm-hero-copy { width: min(46%, 510px); padding: 38px 40px 22px; background: rgba(241,245,239,.97); border: 1px solid #d5dfd0; }
.nm-home .nm-intro { font-size: 19px; line-height: 1.45; max-width: 34ch; color: var(--nm-muted); margin-bottom: 22px; }
.nm-home .nm-button { display: inline-flex; justify-content: center; align-items: center; gap: 15px; min-height: 46px; padding: 12px 20px; border: 1px solid var(--nm-green); border-radius: 3px; color: #fff; background: var(--nm-green); text-decoration: none; font-size: 16px; line-height: 1.3; font-weight: 600; }
.nm-home .nm-button:hover { background: var(--nm-deep); border-color: var(--nm-deep); color: #fff; }
.nm-home .nm-hero-links { display: flex; flex-wrap: wrap; gap: 0 15px; list-style: none; padding: 13px 0 0; margin: 19px 0 0; border-top: 1px solid var(--nm-line); font-size: 14px; }
.nm-hero-links li + li::before { content: '•'; color: var(--nm-green); margin-right: 15px; }
.nm-hero-links a { display: inline-block; padding-block: 8px; text-decoration: none; font-weight: 600; }
.nm-featured { background: var(--nm-sage); scroll-margin-top: 25px; }
.nm-section-heading { margin-bottom: 30px; }
.nm-centered { text-align: center; }
.nm-centered::before { content: ''; display: block; height: 1px; width: 46px; margin: 0 auto 10px; background: var(--nm-green); }
.nm-section-heading p { color: var(--nm-muted); font-size: 18px; }
.nm-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nm-card { display: flex; flex-direction: column; border: 1px solid #fff; background: rgba(255,255,255,.4); }
.nm-card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 23px; }
.nm-card-body p { color: var(--nm-muted); font-size: 16px; }
.nm-home .nm-byline { font-size: 13px; color: var(--nm-deep); margin: auto 0 16px; }
.nm-card-body .nm-button { gap: 12px; padding-inline: 16px; text-align: left; }
.nm-photo { position: relative; width: 100%; aspect-ratio: 284 / 194; overflow: hidden; background: var(--nm-sand); }
.nm-photo::before { content: ''; position: absolute; width: 335.2112676%; height: 851.5463918%; background: url('../images/composicao-aprovada.webp') 0 0 / 100% 100% no-repeat; }
.nm-photo-berberina::before { left: -13.028169%; top: -250%; }
.nm-photo-nac::before { left: -118.661972%; top: -250%; }
.nm-photo-peptistrong::before { left: -223.943662%; top: -250%; }
.nm-pillars { background: #fff; padding-block: 28px; }
.nm-pillar-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.nm-home .nm-pillar { display: flex; gap: 22px; color: var(--nm-ink); text-decoration: none; padding: 0 26px; }
.nm-pillar:first-child { padding-left: 0; }
.nm-pillar:last-child { padding-right: 0; }
.nm-pillar + .nm-pillar { border-left: 1px solid var(--nm-line); }
.nm-pillar > svg { flex-shrink: 0; margin-top: 5px; color: var(--nm-green); }
.nm-pillar > span > span, .nm-pillar strong { display: block; }
.nm-pillar strong { font-size: 17px; line-height: 1.4; margin-bottom: 4px; }
.nm-pillar > span > span { font-size: 15px; color: var(--nm-muted); }
.nm-home .nm-text-link { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; font-size: 15px; line-height: 1.5; color: var(--nm-green); padding-block: 7px; text-decoration: underline; text-underline-offset: 5px; }
.nm-pillar .nm-text-link { margin-top: 4px; }
.nm-topics { color: #fff; background: var(--nm-deep); }
.nm-home .nm-topics h2 { color: #fff; text-align: center; margin-bottom: 28px; }
.nm-home .nm-topic-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); grid-template-rows: repeat(4,auto); grid-auto-flow: column; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.nm-topic-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.23); color: #fff; text-decoration: none; font-size: 15px; line-height: 1.3; }
.nm-topic-list a:hover { color: #fff; text-decoration: underline; }
.nm-topic-list a:focus-visible { outline-color: #fff; }
.nm-topic-list a > span { font-size: 23px; line-height: 1; }
.nm-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.nm-heading-row h2 { margin: 0; }
.nm-small-card .nm-photo { aspect-ratio: 284 / 83; margin-bottom: 16px; }
.nm-small-card .nm-photo::before { height: 1990.361446%; }
.nm-photo-creatina::before { left: -13.028169%; top: -1437.349398%; }
.nm-photo-magnesio::before { left: -118.661972%; top: -1437.349398%; }
.nm-photo-omega::before { left: -223.943662%; top: -1437.349398%; }
.nm-small-card h3 { font-size: 26px; line-height: 1.2; }
.nm-small-card h3 a { color: var(--nm-ink); text-decoration: none; }
.nm-small-card h3 a:hover { text-decoration: underline; }
.nm-small-card .nm-byline { margin-bottom: 3px; }
.nm-about { background: var(--nm-sage); }
.nm-about-grid { display: grid; grid-template-columns: 300px minmax(0,1fr); align-items: center; gap: 70px; }
.nm-camila { display: block; width: 300px; height: 360px; object-fit: cover; object-position: center 23%; }
.nm-about-copy { padding-block: 35px; max-width: 680px; }
.nm-about-copy p { font-size: 16px; color: var(--nm-muted); }
.nm-home .nm-credentials { color: var(--nm-ink); font-size: 17px; }
.nm-credentials strong { font-size: 21px; }
.nm-about-copy .nm-eyebrow { margin-bottom: 14px; }
@media (min-width: 1500px) {
  .nm-hero-photo { width: 60%; }
}
@media (max-width: 1050px) {
  .nm-hero-copy { width: 50%; padding-inline: 26px; }
  .nm-hero-photo { width: 70%; }
  .nm-card-body { padding: 18px; }
  .nm-card-body .nm-button { font-size: 14px; padding-inline: 12px; gap: 8px; }
  .nm-pillar { gap: 12px; }
  .nm-pillar > svg { width: 28px; height: 28px; }
  .nm-pillar strong { font-size: 15px; }
  .nm-topic-list { column-gap: 24px; }
}
@media (max-width: 767px) {
  .nm-container { width: calc(100% - 36px); }
  .nm-section { padding-block: 36px; }
  .nm-home-active .site-header .inside-header { padding: 14px 18px; }
  /* O painel aberto ocupa a linha; os controles móveis mantêm margin-left: auto. */
  .nm-home-active .site-header #site-navigation { margin-left: 0; }
  .nm-home h1 { font-size: clamp(42px, 9vw, 58px); }
  .nm-home h2 { font-size: 32px; }
  .nm-hero { background: var(--nm-sage); }
  .nm-hero-photo { position: relative; width: 100%; aspect-ratio: 560 / 337; }
  .nm-hero-photo::after { display: none; }
  .nm-hero-inner { min-height: 0; display: block; padding-block: 0; }
  .nm-hero-copy { position: relative; width: 100%; margin-top: -20px; padding: 28px 22px 16px; background: var(--nm-sage); }
  .nm-home .nm-intro { font-size: 17px; max-width: 34ch; }
  .nm-home .nm-eyebrow { font-size: 10px; gap: 10px; letter-spacing: .12em; }
  .nm-card-grid { grid-template-columns: 1fr; gap: 24px; }
  .nm-card-body { padding: 22px; }
  .nm-card-body .nm-button { font-size: 16px; padding-inline: 18px; }
  .nm-card-body h3 { font-size: 35px; }
  .nm-section-heading { margin-bottom: 24px; }
  .nm-section-heading p { font-size: 17px; }
  .nm-pillar-grid { grid-template-columns: 1fr; gap: 22px; }
  .nm-home .nm-pillar { padding: 0 0 22px; gap: 18px; border-left: 0; border-bottom: 1px solid var(--nm-line); }
  .nm-pillar:last-child { padding-bottom: 0; border-bottom: 0; }
  .nm-pillar > svg { width: 36px; height: 36px; }
  .nm-pillar strong { font-size: 18px; }
  .nm-home .nm-topic-list { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: repeat(8,auto); gap: 0 22px; }
  .nm-topic-list a { font-size: 14px; min-height: 52px; }
  .nm-heading-row { align-items: flex-start; flex-direction: column; gap: 6px; }
  .nm-small-card { padding-bottom: 6px; }
  .nm-about-grid { grid-template-columns: 1fr; gap: 0; }
  .nm-camila { width: min(100%,300px); height: 320px; margin-inline: auto; }
  .nm-about-copy { padding-block: 30px; }
}
@media (max-width: 359px) {
  .nm-container { width: calc(100% - 28px); }
  .nm-hero-copy { padding-inline: 16px; }
  .nm-home .nm-hero-links { column-gap: 8px; font-size: 13px; }
  .nm-hero-links li + li::before { margin-right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .nm-home *, .nm-home *::before, .nm-home *::after { scroll-behavior: auto; transition: none; animation: none; }
}
