/* Book TRON V36 · pp. 108–116, 122–123. Neutrals carry the text.
   Raised objects and chapter contours supply depth. The UI uses open rules. */
:root {
  --tr-gray: #bdbebf; --tr-light: #e5e5e5; --tr-wine: #540101;
  --paper: var(--tr-white); --ink: var(--tr-navy);
}
body#topo { background: var(--tr-gray); }
body#topo .inner-masthead { background: var(--tr-navy); border: 0; }
body#topo :is(.inner-masthead,.home-surface,.ep-surface,.lo-shell,.or-journal,.jr-leitura,footer),
body#topo main>section, body#topo .wave-pair>section {
  border-radius: 0; border: 0; box-shadow: none;
}
body#topo :is(main>section,footer)::after { box-shadow: none; border: 0; border-radius: 0; }
body#topo .breadcrumbs { color: var(--tr-navy); }
body#topo .breadcrumbs a { text-decoration-color: var(--tr-petrol); }
body#topo .header .logo img { display:block; width:240px; max-width:100%; height:auto; }
body#topo .header { padding-block:8px; min-height:0; }
body#topo .header .main-nav {
  border:0; border-radius:0; box-shadow:none; backdrop-filter:none;
}
body#topo .header .main-nav>a,body#topo .header .main-nav>a:hover {
  border:0; border-radius:0; box-shadow:none; background:none; color:var(--tr-white);
  padding-inline:clamp(8px,1.1cqw,18px); min-height:44px; line-height:1.25; text-decoration:none;
}
body#topo .header .main-nav>a[aria-current],body#topo .header .main-nav>a:hover,
body#topo .header .main-nav>a:focus-visible {
  color:var(--tr-yellow); text-decoration:underline; text-underline-offset:.45em; text-decoration-thickness:2px;
}
body#topo .header .main-nav .nav-cta { padding-inline-end:0; }
body#topo .header .main-nav .nav-cta span { color:var(--tr-yellow); background:none; }
@container page (min-width:801px) {
  body#topo .header .main-nav { background:transparent; padding:0; gap:clamp(2px,.5cqw,8px); }
  body#topo .home-surface .header::before {
    content:""; position:absolute; z-index:-1; inset:0 calc((100% - 100cqw)/2) -8px;
    pointer-events:none; background:linear-gradient(var(--tr-navy),#122235aa 65%,transparent);
  }
}
@container page (max-width:800px) {
  body#topo .header .main-nav { padding:7px 16px; background:var(--tr-navy); border-bottom:3px solid var(--tr-petrol); }
  body#topo .header .main-nav .nav-cta { padding-inline:12px; }
  body#topo .header .menu-toggle { background:transparent; border:0; box-shadow:none; }
}
@container page (max-width:365px) {
  body#topo .header { flex-wrap:wrap; gap:0 6px; }
  body#topo .header .logo { min-width:0; flex:1; }
  body#topo .header .logo img { width:240px; }
}
body#topo :is(.tron-key,.ep-action,.button,.product-entry,.lo-button,.lo-small,.ep-tabs a,.ev-picker a,.jr-filtros a,.menu-toggle,.mt-node>span,.jr-selo,.lo-sheet-tag,.product-status,.scene-note,.lo-switch,.lo-switch button,.banner-tools,.banner-controls) { border-radius:2px; }
body#topo :is(.button,.product-entry,.discover,.text-link,.ev-report).tron-key>span:not(.dots),
body#topo .top-link { border-radius:0; }
body#topo :is(.button,.product-entry,.discover,.text-link,.ev-report).tron-key>span:not(.dots) {
  width:auto; height:auto; background:none; border:0; padding:0; box-shadow:none;
}
body#topo :is(.button,.ep-action,.product-entry,.lo-button,.lo-small,.jr-original).tron-key {
  border:0; border-bottom:2px solid var(--lip); box-shadow:none; min-height:44px;
}
body#topo :is(.button,.ep-action,.product-entry,.lo-button,.lo-small,.jr-original).tron-key:hover {
  box-shadow:inset 0 2px 0 var(--lit); transform:translateY(-1px);
}
body#topo :is(.method-glass,.school-glass,.closing-caption,.ep-coming,.ep-callout,.ep-form,.edu-register,.mt-chart,.mt-landscape-image,.lo-card,.lo-image,.lo-dialog,.lo-sheet-visual,.ev-case-study,.ev-photo,.ev-dialog,.ev-mount,.jr-card,.jr-card-link,.jr-foto,.ep-figure img,.pk-table,.pk-board) { border-radius:0; box-shadow:none; }
body#topo :is(.ep-form input,.ep-form select,.ep-form textarea,.ep-answer-image img,.edu-kit-plate,.edu-lab-grid img,.ep-collection,.jr-fotoleitura img,.lo-sheet img,.ev-caption-text,.ev-picker,.ev-picker a,.ev-plate-head,.lo-wishlist li,.ev-teaser,.ep-accordion,.lo-original) { border-radius:0; }
body#topo :is(.ep-num,.mt-node b,.ep-plus,.ev-index,.lo-count,.lo-sheet-tag,.or-swatch-label,.ev-enlarge,.news-arrow,.ev-close,dialog button.close,.top-link,.pk-cell) { border-radius:2px; }
body#topo :is(.lo-filters,.ep-tabs,.edu-steps,.ev-picker) { border-radius:0; box-shadow:none; }
body#topo :is(.lo-filters,.ep-tabs,.edu-steps,.ev-picker) :is(a,button) {
  color:inherit; background:transparent; border:0; border-radius:0;
  padding-inline:5px; min-height:44px; box-shadow:none; text-underline-offset:.3em;
}
body#topo :is(.lo-filters,.ep-tabs,.edu-steps,.ev-picker) :is([aria-selected=true],[aria-pressed=true],[aria-current=true]) {
  color:inherit; text-decoration:underline; text-decoration-thickness:3px; text-decoration-color:var(--tr-amber);
}
body#topo :is(.lo-filters,.ep-tabs,.edu-steps,.ev-picker) :is(a,button):hover { text-decoration:underline; }
body#topo .edu-steps button small,body#topo .edu-steps button[aria-pressed=true] small { color:inherit; }
body#topo :is(.product-status,.lo-sheet-tag,.scene-note) { border:0; box-shadow:none; }
body#topo .footer-top { background:var(--tr-petrol); }
body#topo .rodape-base[data-onda] { background:var(--tr-blue); }
body#topo footer { background:var(--tr-petrol); }
body#topo .site-frame :is(.footer-bottom,.footer-top a,.footer-top p,.footer-top p span) { color:var(--tr-white); }
body#topo .footer-top .logo img { width:240px; max-width:100%; }
body#topo .footer-top .top-link { border:0; box-shadow:none; background:none; color:var(--tr-yellow); }
body#topo [data-relevo] { --folio:var(--tr-petrol); --miolo:var(--tr-blue); }
body#topo [data-relevo="oliva"] { --folio:var(--tr-olive); --miolo:var(--tr-petrol); }
body#topo :is([data-relevo="catalogo"],[data-relevo="oficina"]) { --folio:var(--tr-petrol); --miolo:var(--tr-amber); }
body#topo [data-relevo="vinho"] { --folio:var(--tr-petrol); --miolo:var(--tr-yellow); }
body#topo .onda-luz { fill:var(--tr-white); }
body#topo .home-impact { background:var(--tr-blue); }
body#topo .home-impact :is(.eyebrow,.numbers-layout .impact strong) { color:var(--tr-yellow); }
body#topo .home-impact :is(p,span,.text-link) { color:var(--tr-white); }
body#topo .home-surface .products-scene,body.pagina-produtos .cat-corpo { background:var(--tr-white); }
body#topo .home-surface .news-scene { background:var(--tr-navy); }
body#topo .home-surface .news-list>a { background:transparent; border-radius:0; }
body#topo .home-surface .news-list :is(h3,.eyebrow) { color:var(--tr-white); }
body.pagina-produtos .cat-abertura { background:var(--tr-light); }
body.pagina-produtos .products-heading :is(h1,.eyebrow) { color:var(--tr-navy); }
body.pagina-produtos .products-heading h1 em { color:var(--tr-petrol); }
body#topo .product-line :is(h2,h3,a:not(.tron-key)),body#topo .products-heading { color:var(--tr-navy); }
body#topo .product-line .product-status { color:var(--tr-petrol); background:none; padding-inline:0; }
body#topo .home-surface .product-visual { background:transparent; }
body#topo .ep-surface { --ink:var(--tr-navy); color:var(--ink); }
body#topo .ep-section.ep-paper,body.pagina-pocket #em-familia,body.pagina-metodo .mt-moments,
body.pagina-escolas #colecoes[data-onda] { --bg:var(--tr-white); --dim:var(--tr-navy); --accent:var(--tr-petrol); }
body#topo :is(.ep-section.ep-sage,.ep-section.edu-coord),body.pagina-pocket #enxovais {
  --bg:var(--tr-light); --dim:var(--tr-navy); --accent:var(--tr-petrol);
}
body#topo .ep-ink { --bg:var(--tr-navy); --dim:var(--tr-light); --accent:var(--tr-yellow); }
body#topo .ep-teal,body.pagina-escolas #curriculo { --bg:var(--tr-petrol); --dim:var(--tr-white); --accent:var(--tr-yellow); }
body.pagina-metodo #progressao { --bg:var(--tr-olive); --dim:var(--tr-white); --accent:var(--tr-yellow); }
body.pagina-metodo .mt-node>span { background:none; }
body.pagina-metodo .mt-chart { border:0; border-left:3px solid var(--tr-petrol); }
body#topo .ep-form { background:var(--tr-white); border:0; border-top:3px solid var(--tr-petrol); }
body.pagina-pocket .pk-capa { background:var(--tr-olive); }
body.pagina-clube .lo-card { background:transparent; border:0; }
body.pagina-clube .lo-catalog { background:var(--tr-navy); color:var(--tr-white); }
body.pagina-clube .lo-image { background:var(--tr-blue); }
body.pagina-clube .lo-card-copy { border-bottom:1px solid var(--tr-gray); padding-inline:0; }
body.pagina-contato .closing-caption { border:0; border-left:2px solid var(--tr-yellow); }
body#topo :is(.jr-texto>p,.lo-description,.ep-note>p,.ep-book-copy>p,.ep-collection>div>p,.ep-intro-copy>p) { text-align:justify; hyphens:auto; }
@container page (max-width:600px) {
  body#topo :is(.jr-texto>p,.lo-description,.ep-note>p,.ep-book-copy>p,.ep-collection>div>p,.ep-intro-copy>p) { text-align:start; }
}

