/* =====================================================================
   Home do Sonar, fase 2 do redesign (24/10/2026).
   Folha adicional: só a home a linka (sonar/index.html, com ?v=). O deploy
   do Sonar a publica na raiz como /home.css; o styles.css não muda nesta
   fase. Tudo aqui é escopado em html.home-sonar-fase2 e só alcança
   seletores da home (fundo de sonar, destaques, controles, lista de
   capturas, faixas e folha de detalhes). Tokens do quadro S do mockup v4.
   ===================================================================== */

html.home-sonar-fase2 {
    --s-abyss: #04140f;
    --s-panel: #0a2a1e;
    --s-panel-2: #0d3524;
    --s-line: rgba(116, 255, 103, .22);
    --s-line-soft: rgba(116, 255, 103, .12);
    --s-phosphor: #74ff67;
    --s-phosphor-glow: rgba(116, 255, 103, .35);
    --s-mint: #1df2b2;
    --s-amber: #ffb648;
    --s-amber-ink: #2a1600;
    --s-text: #eafff1;
    --s-muted: #8fb8a5;
    --s-white: #ffffff;
    --s-display: "Chakra Petch", "Source Sans Pro", system-ui, sans-serif;
    --s-text-font: Barlow, "Source Sans Pro", system-ui, sans-serif;

    /* Os componentes antigos que ainda leem estes tokens caem na pele escura. */
    --featured-accent: var(--s-phosphor);
    --featured-accent-strong: var(--s-mint);
    --featured-accent-contrast: var(--s-abyss);
    --featured-surface: var(--s-panel);
    --featured-title-color: var(--s-text);
    --green: var(--s-phosphor);
    --text-dark: var(--s-text);
    --text-medium: var(--s-muted);

    background: var(--s-abyss);
}

html.home-sonar-fase2 body {
    background: var(--s-abyss);
    color: var(--s-text);
    font-family: var(--s-text-font);
}

html.home-sonar-fase2 .promos-section {
    background: transparent;
}

html.home-sonar-fase2 .main-content {
    position: relative;
    z-index: 1;
    padding-top: 18px;
}

/* ---------- Fundo de sonar: anéis fixos e varredura ---------- */

html.home-sonar-fase2 .home-sonar-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

html.home-sonar-fase2 .home-sonar-bg::before,
html.home-sonar-fase2 .home-sonar-bg::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 150px;
    width: 820px;
    height: 820px;
    border-radius: 50%;
    transform: translateX(-50%);
}

html.home-sonar-fase2 .home-sonar-bg::before {
    background: repeating-radial-gradient(circle, rgba(116, 255, 103, .11) 0 1px, transparent 1px 64px);
}

html.home-sonar-fase2 .home-sonar-bg::after {
    background: conic-gradient(from 0deg, rgba(116, 255, 103, 0) 0deg, rgba(116, 255, 103, 0) 300deg, rgba(116, 255, 103, .16) 360deg);
    will-change: transform;
    animation: home-sonar-sweep 8s linear infinite;
}

@keyframes home-sonar-sweep {
    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

/* ---------- Títulos de seção ---------- */

html.home-sonar-fase2 .home-section-title {
    margin: 0 0 12px;
    font: 700 22px/1.1 var(--s-display);
    letter-spacing: .2px;
    color: var(--s-text);
}

html.home-sonar-fase2 .home-section-title--sinal::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 8px 2px 0;
    border-radius: 50%;
    background: var(--s-phosphor);
    box-shadow: 0 0 0 4px rgba(116, 255, 103, .18);
    vertical-align: middle;
}

/* ---------- Sinais fortes de hoje ---------- */

html.home-sonar-fase2 .featured-section {
    margin: 0 0 22px;
}

html.home-sonar-fase2 .featured-section-header {
    align-items: flex-start;
    margin-bottom: 12px;
}

html.home-sonar-fase2 .featured-section-header .home-section-title {
    margin-bottom: 0;
}

html.home-sonar-fase2 .featured-carousel-btn {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--s-line);
    background: rgba(10, 42, 30, .8);
    color: var(--s-phosphor);
}

html.home-sonar-fase2 .featured-carousel-btn:hover:not(:disabled) {
    background: var(--s-panel-2);
}

html.home-sonar-fase2 .featured-carousel-btn:disabled {
    opacity: .3;
}

html.home-sonar-fase2 .featured-carousel-shell {
    margin: 0 -16px;
    overflow: hidden;
}

html.home-sonar-fase2 .featured-carousel {
    --featured-vertical: 238px;
    --featured-column: 238px;
    --featured-gap: 12px;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-auto-columns: var(--featured-column);
    gap: var(--featured-gap);
    height: 470px;
    padding: 2px 16px 6px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
}

html.home-sonar-fase2 .featured-group {
    display: contents;
}

html.home-sonar-fase2 .featured-card {
    display: flex;
    flex-direction: column;
    width: auto;
    height: auto;
    min-height: 0;
    grid-column: auto;
    grid-row: auto;
    border: 1px solid var(--s-line);
    border-radius: 16px;
    background: var(--s-panel);
    color: var(--s-text);
    box-shadow: none;
    scroll-snap-align: start;
    transition: none;
}

html.home-sonar-fase2 .featured-card:hover {
    box-shadow: none;
}

html.home-sonar-fase2 .featured-card:focus-visible {
    outline: 2px solid var(--s-phosphor);
    outline-offset: -2px;
}

