/* =========================================================
   Simone Rodrigues — Massoterapia & Terapia Corporal
   Tokens conforme specs/design.md (aprovados em 2026-12-03)
   ========================================================= */

:root {
  /* Paleta */
  --argila: #A4583F;
  --argila-escura: #7E3F2C;
  --salvia: #7F8F74;
  --mel: #C89B5A;
  --linho: #FBF7F2;
  --areia-clara: #F3EBE1;
  --branco-quente: #FFFDFA;
  --areia: #E8DDD0;
  --cafe: #3A2A22;
  --taupe: #6E5D52;
  --whatsapp: #25D366;

  /* Tipografia */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-display: clamp(2.5rem, 1.6rem + 3.8vw, 4rem);
  --fs-h2: clamp(2rem, 1.5rem + 2.1vw, 3rem);
  --fs-h3: clamp(1.375rem, 1.3rem + .35vw, 1.625rem);
  --fs-lead: clamp(1.125rem, 1.08rem + .2vw, 1.25rem);
  --fs-body: clamp(1rem, .98rem + .1vw, 1.0625rem);
  --fs-small: .875rem;
  --fs-eyebrow: clamp(.75rem, .73rem + .1vw, .8125rem);

  /* Espaço */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --section: clamp(72px, 5rem + 3vw, 120px);
  --gutter: clamp(20px, 4vw, 32px);

  /* Formas */
  --r-card: 20px;
  --r-photo: 24px;
  --r-pill: 999px;
  --shadow: 0 8px 24px rgba(58, 42, 34, .06);
  --shadow-hover: 0 14px 32px rgba(58, 42, 34, .10);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--cafe);
  background: var(--linho);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; color: var(--cafe); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--argila); }
p { margin: 0 0 var(--s4); }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

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

.skip-link {
  position: absolute; left: var(--s4); top: -60px; z-index: 100;
  background: var(--cafe); color: var(--branco-quente);
  padding: var(--s3) var(--s4); border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: var(--s4); }

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

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; fill: currentColor; }
.icon--line { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  font-size: var(--fs-eyebrow); font-weight: 600; text-transform: uppercase;
  letter-spacing: .18em; color: var(--argila); margin-bottom: var(--s4);
}
.eyebrow--light { color: #F3D9B8; }
.lead { font-size: var(--fs-lead); color: var(--taupe); max-width: 34em; }

.divider { display: block; width: 56px; height: 2px; background: var(--mel); margin: var(--s5) auto; border-radius: 2px; }
.divider--left { margin-inline: 0; }

.section { padding-block: var(--section); }
.section--alt { background: var(--areia-clara); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto var(--s7); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p:last-child { color: var(--taupe); margin-bottom: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 26px; border-radius: var(--r-pill);
  font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.btn--primary { background: var(--argila); color: var(--branco-quente); box-shadow: 0 6px 18px rgba(164, 88, 63, .22); }
.btn--primary:hover { background: var(--argila-escura); transform: translateY(-2px); }
.btn--ghost { border-color: var(--argila); color: var(--argila); background: transparent; }
.btn--ghost:hover { background: var(--areia-clara); color: var(--argila-escura); border-color: var(--argila-escura); }
.btn--light { background: var(--branco-quente); color: var(--argila-escura); }
.btn--light:hover { background: var(--linho); transform: translateY(-2px); }
.btn--lg { min-height: 54px; padding: 0 30px; }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; }

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 242, .88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--areia); box-shadow: 0 4px 18px rgba(58, 42, 34, .05); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); min-height: 72px; }

.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.625rem; font-weight: 600; color: var(--cafe); letter-spacing: .01em; }
.brand__tag { font-size: .625rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--argila); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: var(--s6); }
.nav__list { display: flex; gap: var(--s5); }
.nav__list a { text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--taupe); padding-block: var(--s2); position: relative; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--argila); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav__list a:hover { color: var(--cafe); }
.nav__list a:hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--areia); background: var(--branco-quente); color: var(--cafe);
  align-items: center; justify-content: center; cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) var(--section); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(200, 155, 90, .16), transparent 65%); pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; }
.hero__title { font-size: var(--fs-display); font-weight: 600; margin-bottom: var(--s5); letter-spacing: -.01em; }
.hero__title em { display: inline-block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s6) 0 var(--s6); }

.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 8px 14px; border-radius: var(--r-pill);
  background: var(--branco-quente); border: 1px solid var(--areia);
  font-size: var(--fs-small); font-weight: 500; color: var(--taupe);
}
.chip .icon { color: var(--salvia); width: 18px; height: 18px; }

