/* Dra. Letícia Passolongo — landing page
   Identidade: Raleway (títulos), Montserrat (textos)
   Paleta: #fff8f6 · #fbf3f1 · #b49b89 · #976a55 */

:root {
  --porcelain: #FFF8F6;
  --shell: #FBF3F1;
  --sand: #EFE3DC;      /* entre shell e taupe, para faixas */
  --taupe: #B49B89;
  --bronze: #976A55;
  --bronze-btn: #916552;  /* bronze levemente mais escuro: texto claro em botão passa AA (4,78:1) */
  --bronze-deep: #7A5442; /* fundos escuros com texto claro (contraste AA) */
  --cocoa: #3E2C24;       /* texto principal */
  --cocoa-soft: #6A5248;  /* texto secundário */
  --bronze-text: #85594A; /* texto pequeno em bronze sobre fundo claro */

  --title: "Raleway", "Segoe UI", system-ui, sans-serif;
  --text: "Montserrat", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 11vw, 140px);
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  -webkit-tap-highlight-color: rgba(151, 106, 85, 0.15);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--porcelain);
  color: var(--cocoa);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, blockquote, figure { margin: 0; }

h1, h2, h3 {
  font-family: var(--title);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(32px, 4vw, 50px); }
h2 strong, h1 strong { font-weight: 600; }

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

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--bronze-deep);
  color: var(--porcelain);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { top: 12px; }

.ico {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Losangos encadeados: o motivo da marca */
.chain {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  color: var(--taupe);
}
.chain i {
  display: block;
  width: 18px;
  height: 18px;
  border: 1.4px solid currentColor;
  border-radius: 4px;
  transform: rotate(45deg);
  margin-block: 1px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font: 500 15px/1.2 var(--text);
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--bronze { background: var(--bronze-btn); color: var(--porcelain); }
.btn--bronze:hover { background: var(--bronze-deep); }
.btn--deep { background: var(--bronze-deep); color: var(--porcelain); }
.btn--deep:hover { background: var(--cocoa); }
.btn--line { border-color: var(--bronze); color: var(--bronze-deep); }
.btn--line:hover { background: var(--bronze-btn); color: var(--porcelain); }
.btn--light { background: var(--porcelain); color: var(--bronze-deep); } /* sobre fundo escuro */
.btn--light:hover { background: var(--shell); }

/* Topo */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 246, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
}
.topbar__inner { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-right: auto;
  min-height: 44px;
}
.brand__mark { color: var(--bronze); }
.brand__mark i { width: 12px; height: 12px; border-radius: 3px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--title); font-size: 21px; font-weight: 500; }
.brand__role { font-size: 14px; color: var(--bronze-text); }
.topnav { display: flex; gap: 28px; font-size: 14px; }
.topnav a { text-decoration: none; color: var(--cocoa-soft); padding: 8px 0; }
.topnav a:hover { color: var(--cocoa); text-decoration: underline; text-decoration-color: var(--taupe); text-underline-offset: 6px; }

