/* ==========================================================================
   CB Bebidas
   ========================================================================== */
:root {
  --red: #981115;
  --red-bright: #e31e24;
  --red-dark: #5c0a0c;
  --night: #140405;
  --yellow: #ffca02;
  --yellow-dark: #e6b400;
  --cream: #fff8e6;
  --text: #2a1a1a;
  --muted: #6b5a5a;
  --white: #ffffff;
  --whatsapp: #25d366;
  --container: 1180px;
  --radius: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
}

.eyebrow--red {
  color: var(--red-bright);
}

section[id] {
  scroll-margin-top: 80px;
}

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 0;
  border-radius: 50px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn--lg {
  padding: 17px 32px;
  font-size: 18px;
}

.btn--yellow {
  background: var(--yellow);
  color: var(--red-dark);
}

.btn--yellow:hover {
  background: var(--yellow-dark);
}

.btn--whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .3);
}

.btn--whatsapp:hover {
  background: #1ebe5a;
}

.btn--red {
  background: var(--red);
  color: var(--white);
}

.btn--red:hover {
  background: var(--red-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5);
}

.btn--pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 202, 2, .65); }
  70% { box-shadow: 0 0 0 14px rgba(255, 202, 2, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 202, 2, 0); }
}

/* ==========================================================================
   Confirmação de idade
   ========================================================================== */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 4, 5, .92);
  backdrop-filter: blur(6px);
}

.age-gate[hidden] {
  display: none;
}

.age-gate__box {
  max-width: 420px;
  padding: 36px 28px;
  border-radius: 20px;
  background: var(--red);
  color: var(--white);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.age-gate__logo {
  margin: 0 auto 18px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--white);
}

.age-gate__box h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

.age-gate__box p {
  opacity: .9;
  margin-bottom: 24px;
}

.age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   Cabeçalho
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: 0 2px 18px rgba(20, 4, 5, .08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.header__logo {
  padding: 8px 0;
}

.header__logo img {
  width: 120px;
}

/* ==========================================================================
   Celular: baixar o app ou continuar no navegador
   ========================================================================== */
.app-choice {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(20, 4, 5, .7);
}

.app-choice[hidden] {
  display: none;
}

.app-choice__sheet {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 30px 22px calc(26px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: var(--red);
  color: var(--white);
  text-align: center;
  animation: sheet-up .3s ease-out;
}

@keyframes sheet-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.app-choice__close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: var(--white);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.app-choice__logo {
  width: 120px;
  margin: 0 auto 14px;
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--white);
}

.app-choice__sheet h2 {
  font-size: 30px;
  margin-bottom: 8px;
}

.app-choice__sheet p {
  margin-bottom: 20px;
  font-size: 15px;
  opacity: .9;
}

.app-choice__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.header__nav a:not(.btn) {
  font-weight: 600;
  color: var(--text);
}

.header__nav a:not(.btn):hover {
  color: var(--red-bright);
}

.header__buy {
  padding: 11px 22px;
}

.header__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}

.header__toggle span {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
}

/* ==========================================================================
   Bolhas (efeito de cerveja)
   ========================================================================== */
.bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bubbles span {
  position: absolute;
  bottom: -40px;
  border-radius: 50%;
  background: rgba(255, 202, 2, .35);
  box-shadow: inset 0 0 6px rgba(255, 255, 255, .5);
  animation: rise linear infinite;
}

.bubbles--soft span {
  background: rgba(255, 255, 255, .18);
}