.hero__media { position: relative; justify-self: center; width: min(100%, 440px); }
.arch {
  border-radius: 999px 999px var(--r-photo) var(--r-photo);
  overflow: hidden; background: var(--areia-clara);
  aspect-ratio: 3 / 4;
  box-shadow: 0 30px 60px -20px rgba(126, 63, 44, .30);
  outline: 1px solid var(--areia); outline-offset: 10px;
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.float-card {
  position: absolute; left: -28px; bottom: 36px;
  display: flex; align-items: center; gap: var(--s3);
  background: var(--branco-quente); border: 1px solid var(--areia); border-radius: 16px;
  padding: 12px 16px; box-shadow: var(--shadow-hover);
  font-size: .8125rem; color: var(--taupe); line-height: 1.4;
}
.float-card strong { color: var(--cafe); font-weight: 600; }
.float-card__icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(127, 143, 116, .16); color: var(--salvia); display: grid; place-items: center; }

/* ---------- Para quem é ---------- */
.signs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.sign {
  background: var(--branco-quente); border: 1px solid var(--areia); border-radius: var(--r-card);
  padding: var(--s6) var(--s5); text-align: center; box-shadow: var(--shadow);
}
.sign h3 { font-size: var(--fs-h3); margin: var(--s4) 0 var(--s2); }
.sign p { color: var(--taupe); font-size: .9375rem; margin: 0; }
.sign__icon, .card__icon, .values__icon, .info__icon, .step__icon {
  display: inline-grid; place-items: center; border-radius: 50%;
  background: rgba(164, 88, 63, .09); color: var(--argila);
}
.sign__icon { width: 56px; height: 56px; }
.sign__icon .icon { width: 26px; height: 26px; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__media { position: relative; }
.about__media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: var(--r-photo);
  background: var(--areia-clara); border: 1px solid var(--areia); z-index: -1;
}
.about__media img { border-radius: var(--r-photo); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%; }
.about__text h2 { font-size: var(--fs-h2); }
.about__text > p { color: var(--taupe); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin: var(--s6) 0 var(--s6); }
.values li { display: flex; gap: var(--s3); align-items: flex-start; }
.values__icon { width: 44px; height: 44px; flex-shrink: 0; }
.values h3 { font-family: var(--sans); font-size: .9375rem; font-weight: 700; line-height: 1.35; margin-bottom: 2px; }
.values p { font-size: .875rem; color: var(--taupe); margin: 0; line-height: 1.5; }

/* ---------- Terapias ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); margin-bottom: var(--s7); }
.tab {
  min-height: 44px; padding: 0 20px; border-radius: var(--r-pill);
  border: 1px solid var(--areia); background: var(--branco-quente); color: var(--taupe);
  font: 600 .875rem/1 var(--sans); cursor: pointer; transition: all .2s var(--ease);
}
.tab:hover { border-color: var(--argila); color: var(--argila); }
.tab.is-active { background: var(--argila); border-color: var(--argila); color: var(--branco-quente); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.card {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--branco-quente); border: 1px solid var(--areia); border-radius: var(--r-card);
  padding: var(--s6); box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card[hidden] { display: none; }
.card__icon { width: 52px; height: 52px; margin-bottom: var(--s4); }
.card__icon .icon { width: 24px; height: 24px; }
.card__cat { font-size: .6875rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--salvia); margin-bottom: var(--s2); filter: brightness(.82); }
.card h3 { font-size: var(--fs-h3); margin-bottom: var(--s3); }
.card > p:not(.card__cat) { color: var(--taupe); font-size: .9375rem; flex-grow: 1; }
.card .btn { margin-top: var(--s3); }

.note { text-align: center; color: var(--taupe); font-size: var(--fs-small); max-width: 640px; margin: var(--s7) auto 0; }

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); counter-reset: step; position: relative; }
.step {
  position: relative; background: var(--branco-quente); border: 1px solid var(--areia);
  border-radius: var(--r-card); padding: var(--s6) var(--s5); box-shadow: var(--shadow);
}
.step__num { position: absolute; top: var(--s5); right: var(--s5); font-family: var(--serif); font-size: 2.25rem; font-weight: 500; line-height: 1; color: var(--mel); }
.step__icon { width: 48px; height: 48px; margin-bottom: var(--s4); }
.step h3 { font-size: var(--fs-h3); margin-bottom: var(--s2); }
.step p { color: var(--taupe); font-size: .9375rem; margin: 0; }

/* ---------- Localização ---------- */
.location { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--s5); align-items: stretch; }
.info-card {
  background: var(--branco-quente); border: 1px solid var(--areia); border-radius: var(--r-card);
  padding: var(--s6); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: var(--s5);
}
.info { display: flex; gap: var(--s4); }
.info__icon { width: 44px; height: 44px; flex-shrink: 0; }
.info h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.info p, .info address { color: var(--taupe); font-size: .9375rem; margin: 0; }
.info-card__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: auto; }

