:root {
  --ypc-bg: #090607;
  --ypc-bg-soft: #140708;
  --ypc-marsala: #6f0f13;
  --ypc-marsala-deep: #3d090b;
  --ypc-gold: #e5c98f;
  --ypc-gold-strong: #f1d37d;
  --ypc-gold-soft: rgba(229, 201, 143, 0.16);
  --ypc-white: #fff8ec;
  --ypc-muted: rgba(255, 248, 236, 0.72);
  --ypc-muted-strong: rgba(255, 248, 236, 0.88);
  --ypc-border: rgba(229, 201, 143, 0.18);
  --ypc-card: rgba(255, 255, 255, 0.055);
  --ypc-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --ypc-radius: 26px;
  --ypc-max: 1160px;
}

html {
  scroll-behavior: smooth;
}

body.ypc-body {
  margin: 0;
  background: var(--ypc-bg);
}

body.ypc-body #wpadminbar {
  position: fixed;
}

.ypc-page,
.ypc-page * {
  box-sizing: border-box;
}

.ypc-page {
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 6%, rgba(229, 201, 143, 0.16), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(111, 15, 19, 0.48), transparent 36%),
    linear-gradient(180deg, #090607 0%, #140708 48%, #070506 100%);
  color: var(--ypc-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

.ypc-page a {
  color: inherit;
}

.ypc-container {
  width: min(var(--ypc-max), calc(100% - 40px));
  margin: 0 auto;
}

.ypc-hero {
  position: relative;
  min-height: 100svh;
  padding: 14px 0 54px;
  display: flex;
  flex-direction: column;
}

.ypc-bg-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(42px);
  opacity: 0.7;
}

.ypc-bg-orb-one {
  width: 360px;
  height: 360px;
  top: 90px;
  left: -110px;
  background: rgba(111, 15, 19, 0.82);
}

.ypc-bg-orb-two {
  width: 440px;
  height: 440px;
  right: -170px;
  bottom: 40px;
  background: rgba(229, 201, 143, 0.16);
}

.ypc-hero-watermark {
  position: absolute;
  right: -36px;
  top: 118px;
  width: min(560px, 48vw);
  opacity: 0.035;
  pointer-events: none;
  transform: rotate(-8deg);
}

.ypc-countdown-bar {
  position: relative;
  z-index: 3;
  width: min(var(--ypc-max), calc(100% - 40px));
  margin: 0 auto 12px;
  border: 1px solid rgba(229, 201, 143, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 8% 50%, rgba(229, 201, 143, 0.18), transparent 28%),
    rgba(9, 6, 7, 0.74);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.ypc-countdown-bar-inner {
  min-height: 48px;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ypc-countdown-label,
.ypc-countdown-date {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.ypc-countdown-label {
  color: var(--ypc-gold-strong);
  font-size: 0.74rem;
}

.ypc-countdown-date {
  color: var(--ypc-muted-strong);
  font-size: 0.72rem;
}

.ypc-countdown-mini {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ypc-countdown-mini span {
  min-width: 78px;
  padding: 7px 10px;
  border: 1px solid rgba(229, 201, 143, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ypc-muted);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.ypc-countdown-mini strong {
  margin-right: 3px;
  color: var(--ypc-gold-strong);
  font-size: 0.86rem;
}

.ypc-topbar {
  position: relative;
  z-index: 2;
  width: min(var(--ypc-max), calc(100% - 40px));
  margin: 0 auto;
  padding: 6px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ypc-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.ypc-brand img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.ypc-top-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid var(--ypc-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--ypc-white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.ypc-top-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 201, 143, 0.46);
  background: rgba(229, 201, 143, 0.1);
}

.ypc-hero-grid {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: 46px;
}

.ypc-hero-copy {
  max-width: 730px;
}

.ypc-kicker,
.ypc-eyebrow {
  margin: 0 0 14px;
  color: var(--ypc-gold-strong);
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ypc-hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--ypc-white);
  font-size: clamp(2.35rem, 4.45vw, 4.08rem);
  line-height: 1;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.ypc-hero h1 span,
.ypc-gold-text {
  color: var(--ypc-gold-strong);
}

.ypc-subtitle {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--ypc-muted-strong);
  font-size: clamp(1.18rem, 1.65vw, 1.42rem);
  line-height: 1.46;
}

.ypc-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.ypc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 26px;
  border: 0;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.ypc-button-primary {
  background: linear-gradient(135deg, #f2d78b 0%, #d4a84f 48%, #fff2b9 100%);
  color: #210d06 !important;
  box-shadow: 0 16px 48px rgba(229, 201, 143, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.ypc-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow: 0 20px 60px rgba(229, 201, 143, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.ypc-event-line {
  margin: 0;
  color: var(--ypc-muted);
  font-size: 0.98rem;
}

.ypc-hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
}

.ypc-hero-visual::before {
  content: "";
  position: absolute;
  inset: 44px 28px 20px;
  z-index: -2;
  border: 1px solid rgba(229, 201, 143, 0.16);
  border-radius: 46% 46% 36px 36px;
  background:
    radial-gradient(circle at 50% 18%, rgba(229, 201, 143, 0.20), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(111, 15, 19, 0.24) 58%, rgba(8, 5, 6, 0.2));
  box-shadow: var(--ypc-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.ypc-portrait-glow {
  position: absolute;
  z-index: -3;
  width: 380px;
  height: 380px;
  right: 0;
  bottom: 28px;
  border-radius: 999px;
  background: rgba(111, 15, 19, 0.82);
  filter: blur(56px);
}

.ypc-portrait-frame {
  position: relative;
  width: min(100%, 410px);
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
}

.ypc-portrait-frame::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 0;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 6, 7, 0.28) 48%, rgba(9, 6, 7, 0.9) 100%);
}

.ypc-portrait-frame img {
  width: min(100%, 410px);
  max-height: 540px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 28px 52px rgba(0, 0, 0, 0.48));
}

.ypc-authority-badge {
  position: absolute;
  right: 4px;
  bottom: 78px;
  z-index: 2;
  min-width: 118px;
  padding: 13px 16px;
  border: 1px solid rgba(229, 201, 143, 0.26);
  border-radius: 18px;
  background: rgba(12, 8, 9, 0.78);
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(14px);
  text-align: center;
}

.ypc-authority-badge span {
  display: block;
  color: var(--ypc-muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ypc-authority-badge strong {
  display: block;
  margin-top: 2px;
  color: var(--ypc-gold-strong);
  font-size: 1.22rem;
  line-height: 1;
}

.ypc-section {
  padding: 100px 0;
}

.ypc-opportunity {
  border-top: 1px solid rgba(229, 201, 143, 0.12);
  border-bottom: 1px solid rgba(229, 201, 143, 0.12);
  background:
    linear-gradient(90deg, rgba(111, 15, 19, 0.26), transparent 34%),
    rgba(255, 255, 255, 0.015);
}

.ypc-two-columns {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 72px;
  align-items: start;
}

.ypc-section-heading h2,
.ypc-centered-heading h2,
.ypc-final h2 {
  margin: 0;
  color: var(--ypc-white);
  font-size: clamp(2.15rem, 4.2vw, 4.1rem);
  line-height: 1;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.ypc-text-stack {
  display: grid;
  gap: 20px;
}

.ypc-text-stack p,
.ypc-final-card p,
.ypc-info-card p {
  margin: 0;
  color: var(--ypc-muted-strong);
  font-size: 1.08rem;
}

.ypc-text-stack .ypc-gold-text {
  font-weight: 850;
}

.ypc-centered-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.ypc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ypc-info-card {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--ypc-border);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.ypc-info-card span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(229, 201, 143, 0.28);
  border-radius: 999px;
  background: var(--ypc-gold-soft);
  color: var(--ypc-gold-strong);
  font-weight: 900;
}

.ypc-info-card h3 {
  margin: 48px 0 14px;
  color: var(--ypc-white);
  font-size: 1.42rem;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.ypc-final {
  padding: 54px 0 84px;
}

.ypc-final-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 42px;
  padding: 48px;
  border: 1px solid rgba(229, 201, 143, 0.22);
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(229, 201, 143, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(111, 15, 19, 0.72), rgba(24, 7, 8, 0.92));
  box-shadow: var(--ypc-shadow);
}

.ypc-final-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 45%);
}

.ypc-final-card > * {
  position: relative;
  z-index: 1;
}

.ypc-final-date {
  margin-top: 22px !important;
  color: var(--ypc-gold-strong) !important;
  font-weight: 800;
}

.ypc-final-card p:not(.ypc-eyebrow):not(.ypc-final-date) {
  max-width: 740px;
  margin-top: 14px;
}

.ypc-note {
  color: var(--ypc-white) !important;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .ypc-hero h1 {
    font-size: clamp(2.25rem, 4.25vw, 3.82rem);
  }

  .ypc-subtitle {
    font-size: clamp(1.14rem, 1.62vw, 1.34rem);
  }

  .ypc-portrait-frame img {
    max-height: 500px;
  }
}

@media (max-width: 980px) {
  .ypc-hero {
    min-height: auto;
    padding-bottom: 64px;
  }

  .ypc-hero-grid,
  .ypc-two-columns,
  .ypc-final-card {
    grid-template-columns: 1fr;
  }

  .ypc-hero-grid {
    gap: 34px;
  }

  .ypc-hero h1 {
    max-width: 860px;
    font-size: clamp(2.42rem, 7.1vw, 3.95rem);
  }

  .ypc-subtitle {
    max-width: 800px;
    font-size: clamp(1.15rem, 2.35vw, 1.38rem);
  }

  .ypc-hero-visual {
    min-height: 480px;
  }

  .ypc-portrait-frame img {
    max-height: 500px;
  }

  .ypc-cards {
    grid-template-columns: 1fr;
  }

  .ypc-info-card {
    min-height: auto;
  }

  .ypc-info-card h3 {
    margin-top: 32px;
  }

  .ypc-final-card {
    align-items: start;
  }

  .ypc-final-card .ypc-button {
    width: max-content;
  }
}

@media (max-width: 820px) {
  .ypc-hero {
    padding-top: 10px;
    padding-bottom: 58px;
  }

  .ypc-countdown-bar-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 14px;
    gap: 9px 14px;
  }

  .ypc-countdown-date {
    display: none;
  }

  .ypc-hero-grid {
    gap: 30px;
  }

  .ypc-topbar {
    padding-bottom: 22px;
  }

  .ypc-hero h1 {
    font-size: clamp(2.25rem, 8.4vw, 3.55rem);
    line-height: 1;
  }

  .ypc-subtitle {
    margin-top: 18px;
    font-size: clamp(1.1rem, 2.9vw, 1.3rem);
  }

  .ypc-actions {
    margin-top: 26px;
  }

  .ypc-hero-visual {
    min-height: 430px;
  }

  .ypc-portrait-frame {
    min-height: 430px;
  }

  .ypc-portrait-frame img {
    max-height: 455px;
  }
}

@media (max-height: 760px) and (min-width: 981px) {
  .ypc-hero {
    min-height: auto;
    padding-bottom: 44px;
  }

  .ypc-countdown-bar-inner {
    min-height: 44px;
  }

  .ypc-topbar {
    padding-bottom: 12px;
  }

  .ypc-brand img {
    width: 62px;
    height: 62px;
  }

  .ypc-hero h1 {
    font-size: clamp(2.18rem, 4vw, 3.68rem);
  }

  .ypc-subtitle {
    margin-top: 16px;
    font-size: clamp(1.08rem, 1.52vw, 1.28rem);
  }

  .ypc-actions {
    margin-top: 22px;
  }

  .ypc-hero-visual {
    min-height: 430px;
  }

  .ypc-portrait-frame {
    min-height: 430px;
  }

  .ypc-portrait-frame img {
    max-height: 462px;
  }
}

@media (max-width: 680px) {
  .ypc-container,
  .ypc-topbar,
  .ypc-countdown-bar {
    width: min(100% - 28px, var(--ypc-max));
  }

  .ypc-hero {
    padding-top: 8px;
    padding-bottom: 50px;
  }

  .ypc-countdown-bar {
    border-radius: 24px;
  }

  .ypc-countdown-mini {
    width: 100%;
    justify-content: center;
    gap: 6px;
  }

  .ypc-countdown-mini span {
    min-width: 0;
    flex: 1;
    padding: 7px 7px;
    font-size: 0.62rem;
  }

  .ypc-topbar {
    padding-bottom: 20px;
  }

  .ypc-brand img {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .ypc-top-cta {
    min-height: 38px;
    padding: 9px 13px;
    font-size: 0.68rem;
  }

  .ypc-kicker,
  .ypc-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .ypc-hero h1 {
    font-size: clamp(2.02rem, 9.8vw, 2.95rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
  }

  .ypc-subtitle {
    font-size: 1.08rem;
    line-height: 1.48;
  }

  .ypc-text-stack p,
  .ypc-final-card p,
  .ypc-info-card p {
    font-size: 1rem;
  }

  .ypc-button {
    width: 100%;
    min-height: 56px;
    padding: 16px 20px;
    font-size: 0.82rem;
    text-align: center;
  }

  .ypc-event-line {
    font-size: 0.92rem;
  }

  .ypc-hero-visual {
    min-height: 390px;
  }

  .ypc-hero-visual::before {
    inset: 34px 20px 18px;
    border-radius: 44% 44% 28px 28px;
  }

  .ypc-portrait-frame {
    min-height: 390px;
  }

  .ypc-portrait-frame img {
    max-height: 420px;
  }

  .ypc-authority-badge {
    right: 0;
    bottom: 58px;
    min-width: 104px;
    padding: 11px 13px;
  }

  .ypc-info-card,
  .ypc-final-card {
    border-radius: 22px;
    padding: 24px;
  }

  .ypc-section {
    padding: 68px 0;
  }

  .ypc-two-columns {
    gap: 28px;
  }

  .ypc-section-heading h2,
  .ypc-centered-heading h2,
  .ypc-final h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .ypc-centered-heading {
    text-align: left;
  }

  .ypc-final {
    padding: 36px 0 58px;
  }

  .ypc-final-card .ypc-button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .ypc-container,
  .ypc-topbar,
  .ypc-countdown-bar {
    width: min(100% - 24px, var(--ypc-max));
  }

  .ypc-top-cta {
    display: none;
  }

  .ypc-countdown-label {
    font-size: 0.66rem;
  }

  .ypc-hero h1 {
    font-size: clamp(1.94rem, 9.4vw, 2.62rem);
  }

  .ypc-subtitle {
    font-size: 1.04rem;
  }

  .ypc-event-line {
    font-size: 0.88rem;
  }

  .ypc-hero-visual {
    min-height: 340px;
  }

  .ypc-portrait-frame {
    min-height: 340px;
  }

  .ypc-portrait-frame img {
    max-height: 370px;
  }

  .ypc-info-card,
  .ypc-final-card {
    padding: 22px;
  }
}

/* Ajustes v1.0.3: barra apenas com contagem + foto integrada */
.ypc-countdown-bar {
  width: min(560px, calc(100% - 40px));
  margin: 0 auto 14px;
  border-color: rgba(229, 201, 143, 0.26);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.024)),
    radial-gradient(circle at 50% 50%, rgba(229, 201, 143, 0.16), transparent 62%),
    rgba(9, 6, 7, 0.72);
}

.ypc-countdown-bar-inner {
  min-height: 46px;
  padding: 8px 12px;
  justify-content: center;
}

.ypc-countdown-mini {
  width: 100%;
  justify-content: center;
  gap: 10px;
}

.ypc-countdown-mini span {
  min-width: 112px;
  padding: 8px 12px;
  border-color: rgba(229, 201, 143, 0.20);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028));
}

.ypc-countdown-mini strong {
  font-size: 0.96rem;
}

.ypc-hero-visual {
  min-height: 545px;
  align-items: flex-end;
}

.ypc-hero-visual::before {
  inset: 60px -12px 2px 4px;
  z-index: -2;
  border: 0;
  border-radius: 999px 999px 58px 58px;
  background:
    radial-gradient(circle at 48% 42%, rgba(229, 201, 143, 0.20), transparent 30%),
    radial-gradient(circle at 64% 72%, rgba(111, 15, 19, 0.50), transparent 44%),
    linear-gradient(180deg, rgba(229, 201, 143, 0.055), rgba(111, 15, 19, 0.13) 58%, rgba(9, 6, 7, 0));
  box-shadow: none;
  backdrop-filter: none;
}

.ypc-portrait-glow {
  width: 440px;
  height: 440px;
  right: 10px;
  bottom: 34px;
  background: rgba(111, 15, 19, 0.72);
  filter: blur(64px);
  opacity: 0.88;
}

.ypc-portrait-frame {
  width: min(100%, 500px);
  min-height: 545px;
  overflow: visible;
}

.ypc-portrait-frame::after {
  left: -8%;
  right: -8%;
  bottom: -2px;
  height: 28%;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 6, 7, 0.20) 46%, rgba(9, 6, 7, 0.92) 100%);
}

.ypc-portrait-frame img {
  width: auto;
  max-width: 100%;
  max-height: min(73vh, 610px);
  opacity: 0.93;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.54));
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0, 0, 0, 0.84) 88%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0, 0, 0, 0.84) 88%, transparent 100%);
}

