.modal-services-block {
  margin-top: 12px;
  padding: 12px;
  border-radius: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow);
  /* permitir que o dropdown transborde para fora sem ser cortado */
  max-height: none;
  overflow: visible;
}
.modal-services-block::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.modal-services-block::-webkit-scrollbar-thumb {
  background: color-mix(in oklab, var(--burgundy), white 70%);
  border-radius: 0;
}
.modal-services-block::-webkit-scrollbar-track {
  background: transparent;
}
.modal-body .services {
  gap: 12px;
}
.modal-body .services li {
  background: #fff;
  border: 1.5px solid color-mix(in oklab, var(--burgundy), white 75%);
  border-radius: 0;
  padding: 12px 14px;
}
.modal-body .services li:hover {
  background: color-mix(in oklab, var(--burgundy), white 94%);
}
/* ---------- Base ---------- */
:root {
  --lilac: #e3e2df; /* base clara (cinza quente da paleta) */
  --lilac-2: #e3afbc; /* rosa claro da paleta */
  --cream: #e3e2df; /* seções alternadas agora usando a base clara */
  --ink: #5d001e; /* texto principal (vinho escuro da paleta) */
  --muted: #9a1750; /* texto secundário (magenta escuro) */
  --burgundy: #9a1750; /* destaque/botões */
  --burgundy-2: #5d001e; /* hover/dark */
  --white: #fff;
  --radius: 0;
  --shadow: 0 8px 24px rgba(43, 23, 43, 0.14);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
html {
  background: var(--lilac);
}
body {
  margin: 0;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  color: var(--ink);
  background: var(--lilac);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Utility used by auth/navigation toggles across pages */
.is-hidden {
  display: none !important;
}

/* Skip link para acessibilidade */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  z-index: 9999;
  background: var(--burgundy);
  color: #fff;
  border-radius: 0;
  box-shadow: var(--shadow);
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.section {
  padding-block: clamp(56px, 10vw, 96px);
}
.section + .section {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.section-title {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 40px);
  color: var(--burgundy-2);
  margin: 0 0 28px 0;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: var(--burgundy);
  margin-top: 10px;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 84px;
  background: rgba(255, 248, 248, 0.9);
  border-bottom: 1px solid rgba(221, 191, 197, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  --header-h: 84px;
}
/* degradê de sombra contínua sob o cabeçalho */
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  pointer-events: none;
  background: transparent;
}
/* fixed only when explicitly marked (homepage) */
.site-header.is-fixed {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  background: rgba(255, 248, 248, 0.9);
  border-bottom: 1px solid rgba(221, 191, 197, 0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 100%;
  max-width: 1800px;
  padding: 0 32px;
  margin: 0 auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.site-header .header-inner {
  max-width: 1800px;
}
.brand {
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 24px;
  line-height: 32px;
  color: var(--burgundy);
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}
.nav {
  display: flex;
  gap: 48px;
  align-items: center;
}
.site-header .nav > * {
  flex-shrink: 0;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-family: Satoshi, Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
}
.site-header .nav a,
.site-header .btn {
  white-space: nowrap;
}
.nav a:hover {
  color: var(--ink);
  opacity: 1;
}
.nav a {
  position: relative;
  opacity: 0.7;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  background: var(--burgundy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.nav a:hover::after {
  transform: scaleX(1);
}
.nav a.active {
  color: var(--ink);
  font-weight: 500;
  opacity: 1;
}
.nav a.active::after {
  transform: scaleX(1);
}
.nav a:focus-visible {
  outline: none;
}

/* desabilita anéis de foco visível padrão para evitar halos ao alternar janela */
a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: none;
}

/* header left group and menu toggle */
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-toggle {
  display: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 0;
  border: 0;
  cursor: pointer;
  background: color-mix(in oklab, var(--lilac-2), white 40%);
  color: var(--burgundy-2);
  box-shadow: none;
}
.menu-toggle:hover {
  filter: brightness(0.98);
}
.menu-toggle i[data-lucide] {
  width: 22px;
  height: 22px;
}
/* evitar anel de foco visual no botão de menu (o foco permanece acessível via teclado nos links da navbar) */
.menu-toggle:focus {
  outline: none;
}
.menu-toggle:focus-visible {
  outline: none;
  box-shadow: var(--shadow);
}

/* drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: block;
}
.drawer[hidden] {
  display: none;
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 21, 33, 0.35);
  backdrop-filter: saturate(120%) blur(2px);
}
.drawer-panel {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(86vw, 320px);
  background: #fff;
  color: var(--ink);
  padding: 18px;
  box-shadow: 0 10px 30px rgba(43, 23, 43, 0.25);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  background: linear-gradient(
    to bottom,
    color-mix(in oklab, var(--lilac), white 35%),
    #fff 60%
  );
}
.drawer.open .drawer-panel {
  transform: translateX(0);
}
.drawer.open .drawer-backdrop {
  animation: drawer-fade 0.25s ease;
}
@keyframes drawer-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.drawer-nav {
  list-style: none;
  padding: 0;
  margin: 14px 0 0 0;
  display: grid;
  gap: 18px;
}
.drawer-nav a {
  display: block;
  padding-block: 2px;
  text-decoration: none;
  color: var(--burgundy-2);
  font-weight: 700;
}
.drawer-nav a[aria-current="page"] {
  color: var(--burgundy);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.drawer-nav li[hidden] {
  display: none;
}
.drawer-title {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  color: var(--burgundy-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0;
  border: 0;
  font-weight: 600;
  min-height: 44px;
  box-shadow: var(--shadow);
  transition:
    transform 0.12s ease,
    opacity 0.2s ease,
    box-shadow 0.2s ease;
}
.site-header .btn {
  min-height: 40px;
  border-radius: 0;
  box-shadow: none;
  font-family: Satoshi, Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1;
  padding: 12px 24px;
  text-transform: uppercase;
}
.site-header .material-symbols-outlined {
  font-size: 16px;
  font-variation-settings:
    "FILL" 0,
    "wght" 300,
    "GRAD" 0,
    "opsz" 24;
}
.site-header #nav-logged-in {
  align-items: center;
  gap: 12px;
}
.nav-account-menu {
  position: relative;
}
.nav-account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 70;
  min-width: 188px;
  border: 1px solid rgba(151, 91, 108, 0.22);
  background: rgba(255, 248, 249, 0.98);
  box-shadow: 0 18px 40px rgba(93, 0, 30, 0.14);
  opacity: 0;
  padding: 6px;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 160ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.nav-account-dropdown[hidden] {
  display: none;
}
.nav-account-dropdown.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.nav-account-dropdown-item {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  background: transparent;
  color: var(--burgundy);
  cursor: pointer;
  font-family: Satoshi, Inter, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 12px;
  text-align: left;
  text-decoration: none;
  text-transform: uppercase;
}
.nav-account-dropdown-item:hover,
.nav-account-dropdown-item:focus-visible {
  background: rgba(154, 23, 80, 0.08);
  outline: none;
}
@media (prefers-reduced-motion: reduce) {
  .nav-account-dropdown {
    transition: none;
    transform: none;
  }
}
.site-header #nav-logged-out,
.site-header #nav-logged-in {
  position: static;
  transform: none;
}
.site-header #nav-logged-in.nav-account-menu {
  position: relative;
}
.site-header .nav-account-link {
  opacity: 1;
}
.site-header .nav-auth-button {
  opacity: 1;
}
.site-header .nav-account-link::after,
.site-header #nav-logged-out a::after,
.site-header #nav-logged-out button::after,
.site-header .nav-logout-button::after {
  content: none;
}
.btn i[data-lucide] {
  width: 1.1em;
  height: 1.1em;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.btn i.icon-right {
  margin-left: 0.25rem;
}
.btn i.icon-left {
  margin-right: 0.25rem;
}
.btn:hover i.icon-right {
  transform: translateX(2px);
}
.btn:hover i.icon-left {
  transform: translateX(-2px);
}
.btn.small {
  padding: 8px 12px;
  font-size: 0.9rem;
  box-shadow: none;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(93, 0, 30, 0.18);
}
.btn.primary {
  background: var(--burgundy);
  color: #fff;
}
.btn.primary:hover {
  background: var(--burgundy-2);
}
.site-header .btn.primary {
  background: var(--burgundy);
  color: #fff;
}
.site-header .btn.primary:hover {
  background: var(--burgundy-2);
}
.site-header .btn.primary:focus-visible {
  outline: none;
}

/* subtle borders for cards/forms to improve separation on light backgrounds */
.card,
.form,
.appointments,
.dashboard-section {
  border: 1px solid var(--ring);
}
.btn.ghost {
  background: transparent;
  color: var(--burgundy);
  border: 1.5px solid color-mix(in oklab, var(--burgundy), white 40%);
  box-shadow: none;
}
.site-header .btn.ghost {
  border-color: rgba(138, 112, 118, 0.45);
  color: var(--burgundy);
}
.site-header .btn.ghost:hover {
  background: color-mix(in oklab, var(--burgundy), white 90%);
}
.btn.ghost:hover {
  background: color-mix(in oklab, var(--burgundy), white 88%);
}
.btn:focus-visible {
  outline: none;
  box-shadow: none;
}

/* improve contrast of ghost button on dark hero background */
.hero .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}
.hero .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}
.hero .btn.ghost:focus-visible {
  outline: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h, 58px));
  display: grid;
  place-items: center;
}
/* When header is fixed on the homepage, make hero full height and add a top padding to avoid overlap */
.site-header.is-fixed + .hero {
  min-height: 100svh;
}
.site-header.is-fixed + .hero .hero-content {
  padding-top: calc(var(--header-h, 58px) / 2);
}
/* other pages start with <main> after header */
.site-header.is-fixed + main {
  padding-top: calc(var(--header-h, 58px) + 6px);
}
@media (max-width: 980px) {
  .header-inner {
    padding-inline: 24px;
    gap: 16px;
  }

  .nav {
    gap: 16px;
  }

  .site-header #nav-logged-out,
  .site-header #nav-logged-in {
    right: 24px;
  }

  .site-header .nav > a {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
    flex: 0 0 42px;
  }

  .site-header .btn {
    padding-inline: 16px;
  }

  body .landing-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  body .landing-nav .menu-toggle {
    color: var(--burgundy);
    background: color-mix(in oklab, var(--lilac-2), white 40%);
  }

  body .landing-nav .landing-header-left + div {
    display: none !important;
  }
}
@media (max-height: 820px) {
  .site-header {
    height: 72px;
    --header-h: 72px;
  }
}
@media (max-width: 560px) {
  .site-header {
    height: 68px;
    --header-h: 68px;
  }

  .header-inner {
    padding-inline: 14px;
  }

  .header-left {
    gap: 8px;
    min-width: 0;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .brand {
    width: 42px;
    height: 46px;
    overflow: hidden;
    background: url("images/specchio-mobile-logo.png") center / contain no-repeat;
    color: transparent;
    font-size: 0;
    letter-spacing: 0;
    text-indent: -9999px;
  }

  .site-header .nav-logout-button {
    display: none;
  }

  .site-header .btn {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 11px;
    gap: 6px;
    letter-spacing: 0.16em;
  }

  .site-header .nav-account-link,
  .site-header .nav-auth-button {
    width: auto;
    min-width: 0;
    padding-inline: 12px;
  }

  .site-header .nav-account-link {
    width: 40px;
    padding-inline: 0;
  }

  .site-header .nav-account-link #user-greeting {
    display: none;
  }

  .site-header .nav-auth-button span:first-child {
    display: inline;
    font-size: inherit;
  }

  .site-header .nav-account-dropdown {
    right: 0;
  }

  body .landing-nav {
    padding-inline: 14px;
  }

  body .landing-header-left {
    gap: 8px;
  }

  body .landing-nav #nav-logged-in a {
    width: 40px;
    min-height: 40px;
    padding-inline: 0;
    justify-content: center;
  }

  body .landing-nav #nav-logged-out button {
    width: auto;
    min-width: 0;
    min-height: 40px;
    padding-inline: 12px;
    gap: 6px;
    justify-content: center;
  }

  body .landing-nav #nav-logged-out button > :not([hidden]) ~ :not([hidden]) {
    margin-left: 0;
    margin-right: 0;
  }

  body .landing-nav #nav-logged-in #user-greeting {
    display: none;
  }
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(95%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(34, 21, 33, 0.78),
    rgba(34, 21, 33, 0.58) 40%,
    rgba(93, 0, 30, 0.55)
  );
  mix-blend-mode: multiply;
}
.hero-content {
  position: relative;
  text-align: center;
}
.hero h1 {
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(28px, 5vw + 12px, 54px);
}
.hero h1 {
  transform: scale(0.96);
  animation: hero-scale 1400ms forwards cubic-bezier(0.5, 1, 0.89, 1);
}
.hero h1 span {
  display: inline-block;
  opacity: 0;
  filter: blur(4px);
}
.hero h1 span:nth-child(1) {
  animation: hero-fade 0.8s 0.1s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero h1 span:nth-child(2) {
  animation: hero-fade 0.8s 0.2s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero h1 span:nth-child(3) {
  animation: hero-fade 0.8s 0.3s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero h1 span:nth-child(4) {
  animation: hero-fade 0.8s 0.4s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero h1 span:nth-child(5) {
  animation: hero-fade 0.8s 0.5s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero h1 span:nth-child(6) {
  animation: hero-fade 0.8s 0.6s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero h1 span:nth-child(7) {
  animation: hero-fade 0.8s 0.7s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

/* subtitle animation: subtle, starts after title */
.hero .lead span {
  display: inline-block;
  opacity: 0;
  filter: blur(3px);
}
.hero .lead span:nth-child(1) {
  animation: hero-fade 0.7s 0.9s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero .lead span:nth-child(2) {
  animation: hero-fade 0.7s 0.98s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero .lead span:nth-child(3) {
  animation: hero-fade 0.7s 1.06s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero .lead span:nth-child(4) {
  animation: hero-fade 0.7s 1.14s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero .lead span:nth-child(5) {
  animation: hero-fade 0.7s 1.22s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero .lead span:nth-child(6) {
  animation: hero-fade 0.7s 1.3s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero .lead span:nth-child(7) {
  animation: hero-fade 0.7s 1.38s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero .lead span:nth-child(8) {
  animation: hero-fade 0.7s 1.46s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero .lead span:nth-child(9) {
  animation: hero-fade 0.7s 1.54s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero .lead span:nth-child(10) {
  animation: hero-fade 0.7s 1.62s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero .lead span:nth-child(11) {
  animation: hero-fade 0.7s 1.7s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero .lead span:nth-child(12) {
  animation: hero-fade 0.7s 1.78s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero .lead span:nth-child(13) {
  animation: hero-fade 0.7s 1.86s forwards cubic-bezier(0.11, 0, 0.5, 0);
}
.hero .lead span:nth-child(14) {
  animation: hero-fade 0.7s 1.94s forwards cubic-bezier(0.11, 0, 0.5, 0);
}

@keyframes hero-scale {
  to {
    transform: scale(1);
  }
}
@keyframes hero-fade {
  to {
    opacity: 1;
    filter: blur(0);
  }
}
.hero .lead {
  color: #fff;
  opacity: 0.98;
  margin: 14px auto 24px;
  max-width: 60ch;
  font-size: clamp(16px, 1.8vw, 19px);
}
.button-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* hero buttons: reveal after subtitle */
.hero .button-group .btn {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(8px) scale(0.98);
  animation: hero-btn 0.7s 2.75s forwards cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero .button-group .btn:nth-child(2) {
  animation-delay: 2.9s;
}

@keyframes hero-btn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

/* scroll cue at bottom of hero */
.scroll-cue {
  position: absolute;
  right: clamp(16px, 4vw, 40px);
  bottom: clamp(16px, 2vw, 28px);
  width: 24px;
  height: 36px;
  border-radius: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: inline-block;
  z-index: 2;
  pointer-events: none;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 0;
  background: #fff;
  animation: cue 1.4s infinite ease-in-out;
}
@keyframes cue {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
}

/* optional hint text near scroll cue */
.scroll-hint {
  position: absolute;
  right: clamp(16px, 4vw, 40px);
  bottom: clamp(56px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  animation: hint-fade 2.4s infinite ease-in-out;
}
@keyframes hint-fade {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* active state for header primary button (Agende agora) */
.site-header .btn.primary.active {
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--burgundy-2), white 65%);
}

/* ---------- Services ---------- */
.services {
  background: var(--lilac);
}
.cards-3 {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  justify-content: space-between;
  margin: 6px 0 16px;
}
.filters .tags {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filters .search {
  flex: 1 1 260px;
  max-width: 460px;
  padding: 12px 14px;
  border-radius: 0;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: var(--ink);
  outline: none;
  box-shadow: var(--shadow);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.filters .search:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--burgundy), white 80%);
}
.pros-grid {
  margin-top: 10px;
}
.pro-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pro-card .muted {
  font-size: 0.95rem;
}
.pro-card .toggle {
  align-self: flex-start;
}
.pro-card img {
  aspect-ratio: 16 / 9;
}
.pro-card .services {
  list-style: none;
  margin: 6px 0 0;
  padding: 12px 0 0;
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.pro-card .services li {
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  background: color-mix(in oklab, var(--lilac), white 72%);
  font-size: 0.95rem;
}
.chip {
  box-shadow: 0 2px 6px rgba(154, 23, 80, 0.1);
}
@media (max-width: 960px) {
  .cards-3 {
    grid-template-columns: 1fr;
  }
}
.card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.card img {
  transition: transform 0.25s ease;
}
.card-body {
  padding: 18px 18px 22px;
}
.card h3 {
  margin: 0 0 6px 0;
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 700;
}
.card .price {
  color: var(--burgundy-2);
  font-weight: 700;
  margin: 0.25rem 0 0.5rem;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(43, 23, 43, 0.16);
}
.card:hover img {
  transform: scale(1.05);
}

/* ---------- Booking ---------- */
.booking {
  background: var(--cream);
}
.booking-grid {
  display: grid;
  gap: 32px;
  align-items: start;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 920px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
}
.appointments {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.appointments li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.appointments li:hover {
  background: rgba(154, 23, 80, 0.06);
}
.appointments li:last-child {
  border-bottom: 0;
}
.appointments strong {
  display: block;
}
.appointments span {
  color: var(--muted);
  font-size: 0.95rem;
}
.appointments .btn.small {
  background: var(--burgundy);
  color: #fff;
}

/* ---------- Schedule (new) ---------- */
.schedule {
  background: var(--cream);
}
.schedule .container {
  max-width: none;
}
.wizard {
  max-width: none;
}
.slides {
  position: relative;
}
.slide {
  display: none;
}
.slide.is-active {
  display: block;
  animation: slide-fade 0.25s ease-out;
}
@keyframes slide-fade {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.stepper {
  list-style: none;
  padding: 0;
  margin: 6px 0 18px;
  display: flex;
  gap: 14px;
}
.stepper li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.stepper li span {
  width: 28px;
  height: 28px;
  border-radius: 0;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: color-mix(in oklab, var(--burgundy), white 70%);
  color: var(--burgundy-2);
}
.stepper li.done span {
  background: color-mix(in oklab, var(--burgundy), white 55%);
}
.stepper li.active {
  color: var(--burgundy-2);
}
.stepper li.active span {
  background: var(--burgundy);
  color: #fff;
}
.stepper small {
  font-size: 0.85rem;
  display: block;
}

.schedule-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}
@media (max-width: 980px) {
  .schedule-grid {
    grid-template-columns: 1fr;
  }
}
.panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.panel h3 {
  margin: 6px 0 8px;
  font-size: 1.1rem;
  color: var(--burgundy-2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.chip {
  border: 1.5px solid color-mix(in oklab, var(--burgundy), white 40%);
  background: #fff;
  color: var(--burgundy-2);
  padding: 8px 12px;
  border-radius: 0;
  cursor: pointer;
  font-weight: 600;
}
.chip:hover {
  background: color-mix(in oklab, var(--burgundy), white 90%);
}
.chip.is-selected,
.chip:focus-visible {
  outline: none;
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
}

.calendar-mini {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  padding: 10px;
  background: #fff;
  margin-bottom: 12px;
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.cal-nav {
  background: transparent;
  border: 0;
  width: 32px;
  height: 32px;
  border-radius: 0;
  cursor: pointer;
  color: var(--burgundy-2);
  font-size: 18px;
}
.cal-nav:hover {
  background: rgba(154, 23, 80, 0.08);
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.calendar-grid span {
  text-transform: lowercase;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
.calendar-grid button {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: var(--ink);
  border-radius: 0;
  padding: 8px 0;
  cursor: pointer;
}
.calendar-grid button:hover {
  background: rgba(154, 23, 80, 0.06);
}
.calendar-grid button.selected {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
}
.calendar-grid button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.time-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.time {
  border: 1.5px solid color-mix(in oklab, var(--burgundy), white 40%);
  background: #fff;
  color: var(--burgundy-2);
  padding: 10px 12px;
  border-radius: 0;
  font-weight: 600;
  cursor: pointer;
}
.time:hover {
  background: color-mix(in oklab, var(--burgundy), white 90%);
}
.time.is-selected {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.summary .summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 0;
  display: grid;
  gap: 10px;
}
.summary .summary-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0;
}
.summary strong {
  color: var(--burgundy-2);
}

/* ---------- About ---------- */
.about {
  background: var(--lilac);
}
.about-grid {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: 1.1fr 1fr;
}
@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}
.about-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-copy p {
  margin: 0 0 16px 0;
}

/* ---------- Quizzes (scroll horizontal) ---------- */
.quizzes {
  background: var(--cream);
}
.quizzes .container {
  position: relative;
}
.quizzes-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.quiz-mode-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}
.quiz-switch {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: color-mix(in oklab, var(--lilac), white 40%);
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}
.quiz-switch .switch-thumb {
  width: 18px;
  height: 18px;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
  transform: translateX(3px);
  transition: transform 0.18s ease;
}
.quiz-switch[aria-pressed="true"] {
  background: var(--burgundy);
  border-color: var(--burgundy-2);
}
.quiz-switch[aria-pressed="true"] .switch-thumb {
  transform: translateX(21px);
}
.carousel {
  --items: 7;
  --carousel-duration: 34s;
  --carousel-width: 100%;
  --carousel-item-width: 280px;
  --carousel-item-height: 440px;
  --carousel-item-gap: 2rem;
  --clr-cta: var(--burgundy);
  position: relative;
  width: var(--carousel-width);
  height: var(--carousel-item-height);
  overflow: clip;
  margin: 18px 0 6px;
}
.carousel[mask] {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10% 90%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10% 90%,
    transparent
  );
}
/* modo manual: desativa animação contínua e usa rolagem horizontal controlada */
.carousel.manual {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel.manual::-webkit-scrollbar {
  height: 0;
}
.carousel.manual[mask] {
  -webkit-mask-image: none;
  mask-image: none;
}
@media (min-width: 600px) {
  .carousel {
    --carousel-duration: 28s;
  }
}
.carousel > article {
  position: absolute;
  top: 0;
  left: calc(100% + var(--carousel-item-gap));
  width: var(--carousel-item-width);
  height: var(--carousel-item-height);
  display: grid;
  grid-template-rows: 200px auto 1fr auto;
  gap: 0.25rem;
  border: 1px solid rgba(0, 0, 0, 0.14);
  padding-block-end: 1rem;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  will-change: transform, opacity;
  /* duas animações: movimento e suavização nas bordas */
  animation-name: marquee, fade-edge;
  animation-duration: var(--carousel-duration), var(--carousel-duration);
  animation-timing-function: linear, ease;
  animation-iteration-count: infinite, infinite;
  animation-delay: calc(
    var(--carousel-duration) / var(--items) * 1 * var(--i) * -1
  );
  box-shadow: var(--shadow);
}
.carousel.manual > article {
  position: relative;
  left: auto;
  display: grid;
  flex: 0 0 var(--carousel-item-width);
  margin-right: var(--carousel-item-gap);
  scroll-snap-align: start;
  animation: none;
}
.carousel > article:nth-child(1) {
  --i: 0;
}
.carousel > article:nth-child(2) {
  --i: 1;
}
.carousel > article:nth-child(3) {
  --i: 2;
}
.carousel > article:nth-child(4) {
  --i: 3;
}
.carousel > article:nth-child(5) {
  --i: 4;
}
.carousel > article:nth-child(6) {
  --i: 5;
}
.carousel > article:nth-child(7) {
  --i: 6;
}
.carousel > article:nth-child(8) {
  --i: 7;
}
.carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.object-top {
  object-position: top center;
}
.object-top-15 {
  object-position: center 15%;
}
.object-center {
  object-position: center center;
}
.carousel > article > *:not(img) {
  padding: 0 1rem;
}
.carousel > article > div {
  grid-row: span 2;
  display: grid;
  grid-template-rows: subgrid;
  font-size: 0.9rem;
}
.carousel > article h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  padding-block: 0.75rem 0.25rem;
  color: var(--burgundy-2);
}
.carousel > article p {
  margin: 0;
  color: var(--ink);
}
.carousel > article a {
  text-decoration: none;
  border: 1px solid var(--clr-cta);
  color: var(--burgundy-2);
  border-radius: 0;
  padding: 0.35rem 0.6rem;
  place-self: start;
  transition: 150ms ease-in-out;
}
.carousel > article a:hover,
.carousel > article a:focus-visible {
  background: var(--clr-cta);
  color: #fff;
  outline: none;
}
.carousel:hover > article {
  animation-play-state: paused;
}

@keyframes marquee {
  100% {
    transform: translateX(
      calc(
        (
            var(--items) *
              (var(--carousel-item-width) + var(--carousel-item-gap))
          ) *
          -1
      )
    );
  }
}

/* Suaviza a saída na borda esquerda e a entrada na borda direita */
@keyframes fade-edge {
  0% {
    opacity: 0;
  }
  4% {
    opacity: 0.45;
  }
  8% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  96% {
    opacity: 0.2;
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 680px) {
  .carousel {
    --carousel-item-width: 240px;
    --carousel-item-height: 400px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel > article {
    animation-duration: 1ms;
    animation-iteration-count: 1;
  }
}
.quiz-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 0;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
  background: rgba(93, 0, 30, 0.85);
  color: #fff;
  box-shadow: var(--shadow);
  transition:
    transform 0.15s ease,
    opacity 0.2s ease,
    background 0.2s ease;
  backdrop-filter: saturate(120%) blur(4px);
  z-index: 2;
}
.quiz-nav[hidden] {
  display: none !important;
}
.quiz-nav:hover {
  transform: translateY(-50%) scale(1.05);
  background: rgba(154, 23, 80, 0.92);
}
.quiz-nav:disabled {
  opacity: 0.35;
  pointer-events: none;
}
.quiz-nav.prev {
  left: -6px;
}
.quiz-nav.next {
  right: -6px;
}
@media (max-width: 640px) {
  .quiz-nav {
    display: none;
  }
}
.quizzes-rail {
  /* layout em colunas contínuas */
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(240px, 28vw, 340px);
  gap: 20px;

  /* rolagem lateral */
  overflow-x: auto;
  overflow-y: hidden;
  padding: 14px 4px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  /* esconder barra mantendo o scroll */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge legacy */
}
.quizzes-rail::-webkit-scrollbar {
  display: none;
  height: 0;
}
.quiz-card {
  background: var(--white);
  border-radius: 0;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.quiz-card img {
  object-fit: cover;
  width: 100%;
  aspect-ratio: 1 / 1;
  transition: transform 0.25s ease;
}
.quiz-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 16px;
}
.quiz-card .pill {
  align-self: flex-start;
  margin: 0 16px 16px;
  padding: 10px 14px;
  background: var(--burgundy);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-radius: 0;
  transition: opacity 0.2s ease;
}
.quiz-card .pill:hover {
  opacity: 0.9;
}
.quiz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(43, 23, 43, 0.16);
}
.quiz-card:hover img {
  transform: scale(1.03);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--lilac);
}
.contact-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.form {
  background: #fff;
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.form .grid-2 {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 720px) {
  .form .grid-2 {
    grid-template-columns: 1fr;
  }
}
.form label {
  display: block;
}
.form span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}
.form input:focus,
.form textarea:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--burgundy), white 80%);
}

/* contact editorial page */
.contact-page {
  min-height: 100%;
  color: #24181b;
  background:
    linear-gradient(180deg, #fff8f8 0%, #f5f4f2 58%, #fff8f8 100%);
  font-family:
    Satoshi,
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  font-weight: 300;
}

.contact-page .container {
  max-width: 1800px;
  padding-inline: clamp(24px, 5vw, 64px);
}

.contact-main {
  overflow-x: hidden;
}

.site-header.is-fixed + .contact-main {
  padding-top: 0;
}

.contact-hero {
  min-height: calc(100svh - var(--header-h, 84px));
  padding-block: clamp(88px, 12vw, 176px) clamp(72px, 10vw, 144px);
}

.contact-hero-grid,
.contact-workspace-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
}

.contact-hero-grid {
  align-items: end;
}

.contact-copy {
  grid-column: 1 / span 6;
  padding-bottom: clamp(24px, 4vw, 72px);
}

.contact-kicker,
.contact-rail-title,
.contact-form label > span {
  color: #9a1750;
  font-family: Satoshi, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-copy h1 {
  max-width: min(100%, 760px);
  margin: 22px 0 28px;
  color: #5d001e;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(64px, 7.6vw, 128px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
}

.contact-copy p {
  max-width: 620px;
  margin: 0;
  color: #574146;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.65;
}

.contact-media {
  grid-column: 8 / span 5;
  align-self: stretch;
  min-height: clamp(460px, 58vw, 760px);
  overflow: hidden;
  border: 1px solid rgba(93, 0, 30, 0.1);
  background: #f4dde1;
}

.contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.16) saturate(0.82) contrast(1.04);
  mix-blend-mode: multiply;
  transform: scale(1.01);
  transition:
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 900ms ease;
}

.contact-media:hover img {
  filter: grayscale(0.04) saturate(0.95) contrast(1.08);
  transform: scale(1.045);
}

.contact-workspace {
  padding-block: 0 clamp(104px, 12vw, 176px);
}

.contact-rail {
  grid-column: 1 / span 4;
  align-self: start;
  border-top: 1px solid rgba(93, 0, 30, 0.18);
  padding-top: 28px;
}

.contact-rail-title {
  margin: 0 0 28px;
}

.info-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(93, 0, 30, 0.1);
}

.info-list li {
  display: grid;
  grid-template-columns: minmax(110px, 0.45fr) minmax(0, 1fr);
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(93, 0, 30, 0.1);
}

.info-list strong {
  color: #5d001e;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
}

.info-list a {
  min-width: 0;
  color: #574146;
  font-size: 16px;
  text-decoration: none;
  transition: color 180ms ease;
  overflow-wrap: anywhere;
}

.info-list a:hover {
  color: #9a1750;
}

.contact-rail-note {
  max-width: 440px;
  margin: 28px 0 0;
  color: rgba(87, 65, 70, 0.82);
  font-size: 15px;
  line-height: 1.7;
}

.contact-form {
  grid-column: 6 / span 7;
  display: grid;
  gap: 22px;
  border: 1px solid rgba(93, 0, 30, 0.12);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
  padding: clamp(28px, 4.5vw, 64px);
}

.contact-form-heading {
  display: grid;
  gap: 18px;
  margin-bottom: 8px;
}

.contact-form-heading h2 {
  max-width: 680px;
  margin: 0;
  color: #5d001e;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(42px, 5vw, 80px);
  font-weight: 400;
  line-height: 1.02;
}

.contact-form-hint,
.contact-form-status {
  margin: 0;
  color: rgba(87, 65, 70, 0.82);
  font-size: 15px;
  line-height: 1.6;
}

.contact-form-status {
  min-height: 24px;
}

.contact-form-status.is-error {
  color: #93000a;
}

.contact-form-status.is-success {
  color: #5d001e;
}

.contact-form .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.contact-form label {
  display: grid;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(93, 0, 30, 0.18);
  border-radius: 0;
  background: rgba(255, 248, 248, 0.74);
  color: #24181b;
  font-family: Satoshi, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  padding: 16px 18px;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-form textarea {
  min-height: 176px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #9a1750;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(154, 23, 80, 0.12);
  outline: none;
}

.contact-submit {
  width: fit-content;
  min-height: 52px;
  justify-self: start;
  border-radius: 0;
  box-shadow: none;
  font-family: Satoshi, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  padding-inline: 28px;
  text-transform: uppercase;
}

.contact-submit:hover {
  box-shadow: none;
}

.contact-form .contact-submit span {
  display: inline;
  margin: 0;
  color: inherit;
  font-size: inherit;
}

@media (max-width: 1080px) {
  .contact-hero {
    min-height: auto;
    padding-top: 96px;
  }

  .contact-copy,
  .contact-media,
  .contact-rail,
  .contact-form {
    grid-column: 1 / -1;
  }

  .contact-copy {
    padding-bottom: 0;
  }

  .contact-media {
    min-height: 520px;
  }
}

@media (max-width: 720px) {
  .contact-page .container {
    padding-inline: 24px;
  }

  .contact-copy h1 {
    font-size: clamp(52px, 16vw, 72px);
  }

  .contact-media {
    min-height: 360px;
  }

  .contact-form,
  .contact-rail {
    padding-top: 24px;
  }

  .contact-form {
    padding-inline: 22px;
  }

  .contact-form .grid-2,
  .info-list li {
    grid-template-columns: 1fr;
  }

  .contact-submit {
    width: 100%;
  }
}

/* ---------- Footer (Specchio) ---------- */
.choice-footer {
  border-top: 1px solid rgba(234, 218, 221, 0.9);
  background: #ffffff;
}

.choice-footer-inner {
  width: min(100% - 64px, 1800px);
  margin-inline: auto;
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: #aaa0a3;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.choice-footer-inner > span {
  text-align: right;
}

.choice-footer-brand {
  color: var(--burgundy);
  font-family: "Instrument Serif", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.22em;
  text-decoration: none;
  text-transform: uppercase;
}

.choice-footer-links {
  display: flex;
  gap: 36px;
}

.choice-footer a {
  color: inherit;
  text-decoration: none;
}

.choice-footer a:hover {
  color: var(--burgundy);
}

@media (max-width: 680px) {
  .choice-footer-inner {
    width: min(100% - 24px, 1440px);
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 16px;
    padding-block: 22px;
  }
  .choice-footer-brand {
    font-size: 1.7rem;
  }
  .choice-footer-links {
    flex-wrap: wrap;
    gap: 14px 22px;
  }
}


/* ---------- Responsivo extra ---------- */
@media (max-width: 560px) {
  .button-group {
    flex-direction: column;
    align-items: stretch;
  }
  .button-group .btn {
    width: 100%;
    min-height: 48px;
  }
}

/* ---------- Acessibilidade / movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Modal (Profissionais) ---------- */
body.has-modal {
  overflow: hidden;
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
}

#analysis-choice-modal {
  z-index: 1000;
}

#auth-modal {
  z-index: 1100;
  padding: 24px;
  border: 0 solid rgb(229, 231, 235);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985);
  color: #5d001e;
  font-family:
    ui-sans-serif,
    system-ui,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji";
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  transition:
    opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

#auth-modal.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.modal[hidden] {
  display: none;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 21, 33, 0.55);
  backdrop-filter: saturate(120%) blur(3px);
}
#auth-modal .modal-backdrop {
  opacity: 0;
  background: rgba(58, 45, 48, 0.4);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition:
    opacity 620ms ease-in-out,
    backdrop-filter 720ms linear,
    -webkit-backdrop-filter 720ms linear;
}

#auth-modal.is-visible .modal-backdrop {
  opacity: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 92vw);
  max-height: 88vh;
  overflow: visible;
  background: #fff;
  color: var(--ink);
  border-radius: 0;
  box-shadow: 0 20px 50px rgba(43, 23, 43, 0.24);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}
@media (max-width: 860px) {
  .modal-dialog {
    grid-template-columns: 1fr;
    width: min(720px, 94vw);
  }
}
.modal-media {
  overflow: hidden;
  border-radius: 0;
}
@media (max-width: 860px) {
  .modal-media {
    border-radius: 0;
  }
}
.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.modal-body {
  padding: 22px 22px 26px;
  overflow: auto;
}
.modal-body h3 {
  margin: 0 0 8px 0;
  font-size: 1.4rem;
  color: var(--burgundy-2);
}
.modal-body .muted {
  margin: 0 0 14px 0;
}
.modal-body .services {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.modal-body .services li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(43, 23, 43, 0.08);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}
.modal-body .services li::before {
  content: "";
  flex: 0 0 10px;
  height: 10px;
  border-radius: 0;
  background: var(--burgundy);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--burgundy), white 75%);
}
.modal-body .services li:hover {
  transform: translateY(-1px);
  background: color-mix(in oklab, var(--lilac), white 90%);
  border-color: color-mix(in oklab, var(--burgundy), white 55%);
  box-shadow: 0 8px 20px rgba(43, 23, 43, 0.12);
}
.modal-body .services a {
  display: block;
  text-decoration: none;
  color: inherit;
}
/* custom select for services */
.service-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  padding: 12px 42px 12px 12px;
  border: 1.5px solid color-mix(in oklab, var(--burgundy), white 70%);
  border-radius: 0;
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235D001E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E")
    no-repeat right 12px center / 20px 20px;
  color: var(--ink);
  box-shadow: var(--shadow);
  font: inherit;
  cursor: pointer;
}
.service-select:focus {
  outline: none;
  border-color: color-mix(in oklab, var(--burgundy), white 45%);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--burgundy), white 80%);
}
.service-select:hover {
  border-color: color-mix(in oklab, var(--burgundy), white 55%);
}
.service-select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.service-dropdown {
  position: relative;
}
.service-trigger {
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  padding: 12px 42px 12px 14px;
  border-radius: 0;
  border: 1.5px solid color-mix(in oklab, var(--burgundy), white 70%);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}
.service-trigger::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235D001E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E")
    no-repeat center / contain;
  pointer-events: none;
}
.service-trigger:hover {
  border-color: color-mix(in oklab, var(--burgundy), white 55%);
}
.service-trigger:focus {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--burgundy), white 80%);
  border-color: color-mix(in oklab, var(--burgundy), white 45%);
}

.service-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 36px rgba(43, 23, 43, 0.16);
  max-height: 220px;
  overflow: auto;
  z-index: 20;
  padding: 8px 6px;
}
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.service-list [role="option"] {
  padding: 10px 12px;
  border-radius: 0;
  cursor: pointer;
  color: var(--ink);
}
.service-list [role="option"]:hover,
.service-list [role="option"]:focus {
  background: color-mix(in oklab, var(--lilac), white 88%);
  outline: none;
}
.service-menu::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.service-menu::-webkit-scrollbar-thumb {
  background: color-mix(in oklab, var(--burgundy), white 35%);
  border-radius: 0;
}
.service-menu::-webkit-scrollbar-track {
  background: transparent;
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 0;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.92);
  color: var(--burgundy-2);
  font-size: 22px;
  line-height: 1;
  box-shadow: var(--shadow);
}
.modal-close:hover {
  background: #fff;
}

