:root {
    --graphite: #181a18;
    --green-dark: #46533f;
    --olive: #65745b;
    --olive-soft: #dfe5da;
    --cream: #f6f5f0;
    --white: #fff;
    --text-muted: #687068;
    --border: #e6e6e0;
    --shadow: 0 18px 50px rgba(24, 26, 24, .1);
    --shadow-soft: 0 10px 30px rgba(24, 26, 24, .07);
    --radius: 14px;
    --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--graphite); background: var(--cream); font-family: Manrope, Arial, sans-serif; font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 76px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.eyebrow { margin: 0 0 14px; color: var(--olive); font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 5.5vw, 3.2rem); }
.button { min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: .88rem; font-weight: 700; cursor: pointer; transition: transform .2s, background-color .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid rgba(101, 116, 91, .35); outline-offset: 3px; }
.button-primary { color: var(--white); background: var(--olive); box-shadow: 0 8px 22px rgba(70, 83, 63, .2); }
.button-primary:hover { background: var(--green-dark); }
.button-secondary { border-color: var(--border); background: rgba(255, 255, 255, .82); }
.button-secondary:hover { background: var(--white); }
.button-dark { color: var(--white); background: var(--graphite); }
.button-light { color: var(--graphite); background: var(--white); }
.button-small { min-height: 44px; padding-inline: 19px; }
.button-full { width: 100%; }
.button:disabled { opacity: 1; cursor: default; }
.button:disabled:hover { transform: none; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 1.05rem; font-weight: 800; letter-spacing: -.035em; }
.brand-icon { width: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.brand-mark { font-size: 1.2rem; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(230, 230, 224, .8); background: rgba(246, 245, 240, .9); backdrop-filter: blur(16px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; }
.menu-toggle { width: 44px; height: 44px; padding: 11px; border: 0; background: transparent; display: grid; align-content: center; gap: 5px; }
.menu-toggle span:not(.sr-only) { width: 22px; height: 2px; display: block; background: var(--graphite); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.site-nav { position: fixed; inset: 73px 0 auto; min-height: calc(100vh - 73px); padding: 28px 20px; background: var(--cream); display: none; flex-direction: column; gap: 10px; }
.site-nav.open { display: flex; }
.site-nav > a:not(.button) { padding: 13px 4px; font-size: 1.05rem; font-weight: 600; }
.nav-divider { height: 1px; background: var(--border); }

.hero { overflow: hidden; background: var(--cream); }
.hero-grid { display: grid; }
.hero-copy { padding: 70px 0 42px; }
.hero h1 { margin-bottom: 24px; font-size: clamp(3.1rem, 13vw, 5.4rem); }
.hero h1 span { color: var(--olive); }
.hero-lead { max-width: 510px; margin-bottom: 28px; color: #3d423e; font-size: 1.08rem; }
.button-row { display: flex; flex-direction: column; gap: 10px; }
.play { width: 22px; height: 22px; border-radius: 50%; color: var(--white); background: var(--green-dark); display: inline-grid; place-items: center; font-size: .55rem; }
.quick-benefits { margin: 34px 0 0; padding: 26px 0 0; border-top: 1px solid var(--border); list-style: none; display: grid; gap: 18px; }
.quick-benefits li { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: .78rem; line-height: 1.35; }
.quick-benefits strong { color: var(--graphite); font-weight: 700; }
.line-icon { width: 34px; height: 34px; border: 1px solid var(--olive); border-radius: 8px; color: var(--green-dark); display: grid; place-items: center; font-size: 1.1rem; }
.hero-visual { position: relative; min-height: 510px; margin-inline: -20px; overflow: hidden; }
.hero-visual > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 65% center; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,26,24,.15), transparent 35%); }
.phone { border: 7px solid #121512; border-radius: 32px; background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.phone-dashboard { width: 210px; min-height: 390px; padding: 15px 12px; position: absolute; left: 20px; bottom: -35px; z-index: 2; color: var(--white); background: #111611; transform: rotate(-4deg); }
.phone-bar { display: flex; justify-content: space-between; font-size: .54rem; }
.mini-brand { margin: 12px 0 28px; font-size: .58rem; font-weight: 700; }
.phone-dashboard > p { margin-bottom: 0; font-size: 1rem; font-weight: 700; }
.phone-dashboard > small { color: #b8beb8; font-size: .56rem; }
.mini-stats { margin: 14px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mini-stats span { padding: 10px 7px; border-radius: 6px; color: var(--text-muted); background: var(--white); font-size: .46rem; }
.mini-stats b { color: var(--graphite); display: block; font-size: 1rem; }
.mini-title { display: block; margin: 13px 0 5px; font-size: .58rem; }
.mini-appt { padding: 7px 2px; border-bottom: 1px solid #2d332d; display: grid; grid-template-columns: 39px 1fr; align-items: center; gap: 4px; font-size: .53rem; }
.mini-appt time { color: #c5cbc5; }
.mini-appt span { padding-left: 7px; border-left: 2px solid #d38b70; }
.mini-appt b { display: block; }
.hand-note { position: absolute; right: 22px; bottom: 40px; z-index: 2; color: white; font-size: .92rem; font-style: italic; transform: rotate(-8deg); }

.section-heading { max-width: 680px; margin-bottom: 42px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading > p:last-child { color: var(--text-muted); }
.how { background: var(--white); }
.steps { display: grid; gap: 1px; background: var(--border); }
.step { padding: 27px 10px; position: relative; background: var(--white); text-align: center; }
.step-number { width: 31px; height: 31px; position: absolute; left: 8px; top: 26px; border-radius: 50%; color: white; background: var(--olive); display: grid; place-items: center; font-size: .75rem; font-weight: 800; box-shadow: 0 7px 18px rgba(70,83,63,.25); }
.step-icon { height: 42px; color: var(--green-dark); display: block; font-size: 2rem; }
.step h3 { margin: 12px 0 7px; font-size: 1.05rem; }
.step p { max-width: 260px; margin: 0 auto; color: var(--text-muted); font-size: .85rem; }

.profile-feature { background: var(--cream); }
.feature-grid { display: grid; gap: 45px; align-items: center; }
.profile-phone { width: min(100%, 315px); margin-inline: auto; position: relative; }
.profile-cover { height: 110px; background-size: cover; background-position: center; }
.profile-avatar { width: 76px; height: 76px; margin: -40px 0 8px 17px; position: relative; border: 4px solid var(--white); border-radius: 50%; object-fit: cover; }
.profile-content { padding: 0 16px 16px; }
.profile-content h3 { margin-bottom: 1px; font-size: 1.05rem; }
.profile-content > p { margin-bottom: 5px; font-size: .7rem; }
.profile-content .rating { margin: 6px 0 10px; font-size: .63rem; font-weight: 700; }
.rating span { color: #e89b12; }
.rating small { color: var(--text-muted); }
.profile-content .bio { line-height: 1.45; }
.socials { margin: 10px 0; display: flex; gap: 13px; font-weight: 800; }
.profile-content h4 { margin: 11px 0 7px; font-size: .7rem; }
.service-list { margin-bottom: 10px; display: grid; gap: 5px; }
.service-list > div { padding: 7px 9px; border: 1px solid var(--border); border-radius: 6px; display: flex; justify-content: space-between; align-items: center; font-size: .6rem; }
.service-list b, .service-list small { display: block; }
.service-list small { color: var(--text-muted); }
.feature-copy > p:not(.eyebrow) { max-width: 520px; color: var(--text-muted); }
.check-list { margin: 30px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.check-list span { width: 28px; color: var(--green-dark); font-size: 1.2rem; text-align: center; }
.agenda-card { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-soft); }
.agenda-head { margin-bottom: 14px; display: flex; justify-content: space-between; }
.agenda-head span, .agenda-head small { display: block; }
.agenda-head span { font-weight: 800; }
.agenda-head small { color: var(--text-muted); font-size: .68rem; }
.agenda-list { margin-bottom: 13px; }
.agenda-row { min-height: 53px; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 48px 8px 1fr; align-items: center; gap: 9px; font-size: .72rem; }
.agenda-row time { color: var(--text-muted); }
.agenda-row b, .agenda-row small { display: block; }
.agenda-row small { color: var(--text-muted); }
.status-dot { width: 3px; height: 28px; border-radius: 3px; background: #c98265; }
.agenda-row.free { border-radius: 7px; background: var(--olive-soft); }
.agenda-row.free .status-dot { background: var(--olive); }

.history { color: var(--white); background: var(--graphite); }
.history-grid { display: grid; gap: 35px; align-items: center; }
.history-copy > p:not(.eyebrow) { max-width: 570px; color: #bec4bd; }
.note-card { margin-top: 28px; padding: 22px; border: 1px solid #353a35; border-radius: var(--radius); background: #202320; }
.note-card > div:first-child { display: flex; justify-content: space-between; gap: 15px; color: #abb1aa; font-size: .75rem; }
.note-card strong { color: var(--white); }
.note-card > p { margin: 18px 0; font-size: .9rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-row span { padding: 7px 10px; border-radius: 20px; color: #d8ddd7; background: #2c312c; font-size: .66rem; }
.portfolio-card { aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: #2c302c; box-shadow: 0 20px 50px rgba(0,0,0,.35); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3px; }
.portfolio-item { min-width: 0; min-height: 0; margin: 0; aspect-ratio: 1; overflow: hidden; background: #242724; }
.portfolio-item img { width: 200%; max-width: none; height: 200%; object-fit: cover; display: block; }
.portfolio-item-right img { transform: translateX(-50%); }
.portfolio-item-left img { transform: translateY(-50%); }
.portfolio-item-back img { transform: translate(-50%, -50%); }

.control { background: var(--white); }
.control-grid { display: grid; gap: 14px; }
.control-card { min-height: 245px; padding: 25px; border: 1px solid var(--border); border-radius: var(--radius); position: relative; background: var(--cream); }
.control-icon { width: 43px; height: 43px; margin-bottom: 38px; border-radius: 10px; color: var(--white); background: var(--green-dark); display: grid; place-items: center; font-size: 1.3rem; }
.control-card p { margin-bottom: 5px; color: var(--text-muted); font-size: .82rem; }
.control-card strong { display: block; margin-bottom: 8px; font-size: 1.45rem; letter-spacing: -.04em; }
.control-card small { color: var(--text-muted); }
.plus-badge { padding: 5px 8px; position: absolute; top: 20px; right: 20px; border-radius: 20px; color: var(--olive); background: var(--olive-soft); font-size: .58rem; font-weight: 800; letter-spacing: .06em; }

.audiences { background: var(--cream); }
.audience-grid { display: grid; gap: 16px; }
.audience-card { min-height: 340px; padding: 34px 28px; border-radius: var(--radius); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.audience-card.light { border: 1px solid var(--border); background: var(--white); }
.audience-card.dark { color: var(--white); background: linear-gradient(135deg, #1b1e1b, #40503b); }
.audience-card h2 { max-width: 470px; font-size: clamp(2rem, 5vw, 3rem); }
.audience-card > p:not(.eyebrow) { max-width: 480px; color: var(--text-muted); }
.audience-card.dark > p:not(.eyebrow) { color: #cdd2cc; }
.text-link { margin-top: 18px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: .85rem; font-weight: 800; }

.pricing { color: var(--white); background: var(--graphite); }
.pricing-intro { max-width: 610px; margin-bottom: 42px; }
.pricing-intro > p:last-child { color: #b9beba; }
.pricing-periods { width: fit-content; max-width: 100%; margin: -20px 0 34px; padding: 4px; border: 1px solid #3b403b; border-radius: 12px; display: flex; gap: 3px; overflow-x: auto; background: #222622; }
.pricing-periods button { min-width: 92px; min-height: 45px; padding: 7px 14px; border: 0; border-radius: 8px; color: #c4cac3; background: transparent; font-size: .76rem; font-weight: 800; cursor: pointer; white-space: nowrap; }
.pricing-periods button small { display: block; font-size: .55rem; font-weight: 600; }
.pricing-periods button.active { color: var(--graphite); background: var(--white); }
.pricing-grid { display: grid; gap: 15px; }
.price-card { min-height: 405px; padding: 27px; border: 1px solid #353a35; border-radius: var(--radius); position: relative; color: var(--graphite); background: var(--white); display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid #9aad8e; transform: none; }
.popular { padding: 6px 15px; position: absolute; top: -14px; left: 50%; border-radius: 20px; color: var(--white); background: var(--olive); font-size: .65rem; font-weight: 800; transform: translateX(-50%); }
.price-card > p { margin-bottom: 7px; font-size: .8rem; font-weight: 700; }
.price { margin-bottom: 2px; display: flex; align-items: baseline; gap: 4px; }
.price strong { font-size: 2.2rem; letter-spacing: -.06em; }
.price span, .price small, .price-card > small { color: var(--text-muted); font-size: .7rem; }
.period-benefit { width: fit-content; margin: 7px 0 2px; padding: 5px 9px; border-radius: 20px; color: var(--green-dark); background: var(--olive-soft); font-size: .62rem; font-weight: 800; }
.studio-extra { margin-top: 4px; }
.directory-rule { margin: 0 0 18px; color: var(--olive); font-size: .7rem; font-weight: 800; }
.price-card ul { margin: 25px 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: .78rem; }
.price-card li { display: flex; gap: 9px; }
.price-card li span { color: var(--olive); font-weight: 900; }
.price-card .button { margin-top: auto; }
.whatsapp-note { margin: 26px 0 0; color: #b9beba; font-size: .78rem; text-align: center; }

.final-cta { padding: 90px 0; color: var(--white); background: linear-gradient(110deg, rgba(24,26,24,.95), rgba(70,83,63,.89)), url('../img/demo/hero-barber.png') center 45% / cover; }
.final-cta-inner { max-width: 760px; margin-inline: auto; text-align: center; }
.final-cta h2 { font-size: clamp(2.5rem, 8vw, 4.5rem); }
.final-cta p:not(.eyebrow) { color: #d4d8d3; }
.final-cta .button { margin-top: 18px; }
.site-footer { padding: 44px 0; color: #c4c9c3; background: #101210; }
.footer-inner { display: grid; gap: 28px; text-align: center; }
.footer-inner .brand { justify-content: center; color: var(--white); }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; font-size: .78rem; }
.footer-inner p { margin: 0; font-size: .7rem; }
.error-page { min-height: 100vh; padding: 30px; background: var(--cream); display: grid; place-items: center; }
.error-card { max-width: 520px; padding: 45px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.error-card .eyebrow { margin-top: 45px; }
.error-card p:not(.eyebrow) { color: var(--text-muted); }
.error-card .button { margin-top: 10px; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

@media (min-width: 560px) {
    .button-row { flex-direction: row; }
    .quick-benefits { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .control-grid { grid-template-columns: repeat(3, 1fr); }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: center; }
    .price-card.featured { transform: translateY(-10px); }
}

@media (min-width: 820px) {
    .container { width: min(calc(100% - 64px), var(--container)); }
    .section { padding: 105px 0; }
    .menu-toggle { display: none; }
    .site-nav { min-height: 0; padding: 0; position: static; background: transparent; display: flex; flex-direction: row; align-items: center; gap: clamp(12px, 2vw, 28px); }
    .site-nav > a:not(.button) { padding: 8px 0; font-size: .74rem; font-weight: 600; }
    .nav-divider { width: 1px; height: 27px; }
    .hero-grid { min-height: 670px; grid-template-columns: 48% 52%; align-items: stretch; }
    .hero-copy { padding: 105px 24px 70px 0; align-self: center; }
    .hero h1 { font-size: clamp(4rem, 6vw, 5.4rem); }
    .hero-visual { min-height: 670px; margin-right: calc((100vw - min(calc(100vw - 64px), var(--container))) / -2); }
    .hero-visual > img { object-position: 61% center; }
    .phone-dashboard { width: 225px; left: 20px; bottom: -38px; }
    .hand-note { right: 12%; bottom: 18%; }
    .steps { margin-inline: 40px; }
    .step { padding: 30px; }
    .step-number { left: 18px; }
    .feature-grid { grid-template-columns: 1fr 1.1fr; gap: 85px 9%; }
    .profile-phone { width: 320px; transform: rotate(-2deg); }
    .agenda-card { width: 360px; justify-self: end; }
    .agenda-copy { grid-column: 1; grid-row: 2; }
    .agenda-card { grid-column: 2; grid-row: 2; justify-self: start; }
    .history-grid { grid-template-columns: 1fr .82fr; gap: 9%; }
    .portfolio-card { transform: rotate(2deg); }
    .audience-grid { grid-template-columns: 1fr 1fr; }
    .audience-card { padding: 55px; }
    .pricing-intro { text-align: left; }
    .footer-inner { grid-template-columns: 1fr auto; align-items: center; text-align: left; }
    .footer-inner .brand { justify-content: flex-start; }
    .footer-inner p { grid-column: 1 / -1; }
}

@media (min-width: 1100px) {
    .header-inner { min-height: 80px; }
    .hero-grid { min-height: 720px; }
    .hero-visual { min-height: 720px; }
    .profile-feature { padding-block: 125px; }
    .feature-grid { grid-template-columns: .85fr 1fr .82fr; gap: 90px 5%; }
    .profile-phone { grid-row: 1; grid-column: 1; }
    .feature-copy { grid-row: 1; grid-column: 2 / 4; }
    .agenda-card { grid-row: 2; grid-column: 2; justify-self: stretch; width: auto; }
    .agenda-copy { grid-row: 2; grid-column: 3; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}
