/* G3STOR - página do Catálogo de IA */
html body.cd { padding-bottom: 96px; line-height: 1.6; }
body.cd [hidden] { display: none !important; }
.cd-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 12px max(16px, calc(50% - 490px)); }
.cd-logo { margin-right: auto; }
html body .cd-top img { height: 36px; width: auto; }
html body .cd-top .g-lang { margin: 0; }
.cd-back, .cd-link { color: #1459F5; font-weight: 700; font-size: .875rem; }
.cd-noscript { max-width: 980px; margin: 16px auto; padding: 16px; background: #FFF6DD; }

.cd-sheet, .cd-area, .cd-intro { max-width: 980px; margin: 24px auto; }
.cd-sheet, .cd-area { background: #fff; border: 1px solid #E2E7F3; border-radius: 18px; box-shadow: 0 12px 32px -20px rgba(10, 27, 69, .25); }
.cd-sheet { padding: 44px 48px; }
html body .cd-intro h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); color: #0A1B45; margin-bottom: 10px; }
.cd-intro p { color: #4A5575; }
.cd-legend { margin-top: 10px; font-size: .85rem; }
.cd-legend em { font-style: normal; font-weight: 800; font-size: .72rem; color: #8A5C05; background: #FFF6DD; padding: 3px 8px; border-radius: 6px; margin-right: 6px; }
.cd-sheet h3 { font-size: 1.2rem; font-weight: 700; color: #0A1B45; margin: 32px 0 14px; }
html body .cd-h { font-size: clamp(1.5rem, 3.5vw, 2.1rem); color: #0A1B45; margin-bottom: 14px; }
.cd-lead { font-size: 1.1rem; color: #4A5575; margin-bottom: 16px; }
.cd-nda { margin-top: 20px; font-size: .78rem; color: #4A5575; }

.cd-area { overflow: hidden; scroll-margin-top: 76px; }
.cd-area-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; background: #0A1B45; color: #fff; }
html body .cd-area-top h2 { font-size: 1.35rem; color: #fff; }
.cd-area-top p { font-size: .85rem; color: #C9D6FF; text-align: right; }
.cd-head, .cd-item { display: grid; grid-template-columns: 62px 1.1fr 1.25fr 1.7fr; gap: 16px; padding: 14px 24px; }
.cd-head { font-size: .72rem; font-weight: 800; color: #4A5575; border-bottom: 2px solid #1459F5; padding-block: 10px; }
.cd-item { border-bottom: 1px solid #E2E7F3; border-left: 4px solid transparent; padding-left: 20px; cursor: pointer; font-size: .86rem; }
.cd-item:last-child { border-bottom: 0; }
.cd-star { background: #FFF8E6; border-left-color: #B97F14; }
.cd-item:hover { background: #F0F4FF; }
.cd-item:has(input:checked) { background: #E3ECFF; border-left-color: #1459F5; }
.cd-item > span { display: block; min-width: 0; }
.cd-item > .cd-num { display: flex; align-items: flex-start; gap: 8px; font-weight: 800; color: #1459F5; }
.cd-num input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: #1459F5; cursor: pointer; }
.cd-nome strong { display: block; color: #111827; }
.cd-nome em { display: block; font-style: normal; font-size: .68rem; font-weight: 800; color: #8A5C05; margin-top: 4px; }
.cd-col small { display: none; }
/* o estilo geral do site impõe 44px a todos os campos; a linha inteira já é clicável */
html body.cd input[type="checkbox"] { width: 22px; height: 22px; min-width: 0; min-height: 0; }

.cd-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px max(16px, calc(50% - 490px)); background: #050B1F; color: #fff; box-shadow: 0 -10px 30px -12px rgba(5, 11, 31, .5); }
.cd-bar strong { font-size: 1.35rem; color: #C6F24E; margin-right: 4px; }
html body .cd-btn { display: inline-block; border: 0; border-radius: 999px; padding: 13px 28px; background: #C6F24E; color: #050B1F; font-weight: 800; font-size: .95rem; cursor: pointer; }
html body .cd-order .cd-btn { background: #1459F5; color: #fff; }
html body .cd-btn:disabled { opacity: .5; cursor: not-allowed; }

.cd-order { max-width: 720px; }
.cd-order .cd-h { margin-top: 16px; }
.cd-chosen li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; margin-bottom: 6px; background: #F0F4FF; border-radius: 10px; font-size: .9rem; font-weight: 600; }
.cd-chosen button { width: 32px; height: 32px; flex: none; border-radius: 50%; font-size: 1.2rem; color: #4A5575; }
.cd-chosen button:hover { background: #fff; color: #B91C1C; }
.cd-fields { display: grid; gap: 16px; margin: 28px 0 20px; }
.cd-fields label, .cd-fields legend { display: block; font-weight: 700; font-size: .9rem; color: #0A1B45; }
.cd-fields fieldset { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px; min-width: 0; }
.cd-fields input, .cd-fields select { display: block; width: 100%; min-width: 0; height: 48px; margin-top: 6px; padding: 0 14px; border: 1px solid #C5CEE6; border-radius: 10px; background: #fff; font: inherit; font-size: 1rem; font-weight: 400; color: #111827; }
.cd-fields input:focus, .cd-fields select:focus { outline: 3px solid rgba(20, 89, 245, .35); border-color: #1459F5; }
.cd-trap { position: absolute; left: -9999px; }
.cd-consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; margin-bottom: 20px; }
.cd-consent input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: #1459F5; }
.cd-consent a { color: #1459F5; text-decoration: underline; }
.cd-error { margin-bottom: 16px; padding: 12px 16px; border-radius: 10px; background: #FDECEC; color: #991B1B; font-weight: 600; }

@media (max-width: 1023px) { .cd-sheet, .cd-area, .cd-intro { margin-inline: 16px; } }
@media (max-width: 760px) {
  .cd-sheet { padding: 28px 20px; }
  .cd-area-top { display: block; padding: 16px; }
  .cd-area-top p { text-align: left; margin-top: 4px; }
  .cd-head { display: none; }
  .cd-item { grid-template-columns: 62px minmax(0, 1fr); gap: 8px 12px; padding: 16px 16px 16px 12px; }
  .cd-col { grid-column: 2; }
  .cd-col small { display: block; font-size: .66rem; font-weight: 800; color: #4A5575; }
  .cd-fields fieldset { grid-template-columns: 1fr; }
  .cd-bar { padding-block: 12px; }
  .cd-bar div { font-size: .85rem; }
}
@media (max-width: 639px) { .cd-back span { display: none; } .cd-back { font-size: 1.3rem; padding: 0 4px; } html body .cd-top img { height: 1.7rem; } }
.cd-back, .cd-link { display: inline-flex; align-items: center; gap: .4em; }
@media (max-width: 639px) {
}
