:root {
  --bg: #e5e7eb;
  --text: #162132;
  --text-dark: #132033;
  --accent: #a18742;
  --accent-strong: #a18742;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

@property --card-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: #03060c;
  color: #f8fafc;
  overflow-x: hidden;
  max-width: 100vw;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black 48%, transparent 100%);
  opacity: 0.12;
}

.topbar {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 14px 32px 10px;
  background: rgba(0, 0, 0, 0.82);
}

.topbar-shell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  margin: 0;
}

.brand-logo {
  width: auto;
  height: clamp(62px, 5.6vw, 92px);
  object-fit: contain;
}

main {
  position: relative;
  z-index: 1;
  overflow-x: clip;
}

.hero,
.features,
.showcase,
.site-footer {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 100dvh;
  padding: 8px 20px 88px;
  overflow: hidden;
}

.lead-card,
.feature-card,
.showcase-card,
.showcase-copy,
.policy-card {
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.hero-video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #03060c;
  background-image: url("img-dilson/fundo-dourado.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(3, 6, 12, 0.42) 0%, rgba(3, 6, 12, 0.66) 24%, rgba(3, 6, 12, 0.82) 100%),
    radial-gradient(circle at center, rgba(161, 135, 66, 0.08), rgba(3, 6, 12, 0.24) 40%, rgba(3, 6, 12, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 470px);
  align-items: start;
  gap: 92px;
}

.hero-content-centered {
  grid-template-columns: 1fr;
}

.hero-home-layout {
  grid-template-columns: 1fr;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.hero-copy {
  display: grid;
  gap: 8px;
  justify-items: flex-start;
  text-align: left;
  padding-top: 84px;
}

.hero-copy-centered {
  justify-items: center;
  text-align: center;
  padding-top: 56px;
  gap: 26px;
}

@media (min-width: 821px) {
  .hero-content.hero-home-layout {
    width: min(1120px, 100%);
    min-height: auto;
    justify-items: center;
  }

  .hero-copy-centered {
    justify-items: center;
    text-align: center;
    padding-top: 0;
    max-width: 980px;
  }

  .hero-title-centered,
  .hero-text-centered {
    text-align: center;
  }

  .hero-title-centered {
    max-width: 1040px;
    font-size: clamp(3.3rem, 5.4vw, 5.05rem);
    line-height: 0.98;
  }

  .hero-text-centered {
    max-width: 760px;
    font-size: 1.05rem;
    line-height: 1.5;
  }

  .hero-cta {
    justify-self: center;
  }
}

.card-glow {
  position: relative;
  isolation: isolate;
}

.card-glow::before,
.card-glow::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.card-glow::before {
  padding: 1.5px;
  background: conic-gradient(
    from var(--card-angle),
    transparent 0deg,
    transparent 312deg,
    rgba(161, 135, 66, 0.1) 324deg,
    rgba(161, 135, 66, 0.95) 340deg,
    rgba(255, 245, 222, 1) 350deg,
    rgba(161, 135, 66, 0.9) 357deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.card-glow::after {
  inset: -3px;
  padding: 3px;
  background: conic-gradient(
    from var(--card-angle),
    transparent 0deg,
    transparent 312deg,
    rgba(161, 135, 66, 0.02) 324deg,
    rgba(161, 135, 66, 0.34) 340deg,
    rgba(255, 245, 222, 0.44) 350deg,
    rgba(161, 135, 66, 0.28) 357deg,
    transparent 360deg
  );
  filter: blur(8px);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.card-glow:hover::before,
.card-glow:hover::after,
.card-glow:focus-within::before,
.card-glow:focus-within::after,
.card-glow:active::before,
.card-glow:active::after,
.card-glow.is-active::before,
.card-glow.is-active::after {
  opacity: 1;
  animation: cardOrbit 2.4s linear infinite;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
}

.hero h1,
.hero-title,
.section-heading h2,
.showcase-copy h2,
.lead-card-header h2,
.success-modal-dialog h2,
.policy-card h1 {
  margin: 18px 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 4.7rem);
  line-height: 0.96;
  font-weight: 700;
  color: #132033;
}

.hero-text,
.showcase-copy p,
.lead-card-header p,
.policy-card p {
  color: rgba(22, 33, 50, 0.78);
  font-size: 1.02rem;
  line-height: 1.75;
}

.hero-title {
  max-width: 700px;
  font-family: "Manrope", sans-serif;
  color: #ffffff;
  font-size: clamp(2.9rem, 5vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero-title-centered {
  max-width: 980px;
  font-size: clamp(3.4rem, 6vw, 5.6rem);
}

.hero h1,
.hero .hero-title,
.hero .hero-title-centered {
  color: #ffffff;
}

.hero-text-centered {
  max-width: 760px;
  text-align: center;
}

.selection-details-card__label,
.city-card__badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(194, 161, 75, 0.16);
  color: #f4ddb1;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.selection-details-card strong {
  font-size: clamp(1.24rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.selection-details-card p,
.selection-details-card small {
  margin: 0;
  color: rgba(248, 250, 252, 0.82);
  line-height: 1.6;
}

.hero-text-mobile-break {
  display: none;
}

.hero-cta {
  width: auto !important;
  min-width: 220px;
  max-width: none;
  min-height: 54px;
  padding: 0 26px;
  justify-self: center;
  align-self: center;
  box-shadow:
    0 0 0 1px rgba(255, 236, 184, 0.18),
    0 0 22px rgba(194, 161, 75, 0.34),
    0 0 48px rgba(194, 161, 75, 0.18);
  animation: heroPulse 2.2s ease-in-out infinite;
}

.hero-title span {
  color: #c2a14b;
}

.hero-rotating-name {
  display: inline-block;
  min-width: 18ch;
  vertical-align: baseline;
  white-space: nowrap;
}

.hero-text {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.65;
}

.feature-card h3,
.showcase-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.feature-card p {
  color: rgba(22, 33, 50, 0.7);
  line-height: 1.6;
}

.lead-card {
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  color: var(--text-dark);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.1);
  overflow: hidden;
}

.lead-card-header .eyebrow {
  color: #a18742;
}

.lead-card-header p {
  color: rgba(19, 32, 51, 0.7);
}

.lead-card-header h2 {
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  color: #0c1728;
}

.signup-section {
  width: 100%;
  margin: 0;
  padding: 88px 0 96px;
  background: #e5e7eb;
}

.signup-layout {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 460px) minmax(360px, 460px);
  justify-content: center;
  align-items: stretch;
  gap: 34px;
}

.signup-visual {
  position: relative;
  min-height: 100%;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.signup-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.signup-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 20, 0.1), rgba(7, 12, 20, 0.56));
}

.signup-visual-copy {
  position: absolute;
  left: 34px;
  right: 34px;
  top: 34px;
  z-index: 1;
  display: grid;
  gap: 12px;
  color: #ffffff;
}

.signup-visual-copy h2 {
  margin: 0;
  max-width: 480px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 0.98;
}

.signup-visual-copy p {
  margin: 0;
  max-width: 430px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.signup-form-card {
  width: min(100%, 460px);
  padding: 34px;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow:
    0 24px 56px rgba(15, 23, 42, 0.12),
    inset 1px 1px 0 rgba(255, 255, 255, 0.92),
    inset -1px -1px 0 rgba(226, 232, 240, 0.85);
}

.signup-form-card .lead-card-header h2,
.signup-form-card label,
.signup-form-card .form-status {
  color: #132033;
}

.signup-form-card .lead-card-header .eyebrow {
  color: #a18742;
}

.signup-form-card .lead-card-header h2 {
  font-size: clamp(2.5rem, 3.2vw, 3.25rem);
  line-height: 1;
}

.signup-form-card .lead-card-header p,
.signup-form-card .checkbox {
  color: rgba(19, 32, 51, 0.72);
}

.signup-form-card input,
.signup-form-card select,
.signup-form-card textarea {
  border: 1px solid rgba(19, 32, 51, 0.12);
  color: #132033;
  background: rgba(255, 255, 255, 0.96);
}

.signup-form-card input::placeholder,
.signup-form-card textarea::placeholder {
  color: rgba(19, 32, 51, 0.42);
}

.signup-form-card select option {
  color: #08101b;
}

.signup-form-card .checkbox input {
  border-color: rgba(19, 32, 51, 0.28);
  background: #ffffff;
}

.signup-form-card .form-status {
  color: #0a5f4f;
}

.signup-form-card form {
  gap: 16px;
}

.hero-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

form {
  display: grid;
  gap: 16px;
}

.field,
.field-grid {
  display: grid;
  gap: 10px;
}

.field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  font-size: 0.9rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(19, 32, 51, 0.12);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.96);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(216, 157, 70, 0.86);
  box-shadow: 0 0 0 4px rgba(216, 157, 70, 0.14);
  transform: translateY(-1px);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  color: rgba(19, 32, 51, 0.76);
}

.checkbox input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1.5px solid rgba(19, 32, 51, 0.28);
  border-radius: 50%;
  background: #ffffff;
  display: inline-grid;
  place-content: center;
}

.checkbox input::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 120ms ease;
  background: #a18742;
}

.checkbox input:checked::before {
  transform: scale(1);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #08101b;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(216, 157, 70, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.primary-button:disabled {
  background: #e5e7eb;
  color: rgba(19, 32, 51, 0.45);
  cursor: not-allowed;
  box-shadow: none;
  filter: none;
}

.primary-button.is-ready {
  box-shadow:
    0 18px 34px rgba(216, 157, 70, 0.28),
    0 0 0 6px rgba(161, 135, 66, 0.12),
    0 0 24px rgba(161, 135, 66, 0.26);
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(216, 157, 70, 0.32);
  filter: brightness(1.04);
}

.primary-button:disabled:hover,
.primary-button:disabled:focus-visible {
  transform: none;
  box-shadow: none;
  filter: none;
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.92rem;
}

.form-note {
  color: rgba(19, 32, 51, 0.58);
}

.form-status {
  min-height: 1.2em;
  color: #0a5f4f;
}

.mentor-section,
.showcase {
  padding: 44px 0 72px;
}

.mentor-shell,
.showcase {
  display: grid;
  gap: 24px;
}

.mentor-section {
  position: relative;
  width: min(100%, 100%);
  margin: 0;
  padding: 72px 0;
  overflow: hidden;
  background: url("img-dilson/fundo-dilson.png") center/cover no-repeat;
}

.mentor-section::before {
  content: none;
}

.mentor-shell {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 430px);
  grid-template-areas:
    "intro visual"
    "details visual";
  align-items: stretch;
  gap: 48px;
}