/* Auth modal adjustments */
#auth-modal *,
#auth-modal ::before,
#auth-modal ::after {
  box-sizing: border-box;
  border: 0 solid rgb(229, 231, 235);
}
#auth-modal button {
  appearance: button;
}
#auth-modal .modal-dialog.auth {
  display: block;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 460px;
  border: 1px solid rgba(138, 112, 118, 0.3);
  border-radius: 0;
  background: #fff8f8;
  box-shadow:
    0 0 #0000,
    0 0 #0000,
    0 30px 80px rgba(93, 0, 30, 0.18);
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition:
    opacity 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  color: #5d001e;
  font-family:
    ui-sans-serif,
    system-ui,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji";
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  will-change: opacity, transform;
}
#auth-modal.is-visible .modal-dialog.auth {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.modal-dialog.auth .modal-body {
  padding: 18px 18px 17px;
  overflow: visible;
  color: #5d001e;
  font-family:
    ui-sans-serif,
    system-ui,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji";
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.modal-dialog.auth .modal-close {
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0 solid rgb(229, 231, 235);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #9a1750;
  font-family:
    ui-sans-serif,
    system-ui,
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji";
  font-size: 24px;
  line-height: 24px;
}
.modal-dialog.auth .modal-body h3 {
  margin: 0 0 20px;
  color: #9a1750;
  font-family: "Instrument Serif";
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
}
#auth-modal .chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 20px;
}
#auth-modal .chips[hidden] {
  display: none;
}
#auth-modal .chip {
  min-height: 0;
  border: 1px solid rgba(154, 23, 80, 0.25);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #9a1750;
  cursor: pointer;
  font-family: Satoshi;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  padding: 12px;
  text-transform: uppercase;
}
#auth-modal .chip.is-selected,
#auth-modal .chip:focus-visible {
  border-color: rgba(154, 23, 80, 0.25);
  background: #9a1750;
  color: #fff;
  outline: none;
}
.auth-panes .form {
  display: grid;
  gap: 9px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  font-family: Satoshi;
}
.auth-panes .form .btn.primary {
  width: 100%;
}
.auth-panes {
  min-width: 0;
  width: 100%;
}
.modal-dialog.auth .modal-body {
  min-width: 0;
  width: auto;
}
#auth-modal .auth-pane label:not(.auth-terms) {
  display: grid;
  gap: 8px;
  color: #574146;
  font-family: Satoshi;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 20px;
}
#auth-modal .auth-pane label:not(.auth-terms) span {
  margin: 0;
  color: #574146;
  font-size: 0.875rem;
  line-height: 20px;
}
#auth-modal .auth-pane input:not([type="checkbox"]) {
  appearance: none;
  width: 100%;
  border: 1px solid rgba(138, 112, 118, 0.35);
  border-radius: 0;
  background: #fff;
  color: #5d001e;
  font-family: Satoshi;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  outline-color: rgba(154, 23, 80, 0.2);
  padding: 12px 16px;
}
#auth-modal .auth-pane input:not([type="checkbox"])::placeholder {
  color: rgb(107, 114, 128);
  opacity: 1;
}
#auth-modal .auth-pane input:not([type="checkbox"]):focus {
  border-color: #9a1750;
  box-shadow: none;
  outline: 1px solid rgba(154, 23, 80, 0.2);
}
#auth-modal .auth-pane .btn.primary {
  display: block;
  min-height: 0;
  margin: 4px 0 0;
  border: 0 solid rgb(229, 231, 235);
  border-radius: 0;
  box-shadow: none;
  font-family: Satoshi;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  padding: 12px 16px;
  text-transform: uppercase;
}
#auth-modal .auth-pane .btn.primary:hover {
  transform: none;
}
#auth-modal .auth-pane .btn.primary:disabled,
#auth-modal .auth-pane .btn.primary[disabled] {
  background: rgba(154, 23, 80, 0.38) !important;
  color: rgba(255, 255, 255, 0.78) !important;
  cursor: not-allowed;
  box-shadow: none;
}
#auth-modal .auth-panes + div {
  margin: 16px 0;
  color: #574146;
  font-family: Satoshi;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
}
#auth-modal .auth-pane > .my-4 {
  margin: 16px 0;
  color: #574146;
  font-family: Satoshi;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
}
#auth-modal .auth-google-hint + .flex {
  display: flex;
  justify-content: center;
}
#auth-modal .auth-pane > .auth-google-hint + .flex {
  display: flex;
  justify-content: center;
  width: 100%;
}
#auth-modal .auth-terms {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start !important;
  gap: 10px !important;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(154, 23, 80, 0.22);
  background: linear-gradient(135deg, rgba(255, 248, 248, 0.94), rgba(255, 232, 236, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: #574146 !important;
  cursor: pointer;
  font-family: Satoshi, system-ui, sans-serif;
  font-size: 0.78rem !important;
  line-height: 1.34 !important;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}
#auth-modal .auth-terms:hover {
  border-color: rgba(154, 23, 80, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 10px 24px rgba(93, 0, 30, 0.08);
  transform: translateY(-1px);
}
#auth-modal .auth-terms:has(input:checked) {
  border-color: rgba(154, 23, 80, 0.72);
  background: linear-gradient(135deg, rgba(255, 217, 225, 0.88), rgba(255, 248, 248, 0.96));
}
#auth-modal .auth-terms input[name="acceptTerms"],
#auth-modal .auth-terms input[name="acceptImageProcessing"] {
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-items: center;
  flex: none;
  width: 20px !important;
  height: 20px;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  border: 1.5px solid rgba(154, 23, 80, 0.48);
  border-radius: 0 !important;
  background: #ffffff;
  color: rgb(37, 99, 235);
  font-family: Satoshi, system-ui, sans-serif;
  cursor: pointer;
  outline: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}
