/* Celebrar Brasil — tema claro + Bootstrap */
html {
    overflow-x: hidden;
}

:root {
    --cb-brand: #2d6a4f;
    --cb-brand-dark: #1b4332;
    --cb-accent: #c9a227;
    --cb-surface: #faf9f7;
    --cb-muted: #6c757d;
}

.site-body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background-color: var(--cb-surface);
    color: #212529;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.font-display {
    font-family: 'Fraunces', Georgia, serif;
}

.text-brand {
    color: var(--cb-brand) !important;
}

.bg-brand {
    background-color: var(--cb-brand) !important;
}

.btn-outline-brand {
    border-color: var(--cb-brand);
    color: var(--cb-brand);
    background: transparent;
}
.btn-outline-brand:hover {
    background: var(--cb-brand);
    border-color: var(--cb-brand);
    color: #fff;
}

.btn-brand {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--cb-brand);
    --bs-btn-border-color: var(--cb-brand);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--cb-brand-dark);
    --bs-btn-hover-border-color: var(--cb-brand-dark);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--cb-brand-dark);
    --bs-btn-active-border-color: var(--cb-brand-dark);
}

.brand-mark {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, var(--cb-brand) 0%, var(--cb-brand-dark) 100%);
    font-size: 1.1rem;
}

.navbar .nav-link {
    font-weight: 500;
    color: #495057 !important;
}

.navbar .nav-link:hover {
    color: var(--cb-brand) !important;
    background-color: rgba(45, 106, 79, 0.08);
}

/* Header com seção superior + logo suspensa (tag pendurada sobrepondo as duas áreas) */
.site-header {
    position: relative;
    z-index: 1030;
}

.site-header--has-logo {
    overflow: visible;
    position: sticky;
    top: 0;
}

.site-header:not(.site-header--has-logo) .site-navbar {
    position: sticky;
    top: 0;
}