.mentor-intro,
.mentor-details {
  display: grid;
}

.mentor-intro {
  grid-area: intro;
  gap: 22px;
}

.mentor-details {
  grid-area: details;
  align-content: space-between;
  gap: 28px;
}

.section-cta-block {
  display: grid;
  gap: 18px;
  max-width: 520px;
}

.section-cta-block p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(17, 17, 17, 0.78);
}

.section-cta-block-centered {
  justify-items: center;
  margin: 8px auto 0;
  text-align: center;
}

.section-cta-block-centered p {
  color: rgba(248, 250, 252, 0.88);
}

.section-cta-button {
  width: fit-content;
  min-width: 320px;
}

.mentor-intro h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.45rem, 4vw, 3.55rem);
  line-height: 0.98;
  font-weight: 800;
  max-width: 680px;
  color: #111111;
}

.mentor-intro h2 span {
  color: var(--accent);
}

.mentor-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 300px;
  max-width: 100%;
  padding: 11px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 17, 17, 0.12);
  color: #111111;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.mentor-text {
  display: grid;
  gap: 22px;
  max-width: 660px;
  color: rgba(17, 17, 17, 0.82);
}

.mentor-text h3 {
  margin: 0;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.05;
  color: #111111;
}

.mentor-text p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
}

.mentor-marquee-label {
  font-size: 1rem;
  color: rgba(17, 17, 17, 0.74);
}

