/* Instituto Boese. Paleta e grafismos do manual da marca (navy + verde lima, ondas).
   Tema escuro travado: a identidade é navy. Raio: botões em pílula, imagens e cards
   em "folha" (canto sup. esq. e inf. dir. grandes), ecoando o grafismo da marca. */

:root {
  --ink: #0a1c28;
  --ink-2: #0f2533;
  --ink-3: #15303f;
  --line: rgb(234 242 236 / .12);
  --bone: #eaf2ec;
  --mist: #a9bcc5;
  --lime: #93e36a;
  --lime-deep: #7fcf57;
  --leaf: 56px;
  --leaf-sm: 28px;
  --r: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 5vw, 48px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: 26px; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 99px; z-index: 100; }
.skip:focus { left: 8px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 16px/1 "Outfit", sans-serif; text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn i { font-size: 20px; }
.btn:active { transform: scale(.98) translateY(1px); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--bone); }
.btn--ghost { border-color: rgb(147 227 106 / .55); color: var(--bone); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn--ink { background: var(--ink); color: var(--lime); }
.btn--ink:hover { background: var(--ink-3); }
.btn--sm { padding: 11px 20px; font-size: 15px; }
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 600; text-decoration: none; }
.link i { transition: transform .3s var(--ease); }
.link:hover i { transform: translateX(4px); }

.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(10 28 40 / .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__row { height: 72px; display: flex; align-items: center; gap: 32px; }
.nav__brand img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 30px; margin-left: auto; }
.nav__links a { text-decoration: none; color: var(--mist); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--bone); }
.nav__toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--bone); font-size: 28px; padding: 6px; cursor: pointer; }
.nav__sheet { display: grid; gap: 4px; padding: 8px var(--pad) 24px; border-top: 1px solid var(--line); }
.nav__sheet a:not(.btn) { padding: 14px 0; text-decoration: none; font-size: 20px; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav__sheet .btn { margin-top: 16px; }
.nav__sheet[hidden] { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 88px; }
.hero__waves { position: absolute; width: 620px; right: -140px; bottom: -120px; opacity: .08; pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; min-height: min(calc(100dvh - 72px - 144px), 720px); }
.hero__title { font-size: clamp(48px, 7vw, 92px); font-weight: 600; line-height: 1; letter-spacing: -.035em; margin: 20px 0 24px; }
.hero__title span { color: var(--lime); }
.hero__sub { font-size: clamp(18px, 1.6vw, 21px); color: var(--mist); max-width: 34ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__media { position: relative; margin: 0; justify-self: end; width: min(100%, 460px); }
.hero__media > img:first-child { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 160px 14px 160px 14px; }
.hero__symbol { position: absolute; width: 112px; aspect-ratio: 1; object-fit: contain; left: -40px; bottom: 36px; border-radius: 50%; background: var(--ink); padding: 24px; box-shadow: 0 20px 50px rgb(3 12 18 / .55); }

/* Ticker */
.ticker { border-block: 1px solid var(--line); background: var(--ink-2); overflow: hidden; }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li { display: flex; align-items: center; gap: 28px; padding: 22px 0 22px 28px; font-size: 18px; font-weight: 500; white-space: nowrap; color: var(--mist); }
.ticker li::after { content: ""; width: 26px; height: 8px; background: var(--lime); border-radius: 8px 1px 8px 1px; opacity: .8; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Seções */
.section { padding: clamp(80px, 11vw, 136px) 0; }
.section--deep { background: var(--ink-2); }
.head { max-width: 720px; margin-bottom: 56px; }
.head p { margin-top: 18px; color: var(--mist); font-size: 19px; max-width: 52ch; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.tile { position: relative; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--leaf) var(--r) var(--leaf) var(--r); display: flex; flex-direction: column; }
.tile > img { width: 100%; object-fit: cover; }
.tile__body { padding: 32px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.tile__icon { font-size: 34px; color: var(--lime); }
.tile p { color: var(--mist); }
.tile--fisio { grid-column: span 7; }
.tile--fisio > img { aspect-ratio: 16 / 9; }
.tile--orto { grid-column: span 5; }
.tile--orto > img { aspect-ratio: 4 / 3; }
.tile--treino { grid-column: span 5; background: var(--ink-3); }
.tile--treino > img { aspect-ratio: 4 / 3; }
.tile--nutri { grid-column: span 7; flex-direction: row; background: var(--lime); border-color: var(--lime); color: var(--ink); }
.tile--nutri .tile__body { justify-content: center; }
.tile--nutri details { margin-top: 8px; }
.tile--nutri .tile__icon, .tile--nutri summary { color: var(--ink); }
.tile--nutri p { color: #16384a; }
.tile--nutri > img { width: 44%; aspect-ratio: auto; min-height: 100%; }
.tile img { transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.04); }

details { margin-top: auto; }
summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 600; padding-top: 6px; }
summary::-webkit-details-marker { display: none; }
summary i { transition: transform .3s var(--ease); }
details[open] summary i { transform: rotate(45deg); }
details p { margin-top: 12px; font-size: 16px; }

/* Método */
.metodo { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.metodo__aside { position: sticky; top: 112px; }
.metodo__aside p { margin-top: 18px; color: var(--mist); font-size: 19px; }
.metodo__img { margin: 36px 0 0; }
.metodo__img img { aspect-ratio: 5 / 4; object-fit: cover; width: 100%; border-radius: var(--leaf) var(--r) var(--leaf) var(--r); }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 31px; top: 40px; bottom: 40px; width: 2px; background: linear-gradient(var(--lime), rgb(147 227 106 / .1)); }
.step { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 36px 0; }
.step + .step { border-top: 1px solid var(--line); }
.step__icon { width: 64px; height: 64px; display: grid; place-items: center; font-size: 28px; color: var(--ink); background: var(--lime); border-radius: 22px 6px 22px 6px; position: relative; }
.step h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 12px; }
.step p { color: var(--mist); max-width: 52ch; }

/* Projetos */
.projetos { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; }
.mentoria { position: relative; overflow: hidden; background: var(--lime); color: var(--ink); padding: clamp(32px, 5vw, 56px); border-radius: var(--leaf) var(--r) var(--leaf) var(--r); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.mentoria > :not(.mentoria__waves) { position: relative; }
.mentoria__waves { position: absolute; width: 340px; right: -90px; bottom: -70px; opacity: .16; filter: brightness(0) saturate(100%) invert(9%) sepia(22%) saturate(2000%) hue-rotate(170deg); pointer-events: none; }
.mentoria__tag { font-size: 14px; font-weight: 600; background: var(--ink); color: var(--lime); padding: 6px 14px; border-radius: 99px; }
.mentoria h3 { font-size: clamp(34px, 4vw, 48px); }
.mentoria__lead { font-size: 21px; font-weight: 500; }
.mentoria p:not(.mentoria__lead):not(.mentoria__tag) { color: #16384a; max-width: 56ch; position: relative; }
.mentoria .btn { margin-top: 10px; }
.ebooks { background: var(--ink-2); border: 1px solid var(--line); padding: clamp(32px, 5vw, 48px); border-radius: var(--r) var(--leaf) var(--r) var(--leaf); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.ebooks__icon { font-size: 44px; color: var(--lime); }
.ebooks h3 { font-size: clamp(30px, 3vw, 38px); }
.ebooks p { color: var(--mist); }
.ebooks .link { margin-top: auto; }

/* CTA */
.cta { position: relative; overflow: hidden; padding: clamp(96px, 14vw, 180px) 0; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(10 28 40 / .95) 30%, rgb(10 28 40 / .55)); }
.cta__inner { max-width: 1240px; }
.cta h2 { font-size: clamp(52px, 9vw, 120px); letter-spacing: -.04em; color: var(--lime); }
.cta p { font-size: clamp(20px, 2vw, 26px); max-width: 30ch; margin: 18px 0 36px; }
.cta strong { color: var(--lime); font-weight: 600; }

/* Contato */
.contato { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: stretch; }
.contato__info { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
address { font-style: normal; display: grid; gap: 20px; }
address p { display: grid; grid-template-columns: 28px 1fr; gap: 14px; font-size: 18px; }
address i { font-size: 24px; color: var(--lime); padding-top: 2px; }
address a { text-decoration: none; }
address a:hover { color: var(--lime); }
.contato__map { min-height: 400px; border-radius: var(--r) var(--leaf) var(--r) var(--leaf); overflow: hidden; border: 1px solid var(--line); }
.contato__map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9); }

/* Footer */
.footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 40px 0; }
.footer__waves { position: absolute; right: -80px; bottom: -30px; width: 520px; opacity: .06; pointer-events: none; }
.footer__row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--mist); font-size: 15px; }
.footer__row img { width: 34px; }
.footer__copy { margin-left: auto; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-size: 32px; box-shadow: 0 12px 32px rgb(3 12 18 / .5); transition: transform .3s var(--ease), opacity .3s; opacity: 0; transform: translateY(20px); pointer-events: none; }
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { transform: scale(1.06); }