.site-header--has-logo .header-top {
    min-height: 56px;
    background: linear-gradient(180deg, #3d2817 0%, #2c1810 100%);
    background-color: #2c1810;
}

.site-header--has-logo .logo {
    flex-shrink: 0;
    width: clamp(80px, 18vw, 200px);
    max-width: 200px;
    z-index: 10001;
    display: block;
    line-height: 0;
    margin-top: -48px;
    margin-bottom: -72px;
}

.site-header--has-logo .logo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.site-navbar {
    position: relative;
    z-index: 1030;
}

.site-navbar--has-logo .site-navbar-inner {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

@media (min-width: 992px) {
    .site-header--has-logo .header-top {
        min-height: 64px;
    }

    .site-header--has-logo .logo {
        width: clamp(120px, 12vw, 154px);
        margin-top: -113px;
        margin-bottom: -80px;
    }

    .site-navbar--has-logo .site-navbar-inner {
        min-height: 3.5rem;
    }
}

@media (max-width: 991.98px) {
    .site-header--has-logo .header-top {
        min-height: 44px;
    }

    .site-header--has-logo .logo {
        width: clamp(72px, 24vw, 140px);
        margin-top: -72px;
        margin-bottom: -56px;
    }
    .hero-fullbanner-img{
        min-height: 17vh !important;
        height: clamp(181px, 34vw, 513px) !important;
    }
}

@media (max-width: 480px) {
    .site-header--has-logo .header-top {
        min-height: 40px;
    }

    .site-header--has-logo .logo {
        width: clamp(72px, 26vw, 110px);
        margin-top: -32px;
        margin-bottom: -48px;
    }

    .site-navbar-inner .btn {
        min-width: 44px;
        min-height: 44px;
    }
}

@media (max-width: 400px) {
    .site-header--has-logo .header-top {
        min-height: 36px;
    }

    .site-header--has-logo .logo {
        width: clamp(64px, 24vw, 90px);
        margin-top: -28px;
        margin-bottom: -40px;
    }
}

/* Cards de produto: padding menor em mobile */
@media (max-width: 480px) {
    .card-product .card-body {
        padding: 1rem !important;
    }
}

/* Carrinho: footer em coluna em mobile */
@media (max-width: 767.98px) {
    .cart-footer-mobile {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-footer-mobile .text-end {
        text-align: center !important;
    }

    .cart-footer-mobile .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Badge do carrinho: evita sair da tela em mobile */
@media (max-width: 576px) {
    .btn.position-relative .badge {
        right: 0;
        left: auto;
        transform: translate(50%, -50%);
    }
}

/* Banner full width abaixo do header */
.hero-fullbanner {
    width: 100%;
    line-height: 0;
    background: #e9ecef;
    overflow: hidden;
}

.hero-fullbanner--empty {
    min-height: clamp(220px, 38vh, 420px);
    background: linear-gradient(180deg, #eceeec 0%, #e2e8e4 100%);
}

@media (min-width: 992px) {
    .hero-fullbanner--empty {
        min-height: clamp(320px, 48vh, 560px);
    }
}

.hero-fullbanner-img {
    width: 100%;
    height: clamp(220px, 50vw, 520px);
    min-height: 38vh;
    max-height: 85vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (min-width: 992px) {
    .hero-fullbanner-img {
        height: clamp(320px, 42vw, 640px);
        min-height: 48vh;
    }
}

.section-heading {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    color: #1a1a1a;
}

.section-sub {
    color: var(--cb-muted);
    max-width: 36rem;
}

.card-product {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    overflow: hidden;
    background: #fff;
}

.card-product:hover {
    box-shadow: 0 1rem 2.5rem rgba(45, 106, 79, 0.12);
    transform: translateY(-4px);
}

.card-product .ratio {
    background: #f0f3f1;
}

.card-drink {
    border-radius: 1rem;
    overflow: hidden;
    border: none;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.06);
}

.card-drink img {
    transition: transform 0.4s ease;
}

.card-drink:hover img {
    transform: scale(1.05);
}

/* Quem Somos — largura total (tipo container-fluid): 50% imagem | 50% texto */
.sessao_quemsomos {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.quemsomos-fluid-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    align-items: stretch;
    min-height: 380px;
}

/* Metade esquerda = exatamente 50% da tela, colada na borda — sem “caixa” do container */
.quemsomos-fluid-img {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    margin: 0;
    padding: 0;
    position: relative;
    align-self: stretch;
    min-height: 320px;
}

.quemsomos-fluid-text {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    margin: 0;
    padding: 2.5rem 2.5rem 2.5rem 2rem;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .quemsomos-fluid-text {
        padding: 3rem 4rem 3rem 3rem;
    }

    .quemsomos-fluid-row {
        min-height: 420px;
    }
}

.quemsomos_img_titulo {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    line-height: 0;
}

.quemsomos_img_full {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 767.98px) {
    .quemsomos-fluid-img {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        position: relative;
        aspect-ratio: 16 / 10;
    }

    .quemsomos_img_titulo {
        position: absolute;
        inset: 0;
    }

    .quemsomos-fluid-text {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        padding: 1.75rem 1.25rem 2rem;
    }
}

@media (max-width: 480px) {
    .quemsomos-fluid-text {
        padding: 1.25rem 1rem 1.5rem;
    }

    .quemsomos-fluid-row {
        min-height: 0;
    }
}

.quemsomos_texto,
.quemsomos_texto_corpo {
    font-size: 16px;
    line-height: 1.6;
    color: #2c2c2c;
}

.quemsomos_titulo {
    color: #1a1a1a;
}

@media (max-width: 767.98px) {
    .sessao_quemsomos {
        background-image: none !important;
    }
}

/* Blog / Drinks — fundo preto, cards estilo original */
.sessao_blog {
    background-color: #000;
    width: 100%;
    height: auto;
    position: relative;
    padding-bottom: 50px;
}

.sessao_blog--page {
    min-height: 50vh;
}

.blog_titulo {
    margin-top: 30px;
    text-align: left;
}

.blog_titulo img {
    max-width: 35%;
    height: auto;
}

@media (max-width: 767.98px) {
    .blog_titulo img {
        max-width: 90%;
    }

    .blog_titulo {
        margin-top: 1rem;
    }
}

a.blog_inicial_item {
    margin-top: 30px;
    width: 100%;
    min-height: 200px;
    height: 250px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    display: block;
    color: inherit;
}

@media (max-width: 480px) {
    .blog_titulo img {
        max-width: 100%;
    }

    a.blog_inicial_item {
        margin-top: 1rem;
    }
}

.blog_inicial_titulo {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 5px 8px 5px 5px;
    font-size: 15px;
    font-weight: bold;
    text-align: left;
    color: #fff;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    max-width: calc(100% - 40px);
}

.blog_inicial_ico {
    font-size: 15px;
    line-height: 1;
    margin-right: 2px;
    flex-shrink: 0;
}

.blog_inicial_titulo span {
    padding: 10px 10px 10px 5px;
    line-height: 1.25;
}

.blog_ver_mais_link {
    color: #fff !important;
    font-size: 16px;
    font-weight: bold;
}

.blog_ver_mais_link:hover {
    color: #d3be6f !important;
}

.breadcrumb-dark .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

.footer-site {
    background: #fff;
    margin-top: auto;
}

/* Produto: botão e formulário em mobile */
@media (max-width: 767.98px) {
    .btn-add-cart {
        width: 100%;
    }

    .produto form.d-flex {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Título drink: menor em mobile */
@media (min-width: 768px) {
    .h1-md {
        font-size: 2.5rem;
    }
}

/* Conteúdo de receitas: quebra URLs longas em mobile */
.recipe-content {
    overflow-wrap: break-word;
    word-break: break-word;
}

.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