html.home-sonar-fase2 .featured-card--vertical {
    grid-column: auto / span 1;
    grid-row: 1 / -1;
    width: var(--featured-vertical);
    border-radius: 18px;
    box-shadow: 0 0 0 1px rgba(116, 255, 103, .06), 0 12px 30px rgba(0, 0, 0, .4);
}

html.home-sonar-fase2 .featured-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    aspect-ratio: 1 / 1;
    margin: 10px 10px 0;
    padding: 4px;
    border-radius: 12px;
    background: transparent;
    overflow: hidden;
}

html.home-sonar-fase2 .featured-card-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
}

html.home-sonar-fase2 .featured-card-image i {
    font-size: 2rem;
    color: var(--s-panel);
}

html.home-sonar-fase2 .featured-card-title {
    margin: 6px 14px 4px;
    font: 700 18px/1.25 var(--s-display);
    color: var(--s-text);
    -webkit-line-clamp: 2;
}

html.home-sonar-fase2 .featured-card-chip {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin: 0 14px 8px;
    padding: 4px 8px;
    border: 1px solid var(--s-mint);
    border-radius: 999px;
    color: var(--s-mint);
    font: 600 11.5px/1 var(--s-text-font);
    white-space: nowrap;
    max-width: calc(100% - 28px);
    overflow: hidden;
    text-overflow: ellipsis;
}

html.home-sonar-fase2 .featured-card-summary {
    display: -webkit-box;
    margin: 0 14px 10px;
    font: 400 14.5px/1.4 var(--s-text-font);
    color: var(--s-muted);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html.home-sonar-fase2 .featured-card-cta {
    margin: auto 14px 14px;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 10px;
    background: var(--s-phosphor);
    color: var(--s-abyss);
    font: 600 14px/1 var(--s-text-font);
    align-self: flex-start;
    justify-self: start;
}

html.home-sonar-fase2 .featured-card--horizontal {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 4px 10px;
    padding: 10px;
    width: var(--featured-column);
}

html.home-sonar-fase2 .featured-card--horizontal .featured-card-image {
    grid-column: 1;
    grid-row: 1 / -1;
    aspect-ratio: auto;
    align-self: stretch;
    margin: 0;
    padding: 6px;
    border-radius: 10px;
}

html.home-sonar-fase2 .featured-card--horizontal .featured-card-title {
    grid-column: 2;
    grid-row: 1;
    margin: 2px 0 2px;
    font: 600 14px/1.25 var(--s-display);
    -webkit-line-clamp: 3;
}

html.home-sonar-fase2 .featured-card--horizontal .featured-card-chip,
html.home-sonar-fase2 .featured-card--horizontal .featured-card-summary {
    display: none;
}

html.home-sonar-fase2 .featured-card--horizontal .featured-card-cta {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    margin: 0;
    min-height: 34px;
    padding: 0 12px;
    font-size: 13px;
}

html.home-sonar-fase2 .featured-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 10px 0 0;
}

html.home-sonar-fase2 .featured-dots[hidden] {
    display: none;
}

html.home-sonar-fase2 .featured-dots i {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: var(--s-line);
    transition: width .2s ease, background-color .2s ease;
}

html.home-sonar-fase2 .featured-dots i.is-active {
    width: 18px;
    background: var(--s-phosphor);
}

/* ---------- Controles ---------- */

html.home-sonar-fase2 .section-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

html.home-sonar-fase2 .controls-right {
    width: 100%;
    gap: 8px;
}

html.home-sonar-fase2 .filter-dropdown-toggle {
    gap: 4px;
    padding: 7px 12px;
    border: 1px solid var(--s-line);
    border-radius: 999px;
    background: rgba(10, 42, 30, .8);
    color: var(--s-mint);
    font: 600 13px/1.2 var(--s-text-font);
    box-shadow: none;
}

html.home-sonar-fase2 .filter-dropdown-toggle svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
}

html.home-sonar-fase2 .filter-dropdown-toggle:hover {
    background: var(--s-panel-2);
    color: var(--s-mint);
    border-color: var(--s-mint);
}

html.home-sonar-fase2 .filter-dropdown-toggle.open {
    background: var(--s-phosphor);
    color: var(--s-abyss);
    border-color: var(--s-phosphor);
    box-shadow: none;
}

html.home-sonar-fase2 .filter-dropdown-toggle.open svg {
    transform: rotate(180deg);
}

html.home-sonar-fase2 .filter-dropdown-menu {
    border: 1px solid var(--s-line);
    border-radius: 12px;
    background: var(--s-panel);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}

html.home-sonar-fase2 .filter-dropdown-item {
    border-bottom-color: var(--s-line-soft);
    background: transparent;
    font: 500 14px/1.2 var(--s-text-font);
    color: var(--s-text);
}

html.home-sonar-fase2 .filter-dropdown-item:hover,
html.home-sonar-fase2 .filter-dropdown-item.active {
    color: var(--s-mint);
    background: var(--s-panel-2);
}

html.home-sonar-fase2 .filter-dropdown-item.active {
    border-left-color: var(--s-phosphor);
}

html.home-sonar-fase2 .home-view-switch {
    display: inline-flex;
    margin-left: auto;
    border: 1px solid var(--s-line);
    border-radius: 999px;
    background: rgba(10, 42, 30, .8);
    overflow: hidden;
}