#auth-modal .auth-terms input[name="acceptTerms"]::after,
#auth-modal .auth-terms input[name="acceptImageProcessing"]::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  opacity: 0;
  transform: rotate(-45deg) translateY(-1px) scale(0.82);
  transition:
    opacity 140ms ease,
    transform 160ms ease;
}
#auth-modal .auth-terms input[name="acceptTerms"]:checked,
#auth-modal .auth-terms input[name="acceptImageProcessing"]:checked {
  border-color: #9a1750;
  background: #9a1750;
  box-shadow: 0 0 0 4px rgba(154, 23, 80, 0.12);
}
#auth-modal .auth-terms input[name="acceptTerms"]:checked::after,
#auth-modal .auth-terms input[name="acceptImageProcessing"]:checked::after {
  opacity: 1;
  transform: rotate(-45deg) translateY(-1px) scale(1);
}
#auth-modal .auth-terms input[name="acceptTerms"]:focus-visible,
#auth-modal .auth-terms input[name="acceptImageProcessing"]:focus-visible {
  outline: 2px solid rgba(154, 23, 80, 0.3);
  outline-offset: 3px;
}
#auth-modal .auth-terms span {
  min-width: 0;
  margin: 0 !important;
  color: #574146 !important;
  font-size: inherit !important;
  line-height: inherit !important;
}
#auth-modal .auth-terms a {
  color: #9a1750 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: 700;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(154, 23, 80, 0.32);
  transition:
    border-color 160ms ease,
    color 160ms ease;
}
#auth-modal .auth-terms a:hover {
  border-color: #9a1750;
  color: #5d001e !important;
}
.auth-google-hint {
  margin: 8px auto 0;
  max-width: 34ch;
  color: rgba(87, 65, 70, 0.82);
  font-family: Satoshi, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
}
#auth-modal.requires-terms .modal-close,
#auth-modal.requires-terms .chips,
#auth-modal.requires-terms .auth-panes,
#auth-modal.requires-terms .auth-panes + div,
#auth-modal.requires-terms #g_id_onload,
#auth-modal.requires-terms .auth-google-hint,
#auth-modal.requires-terms .g_id_signin,
#auth-modal.requires-terms .auth-google-hint + .flex {
  display: none !important;
}
#auth-modal.requires-terms .modal-backdrop {
  cursor: default;
}
#auth-modal.requires-terms .modal-dialog.auth {
  width: min(560px, calc(100vw - 32px));
  max-width: 560px;
  border-color: rgba(154, 23, 80, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 248, 248, 0.97), rgba(255, 232, 236, 0.92)),
    #fff8f8;
  box-shadow:
    0 34px 80px rgba(93, 0, 30, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
#auth-modal.requires-terms #auth-title {
  display: none;
}

