:root {
    --topbar: #640404;
    --header: #F2F2F2;
    --bg: #FFFFFF;
    --bg-soft: #F5F5DC;
    --text: #000000;
    --text-alt: #8A443F;
    --radius: 16px;
    --shadow: 0 6px 20px rgba(0,0,0,.08);

    --topbar-h: clamp(56px, 8vw, 96px);
    --header-h: clamp(48px, 6vw, 72px);
    --container: 1200px;

    --fz: clamp(12px, 1.4vw, 14px);
    --fz-sm: clamp(11px, 1.2vw, 13px);
    --fz-lg: clamp(14px, 1.6vw, 16px);
}

/* ------------------ Base ------------------ */
* {
    box-sizing: border-box;
}
html, body {
    height: 100%;
    overflow-x: hidden;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: "Poppins", sans-serif;
    text-transform: uppercase;
    letter-spacing: .02em;
    font-size: var(--fz);
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    padding-top: env(safe-area-inset-top, 0px);
    position: relative;
    z-index: 1;
    /* padding-bottom foi removido */
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('../assets/backgroundpincel.png');
    background-size: 400px auto;
    background-repeat: repeat;
    opacity: 0.00;
    z-index: -1;
    pointer-events: none;
}

/* --- Classe para esconder elementos --- */
.is-hidden {
    display: none !important;
}


.container {
    width: min(var(--container), 100% - 32px);
    margin-inline: auto;
}
h1, h2, h3, h4 {
    margin: 0 0 12px;
    color: var(--text-alt);
    font-size: var(--fz-lg);
}
p {
    margin: 0 0 10px;
    font-size: var(--fz);
}
.section {
    padding-block: clamp(12px, 2vw, 16px);
}
.section--soft {
    background: var(--bg-soft);
}

/* ------------------ Grid / Cards / Buttons ------------------ */
.grid {
    display: grid;
    gap: clamp(12px, 2vw, 16px);
}
.grid--2 {
    grid-template-columns: repeat(2, minmax(0,1fr));
}
.grid--3 {
    grid-template-columns: repeat(3, minmax(0,1fr));
}
.card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: clamp(12px,2vw,16px);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-alt);
    background: #fff;
    border: 2px solid var(--text-alt);
    cursor: pointer;
    font-weight: 700;
    font-size: var(--fz);
    transition: transform .15s ease, box-shadow .15s ease, opacity .2s, background-color .2s, border-color .2s;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.btn-primary {
  background: var(--text-alt);
  border-color: var(--text-alt);
  color: #fff;
}


/* ------------------ Topbar / Header / Nav ------------------ */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--topbar-h);
    min-height: var(--topbar-h);
    background: var(--topbar);
    color: #fff;
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.topbar__wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(8px,2vw,16px);
}

/* Estilos para o botão "Compre Aqui" na Topbar (SEM HOVER) */
.btn-topbar-shop {
    background: var(--topbar);
    border: none;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    gap: 6px;
    box-shadow: none;
    transition: transform .15s ease, box-shadow .15s ease, opacity .2s;
}

.btn-topbar-shop .onbeef-text {
    font-size: var(--fz);
    font-weight: 700;
    white-space: nowrap;
    color: #fff;
}

.btn-topbar-shop .onbeef-logo {
    height: clamp(18px, 4.5vw, 24px);
    width: auto;
    object-fit: contain;
    filter: none;
}

/* Efeito hover (apenas levantar) */
.btn-topbar-shop:hover {
    transform: translateY(-1px);
    background: var(--topbar);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.btn-topbar-shop:hover .onbeef-text {
    color: #fff;
}
.btn-topbar-shop:hover .onbeef-logo {
    filter: none;
}


.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #111;
    text-decoration: none;
}
.brand__logo-deitada {
    height: clamp(18px, 7vw, 70px);
    width: auto;
    object-fit: contain;
}

.header {
    position: sticky;
    top: var(--topbar-h);
    z-index: 40;
    height: var(--header-h);
    min-height: var(--header-h);
    background: var(--header);
    border-bottom: 1px solid #e6e6e6;
}
.header__wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(8px,2vw,16px);
}
.nav {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav__toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: clamp(22px, 4.2vw, 28px);
    cursor: pointer;
    color: #222;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 8px;
}
.nav__list {
    display: flex;
    align-items: center;
    gap: clamp(6px,1.2vw,12px);
    list-style: none;
    padding: 0;
    margin: 0;
}
.nav__link {
    text-decoration: none;
    color: #222;
    padding: 6px 12px;
    padding-bottom: 5px;
    line-height: 1.2;
    white-space: nowrap;
    position: relative;
    background: transparent;
    border-radius: 0;
    transition: filter .2s, color .2s;
}
.nav__link:hover {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.35));
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 3px;
    background: transparent;
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s, background .2s;
}
.nav__link.is-active::after {
    background: var(--topbar);
    transform: scaleX(1);
}
.nav__link.is-active {
    color: #000;
}

