/* Barbearia Rodrigues — camada própria sobre o Trimly (escuro).
   Cores da logo do Instagram: dourado-oliva #BDB441 sobre grafite #3F3F3F;
   preto da placa da fachada como fundo principal. */
:root {
  --rx-gold: #BDB441;
  --rx-gold-soft: rgba(189, 180, 65, .14);
  --rx-graphite: #3F3F3F;
  --rx-bg: #121212;
  --rx-bg2: #1C1C1B;
  --rx-card: #232322;
  --rx-text: #F5F5F1;
  --rx-muted: #B9B5AC;
  --rx-line: rgba(245, 245, 241, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--rx-bg); color: var(--rx-text); font-family: "Inter", sans-serif; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.rx-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.rx-serif { font-family: "Fraunces", serif; }
.rx-gold { color: var(--rx-gold); }

/* faixa de prévia */
.rx-preview { background: var(--rx-gold); color: #151515; font-size: 12.5px; line-height: 1.35; text-align: center; padding: 6px 12px; font-weight: 500; }

/* header */
.rx-header { position: sticky; top: 0; z-index: 50; background: rgba(18, 18, 18, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rx-line); }
.rx-header .rx-wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.rx-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.rx-brand img { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rx-gold); }
.rx-brand span { font-family: "Fraunces", serif; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 15px; line-height: 1.05; color: var(--rx-gold); }
.rx-brand small { display: block; font-size: 10px; letter-spacing: .32em; color: var(--rx-muted); font-family: "Inter", sans-serif; font-weight: 500; }
.rx-nav { display: flex; align-items: center; gap: 28px; }
.rx-nav a { text-decoration: none; font-size: 15px; color: var(--rx-text); font-weight: 500; }
.rx-nav a:hover { color: var(--rx-gold); }
.rx-nav .rx-nav-cta { background: var(--rx-gold); color: #151515; padding: 10px 18px; border-radius: 14px 0 14px 0; }
.rx-nav .rx-nav-cta:hover { color: #151515; filter: brightness(1.08); }
.rx-burger { display: none; background: none; border: 1px solid var(--rx-line); border-radius: 10px; width: 44px; height: 40px; color: var(--rx-text); font-size: 18px; }

@media (max-width: 860px) {
  .rx-burger { display: inline-flex; align-items: center; justify-content: center; }
  .rx-nav { position: absolute; top: 64px; left: 0; right: 0; background: var(--rx-bg); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; border-bottom: 1px solid var(--rx-line); display: none; }
  .rx-nav.open { display: flex; }
  .rx-nav a { padding: 13px 0; border-bottom: 1px solid var(--rx-line); }
  .rx-nav .rx-nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; }
}

/* botões */
.rx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; font-weight: 600; font-size: 16px; text-decoration: none; border-radius: 20px 0 20px 0; border: 1px solid var(--rx-gold); transition: all .35s ease; cursor: pointer; }
.rx-btn-solid { background: var(--rx-gold); color: #151515; }
.rx-btn-solid:hover { color: #151515; border-radius: 0 20px 0 20px; filter: brightness(1.07); }
.rx-btn-ghost { background: transparent; color: var(--rx-gold); }
.rx-btn-ghost:hover { background: var(--rx-gold); color: #151515; border-radius: 0 20px 0 20px; }

/* hero */
.rx-hero { position: relative; min-height: calc(100svh - 64px); display: flex; align-items: flex-end; overflow: hidden; }
.rx-hero::before { content: ""; position: absolute; inset: 0; background: url(../img/maps-04.jpg) center 35% / cover no-repeat; animation: rx-zoom 24s ease-in-out infinite alternate; }
.rx-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,18,.55) 0%, rgba(18,18,18,.55) 35%, rgba(18,18,18,.94) 78%, #121212 100%); }
@keyframes rx-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.rx-hero .rx-wrap { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 56px; }
.rx-kicker { display: inline-block; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--rx-gold); font-weight: 600; margin-bottom: 18px; }
.rx-hero h1 { font-family: "Fraunces", serif; font-weight: 700; font-size: clamp(40px, 7.4vw, 92px); line-height: 1.02; color: var(--rx-text); margin: 0 0 22px; max-width: 15ch; }
.rx-hero h1 em { font-style: italic; font-weight: 900; color: var(--rx-gold); }
.rx-hero p.rx-lead { font-size: clamp(16px, 2vw, 20px); line-height: 1.55; color: #DEDAD0; max-width: 560px; margin: 0 0 28px; }
.rx-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.rx-src { font-size: 12px; color: var(--rx-muted); }
.rx-ratings { display: flex; flex-wrap: wrap; gap: 10px; }
.rx-rating { display: inline-flex; align-items: center; gap: 10px; background: rgba(18,18,18,.7); border: 1px solid var(--rx-line); border-radius: 14px; padding: 9px 14px; font-size: 14px; color: var(--rx-text); }
.rx-rating strong { font-size: 20px; color: var(--rx-gold); }
.rx-rating .fa-star { color: var(--rx-gold); font-size: 12px; }

/* seções */
.rx-section { padding: 96px 0; }
.rx-alt { background: var(--rx-bg2); }
.rx-head { margin-bottom: 44px; max-width: 720px; }
.rx-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.rx-head h2 { font-family: "Fraunces", serif; font-weight: 700; font-size: clamp(32px, 5vw, 56px); line-height: 1.06; color: var(--rx-text); margin: 0 0 14px; }
.rx-head h2 em { color: var(--rx-gold); font-style: italic; }
.rx-head p { color: var(--rx-muted); font-size: 17px; line-height: 1.6; margin: 0; }

/* sobre */
.rx-about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.rx-about-imgs { position: relative; padding-bottom: 60px; }
.rx-about-imgs .a1 { border-radius: 28px 0 28px 0; aspect-ratio: 4/5; object-fit: cover; width: 82%; }
.rx-about-imgs .a2 { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3/4; object-fit: cover; border-radius: 20px 0 20px 0; border: 6px solid var(--rx-bg); }
.rx-about-text p { color: var(--rx-muted); font-size: 17px; line-height: 1.7; }
.rx-perks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.rx-perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--rx-text); line-height: 1.4; }
.rx-perks i { color: var(--rx-gold); margin-top: 3px; }

/* serviços */
.rx-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.rx-tab { background: transparent; color: var(--rx-text); border: 1px solid var(--rx-line); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 500; cursor: pointer; }
.rx-tab.on, .rx-tab:hover { background: var(--rx-gold); color: #151515; border-color: var(--rx-gold); }
.rx-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rx-svc { background: var(--rx-card); border: 1px solid var(--rx-line); border-radius: 18px; padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 8px; }
.rx-svc[hidden] { display: none; }
.rx-svc-top { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.rx-svc h3 { font-family: "Fraunces", serif; font-size: 21px; font-weight: 700; margin: 0; color: var(--rx-text); }
.rx-price { font-weight: 700; color: var(--rx-gold); font-size: 19px; white-space: nowrap; }
.rx-price small { display: block; font-size: 11px; font-weight: 500; color: var(--rx-muted); text-align: right; }
.rx-svc p { color: var(--rx-muted); font-size: 14.5px; line-height: 1.5; margin: 0; }
.rx-svc-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; gap: 10px; }
.rx-dur { font-size: 13px; color: var(--rx-muted); }
.rx-dur i { color: var(--rx-gold); margin-right: 5px; }
.rx-svc a.rx-book { font-size: 14px; font-weight: 600; color: var(--rx-gold); text-decoration: none; border: 1px solid var(--rx-gold); border-radius: 12px 0 12px 0; padding: 8px 14px; white-space: nowrap; }
.rx-svc a.rx-book:hover { background: var(--rx-gold); color: #151515; }
.rx-svc.featured { border-color: rgba(189,180,65,.55); background: linear-gradient(160deg, #2a2a20 0%, var(--rx-card) 70%); }
.rx-badge { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #151515; background: var(--rx-gold); border-radius: 6px; padding: 3px 8px; }
.rx-note { margin-top: 18px; font-size: 13px; color: var(--rx-muted); }
.rx-pacotes { margin-top: 44px; border: 1px dashed rgba(189,180,65,.5); border-radius: 22px; padding: 26px; }
.rx-pacotes h3 { font-family: "Fraunces", serif; font-size: 26px; margin: 0 0 6px; }
.rx-pacotes > p { color: var(--rx-muted); margin: 0 0 18px; font-size: 15px; }
.rx-pac-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rx-pac { background: var(--rx-card); border-radius: 14px; padding: 16px; }
.rx-pac strong { display: block; font-size: 15px; line-height: 1.3; margin-bottom: 6px; }
.rx-pac span { color: var(--rx-gold); font-weight: 700; font-size: 18px; }

/* agendar */
.rx-book-grid { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.rx-steps { list-style: none; padding: 0; margin: 0 0 26px; counter-reset: s; }
.rx-steps li { counter-increment: s; display: flex; gap: 14px; margin-bottom: 18px; color: var(--rx-muted); font-size: 15px; line-height: 1.5; }
.rx-steps li::before { content: counter(s); flex: 0 0 32px; height: 32px; border-radius: 50%; border: 1px solid var(--rx-gold); color: var(--rx-gold); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.rx-steps strong { color: var(--rx-text); display: block; }
.rx-frame-box { position: relative; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--rx-line); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.rx-frame-bar { background: var(--rx-card); color: var(--rx-muted); font-size: 12.5px; padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.rx-frame-bar b { color: var(--rx-text); font-weight: 600; }
.rx-frame-bar i { color: #5ac26b; font-size: 9px; margin-right: 6px; }
.rx-agenda { background: var(--rx-card); }
.rx-agenda-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.rx-agenda-lead { margin: 0 0 4px; color: var(--rx-muted); font-size: 14px; }
.rx-agenda-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--rx-line); border-radius: 14px; color: var(--rx-text); text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.rx-agenda-item span { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; color: var(--rx-muted); }
.rx-agenda-item strong { color: var(--rx-text); font-size: 16px; font-weight: 600; }
.rx-agenda-item i { color: var(--rx-gold); }
.rx-agenda-item:hover { border-color: var(--rx-gold); background: var(--rx-gold-soft); }
.rx-agenda-all { justify-content: center; margin-top: 8px; }

/* galeria */
.rx-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; grid-auto-flow: dense; }
.rx-gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 16px; }
.rx-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.rx-gallery figure:hover img { transform: scale(1.05); }
.rx-gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 13px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.rx-gallery .tall { grid-row: span 2; }
.rx-gallery .wide { grid-column: span 2; }
.rx-cuts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px; }
.rx-cuts img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; }
.rx-ig { margin-top: 22px; display: flex; justify-content: center; }

/* equipe */
.rx-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.rx-member { background: var(--rx-card); border: 1px solid var(--rx-line); border-radius: 18px; padding: 26px 18px; text-align: center; }
.rx-mono { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--rx-gold); color: var(--rx-gold); font-family: "Fraunces", serif; font-size: 28px; font-weight: 700; background: var(--rx-gold-soft); }
.rx-member h3 { font-family: "Fraunces", serif; font-size: 22px; margin: 0 0 4px; }
.rx-member p { color: var(--rx-muted); font-size: 14px; margin: 0; }

/* avaliações */
.rx-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rx-quote { background: var(--rx-card); border-radius: 18px; padding: 26px; border-left: 3px solid var(--rx-gold); margin: 0; }
.rx-quote blockquote { font-family: "Fraunces", serif; font-size: 21px; line-height: 1.4; margin: 0 0 14px; color: var(--rx-text); }
.rx-quote figcaption { font-size: 13px; color: var(--rx-muted); }
.rx-quote figcaption i { color: var(--rx-gold); margin-right: 6px; }

/* contato */
.rx-contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; align-items: stretch; }
.rx-info { list-style: none; padding: 0; margin: 0 0 24px; }
.rx-info li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--rx-line); font-size: 16px; line-height: 1.5; }
.rx-info i { color: var(--rx-gold); width: 20px; margin-top: 4px; }
.rx-info small { display: block; color: var(--rx-muted); font-size: 13px; }
.rx-map { border-radius: 20px; overflow: hidden; min-height: 380px; border: 1px solid var(--rx-line); }
.rx-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.3) contrast(1.05); }
.rx-pay { font-size: 14px; color: var(--rx-muted); line-height: 1.6; }

