/* ============================================================
   BARBEARIA DOM QUIXOTE — Link na bio (estilo 23barbearia)
   Paleta: Preto + Vermelho + Dourado/Bronze
   Mobile-first · coluna única
   ============================================================ */

:root {
  --red: #E40107;
  --red-deep: #b60005;
  --white: #FFFFFF;
  --wine: #480004;
  --gold: #CEA17C;
  --gold-hi: #e7c9a8;
  --black: #000000;

  --bg: #070505;
  --panel: #141010;
  --panel-2: #1b1515;
  --line: rgba(206, 161, 124, 0.28);
  --line-soft: rgba(255, 255, 255, 0.08);
  --txt: #f3efec;
  --txt-dim: #b3a9a4;
  --txt-mut: #7d7370;

  --wa: #25D366;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --col: 460px;

  --f-display: 'Oswald', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--f-body);
  color: var(--txt);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(120% 60% at 50% -8%, rgba(228, 1, 7, 0.16), transparent 60%),
    radial-gradient(90% 50% at 50% 108%, rgba(206, 161, 124, 0.10), transparent 60%),
    var(--bg);
  min-height: 100vh;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
svg { display: block; }

/* ---------- Layout: coluna única ---------- */
.bio {
  width: 100%;
  max-width: var(--col);
  margin-inline: auto;
  padding: 40px 20px calc(120px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* ---------- Perfil ---------- */
.profile { text-align: center; }

.profile__logo {
  width: 100%;
  max-width: 320px;
  margin: 8px auto 16px;
}

.profile__tag {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.profile__rating {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  color: var(--txt-dim);
}
.profile__rating strong { color: var(--txt); font-weight: 700; }
.profile__rating-sub { color: var(--txt-mut); }

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; fill: var(--gold); }

/* ---------- Ornamento divisor ---------- */
.ornament {
  display: block;
  height: 22px;
  margin: 26px auto;
  width: 180px;
  background: no-repeat center /
    contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='22' viewBox='0 0 180 22'%3E%3Cg fill='none' stroke='%23CEA17C' stroke-width='1.3'%3E%3Cpath d='M2 11h60M118 11h60'/%3E%3Cpath d='M70 11c4-6 10-6 12 0s-8 6-4 0M110 11c-4-6-10-6-12 0s8 6 4 0'/%3E%3C/g%3E%3Ccircle cx='90' cy='11' r='3.4' fill='%23E40107'/%3E%3C/svg%3E");
  opacity: 0.9;
}

/* ---------- Bloco / seção ---------- */
.block { margin-top: 30px; }
.block__title {
  font-family: var(--f-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1.02rem;
  color: var(--txt);
  text-align: center;
  margin-bottom: 16px;
}
.block__title::after {
  content: "";
  display: block;
  width: 34px; height: 2px;
  margin: 9px auto 0;
  background: var(--red);
  border-radius: 2px;
}

/* ---------- Vídeos (grid vertical estilo 23barbearia) ---------- */
.videos__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-inline: -4px; }
.vtile {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line-soft);
}
.vtile video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Badges de app (App Store + Google Play) ---------- */
.app-badges { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.app-badge { display: inline-block; transition: transform .2s var(--ease); }
.app-badge:hover, .app-badge:focus-visible { transform: translateY(-2px); outline: none; }
.app-badge img { height: 52px; width: auto; display: block; }
.app-badge img[src*="google-play"] { height: 64px; margin: -6px 0; }

/* ---------- Fotos (faixa horizontal) ---------- */
.photos__strip {
  display: flex; gap: 10px;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  margin-inline: -4px; padding: 2px 4px;
}
.photos__strip::-webkit-scrollbar { display: none; }
.photos__item {
  flex: 0 0 auto;
  width: 210px; aspect-ratio: 3 / 4;
  border-radius: 14px; overflow: hidden;
  scroll-snap-align: center;
  border: 1px solid var(--line-soft);
}
.photos__item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Como chegar — cards com a logo ---------- */
.loc-card {
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}
.loc-card__bg { text-align: center; margin: 2px 0 14px; }
.loc-card__bg img { height: 64px; width: auto; display: inline-block; object-fit: contain; }
.loc-card__body { width: 100%; }
.loc-card__brand { display: flex; align-items: center; gap: 11px; }
.loc-card__name { font-family: var(--f-display); text-transform: uppercase; line-height: 1; }
.loc-card__name .u { display: block; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.24em; color: var(--txt-dim); margin-bottom: 3px; }
.loc-card__name .n { display: block; font-size: 1.5rem; font-weight: 700; color: var(--gold-hi); }
.loc-card__addr { color: var(--txt-mut); font-size: 0.8rem; margin: 9px 0 12px; }
.loc-card__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.loc-card .lk--sm { background: var(--panel-2); }

/* ---------- Feedbacks — cards placeholder ---------- */
.reviews__strip {
  display: flex; gap: 10px; margin: 14px 0;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  margin-inline: -4px; padding: 2px 4px;
}
.reviews__strip::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 auto; width: 240px;
  scroll-snap-align: center;
  background: var(--panel); border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.review-card__stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; }
.review-card__text { color: var(--txt-dim); font-size: 0.9rem; flex: 1; font-style: italic; }
.review-card__foot { display: flex; align-items: center; gap: 10px; }
.review-card__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--wine); color: var(--txt);
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 600;
}
.review-card__meta { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.review-card__name { font-size: 0.85rem; font-weight: 600; color: var(--txt); }
.review-card__date { font-size: 0.72rem; color: var(--txt-mut); }

/* ---------- Botão de link (linktree) ---------- */
.lk {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 15px 18px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--txt);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.lk:hover, .lk:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: var(--panel-2);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45);
  outline: none;
}
.lk:active { transform: translateY(0); }