.mentor-marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0 0;
}

.mentor-marquee::before,
.mentor-marquee::after {
  content: none;
}

.mentor-marquee-track {
  display: flex;
  align-items: center;
  gap: 38px;
  flex: 0 0 auto;
  width: max-content;
  padding-right: 38px;
}

.mentor-marquee-motion {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: mentorMarquee 28s linear infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.mentor-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 138px;
  height: 70px;
  background: transparent;
  isolation: isolate;
}

.mentor-logo img {
  max-width: 154px;
  max-height: 62px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.92;
  mix-blend-mode: normal;
}

.mentor-visual {
  grid-area: visual;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.mentor-photo-card {
  position: relative;
  width: min(100%, 430px);
  height: 100%;
  min-height: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 26px 58px rgba(17, 17, 17, 0.12);
}

.mentor-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.mentor-stats {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mentor-stat {
  padding: 22px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.9));
  color: #111111;
  backdrop-filter: blur(10px);
}

.mentor-stat + .mentor-stat {
  border-left: 1px solid rgba(17, 17, 17, 0.08);
}

.mentor-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1;
  white-space: nowrap;
}

.mentor-stat:last-child strong {
  font-size: clamp(1.55rem, 2.55vw, 2.05rem);
  letter-spacing: -0.03em;
}