.map {
  border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--areia);
  min-height: 360px; background:
    radial-gradient(circle at 30% 30%, rgba(127, 143, 116, .18), transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(200, 155, 90, .18), transparent 50%),
    var(--areia-clara);
  box-shadow: var(--shadow);
}
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.map__load {
  width: 100%; height: 100%; min-height: 360px; border: 0; background: transparent; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s2);
  font: 600 1rem var(--sans); color: var(--argila-escura);
}
.map__load .icon { width: 40px; height: 40px; color: var(--argila); }
.map__load small { font-weight: 400; color: var(--taupe); font-size: .8125rem; }
.map__load:hover span { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s3); }
.faq details {
  background: var(--branco-quente); border: 1px solid var(--areia); border-radius: 16px;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
  padding: var(--s5); font-family: var(--serif); font-size: 1.3125rem; font-weight: 600; color: var(--cafe);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--argila); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 var(--s5) var(--s5); margin: 0; color: var(--taupe); }

/* ---------- Faixa CTA ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--argila-escura), var(--argila));
  color: var(--branco-quente); text-align: center; padding-block: clamp(72px, 9vw, 112px);
  position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 253, 250, .14); pointer-events: none;
}
.cta-band::before { width: 520px; height: 520px; left: -180px; top: -260px; }
.cta-band::after { width: 420px; height: 420px; right: -140px; bottom: -240px; }
.cta-band__inner { position: relative; }
.cta-band h2 { color: var(--branco-quente); font-size: var(--fs-h2); margin-bottom: var(--s4); }
.cta-band h2 em { color: #F3D9B8; }
.cta-band p:not(.eyebrow) { color: rgba(255, 253, 250, .88); margin-bottom: var(--s6); }

/* ---------- Rodapé ---------- */
.footer { background: var(--linho); padding-top: var(--s8); border-top: 1px solid var(--areia); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s7); padding-bottom: var(--s7); }
.brand--footer { margin-bottom: var(--s4); }
.footer__text { color: var(--taupe); font-size: .9375rem; max-width: 30em; }
.footer__title { font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--argila); margin-bottom: var(--s4); }
.footer__list { display: grid; gap: 0; }
.footer__list a { min-height: 44px; }
.footer__list li:not(:has(a)) { padding-block: 10px; }
.brand { min-height: 44px; justify-content: center; }
.footer__list li, .footer__list a { display: inline-flex; align-items: center; gap: var(--s2); color: var(--taupe); font-size: .9375rem; text-decoration: none; }
.footer__list a:hover { color: var(--argila); }
.footer__list .icon { color: var(--argila); width: 18px; height: 18px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3);
  border-top: 1px solid var(--areia); padding-block: var(--s5) calc(var(--s5) + 72px);
  font-size: .8125rem; color: var(--taupe);
}
.footer__bottom p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: var(--s2);
  height: 56px; padding: 0 22px 0 18px; border-radius: var(--r-pill);
  background: var(--whatsapp); color: #0B3D1F; font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .35);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(37, 211, 102, .42); }

/* ---------- Animações ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .signs, .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .nav__list { gap: var(--s4); }
}

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: var(--s5);
    background: var(--linho); border-bottom: 1px solid var(--areia);
    padding: var(--s5) var(--gutter) var(--s6);
    box-shadow: 0 18px 30px rgba(58, 42, 34, .08);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 0; font-size: 1.0625rem; border-bottom: 1px solid var(--areia); }
  .nav__list a::after { display: none; }
  .nav__cta { width: 100%; }

  .hero__grid, .about, .location { grid-template-columns: 1fr; }
  .hero__media { width: min(100%, 360px); order: 2; }
  .hero__text { order: 1; }
  .float-card { left: -8px; bottom: 20px; }
  .about__media { max-width: 420px; margin-inline: auto; width: 100%; }
  .about__media::before { inset: 16px -12px -12px 16px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .hero__actions .btn { width: 100%; }
  .signs { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .sign { padding: var(--s5) var(--s4); }
  .sign h3 { font-size: 1.25rem; }
  .sign p { font-size: .875rem; }
  .cards, .steps, .values { grid-template-columns: 1fr; }
  .card, .step, .info-card { padding: var(--s5); }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex-shrink: 0; }
  .info-card__actions .btn { flex: 1 1 auto; }
  .faq summary { font-size: 1.1875rem; padding: var(--s4) var(--s5); }
  .footer__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .wa-float { width: 56px; padding: 0; justify-content: center; right: 16px; bottom: 16px; }
  .wa-float__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .brand__name { font-size: 1.4375rem; }
}
