/* KEYD · Xodó Cabelo e Estética. Cores e fontes vêm de cliente.js (--p --e --f --s --ft --fx) */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--f); color: var(--e); font-family: var(--fx); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.ico { width: 20px; height: 20px; flex: none; --a: var(--p); }
.ico .a { stroke: var(--a); }
.ico .f { fill: var(--a); stroke: none; }
.dark .ico, .btn .ico, .resumo .ico, .selo .ico, .pn-top .ico { --a: color-mix(in srgb, var(--p) 45%, #fff); }
.btn-p .ico, .btn-light .ico, .final .ico, .hora.on .ico, .selo-ok .ico, .wa-float .ico { --a: currentColor; }
.ico-base { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--s); color: var(--e); flex: none; }
.ico-base .ico { width: 24px; height: 24px; }
h1, h2, h3 { font-family: var(--ft); font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; }
h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 500; }
h2 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 500; margin-bottom: 16px; }
h3 { font-size: 24px; }
h1 em, h2 em { font-style: italic; color: var(--p); }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--p); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.lead { font-size: 17px; opacity: .78; max-width: 540px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--e); color: #fff; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s, opacity .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-p { background: var(--p); }
.btn-ghost { background: transparent; color: var(--e); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--e) 25%, transparent); }
.btn-light { background: #fff; color: var(--e); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn[disabled] { opacity: .35; pointer-events: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* navegação */
.nav { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--f) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--e) 8%, transparent); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 44px; height: 44px; border-radius: 50%; mix-blend-mode: multiply; }
.logo span { font-family: var(--ft); font-size: 26px; font-weight: 600; font-style: italic; }
.logo small { display: block; font-family: var(--fx); font-style: normal; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; opacity: .6; margin-top: -4px; }
.nav nav { display: flex; gap: 26px; margin-left: auto; font-size: 14px; }
.nav nav a { text-decoration: none; opacity: .7; }
.nav nav a:hover, .nav nav a.on { opacity: 1; }