.mentor-stat span {
  display: block;
  font-size: 1rem;
  color: rgba(17, 17, 17, 0.72);
}

.models-section {
  position: relative;
  padding: 46px 0 88px;
  background: #03060c;
  overflow: hidden;
}

.models-copy {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto 34px;
  text-align: center;
  display: grid;
  gap: 18px;
}

.models-copy h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--accent);
}

.models-copy p {
  margin: 0;
  font-size: clamp(1rem, 1.55vw, 1.28rem);
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.94);
}

.models-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.models-marquee::-webkit-scrollbar {
  display: none;
}

.models-marquee-motion {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: max-content;
}

.models-marquee-track {
  display: flex;
  align-items: stretch;
  gap: 22px;
  flex: 0 0 auto;
  width: max-content;
  padding-right: 22px;
}

.models-card {
  flex: 0 0 430px;
  border-radius: 30px;
  overflow: hidden;
  background: #10151f;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.3);
}

.models-card img {
  display: block;
  width: 100%;
  height: auto;
}

.cities-section {
  width: 100%;
  padding: 24px 0 92px;
  background: #03060c;
}

.cities-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 36px;
}

.cities-visual {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 26px 64px rgba(0, 0, 0, 0.3);
}

.cities-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cities-copy {
  display: grid;
  gap: 18px;
}

.cities-copy .eyebrow {
  color: var(--accent);
}

.cities-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.02;
}

.cities-copy p {
  margin: 0;
  color: rgba(248, 250, 252, 0.84);
  font-size: 1.05rem;
  line-height: 1.7;
}

.cities-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.city-card {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(11, 17, 26, 0.42), rgba(18, 26, 38, 0.58));
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.2),
    inset 1px 1px 0 rgba(255, 255, 255, 0.04);
}

.city-card::before,
.city-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.city-card::before {
  padding: 1.5px;
  background: conic-gradient(
    from var(--card-angle),
    transparent 0deg,
    transparent 312deg,
    rgba(161, 135, 66, 0.08) 324deg,
    rgba(161, 135, 66, 0.95) 340deg,
    rgba(255, 245, 222, 1) 350deg,
    rgba(161, 135, 66, 0.88) 357deg,
    transparent 360deg
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.city-card::after {
  inset: -3px;
  padding: 3px;
  background: conic-gradient(
    from var(--card-angle),
    transparent 0deg,
    transparent 312deg,
    rgba(161, 135, 66, 0.02) 324deg,
    rgba(161, 135, 66, 0.34) 340deg,
    rgba(255, 245, 222, 0.44) 350deg,
    rgba(161, 135, 66, 0.28) 357deg,
    transparent 360deg
  );
  filter: blur(8px);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.city-card:hover::before,
.city-card:hover::after,
.city-card:focus-within::before,
.city-card:focus-within::after,
.city-card:active::before,
.city-card:active::after,
.city-card.is-active::before,
.city-card.is-active::after {
  opacity: 1;
  animation: cardOrbit 2.4s linear infinite;
}

.city-card__head {
  display: grid;
  gap: 8px;
}

.city-card strong {
  font-size: 1.02rem;
  line-height: 1.3;
  color: #ffffff;
}

.city-card p,
.city-card small {
  margin: 0;
  color: rgba(248, 250, 252, 0.82);
  line-height: 1.45;
}

.city-card p {
  font-size: 0.92rem;
}

.city-card small {
  font-size: 0.82rem;
}

.selection-details-card {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(11, 17, 26, 0.92), rgba(18, 26, 38, 0.96));
  border: 1px solid rgba(194, 161, 75, 0.18);
  color: #ffffff;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
}

.legacy-section {
  position: relative;
  padding: 72px 0 78px;
  background: linear-gradient(180deg, #04070d 0%, #03060c 100%);
  overflow: hidden;
}

.legacy-shell {
  width: min(1360px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 26px;
}

.legacy-copy {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 16px;
}

.legacy-copy h2 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--accent);
}

.legacy-copy p {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.94);
}

.legacy-carousel {
  position: relative;
  overflow: hidden;
  padding: 16px 0 8px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.22) 4%,
    rgba(0, 0, 0, 0.68) 9%,
    #000 15%,
    #000 85%,
    rgba(0, 0, 0, 0.68) 91%,
    rgba(0, 0, 0, 0.22) 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.22) 4%,
    rgba(0, 0, 0, 0.68) 9%,
    #000 15%,
    #000 85%,
    rgba(0, 0, 0, 0.68) 91%,
    rgba(0, 0, 0, 0.22) 96%,
    transparent 100%
  );
}