.bubbles span:nth-child(1) { left: 6%; width: 14px; height: 14px; animation-duration: 9s; }
.bubbles span:nth-child(2) { left: 14%; width: 8px; height: 8px; animation-duration: 7s; animation-delay: 2s; }
.bubbles span:nth-child(3) { left: 23%; width: 18px; height: 18px; animation-duration: 11s; animation-delay: 1s; }
.bubbles span:nth-child(4) { left: 34%; width: 10px; height: 10px; animation-duration: 8s; animation-delay: 4s; }
.bubbles span:nth-child(5) { left: 45%; width: 6px; height: 6px; animation-duration: 6s; animation-delay: 3s; }
.bubbles span:nth-child(6) { left: 55%; width: 16px; height: 16px; animation-duration: 10s; animation-delay: .5s; }
.bubbles span:nth-child(7) { left: 64%; width: 9px; height: 9px; animation-duration: 7.5s; animation-delay: 5s; }
.bubbles span:nth-child(8) { left: 72%; width: 20px; height: 20px; animation-duration: 12s; animation-delay: 2.5s; }
.bubbles span:nth-child(9) { left: 80%; width: 7px; height: 7px; animation-duration: 6.5s; animation-delay: 1.5s; }
.bubbles span:nth-child(10) { left: 87%; width: 13px; height: 13px; animation-duration: 9.5s; animation-delay: 3.5s; }
.bubbles span:nth-child(11) { left: 93%; width: 10px; height: 10px; animation-duration: 8.5s; animation-delay: 6s; }
.bubbles span:nth-child(12) { left: 40%; width: 12px; height: 12px; animation-duration: 10.5s; animation-delay: 7s; }

@keyframes rise {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translateY(-50vh) translateX(10px); }
  100% { transform: translateY(-110vh) translateX(-8px); opacity: 0; }
}

/* ==========================================================================
   Capa
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 40%, rgba(227, 30, 36, .55), transparent 55%),
    radial-gradient(circle at 10% 100%, rgba(255, 202, 2, .18), transparent 40%),
    linear-gradient(135deg, var(--night) 0%, var(--red-dark) 55%, var(--red) 100%);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 40px;
  padding-top: 80px;
  padding-bottom: 90px;
}

.hero h1 {
  font-size: clamp(46px, 6vw, 82px);
  margin-bottom: 22px;
}

.hero h1 span {
  color: var(--yellow);
}

.hero__lead {
  max-width: 560px;
  font-size: 19px;
  opacity: .92;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__seal {
  display: flex;
  justify-content: center;
}

.seal {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 14px rgba(255, 202, 2, .9), 0 0 0 28px rgba(255, 255, 255, .08), 0 40px 90px rgba(0, 0, 0, .45);
  transform: rotate(-6deg);
  animation: float 6s ease-in-out infinite;
}

.seal__tag {
  position: absolute;
  bottom: 12%;
  right: -6%;
  padding: 10px 18px;
  border-radius: 50px;
  background: var(--yellow);
  color: var(--red-dark);
  font-family: "Barlow Condensed", sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  transform: rotate(8deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

@keyframes float {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50% { transform: rotate(-6deg) translateY(-12px); }
}

/* ==========================================================================
   Vantagens
   ========================================================================== */
.perks {
  background: var(--yellow);
}

.perks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 26px;
}

.perk {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--red-dark);
}

.perk svg {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 50%;
  background: var(--red);
  color: var(--yellow);
}

.perk strong {
  display: block;
  font-size: 17px;
  line-height: 1.2;
}

.perk span {
  font-size: 14px;
  line-height: 1.3;
}

/* ==========================================================================
   Seções
   ========================================================================== */
.section {
  padding: 90px 0;
}

.section--light {
  background: var(--cream);
}

.section__head {
  max-width: 680px;
  margin: 0 auto 50px;
  text-align: center;
}

.section__head h2 {
  font-size: clamp(36px, 4.4vw, 54px);
  color: var(--red);
  margin-bottom: 14px;
}

.section__head p {
  color: var(--muted);
}

/* Categorias */
.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cat {
  position: relative;
  overflow: hidden;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 2px solid #f3e3e3;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.cat::after {
  content: "Ver no app →";
  display: block;
  margin-top: 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--red-bright);
}

.cat:hover {
  transform: translateY(-4px);
  border-color: var(--red-bright);
  box-shadow: 0 18px 40px rgba(152, 17, 21, .12);
}

.cat__emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: var(--cream);
  font-size: 34px;
}

.cat h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.cat p {
  color: var(--muted);
  font-size: 16px;
}

/* Festas */
.party {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(120deg, var(--red) 0%, var(--red-bright) 100%);
}

.party__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding-top: 70px;
  padding-bottom: 70px;
}

.party h2 {
  font-size: clamp(32px, 3.8vw, 48px);
  margin-bottom: 16px;
  max-width: 720px;
}