/* Hero */
.hero {
  background: var(--shell);
  padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero__card {
  position: relative;
  border: 1px solid var(--taupe);
  border-radius: var(--radius);
  padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 56px);
}
.hero__card > .chain { position: absolute; left: 50%; transform: translateX(-50%); background: var(--shell); padding-inline: 10px; }
.hero__card > .chain--top { top: -46px; }
.hero__card > .chain--bottom { bottom: -46px; }
.hero__who { font-size: 15px; color: var(--bronze-text); margin-bottom: 20px; }
.hero__title {
  font-size: clamp(36px, 4.4vw, 60px);
  overflow-wrap: break-word;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--cocoa);
}
.hero__rule { width: 56px; height: 1.5px; background: var(--bronze); margin: 28px 0; }
.hero__lead { max-width: 32em; font-size: clamp(16px, 1.4vw, 18px); color: var(--cocoa-soft); }
.hero__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}
.rating {
  display: inline-flex;
  flex-direction: column;
  font-size: 14px;
  color: var(--cocoa-soft);
  text-decoration: none;
  line-height: 1.4;
  min-height: 44px;
  justify-content: center;
}
.rating strong { color: var(--cocoa); font-weight: 600; }
.rating__stars { color: var(--bronze); letter-spacing: 2px; font-size: 14px; }

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(var(--sand), var(--sand));
  border-radius: var(--radius);
  overflow: hidden;
}
.portrait picture { display: contents; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.portrait__missing {
  display: none;
  position: absolute;
  inset: 0;
  place-content: center;
  text-align: center;
  color: var(--bronze-text);
  font-size: 14px;
  padding: 24px;
}
.portrait.is-missing img { display: none; }
.portrait.is-missing .portrait__missing { display: grid; }

/* Linha do cuidado */
.journey {
  background: var(--bronze-deep);
  color: var(--porcelain);
  padding-block: var(--section);
}
.journey__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
}
.journey__head h2 { color: var(--porcelain); }
.journey__head p { color: #F1E2DA; max-width: 30em; }

.line {
  --progress: 0.333;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(56px, 7vw, 88px);
}
.line__track {
  position: absolute;
  top: 14px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: rgba(255, 248, 246, 0.3);
}
.line__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--progress) * 100%);
  height: 1px;
  background: var(--porcelain);
  transition: width .6s cubic-bezier(.65, 0, .35, 1);
}
.line__stop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding: 0 8px 12px;
  min-height: 44px;
  background: none;
  border: 0;
  color: #E6D2C8;
  font: 400 17px/1.3 var(--text);
  cursor: pointer;
  text-align: center;
}
/* cada fase é um losango, como na marca */
.line__dot {
  width: 20px;
  height: 20px;
  margin-top: 4px;
  border: 1.4px solid var(--porcelain);
  border-radius: 4px;
  background: var(--bronze-deep);
  transform: rotate(45deg);
  transition: background-color .3s ease, transform .3s ease;
}
.line__label {
  font-family: var(--title);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 400;
  line-height: 1.2;
}
.line__stop:hover { color: var(--porcelain); }
.line__stop:hover .line__dot { background: var(--bronze); }
.line__stop[aria-selected="true"] { color: var(--porcelain); }
.line__stop[aria-selected="true"] .line__label { font-weight: 600; }
.line__stop[aria-selected="true"] .line__dot { background: var(--porcelain); transform: rotate(45deg) scale(1.2); }
.line__stop:focus-visible { outline-color: var(--porcelain); }

.panels {
  margin-top: clamp(40px, 5vw, 64px);
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid rgba(255, 248, 246, 0.35);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}
.panel {
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px clamp(40px, 6vw, 96px);
  max-width: 980px;
}
.panel[hidden] { display: none; }
.panel h3 {
  grid-column: 1 / -1;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--porcelain);
}
.panel p { color: #F1E2DA; }
.panel ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.panel li { padding-left: 24px; position: relative; color: var(--porcelain); }
.panel li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border: 1.2px solid var(--porcelain);
  border-radius: 1.5px;
  transform: rotate(45deg);
}
.panel__cta { grid-row: 2; justify-self: start; }
.panel.is-entering { animation: panel-in .45s ease both; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Sobre */
.about { background: var(--porcelain); padding-block: var(--section); }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
}
.about__quote { display: flex; gap: 28px; align-items: flex-start; }
.about__quote .chain { flex: none; padding-top: 10px; }
.about__quote p {
  font-family: var(--title);
  font-weight: 300;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.25;
  color: var(--bronze-deep);
  text-wrap: balance;
}
.about__text { display: grid; gap: 18px; color: var(--cocoa-soft); max-width: 36em; }
.about__text h2 { color: var(--cocoa); font-size: clamp(28px, 2.8vw, 36px); margin-bottom: 4px; }
.creds {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  gap: 8px 40px;
  padding-top: 24px;
  border-top: 1px solid var(--sand);
}
.creds .creds__main { grid-column: 1 / -1; }
.about__lead {
  margin-top: -10px;
  color: var(--bronze-text);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.creds dt { font-size: 14px; color: var(--bronze-text); }
.creds dd { color: var(--cocoa); font-weight: 500; font-size: 15px; }
.creds a, .visit__list a { display: inline-flex; align-items: center; min-height: 44px; }
.creds a { color: var(--cocoa); text-underline-offset: 4px; text-decoration-color: var(--taupe); }

/* Avaliações */
.reviews { background: var(--shell); padding-block: var(--section); }
.reviews__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.reviews__head h2 { color: var(--cocoa); max-width: 11em; }
.reviews__score {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  color: var(--cocoa-soft);
  font-size: 14px;
  max-width: 280px;
  line-height: 1.4;
  text-decoration: none;
}
.reviews__score:hover span:last-child { text-decoration: underline; text-decoration-color: var(--taupe); }
.reviews__num {
  font-family: var(--title);
  font-weight: 300;
  font-size: 30px;
  letter-spacing: 3px;
  line-height: 1;
  color: var(--bronze);
}
.reviews__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.review {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  border: 1px solid var(--taupe);
  border-radius: var(--radius);
  background: var(--porcelain);
}
.review blockquote {
  font-family: var(--title);
  font-weight: 400;
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.45;
  color: var(--cocoa);
}
.review figcaption { font-size: 14px; color: var(--cocoa-soft); }

/* Endereço */
.visit { background: var(--porcelain); padding-block: var(--section); }
.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: stretch;
}
.visit__info { display: flex; flex-direction: column; gap: 26px; }
.visit__info h2 { color: var(--cocoa); }
.visit address { font-style: normal; font-size: 18px; line-height: 1.6; }
.visit__list { display: grid; gap: 14px; }
.visit__list dt { font-size: 14px; color: var(--bronze-text); }
.visit__list dd { font-size: 17px; }
.visit__list a { text-underline-offset: 4px; text-decoration-color: var(--taupe); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.visit__map {
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand);
  border: 1px solid var(--taupe);
}
.visit__map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: sepia(.3) saturate(.7); }