.legacy-carousel-motion {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: max-content;
  animation: legacyMarquee 28s linear infinite;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.legacy-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  flex: 0 0 auto;
  width: max-content;
  padding-right: 24px;
}

.legacy-card {
  position: relative;
  flex: 0 0 360px;
  border-radius: 30px;
  overflow: hidden;
  background: #131313;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.legacy-card img {
  width: 100%;
  height: auto;
  display: block;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.section-heading h2,
.showcase-copy h2 {
  font-size: clamp(2.7rem, 5vw, 4.4rem);
}

.feature-card,
.showcase-copy,
.showcase-card {
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(11, 17, 26, 0.92), rgba(18, 26, 38, 0.96));
  padding: 24px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    inset 1px 1px 0 rgba(255, 255, 255, 0.08),
    inset -1px -1px 0 rgba(194, 161, 75, 0.08);
}

.showcase {
  position: relative;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  align-items: stretch;
  padding-top: 18px;
  padding-bottom: 84px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.15fr) minmax(220px, 0.85fr);
  grid-template-rows: minmax(205px, 1fr) minmax(205px, 1fr);
  gap: 20px;
}

.showcase-copy {
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.12);
}

.showcase-copy p {
  color: rgba(248, 250, 252, 0.78);
}

.showcase-card {
  border-color: rgba(255, 255, 255, 0.12);
}

.showcase-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.showcase-card span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.showcase-card strong {
  color: #ffffff;
}

.card-moodboard {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 100%;
  background-image:
    linear-gradient(180deg, rgba(9, 17, 29, 0.14), rgba(9, 17, 29, 0.82)),
    linear-gradient(130deg, rgba(248, 242, 230, 0.92), rgba(134, 144, 156, 0.24)),
    url("img/card2.webp"),
    url("img/cap%203.png");
}

.card-casting {
  grid-column: 2;
  grid-row: 1;
  background-image:
    linear-gradient(180deg, rgba(9, 17, 29, 0.12), rgba(9, 17, 29, 0.78)),
    linear-gradient(130deg, rgba(170, 182, 198, 0.42), rgba(19, 32, 51, 0.62)),
    url("img/card1.webp"),
    url("img/cap%204.png");
}

.card-backstage {
  grid-column: 2;
  grid-row: 2;
  min-height: 205px;
  background-image:
    linear-gradient(180deg, rgba(9, 17, 29, 0.1), rgba(9, 17, 29, 0.86)),
    linear-gradient(130deg, rgba(13, 22, 34, 0.4), rgba(161, 135, 66, 0.16)),
    url("img/card3.webp"),
    url("img/cap%201.png");
}