html.home-sonar-fase2 .home-view-btn {
    display: grid;
    place-items: center;
    width: 44px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--s-mint);
    cursor: pointer;
}

html.home-sonar-fase2 .home-view-btn svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html.home-sonar-fase2 .home-view-btn[aria-pressed="true"] {
    background: var(--s-phosphor);
    color: var(--s-abyss);
}

html.home-sonar-fase2 .home-view-btn:focus-visible {
    outline: 2px solid var(--s-amber);
    outline-offset: -3px;
}

html.home-sonar-fase2 .new-promos-banner {
    margin-bottom: 12px;
}

html.home-sonar-fase2 .new-promos-btn {
    font-family: var(--s-text-font);
}

/* ---------- Lista de capturas: uma marcação, dois modos ---------- */

html.home-sonar-fase2 .promos-grid {
    gap: 12px;
}

html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) {
    grid-template-columns: minmax(0, 1fr);
}

html.home-sonar-fase2 .promos-grid[data-view="grid"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

html.home-sonar-fase2 .promos-grid .loading {
    color: var(--s-muted);
    font-family: var(--s-text-font);
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial {
    display: grid;
    height: auto;
    border: 1px solid var(--s-line);
    border-radius: 14px;
    background: var(--s-panel);
    box-shadow: none;
    overflow: hidden;
    transition: opacity .4s ease, transform .4s ease, border-color .15s ease;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial:hover {
    transform: translateY(0);
    box-shadow: none;
    border-color: rgba(116, 255, 103, .4);
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial:active {
    border-color: var(--s-phosphor);
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-info,
html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-card-footer {
    display: contents;
}

/* A imagem fica num quadro branco dentro do painel, como uma tela. */
html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-image-link {
    grid-area: img;
    position: relative;
    width: auto;
    margin: 0;
    padding: 0;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-image {
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 8px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    box-sizing: border-box;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-image i {
    font-size: 1.8rem;
    color: var(--s-panel);
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-savings,
html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-coupon-label {
    position: absolute;
    top: -4px;
    display: inline-block;
    max-width: calc(100% - 8px);
    padding: 6px 7px;
    border-radius: 8px;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-savings {
    left: -4px;
    background: var(--s-amber);
    color: var(--s-amber-ink);
    font: 700 12px/1 var(--s-display);
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-coupon-label {
    right: -4px;
    border: 1px solid var(--s-mint);
    background: var(--s-panel);
    color: var(--s-mint);
    font: 600 11px/1 var(--s-text-font);
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-title {
    grid-area: title;
    display: -webkit-box;
    min-height: 0;
    margin: 0;
    font: 600 13.5px/1.3 var(--s-text-font);
    color: var(--s-text);
    -webkit-line-clamp: 2;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-title a {
    color: inherit;
    text-decoration: none;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-price-group {
    grid-area: price;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    min-height: 0;
    margin: 0;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-price {
    font: 700 21px/1 var(--s-display);
    color: var(--s-phosphor);
    text-shadow: 0 0 12px var(--s-phosphor-glow);
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-price-old {
    font: 400 12px/1 var(--s-text-font);
    color: var(--s-muted);
    text-decoration: line-through;
    text-shadow: none;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-card-summary {
    grid-area: summary;
    display: -webkit-box;
    min-height: 0;
    margin: 0;
    font: 400 13px/1.4 var(--s-text-font);
    color: var(--s-muted);
    -webkit-line-clamp: 3;
}

/* Ações: "Ver oferta" leva à página da oferta; a lupa "Espiar" abre a prévia (folha). */
html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-actions {
    grid-area: btn;
    display: flex;
    align-items: center;
    align-self: end;
    justify-self: start;
    gap: 6px;
    min-width: 0;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-offer-btn,
html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 32px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 10px;
    background: var(--s-phosphor);
    color: var(--s-abyss);
    font: 600 12.5px/1 var(--s-text-font);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-offer-btn:hover,
html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-details-btn:hover {
    text-decoration: none;
    background: var(--s-mint);
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-offer-btn:active,
html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-details-btn:active {
    transform: translateY(1px);
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-offer-btn:focus-visible,
html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-details-btn:focus-visible {
    outline: 2px solid var(--s-amber);
    outline-offset: 2px;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-details-btn--peek {
    width: 32px;
    min-width: 32px;
    padding: 0;
    border: 1.5px solid var(--s-line);
    border-radius: 10px;
    background: transparent;
    color: var(--s-muted);
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-details-btn--peek svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-details-btn--peek:hover {
    border-color: var(--s-mint);
    background: rgba(29, 242, 178, .12);
    color: var(--s-mint);
}

/* "captada há 3 min", com o ponto de captura antes. */
html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-meta {
    grid-area: meta;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    justify-self: start;
    min-width: 0;
    margin: 0;
    font: 400 11.5px/1.2 var(--s-text-font);
    color: var(--s-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-time::before {
    content: "";
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--s-phosphor);
    box-shadow: 0 0 0 3px rgba(116, 255, 103, .2);
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-time i {
    display: none;
}

/* Votos: boia e âncora em traço fino; o voto dado fica fósforo. */
html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-card-reactions {
    grid-area: votes;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    min-height: 44px;
    padding: 0;
    border: 0;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-card-reactions button {
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--s-muted);
    opacity: 1;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-card-reactions button:disabled {
    opacity: .45;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-card-reactions svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .15s ease;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-card-reactions button:not(:disabled):active svg {
    transform: scale(.9);
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-card-reactions button[aria-pressed="true"] {
    border: 0;
    background: transparent;
    color: var(--s-phosphor);
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-card-reactions button[aria-pressed="true"] svg {
    filter: drop-shadow(0 0 4px var(--s-phosphor-glow));
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-card-reactions button:focus-visible {
    outline: 2px solid var(--s-amber);
    outline-offset: -4px;
}

html.home-sonar-fase2 .promos-grid .promo-card--editorial .promo-reaction-score {
    min-width: 16px;
    text-align: center;
    font: 600 13px/1 var(--s-text-font);
    color: var(--s-text);
}

/* Modo lista (padrão): uma lista de verdade, fora do modelo do Brad's. Linhas densas com
   miniatura de 80 px, título, preço, loja e tempo, ação e votos compactos; fios entre as
   linhas em vez de cartões (revisão do Bruno, 24/10). */
html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) {
    gap: 0;
    border-top: 1px solid var(--s-line);
}

html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial {
    content-visibility: auto;
    contain-intrinsic-size: auto 136px;
    grid-template-columns: 80px minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    grid-template-areas:
        "img title title"
        "img price btn"
        "img meta votes";
    gap: 4px 12px;
    padding: 12px 2px;
    border: 0;
    border-bottom: 1px solid var(--s-line);
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial:hover,
html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial:active {
    border-color: var(--s-line);
}

html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-image-link {
    align-self: start;
}

html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-image {
    padding: 4px;
    border: 0;
    border-radius: 8px;
}

html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-savings {
    top: -5px;
    left: -2px;
    padding: 4px 5px;
    font-size: 11px;
}

html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-coupon-label {
    top: auto;
    right: auto;
    bottom: -5px;
    left: -5px;
    max-width: none;
    padding: 4px 5px;
    font-size: 10px;
}

html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-title {
    font: 700 14px/1.25 var(--s-display);
    color: var(--s-text);
}

html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-price-group {
    align-self: center;
}

html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-price {
    text-shadow: none;
    font-size: 18px;
}

html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-card-summary {
    display: none;
}

html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-actions {
    align-self: center;
    justify-self: end;
}

html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-meta {
    align-self: center;
    flex-wrap: wrap;
    gap: 2px 6px;
    white-space: normal;
}



html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-card-reactions {
    justify-self: end;
    min-height: 36px;
    margin: 0;
}

html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-card-reactions button {
    min-width: 36px;
    min-height: 36px;
}

/* Modo grade: a estrutura do cartão que estava no ar antes da fase 1 (imagem grande em cima,
   título, preço, resumo, ação e tempo, votos centralizados sob um fio), na pele nova. */
html.home-sonar-fase2 .promos-grid[data-view="grid"] .promo-card--editorial {
    /* A linha "meta votes": o tempo quebra em duas linhas se preciso; os votos ficam inteiros. */
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto minmax(0, 1fr) auto auto;
    grid-template-areas:
        "img img"
        "title title"
        "price price"
        "summary summary"
        "btn btn"
        "meta votes";
    gap: 0;
    padding: 0 14px 8px;
}

html.home-sonar-fase2 .promos-grid[data-view="grid"] .promo-card--editorial .promo-image-link {
    margin: 10px -4px 2px;
}

html.home-sonar-fase2 .promos-grid[data-view="grid"] .promo-card--editorial .promo-image {
    padding: 8px;
    border-radius: 10px;
}

html.home-sonar-fase2 .promos-grid[data-view="grid"] .promo-card--editorial .promo-title {
    margin-bottom: 6px;
    font: 600 16px/1.3 var(--s-text-font);
    color: var(--s-text);
}

html.home-sonar-fase2 .promos-grid[data-view="grid"] .promo-card--editorial .promo-price-group {
    align-self: start;
    margin-bottom: 8px;
}

html.home-sonar-fase2 .promos-grid[data-view="grid"] .promo-card--editorial .promo-price {
    font-size: 21px;
}

html.home-sonar-fase2 .promos-grid[data-view="grid"] .promo-card--editorial .promo-card-summary {
    align-self: start;
    margin-bottom: 10px;
    font-size: 14px;
    -webkit-line-clamp: 2;
}

html.home-sonar-fase2 .promos-grid[data-view="grid"] .promo-card--editorial .promo-actions {
    align-self: center;
}

html.home-sonar-fase2 .promos-grid[data-view="grid"] .promo-card--editorial .promo-meta {
    align-self: center;
    justify-self: start;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
}

html.home-sonar-fase2 .promos-grid[data-view="grid"] .promo-card--editorial {
    content-visibility: auto;
    contain-intrinsic-size: auto 400px;
}

html.home-sonar-fase2 .promos-grid[data-view="grid"] .promo-card--editorial .promo-card-reactions {
    justify-self: end;
    justify-content: flex-end;
    min-height: 32px;
    margin: 2px -6px 0 0;
    padding: 0;
    border-top: 0;
}

html.home-sonar-fase2 .promos-grid[data-view="grid"] .promo-card--editorial .promo-card-reactions button {
    min-width: 32px;
    min-height: 32px;
}

/* ---------- Faixas dentro da lista ---------- */

html.home-sonar-fase2 .home-band-host {
    grid-column: 1 / -1;
    min-width: 0;
}

html.home-sonar-fase2 .home-band-host[data-band="guias"] {
    min-height: 300px;
}

html.home-sonar-fase2 .home-band-host[data-band="pih"] {
    min-height: 294px;
}

html.home-sonar-fase2 .home-band {
    border: 1px solid var(--s-line);
    border-radius: 16px;
    padding: 14px 14px 12px;
    background: var(--s-panel-2);
    color: var(--s-text);
}

html.home-sonar-fase2 .home-band-title {
    margin: 0 0 2px;
    font: 700 18px/1.15 var(--s-display);
    letter-spacing: .2px;
    color: inherit;
}

html.home-sonar-fase2 .home-band-sub {
    margin: 0 0 12px;
    font: 400 13px/1.4 var(--s-text-font);
    color: var(--s-muted);
}

html.home-sonar-fase2 .home-band-row {
    display: flex;
    gap: 10px;
    margin: 0 -14px;
    padding: 0 14px 4px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-left: 14px;
    scrollbar-width: none;
}

html.home-sonar-fase2 .home-band-row::-webkit-scrollbar {
    display: none;
}

html.home-sonar-fase2 .home-band-art {
    flex: 0 0 210px;
    display: block;
    border: 1px solid var(--s-line);
    border-radius: 12px;
    background: var(--s-panel);
    color: var(--s-text);
    overflow: hidden;
    scroll-snap-align: start;
}

html.home-sonar-fase2 .home-band-art img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--s-panel);
}

html.home-sonar-fase2 .home-band-scroller {
    position: relative;
}

html.home-sonar-fase2 .home-band-nav {
    display: none;
}

html.home-sonar-fase2 .home-band-art-body {
    padding: 8px 10px 10px;
}

/* O clamp fica num elemento sem padding; com padding, a linha seguinte aparecia cortada. */
html.home-sonar-fase2 .home-band-art h3 {
    display: -webkit-box;
    margin: 0 0 4px;
    padding: 0;
    font: 600 13px/1.3 var(--s-text-font);
    color: var(--s-text);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html.home-sonar-fase2 .home-band-art p {
    display: -webkit-box;
    margin: 0;
    font: 400 12px/1.35 var(--s-text-font);
    color: var(--s-muted);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html.home-sonar-fase2 .home-band-item {
    flex: 0 0 150px;
    display: block;
    padding: 8px;
    border: 1px solid var(--s-line);
    border-radius: 12px;
    background: var(--s-panel);
    color: var(--s-text);
    scroll-snap-align: start;
}

html.home-sonar-fase2 .home-band-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 6px;
    border-radius: 8px;
    background: transparent;
    box-sizing: border-box;
}

html.home-sonar-fase2 .home-band-item h3 {
    display: -webkit-box;
    margin: 6px 0 2px;
    font: 600 12px/1.3 var(--s-text-font);
    color: var(--s-text);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html.home-sonar-fase2 .home-band-item small {
    display: block;
    font: 400 11px/1.3 var(--s-text-font);
    color: var(--s-muted);
}

html.home-sonar-fase2 .home-band-item small b {
    font-weight: 600;
    color: var(--s-phosphor);
}

/* CTA do grupo dentro da faixa "Preço monitorado": só no desktop. */
html.home-sonar-fase2 .home-band-cta {
    display: none;
}

html.home-sonar-fase2 .home-band-more {
    display: inline-block;
    margin-top: 10px;
    font: 600 13px/1 var(--s-text-font);
    color: var(--s-mint);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ---------- Carregar mais capturas ---------- */

html.home-sonar-fase2 .load-more-btn {
    height: 44px;
    margin-top: 18px;
    border: 1px solid var(--s-line);
    border-radius: 10px;
    background: transparent;
    color: var(--s-mint);
    font: 600 14px/1 var(--s-text-font);
    letter-spacing: 0;
    transition: background-color .15s ease;
}

html.home-sonar-fase2 .load-more-btn:hover {
    opacity: 1;
    transform: none;
    background: var(--s-panel-2);
}

/* ---------- Folha de detalhes ----------
   Regras com "body" no seletor: o styles.css do Sonar tem "body.site-sonar .deal-modal-title",
   "...coupon-*" e "...btn-primary", que empatam com "html.home-sonar-fase2 X"; no ar o bundle
   carrega depois do home.css e levaria. O "body" extra desempata sem depender da ordem. */

html.home-sonar-fase2 .deal-modal-overlay {
    background: rgba(2, 10, 8, .7);
}

html.home-sonar-fase2 .deal-modal-content {
    background: var(--s-panel);
    color: var(--s-text);
    font-family: var(--s-text-font);
    box-shadow: -4px 0 30px rgba(0, 0, 0, .5);
}

html.home-sonar-fase2 .deal-modal-grip {
    display: none;
    width: 44px;
    height: 4px;
    margin: 0 auto 10px;
    border-radius: 2px;
    background: var(--s-line);
}

html.home-sonar-fase2 .deal-modal-close {
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--s-line);
    background: var(--s-panel-2);
    color: var(--s-mint);
}

html.home-sonar-fase2 .deal-modal-close svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
}

html.home-sonar-fase2 .deal-modal-close:hover {
    background: var(--s-abyss);
}

html.home-sonar-fase2 .deal-modal-body {
    padding: 18px 18px 20px;
}

html.home-sonar-fase2 .deal-modal-image-container {
    height: auto;
    margin-bottom: 12px;
}

/* O quadro branco é só a imagem, não a largura toda da folha. */
html.home-sonar-fase2 .deal-modal-image {
    height: auto;
    background: transparent;
    border-radius: 0;
}

html.home-sonar-fase2 .deal-modal-image img {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0 auto;
    padding: 8px;
    border-radius: 12px;
    background: transparent;
    box-sizing: border-box;
}

html.home-sonar-fase2 body .deal-modal-title {
    margin: 0 0 8px;
    padding-right: 36px;
    font: 700 19px/1.25 var(--s-display);
    color: var(--s-text);
    text-decoration: none;
    -webkit-line-clamp: 3;
}

html.home-sonar-fase2 .deal-modal-price {
    gap: 8px;
    margin-bottom: 12px;
}

html.home-sonar-fase2 .deal-modal .price-current {
    font: 700 28px/1 var(--s-display);
    color: var(--s-phosphor);
    text-shadow: 0 0 12px var(--s-phosphor-glow);
}

html.home-sonar-fase2 .deal-modal .price-old {
    font: 400 14px/1 var(--s-text-font);
    color: var(--s-muted);
}

html.home-sonar-fase2 .deal-modal .price-badge {
    padding: 6px 8px;
    border-radius: 8px;
    background: var(--s-amber);
    color: var(--s-amber-ink);
    font: 700 12px/1 var(--s-display);
}

html.home-sonar-fase2 .deal-modal.is-coupon .price-current {
    font-size: 22px;
}

html.home-sonar-fase2 body .deal-modal-coupon-row {
    border: 1px solid var(--s-line);
    background: var(--s-abyss);
}

html.home-sonar-fase2 body .deal-modal-coupon-label {
    color: var(--s-muted);
}

html.home-sonar-fase2 body .deal-modal-coupon-code {
    border-color: var(--s-line);
    background: var(--s-panel);
    color: var(--s-phosphor);
    font-weight: 700;
}

html.home-sonar-fase2 body .deal-modal-coupon-copy {
    border-radius: 10px;
    background: var(--s-phosphor);
    color: var(--s-abyss);
}

html.home-sonar-fase2 body .deal-modal-coupon-copy:hover {
    background: var(--s-mint);
}

html.home-sonar-fase2 body .deal-modal-coupon-copy.copiado {
    background: var(--s-mint);
    color: var(--s-abyss);
}

html.home-sonar-fase2 .deal-modal-description {
    margin-bottom: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font: 400 14px/1.5 var(--s-text-font);
    color: var(--s-muted);
}

html.home-sonar-fase2 .deal-modal-description h4,
html.home-sonar-fase2 .deal-modal-description strong {
    color: var(--s-text);
}

html.home-sonar-fase2 .deal-modal-description .read-more-btn {
    color: var(--s-mint);
}

html.home-sonar-fase2 .deal-modal-description .deal-modal-description-wrapper.collapsed .deal-modal-description-content::after {
    background: linear-gradient(to bottom, rgba(10, 42, 30, 0), var(--s-panel));
}

html.home-sonar-fase2 .deal-modal-meta {
    display: block;
    margin-bottom: 14px;
    font: 400 12.5px/1.4 var(--s-text-font);
    color: var(--s-muted);
}

html.home-sonar-fase2 .deal-modal-meta span {
    display: inline;
}

html.home-sonar-fase2 .deal-modal-meta span:not(:last-child)::after {
    content: ",";
    margin-left: 0;
    color: inherit;
}

html.home-sonar-fase2 .deal-modal-meta span:empty,
html.home-sonar-fase2 .deal-modal-meta span:has(+ span:empty)::after {
    display: none;
}

html.home-sonar-fase2 .deal-modal-meta #modalPostedBy {
    color: var(--s-text);
    font-weight: 600;
}

html.home-sonar-fase2 body .deal-modal-btn-primary,
html.home-sonar-fase2 body .deal-modal-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 10px;
    font: 600 15px/1.2 var(--s-text-font);
    transition: background-color .15s ease, color .15s ease;
}

html.home-sonar-fase2 body .deal-modal-btn-primary {
    margin-bottom: 10px;
    background: var(--s-phosphor);
    background-color: var(--s-phosphor);
    color: var(--s-abyss);
}

html.home-sonar-fase2 body .deal-modal-btn-primary:hover {
    background: var(--s-mint);
    background-color: var(--s-mint);
    transform: none;
    box-shadow: none;
}

html.home-sonar-fase2 body .deal-modal-btn-secondary {
    border: 1px solid var(--s-line);
    color: var(--s-mint);
    background: transparent;
}

html.home-sonar-fase2 body .deal-modal-btn-secondary:hover {
    background: var(--s-panel-2);
    color: var(--s-mint);
}

@media (max-width: 768px) {
    html.home-sonar-fase2 .deal-modal-content {
        border-radius: 22px 22px 0 0;
        max-height: 88vh;
        box-shadow: 0 -12px 40px rgba(0, 0, 0, .5);
    }

    html.home-sonar-fase2 .deal-modal-grip {
        display: block;
    }

    html.home-sonar-fase2 .deal-modal-body {
        padding: 10px 18px 20px;
    }

    html.home-sonar-fase2 .deal-modal-image-container {
        display: block !important;
    }

    html.home-sonar-fase2 .deal-modal-image {
        display: block;
    }

    html.home-sonar-fase2 .deal-modal-image img {
        max-width: 160px;
    }

    html.home-sonar-fase2 .deal-modal-title {
        font-size: 19px;
    }

    html.home-sonar-fase2 .deal-modal .price-current {
        font-size: 28px;
    }
}

/* ---------- Larguras maiores ---------- */

@media (min-width: 600px) {
    html.home-sonar-fase2 .promos-grid[data-view="grid"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    html.home-sonar-fase2 .featured-carousel-shell {
        margin: 0 -20px;
    }

    html.home-sonar-fase2 .featured-carousel {
        padding-left: 20px;
        padding-right: 20px;
        scroll-padding-left: 20px;
    }

    html.home-sonar-fase2 .home-section-title {
        font-size: 24px;
    }

    html.home-sonar-fase2 .home-sonar-bg::before,
    html.home-sonar-fase2 .home-sonar-bg::after {
        width: 1100px;
        height: 1100px;
        top: 120px;
    }
}

@media (min-width: 1024px) {
    html.home-sonar-fase2 .featured-carousel {
        --featured-vertical: 300px;
        --featured-column: 700px;
        --featured-gap: 16px;
        height: 528px;
        /* Colunas alternadas, como no Brad's: a do destaque vertical e a dupla de horizontais,
           2,3 vezes mais larga, com imagem de 200 px, título, resumo e botão lado a lado. */
        grid-auto-columns: var(--featured-vertical) var(--featured-column);
    }

    html.home-sonar-fase2 .featured-card-title {
        font-size: 20px;
    }

    html.home-sonar-fase2 .featured-card--horizontal {
        grid-template-columns: 200px minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr) auto;
        gap: 6px 18px;
        padding: 16px;
    }

    html.home-sonar-fase2 .featured-card--horizontal .featured-card-image {
        padding: 10px;
        border-radius: 12px;
    }

    html.home-sonar-fase2 .featured-card--horizontal .featured-card-title {
        grid-row: 1;
        margin: 0;
        font: 700 20px/1.25 var(--s-display);
        -webkit-line-clamp: 2;
    }

    html.home-sonar-fase2 .featured-card--horizontal .featured-card-summary {
        display: -webkit-box;
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        margin: 0;
        font: 400 15px/1.45 var(--s-text-font);
        -webkit-line-clamp: 2;
    }

    html.home-sonar-fase2 .featured-card--horizontal .featured-card-cta {
        grid-row: 3;
        min-height: 40px;
        padding: 0 16px;
        font-size: 14px;
    }

    html.home-sonar-fase2 .section-controls {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    html.home-sonar-fase2 .controls-right {
        width: auto;
    }

    html.home-sonar-fase2 .home-view-switch {
        margin-left: 8px;
    }

    html.home-sonar-fase2 .promos-grid {
        gap: 16px;
    }

    html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 40px;
    }

    /* Lista no desktop: a linha tem o dobro da largura do celular, então a miniatura cresce,
       o título e o preço também, e o resumo volta (2 linhas) para preencher o meio da linha. */
    html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial {
        contain-intrinsic-size: auto 176px;
        grid-template-columns: 112px minmax(0, 1fr) auto;
        grid-template-rows: auto auto auto auto;
        grid-template-areas:
            "img title title"
            "img price btn"
            "img summary summary"
            "img meta votes";
        gap: 6px 16px;
        padding: 14px 4px;
    }

    html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-image {
        padding: 6px;
    }

    html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-title {
        font-size: 16px;
    }

    html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-price {
        font-size: 22px;
    }

    html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-card-summary {
        display: -webkit-box;
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-meta {
        font-size: 13px;
    }

    html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-offer-btn,
    html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-details-btn {
        min-height: 36px;
        padding: 0 16px;
        font-size: 13px;
    }

    html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-details-btn--peek {
        width: 36px;
        min-width: 36px;
        padding: 0;
    }

    html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-card-reactions {
        min-height: 40px;
    }

    html.home-sonar-fase2 .promos-grid:not([data-view="grid"]) .promo-card--editorial .promo-card-reactions button {
        min-width: 40px;
        min-height: 40px;
    }

    html.home-sonar-fase2 .promos-grid[data-view="grid"] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* Com três colunas ou mais o cartão tem largura para o botão e os votos na mesma
       linha; o tempo sobe para baixo do preço e a linha de votos some. */
    html.home-sonar-fase2 .promos-grid[data-view="grid"] .promo-card--editorial {
        grid-template-rows: auto auto auto auto minmax(0, 1fr) auto;
        grid-template-areas:
            "img img"
            "title title"
            "price price"
            "meta meta"
            "summary summary"
            "btn votes";
    }

    html.home-sonar-fase2 .promos-grid[data-view="grid"] .promo-card--editorial .promo-price-group {
        margin-bottom: 4px;
    }

    html.home-sonar-fase2 .promos-grid[data-view="grid"] .promo-card--editorial .promo-meta {
        align-self: start;
        justify-self: start;
        justify-content: flex-start;
        margin-bottom: 8px;
        text-align: left;
    }

    html.home-sonar-fase2 .promos-grid[data-view="grid"] .promo-card--editorial .promo-card-reactions {
        align-self: center;
        margin-top: 0;
    }

    /* Guias como carrossel: cartões de largura fixa, 8 artigos, setas nas pontas. */
    html.home-sonar-fase2 .home-band-art {
        flex: 0 0 240px;
    }

    html.home-sonar-fase2 .home-band-nav {
        position: absolute;
        top: 50%;
        z-index: 1;
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 1.5px solid var(--s-line);
        border-radius: 50%;
        background: var(--s-panel-2);
        color: var(--s-text);
        transform: translateY(-50%);
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
    }

    html.home-sonar-fase2 .home-band-nav svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    html.home-sonar-fase2 .home-band-nav--prev {
        left: -4px;
    }

    html.home-sonar-fase2 .home-band-nav--prev svg {
        transform: scaleX(-1);
    }

    html.home-sonar-fase2 .home-band-nav--next {
        right: -4px;
    }

    html.home-sonar-fase2 .home-band-nav:hover {
        border-color: var(--s-mint);
        color: var(--s-mint);
    }

    html.home-sonar-fase2 .home-band-nav:focus-visible {
        outline: 2px solid var(--s-amber);
        outline-offset: 2px;
    }

    html.home-sonar-fase2 .home-band-nav[disabled] {
        opacity: .35;
        cursor: default;
    }

    html.home-sonar-fase2 .home-band-item {
        flex-basis: 150px;
    }

    /* "Preço monitorado" divide a faixa com o CTA do grupo (WhatsApp no Dicas, Telegram no
       Sonar), que no desktop ficava escondido no trilho lateral. */
    html.home-sonar-fase2 .home-band--pih {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 470px;
        gap: 8px 32px;
        align-items: center;
    }

    html.home-sonar-fase2 .home-band--pih .home-band-row {
        gap: 16px;
    }

    /* Os três produtos crescem até preencher a coluna; imagem 4:3 para a faixa ficar mais baixa. */
    html.home-sonar-fase2 .home-band--pih .home-band-item {
        flex: 1 1 180px;
        max-width: 240px;
    }

    html.home-sonar-fase2 .home-band--pih .home-band-item img {
        aspect-ratio: 4 / 3;
    }

    html.home-sonar-fase2 .home-band--pih .home-band-main {
        min-width: 0;
    }

    html.home-sonar-fase2 .home-band-cta {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 124px;
        gap: 16px;
        align-items: center;
        padding: 16px 18px 16px 22px;
        border: 1px solid var(--s-line);
        border-left: 4px solid var(--band-cta-color);
        border-radius: 14px;
        background: var(--s-panel-2);
        color: var(--s-text);
    }

    html.home-sonar-fase2 .home-band-cta-icon {
        display: grid;
        place-items: center;
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
        border-radius: 50%;
        background: var(--band-cta-color);
        color: #fff;
    }

    html.home-sonar-fase2 .home-band-cta-icon svg {
        width: 22px;
        height: 22px;
    }

    html.home-sonar-fase2 .home-band-cta h3 {
        margin: 0 0 4px;
        font: 700 17px/1.2 var(--s-display);
        color: var(--s-text);
    }

    html.home-sonar-fase2 .home-band-cta p {
        margin: 0 0 12px;
        font: 400 13px/1.4 var(--s-text-font);
        color: var(--s-muted);
    }

    html.home-sonar-fase2 .home-band-cta-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 18px;
        border-radius: 999px;
        background: var(--band-cta-color);
        color: #fff;
        font: 700 14px/1 var(--s-text-font);
        text-decoration: none;
    }

    html.home-sonar-fase2 .home-band-cta-btn:hover {
        filter: brightness(1.08);
        text-decoration: none;
    }

    html.home-sonar-fase2 .home-band-cta-btn:focus-visible {
        outline: 2px solid var(--s-amber);
        outline-offset: 2px;
    }

    /* QR do convite: caixa branca para o leitor do celular, legenda curta embaixo. */
    html.home-sonar-fase2 .home-band-cta-qr {
        margin: 0;
        text-align: center;
    }

    html.home-sonar-fase2 .home-band-cta-qr img {
        display: block;
        width: 124px;
        height: 124px;
        padding: 6px;
        border-radius: 10px;
        background: #fff;
        box-sizing: border-box;
    }

    html.home-sonar-fase2 .home-band-cta-qr figcaption {
        margin-top: 6px;
        font: 500 11px/1.3 var(--s-text-font);
        color: var(--s-muted);
    }

    html.home-sonar-fase2 .home-band-cta-alt {
        display: block;
        margin-top: 10px;
        font: 500 12.5px/1.3 var(--s-text-font);
        color: var(--s-muted);
        text-decoration: underline;
        text-underline-offset: 3px;
    }
}

@media (min-width: 1200px) {
    html.home-sonar-fase2 .promos-grid[data-view="grid"] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- Movimento ---------- */

@media (prefers-reduced-motion: reduce) {
    html.home-sonar-fase2 .home-sonar-bg::after {
        animation: none;
    }

    html.home-sonar-fase2 .featured-carousel,
    html.home-sonar-fase2 .home-band-row {
        scroll-behavior: auto;
    }

    html.home-sonar-fase2 .promos-grid .promo-card--editorial,
    html.home-sonar-fase2 .featured-dots i,
    html.home-sonar-fase2 .filter-dropdown-toggle svg,
    html.home-sonar-fase2 .promo-card-reactions svg,
    html.home-sonar-fase2 .load-more-btn,
    html.home-sonar-fase2 .deal-modal-overlay,
    html.home-sonar-fase2 .deal-modal-content,
    html.home-sonar-fase2 .deal-modal-btn-primary,
    html.home-sonar-fase2 .deal-modal-btn-secondary {
        transition: none !important;
        animation: none !important;
    }
}