.party p {
  max-width: 640px;
  opacity: .92;
}

/* Como pedir */
.steps {
  list-style: none;
  margin: 0 0 50px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}

.step {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(152, 17, 21, .07);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--red);
  color: var(--yellow);
  font-family: "Barlow Condensed", sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 26px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 16px;
}

/* Plataformas (botões no estilo das lojas) */
.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #000;
  color: var(--white);
  transition: transform .2s, background .2s;
}

.store-btn:hover {
  background: #222;
  transform: translateY(-2px);
}

.store-btn[hidden] {
  display: none;
}

.store-btn svg {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.store-btn__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-btn__text small {
  font-size: 11px;
  font-weight: 500;
}

.store-btn__text strong {
  font-size: 18px;
}

.store-btn__arch {
  margin-left: 4px;
  padding: 0 4px;
  border: 1px solid var(--white);
  border-radius: 4px;
  font-size: 10px;
  font-style: normal;
  vertical-align: middle;
}

/* A loja */
.store {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 60px;
}

.store__text h2 {
  font-size: clamp(36px, 4.4vw, 54px);
  color: var(--red);
  margin-bottom: 16px;
}

.store__text > p {
  color: var(--muted);
  margin-bottom: 24px;
}

.store__info {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.store__info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
}

.store__info svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--red-bright);
}

.store__info a:hover {
  color: var(--red-bright);
}

.store__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store__card {
  padding: 50px 40px 30px;
  border-radius: 24px;
  background: var(--cream);
  text-align: center;
  border: 3px dashed rgba(152, 17, 21, .25);
}

.store__card p {
  margin-top: 20px;
  font-family: "Barlow Condensed", sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--red);
}

/* ==========================================================================
   Rodapé
   ========================================================================== */
.footer {
  background: var(--night);
  color: rgba(255, 255, 255, .8);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 50px;
  padding-bottom: 40px;
}

.footer__logo {
  width: 150px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--white);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-weight: 600;
}

.footer__links a:hover {
  color: var(--yellow);
}

.footer__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer__stores img {
  width: 140px;
}

.footer__legal {
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px;
  text-align: center;
}

.footer__legal p + p {
  margin-top: 8px;
}

.footer__warning strong {
  display: inline-block;
  margin-right: 6px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--red-bright);
  color: var(--white);
}

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1024px) {
  .perks__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    justify-content: center;
    text-align: center;
  }

  .footer__links,
  .footer__stores {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .header__toggle {
    display: flex;
  }

  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 6px 20px 22px;
    background: var(--white);
    box-shadow: 0 14px 30px rgba(20, 4, 5, .12);
  }

  .header__nav.is-open {
    display: flex;
  }

  .header__nav a:not(.btn) {
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid #f1e6e6;
    text-align: center;
  }

  .header__buy {
    margin-top: 16px;
  }

  .hero__inner,
  .store {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__inner {
    padding-top: 50px;
    padding-bottom: 70px;
  }

  .hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions,
  .store__actions {
    justify-content: center;
  }

  .hero__seal {
    margin-top: 36px;
  }

  .seal {
    width: min(300px, 80%);
    padding: 36px;
  }

  .party__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .party h2,
  .party p {
    margin-left: auto;
    margin-right: auto;
  }

  .party .btn {
    justify-self: center;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .store__info li {
    justify-content: center;
    text-align: left;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .section {
    padding: 64px 0;
  }

  .perks__grid {
    grid-template-columns: 1fr;
  }

  .cats {
    gap: 12px;
  }

  .cat {
    padding: 18px 14px;
  }

  .cat__emoji {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 14px;
    font-size: 26px;
  }

  .cat h3 {
    font-size: 17px;
    line-height: 1.2;
  }

  .cat p {
    font-size: 14px;
    line-height: 1.35;
  }

  .cat::after {
    margin-top: 10px;
    font-size: 14px;
  }

  .hero__actions .btn,
  .store__actions .btn,
  .party .btn {
    width: 100%;
  }

  .seal__tag {
    font-size: 18px;
    right: -2%;
    bottom: 2%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn--pulse,
  .seal,
  .bubbles span {
    animation: none;
  }

  .bubbles {
    display: none;
  }
}