@media (max-width: 1100px) {
  .ypc-hero-visual {
    min-height: 505px;
  }

  .ypc-portrait-frame {
    min-height: 505px;
  }

  .ypc-portrait-frame img {
    max-height: 560px;
  }
}

@media (max-height: 760px) and (min-width: 981px) {
  .ypc-countdown-bar-inner {
    min-height: 42px;
  }

  .ypc-countdown-mini span {
    padding: 7px 10px;
  }

  .ypc-hero-visual {
    min-height: 438px;
  }

  .ypc-portrait-frame {
    min-height: 438px;
  }

  .ypc-portrait-frame img {
    max-height: 490px;
  }
}

@media (max-width: 980px) {
  .ypc-hero-visual {
    min-height: 470px;
  }

  .ypc-portrait-frame {
    min-height: 470px;
  }

  .ypc-portrait-frame img {
    max-height: 520px;
  }
}

@media (max-width: 680px) {
  .ypc-countdown-bar {
    width: min(100% - 28px, 520px);
    border-radius: 24px;
  }

  .ypc-countdown-mini {
    gap: 6px;
  }

  .ypc-countdown-mini span {
    min-width: 0;
    flex: 1;
    padding: 7px 7px;
    font-size: 0.62rem;
  }

  .ypc-countdown-mini strong {
    font-size: 0.84rem;
  }

  .ypc-hero-visual {
    min-height: 382px;
  }

  .ypc-hero-visual::before {
    inset: 34px 4px 4px;
  }

  .ypc-portrait-frame {
    min-height: 382px;
  }

  .ypc-portrait-frame img {
    max-height: 420px;
  }
}

