.text-justify {
    text-align: justify;
}

/* Hero com vídeo */
.hero {
    position: relative;
    height: 500px;
    overflow: visible;
    background: #000;
}

.hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Cards sobre o vídeo */
.card-wrapper {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 3;
}

.card-custom {
    min-width: 220px;
    min-height: 200px;
    max-width: 220px;
    max-height: 200px;
    background-color: rgba(255, 255, 255, 0.9);
}

.card-featured {
    background-color: rgba(255, 0, 0, 0.85) !important;
    color: #fff;
}

.card-featured .btn-card {
    background-color: #fff;
    color: red;
    border-color: #fff;
}

/* Sessão de métricas */
.metrics-section {
    background: rgba(44, 43, 43, 0.92);
    color: #fff;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.counter-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(158, 158, 158, 0.35);
    border-radius: 16px;
    padding: clamp(14px, 3.2vw, 26px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: clamp(120px, 26vw, 190px);
}

.counter-value {
    font-weight: 800;
    line-height: 1;
    font-size: clamp(22px, 6.2vw, 44px);
    white-space: nowrap;
    max-width: 100%;
    text-align: center;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* Para 10.000 / 50.000 / 100.000 */
.counter-value.counter-long {
    font-size: clamp(18px, 5.1vw, 34px);
    letter-spacing: -0.03em;
}

.counter-label {
    margin-top: 8px;
    font-size: clamp(12px, 3vw, 16px);
    opacity: 0.92;
    text-align: center;
    max-width: 92%;
}

@supports (backdrop-filter: blur(4px)) {
    .counter-box {
        backdrop-filter: blur(4px);
    }
}

.maintenance {
    background: url('https://fornosdepizza.com.br/images/manutencao.jpg') center/cover no-repeat;
    color: #fff;
    padding: 80px 0;
}

footer {
    background-color: #f8f9fa;
    padding: 40px 0;
}

footer li {
    font-size: 16px;
}

.footer-logo {
    font-weight: bold;
}

.card {
    aspect-ratio: 1 / 1;
}

@media (min-width: 576px) {
    .hero-cards .col-md-3 {
        display: block !important;
    }
}

@media (max-width: 575.98px) {
    .hero-cards {
        display: none;
    }

    #featured-mobile .card {
        max-width: 90%;
        margin: 0 auto;
    }
}

/* =========================
       WHATSAPP FLOAT
       Botão na direita, perto da scrollbar
       Painel abre da direita->esquerda com fade in/out
       Borda cinza claro
       ========================= */
.wa-float {
    position: fixed;
    right: 10px;
    bottom: 18px;
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    flex-direction: row;
}

.wa-btn {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    background: #25D366;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .28);
    display: grid;
    place-items: center;
    transition: transform .15s ease, box-shadow .15s ease;
    animation: waWiggle 4.8s infinite;
}

.wa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .34);
}

.wa-btn:active {
    transform: translateY(0px) scale(.98);
}

.wa-btn svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}

@keyframes waWiggle {

    0%,
    86% {
        transform: translateY(0) rotate(0deg);
    }

    88% {
        transform: translateY(-2px) rotate(-8deg);
    }

    90% {
        transform: translateY(0) rotate(8deg);
    }

    92% {
        transform: translateY(-2px) rotate(-6deg);
    }

    94% {
        transform: translateY(0) rotate(6deg);
    }

    96% {
        transform: translateY(-1px) rotate(-4deg);
    }

    98% {
        transform: translateY(0) rotate(4deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

/* Painel */
.wa-panel {
    width: min(320px, calc(100vw - 110px));
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
    overflow: hidden;

    opacity: 0;
    transform: translateX(18px);
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
}

.wa-panel.is-open {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.wa-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(44, 43, 43, 0.94);
    color: #fff;
}

.wa-panel-title {
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .2px;
}

.wa-close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    opacity: .9;
}

.wa-close:hover {
    opacity: 1;
}

.wa-form {
    padding: 12px 14px 14px;
}

.wa-label {
    display: block;
    font-size: 12px;
    margin: 8px 0 6px;
    color: #222;
}

.wa-input {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .12);
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
}

.wa-input:focus {
    border-color: rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .08);
}

.wa-send {
    width: 100%;
    margin-top: 12px;
    border: 0;
    border-radius: 12px;
    padding: 11px 12px;
    background: #dc3545;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform .12s ease, filter .12s ease;
}

.wa-send:hover {
    filter: brightness(.98);
    transform: translateY(-1px);
}

.wa-send:active {
    transform: translateY(0px) scale(.99);
}

.wa-hint {
    margin-top: 10px;
    font-size: 11px;
    color: rgba(0, 0, 0, .65);
    line-height: 1.35;
}

@media (max-width: 420px) {
    .wa-float {
        right: 8px;
        bottom: 12px;
        flex-direction: column-reverse;
        align-items: flex-end;
    }

    .wa-panel {
        transform: translateY(10px);
    }

    .wa-panel.is-open {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .wa-btn {
        animation: none;
    }

    .wa-panel {
        transition: none;
    }
}


/* ====== QR Codes no rodapé (Serviços) ====== */
.footer-qr-wrap {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    /* quebra no mobile */
    align-items: flex-start;
}

.footer-qr-item {
    width: clamp(110px, 45%, 140px);
    /* lado a lado e responsivo */
    text-align: center;
}

.footer-qr-item img {
    width: 100%;
    height: auto;
    display: block;
    background: #fff;
    padding: 6px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .12);
}

.footer-qr-label {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.2;
}