.site-footer {
  margin-top: 0;
  padding: 56px 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: linear-gradient(180deg, #03060c 0%, #000000 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  text-align: center;
  width: 100%;
}

.site-footer p {
  margin: 0;
}

.site-footer-inner {
  width: min(1280px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.footer-brand,
.footer-contact,
.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
  width: 100%;
}

.footer-brand img {
  width: min(180px, 52vw);
  height: auto;
  object-fit: contain;
}

.footer-contact {
  gap: 10px;
  font-size: 1rem;
  line-height: 1.55;
  max-width: 420px;
}

.footer-fivecoin {
  width: min(140px, 48vw);
  height: auto;
  margin-top: 8px;
  object-fit: contain;
}

.footer-contact strong,
.footer-social strong {
  font-size: 1.15rem;
  font-weight: 800;
}

.footer-social {
  gap: 22px;
  max-width: 320px;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: transform 180ms ease, color 180ms ease;
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
  color: #a18742;
  transform: translateY(-2px);
}

.footer-social-links svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-links .fill-icon {
  fill: currentColor;
  stroke: none;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  width: 100%;
  max-width: 520px;
  padding-top: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.policy-card a {
  color: rgba(22, 33, 50, 0.78);
  text-decoration: none;
}

.footer-links a:hover,
.policy-card a:hover {
  text-decoration: underline;
}

.policy-page {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.policy-card {
  border-radius: 28px;
  padding: 32px;
  background: linear-gradient(145deg, #f7f9fb, #e0e6ed);
  box-shadow:
    0 18px 40px rgba(15, 23, 42, 0.08),
    inset 1px 1px 0 rgba(255, 255, 255, 0.92),
    inset -1px -1px 0 rgba(203, 213, 225, 0.66);
}

.policy-updated {
  margin-top: -2px;
  color: rgba(22, 33, 50, 0.62);
  font-size: 0.95rem;
}

.policy-section {
  margin-top: 30px;
}

.policy-section h2 {
  margin: 0 0 12px;
  color: #132033;
  font-family: "Manrope", sans-serif;
  font-size: 1.2rem;
  line-height: 1.4;
}

.policy-section h3 {
  margin: 18px 0 10px;
  color: #132033;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

.policy-section ul {
  margin: 0;
  padding-left: 22px;
  color: rgba(22, 33, 50, 0.78);
}

.policy-section li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.policy-contact-list {
  margin-top: 12px;
}

.policy-back-link {
  margin-top: 34px;
}

.success-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
  overflow: hidden;
}

.success-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.success-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 10, 0.72);
  backdrop-filter: blur(12px);
}

.success-modal-dialog {
  position: relative;
  width: min(560px, 100%);
  padding: 32px;
  border-radius: 28px;
  background: #ffffff;
  color: #132033;
  border: 1px solid rgba(203, 213, 225, 0.8);
  box-shadow: 0 32px 72px rgba(15, 23, 42, 0.18);
}

.success-modal-dialog::before,
.success-modal-dialog::after {
  opacity: 1;
  animation: cardOrbit 1.4s linear infinite;
}

.success-modal-dialog::before {
  padding: 2px;
  background: conic-gradient(
    from var(--card-angle),
    transparent 0deg,
    transparent 300deg,
    rgba(161, 135, 66, 0.18) 320deg,
    rgba(161, 135, 66, 1) 338deg,
    rgba(255, 245, 222, 1) 349deg,
    rgba(161, 135, 66, 0.96) 356deg,
    transparent 360deg
  );
}

.success-modal-dialog::after {
  inset: -4px;
  padding: 4px;
  background: conic-gradient(
    from var(--card-angle),
    transparent 0deg,
    transparent 300deg,
    rgba(161, 135, 66, 0.04) 320deg,
    rgba(161, 135, 66, 0.45) 338deg,
    rgba(255, 245, 222, 0.6) 349deg,
    rgba(161, 135, 66, 0.4) 356deg,
    transparent 360deg
  );
  filter: blur(10px);
}

.success-modal-dialog p {
  color: rgba(19, 32, 51, 0.82);
  line-height: 1.75;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(19, 32, 51, 0.08);
  color: #132033;
  font-size: 1.5rem;
  cursor: pointer;
}

.whatsapp-button {
  margin-top: 14px;
}

@media (max-width: 1120px) {
  .hero-content,
  .signup-layout,
  .showcase {
    grid-template-columns: 1fr;
  }

  .mentor-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "visual"
      "details";
    gap: 34px;
  }
}

@media (max-width: 820px) {
  .hero-content,
  .showcase-grid,
  .field-grid,
  .hero-form-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-rows: none;
  }

  .card-moodboard,
  .card-casting,
  .card-backstage {
    grid-column: auto;
    grid-row: auto;
    min-height: 220px;
  }

  .brand {
    display: none;
  }

  .hero,
  .mentor-shell {
    width: min(100% - 24px, 1120px);
    gap: 28px;
  }

  .hero {
    width: 100%;
  }

  .hero-content {
    width: min(100%, 620px);
    gap: 26px;
  }

  .hero-home-layout {
    grid-template-columns: 1fr;
  }

  .signup-layout {
    width: min(100% - 24px, 620px);
    justify-content: stretch;
    gap: 22px;
  }

  .showcase,
  .policy-page {
    width: min(100% - 24px, 1280px);
  }

  .mentor-section {
    padding: 54px 0 60px;
    background: url("img-dilson/fundo-dilson.png") center/cover no-repeat;
  }

  .mentor-section::before {
    content: none;
  }

  .mentor-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "visual"
      "details";
    gap: 22px;
  }

  .mentor-intro {
    gap: 18px;
  }

  .mentor-intro h2 {
    max-width: none;
    text-align: center;
    font-size: clamp(1.95rem, 6.8vw, 2.6rem);
    line-height: 1.08;
  }

  .mentor-pill {
    width: 100%;
    min-height: 52px;
    padding: 12px 18px;
    justify-content: center;
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
  }

  .mentor-details {
    gap: 26px;
  }

  .mentor-photo-card,
  .mentor-photo-card img {
    min-height: 0;
    height: auto;
  }

  .mentor-photo-card {
    width: 100%;
    max-width: none;
  }

  .mentor-photo-card img {
    aspect-ratio: 0.78;
  }

  .mentor-stats {
    position: absolute;
  }

  .mentor-stat {
    padding: 24px 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.88));
  }

  .mentor-stat strong {
    font-size: clamp(1.7rem, 6vw, 2.15rem);
  }

  .mentor-stat:last-child strong {
    font-size: clamp(1.45rem, 5vw, 1.82rem);
  }

  .mentor-text {
    gap: 24px;
  }

  .mentor-text h3 {
    font-size: clamp(1.9rem, 6.6vw, 2.4rem);
  }

  .mentor-text p,
  .mentor-marquee-label {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .mentor-marquee-label {
    margin-top: 6px;
  }

  .mentor-marquee {
    margin-top: 4px;
    padding-top: 4px;
  }

  .mentor-logo {
    min-width: 160px;
    height: 80px;
  }

  .mentor-logo img {
    max-width: 170px;
    max-height: 68px;
  }

  .mentor-marquee-track {
    gap: 34px;
    padding-right: 34px;
  }

  .mentor-marquee-motion {
    gap: 0;
  }

  .legacy-section {
    padding: 64px 0 72px;
  }

  .models-section {
    padding: 34px 0 64px;
  }

  .models-copy {
    width: min(100% - 28px, 760px);
    margin-bottom: 24px;
    gap: 14px;
  }

  .models-copy h2 {
    font-size: clamp(1.9rem, 8vw, 3rem);
    line-height: 1.12;
  }

  .models-copy p {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .models-marquee-track {
    gap: 16px;
    padding-right: 16px;
  }

  .models-card {
    flex: 0 0 min(84vw, 360px);
    border-radius: 24px;
  }

  .cities-section {
    padding: 10px 0 68px;
  }

  .cities-layout {
    width: min(100% - 28px, 1180px);
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .cities-visual {
    border-radius: 24px;
  }

  .cities-copy {
    gap: 14px;
  }

  .cities-copy h2 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.08;
  }

  .cities-copy p,
  .section-cta-block p {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .cities-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .city-card {
    width: 100%;
    padding: 16px 18px;
    font-size: 0.98rem;
  }

  .section-cta-button {
    width: 100%;
    min-width: 0;
  }

  .legacy-copy {
    width: min(100% - 32px, 760px);
    gap: 14px;
  }

  .legacy-copy h2 {
    font-size: clamp(1.8rem, 7vw, 2.7rem);
    line-height: 1.14;
  }

  .legacy-copy p {
    font-size: 0.98rem;
    line-height: 1.42;
  }

  .legacy-carousel {
    overflow: hidden;
    padding: 16px 0 8px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .legacy-carousel-motion {
    gap: 0;
    width: max-content;
    animation: none;
    transform: translate3d(0, 0, 0);
  }

  .legacy-carousel-track {
    gap: 24px;
    padding-right: 24px;
  }

  .legacy-carousel-track[aria-hidden="true"] {
    display: flex;
  }

  .legacy-card {
    flex: 0 0 min(84vw, 360px);
    border-radius: 30px;
  }

  .lead-card,
  .showcase-card,
  .showcase-copy,
  .policy-card {
    border-radius: 22px;
  }

  .brand-logo {
    height: 74px;
    max-width: 340px;
  }

  .topbar {
    padding: 14px 20px 8px;
  }

  .hero {
    min-height: 100dvh;
    padding: 12px 24px 84px;
  }

  .hero-copy {
    justify-items: center;
    text-align: center;
    padding-top: 0;
  }

  .hero-title {
    font-size: clamp(2.8rem, 12vw, 4.5rem);
    line-height: 1.06;
  }

  .hero-rotating-name {
    min-width: 0;
    display: block;
    min-height: 1.15em;
    white-space: normal;
  }

  .hero-title-centered {
    font-size: clamp(2.8rem, 12vw, 4.5rem);
  }

  .hero-text-centered {
    max-width: 44ch;
    font-size: 0.82rem;
    line-height: 1.32;
  }

  .hero-text-mobile-break {
    display: block;
  }

  .hero-cta {
    width: fit-content;
    min-width: 240px;
    max-width: calc(100vw - 48px);
    padding: 0 24px;
  }

  .signup-section {
    padding: 28px 0 64px;
  }

  .signup-visual {
    order: 2;
    min-height: 340px;
    border-radius: 24px;
  }

  .signup-visual img {
    min-height: 340px;
  }

  .signup-visual-copy {
    top: auto;
    bottom: 24px;
    left: 24px;
    right: 24px;
    gap: 10px;
  }

  .signup-visual-copy h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .signup-visual-copy p {
    font-size: 0.98rem;
    line-height: 1.45;
  }

  .signup-form-card {
    order: 1;
    width: 100%;
    padding: 24px;
    height: auto;
  }

  .checkbox {
    gap: 10px;
  }

  .checkbox input {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
    margin-top: 3px;
  }

  .checkbox input::before {
    width: 8px;
    height: 8px;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-links {
    flex-direction: row;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@keyframes cardOrbit {
  to {
    --card-angle: 360deg;
  }
}

@keyframes heroPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 236, 184, 0.18),
      0 0 22px rgba(194, 161, 75, 0.34),
      0 0 48px rgba(194, 161, 75, 0.18);
    filter: brightness(1);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(255, 236, 184, 0.24),
      0 0 30px rgba(194, 161, 75, 0.44),
      0 0 62px rgba(194, 161, 75, 0.24);
    filter: brightness(1.04);
  }
}

@keyframes mentorMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-1 * var(--marquee-loop-distance, 50%)), 0, 0);
  }
}

