:root {
  color-scheme: dark;
  --bg: #10110f;
  --surface: #181a17;
  --surface-strong: #20231e;
  --text: #f7f5ee;
  --muted: #aaa99f;
  --line: #34372f;
  --brand: #e7b83f;
  --brand-dark: #1b170b;
  --green: #62b77b;
  --blue: #6090c7;
  --red: #cf6d68;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.5; }
a { color: inherit; }
img { display: block; max-width: 100%; object-fit: contain; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-header { width: min(calc(100% - 32px), var(--max)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { width: clamp(150px, 35vw, 206px); height: auto; }
.header-cta { padding: 8px 0; border-bottom: 1px solid var(--brand); font-size: .9rem; font-weight: 750; text-decoration: none; }

.hero { width: min(calc(100% - 32px), var(--max)); min-height: calc(100svh - 76px); margin: 0 auto; display: grid; align-items: center; gap: 48px; padding: 46px 0 78px; }
.eyebrow { margin: 0 0 14px; color: var(--brand); font-size: .82rem; font-weight: 800; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { max-width: 760px; margin: 0; font-size: clamp(2.5rem, 8vw, 5.25rem); line-height: 1; font-weight: 850; }
h2 { margin: 0; font-size: clamp(2rem, 7vw, 3.55rem); line-height: 1.05; }
h3 { margin: 0; font-size: 1.05rem; }
.hero-text { max-width: 650px; margin: 24px 0 0; color: #d5d3ca; font-size: clamp(1.05rem, 3.7vw, 1.26rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 30px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border-radius: 7px; font-weight: 800; text-decoration: none; }
.button-primary { background: var(--brand); color: var(--brand-dark); }
.button-primary:hover { background: #f1c95e; }
.text-link { font-weight: 750; text-underline-offset: 5px; }
.hero-note { margin: 15px 0 0; color: var(--muted); font-size: .84rem; }

.phone-sequence { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 0; }
.phone { width: min(44%, 246px); min-width: 0; padding: 7px; border: 1px solid #464941; border-radius: 28px; background: #090a09; box-shadow: 0 26px 58px rgba(0,0,0,.34); }
.phone-panel { transform: translateY(30px); }
.phone-speaker { width: 58px; height: 5px; margin: 3px auto 7px; border-radius: 4px; background: #30332d; }
.phone-screen { min-height: 448px; overflow: hidden; border: 1px solid #252722; border-radius: 20px; background: #13150f; }
.mobile-top, .panel-mobile-head { min-height: 55px; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-bottom: 1px solid #2c2f28; background: #1d201b; }
.mobile-top img, .panel-mobile-head img { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); }
.mobile-top > span, .panel-mobile-head > span { min-width: 0; display: grid; }
.mobile-top strong, .panel-mobile-head strong { font-size: .78rem; }
.mobile-top small, .panel-mobile-head small { overflow: hidden; color: var(--muted); font-size: .59rem; text-overflow: ellipsis; white-space: nowrap; }
.mobile-chat { min-height: 391px; display: flex; flex-direction: column; gap: 9px; padding: 14px 9px; }
.bubble { width: fit-content; max-width: 90%; padding: 9px 10px; border-radius: 7px; font-size: .7rem; }
.bubble-client { align-self: flex-end; background: #294b39; }
.bubble-bigode { background: #292c26; }
.bubble.compact { padding-inline: 13px; }
.bubble.confirmation { display: grid; gap: 2px; border-left: 3px solid var(--brand); }
.bubble.confirmation span { color: #d0cec5; font-size: .63rem; }
.audio-message { min-width: min(100%, 174px); display: flex; align-items: center; gap: 7px; color: #dbece2; }
.audio-message time { color: #cfddd4; font-size: .58rem; }
.audio-control { width: 22px; height: 22px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; color: inherit; background: rgba(255,255,255,.1); cursor: pointer; }
.audio-control.is-playing .play-icon { width: 7px; height: 9px; border: 0; border-right: 2px solid currentColor; border-left: 2px solid currentColor; }
.play-icon { width: 0; height: 0; display: block; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.wave { width: 78px; height: 20px; display: flex; align-items: center; justify-content: space-between; gap: 1px; opacity: .72; }
.wave i { width: 2px; height: 7px; display: block; flex: 0 0 auto; border-radius: 2px; background: currentColor; }
.wave i:nth-child(3n + 1) { height: 13px; }
.wave i:nth-child(4n + 2) { height: 18px; }
.wave i:nth-child(5n) { height: 10px; }
.audio-message.is-playing .wave i { color: var(--brand); }
.sequence-link { width: 32px; height: 32px; flex: 0 0 auto; display: grid; place-items: center; z-index: 2; border: 1px solid var(--line); border-radius: 50%; color: var(--brand); background: var(--bg); }
.sequence-link .icon { width: 17px; }

.panel-screen { padding-bottom: 10px; background: #141611; }
.panel-mobile-head { background: #1d201b; }
.panel-filter { display: flex; gap: 5px; padding: 10px 8px 7px; overflow: hidden; }
.panel-filter button { flex: 1 0 auto; padding: 5px 7px; border: 1px solid #34372f; border-radius: 6px; color: var(--muted); font-size: .58rem; background: transparent; }
.panel-filter button.is-active { border-color: var(--brand); color: var(--brand-dark); background: var(--brand); }
.professional-row { display: flex; align-items: center; gap: 7px; margin: 2px 8px 9px; padding: 8px; border: 1px solid var(--line); border-radius: 7px; background: #1c1f1a; }
.professional-row > span:last-child, .panel-success > span:last-child { display: grid; }
.professional-row strong { font-size: .67rem; }
.professional-row small { color: var(--muted); font-size: .55rem; }
.avatar { flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; font-weight: 800; }
.avatar-barber { width: 30px; height: 30px; background: #463c1f; color: #f8dda0; font-size: .67rem; }
.timeline { margin: 0 8px; border-top: 1px solid var(--line); }
.time-slot { min-height: 57px; display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 6px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .6rem; }
.time-slot > span { display: grid; }
.time-slot.is-booked > span { padding: 7px; border-left: 3px solid var(--blue); color: var(--text); background: #222c33; }
.time-slot small { color: #bcc6cb; }
.panel-success { display: flex; align-items: center; gap: 8px; margin: 11px 8px 0; padding: 8px; border: 1px solid #31513a; border-radius: 7px; background: #19231b; }
.panel-success strong { font-size: .63rem; }
.panel-success small { color: #b3c5b8; font-size: .55rem; }
.check-icon { width: 28px; height: 28px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--green); border-radius: 50%; }
.check-icon::after { content: ""; width: 9px; height: 4px; border-bottom: 2px solid var(--green); border-left: 2px solid var(--green); transform: rotate(-45deg) translate(1px, -1px); }

.section { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; padding: 88px 0; }
.section-heading { max-width: 790px; margin-bottom: 40px; }
.section-heading > p:last-child, .counter-copy > p, .control-copy > p:last-child, .how-copy > p:last-child { max-width: 660px; margin: 20px 0 0; color: var(--muted); }

.journey { border-top: 1px solid var(--line); }
.journey-flow { position: relative; display: grid; gap: 0; border-top: 1px solid var(--line); }
.journey-flow article { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.journey-icon { width: 40px; height: 40px; display: grid; place-items: center; z-index: 1; border: 1px solid #4a4738; border-radius: 7px; color: var(--brand); background: var(--surface); }
.journey-icon .icon { width: 21px; height: 21px; }
.journey-copy { display: grid; align-content: start; }
.journey-copy small { color: var(--brand); font-size: .67rem; }
.journey-copy h3 { margin-top: 1px; font-size: 1.05rem; }
.journey-copy p { margin: 5px 0 9px; color: var(--muted); font-size: .88rem; }
.journey-copy b { color: #d5d3ca; font-size: .73rem; }
.supporting-tools { display: grid; gap: 10px; margin-top: 26px; }
.supporting-tools > span { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.supporting-tools .icon { color: var(--brand); }
.supporting-tools > span > span { display: grid; }
.supporting-tools small { color: var(--muted); }

.counter { display: grid; gap: 38px; align-items: center; border-top: 1px solid var(--line); }
.counter-media { position: relative; min-height: 390px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.counter-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.counter-media-fallback { position: absolute; inset: 0; display: none; place-content: center; justify-items: center; gap: 12px; color: var(--muted); background: var(--surface-strong); }
.counter-media-fallback img { width: 92px; height: 92px; }
.counter-media.is-missing > img { display: none; }
.counter-media.is-missing .counter-media-fallback { display: grid; }
.counter-phone { position: absolute; top: 50%; right: 24px; width: min(38%, 214px); overflow: hidden; transform: translateY(-50%); border: 5px solid #20231f; border-radius: 22px; color: #171914; background: #f5f4ed; box-shadow: 0 22px 54px rgba(0,0,0,.42); }
.counter-phone-head { display: flex; align-items: center; gap: 8px; padding: 10px; border-bottom: 1px solid #dddcd4; background: #fff; }
.counter-phone-head img { width: 28px; height: 28px; border-radius: 8px; }
.counter-phone-head span, .counter-confirmation > span { display: grid; }
.counter-phone-head strong { font-size: .7rem; }
.counter-phone-head small { color: #6e726a; font-size: .57rem; }
.counter-phone-body { display: grid; gap: 10px; padding: 12px 10px 14px; }
.counter-message { margin-left: 20px; padding: 8px 9px; border-radius: 10px 10px 2px 10px; color: #f7f7f2; font-size: .64rem; line-height: 1.35; background: #31352f; }
.counter-confirmation { display: flex; align-items: center; gap: 8px; padding: 9px; border: 1px solid #dfe5d8; border-radius: 9px; background: #edf5e8; }
.counter-confirmation .check-icon { width: 25px; height: 25px; flex: 0 0 auto; }
.counter-confirmation strong { font-size: .65rem; }
.counter-confirmation small { margin-top: 2px; color: #697064; font-size: .56rem; }
.counter-agenda { display: grid; grid-template-columns: 27px 1fr; align-items: center; font-size: .55rem; color: #7b7e77; }
.counter-agenda i { height: 1px; background: #d5d7d0; }
.counter-agenda b { padding: 7px; border-left: 3px solid #d29f36; color: #5a4722; font-size: .58rem; background: #f5e7c5; }
.counter-copy h2 { max-width: 560px; }

.control { display: grid; gap: 38px; border-top: 1px solid var(--line); }
.control-copy { max-width: 710px; }
.control-points { border-top: 1px solid var(--line); }
.control-points > span { display: grid; grid-template-columns: 34px 1fr; gap: 3px 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.control-points .icon { grid-row: 1 / 3; margin-top: 2px; color: var(--brand); }
.control-points small { color: var(--muted); }

.how { display: grid; gap: 42px; border-top: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.steps li > span { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--brand); border-radius: 50%; color: var(--brand); font-weight: 800; }
.steps p { margin: 4px 0 0; color: var(--muted); }

.final-cta { margin-bottom: 76px; display: grid; gap: 22px; align-items: center; padding: 34px; border-radius: 8px; background: var(--brand); color: var(--brand-dark); }
.final-cta img { width: 76px; height: 76px; border-radius: 50%; background: #f4d478; }
.final-cta .eyebrow, .final-cta p { color: #5c4b1d; }
.final-cta p { margin: 0; }
.final-cta h2 { font-size: clamp(2.2rem, 8vw, 4.5rem); }
.button-light { background: var(--brand-dark); color: var(--text); }

footer { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; padding: 30px 0 42px; display: grid; gap: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
footer img { width: 166px; height: auto; }
footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-links a { color: var(--text); text-underline-offset: 4px; }

@media (min-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr); }
  .journey-flow { grid-template-columns: repeat(5, 1fr); border-top: 0; }
  .journey-flow::before { content: ""; position: absolute; top: 42px; right: 10%; left: 10%; height: 1px; background: var(--line); }
  .journey-flow article { grid-template-columns: 1fr; align-content: start; padding: 22px 15px; border: 0; }
  .journey-flow article:not(:last-child) { border-right: 1px solid var(--line); }
  .journey-icon { margin-bottom: 10px; }
  .supporting-tools { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .counter { grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); }
  .control { grid-template-columns: minmax(0, 1fr) minmax(370px, .8fr); }
  .how { grid-template-columns: minmax(0, .85fr) minmax(420px, 1.15fr); }
  .final-cta { grid-template-columns: auto 1fr auto; padding: 42px; }
  footer { grid-template-columns: auto 1fr auto; align-items: center; }
}

@media (max-width: 759px) {
  .hero { min-height: auto; }
  .phone-sequence { padding: 4px 0 28px; }
  .phone { width: min(47%, 230px); }
  .phone-screen { min-height: 410px; }
  .mobile-chat { min-height: 353px; padding-inline: 7px; }
  .bubble { font-size: .64rem; }
  .audio-message { min-width: 138px; }
  .wave { width: 57px; }
  .sequence-link { position: absolute; top: 48%; left: 50%; transform: translate(-50%, -50%); }
  .panel-filter { padding-inline: 6px; }
  .counter-media { min-height: 0; display: grid; }
  .counter-media > img { position: relative; height: 270px; object-position: 38% center; }
  .counter-phone { position: relative; top: auto; right: auto; width: min(52%, 205px); justify-self: end; margin: -108px 14px 14px 0; transform: none; }
}

@media (max-width: 480px) {
  .site-header { min-height: 68px; }
  .header-cta { font-size: .8rem; }
  .hero { padding-top: 36px; gap: 42px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { width: 100%; text-align: center; }
  .phone-sequence { width: calc(100% + 10px); margin-left: -5px; gap: 5px; }
  .phone { width: calc(50% - 7px); padding: 5px; border-radius: 22px; }
  .phone-panel { transform: translateY(20px); }
  .phone-speaker { width: 42px; height: 4px; margin-bottom: 5px; }
  .phone-screen { min-height: 382px; border-radius: 16px; }
  .mobile-top, .panel-mobile-head { min-height: 49px; padding: 7px; }
  .mobile-top img, .panel-mobile-head img { width: 29px; height: 29px; }
  .mobile-top strong, .panel-mobile-head strong { font-size: .68rem; }
  .mobile-chat { min-height: 331px; gap: 7px; padding: 10px 6px; }
  .bubble { max-width: 94%; padding: 7px; font-size: .58rem; }
  .bubble.confirmation span { font-size: .53rem; }
  .audio-message { min-width: 126px; gap: 4px; }
  .audio-control { width: 20px; height: 20px; }
  .wave { width: 48px; }
  .panel-filter button { padding-inline: 4px; }
  .professional-row { margin-inline: 6px; padding: 6px; }
  .timeline { margin-inline: 6px; }
  .time-slot { min-height: 51px; grid-template-columns: 34px 1fr; }
  .panel-success { margin-inline: 6px; padding: 6px; }
  .counter-media > img { height: 235px; object-position: 36% center; }
  .counter-phone { width: min(52%, 190px); margin: -92px 10px 10px 0; border-width: 4px; border-radius: 18px; }
  .counter-phone-head { padding: 7px; }
  .counter-phone-body { gap: 7px; padding: 8px 7px 10px; }
  .counter-message { margin-left: 8px; padding: 6px; font-size: .56rem; }
  .counter-confirmation { gap: 5px; padding: 6px; }
  .counter-confirmation .check-icon { width: 20px; height: 20px; }
  .counter-agenda b { padding: 5px; }
  .final-cta { padding: 26px 22px; }
  .final-cta .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
