:root {
  --nov-blue: #1565c0;
  --nov-blue-light: #4fc3f7;
  --nov-navy: #0c2340;
  --nov-navy-2: #123058;
  --nov-card: rgba(255, 255, 255, 0.06);
  --nov-border: rgba(255, 255, 255, 0.12);
}

.page-urologia {
  background: var(--nov-navy);
}

/* ===================== HERO: banner + info lado a lado ===================== */
.nov-hero {
  position: relative;
  padding-top: var(--navbar-height);
  padding-bottom: 96px;
  border-bottom: 1px solid var(--nov-border);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 0;
  overflow: hidden;
  min-height: 92vh;
}

.nov-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nov-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.nov-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 20, 46, 0.35) 0%, rgba(10, 25, 54, 0.5) 50%, rgba(5, 13, 28, 0.75) 100%),
    linear-gradient(100deg, rgba(12, 35, 64, 0.35) 0%, rgba(21, 101, 192, 0.2) 100%);
}

.nov-hero__banner-col {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  height: 100%;
}

.nov-hero__banner {
  display: block;
  width: 100%;
  max-width: 820px;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.nov-hero__info-col {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 16px;
  padding: 40px 56px 40px 24px;
}

.nov-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nov-blue-light);
}

.nov-hero__heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.25;
  color: var(--color-white);
}

.nov-hero__subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  color: var(--color-white);
  max-width: 480px;
  line-height: 1.65;
}

.nov-hero__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 8px;
  padding: 0;
}

.nov-hero__list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.nov-hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nov-blue-light);
}

.nov-hero__list strong {
  color: var(--color-white);
}

/* ===================== FLOW STRIP ===================== */
.flow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding: 20px 24px;
}

.flow__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.flow__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1 1 240px;
  max-width: 320px;
}

.flow__badge {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--nov-blue-light), var(--nov-blue));
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.flow__item h3 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
  margin-bottom: 4px;
}

.flow__item p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  line-height: 1.5;
}

.flow__arrow {
  color: rgba(255, 255, 255, 0.25);
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ===================== SCHEDULER SECTION ===================== */
.section--scheduler {
  padding: 56px 24px 80px;
  background: var(--nov-navy);
}

.container--narrow {
  max-width: 760px;
  margin: 0 auto;
}

.scheduler-heading {
  text-align: center;
  margin-bottom: 32px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nov-blue-light);
  background: rgba(21, 101, 192, 0.15);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section__title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--color-white);
  margin-bottom: 10px;
}

