/* =========================================================
   Bem Estar Estúdio de Pilates — Landing page
   Conceito: uma visita ao estúdio antes da primeira aula
   ========================================================= */

:root {
  /* Base (do espaço físico) */
  --bg: #FBF8F4;
  --bg-alt: #F3EEE7;
  --ink: #2E3236;
  --ink-soft: #5A5F64;
  --line: #E2DCD3;
  --on-dark: #F3EFE9;
  --on-dark-soft: #C9C6C0;

  /* Marca (do logotipo) */
  --magenta: #EC268F;
  --orange: #FFA400;
  --cyan: #00C8FA;
  --grey: #9A9B9D;
  --brand-grad: linear-gradient(180deg, #EC268F 0%, #FFA400 100%);
  --text-grad: linear-gradient(95deg, #EC268F 10%, #E2590A 90%); /* versão com contraste ≥ 3:1 para texto grande */

  --wa: #128C7E;

  /* Tipografia */
  --f-display: "Urbanist", system-ui, sans-serif;
  --f-body: "Source Sans 3", system-ui, sans-serif;

  --radius: 14px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4rem, 10vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--f-display); margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--on-dark); padding: .6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }

/* ---------- Tipos ---------- */
.eyebrow {
  font-family: var(--f-display); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.eyebrow--light { color: var(--orange); }
.h2 {
  font-weight: 300; font-size: clamp(2rem, 4.6vw, 3.25rem);
  line-height: 1.08; letter-spacing: -.02em;
}
.h2--light { color: var(--on-dark); }
.h3 { font-weight: 600; font-size: 1.3rem; line-height: 1.25; }
.kicker {
  font-family: var(--f-display); font-weight: 600; font-size: 1rem;
  color: var(--magenta); letter-spacing: .02em; margin-bottom: 1.5rem;
}
.grad-text {
  font-weight: 600;
  background: var(--text-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.dot {
  display: inline-block; width: .6em; height: .6em; border-radius: 50%;
  background: var(--brand-grad); margin-right: .55em; vertical-align: .05em;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.4rem;
  font-family: var(--f-display); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; text-align: center;
  color: var(--ink); background: var(--orange);
  border: 2px solid var(--orange); border-radius: 999px; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(226, 89, 10, .7); }
.btn--small { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }
.btn--large { min-height: 58px; padding: 1rem 1.8rem; font-size: 1.08rem; }
.btn--ghost { background: transparent; border-color: var(--on-dark-soft); color: var(--on-dark); }
.btn--ghost:hover { box-shadow: none; border-color: var(--on-dark); }

.linklike {
  background: none; border: 0; padding: 0; font: inherit; color: inherit;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

.only-mobile { display: inline; }
.only-desktop { display: none; }
@media (min-width: 640px) { .only-mobile { display: none; } .only-desktop { display: inline; } }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 248, 244, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.topbar.is-scrolled { border-bottom-color: var(--line); }
.topbar__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.topbar__logo { flex: none; }
.topbar__logo img { width: 118px; }
.topbar__actions { display: flex; align-items: center; gap: .5rem; }
@media (min-width: 900px) { .topbar__logo img { width: 140px; } .topbar__inner { min-height: 80px; } }

/* Menu — sempre visível no header */
.topbar__inner { flex-wrap: wrap; column-gap: 1rem; row-gap: 0; }
.nav { order: 3; flex: 1 0 100%; min-width: 0; max-width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); border-top: 1px solid var(--line); }
.nav__list {
  display: flex; gap: 1.5rem; overflow-x: auto; scrollbar-width: none; min-width: 0;
  padding-inline: var(--gutter); -webkit-overflow-scrolling: touch;
}
.nav__list::-webkit-scrollbar { display: none; }
.nav__link {
  position: relative; display: flex; align-items: center; min-height: 44px; white-space: nowrap;
  font-family: var(--f-display); font-weight: 600; font-size: .9rem; text-decoration: none;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px;
  background: var(--brand-grad); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

/* Texto curto do botão do topo em telas médias */
.topbar .btn .only-desktop { display: none; }
.topbar .btn .only-mobile { display: inline; }

@media (min-width: 900px) {
  .topbar__inner { flex-wrap: nowrap; }
  .nav { order: 0; flex: 0 1 auto; margin-inline: 0 0; margin-left: auto; border-top: 0; }
  .nav__list { gap: 1.25rem; padding-inline: 0; overflow: visible; }
  .nav__link { font-size: .875rem; }
  .topbar__actions { margin-left: .5rem; }
}
@media (min-width: 1200px) {
  .nav__list { gap: 1.75rem; }
  .nav__link { font-size: .95rem; }
  .topbar__actions { margin-left: 1rem; }
  .topbar .btn .only-desktop { display: inline; }
  .topbar .btn .only-mobile { display: none; }
}

/* Âncoras do menu não ficam sob a barra fixa */
main section[id] { scroll-margin-top: 120px; }
@media (min-width: 900px) { main section[id] { scroll-margin-top: 84px; } }
@media (max-width: 899px) {
  .topbar__inner { min-height: 0; padding-top: .6rem; padding-bottom: 0; row-gap: .5rem; }
  .nav__list { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 2.5rem; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(2rem, 6vw, 4.5rem); padding-bottom: var(--section); }
.hero__title {
  font-weight: 300;
  font-size: clamp(2.9rem, 10.5vw, 7.4rem);
  line-height: .98; letter-spacing: -.035em;
  margin-top: 1rem; max-width: 12ch;
}
.hero__grid { display: grid; gap: 2.25rem; margin-top: clamp(2rem, 5vw, 3.5rem); }
.hero__copy { display: grid; gap: 1.4rem; align-content: end; justify-items: start; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.6; max-width: 36ch; }
.hero__note { font-size: .95rem; color: var(--ink-soft); max-width: 38ch; }
.hero__hours { font-family: var(--f-display); font-weight: 600; font-size: .95rem; padding-top: 1rem; border-top: 1px solid var(--line); width: 100%; max-width: 38ch; }

.hero__media { order: 2; }
.hero__media img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
  border-radius: 999px 999px var(--radius) var(--radius) / 60% 60% var(--radius) var(--radius);
}
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: end; }
  .hero__media { order: 0; }
  .hero__media img { aspect-ratio: 1 / 1; max-height: 560px; }
  .hero__title { max-width: none; }
}

/* ---------- Identificação ---------- */
.recognize { background: var(--bg-alt); padding-block: var(--section); }
.statements { display: grid; gap: 0; }
.statements li {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.3; letter-spacing: -.01em;
  padding-block: 1.1rem; border-bottom: 1px solid var(--line);
}
.statements li:first-child { border-top: 1px solid var(--line); }
.statements em { font-style: italic; color: var(--magenta); }
.recognize__close { margin-top: 2.25rem; font-size: 1.15rem; max-width: 52ch; }

/* ---------- Percurso ---------- */
.path { padding-block: var(--section); }
.section-head { display: grid; gap: .75rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head__sub { color: var(--ink-soft); font-size: 1.1rem; }

.path__line { position: relative; display: grid; gap: 2.5rem; padding-left: 2rem; }
.path__line::before {
  content: ""; position: absolute; left: 6px; top: .5rem; bottom: .5rem; width: 2px;
  background: linear-gradient(180deg, var(--magenta), var(--orange));
}
.path__stop { position: relative; display: grid; gap: .5rem; }
.path__stop::before {
  content: ""; position: absolute; left: calc(-2rem + 1px); top: .35rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--magenta);
}
.path__stop:nth-child(2)::before { border-color: #F4663F; }
.path__stop:nth-child(3)::before { border-color: var(--orange); }
.path__label { font-family: var(--f-display); font-weight: 600; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.path__stop p { color: var(--ink-soft); max-width: 34ch; }

@media (min-width: 900px) {
  .path__line { grid-template-columns: repeat(3, 1fr); gap: 3rem; padding-left: 0; padding-top: 2.5rem; }
  .path__line::before { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--magenta), var(--orange)); }
  .path__stop::before { left: 0; top: calc(-2.5rem + 1px); }
}

/* ---------- Estúdio ---------- */
.studio { background: var(--ink); color: var(--on-dark); padding-block: var(--section); }
.studio__intro { display: grid; gap: 2rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.studio .h2 { color: var(--on-dark); max-width: 16ch; }
.facts { display: grid; gap: 1rem; }
.facts li { position: relative; padding-left: 1.4rem; color: var(--on-dark-soft); max-width: 46ch; }
.facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: .6em; height: .6em; border-radius: 50%; background: var(--brand-grad); }
.facts strong { color: var(--on-dark); font-weight: 600; }
@media (min-width: 900px) { .studio__intro { grid-template-columns: 1fr 1fr; align-items: end; gap: 4rem; } }

.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.mosaic__item { position: relative; overflow: hidden; border-radius: var(--radius); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.mosaic__item--a { grid-column: 1 / -1; border-radius: 999px 999px var(--radius) var(--radius) / 40% 40% var(--radius) var(--radius); }
.mosaic__item--a img { aspect-ratio: 4 / 4.2; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
  .mosaic__item--a { grid-column: 1; grid-row: 1 / span 2; }
  .mosaic__item--a img { aspect-ratio: auto; min-height: 100%; }
  .mosaic__item--b { grid-column: 2; grid-row: 1 / span 2; }
  .mosaic__item--b img { aspect-ratio: auto; }
  .mosaic__item--c, .mosaic__item--d { grid-column: 3; }
  .mosaic__item--c img, .mosaic__item--d img { aspect-ratio: 1 / 1; }
}

/* ---------- Para quem ---------- */
.forwho { padding-block: var(--section); }
.forwho__grid { display: grid; gap: 2.25rem; }
.forwho__head { display: grid; gap: 1.75rem; justify-items: start; }
.checklist { display: grid; gap: 0; }
.checklist li {
  position: relative; padding: .95rem 0 .95rem 2rem;
  border-bottom: 1px solid var(--line); font-size: 1.1rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1.3rem;
  width: .9rem; height: .5rem; border-left: 2px solid var(--magenta); border-bottom: 2px solid var(--magenta);
  transform: rotate(-45deg);
}
.forwho__note {
  margin-top: 1.75rem; padding: 1.1rem 1.25rem; border-left: 3px solid var(--cyan);
  background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-soft);
}
@media (min-width: 900px) { .forwho__grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; } .forwho__head { position: sticky; top: 7rem; align-self: start; } }

/* ---------- FAQ ---------- */
.faq { background: var(--bg-alt); padding-block: var(--section); }
.faq .h2 { margin-bottom: 2rem; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.2rem 2.5rem 1.2rem 0; min-height: 48px;
  font-family: var(--f-display); font-weight: 600; font-size: 1.15rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 300; color: var(--magenta); transition: transform .2s ease;
}
.faq__list details[open] summary::after { content: "–"; }
.faq__list details p { padding-bottom: 1.3rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Visita / CTA final ---------- */
.visit { background: var(--ink); color: var(--on-dark); padding-block: var(--section); }
.visit__grid { display: grid; gap: 2.5rem; align-items: start; }
.visit__media img {
  width: 100%; max-width: 360px; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 35%;
  border-radius: 999px 999px var(--radius) var(--radius) / 45% 45% var(--radius) var(--radius);
}
.visit__copy { display: grid; gap: 1.5rem; justify-items: start; }
.visit__copy { width: 100%; }
.map {
  width: 100%; aspect-ratio: 16 / 10; max-width: 100%;
  border-radius: var(--radius); overflow: hidden;
  background: #383D42; border: 1px solid rgba(255, 255, 255, .08);
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map__placeholder {
  height: 100%; display: grid; place-content: center; justify-items: center; gap: .75rem;
  padding: 1.5rem; text-align: center; color: var(--on-dark-soft);
}
.map__placeholder svg { color: var(--orange); }
@media (max-width: 520px) { .map { aspect-ratio: 4 / 3.4; } }
.visit__info { font-style: normal; display: grid; gap: .25rem; color: var(--on-dark-soft); font-size: 1.05rem; }
.visit__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.75rem; margin-top: .5rem; }
.link-light { color: var(--on-dark); font-weight: 600; text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 900px) { .visit__grid { grid-template-columns: 340px 1fr; gap: 4rem; align-items: center; } }

/* ---------- Rodapé ---------- */
.footer { background: #25282B; color: var(--on-dark-soft); padding-block: 2.5rem 6.5rem; font-size: .95rem; }
.footer__inner { display: grid; gap: 1.5rem; }
.footer__brand { display: flex; gap: .9rem; align-items: center; }
.footer__brand div { display: grid; }
.footer__brand strong { color: var(--on-dark); font-family: var(--f-display); font-weight: 600; }
.footer__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer__links a, .footer__links button { color: var(--on-dark-soft); min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 3px; }
.footer__links a:hover, .footer__links button:hover { color: var(--on-dark); }
.footer__copy { font-size: .8125rem; }
@media (min-width: 900px) {
  .footer { padding-bottom: 2.5rem; }
  .footer__inner { grid-template-columns: auto 1fr; align-items: center; }
  .footer__links { justify-content: flex-end; }
  .mm-footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.25rem; }
}

/* ---------- Assinatura de autoria ---------- */
.mm-footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: .75rem 1.5rem;
}
.mm-credit {
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 2.75rem; padding: .35rem .85rem .35rem .5rem;
  border: 1px solid rgba(201, 198, 192, .2);       /* texto do rodapé a 20% */
  border-radius: 999px;                             /* mesmo raio dos botões da página */
  color: rgba(201, 198, 192, .75);                  /* texto do rodapé a 75% → 5,5:1 sobre #25282B */
  font-family: var(--f-display);
  font-size: .8125rem; font-weight: 600; line-height: 1.2; text-decoration: none;
  transition: color .2s, border-color .2s;
}
.mm-credit:hover, .mm-credit:focus-visible { color: var(--on-dark-soft); border-color: #fdd301; }
.mm-credit__icon { flex: none; display: block; }
.mm-credit--plate .mm-credit__plate { fill: #00165c; }
.mm-credit--plate .mm-credit__m-back { fill: #f7faf7; }
.mm-credit--bare .mm-credit__plate { fill: none; }
.mm-credit--bare .mm-credit__m-back { fill: currentColor; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 50;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 10px 28px -10px rgba(0,0,0,.45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
body.has-cookie-banner .wa-float { bottom: calc(var(--cookie-h, 0px) + 1rem); }

/* ---------- Cookies ---------- */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--ink); color: var(--on-dark);
  padding: 1rem var(--gutter); display: grid; gap: .9rem;
  box-shadow: 0 -8px 30px rgba(0,0,0,.2); font-size: .95rem;
}
.cookie[hidden] { display: none; }
.cookie .linklike { color: var(--orange); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (min-width: 900px) {
  .cookie { left: 1.5rem; right: auto; bottom: 1.5rem; max-width: 520px; border-radius: var(--radius); padding: 1.25rem 1.5rem; }
  body.has-cookie-banner .wa-float { bottom: 1.5rem; }
}

/* ---------- Modal ---------- */
.modal {
  width: min(680px, calc(100% - 2rem)); max-height: 85vh;
  border: 0; border-radius: var(--radius); padding: 0;
  background: var(--bg); color: var(--ink);
}
.modal::backdrop { background: rgba(30, 32, 34, .6); }
.modal__body { padding: clamp(1.25rem, 4vw, 2.25rem); display: grid; gap: .8rem; font-size: 1rem; }
.modal__body h3 { font-size: 1.05rem; font-weight: 600; margin-top: .6rem; }
.modal__body .btn { justify-self: start; margin-top: 1rem; }

/* ---------- Ajustes de celular (barra e fachada) ---------- */
.topbar .btn { white-space: nowrap; }
@media (max-width: 899px) {
  .visit__media img { max-width: 100%; aspect-ratio: 16 / 11; object-position: center 30%; }
}
@media (max-width: 420px) {
  .topbar__logo img { width: 100px; }
  .topbar__inner { gap: .5rem; }
  .topbar .btn--small { padding-inline: .85rem; gap: .4rem; }
}