.lk__ic {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  display: grid; place-items: center;
  color: var(--gold);
}
.lk__ic svg { width: 22px; height: 22px; }
.lk__txt { flex: 1; }

/* variante primária (vermelho) */
.lk--primary {
  background: linear-gradient(180deg, var(--red), var(--red-deep));
  border-color: transparent;
  color: #fff;
  font-size: 1.06rem;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(228, 1, 7, 0.32);
}
.lk--primary .lk__ic { color: #fff; }
.lk--primary:hover, .lk--primary:focus-visible {
  border-color: transparent;
  background: linear-gradient(180deg, #ff1a20, var(--red));
  box-shadow: 0 16px 38px rgba(228, 1, 7, 0.42);
}

/* ---------- Ações pequenas (usadas nos cards de unidade) ---------- */
.lk--sm {
  margin-bottom: 0;
  padding: 11px 12px;
  border-radius: 11px;
  font-size: 0.88rem;
  justify-content: center;
  gap: 8px;
  background: var(--panel-2);
}
.lk--sm .lk__ic { width: 18px; height: 18px; }
.lk--sm .lk__ic svg { width: 17px; height: 17px; }
.lk--sm .lk__txt { flex: 0 1 auto; }

/* CTA de agendamento — verde WhatsApp preenchido (destaque e conversão) */
.loc-card .lk--wa,
.lk--wa {
  background: linear-gradient(180deg, #2fe071, var(--wa));
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}
.lk--wa .lk__ic { color: #fff; }
.lk--wa .lk__ic svg { fill: #fff; }
.loc-card .lk--wa:hover, .loc-card .lk--wa:focus-visible,
.lk--wa:hover, .lk--wa:focus-visible {
  border-color: transparent;
  background: linear-gradient(180deg, #3ceb7d, #22c65e);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
}

/* ---------- Feedbacks ---------- */
.feedbacks {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.feedbacks__score { text-align: center; flex: 0 0 auto; }
.feedbacks__score strong {
  display: block;
  font-family: var(--f-display);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--white);
}
.feedbacks__score .stars { margin-top: 4px; }
.feedbacks__score .stars svg { width: 13px; height: 13px; }
.feedbacks__txt { font-size: 0.86rem; color: var(--txt-dim); }
.feedbacks__txt strong { color: var(--txt); }

/* ---------- Redes sociais ---------- */
.socials {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.social {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.social svg { width: 24px; height: 24px; fill: var(--txt); }
.social:hover, .social:focus-visible { transform: translateY(-3px); border-color: var(--gold); outline: none; }
.social--ig:hover svg { fill: var(--gold); }
.social--wa svg { fill: var(--wa); }

/* ---------- Footer ---------- */
.bio__footer {
  text-align: center;
  margin-top: 34px;
  color: var(--txt-mut);
  font-size: 0.78rem;
}
.bio__footer-sub { margin-top: 4px; letter-spacing: 0.04em; }
.bio__footer-info {
  list-style: none;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 5px;
  font-size: 0.76rem; line-height: 1.5;
}
.bio__footer-info a { color: var(--txt-dim); text-decoration: none; }
.bio__footer-info a:hover { color: var(--gold-hi); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), 0 0 0 6px rgba(37, 211, 102, 0.14);
  z-index: 40;
  transition: transform .2s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: scale(1.06); }

/* ============================================================
   MODAL DE CAPTURA
   ============================================================ */
.modal {
  position: fixed; inset: 0;
  z-index: 60;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.modal.open { display: flex; }
.modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
  animation: fade .25s var(--ease);
}
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 22px 22px 0 0;
  padding: 26px 22px calc(26px + env(safe-area-inset-bottom));
  animation: slideUp .32s var(--ease);
  max-height: 92vh;
  overflow-y: auto;
}
@keyframes fade { from { opacity: 0; } }
@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } }

.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: var(--panel-2);
  color: var(--txt-dim);
  cursor: pointer;
  display: grid; place-items: center;
}
.modal__close svg { width: 18px; height: 18px; }
.modal__close:hover { color: var(--txt); border-color: var(--gold); }

.modal__eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.modal__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.05;
  margin-bottom: 6px;
}
.modal__desc { font-size: 0.9rem; color: var(--txt-dim); margin-bottom: 18px; }

/* ---------- Form ---------- */
.field { margin-bottom: 15px; border: none; }
.field__label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--txt-dim);
  margin-bottom: 7px;
}
.field__input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: var(--bg);
  color: var(--txt);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color .2s var(--ease);
}
.field__input::placeholder { color: var(--txt-mut); }
.field__input:focus { outline: none; border-color: var(--gold); }