@keyframes legacyMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-1 * var(--marquee-loop-distance, 50%)), 0, 0);
  }
}

@keyframes modelsMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(calc(-1 * var(--marquee-loop-distance, 50%)), 0, 0);
  }
}
.site-chat {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.site-chat-toggle {
  display: inline-grid;
  place-items: center;
  border: 0;
  width: 76px;
  height: 76px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #d8ba68, #8e6a26);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.32),
    0 0 0 4px rgba(216, 186, 104, 0.18);
  cursor: pointer;
  overflow: hidden;
}

.site-chat-toggle-avatar {
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.site-chat.is-open .site-chat-toggle {
  display: none;
}

.site-chat-panel {
  width: min(380px, calc(100vw - 24px));
  max-height: min(620px, calc(100vh - 110px));
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  overflow: hidden;
  border: 1px solid rgba(199, 167, 87, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(199, 167, 87, 0.16), transparent 34%),
    rgba(8, 16, 27, 0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.site-chat-panel[hidden] {
  display: none !important;
}

.site-chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-chat-header strong {
  display: block;
  color: #fff;
  font-size: 1rem;
}

.site-chat-header p {
  margin: 6px 0 0;
  color: rgba(248, 250, 252, 0.7);
  font-size: 0.92rem;
  line-height: 1.45;
}

.site-chat-close {
  border: 0;
  background: transparent;
  color: rgba(248, 250, 252, 0.78);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.site-chat-messages {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  overflow-y: auto;
}

.site-chat-message {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 0.95rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.site-chat-message--bot {
  justify-self: start;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border-top-left-radius: 8px;
}

.site-chat-message--user {
  justify-self: end;
  background: linear-gradient(135deg, rgba(199, 167, 87, 0.98), rgba(142, 106, 38, 0.92));
  color: #08101b;
  border-top-right-radius: 8px;
}

.site-chat-message--typing {
  color: rgba(248, 250, 252, 0.7);
  font-style: italic;
}

.site-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-chat-form textarea {
  width: 100%;
  min-height: 48px;
  max-height: 120px;
  padding: 12px 14px;
  border: 1px solid rgba(199, 167, 87, 0.26);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  resize: none;
  font: inherit;
}

.site-chat-form textarea::placeholder {
  color: rgba(248, 250, 252, 0.4);
}

.site-chat-form button {
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  background: #f8fafc;
  color: #08101b;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.site-chat-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .site-chat {
    right: 12px;
    bottom: 12px;
    left: 12px;
    align-items: stretch;
  }

  .site-chat-toggle {
    align-self: flex-end;
  }

  .site-chat-panel {
    width: 100%;
    max-height: min(72vh, 560px);
  }

  .site-chat-form {
    grid-template-columns: 1fr;
  }

  .site-chat-form button {
    min-height: 48px;
  }
}
