/* ============================================================
   Helena Santos · Psicóloga Clínica
   Motivo visual: o ARCO da logo (retângulo com topo arredondado)
   ============================================================ */

:root {
  --vinho: #9E4B4B;
  --vinho-escuro: #7A3535;
  --bege: #F6EFE7;
  --areia: #E9DCCB;
  --rose: #D8A7A1;
  --salvia: #8A9580;
  --texto: #3B2B28;
  --claro: #FBF7F2;

  --linha: rgba(158, 75, 75, 0.18);
  --label: var(--vinho);
  --ph-bg: var(--areia);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --num: "Playfair Display", Georgia, serif;

  --header-h: 72px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --arch: 2000px 2000px 0 0;
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bege);
  color: var(--texto);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grão sutil */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

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

section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--vinho);
  color: var(--claro);
  padding: 0.6rem 1rem;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- tipografia ---------- */

.label {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--label);
}
.label::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--rose);
  flex: none;
}
.label--plain { display: inline-block; margin: 0; }
.label--plain::before { display: none; }

.title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--texto);
  text-wrap: balance;
}
.title em, .hero__title em {
  font-style: italic;
  color: var(--vinho);
}

.lead {
  margin-top: 1.4rem;
  max-width: 32em;
  font-size: 1.05rem;
}

.prose p + p { margin-top: 1em; }
.prose { max-width: 34em; margin-top: 1.8rem; }

mark.editar {
  display: inline-block;
  margin: 0.1em 0;
  padding: 0.15em 0.5em;
  background: rgba(216, 167, 161, 0.45);
  color: var(--vinho-escuro);
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: 0.72rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  vertical-align: middle;
  border-radius: 3px;
}
mark.editar--dark {
  background: rgba(246, 239, 231, 0.16);
  color: var(--bege);
}

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 1.9rem 0.95rem;
  background: var(--vinho);
  color: var(--claro);
  border: 1px solid var(--vinho);
  /* botão em arco, eco da logo */
  border-radius: 1.6rem 1.6rem 0.45rem 0.45rem;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: var(--vinho-escuro); border-color: var(--vinho-escuro); transform: translateY(-2px); }
.btn--sm { padding: 0.8rem 1.3rem 0.72rem; font-size: 0.7rem; }
.btn--lg { padding: 1.25rem 2.4rem 1.15rem; font-size: 0.82rem; }
.btn--ghost {
  background: transparent;
  color: var(--vinho-escuro);
  border-color: var(--vinho);
}
.btn--ghost:hover { background: var(--vinho); color: var(--claro); }

.link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--vinho-escuro);
  text-decoration: none;
  padding-bottom: 3px;
}
.link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.link:hover::after { transform: scaleX(0.4); }

/* ---------- fotos e placeholders ---------- */

.ph {
  position: relative;
  overflow: hidden;
  background: var(--ph-bg);
}
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.arch { border-radius: var(--arch); }
.soft { border-radius: 4px; }

.ph.is-missing img { display: none; }
.ph.is-missing::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(158, 75, 75, 0.3);
  border-radius: inherit;
}
.ph.is-missing::after {
  content: attr(data-caption);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.6rem;
  text-align: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.68rem;
  line-height: 1.7;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vinho-escuro);
}
.arch.is-missing::after { padding-top: 22%; }

/* formas decorativas */
.shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

/* ---------- header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  background: rgba(246, 239, 231, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.header.is-scrolled { border-bottom-color: var(--linha); }

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--vinho);
  text-decoration: none;
  position: relative;
  z-index: 2;
}
.brand__img { height: 30px; width: auto; }
@media (min-width: 400px) { .brand__img { height: 34px; } }
@media (min-width: 1024px) { .brand__img { height: 40px; } }

/* nav: mobile first (painel) */
.nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem var(--gutter) 3rem;
  background: var(--bege);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s 0.35s;
}
.nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.nav__list a {
  display: block;
  padding: 0.6rem 0;
  font-family: var(--serif);
  font-size: 2.4rem;
  line-height: 1.2;
  text-decoration: none;
  border-bottom: 1px solid var(--linha);
}
.nav__list a:hover { color: var(--vinho); font-style: italic; }
.nav .btn { align-self: flex-start; }