/* Movimento */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .reveal.is-in { opacity: 1; transform: none; }
  .hero__copy > * { animation: rise 1s var(--ease) both; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .hero__copy > :nth-child(4) { animation-delay: .24s; }
  .hero__media { animation: rise 1.2s .1s var(--ease) both; }
  .hero__symbol { animation: spin-in 1.4s .5s var(--ease) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(32px); } }
  @keyframes spin-in { from { opacity: 0; transform: rotate(-90deg) scale(.6); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
}

/* Responsivo */
@media (max-width: 1023px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--fisio, .tile--orto, .tile--treino, .tile--nutri { grid-column: span 1; }
  .tile--fisio { grid-column: span 2; }
  .tile--nutri { grid-column: span 2; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  :root { --leaf: 36px; }
  .hero { padding: 32px 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; min-height: 0; }
  .hero__media { justify-self: stretch; width: 100%; }
  .hero__media > img:first-child { aspect-ratio: 4 / 3.4; border-radius: 96px 10px 96px 10px; }
  .hero__symbol { width: 80px; left: auto; right: 16px; bottom: -24px; padding: 16px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .bento { grid-template-columns: 1fr; }
  .tile--fisio, .tile--orto, .tile--treino, .tile--nutri { grid-column: span 1; }
  .tile--nutri { flex-direction: column-reverse; }
  .tile--nutri > img { width: 100%; aspect-ratio: 16 / 10; min-height: 0; }
  .tile__body { padding: 26px; }
  .metodo { grid-template-columns: 1fr; }
  .metodo__aside { position: static; }
  .step { grid-template-columns: 52px 1fr; gap: 20px; padding: 28px 0; }
  .step__icon { width: 52px; height: 52px; font-size: 24px; }
  .steps::before { left: 25px; }
  .projetos { grid-template-columns: 1fr; }
  .contato { grid-template-columns: 1fr; }
  .contato__map, .contato__map iframe { min-height: 320px; }
  .footer__copy { margin-left: 0; width: 100%; }
}
