:root {
  --ink: #15262b;
  --ink-soft: #3d545b;
  --paper: #f6f1e8;
  --paper-2: #efe8db;
  --mist: #e4f0ef;
  --sea: #1a7f78;
  --sea-deep: #0f5e59;
  --coral: #e06b5c;
  --coral-soft: #f3d0c8;
  --line: rgba(21, 38, 43, 0.1);
  --ok: #1a7f78;
  --busy: #c5bbb0;
  --display: "Fraunces", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --bar-h: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body.psy-page {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(224, 107, 92, 0.1), transparent 50%),
    radial-gradient(800px 480px at 0% 30%, rgba(26, 127, 120, 0.1), transparent 55%),
    var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--paper);
}

.skip-link:focus {
  top: 1rem;
}

.chip {
  display: inline-flex;
  margin: 0 0 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(26, 127, 120, 0.12);
  color: var(--sea-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.chip.quiet {
  background: rgba(21, 38, 43, 0.06);
  color: var(--ink-soft);
}

.chip.on-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #b7e4df;
}

.mask {
  display: block;
  overflow: hidden;
}

.line {
  display: block;
  will-change: transform;
}

h1,
h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5.4rem);
}

h2 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
}

h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.accent {
  color: var(--coral);
}

.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sea), #239990);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(26, 127, 120, 0.28);
  transition: transform 0.35s var(--ease), filter 0.2s ease;
}

.btn-main:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.btn-main:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  filter: none;
  box-shadow: none;
}

.btn-main.full {
  width: 100%;
}

.btn-main.light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.15);
}

.btn-soft {
  display: inline-flex;
  align-items: center;
  min-height: 3.1rem;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(21, 38, 43, 0.2);
}

.btn-soft:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* Header */
.psy-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2.25rem);
  background: rgba(246, 241, 232, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.psy-bar.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(21, 38, 43, 0.05);
}

.psy-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-right: auto;
}

.psy-logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sea), var(--coral));
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.psy-logo strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.1;
}

