:root {
    --rinnai-red: #cf0003;
    /* acento */
    --ink: #222;
    /* texto principal */
    --muted: #6b6b6b;
    /* texto auxiliar */
    --line: #999;
    /* linhas/bordas */
    --panel: #f5f5f5;
    /* fundo painel */
    --radius: 0px;
}

.sr-only {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.offer-form-wrapper {
    margin: 16px 0 32px;
    background: var(--panel);
    border: 0px solid var(--line);
    border-left: 8px solid #777473;
    border-radius: var(--radius);
    padding: 20px;
}

.offer-form {
    display: grid;
    gap: 16px;
}

.step {
    margin: 0;
    padding: 0px 0px 0px;
    border: 0px solid var(--line);
    border-radius: 10px;

}

.step legend {
    font-weight: 600;
    color: var(--ink);
    padding: 0 6px;
}

.step-badge {
    background: var(--rinnai-red);
    color: #fff;
    font-size: .8rem;
    padding: 2px 8px;
    border-radius: 999px;
    margin-right: 8px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 10px;
}

@media (max-width: 820px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

.form-control {
    display: grid;
    gap: 6px;
}

label {
    font-size: 1.5rem;
    color: var(--ink);
}

input,
select {
    height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 0px;
    background: #fff;
    color: var(--ink);
    outline: none;
    transition: border .2s ease;
}

input:focus,
select:focus {
    border-color: var(--rinnai-red);
    box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.08);
}

.hint {
    color: var(--muted);
    font-size: .82rem;
}

.actions {
    display: grid;
    gap: 8px;
    margin-top: 4px;
}

.btn-primary {
    height: 46px;
    border: none;
    border-radius: 0px;
    padding: 0 18px;
    font-weight: 600;
    color: #fff;
    background: var(--rinnai-red);
    cursor: pointer;
}

.btn-primary:hover {
    filter: brightness(.95);
}

.btn-primary:active {
    transform: translateY(1px);
}

.disclaimer {
    margin: 0;
    font-size: .8rem;
    color: var(--muted);
}


/* Remove o fundo fixo da primeira linha */
/* Remove o fundo fixo da primeira linha */
table td.bg {
    background: transparent !important;
}

/* Define transição suave para o hover */
table tr {
    transition: background-color 0.2s ease;
}

/* Aplica o fundo cinza claro apenas quando o mouse passa */
table tbody tr:hover {
    background-color: #f5f5f5;
    /* cinza claro */
}

/* Mantém o cabeçalho com leve destaque */
table thead tr td.bg {
    background-color: #fafafa !important;
}





/*  modal */

/* ===== MODAL ===== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    display: grid;
    place-items: center;
    z-index: 9999;
}

.modal {
    width: min(680px, 92vw);
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
    padding: 20px 20px 16px;
    position: relative;
    animation: modalIn .18s ease-out;
}

@keyframes modalIn {
    from {
        transform: translateY(8px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    right: 10px;
    top: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    transition: background .2s;
}

.modal-close:hover {
    background: #f2f2f2;
}

.modal-content h3 {
    margin: 6px 0 10px;
    font-size: 1.25rem;
    color: #222;
}

.modal-content ul {
    margin: 0 0 10px 18px;
}

.modal-content li {
    margin: 6px 0;
}

.modal-content .note {
    color: #666;
    font-size: .9rem;
}

/* Acessibilidade: foco visível ao usar teclado */
.product-card figure:focus {
    outline: 2px solid #c8102e;
    outline-offset: 2px;
}

/* (opcional) ajuste da borda no hover – você definiu 0px; se quiser visível, troque para 1px */
.product-card:hover figure,
.product-card figure:focus {
    border: 1px solid #c8102e;
    /* <— mude de 0 para 1 para aparecer */
    transform: scale(1.01);
}


/* garante que qualquer elemento com [hidden] fique invisível */
[hidden] {
    display: none !important;
}

/* específico para o seu backdrop */
.modal-backdrop[hidden] {
    display: none !important;
}



/* ==== CARTÕES DE PRODUTO ==== */
.product-card {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.product-card figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    transition: border 0.2s ease, transform 0.2s ease;
    cursor: pointer;
}

.product-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* ==== HOVER: borda e zoom ==== */
.product-card:hover figure,
.product-card figure:focus {
    border: 0px solid #c8102e;
    transform: scale(1.01);
}

/* ==== OVERLAY COM BOTÕES ==== */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 12px;
}

/* ==== MOSTRAR APENAS AO HOVER OU FOCO ==== */
.product-card:hover .overlay,
.product-card figure:focus .overlay {
    opacity: 1;
    visibility: visible;
}

/* ==== BOTÕES ==== */
.btn-primary,
.btn-secondary {
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    width: 90%;
    max-width: 336px;
    margin: 4px 0;
    transition: all 0.2s ease;
}

.btn-primary {
    background: #c8102e;
    color: #fff;
}

.btn-primary:hover {
    background: #a60e27;
}

.btn-secondary {
    background: #fff;
    border: 1px solid #c8102e;
    color: #c8102e;
}

.btn-secondary:hover {
    background: #fce8eb;
}

/* ==== TÍTULOS ==== */
.product-card figcaption {
    margin-top: 8px;
}

.product-card .title {
    display: block;
    color: #222;
    font-size: 1.6rem;
}



.grid {
  display: flex;
  align-items: flex-start;
  gap: 20px; /* opcional: espaço entre os campos */
}

.form-control {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
}


.red-rinnai{

    color:#cf0003 !important;
}