@media (max-width: 680px) {
  #auth-modal .modal-dialog.auth {
    max-width: calc(100vw - 48px);
  }

  #auth-modal .modal-dialog.auth .modal-body h3 {
    padding-right: 2rem;
    font-size: clamp(2rem, 9.5vw, 2.35rem);
    line-height: 1.04;
    text-wrap: balance;
  }

  #auth-modal .chip {
    letter-spacing: 0.12em;
  }
}

.auth-terms-gate {
  display: grid;
  gap: 18px;
  width: 100%;
  min-width: 0;
  color: #574146;
  font-family: Satoshi, system-ui, sans-serif;
}
.auth-terms-gate[hidden] {
  display: none;
}
.auth-terms-gate__eyebrow {
  width: fit-content;
  border-bottom: 1px solid rgba(154, 23, 80, 0.32);
  color: #9a1750;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  padding-bottom: 8px;
  text-transform: uppercase;
}
.auth-terms-gate__title {
  margin: 0;
  color: #5d001e;
  font-family: "Instrument Serif", serif;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.96;
}
.auth-terms-gate__copy {
  max-width: 52ch;
  margin: 0;
  color: rgba(87, 65, 70, 0.86);
  font-size: 0.98rem;
  line-height: 1.55;
}
.auth-terms-gate__list {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}
.auth-terms-gate__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 2px;
}
.auth-terms-gate .btn.primary {
  display: block;
  width: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: #9a1750;
  color: #ffffff;
  cursor: pointer;
  font-family: Satoshi, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  padding: 14px 16px;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.auth-terms-gate .btn.primary:hover {
  background: #7e103f;
}
.auth-terms-gate .btn.primary:active {
  transform: translateY(1px);
}
.auth-terms-gate .btn.primary:disabled {
  background: rgba(154, 23, 80, 0.38);
  color: rgba(255, 255, 255, 0.78);
  cursor: not-allowed;
  transform: none;
}
.auth-terms-gate__logout {
  min-height: 0;
  border: 1px solid rgba(154, 23, 80, 0.24);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.52);
  color: #9a1750;
  cursor: pointer;
  font-family: Satoshi, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
  padding: 13px 16px;
  text-transform: uppercase;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}