.burger {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--vinho);
}
.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
}
.hero__inner {
  display: grid;
  gap: 3.5rem;
}

.hero__visual {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
}

/* carrossel em arco */
.slides {
  position: relative;
  z-index: 1;
  width: 74%;
  margin-left: auto;
  margin-right: 5%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--arch);
  background: var(--areia);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: 0;
  clip-path: inset(100% 0 0 0 round 999px 999px 0 0);
  transition: clip-path 1.15s var(--ease);
}
.slide.is-active { z-index: 2; clip-path: inset(0 0 0 0 round 999px 999px 0 0); }
.slide.is-prev { z-index: 1; clip-path: inset(0 0 0 0 round 999px 999px 0 0); transition: none; }
.slide picture { display: block; width: 100%; height: 100%; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transform: scale(1.1);
  transition: transform 2s var(--ease);
  pointer-events: none;
}
.slide.is-active img { transform: scale(1); }

/* contorno de arco deslocado, como uma segunda moldura */
.hero__visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -12px;
  right: calc(5% - 12px);
  width: 74%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(158, 75, 75, 0.35);
  border-radius: var(--arch);
  pointer-events: none;
}
.shape--hero {
  left: 0;
  top: 22%;
  width: 66%;
  aspect-ratio: 1;
  background: var(--rose);
  opacity: 0.38;
  border-radius: 58% 42% 46% 54% / 52% 48% 52% 48%;
}

.slides__ui {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 74%;
  margin: 1rem 5% 0 auto;
}
.slides__btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--linha);
  border-radius: 50%;
  background: transparent;
  color: var(--vinho);
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.slides__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.slides__btn:hover { background: var(--vinho); border-color: var(--vinho); color: var(--claro); }
.slides__count {
  flex: none;
  font-weight: 500;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--vinho-escuro);
  font-variant-numeric: tabular-nums;
}
.slides__bar {
  position: relative;
  flex: 1;
  height: 1px;
  background: var(--linha);
  overflow: hidden;
}
.slides__bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--vinho);
}

/* selo giratório */
.badge {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 4.6rem;
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bege);
  border: 1px solid var(--linha);
}
.badge__ring {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  animation: girar 26s linear infinite;
}
.badge__ring text {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  text-transform: uppercase;
  fill: var(--vinho-escuro);
}
.badge__center {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--vinho);
}
@keyframes girar { to { transform: rotate(360deg); } }


.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 9vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hand {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hand svg {
  position: absolute;
  left: -3%;
  bottom: -0.16em;
  width: 106%;
  height: 0.34em;
  overflow: visible;
}
.hand path {
  fill: none;
  stroke: var(--vinho);
  stroke-width: 2.4px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.4s 0.7s var(--ease) forwards;
}
.hand path + path { stroke-width: 1.4px; opacity: 0.7; animation-delay: 1.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__sub {
  margin-top: 1.6rem;
  max-width: 30em;
  font-size: 1.08rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 1.8rem;
  margin-top: 2.2rem;
}
@media (max-width: 479px) {
  .hero__actions { flex-direction: column; align-items: stretch; text-align: center; }
  .hero__actions .link { align-self: center; }
}
.seal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.2rem;
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--linha);
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.3s;
}
.seal:hover { border-color: var(--vinho); }
.seal__star { color: var(--vinho); }

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  background: var(--vinho);
  color: var(--claro);
  padding: 1.05rem 0 1.15rem;
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 115s linear infinite;
}
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee span {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
  white-space: nowrap;
}
.marquee i {
  font-style: normal;
  color: var(--rose);
  margin: 0 1.4rem;
  font-size: 1.4rem;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */

.section {
  position: relative;
  padding-block: clamp(5rem, 11vw, 9rem);
}
.section--alt {
  background: var(--areia);
  --label: var(--vinho-escuro);
  --ph-bg: #F1E7DB;
  --linha: rgba(122, 53, 53, 0.2);
}

/* sobre */
.sobre__inner { display: grid; gap: 3.5rem; }
.sobre__visual { position: relative; max-width: 520px; padding-bottom: 1.5rem; }
.sobre__photo {
  position: relative;
  z-index: 1;
  width: 84%;
  aspect-ratio: 4 / 5;
}
/* porta em arco: abre com a rolagem (--p vai de 0 a 1 no script) */
.door {
  --p: 1;
  margin: 0;
  overflow: hidden;
  border-radius: var(--arch);
  background: var(--areia);
  clip-path: inset(calc((1 - var(--p)) * 26%) calc((1 - var(--p)) * 22%) 0 calc((1 - var(--p)) * 22%) round 999px 999px 0 0);
}
.door picture { display: block; height: 100%; }
.door img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  transform: scale(calc(1.22 - var(--p) * 0.22));
}
.shape--sobre {
  right: 2%;
  top: 14%;
  width: 60%;
  height: 90%;
  background: var(--areia);
  border-radius: var(--arch);
}
.sobre__visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  right: 8%;
  bottom: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0.5;
}
.sobre__side {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 8%;
  writing-mode: vertical-rl;
  font-weight: 500;
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--vinho-escuro);
}