/* rodapé */
.rx-footer { border-top: 1px solid var(--rx-line); padding: 40px 0 110px; text-align: center; }
.rx-footer img { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 12px; border: 1px solid var(--rx-gold); }
.rx-footer p { color: var(--rx-muted); font-size: 13px; margin: 6px 0; }
.rx-footer .rx-social { display: flex; justify-content: center; gap: 14px; margin: 14px 0; }
.rx-footer .rx-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--rx-line); display: inline-flex; align-items: center; justify-content: center; color: var(--rx-gold); text-decoration: none; }

/* barra fixa mobile */
.rx-sticky { display: none; }
@media (max-width: 860px) {
  .rx-sticky { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(18,18,18,.95); border-top: 1px solid var(--rx-line); }
  .rx-sticky a { min-height: 48px; font-size: 15px; padding: 0 10px; }
}

@media (max-width: 991px) {
  .rx-about, .rx-book-grid, .rx-contact { grid-template-columns: 1fr; }
  .rx-pac-grid { grid-template-columns: repeat(2, 1fr); }
  .rx-team { grid-template-columns: repeat(2, 1fr); }
  .rx-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .rx-cuts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .rx-section { padding: 68px 0; }
  .rx-services, .rx-quotes { grid-template-columns: 1fr; }
  .rx-perks { grid-template-columns: 1fr; }
  .rx-hero .rx-wrap { padding-bottom: 36px; }
  .rx-hero-ctas .rx-btn { flex: 1 1 100%; }
  .rx-pacotes { padding: 20px 16px; }
  .rx-gallery { grid-auto-rows: 160px; gap: 8px; }
  .rx-gallery .wide { grid-column: span 2; }
  .rx-quote blockquote { font-size: 19px; }
  .rx-brand span { font-size: 13px; }
}