.auth-terms-gate__logout:hover {
  border-color: rgba(154, 23, 80, 0.46);
  background: rgba(255, 255, 255, 0.82);
}
.auth-terms-gate__logout:active {
  transform: translateY(1px);
}
@media (max-width: 520px) {
  #auth-modal.requires-terms .modal-body {
    padding: 28px 22px;
  }
  .auth-terms-gate__actions {
    grid-template-columns: 1fr;
  }
}
.g_id_signin {
  max-width: 100%;
}
.g_id_signin .L6cTce {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Analysis choice modal */
.modal-dialog.analysis-choice {
  grid-template-columns: 1fr;
  width: min(760px, 92vw);
}
.analysis-choice-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 760px) {
  .analysis-choice-grid {
    grid-template-columns: 1fr;
  }
}
.analysis-choice-card {
  display: grid;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 16px;
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    border-color 0.16s ease;
}
.analysis-choice-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(43, 23, 43, 0.14);
  border-color: color-mix(in oklab, var(--burgundy), white 58%);
}
.analysis-choice-card.primary {
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--lilac-2), white 48%),
    #fff
  );
  border-color: color-mix(in oklab, var(--burgundy), white 62%);
}
.analysis-choice-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.analysis-choice-header i[data-lucide] {
  width: 18px;
  height: 18px;
  color: var(--burgundy-2);
}
.analysis-choice-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--burgundy);
}
.analysis-choice-badge.secondary {
  background: color-mix(in oklab, var(--muted), black 18%);
}
.analysis-choice-card strong {
  font-size: 1.08rem;
}
.analysis-choice-card p {
  margin: 0;
  color: var(--muted);
}

