:root {
  --navy: #252d38;
  --texto: #252d38;
  --suave: #6d6762;
  --linha: #e2dbd5;
  --papel: #f3f0ee;
  --papel-2: #ebe5e0;
  --creme: #eacabd;
  --laranja: #e84e10;
  --laranja-2: #c9420c;
  --petroleo: #00343a;
  --whats: #1fae55;
  --r: 14px;
  --canto: 120px;
  --serif: "IM Fell English SC", Georgia, serif;
  --serif-it: "IM Fell English", Georgia, serif;
  --sans: "Libre Franklin", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { position: relative;
  color: var(--texto); font-family: var(--sans); font-size: 16px; line-height: 1.65; overflow-x: hidden;
  background-color: var(--papel);
  /* textura de papel */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .25 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; text-transform: uppercase; letter-spacing: .02em; }

/* título de seção no estilo do modelo */
.kicker { font-family: var(--serif-it); font-style: italic; color: var(--laranja); font-size: 1.05rem; display: block; margin-bottom: 6px; }
.titulo { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.centro { text-align: center; }
.secao { padding: clamp(64px, 9vw, 110px) 0; position: relative; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; font: 600 .88rem/1 var(--sans); letter-spacing: .02em;
  border: 1.5px solid var(--navy); cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-laranja { background: var(--laranja); color: #fff; box-shadow: 3px 3px 0 var(--navy); }
.btn-laranja:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--navy); }
.btn-laranja:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--navy); transition-duration: .08s; }
.btn:active { transform: translate(1px, 1px); }
/* contornado que vira laranja com sombra ao passar o mouse / clicar */
.btn-vira { background: transparent; color: var(--texto); box-shadow: 0 0 0 var(--navy); }
.btn-vira:hover, .btn-vira:focus-visible { background: var(--laranja); border-color: var(--navy); color: #fff; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--navy); }
.btn-vira:active { background: var(--laranja); color: #fff; transform: translate(3px, 3px); box-shadow: 0 0 0 var(--navy); transition-duration: .08s; }
.btn-escuro { background: var(--navy); color: #fff; }
.btn-escuro:hover { background: var(--laranja); border-color: var(--laranja); }
.btn-whats { background: var(--whats); border-color: var(--whats); color: #fff; }
.btn-whats:hover { background: #17924a; }
.btn-linha { background: transparent; color: var(--texto); }
.btn-linha:hover { background: var(--navy); color: #fff; }

/* ---------- Ornamentos (traço do capitão, como os ramos do modelo) ---------- */
.orn { position: absolute; pointer-events: none; opacity: .14; z-index: 0; }
@media (max-width: 1280px) { .orn { opacity: .1; } }
@media (max-width: 760px) { .orn { display: none; } }

/* ---------- Header ---------- */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(243,240,238,.94); backdrop-filter: blur(6px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.topo.solido { border-color: var(--linha); }
.topo .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 82px; }
.topo .marca img { height: 46px; width: auto; }
.menu { display: flex; gap: 28px; list-style: none; align-items: center; }
.menu.esq { justify-content: flex-end; padding-right: 40px; }
.menu.dir { justify-content: flex-start; padding-left: 40px; }
.menu a { white-space: nowrap; font: 500 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--suave); padding: 8px 14px; border-radius: 999px; border: 1.5px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.menu a.ativo { color: var(--laranja); }
.menu a:hover { background: var(--laranja); border-color: var(--laranja); color: #fff; }
.menu a:active { transform: scale(.96); }
.menu.esq, .menu.dir { gap: 6px; }
.burger { display: none; background: none; border: 0; color: var(--texto); cursor: pointer; padding: 6px; justify-self: end; }
.burger svg { width: 26px; height: 26px; }
.menu-mob { display: none; }
@media (max-width: 900px) {
  .topo .wrap { grid-template-columns: auto 1fr; height: 70px; }
  .topo .marca { justify-self: start; }
  .menu.esq, .menu.dir { display: none; }
  .burger { display: block; }
  .menu-mob { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--papel); padding: 6px 16px 18px; border-bottom: 1px solid var(--linha); list-style: none; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s; }
  .menu-mob.aberto { opacity: 1; visibility: visible; transform: none; }
  .menu-mob a { display: block; padding: 13px 0; border-bottom: 1px solid var(--linha); font: 500 .85rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
}

/* ---------- Cards de cerveja (grade) ---------- */
.cab { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.cab h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { display: flex; flex-direction: column; }
.card .foto { position: relative; background: #fbfaf8; border-radius: 70px 14px 14px 14px; aspect-ratio: 4 / 5; overflow: hidden; box-shadow: 0 1px 0 var(--linha); }
.card .foto img { position: absolute; inset: 6% 10%; width: 80%; height: 88%; object-fit: contain; transition: transform .4s ease; }
.card:hover .foto img { transform: scale(1.05) rotate(-2deg); }
.card .foto::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--ac); }
.card .selo { position: absolute; top: 14px; right: 14px; font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--papel); padding: 4px 9px; border-radius: 999px; z-index: 1; }
.card .info { padding: 14px 2px 0; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.35rem; color: var(--laranja); }
.card .specs { font-size: .82rem; color: var(--suave); margin-top: 2px; }
.card .tamanhos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.card .tamanhos span { font-size: .7rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--linha); color: var(--suave); }
.card .acoes { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 14px; }
.card .acoes .btn { padding: .7em 1em; font-size: .78rem; box-shadow: none; }
@media (max-width: 1000px) { .grade { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grade { grid-template-columns: repeat(2, 1fr); gap: 16px; } .card h3 { font-size: 1.15rem; } .card .acoes { grid-template-columns: 1fr; } }

/* ---------- Rodapé laranja (como o rodapé mostarda do modelo) ---------- */
.rodape { background: var(--laranja); color: #fff3ec; margin-top: 40px; padding: 56px 0 22px; position: relative; overflow: hidden; }
.rodape .grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center; }
.rodape h4 { font: 400 1.15rem var(--serif); text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.rodape ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; }
.rodape a:hover { color: var(--navy); }
.rodape .centro-logo { text-align: center; padding: 0 40px; border-left: 1px solid rgba(255,255,255,.35); border-right: 1px solid rgba(255,255,255,.35); }
.rodape .centro-logo img { height: 64px; width: auto; margin: 0 auto 8px; filter: brightness(0) invert(1); }
.rodape .centro-logo small { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.rodape .social { display: flex; gap: 10px; margin-top: 14px; }
.rodape .social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); display: grid; place-items: center; }
.rodape .social svg { width: 18px; height: 18px; }
.rodape .dir p { font-size: .9rem; margin-bottom: 14px; }
.rodape .dir .btn { background: var(--navy); border-color: var(--navy); color: #fff; }
.rodape .legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .74rem; opacity: .9; }
@media (max-width: 820px) {
  .rodape .grid { grid-template-columns: 1fr; text-align: center; }
  .rodape ul, .rodape .social { justify-content: center; }
  .rodape .centro-logo { border: 0; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.35); order: -1; }
}

/* ---------- WhatsApp flutuante ---------- */
.whats-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--whats); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.whats-float svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Idade ---------- */
.idade { position: fixed; inset: 0; z-index: 100; background: var(--papel); display: grid; place-items: center; padding: 16px; text-align: center; }
.idade[hidden] { display: none; }
.idade img { width: 240px; margin: 0 auto 22px; }
.idade h2 { font-size: 1.7rem; margin-bottom: 8px; }
.idade p { color: var(--suave); margin-bottom: 24px; }
.idade .acoes { display: flex; gap: 12px; justify-content: center; }
.idade small { display: block; margin-top: 20px; color: var(--suave); font-size: .76rem; }

/* entrada suave */
.revela { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.revela.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .revela { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