.facts {
  margin-top: 2.4rem;
  border-top: 1px solid var(--linha);
}
.facts div {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--linha);
}
.facts dt, .info dt {
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--vinho-escuro);
}

/* passos numerados */
.steps { margin-top: 2.5rem; }
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: start;
  padding-block: 1.9rem;
  border-top: 1px solid var(--linha);
}
.step__num {
  font-family: var(--num);
  font-weight: 400;
  font-size: clamp(3.4rem, 8vw, 5rem);
  line-height: 0.8;
  color: var(--vinho);
  min-width: 1.4em;
}
.step__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.step p { max-width: 30em; }
.steps--compact .step__num { font-size: clamp(2.8rem, 6vw, 3.6rem); }
.steps--compact .step { padding-block: 1.5rem; }

/* tcc */
.tcc { overflow: hidden; }
.shape--tcc {
  right: -120px;
  bottom: -60px;
  width: 360px;
  height: 480px;
  border: 1px solid rgba(158, 75, 75, 0.22);
  border-radius: var(--arch);
}
.shape--tcc::after {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(158, 75, 75, 0.14);
  border-radius: inherit;
}
.tcc__inner { position: relative; z-index: 1; display: grid; gap: 1rem; }

/* demandas */
.demandas__head { margin-bottom: 3rem; }
.topics { border-top: 1px solid var(--linha); }
.topic {
  display: grid;
  gap: 0.4rem;
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--linha);
}
.topic__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.08;
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}
.topic__name mark.editar { margin-left: 0.4rem; }
.topic__desc { max-width: 26em; color: rgba(59, 43, 40, 0.85); }
.topic:hover .topic__name { color: var(--vinho); transform: translateX(0.5rem); }

/* como funciona */
.como__inner { display: grid; gap: 3.5rem; }
.modes { margin-top: 1rem; }
.modes p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 1rem;
  padding-block: 0.9rem;
  border-top: 1px solid var(--linha);
}
.modes .label--plain { min-width: 7.5rem; }
.como__visual { position: relative; max-width: 460px; }
.como__photo {
  --y: 0;
  position: relative;
  z-index: 1;
  width: 86%;
  margin: 0 0 0 auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bege);
}
.como__photo picture { display: block; height: 100%; }
.como__photo img {
  width: 100%;
  height: 118%;
  object-fit: cover;
  object-position: 50% 20%;
  transform: translateY(calc(var(--y) * -15%));
  will-change: transform;
}
.como__tag {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 12%;
  padding: 0.9rem 1.4rem 0.8rem;
  background: var(--vinho);
  color: var(--claro);
  border-radius: 1.6rem 1.6rem 0.4rem 0.4rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.1;
}
.como__tag span { font-style: italic; }
.shape--como {
  left: 0;
  bottom: -2rem;
  width: 64%;
  aspect-ratio: 1;
  background: var(--rose);
  opacity: 0.4;
  border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%;
}

/* consultório */
.consultorio__head { margin-bottom: 3.5rem; }
.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  align-items: start;
}
.gallery__a { grid-column: 1 / 6; aspect-ratio: 3 / 4; }
.gallery__b {
  grid-column: 3 / 7;
  aspect-ratio: 4 / 3;
  margin-top: -4rem;
  border: 6px solid var(--bege);
  z-index: 1;
}
.gallery__c { grid-column: 1 / 5; aspect-ratio: 1; }