@media (max-width: 430px) {
  .ypc-countdown-bar {
    width: min(100% - 24px, 520px);
  }

  .ypc-hero-visual {
    min-height: 326px;
  }

  .ypc-portrait-frame {
    min-height: 326px;
  }

  .ypc-portrait-frame img {
    max-height: 360px;
  }
}


/* Ajustes v1.0.4: contagem com frase, logo sem link e foto mais integrada */
.ypc-countdown-bar {
  width: fit-content;
  max-width: calc(100% - 40px);
  margin: 0 auto 14px;
}

.ypc-countdown-bar-inner {
  min-height: 46px;
  padding: 7px 9px 7px 14px;
  justify-content: center;
  gap: 10px;
}

.ypc-countdown-intro {
  color: var(--ypc-gold-strong);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.ypc-countdown-mini {
  width: auto;
  gap: 7px;
}

.ypc-countdown-mini span {
  min-width: 86px;
  padding: 7px 9px;
}

.ypc-brand {
  cursor: default;
}

.ypc-hero-visual::before {
  inset: 10% 2% 0;
  z-index: -2;
  border: 0;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(229, 201, 143, 0.16), transparent 34%),
    radial-gradient(ellipse at 54% 70%, rgba(111, 15, 19, 0.34), transparent 58%),
    linear-gradient(180deg, transparent 0%, rgba(229, 201, 143, 0.045) 38%, rgba(111, 15, 19, 0.08) 72%, transparent 100%);
  box-shadow: none;
  backdrop-filter: none;
  filter: blur(3px);
  opacity: 0.86;
}

