/* TOC Timbó — estilo compartilhado pela home e pelas coleções. */
:root {
  color-scheme: light;
  --bg: #f2f0eb;
  --text: #111;
  --muted: #5f5a52;
  --line: #d8d4cc;
  --accent: #ef8700;
  --header-h: 78px;
  --announcement-h: 32px;
  --bottom-nav-h: 0px;
  --container: min(1480px, calc(100% - 48px));
  --display: Anton, Impact, 'Arial Narrow', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.65 Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; overflow-wrap: break-word; }
html.has-dialog, .has-dialog body { overflow: hidden; }
[hidden], dialog:not([open]) { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
:where(a, button, input, summary):focus-visible { outline: 3px solid #b35a00; outline-offset: 4px; }
:where(.site-footer, .editorial, .mobile-bottom) :focus-visible { outline-color: #ffb354; }
::selection { background: #ef8700; color: #111; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 500; left: 12px; top: -100px; padding: 12px 18px; background: #111; color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.container { width: var(--container); margin-inline: auto; }
.section { position: relative; padding: clamp(64px, 8vw, 120px) 0; }
.section-sm { position: relative; padding: clamp(48px, 6vw, 82px) 0; }
.section::before, .section-sm::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .18; background: radial-gradient(circle at 1px 1px, #333 1px, transparent 0) 0 0 / 24px 24px; mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent); }
.section > .container, .section-sm > .container { position: relative; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 800; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; }
.kicker::before { content: ''; width: 28px; height: 2px; background: var(--accent); }
.section-title { font: 400 clamp(38px, 5vw, 72px)/1.06 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 10px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 32px; }
.section-head-copy { min-width: 0; }
.section-head .desc { max-width: 440px; color: var(--muted); font-size: 14px; text-align: right; margin: 0; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; line-height: 1.4; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-align: center; transition: background .2s, transform .2s; }
.btn.primary { background: var(--accent); color: #111; border-color: var(--accent); }
.btn.primary:hover { background: #ff9d22; transform: translateY(-2px); }
.btn.full { width: 100%; }
.icon-btn, .close-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; color: #111; background: #f4f1eb; }
.icon-btn:hover, .close-btn:hover { background: #e4dfd6; }
.announcement { height: var(--announcement-h); display: flex; align-items: center; justify-content: center; overflow: hidden; background: #090909; color: #fff; }
.announcement-inner { display: flex; align-items: center; gap: 28px; white-space: nowrap; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.announcement-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); }
.site-header { height: var(--header-h); position: sticky; top: 0; z-index: 60; background: rgba(248,247,243,.97); border-bottom: 1px solid #ded9d0; backdrop-filter: blur(16px); }
.header-inner { height: 100%; width: var(--container); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-logo { width: 66px; height: 66px; object-fit: contain; }
.desktop-nav { display: flex; gap: clamp(18px, 2.3vw, 36px); align-items: center; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; position: relative; font-size: 12px; font-weight: 700; }
.desktop-nav a::after { content: ''; position: absolute; bottom: 3px; left: 0; right: 100%; height: 2px; background: var(--accent); transition: right .2s; }
.desktop-nav a:hover::after, .desktop-nav a[aria-current=page]::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-motto { color: #5a5752; font-size: 10px; letter-spacing: .1em; font-weight: 700; text-transform: uppercase; }
.menu-button { display: none; }

/* Banner sempre inteiro, proporcional e ocupando 100% da largura, sem crop ou zoom. */
.campaign-hero { width: 100%; height: auto; background: #f5f3ef; border-bottom: 1px solid var(--line); overflow: hidden; }
.campaign-hero-picture { display: block; width: 100%; height: auto; }
.campaign-hero-picture img { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; }
.marquee { overflow: hidden; background: #090909; padding: 13px 0; }
.marquee-track { display: flex; width: max-content; }
.marquee-set { display: flex; align-items: center; gap: 30px; padding-right: 30px; }
.marquee-item { font: 600 13px/1.4 'Barlow Condensed', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #eee; white-space: nowrap; }
.marquee-star { color: var(--accent); }
.categories-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1.2fr; gap: 14px; }
.category-card { position: relative; min-width: 0; min-height: 390px; overflow: hidden; border: 1px solid #d7d2ca; border-radius: 18px; background: #111; box-shadow: 0 16px 45px #00000017; }
.category-card:nth-child(2), .category-card:nth-child(3) { min-height: 340px; margin-top: 50px; }
.category-card img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; transition: transform .4s; }
.category-card::after, .bento-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 28%, rgba(0,0,0,.92)); }
.category-card::before, .bento-card::before { content: ''; position: absolute; z-index: 2; top: 0; left: 0; width: 48px; height: 4px; background: var(--accent); }
.category-card:hover img, .bento-card:hover img { transform: scale(1.04); }
.category-content { position: absolute; z-index: 2; inset: auto 22px 22px; color: #fff; }
.category-index { font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.category-content h3 { font: 400 clamp(26px, 2.65vw, 40px)/1.12 var(--display); text-transform: uppercase; margin: 8px 0 12px; }
.category-link { display: flex; align-items: center; gap: 8px; font-size: 11px; line-height: 1.45; font-weight: 800; text-transform: uppercase; }
.category-link .icon { color: var(--accent); }
.editorial { display: grid; grid-template-columns: 1.15fr .85fr; background: #090909; color: #fff; }
.editorial-media { position: relative; min-width: 0; min-height: 650px; overflow: hidden; }
.editorial-media img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.editorial-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 62%, #090909); }
.editorial-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; padding: clamp(36px, 6vw, 96px); }
.editorial-copy h2 { font: 400 clamp(52px, 6vw, 96px)/.95 var(--display); text-transform: uppercase; margin: 18px 0 28px; }
.editorial-copy p { color: #b7b2ab; font-size: 15px; margin: 0 0 30px; }
.editorial-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.editorial-meta span { border: 1px solid #44413b; padding: 6px 10px; border-radius: 999px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #d4d0ca; }
.bento { display: grid; grid-template-columns: 1.1fr .9fr .9fr; grid-template-rows: 290px 290px; gap: 12px; }
.bento-card { position: relative; overflow: hidden; min-width: 0; border: 1px solid #d4d0c8; border-radius: 18px; background: #111; }
.bento-card:first-child { grid-row: 1 / 3; }
.bento-card:last-child { grid-column: 2 / 4; }
.bento-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bento-copy { position: absolute; z-index: 2; left: 20px; right: 16px; bottom: 18px; color: #fff; }
.bento-copy h3 { font: 400 32px/1.15 var(--display); margin: 0 0 7px; text-transform: uppercase; }
.bento-copy span { font-size: 12px; color: #eee; }
.identity-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.identity-strip figure { margin: 0; aspect-ratio: 1 / 1.14; overflow: hidden; background: #dedbd4; }
.identity-strip figure > a { display: block; height: 100%; }
.identity-strip figure:focus-within { outline: 3px solid #b35a00; outline-offset: 3px; }
.identity-strip img { width: 100%; height: 100%; object-fit: cover; }
.trust { border-block: 1px solid var(--line); background: #fff; }
.trust-grid { width: var(--container); margin: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 13px; align-items: center; padding: 28px 22px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #f4f1eb; }
.trust-item strong { display: block; font-size: 12px; text-transform: uppercase; }
.trust-item small { display: block; color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 4px; }
.site-footer { background: #070707; color: #fff; padding: 64px 0 28px; border-top: 4px solid var(--accent); }
.footer-grid { width: var(--container); margin: auto; display: grid; grid-template-columns: 1.1fr .7fr .8fr 1fr; gap: 40px; }
.footer-grid > * { min-width: 0; }
.footer-about .brand-logo { width: 114px; height: 114px; }
.footer-about p { max-width: 350px; margin: 18px 0 0; color: #aaa; font-size: 13px; }
.footer-title { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: #b3b3b3; font-size: 13px; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-cta { padding: 22px; border: 1px solid #292929; border-radius: 14px; background: #101010; }
.footer-cta strong { display: block; font: 400 28px/1.2 var(--display); text-transform: uppercase; }
.footer-cta p { color: #aaa; font-size: 13px; margin: 12px 0 18px; }
.footer-bottom { width: var(--container); margin: 42px auto 0; padding-top: 22px; border-top: 1px solid #303030; color: #aaa; font-size: 12px; }
.mobile-bottom { display: none; }
.scroll-top { position: fixed; z-index: 55; right: 18px; bottom: calc(var(--bottom-nav-h) + 14px); display: grid; place-items: center; width: 44px; height: 44px; background: #111; color: #fff; border: 1px solid #777; border-radius: 50%; }

/* Diálogos nativos: foco contido, fundo inativo e fechamento pela tecla Escape. */
dialog { padding: 0; color: #111; background: #f7f5f0; border: 1px solid var(--line); }
dialog::backdrop { background: rgba(0,0,0,.74); backdrop-filter: blur(3px); }
.mobile-menu { position: fixed; inset: 0 auto 0 0; margin: 0; width: min(390px, 94vw); max-width: none; height: 100dvh; max-height: none; border: 0; border-right: 1px solid var(--line); }
.mobile-menu[open] { display: flex; flex-direction: column; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; padding: 10px 18px; border-bottom: 1px solid var(--line); }
.mobile-menu-nav { display: flex; flex-direction: column; overflow-y: auto; padding: 10px 20px 24px; }
.mobile-menu-nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.mobile-menu-note { margin-top: auto; padding: 22px 20px max(22px, env(safe-area-inset-bottom)); color: var(--muted); background: #eeebe4; font-size: 13px; }
.photo-dialog { width: min(1040px, 94vw); max-height: 94dvh; border-radius: 18px; }
.photo-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; }
.photo-dialog-head h2 { margin: 0; font-size: 17px; line-height: 1.5; }
.photo-stage { display: grid; place-items: center; background: #161616; padding: 10px; }
.photo-stage img { width: 100%; height: min(66dvh, 760px); object-fit: contain; }
.photo-stage p { color: #fff; padding: 24px; }
.photo-dialog-foot { margin: 0; padding: 12px 20px; font-size: 13px; }
.photo-dialog-foot a { display: inline-block; padding: 8px 0; text-decoration: underline; }

/* Coleções: conteúdo estático, busca opcional e fotografias sem corte. */
.catalog-main { padding: 0 0 80px; }
.catalog-main > .container { padding-top: 32px; }
.catalog-banner { margin: 0; width: 100%; background: #f5f3ef; border-bottom: 1px solid var(--line); }
.catalog-banner picture { display: block; }
.catalog-banner img { display: block; width: 100%; height: auto; object-fit: contain; }
@media (max-width: 767px) and (orientation: portrait) {
  .catalog-banner img { width: 100%; height: auto; }
}
.breadcrumbs { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }
.catalog-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.catalog-heading h1 { font: 400 clamp(48px, 6vw, 84px)/1.05 var(--display); text-transform: uppercase; margin: 12px 0; }
.catalog-heading p { max-width: 620px; margin: 0; color: var(--muted); }
.catalog-label { padding: 9px 15px; border: 1px solid #c9c2b7; border-radius: 999px; font-size: 12px; white-space: nowrap; }
.collection-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0; }
.collection-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 20px; border: 1px solid #c5bfb5; border-radius: 999px; font-size: 13px; background: #faf9f6; }
.collection-nav a[aria-current=page] { background: #111; color: #fff; border-color: #111; }
.catalog-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 26px; }
.catalog-search { width: min(100%, 480px); }
.catalog-search label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 7px; }
.search-input-wrap { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 12px; background: #fff; border: 1px solid #a8a197; border-radius: 10px; }
.search-input-wrap input { flex: 1; width: 0; min-width: 0; min-height: 48px; border: 0; background: transparent; color: #111; font-size: 16px; padding: 10px 0; }
.clear-search { border: 0; background: #fff; }
.catalog-status { margin: 0; color: var(--muted); font-size: 13px; }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 16px; }
.catalog-card { min-width: 0; scroll-margin-top: calc(var(--header-h) + 20px); }
.catalog-card a { display: block; }
.catalog-photo { display: grid; place-items: center; aspect-ratio: 3 / 4; overflow: hidden; background: #e7e3db; border: 1px solid #d1cbc1; border-radius: 14px; }
.catalog-photo img { width: 100%; height: 100%; object-fit: contain; }
.catalog-card a:hover .catalog-photo { border-color: #8d7963; box-shadow: 0 10px 24px #11111116; }
.catalog-card h2 { margin: 13px 0 4px; font-size: 15px; font-weight: 700; line-height: 1.5; }
.catalog-card p { margin: 0; color: var(--muted); font-size: 13px; }
.catalog-card .photo-link { display: inline-flex; gap: 8px; align-items: center; font-size: 12px; margin-top: 10px; text-decoration: underline; }
.catalog-empty { grid-column: 1 / -1; padding: 36px 20px; border: 1px dashed #a69f93; border-radius: 12px; text-align: center; }
.catalog-note { margin: 38px 0 0; padding: 20px 24px; background: #faf9f6; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 13px; }

@media (max-width: 1200px) {
  :root { --container: calc(100% - 36px); }
  .categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-card, .category-card:nth-child(2), .category-card:nth-child(3) { min-height: 390px; margin-top: 0; }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.1fr .8fr .8fr; gap: 32px; }
  .footer-cta { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --container: calc(100% - 28px); --header-h: 68px; }
  .announcement-inner { gap: 18px; }
  .hide-m, .header-motto, .desktop-nav { display: none; }
  .menu-button { display: grid; }
  .brand-logo { width: 58px; height: 58px; }
  .section-head, .catalog-heading { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-head .desc { text-align: left; }
  .editorial { grid-template-columns: minmax(0, 1fr); }
  .editorial-media { min-height: 520px; }
  .editorial-media::after { background: linear-gradient(180deg, transparent 58%, #090909); }
  .editorial-copy { padding: 44px 28px 58px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 360px 250px 250px; }
  .bento-card:first-child { grid-row: 1; grid-column: 1 / 3; }
  .bento-card:last-child { grid-column: 1 / 3; }
  .identity-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  :root { --container: calc(100% - 24px); --announcement-h: 28px; --bottom-nav-h: calc(68px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: var(--bottom-nav-h); }
  .announcement-inner { gap: 14px; font-size: 9px; letter-spacing: .08em; }
  .hide-xs { display: none; }
  .section-title { font-size: clamp(32px, 9vw, 46px); }
  .section-head .desc { font-size: 13px; }
  .categories-grid { gap: 10px; }
  .category-card, .category-card:nth-child(2), .category-card:nth-child(3) { min-height: 250px; border-radius: 12px; }
  .category-content { inset: auto 12px 16px; }
  .category-content h3 { font-size: clamp(23px, 5.9vw, 34px); }
  .category-index { font-size: 10px; }
  .category-link { font-size: 10px; gap: 4px; }
  .category-link .icon { width: 17px; height: 17px; }
  .editorial-media { min-height: 440px; }
  .editorial-copy { padding: 32px 20px 48px; }
  .editorial-copy h2 { font-size: 58px; }
  .editorial-copy p { font-size: 14px; }
  .bento { grid-template-rows: 270px 210px 220px; gap: 10px; }
  .bento-card { border-radius: 12px; }
  .bento-copy { left: 13px; right: 10px; bottom: 14px; }
  .bento-copy h3 { font-size: 26px; }
  .bento-copy span { font-size: 11px; }
  .identity-strip { gap: 4px; }
  .identity-strip figure { aspect-ratio: 1; }
  .trust-grid { width: 100%; }
  .trust-item { grid-template-columns: 1fr; align-content: start; gap: 10px; padding: 20px 14px; }
  .site-footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .footer-about, .footer-cta { grid-column: auto; }
  .mobile-bottom { position: fixed; z-index: 70; inset: auto 0 0; height: var(--bottom-nav-h); padding: 0 max(4px, env(safe-area-inset-right)) env(safe-area-inset-bottom, 0px) max(4px, env(safe-area-inset-left)); display: flex; background: rgba(6,6,6,.97); color: #ddd; border-top: 1px solid #444; backdrop-filter: blur(14px); }
  .mobile-bottom a, .mobile-bottom button { display: flex; flex: 1 1 0; min-width: 0; align-items: center; justify-content: center; flex-direction: column; gap: 4px; min-height: 44px; border: 0; padding: 4px; background: transparent; color: inherit; font-size: 10px; line-height: 1.4; }
  .mobile-bottom .icon { width: 19px; height: 19px; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .catalog-main > .container { padding-top: 20px; }
  .catalog-heading h1 { font-size: 48px; }
  .collection-nav { gap: 7px; }
  .collection-nav a { padding: 8px 13px; font-size: 12px; }
  .catalog-card h2 { font-size: 13px; }
  .catalog-card p { font-size: 12px; }
  .catalog-note { padding: 18px; }
  .photo-dialog-head { padding: 12px; }
  .photo-dialog-head h2 { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