/* topo */
.hero { padding: 48px 0 90px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .sub { font-size: 18px; opacity: .78; max-width: 500px; margin-top: 22px; }
.rating { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; margin-top: 34px; }
.rating b { font-family: var(--ft); font-size: 34px; font-weight: 600; line-height: 1; }
.stars { color: #D49A2A; letter-spacing: 2px; }
.hero-fotos { position: relative; height: 560px; }
.hero-fotos .f { position: absolute; border-radius: 200px 200px 24px 24px; background: var(--s) center/cover; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.hero-fotos .f1 { inset: 0 70px 40px 40px; }
.hero-fotos .f2 { width: 46%; height: 52%; right: 0; bottom: 0; border-radius: 24px; border: 6px solid var(--f); }
.selo { position: absolute; left: 0; top: 46px; background: var(--e); color: #fff; border-radius: 18px; padding: 14px 18px; font-size: 13px; line-height: 1.4; }
.selo b { display: block; font-family: var(--ft); font-size: 22px; font-weight: 500; font-style: italic; }

/* faixas */
.sec { padding: 96px 0; }
.band { background: var(--s); }
.dark { background: var(--e); color: #fff; }
.dark .kicker { color: color-mix(in srgb, var(--p) 55%, #fff); }
.dark .lead { opacity: .7; }
.cab { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }

/* serviços */
.menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.menu-cat { background: #fff; border-radius: 22px; padding: 26px 26px 18px; }
.menu-cat h3 { font-style: italic; font-weight: 500; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.chip { display: inline-flex; align-items: center; gap: 7px; }
.chip .ico { width: 17px; height: 17px; }
.chip.on .ico { --a: color-mix(in srgb, var(--p) 45%, #fff); }
.menu-cat li { list-style: none; display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid color-mix(in srgb, var(--e) 8%, transparent); font-size: 15px; }
.menu-cat li span { opacity: .55; font-size: 13px; white-space: nowrap; }

/* galeria */
.galeria { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.galeria div { border-radius: 18px; background: var(--s) center/cover; }
.galeria div:nth-child(1) { grid-row: span 2; }
.galeria div:nth-child(4) { grid-row: span 2; }

/* sobre */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.foto-sobre { aspect-ratio: 4/5; border-radius: 24px; background: var(--s) center 20%/cover; }
.checks { list-style: none; margin: 26px 0 32px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks .ico { color: var(--p); margin-top: 3px; }
.equipe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.equipe span { background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px; }
.equipe b { font-weight: 600; }

/* avaliações */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reviews blockquote { background: color-mix(in srgb, #fff 7%, transparent); border: 1px solid color-mix(in srgb, #fff 12%, transparent); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.reviews p { flex: 1; font-family: var(--ft); font-size: 21px; line-height: 1.3; }
.reviews footer { font-size: 13px; opacity: .6; }

/* onde */
.addr { font-size: 18px; margin-top: 8px; }
.hours { width: 100%; border-collapse: collapse; background: #fff; border-radius: 22px; overflow: hidden; }
.hours th, .hours td { text-align: left; padding: 16px 24px; border-bottom: 1px solid color-mix(in srgb, var(--e) 7%, transparent); }
.hours td { text-align: right; }
.hours tr.hoje { background: color-mix(in srgb, var(--p) 10%, #fff); }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

.final { background: var(--p); color: #fff; text-align: center; padding: 96px 0; }
.final h2 { margin: 0 auto 30px; max-width: 760px; }
.foot { padding: 30px 0; font-size: 13px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; opacity: .75; }
.foot a { text-decoration: none; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 28px -8px rgba(0,0,0,.4); z-index: 25; }
.wa-float .ico { width: 26px; height: 26px; }

/* ---------- agendamento ---------- */
.ag { padding: 40px 0 90px; }
.ag-in { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.ag-in > * { min-width: 0; }
.passo { background: #fff; border-radius: 24px; padding: 26px; margin-bottom: 16px; }
.passo-t { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.passo-t i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: var(--e); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }
.passo-t h3 { font-size: 26px; font-weight: 500; }
.passo.off { opacity: .45; pointer-events: none; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { border: 0; background: var(--s); padding: 9px 16px; border-radius: 999px; cursor: pointer; font-size: 14px; font-weight: 500; }
.chip.on { background: var(--e); color: #fff; }
.opcoes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.op { text-align: left; border: 1.5px solid color-mix(in srgb, var(--e) 12%, transparent); background: #fff; border-radius: 16px; padding: 14px 16px; cursor: pointer; transition: border-color .15s, background .15s; }
.op:hover { border-color: var(--p); }
.op.on { border-color: var(--e); background: color-mix(in srgb, var(--s) 60%, #fff); }
.op b { display: block; font-weight: 600; }
.op span { font-size: 13px; opacity: .6; }
.dias { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.dia { flex: none; width: 64px; border: 1.5px solid color-mix(in srgb, var(--e) 12%, transparent); background: #fff; border-radius: 16px; padding: 10px 0; text-align: center; cursor: pointer; }
.dia small { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .6; }
.dia b { font-family: var(--ft); font-size: 26px; font-weight: 600; line-height: 1.1; }
.dia.on { background: var(--e); color: #fff; border-color: var(--e); }
.dia.cheio { opacity: .35; }
.horas { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 18px; }
.hora { border: 1.5px solid color-mix(in srgb, var(--e) 12%, transparent); background: #fff; border-radius: 12px; padding: 10px 0; cursor: pointer; font-weight: 600; font-size: 15px; }
.hora:hover { border-color: var(--p); }
.hora.on { background: var(--p); border-color: var(--p); color: #fff; }
.vazio { padding: 18px; border-radius: 14px; background: var(--s); font-size: 14px; margin-top: 18px; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.campo { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.campo.full { grid-column: 1 / -1; }
.campo input, .campo select, .campo textarea { font-weight: 400; font-size: 16px; border: 1.5px solid color-mix(in srgb, var(--e) 15%, transparent); border-radius: 12px; padding: 12px 14px; background: #fff; outline: none; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--p); }
.resumo { position: sticky; top: 92px; background: var(--e); color: #fff; border-radius: 24px; padding: 26px; }
.resumo h3 { font-size: 28px; font-weight: 500; font-style: italic; margin-bottom: 16px; }
.resumo dl { display: grid; gap: 12px; margin-bottom: 22px; }
.resumo dt { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; opacity: .55; }
.resumo dd { font-size: 16px; }
.resumo .btn { width: 100%; }
.resumo .nota { font-size: 12px; opacity: .55; margin-top: 14px; }
.erro { color: #B3261E; font-size: 14px; margin-top: 10px; }
.ok { position: relative; text-align: center; max-width: 560px; width: 100%; margin: auto; background: #fff; border-radius: 28px; padding: 44px 30px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); animation: sobe .25s ease-out; }
.pop { position: fixed; inset: 0; z-index: 60; background: rgba(27,23,24,.55); backdrop-filter: blur(3px); display: flex; padding: 16px; overflow-y: auto; animation: aparece .2s; }
.pop-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--s); font-size: 20px; line-height: 1; cursor: pointer; }
@keyframes aparece { from { opacity: 0; } }
@keyframes sobe { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.btn.aguardando[disabled] { opacity: 1; background: color-mix(in srgb, #E8A317 22%, var(--e)); color: #F6D58E; }
.ok .selo-ok { width: 64px; height: 64px; border-radius: 50%; background: var(--p); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.ok .selo-ok .ico { width: 30px; height: 30px; }
.ok dl { text-align: left; background: var(--f); border-radius: 18px; padding: 18px 22px; margin: 22px 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 15px; }
.ok dt { opacity: .55; }

@media (max-width: 920px) {
  .nav nav { display: none; }
  .nav-in .btn { margin-left: auto; }
  .hero-in, .split, .ag-in { grid-template-columns: minmax(0, 1fr); }
  .opcoes { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .passo { padding: 20px 16px; }
  .hero-fotos { height: 440px; }
  .reviews { grid-template-columns: 1fr; }
  .galeria { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .sec { padding: 68px 0; }
  .resumo { position: static; }
}
.logo small { white-space: nowrap; }
.nav-in .btn { white-space: nowrap; }
@media (max-width: 560px) {
  .so-pc { display: none; }
  .campos { grid-template-columns: 1fr; }
  .hero-fotos .f1 { inset: 0 30px 40px 0; }
  .selo { top: auto; bottom: 0; }
}
