:root {
  --bg: #f6f9fd;
  --surface: #ffffff;
  --surface-soft: #edf5ff;
  --ink: #081528;
  --muted: #5d6c7d;
  --soft: #8a99aa;
  --blue: #0d63ff;
  --blue-dark: #073fb1;
  --blue-soft: rgba(13, 99, 255, 0.11);
  --gold: #d2aa52;
  --line: rgba(8, 21, 40, 0.12);
  --line-blue: rgba(13, 99, 255, 0.18);
  --shadow: 0 24px 70px rgba(14, 54, 106, 0.14);
  --shadow-soft: 0 14px 36px rgba(14, 54, 106, 0.1);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  background:
    linear-gradient(90deg, rgba(13, 99, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(13, 99, 255, 0.045) 1px, transparent 1px),
    var(--bg);
  background-size: 48px 48px;
}

body.modal-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 600px;
  font-size: clamp(2.45rem, 4.6vw, 4.55rem);
}

h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.6rem);
}

h3 {
  font-size: 1.55rem;
}

p {
  color: var(--muted);
}

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100% - 32px));
  min-height: 64px;
  padding: 12px 14px;
  border: 1px solid rgba(8, 21, 40, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 48px rgba(14, 54, 106, 0.1);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(13, 99, 255, 0.2);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(14, 54, 106, 0.15);
}

.brand,
.nav,
.hero-actions,
.choice-grid {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.nav {
  gap: 24px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a:hover {
  color: var(--blue);
}

.header-cta,
.btn {
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.header-cta {
  padding: 0 18px;
  color: var(--blue);
  background: var(--blue-soft);
  border-color: rgba(13, 99, 255, 0.18);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  text-align: center;
}

.btn:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 18px 44px rgba(13, 99, 255, 0.25);
}

.btn-secondary {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--line);
}

.btn.full {
  width: 100%;
}

.hero {
  min-height: 100vh;
  padding: 136px 0 64px;
  overflow: hidden;
  background: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  align-items: center;
  gap: 66px;
}

.hero-grid-simple {
  display: block;
}

.hero-copy {
  max-width: 650px;
}

.hero-brandline {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.hero-copy,
.hero-panel,
.dashboard-card,
.method-grid article,
.receive-grid article,
.benefit-strip article {
  min-width: 0;
}

.hero-subtitle {
  max-width: 560px;
  margin-top: 18px;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.microcopy {
  max-width: 610px;
  margin-top: 14px;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-panel,
.benefit-strip article,
.method-grid article,
.mentor-card,
.receive-grid article,
.final-card,
.modal-dialog,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  padding: 20px;
  box-shadow: var(--shadow);
}

.panel-head,
.dashboard-top,
.metric-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.panel-head {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 800;
}

.panel-head strong {
  color: var(--blue);
}

.dashboard-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f8fbff, #edf5ff);
}

.dashboard-top span,
.metric-list span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.dashboard-top strong,
.metric-list strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 10px;
  height: 190px;
  margin: 24px 0;
  padding: 14px;
  border: 1px solid var(--line-blue);
  border-radius: var(--radius);
  background: #ffffff;
}

.bars span {
  height: var(--bar);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #62c7ff, var(--blue));
  transform-origin: bottom;
  animation: barRise 900ms cubic-bezier(0.22, 0.9, 0.25, 1) both;
}

.metric-list {
  display: grid;
  gap: 10px;
}

.metric-list div {
  padding: 12px;
  border-radius: var(--radius);
  background: #ffffff;
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 56px;
}

.benefit-strip article {
  min-height: 150px;
  padding: 24px;
  text-align: center;
}

.benefit-strip strong,
.benefit-strip span {
  display: block;
}

.benefit-strip strong {
  color: var(--ink);
  font-size: 1.08rem;
}

.benefit-strip span {
  margin-top: 8px;
  color: var(--muted);
}

.section {
  position: relative;
  padding: 92px 0;
  background: #ffffff;
}

.section-soft {
  background: var(--surface-soft);
}

.section-dark {
  background: #07111e;
}

.section-dark h2,
.section-dark .section-number {
  color: #ffffff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.pain-band {
  padding: 74px 0;
}

.pain-band .issue-grid article {
  border-color: rgba(255, 255, 255, 0.08);
  border-left-color: var(--gold);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.88);
}

.split,
.mentor-grid,
.faq-grid {
  display: grid;
  grid-template-columns: 0.86fr 1fr;
  gap: 66px;
  align-items: start;
}