.psy-logo small {
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.psy-nav {
  display: none;
  gap: 1.15rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.psy-nav a:hover {
  color: var(--sea-deep);
}

.psy-bar-cta {
  display: none;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 700;
}

.psy-menu {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: none;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
}

.psy-menu span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.psy-menu[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.psy-menu[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.psy-drawer {
  display: grid;
  gap: 0.2rem;
  padding: 0.5rem 1.2rem 1.2rem;
  background: rgba(246, 241, 232, 0.98);
  border-bottom: 1px solid var(--line);
}

.psy-drawer[hidden] {
  display: none;
}

.psy-drawer a {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

@media (min-width: 900px) {
  .psy-nav,
  .psy-bar-cta {
    display: flex;
  }

  .psy-menu,
  .psy-drawer {
    display: none !important;
  }
}

/* Opening */
.opening {
  display: grid;
  gap: 2rem;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 3vw, 2.25rem) clamp(3rem, 7vw, 5rem);
  align-items: center;
}

.opening-lead {
  margin: 1.25rem 0 0;
  max-width: 32rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.opening-cta {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  align-items: center;
}

.opening-visual {
  position: relative;
  display: grid;
  justify-items: center;
}

.photo-inset {
  width: min(100%, 420px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 28px 28px 80px 28px;
  box-shadow: 0 30px 70px rgba(21, 38, 43, 0.18);
  border: 1px solid rgba(26, 127, 120, 0.15);
}

.photo-inset img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 12%;
  filter: saturate(0.85) contrast(1.05);
  transform: scale(1.06);
  will-change: transform;
}

.breath-card {
  position: absolute;
  right: max(0px, calc(50% - 230px));
  bottom: -1rem;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(26, 127, 120, 0.15);
  box-shadow: 0 16px 40px rgba(21, 38, 43, 0.1);
}

.breath-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea-deep);
}

.breath-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--coral);
  box-shadow: inset 0 0 0 8px rgba(224, 107, 92, 0.15);
  animation: breathe 4.5s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(0.86);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (min-width: 960px) {
  .opening {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    min-height: calc(100svh - var(--bar-h));
  }

  .breath-card {
    right: 0;
    bottom: 1.5rem;
  }
}

/* Sinais */
.sinais {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 3vw, 2.25rem);
  background:
    linear-gradient(180deg, rgba(228, 240, 239, 0.7), rgba(246, 241, 232, 0.3));
  border-block: 1px solid rgba(26, 127, 120, 0.1);
}

.sinais-head {
  max-width: 28rem;
  margin-bottom: 2rem;
}

.sinais-flow {
  display: grid;
  gap: 1rem;
}

.sinal {
  padding: 1.4rem 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  border: 1px solid rgba(21, 38, 43, 0.06);
  border-left: 4px solid var(--coral);
  will-change: transform, opacity;
}

.sinal:nth-child(2) {
  border-left-color: #e8a05c;
}

.sinal:nth-child(3) {
  border-left-color: #2aa8b8;
}

.sinal:nth-child(4) {
  border-left-color: var(--sea);
}

.sinal em {
  font-family: var(--display);
  font-style: normal;
  font-size: 1.35rem;
  color: var(--coral);
}

.sinal h3 {
  margin: 0.4rem 0 0.35rem;
}

.sinal p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

@media (min-width: 800px) {
  .sinais-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .sinais-flow {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Caminho */
.caminho {
  display: grid;
  gap: 2rem;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 3vw, 2.25rem);
  background:
    radial-gradient(600px 360px at 10% 20%, rgba(26, 127, 120, 0.25), transparent 60%),
    linear-gradient(160deg, #12353a, #1a4a4f 50%, #0f2c30);
  color: #f3f7f6;
}

.caminho-sticky h2 {
  max-width: 12ch;
  margin-bottom: 0.9rem;
}

.caminho-sticky p {
  margin: 0;
  color: rgba(243, 247, 246, 0.72);
  max-width: 30rem;
}

.caminho-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.caminho-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  will-change: transform, opacity;
}

.caminho-steps span {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
}

.caminho-steps h3 {
  margin-bottom: 0.3rem;
}

.caminho-steps p {
  margin: 0;
  color: rgba(243, 247, 246, 0.7);
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .caminho {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3.5rem;
    align-items: start;
  }

  .caminho-sticky {
    position: sticky;
    top: calc(var(--bar-h) + 1.5rem);
  }
}

/* Edu */
.edu-block {
  display: grid;
  gap: 2rem;
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 3vw, 2.25rem);
}

.edu-quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.15;
  font-weight: 500;
  max-width: 16ch;
}

.edu-aside {
  margin: 1.25rem 0 1.5rem;
  color: var(--ink-soft);
  max-width: 32rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}

.edu-portrait {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 5 / 6;
  max-width: 480px;
  box-shadow: 0 28px 60px rgba(21, 38, 43, 0.16);
}

.edu-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 10%;
  filter: saturate(0.8);
  will-change: transform;
}

.edu-tag {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(21, 38, 43, 0.82);
  color: #fff;
  backdrop-filter: blur(8px);
}

.edu-tag strong {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
}

.edu-tag span {
  font-size: 0.8rem;
  opacity: 0.75;
}

@media (min-width: 900px) {
  .edu-block {
    grid-template-columns: 1fr 0.95fr;
    gap: 4rem;
    align-items: center;
  }

  .edu-portrait {
    max-width: none;
  }
}

/* Agenda */
.agenda {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 3vw, 2.25rem);
  background:
    linear-gradient(180deg, rgba(228, 240, 239, 0.55), rgba(243, 208, 200, 0.18));
  border-block: 1px solid rgba(26, 127, 120, 0.12);
}

.agenda-intro {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.agenda-note {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.agenda-board {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(21, 38, 43, 0.08);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(21, 38, 43, 0.08);
}

.agenda-calendar {
  padding: 0.5rem;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cal-head h3 {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
}

.cal-nav {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--ink);
  transition: background 0.2s ease;
}

.cal-nav:hover {
  background: var(--mist);
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-bottom: 0.35rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
}

.cal-day {
  aspect-ratio: 1;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: default;
  position: relative;
  transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease;
}

.cal-day.is-muted {
  color: rgba(21, 38, 43, 0.28);
}

.cal-day.is-busy {
  color: rgba(21, 38, 43, 0.35);
  background: rgba(197, 187, 176, 0.25);
}

.cal-day.is-free {
  background: rgba(26, 127, 120, 0.12);
  color: var(--sea-deep);
  cursor: pointer;
}

.cal-day.is-free::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sea);
  transform: translateX(-50%);
}