/* Analysis pages */
.analysis-page {
  padding-top: 36px;
  padding-bottom: 40px;
}
.analysis-hero {
  margin-bottom: 18px;
}
.analysis-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 8px;
  font-weight: 700;
}
.analysis-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1020px) {
  .analysis-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .analysis-grid {
    grid-template-columns: 1fr;
  }
}
.analysis-card {
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.analysis-card img {
  aspect-ratio: 1/1;
  object-fit: cover;
}
.analysis-card-body {
  padding: 16px;
  display: grid;
  gap: 10px;
}
.analysis-card-body h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  color: var(--burgundy-2);
  font-size: 1.3rem;
}
.analysis-card-body p {
  margin: 0;
  color: var(--muted);
  min-height: 52px;
}
.analysis-secondary-path {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Analysis upload */
.analysis-upload-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px;
  align-items: start;
}
@media (max-width: 920px) {
  .analysis-upload-layout {
    grid-template-columns: 1fr;
  }
}
.analysis-upload-card,
.analysis-result-card {
  background: #fff;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow);
  padding: 18px;
}
.analysis-upload-card h2,
.analysis-result-card h2 {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  color: var(--burgundy-2);
}
.analysis-preview {
  margin: 10px 0;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.analysis-preview img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 360px;
  margin: 0 auto;
  object-fit: contain;
}
.analysis-result-label {
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--burgundy-2);
}
.analysis-result-card h3 {
  margin: 14px 0 8px;
  font-size: 1rem;
  color: var(--burgundy-2);
}
.analysis-result-card ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.haircut-recommendations,
.haircut-tryon-result,
.haircut-history {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.haircut-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.haircut-section-heading h3 {
  margin-top: 0;
}
.haircut-alerts {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}
.haircut-alerts p {
  margin: 0;
  padding: 10px 12px;
  border-radius: 0;
  background: color-mix(in oklab, var(--lilac-2), white 24%);
  color: var(--burgundy-2);
  font-weight: 600;
}
.haircut-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 720px) {
  .haircut-grid {
    grid-template-columns: 1fr;
  }
}
.haircut-card,
.haircut-history-card {
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: color-mix(in oklab, white 88%, var(--lilac-2) 12%);
}
.haircut-card img,
.haircut-history-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.haircut-card-body {
  padding: 14px;
  display: grid;
  gap: 9px;
}
.haircut-card-body h4 {
  margin: 0;
  color: var(--burgundy-2);
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
}
.haircut-card-body p {
  margin: 0;
}
.haircut-meta {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}
.haircut-card-body ul {
  margin: 0;
  padding-left: 18px;
}
.haircut-tryon-images,
.haircut-history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 620px) {
  .haircut-tryon-images,
  .haircut-history-grid {
    grid-template-columns: 1fr;
  }
}
.haircut-tryon-images figure {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}
.haircut-tryon-images img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  background: #f7f1f4;
}
.haircut-tryon-images figcaption {
  padding: 8px 10px;
  color: var(--muted);
  font-weight: 700;
}
.haircut-history-card {
  padding-bottom: 10px;
}
.haircut-history-card strong,
.haircut-history-card p {
  display: block;
  margin: 8px 10px 0;
}
.haircut-history-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Perfil ---------- */