/* avaliações */
.score {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  grid-template-rows: auto auto;
  align-content: center;
  margin-bottom: 3.5rem;
}
.score__photo {
  grid-column: 1;
  grid-row: 1 / 3;
  width: clamp(120px, 30vw, 230px);
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--bege);
}
.score__photo picture { display: block; height: 100%; }
.score__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.score__num {
  grid-column: 2;
  align-self: end;
  padding-left: 1.2rem;
  font-family: var(--num);
  font-weight: 400;
  font-size: clamp(4.2rem, 17vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--vinho);
}
.score__meta { grid-column: 2; align-self: start; padding: 0.6rem 0 0 1.2rem; }
.stars { color: var(--vinho); }
.stars svg { width: 132px; height: 25px; }
.score__count {
  margin-top: 0.5rem;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--vinho-escuro);
}

/* no celular os depoimentos viram faixa de arrastar */
.quotes {
  display: flex;
  gap: 0.9rem;
  margin: 1rem calc(var(--gutter) * -1) 3rem;
  padding: 0 var(--gutter) 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.quotes::-webkit-scrollbar { display: none; }
.quote {
  flex: 0 0 80%;
  scroll-snap-align: start;
  padding: 2rem 1.5rem 1.8rem;
  background: var(--bege);
  border-radius: 1.8rem 1.8rem 4px 4px;
}
.quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.3;
}
.quotes__hint {
  margin: -1.8rem 0 2.4rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--vinho-escuro);
  opacity: 0.75;
}

/* youtube */
.youtube__inner { display: grid; gap: 3rem; align-items: center; }
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: var(--areia);
}
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video.is-placeholder iframe { display: none; }
.video.is-placeholder::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(158, 75, 75, 0.3);
}
.video.is-placeholder::after {
  content: attr(data-caption);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vinho-escuro);
}

/* faq */
.faq__inner { display: grid; gap: 2.5rem; }
.faq__list { border-top: 1px solid var(--linha); }
.qa { border-bottom: 1px solid var(--linha); }
.qa summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 3rem 1.4rem 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.25;
  transition: color 0.3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  background:
    linear-gradient(var(--vinho), var(--vinho)) center / 100% 1.5px no-repeat,
    linear-gradient(var(--vinho), var(--vinho)) center / 1.5px 100% no-repeat;
  transition: transform 0.4s var(--ease);
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--vinho); }
.qa__body p { max-width: 38em; padding: 0 2rem 1.6rem 0; }

/* contato */
.contato__inner { display: grid; gap: 3.5rem; }
.info {
  margin: 2.4rem 0;
  border-top: 1px solid var(--linha);
}
.info div {
  display: grid;
  gap: 0.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--linha);
}
.info a { color: var(--vinho-escuro); text-underline-offset: 3px; }
.info a:hover { color: var(--vinho); }
.map {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  background: var(--areia);
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.7) sepia(0.12);
}

/* rodapé */
.footer {
  background: var(--vinho-escuro);
  color: var(--bege);
  padding: 4rem 0 7rem;
}
.footer__inner {
  display: grid;
  gap: 2rem;
}
.footer__brand { display: grid; gap: 1.2rem; }
.footer__logo { width: 220px; height: auto; }
.footer__brand p { font-size: 0.92rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; }
.footer__links a {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
}
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__copy { font-size: 0.85rem; opacity: 0.8; }
.footer :focus-visible { outline-color: var(--bege); }

/* whatsapp flutuante */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 70;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--vinho);
  color: var(--claro);
  box-shadow: 0 6px 18px rgba(59, 43, 40, 0.18);
  transition: background-color 0.3s, transform 0.3s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { background: var(--vinho-escuro); transform: scale(1.06); }

/* ---------- animação de entrada ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   tablet
   ============================================================ */