.section__lead {
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

/* ===================== SCHEDULER CARD ===================== */
.scheduler {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fd 100%);
  border: 1px solid rgba(21, 101, 192, 0.12);
  border-radius: 28px;
  padding: 36px;
  min-height: 200px;
  box-shadow:
    0 30px 70px rgba(2, 10, 30, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.scheduler__status {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 48px 0;
  color: #64748b;
  font-size: 0.95rem;
}

.scheduler__status[hidden] {
  display: none;
}

.demo-banner {
  max-width: 760px;
  margin: 0 auto 20px;
  padding: 12px 18px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  color: #92400e;
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: center;
}

.demo-banner strong {
  color: #78350f;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid rgba(79, 195, 247, 0.2);
  border-top-color: var(--nov-blue-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.scheduler__step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-navy);
  margin-bottom: 18px;
}

.scheduler__step-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--nov-blue);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.scheduler__step + .scheduler__step {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px dashed #e2e8f0;
}

/* Date grid: uma linha só no desktop, empilha no mobile */
.date-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

.date-card {
  position: relative;
  background: var(--nov-navy);
  border: 1.5px solid var(--nov-navy);
  border-radius: 14px;
  padding: 14px 8px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(12, 35, 64, 0.2);
}

.date-card:hover {
  border-color: var(--nov-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(12, 35, 64, 0.3);
}

.date-card.is-selected {
  border-color: var(--nov-blue-light);
  background: linear-gradient(145deg, var(--nov-blue-light), var(--nov-blue) 65%);
  box-shadow: 0 10px 26px rgba(21, 101, 192, 0.45);
}

.date-card.is-full {
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}

.date-card.is-full:hover {
  transform: none;
  border-color: var(--nov-navy);
}

.date-card__weekday {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.date-card__day {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  margin: 2px 0;
}

.date-card__month {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

.date-card__vagas {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--nov-blue-light);
}

.date-card.is-selected .date-card__vagas,
.date-card.is-selected .date-card__weekday,
.date-card.is-selected .date-card__month {
  color: rgba(255, 255, 255, 0.85);
}

.date-card.is-full .date-card__vagas {
  color: rgba(255, 255, 255, 0.35);
}

/* Time grid */
.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
}

.time-card {
  background: var(--nov-navy);
  border: 1.5px solid var(--nov-navy);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-white);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 16px rgba(12, 35, 64, 0.2);
}

.time-card:hover {
  border-color: var(--nov-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(12, 35, 64, 0.3);
}

.time-card.is-selected {
  border-color: var(--nov-blue-light);
  background: linear-gradient(145deg, var(--nov-blue-light), var(--nov-blue) 65%);
  color: var(--color-white);
  box-shadow: 0 10px 26px rgba(21, 101, 192, 0.45);
}

.time-card.is-taken {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
  box-shadow: none;
}

.time-card.is-taken:hover {
  transform: none;
  border-color: var(--nov-navy);
}

/* Form */
.form-summary {
  background: rgba(21, 101, 192, 0.08);
  border: 1px solid rgba(21, 101, 192, 0.25);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--color-navy);
  margin-bottom: 22px;
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
}

.field input {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid #d8dee8;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: var(--color-white);
  color: var(--color-navy);
}

.field input::placeholder {
  color: #94a3b8;
}

.field input:focus {
  border-color: var(--nov-blue);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.12);
}

.field input.is-invalid {
  border-color: #dc2626;
}

.field__error {
  font-size: 0.76rem;
  color: #dc2626;
  min-height: 1em;
}

.form-disclaimer {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 16px;
  line-height: 1.6;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

.form-error {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 10px;
  color: #fca5a5;
  font-size: 0.88rem;
}

/* Buttons */
.btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn--cta {
  background: linear-gradient(135deg, var(--nov-blue-light), var(--nov-blue));
  color: var(--color-white);
  font-size: 1.02rem;
  padding: 16px 32px;
  box-shadow: 0 10px 30px rgba(21, 101, 192, 0.45);
}

.btn--cta:hover {
  box-shadow: 0 12px 36px rgba(21, 101, 192, 0.6);
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--nov-blue-light), var(--nov-blue));
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(21, 101, 192, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 10px 26px rgba(21, 101, 192, 0.5);
}

.btn--primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn--ghost {
  background: transparent;
  color: #475569;
  border: 1.5px solid #cbd5e1;
}

.btn--ghost:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
}

.btn__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* Success */
.scheduler__success {
  text-align: center;
  padding: 24px 0;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #16a34a;
  color: var(--color-white);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.scheduler__success h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.scheduler__success p {
  color: #475569;
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 8px;
}

.success-note {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 22px !important;
}

/* Empty state */
.scheduler__empty {
  text-align: center;
  padding: 48px 0;
  color: #64748b;
}

.scheduler__empty p {
  margin-bottom: 16px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .nov-hero {
    grid-template-columns: 1fr;
    padding-bottom: 0;
    min-height: 0;
  }

  .flow {
    position: static;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--nov-navy-2);
  }

  .nov-hero__banner-col {
    padding: 28px 24px 12px;
  }

  .nov-hero__banner {
    max-width: 440px;
  }

  .nov-hero__info-col {
    align-items: center;
    text-align: center;
    padding: 12px 24px 36px;
  }

  .nov-hero__subtitle {
    max-width: 480px;
  }

  .nov-hero__list {
    align-items: center;
  }

  .nov-hero__list li {
    padding-left: 0;
  }

  .nov-hero__list li::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .flow__arrow {
    display: none;
  }

  .flow__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .flow__item {
    flex: none;
    max-width: none;
  }
}

@media (max-width: 1024px) {
  .date-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .date-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .field--full {
    grid-column: auto;
  }

  .scheduler {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