.ypc-portrait-glow {
  width: 420px;
  height: 420px;
  right: 22px;
  bottom: 42px;
  background: rgba(111, 15, 19, 0.62);
  filter: blur(72px);
  opacity: 0.72;
}

.ypc-portrait-frame::after {
  left: -12%;
  right: -12%;
  bottom: -1px;
  height: 30%;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 6, 7, 0.16) 46%, rgba(9, 6, 7, 0.96) 100%);
}

.ypc-portrait-frame img {
  opacity: 0.92;
  filter: drop-shadow(0 30px 62px rgba(0, 0, 0, 0.48));
}

@media (max-width: 680px) {
  .ypc-countdown-bar {
    width: min(100% - 28px, 500px);
    max-width: 500px;
    border-radius: 24px;
  }

  .ypc-countdown-bar-inner {
    padding: 10px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .ypc-countdown-intro {
    width: 100%;
    text-align: center;
    font-size: 0.66rem;
  }

  .ypc-countdown-mini {
    width: 100%;
    gap: 6px;
  }

  .ypc-countdown-mini span {
    min-width: 0;
    flex: 1;
  }

  .ypc-hero-visual::before {
    inset: 10% 8% 2%;
    opacity: 0.68;
  }
}

@media (max-width: 430px) {
  .ypc-countdown-bar {
    width: min(100% - 24px, 500px);
  }

  .ypc-countdown-mini span {
    padding: 7px 5px;
  }
}

/* Versão com formulário de inscrição */
.ypc-button[href^="#"] {
  scroll-margin-top: 20px;
}

.ypc-final-card-with-form {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
  gap: 40px;
  align-items: center;
}

.ypc-final-copy {
  max-width: 720px;
}

.ypcf-form-card {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 28px;
  border: 1px solid rgba(229, 201, 143, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(229, 201, 143, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(8, 5, 6, 0.62);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.ypcf-form-header {
  margin-bottom: 20px;
}

.ypcf-form-header span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--ypc-gold-strong);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ypcf-form-header h3 {
  margin: 0;
  color: var(--ypc-white);
  font-size: clamp(1.6rem, 2.4vw, 2.18rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.ypcf-field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.ypcf-field label {
  color: rgba(255, 248, 236, 0.78);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.ypcf-field input,
.ypcf-field select {
  width: 100%;
  min-height: 52px;
  padding: 14px 15px;
  border: 1px solid rgba(229, 201, 143, 0.18);
  border-radius: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.055);
  color: var(--ypc-white);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.ypcf-field select {
  appearance: none;
  cursor: pointer;
  padding-right: 38px;
  background-image: linear-gradient(45deg, transparent 50%, rgba(241, 211, 125, 0.9) 50%), linear-gradient(135deg, rgba(241, 211, 125, 0.9) 50%, transparent 50%);
  background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.ypcf-field select option {
  color: #1c1515;
  background: #fff8ec;
}

.ypcf-field input::placeholder {
  color: rgba(255, 248, 236, 0.38);
}

.ypcf-field input:focus,
.ypcf-field select:focus {
  border-color: rgba(241, 211, 125, 0.72);
  background: rgba(255, 255, 255, 0.078);
  box-shadow: 0 0 0 4px rgba(229, 201, 143, 0.10);
}

.ypcf-field input.ypcf-invalid,
.ypcf-field select.ypcf-invalid {
  border-color: rgba(255, 150, 150, 0.68);
  box-shadow: 0 0 0 4px rgba(150, 28, 28, 0.18);
}

.ypcf-field small {
  color: rgba(255, 248, 236, 0.58);
  font-size: 0.82rem;
}


.ypcf-phone-group {
  display: grid;
  grid-template-columns: minmax(142px, 0.76fr) minmax(0, 1.24fr);
  gap: 12px;
  align-items: end;
}

.ypcf-phone-group .ypcf-field {
  margin-bottom: 14px;
}

.ypcf-country-field select {
  font-size: 0.94rem;
  white-space: nowrap;
}

.ypcf-form-status {
  min-height: 22px;
  margin: 16px 0 16px;
  color: rgba(255, 248, 236, 0.72);
  font-size: 0.92rem;
  line-height: 1.35;
}

.ypcf-form-status.is-error {
  color: #ffd0c9;
}

.ypcf-form-status.is-success {
  color: var(--ypc-gold-strong);
  font-weight: 800;
}

.ypcf-submit {
  width: 100%;
}

.ypcf-submit:disabled,
.ypcf-submit.is-loading {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none !important;
  filter: none !important;
}

.ypcf-privacy-note {
  margin: 12px 0 0;
  color: rgba(255, 248, 236, 0.55);
  font-size: 0.78rem;
  line-height: 1.4;
  text-align: center;
}

.ypcf-hp {
  position: absolute;
  left: -99999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 980px) {
  .ypc-final-card-with-form {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .ypcf-form-card {
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  .ypcf-form-card {
    padding: 22px;
    border-radius: 22px;
  }

  .ypcf-field input,
.ypcf-field select {
    min-height: 50px;
  }
}

/* Ajustes v1.2.0: seletor de DDI no formulário */
@media (max-width: 540px) {
  .ypcf-phone-group {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ypcf-country-field select {
    font-size: 0.92rem;
  }
}


.ypcf-redirect-fallback {
  display: inline-block;
  margin-top: 8px;
  color: var(--ypc-gold-strong);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Ajuste v1.3.7: no celular, remover a foto da Fran e o elemento visual atrás dela sem alterar o desktop */
@media (max-width: 680px) {
  .ypc-hero-grid {
    gap: 0;
  }

  .ypc-hero-visual,
  .ypc-hero-visual::before,
  .ypc-portrait-glow,
  .ypc-portrait-frame,
  .ypc-portrait-frame::after,
  .ypc-portrait-frame img {
    display: none !important;
  }
}

/* Ajuste v1.3.8: primeira dobra mobile ocupando a tela inteira, sem alterar desktop */
@media (max-width: 680px) {
  .ypc-hero {
    min-height: 100svh;
    padding-top: 10px;
    padding-bottom: 28px;
  }

  .ypc-topbar-empty {
    display: none !important;
  }

  .ypc-hero-grid {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 12px 0 18px;
  }

  .ypc-hero-copy {
    width: 100%;
  }

  .ypc-kicker {
    margin-bottom: 16px;
  }

  .ypc-hero h1 {
    font-size: clamp(2.24rem, 10.8vw, 3.25rem);
    line-height: 0.99;
    letter-spacing: -0.058em;
  }

  .ypc-subtitle {
    margin-top: 20px;
    font-size: clamp(1.14rem, 4.15vw, 1.28rem);
    line-height: 1.46;
  }

  .ypc-actions {
    margin-top: 30px;
  }
}

@media (max-width: 430px) {
  .ypc-hero {
    min-height: 100svh;
    padding-top: 8px;
    padding-bottom: 24px;
  }

  .ypc-hero-grid {
    padding: 10px 0 16px;
  }

  .ypc-hero h1 {
    font-size: clamp(2.12rem, 10.6vw, 2.9rem);
    line-height: 1;
  }

  .ypc-subtitle {
    font-size: clamp(1.1rem, 4.25vw, 1.18rem);
    line-height: 1.46;
  }
}

@media (max-width: 374px) {
  .ypc-countdown-bar-inner {
    padding: 8px;
    gap: 6px;
  }

  .ypc-countdown-mini span {
    font-size: 0.58rem;
    padding: 6px 4px;
  }

  .ypc-countdown-mini strong {
    font-size: 0.78rem;
  }

  .ypc-hero h1 {
    font-size: clamp(1.98rem, 10.1vw, 2.48rem);
  }

  .ypc-subtitle {
    font-size: 1.04rem;
  }
}
