@import url(base.css);

/* ── Section ── */
.box-floating {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 24px 64px;
    overflow: hidden;
}

.box-floating::before,
.box-floating::after {
    content: '';
    position: absolute;
    top: 24px;
    width: 52px;
    height: 52px;
    background-image: url('../img/deco.svg');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}
.box-floating::before { left: 28px; }
.box-floating::after  {
    right: 28px;
    transform: scaleX(-1);
}

/* ── Badge ── */
.badge-box {
    position: relative;
    z-index: 1;
    border: 2.8px solid var(--v3-color);
    border-radius: 14px;
    background: var(--b1-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-geometric415);
    gap: 16px;
    padding: 18px 36px;
    max-width: 680px;
    width: 100%;
    margin-top: 14px;
    text-align: center;
    animation: fadeIn 0.6s ease both;
}

.medal-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    color: var(--v3-color);
}

.badge-text {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--text-color);
    letter-spacing: 0.01em;
    line-height: 1.4;
    text-align: center;
}

/* ── Tablet (≤ 900px) ── */
@media (max-width: 900px) {
    .box-floating { padding: 28px 20px 52px; }
    .badge-box    { padding: 16px 28px; gap: 14px; border-radius: 12px; }
    .badge-text   { font-size: 0.97rem; }
    .medal-icon   { width: 32px; height: 32px; }
}

@media (max-width: 840px) {
    .box-floating::before,
    .box-floating::after {
    display: none !important;
    content: none;
    }
}

/* ── Mobile (≤ 600px) ── */
@media (max-width: 600px) {
    .box-floating { padding: 22px 14px 44px; }
    .badge-box    { padding: 14px 16px; gap: 12px; border-radius: 10px; margin-top: 8px; }
    .medal-icon   { width: 28px; height: 28px; }
    .badge-text   { font-size: 0.85rem; }
}

/* ── Telas muito pequenas (≤ 360px) ── */
@media (max-width: 360px) {
    .box-floating { padding: 18px 10px 36px; }
    .badge-box    { padding: 12px 12px; gap: 10px; }
    .medal-icon   { width: 24px; height: 24px; }
    .badge-text   { font-size: 0.78rem; }
}