.section-number {
  display: block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.text-stack > p,
.section-heading p,
.mentor-grid p,
.final-card p {
  font-size: 1.08rem;
}

.issue-grid,
.method-grid,
.receive-grid {
  display: grid;
  gap: 14px;
}

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

.issue-grid article {
  min-height: 112px;
  padding: 22px;
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 42px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading p {
  margin-top: 22px;
}

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

.method-grid article {
  min-height: 260px;
  padding: 24px;
}

.method-grid article > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  font-weight: 900;
}

.method-grid h3 {
  margin-bottom: 12px;
}

.mentor-grid {
  grid-template-columns: 390px 1fr;
  align-items: center;
}

.mentor-grid h2 {
  max-width: 980px;
  line-height: 1.22;
}

.mentor-grid p {
  margin-top: 28px;
}

.mentor-card {
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.mentor-photo {
  display: grid;
  align-items: end;
  min-height: 470px;
  padding: 26px;
  border-radius: var(--radius);
  background: url("../metodoifv-atualizado 2/images/eder.jpg") center / cover;
}

.mentor-photo span {
  color: #ffffff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}

.mentor-grid .btn {
  margin-top: 34px;
}

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

.receive-grid article {
  min-height: 120px;
  padding: 24px;
  color: var(--ink);
  font-weight: 800;
}

.faq-grid {
  grid-template-columns: 0.74fr 1fr;
}

.faq-list {
  display: grid;
  gap: 12px;
}

summary {
  cursor: pointer;
  padding: 22px;
  color: var(--ink);
  font-weight: 900;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--blue);
}

details[open] summary::after {
  content: "-";
}

details p {
  padding: 0 22px 22px;
}

.final-cta {
  padding: 88px 0;
  background: #ffffff;
}

.final-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px;
}

.final-card p {
  margin-top: 12px;
}

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

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 12, 24, 0.66);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 32px;
  box-shadow: 0 28px 90px rgba(4, 12, 24, 0.32);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
}

.modal-step {
  display: none;
}

.modal-step.is-active {
  display: block;
}

.modal-step h2 {
  max-width: 560px;
  padding-right: 30px;
  font-size: clamp(2rem, 6vw, 3.45rem);
}

.modal-step p {
  margin-top: 18px;
  font-size: 1.03rem;
}

.choice-grid {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.booking-owner {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

.booking-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #f8fbff;
  outline: none;
}

.booking-form input:focus {
  border-color: rgba(13, 99, 255, 0.64);
  box-shadow: 0 0 0 4px rgba(13, 99, 255, 0.1);
}

.booking-form .full {
  grid-column: 1 / -1;
}

.calendar-widget {
  margin-top: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.calendar-head strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  text-transform: capitalize;
}

.calendar-nav {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  background: #ffffff;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-weekdays {
  margin-bottom: 8px;
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.calendar-day,
.slot-button {
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #ffffff;
  font-weight: 900;
}

.calendar-day {
  min-height: 44px;
  padding: 0;
}

.calendar-day:disabled {
  cursor: not-allowed;
  color: rgba(93, 108, 125, 0.4);
  background: rgba(255, 255, 255, 0.55);
}

.calendar-day.is-empty {
  min-height: 44px;
  border: 0;
  background: transparent;
}

.calendar-day.is-selected,
.slot-button.is-selected,
.slot-button:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
}

.slot-panel {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line-blue);
  border-radius: var(--radius);
  background: #ffffff;
}

.slot-panel > strong {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.slot-panel .btn:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.slot-help-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 10px;
  border: 1px solid rgba(13, 99, 255, 0.22);
  border-radius: var(--radius);
  color: var(--blue);
  background: rgba(13, 99, 255, 0.06);
  font-weight: 900;
  text-align: center;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.slot-help-link:hover {
  border-color: rgba(13, 99, 255, 0.36);
  background: rgba(13, 99, 255, 0.1);
  transform: translateY(-1px);
}

.slot-note {
  color: var(--soft);
  font-size: 0.9rem;
}

.confirmation-step .btn {
  margin-top: 26px;
}

[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes barRise {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero-grid,
  .split,
  .mentor-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 122px;
  }

  .hero-panel {
    max-width: 520px;
  }

  .benefit-strip,
  .method-grid,
  .receive-grid {
    grid-template-columns: 1fr 1fr;
  }

  .final-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    width: calc(100% - 22px);
    max-width: calc(100vw - 22px);
    top: 10px;
    gap: 10px;
  }

  .brand {
    font-size: 0.94rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 104px 0 56px;
  }

  h1 {
    max-width: 330px;
    font-size: clamp(1.62rem, 6.4vw, 1.92rem);
    line-height: 1.09;
    overflow-wrap: anywhere;
  }

  .hero-subtitle {
    max-width: 330px;
    font-size: 0.96rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

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

  .benefit-strip span,
  .benefit-strip strong {
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.25rem);
  }

  .hero-actions,
  .choice-grid {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .choice-grid .btn {
    width: 100%;
  }

  .hero-panel {
    width: 100%;
    max-width: 100%;
  }

  .benefit-strip,
  .issue-grid,
  .method-grid,
  .receive-grid,
  .booking-form,
  .slot-grid {
    grid-template-columns: 1fr;
  }

  .calendar-widget,
  .slot-panel {
    padding: 12px;
  }

  .calendar-weekdays,
  .calendar-grid {
    gap: 4px;
  }

  .calendar-day {
    min-height: 38px;
    font-size: 0.86rem;
  }

  .section {
    padding: 74px 0;
  }

  .mentor-photo {
    min-height: 360px;
  }

  .modal {
    padding: 12px;
  }

  .modal-dialog {
    padding: 26px 18px 20px;
  }

  .dashboard-top,
  .metric-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .bars {
    height: 150px;
    padding: 10px;
  }
}
