:root {
  --ink: #17233b;
  --muted: #526074;
  --blue: #3446c7;
  --line: #d6dce8;
  --paper: #fafaf7;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 "Segoe UI", Arial, sans-serif; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.15; }
a { color: var(--blue); text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
section[id] { scroll-margin-top: 24px; }
.wrap { width: min(1140px, calc(100% - 64px)); margin: 0 auto; }
.site-header { background: #e7edf7; border-bottom: 1px solid #c8d3e7; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 98px; }
.header-inner img { display: block; height: auto; }
.header-inner a { font-weight: 650; }
main { padding-bottom: 64px; }
.intro { padding-block: 44px 38px; }
h1 { font-size: clamp(2.2rem, 4.7vw, 3.7rem); letter-spacing: -.045em; }
h1 span { color: var(--blue); }
h1 + p { margin-top: 14px; font-size: 1.12rem; }
.choices, .cards { display: grid; gap: 18px; }
.choices { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
.choices a { display: grid; gap: 5px; padding: 19px 22px; border: 1px solid #bbc5ef; border-radius: 8px; background: #eef1fc; text-decoration: none; }
.choices a:hover { border-color: var(--blue); background: #e7ecff; }
.choices strong { font-size: 1.1rem; color: var(--ink); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); letter-spacing: -.025em; }
h2 + p { margin-top: 8px; color: var(--muted); }
.family-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.family-links a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; background: white; font-weight: 650; }
.family { margin-top: 30px; }
.family-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 13px; }
.family-heading h3 { font-size: 1.4rem; }
.family-heading span { color: var(--muted); }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: white; }
.product figure, .product-media { display: grid; place-items: center; height: 200px; padding: 12px; }
.product img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.product-detail { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; border-top: 1px solid var(--line); padding: 16px; }
.product h3, .product h4 { font-size: 1.08rem; }
.product p { flex: 1; font-size: .92rem; color: var(--muted); }
.product strong { margin-top: 4px; padding: 5px 10px; border-radius: 5px; background: #eef1fc; color: #263896; }
.photo-options { border: 0; margin: 6px 0 0; padding: 0; min-inline-size: 0; }
.photo-options legend { color: var(--muted); font-size: .9rem; padding: 0; margin-bottom: 6px; }
.photo-options label { display: inline-block; position: relative; margin: 0 2px 4px 0; }
.photo-options input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.photo-options span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); font-size: .88rem; cursor: pointer; }
.photo-options input:checked + span { color: white; background: var(--blue); border-color: var(--blue); }
.photo-options input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
#conversores { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.converter-cards { margin-top: 20px; }
.product-media:focus-visible { outline-offset: -4px; }
.converter-order { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; border: 1px solid #bbc5ef; border-radius: 9px; background: #eef1fc; padding: 20px; }
.converter-order h3 { font-size: 1.16rem; }
.converter-order .photo-options { margin: 0; }
.converter-order .photo-options span { min-inline-size: 52px; justify-content: center; background: white; }
.converter-order .photo-options input:checked + span { background: var(--blue); }
.converter-quote { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 13px; border-radius: 6px; background: var(--blue); color: white; text-decoration: none; text-align: center; font-weight: 650; font-size: .92rem; }
.converter-quote:hover { background: #2535a1; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.source-details-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 650; }
.source-image-link { display: block; width: 100%; height: 100%; min-height: 0; }
.source-page { padding-top: 38px; }
.source-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.source-layout[hidden], .source-specs [hidden] { display: none; }
.source-photo { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: white; }
.source-photo a { display: block; cursor: zoom-in; }
.source-photo a:focus-visible { outline-offset: -4px; }
.source-photo img { display: block; width: 100%; height: auto; }
.source-photo figcaption { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--muted); }
.source-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.source-controls label { display: grid; gap: 5px; font-weight: 650; }
.source-controls select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #b5c0d2; border-radius: 5px; color: var(--ink); background: white; font: inherit; font-weight: 400; }
.source-controls select:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.source-specs { margin: 24px 0 18px; border-top: 1px solid var(--line); }
.source-specs > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 14px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.source-specs dt { color: var(--muted); }
.source-specs small { display: block; }
.source-specs dd { margin: 0; font-weight: 650; }

@media (max-width: 690px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 82px; }
  .header-inner img { width: 110px; }
  .intro { padding-top: 30px; }
  .choices, .cards { grid-template-columns: 1fr; gap: 12px; }
  .source-page { padding-top: 24px; }
  .source-layout { grid-template-columns: 1fr; gap: 24px; }
}

.legacy-extra { margin-top: -8px; }

.source-breadcrumb { padding-top: 20px; font-size: .875rem; color: var(--muted); }
.source-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.source-breadcrumb li { display: inline-flex; align-items: baseline; gap: 8px; }
.source-breadcrumb a { color: inherit; text-decoration: none; }
.source-breadcrumb a:hover { text-decoration: underline; }
.source-breadcrumb + .intro { padding-top: 28px; }
