/* Compra online, coberturas e pedido (23/11/2026). Cores da casa: azul #004b64, vermelho #ab1e22, tinta #102d43. */

/* ---------- Card do plano (parts/home2/pricing.php) ---------- */
.g-plano .g-plano__btn--comprar { margin: 14px 18px 8px; min-height: 46px; font-size: 15px; border: 2px solid var(--cor); border-radius: 10px; }
.g-plano__links { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 0 18px 18px; }
.g-plano__links a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 6px 4px; border: 2px solid var(--cor); border-radius: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    background: #fff; color: var(--cor); font-size: 12.5px; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; text-align: center; text-decoration: none; transition: background .2s, color .2s; }
.g-plano__links a:hover, .g-plano__links a:focus-visible { background: var(--cor); color: #fff; }
.g-plano__links a:focus-visible, .g-plano .g-plano__btn--comprar:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.g-plano__links .fa-whatsapp { font-size: 15px; }

/* ---------- Comuns ---------- */
.gc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 8px;
    background: #004b64; color: #fff !important; font-weight: 700; font-size: 16px; cursor: pointer; text-decoration: none; transition: filter .2s; }
.gc-btn:hover { filter: brightness(1.15); }
.gc-btn:focus-visible, .gc-tab:focus-visible, .gc-op input:focus-visible + span, .gc-link:focus-visible { outline: 3px solid #f2b705; outline-offset: 2px; }
.gc-btn--sec { background: #fff; color: #004b64 !important; border: 1px solid #c9d3dd; }
.gc-btn--final { background: #ab1e22; }
.gc-link { color: #004b64; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.gc-link .fa-whatsapp { color: #1e9e57; }
.gc-ajuda { font-size: 14px; color: #526173; margin: 6px 0 0; }

/* ---------- Coberturas ---------- */
.gc-cob { padding: clamp(40px, 6vw, 80px) 0; background: #f4f6f8; }
.gc-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 10px; margin: 0 0 6px; }
.gc-tabs::-webkit-scrollbar { display: none; }
.gc-tab { flex: 0 0 auto; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid #c9d3dd; background: #fff; color: #102d43; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap; }
.gc-tab[aria-selected="true"] { background: #004b64; border-color: #004b64; color: #fff; }
.gc-painel { background: #fff; border-radius: 14px; box-shadow: 0 10px 30px -18px rgba(13, 63, 103, .35); padding: clamp(18px, 3vw, 32px); }
.gc-painel__topo h3 { margin: 0 0 4px; font-size: clamp(20px, 2.4vw, 26px); color: #004b64; }
.gc-painel__topo p { margin: 0 0 8px; color: #526173; }
.gc-acc { column-count: 2; column-gap: 18px; margin-top: 14px; }
.gc-acc details { break-inside: avoid; margin: 0 0 10px; display: block; }
.gc-acc details { border: 1px solid #e3e8ee; border-radius: 10px; background: #fafbfc; }
.gc-acc details[open] { background: #fff; border-color: #c9d3dd; }
.gc-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; min-height: 52px; font-weight: 700; color: #102d43; line-height: 1.3; }
.gc-acc summary::-webkit-details-marker { display: none; }
.gc-acc summary::after { content: "+"; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: #e6f0f4; color: #004b64; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; }
.gc-acc details[open] summary::after { content: "−"; }
.gc-acc summary span { min-width: 0; overflow-wrap: anywhere; }
.gc-acc summary small { margin-left: auto; font-weight: 600; color: #8a97a5; font-size: 12px; white-space: nowrap; }
.gc-acc ul { margin: 0; padding: 0 16px 14px 34px; color: #33475b; font-size: 15px; line-height: 1.5; }
.gc-acc li + li { margin-top: 3px; }
.gc-cob__vazio { background: #fff8e6; border-left: 4px solid #f2b705; padding: 14px 16px; border-radius: 6px; color: #5c4a10; margin: 12px 0 0; }
.gc-painel__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.gc-benef { margin-top: clamp(32px, 5vw, 56px); }
.gc-benef h2 { text-align: center; margin: 0 0 18px; font-size: clamp(24px, 3vw, 34px); }
.gc-benef ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.gc-benef li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 12px; padding: 16px 18px; color: #33475b; }
.gc-benef li i { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: #e3f5ea; color: #1b6b3a; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; margin-top: 1px; }
.gc-benef strong { color: #102d43; display: block; }
@media (max-width: 767px) { .gc-acc { column-count: 1; } .gc-painel__acoes .gc-btn { width: 100%; } }

/* ---------- Checkout (comprar.php) ---------- */
.gc-compra { padding: clamp(24px, 5vw, 64px) 0 clamp(48px, 6vw, 88px); background: #f4f6f8; }
.gc-card { background: #fff; border-radius: 14px; box-shadow: 0 10px 30px -18px rgba(13, 63, 103, .35); padding: clamp(18px, 3.5vw, 36px); max-width: 820px; margin: 0 auto; min-width: 0; overflow-wrap: anywhere; }
.gc-passos { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; counter-reset: p; font-size: 13px; text-align: center; color: #8a97a5; }
.gc-passos li { counter-increment: p; border-top: 5px solid #dbe3ea; padding-top: 6px; font-weight: 600; overflow-wrap: normal; }
.gc-passos li::before { content: counter(p) ". "; }
.gc-passos li.ok { border-color: #004b64; color: #004b64; }
.gc-passos li.atual { border-color: #ab1e22; color: #102d43; }
.gc-etapa { border: 0; margin: 0; padding: 0; min-width: 0; }
.gc-etapa + .gc-etapa { margin-top: 28px; }
form.gc-js .gc-etapa + .gc-etapa { margin-top: 0; }
.gc-etapa legend { font-size: clamp(19px, 2.4vw, 23px); font-weight: 700; color: #004b64; margin: 0 0 16px; padding: 0; float: none; width: auto; }
.gc-etapa legend:focus { outline: none; }
.gc-compra label { display: block; font-size: 14px; font-weight: 600; color: #33475b; margin: 0 0 14px; }
.gc-compra label span, .gc-rot small { color: #8a97a5; font-weight: 400; }
.gc-compra input:not([type=radio]):not([type=checkbox]), .gc-compra select, .gc-compra textarea {
    display: block !important; width: 100%; margin-top: 5px; min-height: 48px; padding: 9px 12px; border: 1px solid #c9d3dd; border-radius: 8px; font-size: 16px; background: #fff; color: #1f2937; }
.gc-compra textarea { min-height: 84px; }
.gc-compra select:disabled { background: #f4f6f8; color: #8a97a5; }
.gc-compra .nice-select { display: none !important; }
.gc-compra [aria-invalid="true"] input, .gc-compra input[aria-invalid="true"] { border-color: #ab1e22; }
.gc-maius { text-transform: uppercase; }
.gc-duplo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
.gc-armadilha { position: absolute !important; left: -9999px !important; width: 1px !important; }
.gc-grupo { margin: 0 0 18px; }
.gc-rot { font-size: 14px; font-weight: 700; color: #33475b; margin: 0 0 8px; }
.gc-mini { font-weight: 600; font-size: 13px; color: #004b64; text-decoration: underline; margin-left: 6px; }
.gc-opcoes { display: grid; gap: 8px; }
.gc-opcoes--planos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.gc-opcoes--duplo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gc-opcoes--tres { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gc-op { position: relative; margin: 0 !important; cursor: pointer; }
.gc-op input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.gc-op > span { display: block; height: 100%; border: 2px solid #dbe3ea; border-radius: 10px; padding: 12px 14px 12px 42px; background: #fff; position: relative; transition: border-color .15s, background .15s; }
.gc-op > span::before { content: ""; position: absolute; left: 14px; top: 14px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #9aa8b6; background: #fff; }
.gc-op input:checked + span { border-color: var(--cor, #004b64); background: #f3f8fa; }
.gc-op input:checked + span::before { border-color: var(--cor, #004b64); box-shadow: inset 0 0 0 4px #fff; background: var(--cor, #004b64); }
.gc-op strong { display: block; color: #102d43; font-size: 15px; }
.gc-op small { display: block; color: #6b7785; font-size: 12.5px; font-weight: 500; margin-top: 2px; line-height: 1.35; }
.gc-op--linha strong, .gc-op--linha small { display: inline; }
.gc-opcoes--planos .gc-op > span { border-left: 6px solid var(--cor); }
.gc-fipe { border: 1px dashed #b7c4d0; border-radius: 10px; padding: 0 14px; margin: 0 0 16px; background: #fafbfc; }
.gc-fipe summary { cursor: pointer; font-weight: 700; color: #004b64; min-height: 48px; display: flex; align-items: center; gap: 6px; }
.gc-fipe summary small { color: #8a97a5; font-weight: 500; }
.gc-fipe[open] { padding-bottom: 6px; }
.gc-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.gc-nav .gc-btn:only-child { margin-left: auto; }
.gc-nav .gc-btn { flex: 0 1 auto; }
.gc-alerta { background: #fdecec; border-left: 4px solid #ab1e22; padding: 12px 16px; border-radius: 6px; color: #7a1417; font-size: 14px; margin: 0 0 18px; }
.gc-alerta ul { margin: 4px 0 0; padding-left: 18px; }
.gc-erro { display: block; color: #ab1e22; font-size: 13px; font-weight: 600; margin-top: 4px; }
.gc-aceite { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; margin: 8px 0 4px !important; }
.gc-aceite input { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 1px; accent-color: #004b64; }
.gc-aceite a { color: #004b64; text-decoration: underline; }
.gc-resumo { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; margin: 0 0 20px; padding: 16px; background: #f4f6f8; border-radius: 10px; font-size: 15px; }
.gc-resumo dt { color: #6b7785; font-weight: 600; }
.gc-resumo dd { margin: 0; color: #102d43; font-weight: 600; min-width: 0; }
@media (max-width: 560px) {
    .gc-duplo, .gc-opcoes--tres { grid-template-columns: minmax(0, 1fr); }
    .gc-passos { font-size: 11.5px; }
    .gc-nav .gc-btn { flex: 1 1 0; padding: 0 12px; }
    .gc-resumo { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .gc-resumo dd { margin-bottom: 10px; }
}

/* ---------- Pedido (pedido.php) e termos ---------- */
.gc-pedido { max-width: 760px; margin: 0 auto; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.gc-pedido .gc-card { max-width: none; margin: 0; }
.gc-h1 { font-size: clamp(24px, 4vw, 32px); color: #004b64; margin: 0 0 6px; }
.gc-h2 { font-size: 20px; color: #004b64; margin: 0 0 12px; }
.gc-mini-rot { margin: 0 0 4px; font-size: 13px; color: #6b7785; font-weight: 600; letter-spacing: .02em; }
.gc-status { display: inline-block; margin-top: 6px; padding: 6px 14px; border-radius: 999px; background: #e6f0f4; color: #004b64; font-weight: 700; font-size: 14px; }
.gc-status--aguardando_pagamento { background: #fff4d6; color: #7a5a00; }
.gc-status--pago, .gc-status--certificado_emitido { background: #e3f5ea; color: #1b6b3a; }
.gc-status--cancelado { background: #fdecec; color: #8c171b; }
.gc-trilha { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 12.5px; text-align: center; color: #8a97a5; overflow-wrap: normal; }
.gc-trilha li { border-top: 5px solid #dbe3ea; padding-top: 6px; }
.gc-trilha li.ok { border-color: #004b64; color: #004b64; font-weight: 700; }
.gc-pagar { margin-top: 20px; padding-top: 18px; border-top: 1px solid #eef1f4; }
.gc-pagar p { margin: 0 0 12px; color: #33475b; }
.gc-pagar .gc-btn { width: 100%; min-height: 54px; font-size: 17px; }
.gc-valor small { display: block; font-size: 13px; color: #6b7785; }
.gc-valor strong { font-size: 30px; color: #102d43; letter-spacing: -.02em; }
.gc-aviso { margin: 0; padding: 12px 16px; border-radius: 8px; background: #e6f0f4; color: #0b3c4f; font-size: 15px; }
.gc-aviso--ok { background: #e3f5ea; color: #1b6b3a; }
.gc-aviso--erro { background: #fdecec; color: #7a1417; }
.gc-texto { line-height: 1.65; color: #33475b; }

/* ajustes após prints 23/11 */
.gc-passos li, .gc-op > span { line-height: 1.3; }
@media (min-width: 640px) { .gc-opcoes:not([class*="--"]) { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }
@media (max-width: 560px) { .gc-passos li::before { content: counter(p); display: block; font-size: 13px; } }
.gc-compra ::placeholder { color: #a3afbb; opacity: 1; }
.gc-compra .gc-aceite span { color: #33475b; font-weight: 500; }
.gc-fipe summary { display: block; padding: 13px 0; line-height: 1.35; }
.gc-fipe summary::-webkit-details-marker { color: #004b64; }

/* 23/11/2026: preço pela FIPE (produto, opcionais, valor ao vivo) */
.gc-opcoes--produtos { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
.gc-op--chk > span::before { border-radius: 5px; }
.gc-op--chk input:checked + span::before { box-shadow: none; background: var(--cor, #004b64) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.gc-op input:disabled + span { opacity: .45; cursor: not-allowed; }
.gc-op[hidden] { display: none !important; }
.gc-op .gc-op__val { display: block; color: #004b64; font-weight: 700; font-size: 13px; margin-top: 2px; }
.gc-fipe--fixo { padding: 12px 14px 4px; border-style: solid; }
.gc-fipe__tit { margin: 0 0 8px; font-weight: 700; color: #004b64; }
.gc-sem-fipe { display: flex !important; gap: 8px; align-items: center; font-weight: 500 !important; margin: 0 0 12px !important; font-size: 14px; }
.gc-sem-fipe input { width: 20px; height: 20px; accent-color: #004b64; flex: 0 0 auto; }
.gc-preco { margin: 6px 0 18px; padding: 14px 16px; border-radius: 10px; background: #f3f8fa; border: 2px solid #cfe0e8; }
.gc-preco__rot { margin: 0; font-size: 13px; font-weight: 700; color: #6b7785; text-transform: uppercase; letter-spacing: .04em; }
.gc-preco__valor { margin: 2px 0 0; font-size: 30px; font-weight: 800; color: #102d43; letter-spacing: -.02em; line-height: 1.15; }
.gc-preco__valor small { font-size: 14px; font-weight: 600; color: #6b7785; letter-spacing: 0; }
.gc-preco__det { line-height: 1.35; margin: 10px 0 0; padding: 10px 0 0; border-top: 1px solid #d5e3ea; display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 4px 12px; font-size: 13.5px; color: #33475b; }
.gc-preco__det dd { margin: 0; text-align: right; font-weight: 700; white-space: nowrap; }
.gc-preco__nota { margin: 8px 0 0; font-size: 13.5px; color: #7a5a00; }
.gc-preco--vazio .gc-preco__valor { font-size: 16px; font-weight: 600; color: #6b7785; }
.gc-sug { display: block; font-size: 12.5px; color: #7a5a00; margin-top: 4px; }
.gc-sug[hidden], [data-sug][hidden] { display: none !important; }

.gc-tabs[hidden] { display: none; } /* revisão Codex 5: uma só modalidade */