.profile-page {
  background: var(--lilac);
}

.profile-hero {
  background: linear-gradient(
    to bottom,
    color-mix(in oklab, var(--burgundy-2), white 30%),
    color-mix(in oklab, var(--burgundy), white 60%)
  );
  padding-block: 48px 36px;
  color: #fff;
}

.profile-hero-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.profile-avatar {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-summary {
  min-width: 0;
}

.profile-eyebrow {
  margin: 0 0 6px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  opacity: 0.85;
}

.profile-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3vw, 36px);
}

.profile-subtitle {
  margin: 6px 0 14px;
  font-size: 1.05rem;
  opacity: 0.96;
}

.profile-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 0.95rem;
}

.profile-meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-meta i[data-lucide] {
  width: 16px;
  height: 16px;
}

/* Grid principal */

.profile-content {
  background: var(--lilac);
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
}

.profile-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.profile-card h2 {
  margin: 0 0 12px;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: var(--burgundy-2);
}

/* Habilidades */

.profile-skills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.profile-skills .label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.profile-skills .bar {
  position: relative;
  margin-top: 6px;
  height: 6px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--lilac-2), white 40%);
  overflow: hidden;
}

.profile-skills .bar span {
  position: absolute;
  inset: 0;
  width: calc(var(--value, 1) * 100%);
  background: linear-gradient(to right, var(--burgundy), var(--burgundy-2));
}

/* Experiências */

.profile-experiences {
  display: grid;
  gap: 14px;
}

.experience-item header {
  margin-bottom: 6px;
}

.experience-item h3 {
  margin: 4px 0 0;
  font-size: 1.02rem;
}

.pill.pill-soft {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 0;
  background: color-mix(in oklab, var(--burgundy), white 80%);
  color: var(--burgundy-2);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Formações (badges) */

.profile-badges {
  display: grid;
  gap: 10px;
}

.badge-item {
  padding: 10px 12px;
  border-radius: 0;
  background: color-mix(in oklab, var(--lilac), white 80%);
}

/* Idiomas com círculos */

.profile-languages {
  display: grid;
  gap: 12px;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-item .circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 3px solid var(--burgundy);
  color: var(--burgundy-2);
  font-weight: 700;
  font-size: 0.9rem;
  background: #fff;
}

.lang-meta strong {
  display: block;
}

/* Responsivo */

@media (max-width: 860px) {
  .profile-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-meta {
    justify-content: center;
  }
}