.cal-day.is-free:hover {
  background: rgba(26, 127, 120, 0.22);
  transform: translateY(-1px);
}

.cal-day.is-selected {
  background: var(--sea) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(26, 127, 120, 0.3);
}

.cal-day.is-selected::after {
  background: #fff;
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.cal-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.dot.free {
  background: var(--sea);
}

.dot.busy {
  background: var(--busy);
}

.dot.selected {
  background: var(--coral);
}

.agenda-side {
  display: grid;
  gap: 1rem;
}

.slots-panel {
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: var(--mist);
  border: 1px solid rgba(26, 127, 120, 0.12);
  min-height: 7.5rem;
}

.slots-title {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sea-deep);
}

.slots-empty {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.slots-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.slot-btn {
  min-height: 2.5rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 127, 120, 0.25);
  background: #fff;
  color: var(--sea-deep);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s var(--ease);
}

.slot-btn:hover {
  transform: translateY(-1px);
  background: rgba(26, 127, 120, 0.08);
}

.slot-btn.is-active {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.agenda-form {
  display: grid;
  gap: 0.9rem;
}

.agenda-form label,
.agenda-form fieldset {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.agenda-form span,
.agenda-form legend {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.agenda-form span small {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.agenda-form input[type="text"],
.agenda-form input[type="tel"],
.agenda-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 0.85rem 0.95rem;
  color: var(--ink);
  outline: none;
  resize: vertical;
}

.agenda-form input:focus,
.agenda-form textarea:focus {
  border-color: var(--sea);
  box-shadow: 0 0 0 3px rgba(26, 127, 120, 0.12);
}

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.seg-opt {
  display: block !important;
  cursor: pointer;
}

.seg-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.seg-opt span {
  display: grid;
  place-items: center;
  min-height: 2.8rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.seg-opt input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.agenda-summary {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: rgba(224, 107, 92, 0.1);
  border: 1px dashed rgba(224, 107, 92, 0.35);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.form-hint {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

@media (min-width: 980px) {
  .agenda-board {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.75rem;
    padding: 1.5rem;
  }
}

/* Notas */
.psy-notas {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 3vw, 2.25rem);
}

.psy-notas-head {
  margin-bottom: 1.5rem;
}

.psy-dl {
  margin: 0;
  display: grid;
  gap: 0;
}

.psy-dl > div {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.psy-dl dt {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
}

.psy-dl dd {
  margin: 0;
  color: var(--ink-soft);
  max-width: 40rem;
}

@media (min-width: 800px) {
  .psy-dl > div {
    grid-template-columns: 0.4fr 1fr;
    gap: 2rem;
    align-items: baseline;
  }
}

/* Close */
.psy-close {
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 3vw, 2.25rem);
  background:
    radial-gradient(700px 360px at 80% 30%, rgba(224, 107, 92, 0.28), transparent 55%),
    linear-gradient(145deg, #12353a, #1d4f54);
  color: #f3f7f6;
  text-align: center;
}

.psy-close h2 {
  margin: 0 auto 1.75rem;
  max-width: 14ch;
}

/* Footer */
.psy-foot {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 3vw, 2.25rem) 2rem;
  background: #0f2428;
  color: rgba(243, 247, 246, 0.65);
  font-size: 0.88rem;
}

.psy-foot strong {
  display: block;
  color: #fff;
  font-family: var(--display);
  font-size: 1.3rem;
  margin-bottom: 0.15rem;
}

.psy-foot-right a {
  color: #9fd9d3;
  font-weight: 600;
}

.psy-foot-right p {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  opacity: 0.55;
}

@media (min-width: 720px) {
  .psy-foot {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .breath-ring,
  .line,
  .sinal,
  .caminho-steps li {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