/* ajustes pós-QA */
.rx-frame-back { background: none; border: 1px solid var(--rx-gold); color: var(--rx-gold); border-radius: 10px; padding: 4px 10px; font-size: 12.5px; cursor: pointer; }
.rx-frame-back[hidden], #rxVia[hidden] { display: none; }
@media (max-width: 640px) {
  .rx-services { gap: 10px; }
  .rx-svc { padding: 15px 16px 14px; gap: 5px; }
  .rx-svc h3 { font-size: 19px; }
  .rx-svc p { font-size: 13.5px; }
  .rx-svc-foot { margin-top: 2px; }
  .rx-svc a.rx-book { padding: 7px 14px; }
  .rx-kicker { font-size: 11.5px; letter-spacing: .18em; }
}
.rx-book-grid { grid-template-columns: 400px 1fr; }
#agendar .rx-head h2 { font-size: clamp(32px, 4vw, 46px); }
.rx-reels { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 12px; margin-top: 12px; align-items: stretch; }
.rx-reels figure { margin: 0; position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 9/16; background: #000; }
.rx-reels video { width: 100%; height: 100%; object-fit: cover; display: block; }
.rx-reels figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: 12px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.rx-reels-txt { display: flex; flex-direction: column; justify-content: center; padding: 10px 18px; }
.rx-reels-txt h3 { font-size: 30px; line-height: 1.15; margin: 0 0 10px; }
.rx-reels-txt p { color: var(--rx-muted); font-size: 15px; line-height: 1.6; margin: 0; }
@media (max-width: 991px) { .rx-book-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .rx-reels { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rx-reels-txt { grid-column: 1 / -1; grid-row: 1; padding: 18px 2px 6px; }
  .rx-reels-txt h3 { font-size: 24px; }
}
