/* Rio's Barber & Beer: base, vidro (liquid glass), navegação e hero */
:root {
  --ink: #0b0a08;
  --ink-2: #15120e;
  --text: #f6f1e7;
  --muted: #b9b0a0;
  --sun: #ffd60a;        /* amarelo da marca */
  --sunset: #ff7a1a;     /* pôr do sol no Arpoador */
  --sea: #19b7c4;        /* mar da Barra */
  --wood: #8a4a22;
  --glass: rgba(255, 255, 255, .08);
  --glass-hi: rgba(255, 255, 255, .34);
  --line: rgba(255, 255, 255, .16);
  --r: 28px;
  --wrap: 1180px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --label: "Bebas Neue", Impact, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased;
  overflow-x: hidden; padding-bottom: env(safe-area-inset-bottom);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 8px; }

/* Céu de fundo: manchas de cor que o vidro refrata */
.sky { position: fixed; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(120% 80% at 50% -10%, #241a10 0%, var(--ink) 60%); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.b1 { width: 46vw; height: 46vw; left: -12vw; top: -10vw; background: var(--sunset); animation: drift 26s ease-in-out infinite alternate; }
.b2 { width: 40vw; height: 40vw; right: -10vw; top: 30vh; background: var(--sea); opacity: .38; animation: drift 32s ease-in-out infinite alternate-reverse; }
.b3 { width: 34vw; height: 34vw; left: 30vw; bottom: -16vw; background: var(--sun); opacity: .22; animation: drift 38s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(6vw, 8vh, 0) scale(1.15); } }

/* Liquid glass */
.glass {
  position: relative; isolation: isolate;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 45%, rgba(255,255,255,.09));
  -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: inset 0 1px 0 var(--glass-hi), inset 0 -1px 0 rgba(255,255,255,.06),
    inset 0 0 22px rgba(255,255,255,.04), 0 24px 60px -20px rgba(0,0,0,.6);
}
.glass::before { /* reflexo especular no topo */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(120% 60% at 12% 0%, rgba(255,255,255,.22), transparent 55%);
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 16px/1 var(--body); letter-spacing: .01em; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-sun { color: #171204; background: linear-gradient(180deg, #ffe45c, var(--sun) 55%, #f2b705);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 30px -8px rgba(255,214,10,.55); }
.btn-glass { color: var(--text); background: rgba(255,255,255,.1); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%);
  box-shadow: inset 0 1px 0 var(--glass-hi); }
.btn-glass:hover { background: rgba(255,255,255,.17); }

/* Navegação flutuante */
.nav {
  position: fixed; z-index: 50; top: 14px; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 28px), var(--wrap)); height: 68px; padding: 0 12px 0 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 999px;
  transition: background .3s ease;
}
.nav.is-scrolled { background: linear-gradient(135deg, rgba(20,17,13,.72), rgba(20,17,13,.5)); }
.brand { display: flex; align-items: center; gap: 18px; }
.brand-morros { height: 46px; width: auto; }
.brand-nome { height: 40px; width: auto; }
.brand-mark { width: 46px; height: 22px; fill: none; stroke: var(--sun); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font: 400 28px/0.8 var(--label); letter-spacing: .06em; display: grid; }
.brand-name small { font: 600 9.500px/1 var(--body); letter-spacing: .26em; text-transform: uppercase; color: var(--sun); margin-top: 4px; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.1); }