/* Header em Poppins ExtraBold */
.header,
.header .nav__link {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    letter-spacing: .03em;
}

/* ------------------ Main & Footer ------------------ */
main {
    flex: 1 1 auto; /* Garante que o main ocupe o espaço disponível */
    display: block;
    padding-top: 0;
    padding-bottom: clamp(24px, 4vw, 40px);
    background: transparent;
}
.footer {
    background: var(--header); /* Mantém o fundo cinza claro */
    border-top: 1px solid #e6e6e6;
    /* flex-shrink: 0; Garante que o footer não encolha */
}
.footer__wrap {
    /* MODIFICADO: Reduzido o padding vertical para diminuir a altura */
    padding-block: clamp(12px, 2.4vw, 19px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Reduzido o gap entre os elementos */
    text-align: center;
}
.footer__wrap p {
    margin-bottom: 8px; /* Reduzido */
    font-size: var(--fz-sm); /* Texto um pouco menor */
}
.footer__socials {
    display: flex;
    gap: 12px; /* Reduzido */
    flex-wrap: wrap;
    justify-content: center; /* Centraliza os links se quebrar linha */
}
.footer a {
    color: var(--text-alt);
    text-decoration: none;
    font-size: var(--fz-sm); /* Links um pouco menores */
}
.footer small {
    font-size: clamp(10px, 1vw, 11px); /* Texto de copyright menor */
}

/* ------------------ Carousel ------------------ */
.carousel {
    position: relative;
    width: 100%;
    height: calc(75vh - var(--topbar-h) - var(--header-h));
    max-height: 620px;
    min-height: 300px;
    overflow: hidden;
    background-color: #ffffff;
}
.carousel.fullbleed {
    width: 100vw !important;
    margin-inline: calc(50% - 50vw) !important;
    border-radius: 0;
    display: block;
    margin-top: 12px;
}
@supports (width: 100svw) {
    .carousel.fullbleed {
        width: 100svw !important;
        margin-inline: calc(50% - 50svw) !important;
    }
}
.carousel__viewport {
    width: 100%;
    height: 100%;
    position: relative;
}
.carousel__track {
    display: flex;
    height: 100%;
    will-change: transform;
    touch-action: pan-y;
}
.carousel__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: transparent;
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.carousel__track > .carousel__slide:nth-child(1) {
    background-image: url("../assets/slide-clube.jpg");
}
.carousel__track > .carousel__slide:nth-child(2) {
    background-image: url("../assets/slide-produtos.jpg");
}
.carousel__track > .carousel__slide:nth-child(3) {
    background-image: url("../assets/slide-eventos.jpg");
}
.carousel__track > .carousel__slide:nth-child(4) {
    background-image: url("../assets/slide-lojas.jpg");
}


.carousel__overlay {
    position: absolute;
    inset: auto 0 8% 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 0 16px;
}
.carousel__overlay h2 {
    color: #fff;
    text-shadow: 0 2px 18px rgba(0,0,0,.55);
    font-size: clamp(16px,3.5vw,28px);
    margin: 0 0 6px 0;
}
.carousel__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 3;
}
.carousel__dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    transition: transform .2s, background .2s;
}
.carousel__dots button[aria-selected="true"] {
    background: #fff;
    transform: scale(1.2);
}
.carousel__dots button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scale(.96);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: none;
    background: var(--topbar);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s, background-color .2s;
    z-index: 4;
    box-shadow: 0 4px 10px rgba(0,0,0,.2);
    cursor: pointer;
}

.carousel__arrow.is-prev {
    left: 16px;
}
.carousel__arrow.is-next {
    right: 16px;
}
.carousel:hover .carousel__arrow {
    opacity: 0.85;
    pointer-events: auto;
    transform: translateY(-50%) scale(1);
}
.carousel__arrow:hover {
    opacity: 1;
    background-color: #8A443F;
}
.carousel__arrow:active {
    transform: translateY(-50%) scale(.97);
    background-color: #530303;
}
.carousel__arrow:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}