@media (min-width: 768px) {
  body { font-size: 18px; }

  .hero__visual { max-width: 520px; }

  .facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }

  .topic {
    grid-template-columns: 1.15fr 1fr;
    align-items: baseline;
    gap: 2rem;
  }

  .quotes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-inline: 0;
    padding: 0;
    overflow: visible;
  }
  .quote {
    padding: 1.4rem 0 0;
    background: none;
    border-radius: 0;
    border-top: 1px solid var(--linha);
  }
  .quotes__hint { display: none; }
  .quote:nth-child(2) { margin-top: 4rem; }
  .quote:nth-child(3) { margin-top: 8rem; }

  .info { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }

  .footer__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .footer__copy { grid-column: 1 / -1; }

  .gallery { grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }
  .gallery__a { grid-column: 1 / 7; grid-row: 1 / 3; }
  .gallery__b { grid-column: 7 / 13; grid-row: 1; margin-top: 5rem; border: 0; }
  .gallery__c { grid-column: 8 / 12; grid-row: 2; }
}

/* ============================================================
   desktop
   ============================================================ */
@media (min-width: 1024px) {
  :root { --header-h: 84px; }

  .burger { display: none; }
  .nav {
    position: static;
    height: auto;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 2.6rem;
    background: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav__list { display: flex; gap: 2.2rem; }
  .nav__list a {
    padding: 0.3rem 0;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 0.74rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    border: 0;
  }
  .nav__list a:hover { font-style: normal; }

  .hero { padding-top: calc(var(--header-h) + 3.5rem); }
  .hero__inner {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: 4rem;
  }
  .hero__text { grid-column: 1; grid-row: 1; }
  .hero__visual { grid-column: 2; grid-row: 1; max-width: none; margin: 0; }

  .sobre__inner {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 6rem;
  }

  .tcc__inner { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
  .tcc__head { position: sticky; top: calc(var(--header-h) + 3rem); }
  .tcc .steps { margin-top: 0; }
  .tcc .step:nth-child(2) { margin-left: 3rem; }
  .tcc .step:nth-child(3) { margin-left: 6rem; }

  .demandas__head {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
    align-items: end;
  }
  .demandas__head .label { grid-column: 1; align-self: start; }
  .demandas__head .title { grid-column: 2; }

  .como__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
  }
  .como__visual { max-width: none; }

  .consultorio__head {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
    align-items: end;
  }
  .consultorio__head .label { grid-column: 1 / -1; margin-bottom: 0; }
  .consultorio__head .lead { margin-top: 0; }

  .youtube__inner { grid-template-columns: 5fr 7fr; gap: 5rem; }

  .faq__inner { grid-template-columns: 4fr 8fr; gap: 5rem; align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 3rem); }

  .contato__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 6rem;
    align-items: center;
  }
  .map { aspect-ratio: 1; }

  .wa-float { right: 28px; bottom: 28px; width: 62px; height: 62px; }
  .avaliacoes .wrap {
    display: grid;
    grid-template-columns: 5fr 7fr;
    column-gap: 5rem;
    align-items: start;
  }
  .avaliacoes .score {
    grid-column: 1;
    grid-row: 1 / span 4;
    position: sticky;
    top: calc(var(--header-h) + 3rem);
    margin: 0;
  }
  .avaliacoes .score__photo {
    width: 100%;
    max-width: 300px;
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .avaliacoes .score__num {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    padding: 1.6rem 0 0;
    font-size: clamp(5.5rem, 7vw, 7rem);
  }
  .avaliacoes .score__meta {
    grid-column: 1 / -1;
    grid-row: 3;
    padding: 1.1rem 0 0;
  }
  .avaliacoes .label, .avaliacoes .quotes, .avaliacoes .btn {
    grid-column: 2;
  }
  .avaliacoes .btn {
    justify-self: start;
  }
  .avaliacoes .quotes {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
  }
  .avaliacoes .quote {
    max-width: 24em;
    margin-top: 0;
  }
  .avaliacoes .quote:nth-child(2) {
    margin: 0 0 0 auto;
  }
  .avaliacoes .quote:nth-child(3) {
    margin: 0 0 0 12%;
  }
  .avaliacoes .quote p {
    font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  }
  .badge { width: 136px; height: 136px; bottom: 5.4rem; left: -1rem; }
  .badge__center { font-size: 2.2rem; }
  .slides, .slides__ui, .hero__visual::after { width: 76%; }
}

/* ============================================================
   movimento reduzido
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .badge__ring { animation: none; }
  .slide, .slide img { transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track { animation: none; }
  .hand path { stroke-dashoffset: 0; animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