/* Hero */
.hero {
  width: min(calc(100% - 40px), var(--wrap)); margin: 0 auto; min-height: 100svh;
  padding: 128px 0 64px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center;
}
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 400 19px/1 var(--label); letter-spacing: .14em; color: var(--sun); margin-bottom: 22px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.is-open { background: #39e58c; box-shadow: 0 0 0 0 rgba(57,229,140,.7); animation: pulse 2s infinite; }
.dot.is-closed { background: #ff6b5e; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(57,229,140,0); } 100% { box-shadow: 0 0 0 0 rgba(57,229,140,0); } }
h1 { font: 800 clamp(44px, 6.400vw, 86px)/.96 var(--display); letter-spacing: -.035em; text-wrap: balance; }
h1 em { font-style: normal; color: var(--sun); }
.lead { margin-top: 24px; max-width: 34em; font-size: 19px; color: #ddd5c6; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stats { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 20px 8px; }
.stats li { padding: 0 16px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats strong { display: block; font: 800 clamp(26px, 2.800vw, 36px)/1 var(--display); letter-spacing: -.02em; color: var(--sun); font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 6px; font-size: 13.500px; line-height: 1.3; color: var(--muted); }

.hero-art { position: relative; justify-self: end; width: min(100%, 440px); }
.hero-photo { border-radius: 220px 220px 36px 36px; overflow: hidden; aspect-ratio: 3 / 4.300; border: 1px solid var(--line);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 10px rgba(255,255,255,.04); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.chip { position: absolute; padding: 14px 18px; border-radius: 20px; display: grid; gap: 2px; animation: float 7s ease-in-out infinite; }
.chip b { font: 700 16px/1.200 var(--display); }
.chip span { font-size: 13px; color: #e2dacb; }
.chip-a { left: -44px; top: 34%; }
.chip-b { right: -22px; bottom: 15%; animation-delay: -3.500s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero-neon { position: absolute; left: -64px; bottom: -34px; width: 150px; height: 150px; object-fit: cover; object-position: 50% 50%;
  border-radius: 32px; border: 1px solid var(--line); box-shadow: 0 20px 50px -14px rgba(255,214,10,.35); transform: rotate(-6deg); }

/* Faixa em movimento */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255,214,10,.95); color: #171204; transform: rotate(-1.200deg) scale(1.03); margin: 8px 0 40px; }
.ticker-track { display: flex; width: max-content; animation: slide 30s linear infinite; }
.ticker span { font: 400 26px/1 var(--label); letter-spacing: .08em; padding: 14px 26px; display: flex; align-items: center; gap: 52px; }
.ticker span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #171204; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Seções */
.section { width: min(calc(100% - 40px), var(--wrap)); margin: 0 auto; padding: 84px 0; }
.head { max-width: 720px; margin-bottom: 40px; }
.eyebrow { font: 400 19px/1 var(--label); letter-spacing: .16em; color: var(--sun); margin-bottom: 14px; }
h2 { font: 800 clamp(34px, 4.400vw, 58px)/1 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.head p:not(.eyebrow) { margin-top: 18px; color: #d3cabb; font-size: 18px; }
h3 { font: 700 22px/1.150 var(--display); letter-spacing: -.01em; }
.center { text-align: center; margin-top: 32px; }
.fine { margin-top: 16px; font-size: 13.500px; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

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

/* Abaixo de 1180px o menu não cabe ao lado da logo: some, e o nome vai para o centro com os morros à esquerda */
@media (max-width: 1180px) {
  .nav-links { display: none; }
  .nav { height: 80px; }
  .brand { flex: 1; min-width: 0; }
  .brand-morros { height: 52px; }
  .brand-nome { height: 46px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
}

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-top: 112px; min-height: 0; }
  .hero-art { justify-self: center; width: min(78%, 360px); }
  .chip-a { left: -30px; } .chip-b { right: -26px; }
  .hero-neon { left: -40px; width: 112px; height: 112px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { height: 66px; padding: 0 8px 0 14px; top: 10px; }
  .brand-morros { height: 32px; }
  .brand-nome { height: 30px; }
  .nav .btn-sm { padding: 0 14px; font-size: 14px; }
  .nav .wa { display: none; }
  .hero { width: calc(100% - 32px); padding-top: 96px; }
  .lead { font-size: 17px; }
  .actions .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr 1fr; gap: 18px 0; padding: 18px 4px; }
  .stats li:nth-child(3) { border-left: 0; }
  .section { width: calc(100% - 32px); padding: 60px 0; }
  .ticker span { font-size: 21px; padding: 11px 18px; gap: 36px; }
  .chip { padding: 10px 13px; } .chip b { font-size: 14px; } .chip span { font-size: 12px; }
}