/* ------------------ WhatsApp FAB ------------------ */
.whatsapp-fab {
  position: fixed;
  bottom: 20px; /* Posição original ajustada */
  right: 20px;
  z-index: 101;
  width: 50px;
  height: 50px;
  background: #25D366; /* Cor do WhatsApp */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}
.whatsapp-fab img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

/* ------------------ Mini Map ------------------ */
.mini-map {
    width: 100%;
    height: 320px;
    border: 1px solid #e6e6e6;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.mini-map iframe {
    width: 100%;
    border: 0;
    display: block;
    margin-top: -60px;
    height: calc(100% + 60px);
}

/* --- ADICIONADO: Estilos para mapa full-bleed --- */
.section--fullbleed-map {
    padding-block: clamp(16px, 3vw, 24px); /* Mantém espaçamento vertical */
    padding-inline: 0; /* Remove padding lateral */
}

.section--fullbleed-map .mini-map {
    width: 100%; /* Garante largura total */
    max-width: 100%; /* Garante que não exceda a viewport */
    border-radius: 0; /* Remove cantos arredondados */
    border-left: none; /* Remove bordas laterais */
    border-right: none;
    box-shadow: none; /* Remove sombra */
    /* A altura (height) continua a ser controlada pelas regras existentes (320px / 240px) */
}

.section--fullbleed-map .container h2 {
    text-align: center; /* Garante centralização do título */
}
/* --- FIM DOS ESTILOS ADICIONADOS --- */

/* ------------------ Store Card with Background Image ------------------ */
/* ... (código store card omitido) ... */

/* ------------------ Responsivo ------------------ */
@media (max-width: 960px) {
    .grid--3 {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}
@media (max-width: 720px) {
    .grid--2, .grid--3 {
        grid-template-columns: 1fr;
    }
    .nav__toggle {
        display: inline-block;
    }
    .nav__list {
        display: none;
        flex-direction: column;
        align-items: flex-end;
        background: #fff;
        padding: 8px;
        border-radius: 12px;
        border: 1px solid #eee;
        position: absolute;
        right: 16px;
        top: calc(var(--topbar-h) + var(--header-h) - 6px);
        box-shadow: var(--shadow);
        max-width: calc(100% - 32px);
    }
    .nav__list.is-open {
        display: flex;
    }

    /* AJUSTE MENU HAMBURGUER UNDERLINE */
    .nav__link {
        padding: 10px 16px;
        padding-bottom: 6px;
        width: 100%;
        text-align: right;
    }
    .nav__link::after {
        left: 16px;
        right: 16px;
        bottom: 2px;
    }

    /* Esconde o texto "Compre Aqui" em telas pequenas */
    .btn-topbar-shop .onbeef-text {
        display: none;
    }
    /* Ajusta padding do botão quando só tem ícone */
    .btn-topbar-shop {
        padding: 8px;
        gap: 0;
        border: none;
        background: transparent;
        box-shadow: none;
    }
    .btn-topbar-shop .onbeef-logo {
        filter: none;
        height: clamp(20px, 5.5vw, 32px);
    }
    .btn-topbar-shop:hover {
        background: transparent;
        box-shadow: none;
        transform: scale(1.1);
    }
     .btn-topbar-shop:hover .onbeef-logo {
        filter: none;
    }

    /* Ajuste Carrossel Mobile */
    .carousel__arrow {
        display: none !important;
    }
    .carousel {
        height: 250px;
        min-height: unset;
    }
    .carousel__overlay {
        inset: auto 0 6% 0;
    }
    .carousel__slide {
        background-size: contain;
        background-repeat: no-repeat;
    }


    /* Ajuste Mapa Mobile */
    .mini-map {
        height: 240px; /* Altura mobile original */
    }
    /* Garante que o mapa full-bleed mantenha a altura correta no mobile */
    .section--fullbleed-map .mini-map {
         height: 240px;
    }


}
@media (max-width: 480px) {
    .container {
        width: min(var(--container), 100% - 24px);
    }
    .footer__socials {
        gap: 12px;
    }
}

/* Empilha (“um abaixo do outro”) só os campos de DADOS DO CLIENTE */
/* ... (código stack-client omitido) ... */

/* === ACESSIBILIDADE (FOCO VISÍVEL) === */
/* ... (código foco visível omitido) ... */

/* ------------------ Created By Bar (MODIFICADO) ------------------ */
/* ------------------ Created By Bar (MODIFICADO) ------------------ */
.created-by-bar {
  /* position: fixed; REMOVIDO */
  /* bottom: 0; REMOVIDO */
  /* left: 0; REMOVIDO */
  /* width: 100%; REMOVIDO */
  background: #f2f2f2; /* Fundo cinza claro (igual header) */
  padding: 13px;
  text-align: center;
}

/* ADICIONADO: Pseudo-elemento para simular a borda curta */
.created-by-bar::before {
  content: ''; /* Obrigatório para pseudo-elementos */
  position: absolute; /* Posiciona em relação ao .created-by-bar */
  top: 1; /* Alinha no topo */
  left: 50%; /* Começa no meio */
  transform: translateX(-50%); /* Centraliza horizontalmente */
  height: 2px; /* Espessura da "borda" */
  background-color: #c5b9b9; /* Cor da "borda" */
  width: 37%; /* Comprimento da "borda" - Ajuste conforme necessário (ex: 300px, 90%, etc.) */
}

.created-by-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 13px;
  text-transform: none;
  font-family: "Poppins", sans-serif;
}
.created-by-bar a:hover {
  color: #030303;
}
.created-by-bar img {
  height: 70px;
  width: auto;
}