/* Rodapé */
.footer { background: var(--cocoa); color: #DCCAC1; padding-block: 48px; font-size: 14px; }
.footer__inner { display: grid; gap: 8px; }
.footer__name { font-family: var(--title); font-weight: 400; font-size: 24px; color: var(--porcelain); margin-bottom: 8px; }
/* Crédito rmova.dev: logo-mono via máscara (herda a cor do texto, conforme guia da marca; mín. 120px) */
.footer__credit {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(220, 202, 193, .2);
  font-size: 13px;
}
.footer__rmova {
  display: inline-block; width: 120px; aspect-ratio: 425 / 84;
  background-color: currentColor;
  -webkit-mask: url("assets/rmova-logo-mono.svg") center / contain no-repeat;
          mask: url("assets/rmova-logo-mono.svg") center / contain no-repeat;
}

/* Botão flutuante (só no celular) */
.wa-float {
  display: none;
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bronze-btn);
  color: var(--porcelain);
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(62, 44, 36, 0.28);
  opacity: 0;
  transform: translateY(16px) scale(.9);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float .ico { width: 28px; height: 28px; }

/* Tablet */
@media (max-width: 960px) {
  .topnav { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 72px; }
  .portrait { max-width: 440px; width: 100%; }
  .journey__head, .about__grid, .visit__grid { grid-template-columns: 1fr; }
  .reviews__list { grid-template-columns: 1fr; }
}

/* Celular */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .btn { display: none; }
  .wa-float { display: flex; }
  html { scroll-padding-top: 72px; }
  .topbar__inner { min-height: 64px; }
  .brand__name { font-size: 18px; }
  .brand__role { font-size: 13px; }
  .hero { padding-block: 64px 56px; }
  .hero__grid { gap: 64px; }
  .hero__card { padding: 40px 22px 44px; }
  .hero__card > .chain i { width: 14px; height: 14px; }
  .hero__card > .chain--top { top: -36px; }
  .hero__card > .chain--bottom { bottom: -36px; }
  .hero__who { margin-bottom: 14px; }
  .hero__rule { margin: 22px 0; }
  .hero__actions { margin-top: 28px; }
  .hero__actions .btn { width: 100%; white-space: nowrap; padding-inline: 16px; }
  .portrait { aspect-ratio: 1 / 1; max-width: none; }
  .portrait img { object-position: center 15%; } /* recorte quadrado: rosto e tronco, sem cortar as mãos ao meio */
  .journey, .about, .reviews, .visit { padding-block: 64px; }
  .line { margin-top: 40px; }
  .panels { margin-top: 28px; }
  .visit__map, .visit__map iframe { min-height: 300px; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }

  .line { grid-template-columns: 1fr; gap: 4px; }
  .line__track { top: 22px; bottom: 22px; left: 13px; right: auto; width: 1px; height: auto; }
  .line__fill { width: 1px; height: calc(var(--progress) * 100%); transition-property: height; }
  .line__stop { flex-direction: row; text-align: left; padding: 8px 0 8px 4px; gap: 20px; }
  .line__dot { margin-top: 0; }
  .panels { padding: 28px 22px; }
  .panel { grid-template-columns: 1fr; }
  .panel__cta { justify-self: stretch; }
  .about__quote .chain { display: none; }
  .creds { grid-template-columns: 1fr 1fr; }
  .visit__actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
