/* Grupo Humanizare — estilos do site estático (sem frameworks).
   Para publicar uma alteração, aumente o ?v= no <link> do index.html e do 404.html. */

/* ---------- Fontes locais (WOFF2, subconjunto latino) ---------- */
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/dm-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --navy: #1c2530;
  --navy-deep: #161f28;
  --navy-soft: #202c35;
  --lime: #d4d7a7;
  --green: #00ae94;
  --teal-panel: #00a88e;
  --teal-ink: #032a24;
  --ink: #23313a;
  --paper: #f8f9f6;
  --muted-on-paper: #5f6b66;
  --foreground: #f6f8f7;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 105px; }
html:has(dialog[open]) { overflow: hidden; }
body { background: var(--navy); color: var(--foreground); font-family: "DM Sans", Arial, sans-serif; font-size: 1rem; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3 { font-size: inherit; font-weight: inherit; }
ul { list-style: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
::selection { background: var(--lime); color: var(--navy); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }
.shell { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.section { padding: 105px 0; }

.skip-link { position: fixed; z-index: 100; top: -100px; left: 20px; background: var(--lime); color: var(--navy); padding: 12px 20px; }
.skip-link:focus { top: 12px; }

/* ---------- Cabeçalho ---------- */
.site-header { height: 100px; position: sticky; top: 0; z-index: 30; background: rgba(28, 37, 48, .96); backdrop-filter: blur(14px); border-bottom: 1px solid #ffffff12; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 26px; }
.brand { width: 265px; flex-shrink: 0; }
.brand img { width: 100%; height: auto; }
.desktop-nav { display: flex; align-items: center; gap: 29px; }
.desktop-nav a { font-size: .875rem; color: #c8cecd; transition: color .2s; }
.desktop-nav a:hover { color: var(--lime); }
.header-cta { display: flex; align-items: center; gap: 14px; border: 1px solid #d4d7a763; border-radius: 30px; padding: 12px 18px; font-size: .875rem; color: var(--lime); transition: background .2s; }
.header-cta:hover { background: #d4d7a716; }
.mobile-menu { display: none; color: #fff; padding: 10px; }

/* Menu do celular: <dialog> nativo (foco preso, Esc fecha, fundo inerte) */
.mobile-sheet { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(90vw, 390px); max-width: none; height: 100dvh; max-height: none; background: var(--navy); color: var(--foreground); border-left: 1px solid #ffffff22; transition: transform .25s ease; }
.mobile-sheet::backdrop { background: rgba(0, 0, 0, .55); }
@starting-style { .mobile-sheet[open] { transform: translateX(100%); } }
.mobile-sheet-inner { display: flex; flex-direction: column; min-height: 100%; padding: 30px 26px; }
.mobile-sheet-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.mobile-sheet-title { font-size: 1.125rem; font-weight: 500; color: #fff; }
.mobile-close { color: #fff; padding: 9px; }
.mobile-links { display: grid; margin-bottom: 32px; }
.mobile-links a { padding: 21px 0; border-bottom: 1px solid #ffffff24; font-size: 1.125rem; display: flex; align-items: center; justify-content: space-between; }
.mobile-sheet-note { font-size: 1rem; line-height: 1.7; color: #bec8c8; margin-top: auto; padding-top: 32px; }

/* ---------- Botões ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 21px; padding: 18px 25px; font-size: .875rem; font-weight: 500; line-height: 1.4; border-radius: 5px; transition: transform .2s, background .2s; min-height: 55px; max-width: 100%; text-align: left; }
.button:hover { transform: translateY(-2px); }
.button-lime { background: var(--lime); color: var(--navy); }
.button-lime:hover { background: #e3e5bd; }
.button-dark { background: var(--navy); color: #fff; }
.button-dark:hover { background: #32434e; }

/* ---------- Hero ---------- */
.hero { padding-top: 39px; }
.hero-layout { display: grid; grid-template-columns: 1.07fr 1fr; gap: 48px; align-items: stretch; }
.hero-copy { padding: 38px 0 18px; display: flex; align-items: flex-start; flex-direction: column; }
.eyebrow { font-size: .75rem; font-weight: 500; letter-spacing: .15em; line-height: 1.6; color: var(--lime); display: flex; align-items: center; gap: 12px; }
.eyebrow-line { width: 25px; height: 1px; background: var(--lime); }
h1 { font-weight: 300; font-size: clamp(3rem, 4.85vw, 4.375rem); line-height: 1.055; letter-spacing: -.045em; margin-top: 25px; }
h1 span { color: var(--lime); }
.hero-description { font-weight: 300; font-size: 1.0625rem; line-height: 1.75; max-width: 345px; color: #c7cece; margin: 26px 0 29px; }
.explore-link { display: flex; align-items: center; gap: 13px; margin-top: 39px; color: #9caaae; font-size: .75rem; letter-spacing: .015em; }
.explore-link > span { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #82909255; border-radius: 100%; }
.explore-link:hover { color: #fff; }
.hero-visual { position: relative; isolation: isolate; border-radius: 6px 6px 92px 6px; overflow: hidden; min-height: 620px; background: #314342; }
.hero-photo { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 73% 50%; }
.photo-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 37, 37, .94), transparent 56%), linear-gradient(180deg, #18383233, transparent 20%); }
.photo-tag { position: absolute; top: 27px; left: 26px; right: 26px; display: flex; align-items: center; gap: 8px; font-size: .75rem; letter-spacing: .13em; font-weight: 500; color: #fff; }
.photo-caption { position: absolute; bottom: 89px; left: 35px; color: #fff; }
.photo-caption > span { font-size: .75rem; letter-spacing: .14em; color: #cbd4cb; }
.photo-caption p { margin-top: 13px; font-size: 2.25rem; line-height: 1.08; letter-spacing: -.025em; font-weight: 300; }
.photo-link { position: absolute; right: 33px; bottom: 110px; display: grid; place-items: center; width: 53px; height: 53px; border-radius: 50%; border: 1px solid #d4d7a782; color: var(--lime); transition: background .2s; }
.photo-link:hover { background: #ffffff1c; }
.hero-index { display: flex; align-items: center; gap: 17px; position: absolute; left: 35px; right: 46px; bottom: 34px; color: #bac5ba; font-size: .75rem; letter-spacing: .08em; }
.hero-index > span.rule { height: 1px; flex: 1; background: #d5dfcf42; }
.principles { display: flex; justify-content: space-around; padding: 33px 0 35px; margin-top: 38px; border-top: 1px solid #ffffff19; color: #c4cccb; gap: 20px; }
.principles > li { display: flex; align-items: center; gap: 13px; font-size: .875rem; }
.principles svg { color: var(--lime); }

/* ---------- O grupo ---------- */
.about-section { background: var(--paper); color: var(--ink); border-bottom: 1px solid #e3e6df; }
.about-layout { display: grid; grid-template-columns: 1fr 2.7fr; gap: 70px; }
.dark-eyebrow { color: #5a716b; }
.section-side { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.section-number { font-size: .875rem; color: var(--muted-on-paper); }
h2 { font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.2; letter-spacing: -.04em; font-weight: 400; }
.about-content h2 span { color: #75807b; }
.about-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin-top: 36px; }
.about-bottom p { font-size: 1rem; line-height: 1.85; color: #64706b; }

/* ---------- Humanizare Saúde ---------- */
.health-section { background: var(--paper); color: var(--ink); }
.health-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
/* Contraste corrigido: todo o texto do painel em tinta escura sobre o verde da marca (5,1:1) */
.health-brand-panel { min-height: 465px; background: var(--teal-panel); border-radius: 6px 70px 6px 6px; padding: 35px 38px; color: var(--teal-ink); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.panel-top { display: flex; justify-content: space-between; align-items: center; }
.panel-top span { font-size: .75rem; letter-spacing: .13em; font-weight: 500; }
.health-brand-text { font-size: 3.0625rem; font-weight: 400; letter-spacing: -.045em; line-height: 1; margin-top: 60px; }
.health-brand-text > span { display: block; font-size: 2.375rem; font-weight: 300; margin-top: 7px; }
.panel-dna { font-size: 1.1875rem; line-height: 1.5; margin-top: 26px; font-weight: 300; }
.panel-dna strong { font-weight: 500; }
.panel-bottom { margin-top: auto; padding-top: 35px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #032a243b; }
.panel-bottom span { font-size: .75rem; letter-spacing: .13em; font-weight: 500; }
.health-copy > .eyebrow { margin-bottom: 21px; }
.health-copy h2 span { color: #078d76; }
.health-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.8; color: #65706c; margin-top: 22px; max-width: 460px; }
.specialties { margin: 23px 0 29px; }
.specialties li { display: flex; align-items: center; gap: 19px; border-bottom: 1px solid #dce2db; padding: 13px 0; font-size: .9375rem; }
.specialties li > span { font-size: .75rem; color: var(--muted-on-paper); min-width: 1.6em; font-variant-numeric: tabular-nums; }
.specialties li > svg { margin-left: auto; color: #078d76; }

/* ---------- Clube de benefícios ---------- */
.benefits-section { background: var(--navy-soft); padding: 96px 0 91px; overflow: hidden; }
.benefits-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; }
.benefits-copy > .eyebrow { margin-bottom: 23px; }
.benefits-copy h2 { font-size: clamp(2.25rem, 3.25vw, 2.9375rem); line-height: 1.17; font-weight: 300; }
.benefits-copy h2 span { color: var(--lime); }
.benefits-lead { font-size: 1.0625rem; line-height: 1.8; font-weight: 300; max-width: 430px; color: #bdc9ca; margin-top: 24px; }
.benefits-points { display: flex; flex-direction: column; gap: 16px; margin: 27px 0 34px; font-size: .875rem; color: #e0e6df; }
.benefits-points li { display: flex; align-items: center; gap: 12px; }
.benefits-points svg { color: var(--lime); }
.benefits-visual { height: 470px; position: relative; display: flex; justify-content: center; align-items: center; isolation: isolate; }
.benefit-orbit { position: absolute; width: 390px; height: 390px; border-radius: 50%; border: 1px solid #d4d7a71a; z-index: -1; }
.orbit-two { width: 300px; height: 300px; border-color: #d4d7a72c; }
.benefits-phone { width: 236px; height: auto; transform: translateX(-28px) rotate(8deg); filter: drop-shadow(0 35px 30px #090f1377); }
.club-label { position: absolute; right: 0; top: 0; z-index: 1; display: flex; flex-direction: column; gap: 5px; font-size: .75rem; letter-spacing: .14em; color: #94a09b; border-left: 1px solid #d4d7a766; padding-left: 14px; }
.club-label > span:first-child { color: var(--lime); }
.benefits-signature { position: absolute; bottom: 13px; right: 0; text-align: right; font-size: .875rem; color: #a9b7b6; line-height: 1.7; }
.benefits-signature strong { display: block; color: var(--lime); font-weight: 400; }

/* ---------- Texto corrido justificado ----------
   A hifenização (pt-BR) evita espaços grandes entre palavras nas colunas estreitas. */
.hero-description,
.about-bottom p,
.health-copy > p:not(.eyebrow),
.benefits-lead,
.notfound-text { text-align: justify; text-justify: inter-word; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-deep); padding-top: 49px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 38px; padding-bottom: 49px; }
.footer-brand { width: 250px; }
.footer-main > p { font-size: 1rem; line-height: 1.6; color: #cbd1ca; font-weight: 300; }
.footer-main > p > span { color: #879a9c; }
.footer-link { display: flex; align-items: center; gap: 12px; font-size: .875rem; color: var(--lime); }
.footer-link:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid #ffffff15; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .75rem; color: #93a1a5; }
.footer-bottom a { display: flex; align-items: center; gap: 10px; }
.up-arrow { transform: rotate(-90deg); }

/* ---------- Página 404 ---------- */
.notfound { min-height: calc(100dvh - 100px); display: flex; align-items: center; padding: 80px 0; }
.notfound-code { font-size: .75rem; letter-spacing: .15em; color: var(--lime); font-weight: 500; }
.notfound h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.site-footer--compact { padding-top: 0; }
.site-footer--compact .footer-bottom { border-top: 0; }
.notfound-text { font-weight: 300; font-size: 1.0625rem; line-height: 1.75; color: #c7cece; max-width: 460px; margin: 22px 0 30px; }
.notfound-links { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.notfound-links .text-link { color: var(--lime); font-size: .875rem; display: inline-flex; align-items: center; gap: 10px; }
.notfound-links .text-link:hover { text-decoration: underline; }

/* ---------- Responsivo ---------- */
@media (min-width: 1550px) {
  .hero-layout { gap: 85px; }
  .hero-copy { padding-top: 48px; }
  h1 { font-size: 4.625rem; }
  .hero-visual { min-height: 655px; }
}

@media (max-width: 1160px) {
  .shell { width: calc(100% - 72px); }
  .brand { width: 225px; }
  .desktop-nav { gap: 21px; }
  .header-cta { padding: 11px 14px; font-size: .75rem; }
  .hero-layout { gap: 30px; }
  .hero-visual { min-height: 600px; }
  .hero-copy { padding-top: 30px; }
  .health-layout { gap: 55px; }
  .health-brand-text { font-size: 2.625rem; }
  .about-layout { gap: 35px; }
  .footer-main { gap: 22px; }
  .footer-brand { width: 220px; }
}

@media (max-width: 960px) {
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; }
  .mobile-menu { display: block; }
  .site-header { height: 84px; }
  html { scroll-padding-top: 96px; }
  .hero { padding-top: 28px; }
  .hero-layout { gap: 28px; }
  .hero-visual { min-height: 570px; }
  .hero-description { font-size: 1rem; }
  .hero-copy { padding-top: 21px; }
  .hero-copy .button { padding-inline: 19px; gap: 13px; }
  .photo-caption { left: 24px; }
  .photo-caption p { font-size: 1.875rem; }
  .photo-link { right: 25px; width: 45px; height: 45px; }
  .photo-tag { left: 20px; right: 20px; letter-spacing: .08em; }
  .hero-index { left: 24px; }
  .section { padding-block: 78px; }
  .about-layout { grid-template-columns: 1fr 3fr; gap: 28px; }
  .health-layout { gap: 35px; }
  .health-brand-panel { padding: 28px; min-height: 440px; }
  .health-brand-text { font-size: 2.3125rem; }
  .panel-bottom span { letter-spacing: .06em; }
  .health-copy h2 { font-size: 1.9375rem; }
  .benefits-layout { gap: 24px; }
  .benefits-copy h2 { font-size: 2.25rem; }
  .benefit-orbit { width: 310px; height: 310px; }
  .orbit-two { width: 250px; height: 250px; }
  .benefits-phone { width: 217px; }
  .footer-main { flex-wrap: wrap; }
  .footer-main > p { margin-left: auto; }
  .footer-link { margin-top: 5px; }
  .footer-brand { width: 240px; }
  .notfound { min-height: calc(100dvh - 84px); }
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 40px); }
  .site-header { height: 78px; }
  .brand { width: 236px; }
  .header-inner { gap: 10px; }
  .header-cta { display: none; }
  .mobile-menu { margin-right: -9px; }
  .hero { padding-top: 15px; }
  .hero-layout { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy { padding: 20px 3px 0; }
  .hero-copy h1 { font-size: clamp(2.875rem, 9.7vw, 4rem); line-height: 1.07; margin-top: 23px; }
  .hero-description { font-size: 1.0625rem; max-width: 360px; margin: 22px 0 25px; }
  .hero-copy .button { padding: 18px 23px; }
  .explore-link { margin-top: 25px; }
  .hero-visual { min-height: 450px; border-bottom-right-radius: 70px; }
  .photo-tag { letter-spacing: .09em; top: 24px; left: 25px; }
  .photo-caption { bottom: 78px; left: 26px; }
  .photo-caption p { font-size: 2.125rem; }
  .photo-link { bottom: 92px; right: 25px; }
  .hero-index { left: 26px; bottom: 27px; }
  .principles { margin-top: 25px; padding: 25px 3px 28px; justify-content: space-between; gap: 12px; }
  .principles > li { font-size: .75rem; flex-direction: column; align-items: flex-start; gap: 9px; line-height: 1.5; }
  .principles svg { width: 19px; }
  .section { padding: 62px 0; }
  .about-layout { grid-template-columns: 1fr; gap: 24px; }
  .section-side { flex-direction: row; align-items: center; }
  .section-number { font-size: .75rem; }
  .about-content h2 { font-size: 2rem; line-height: 1.25; }
  .about-bottom { grid-template-columns: 1fr; gap: 17px; margin-top: 25px; }
  .about-bottom p { line-height: 1.8; }
  .health-layout { grid-template-columns: 1fr; gap: 35px; }
  .health-brand-panel { min-height: 390px; padding: 30px; }
  .health-brand-text { font-size: 3rem; margin-top: 43px; }
  .health-brand-text > span { font-size: 2.1875rem; }
  .panel-dna { margin-top: 22px; }
  .panel-bottom { padding-top: 23px; }
  .health-copy > .eyebrow { margin-bottom: 16px; }
  .health-copy h2 { font-size: 2.1875rem; }
  .health-copy > p:not(.eyebrow) { margin-top: 18px; }
  .specialties li { padding: 14px 0; }
  .benefits-layout { grid-template-columns: 1fr; gap: 26px; }
  .benefits-copy h2 { font-size: 2.375rem; }
  .benefits-lead { font-size: 1rem; max-width: 100%; }
  .benefits-points { gap: 17px; }
  /* Corrige sobreposição do celular sobre o rótulo do clube */
  .benefits-visual { height: 500px; padding-top: 40px; }
  .club-label { top: 0; right: auto; left: 0; }
  .benefits-phone { width: 210px; transform: rotate(8deg); }
  .benefit-orbit { width: 330px; height: 330px; max-width: 95%; top: 85px; }
  .orbit-two { width: 265px; height: 265px; top: 118px; }
  .benefits-signature { bottom: 0; font-size: .75rem; }
  .site-footer { padding-top: 39px; }
  .footer-main { align-items: flex-start; gap: 23px; padding-bottom: 34px; flex-direction: column; }
  .footer-brand { width: 250px; }
  .footer-main > p { margin-left: 0; }
  .footer-bottom { align-items: flex-start; gap: 20px; }
  .footer-bottom > span { max-width: 195px; line-height: 1.6; }
  .footer-bottom > a { white-space: nowrap; }
  .notfound { min-height: calc(100dvh - 78px); padding: 56px 0; }
}

@media (max-width: 360px) {
  .shell { width: calc(100% - 32px); }
  .brand { width: 210px; }
  .hero-copy h1 { font-size: 2.75rem; }
  .hero-visual { min-height: 415px; }
  .benefits-copy h2 { font-size: 2.0625rem; }
  .about-content h2 { font-size: 1.8125rem; }
  .health-brand-text { font-size: 2.5625rem; }
  .button { gap: 12px; padding-inline: 20px; }
  .footer-brand { width: 232px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .button:hover { transform: none; }
}