.field.invalid .field__input { border-color: var(--red); }
.field__err {
  display: block;
  min-height: 1em;
  font-size: 0.74rem;
  color: #ff6b6b;
  margin-top: 5px;
}

.radios { display: flex; flex-wrap: wrap; gap: 9px; }
.radios--units { flex-direction: column; }
.radio {
  flex: 1;
  min-width: 90px;
  position: relative;
  cursor: pointer;
}
.radio input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio span {
  display: block;
  text-align: center;
  padding: 11px 12px;
  border-radius: 11px;
  border: 1px solid var(--line-soft);
  background: var(--bg);
  color: var(--txt-dim);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all .18s var(--ease);
}
.radios--units .radio span { text-align: left; }
.radio input:checked + span {
  border-color: var(--red);
  background: rgba(228, 1, 7, 0.10);
  color: var(--txt);
  font-weight: 600;
}
.radio input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.lead-form__submit {
  width: 100%;
  margin-top: 6px;
  padding: 15px;
  border: none;
  border-radius: 13px;
  background: var(--wa);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: filter .2s var(--ease), transform .15s var(--ease);
}
.lead-form__submit .ic-wa { width: 22px; height: 22px; fill: #fff; }
.lead-form__submit:hover { filter: brightness(1.06); }
.lead-form__submit:active { transform: scale(0.99); }

.lead-form__note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--txt-mut);
  margin-top: 12px;
}
.lead-form__note a { color: var(--gold); font-weight: 600; }

body.modal-open { overflow: hidden; }

/* ============================================================
   RESPONSIVO — telas maiores (a coluna permanece estreita e centrada)
   ============================================================ */
@media (min-width: 40em) {
  .bio { padding-top: 56px; }
  .modal { align-items: center; }
  .modal__dialog { border-radius: 22px; border-bottom: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}