body#topo .or-subject-head>span { color:var(--tr-white); }

body.pagina-pocket #enxovais .ep-coming { border:0; border-left:3px solid var(--tr-olive); padding:3px 0 3px clamp(15px,1.8cqw,26px); background:transparent; }
body.pagina-pocket #enxovais .ep-dot { display:none; }

/* Compact language rail aligned with the shared header. */
.idiomas-tron { background:var(--tr-petrol); color:var(--tr-white); }
.idiomas-linha { display:flex; justify-content:flex-end; align-items:stretch; gap:clamp(10px,1.35cqw,22px); }
.idiomas-linha a { position:relative; display:inline-flex; align-items:center; min-height:32px; padding:3px 0; color:inherit; font-size:clamp(12px,1.02cqw,15px); line-height:1.25; }
.idiomas-linha a[aria-current] { font-weight:700; }
.idiomas-linha a[aria-current]::after { content:""; position:absolute; height:2px; background:var(--tr-yellow); bottom:3px; left:0; right:0; }
.idiomas-linha a:hover { text-decoration:underline; text-underline-offset:3px; }
.idiomas-linha a:focus-visible { outline:2px solid var(--tr-white); outline-offset:1px; }
@container page (max-width:600px) { .idiomas-linha { gap:14px; } .idiomas-linha a { min-height:36px; } }
