/* Photography and restrained surface detail for each automotive world. */
html[data-world] { --world-pattern: repeating-linear-gradient(0deg, #ffffff03 0 1px, transparent 1px 5px); }
html[data-world="supercarros"] { --world-pattern: repeating-linear-gradient(135deg, #ffffff04 0 2px, transparent 2px 9px); }
html[data-world="customizados"] { --world-pattern: linear-gradient(#c6a5ff07 1px, transparent 1px), linear-gradient(90deg, #c6a5ff07 1px, transparent 1px); }
html[data-world="dia-a-dia"] { --world-pattern: repeating-radial-gradient(ellipse at 0 100%, transparent 0 34px, #c2e3b707 35px 36px, transparent 37px 72px); }
.tribe-page { background-image: url('../assets/textures/grain.svg'); }
.tribe-page .care-section { background-image: var(--world-pattern); background-size: 48px 48px; }
html[data-world="dia-a-dia"] .care-section { background-size: 700px 700px; }
.tribe-page .care-section .section-heading { align-items: end; }
.tribe-page .care-section .display-title { font-size: clamp(44px, 4.4vw, 70px); line-height: 1.16; }
.tribe-page .feature-card { border: 1px solid var(--line); box-shadow: 0 18px 50px #00000010; }
.chapter-photo img { clip-path: inset(0); }
.chapter-photo::before { content: ''; position: absolute; inset: 12px; border: 1px solid #ffffff24; pointer-events: none; }
.chapter-photo figcaption { font-size: 11px; letter-spacing: .3px; }
.chapter-list h3 { font-size: 14px; }
.chapter-list p { font-size: 13px; }
.editorial-scene { position: relative; isolation: isolate; min-height: 640px; min-height: clamp(540px, 48vw, 760px); display: flex; align-items: end; overflow: hidden; background: #121313; }
.editorial-scene-image, .editorial-scene-image img, .editorial-scene-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.editorial-scene-image { z-index: -3; }
.editorial-scene-image img { object-fit: cover; object-position: 50% 58%; }
.editorial-scene-shade { z-index: -2; background: linear-gradient(90deg, #070809c9, #07080910 80%), linear-gradient(0deg, #070809df, transparent 90%); }
.editorial-scene-content { padding-block: 100px 65px; }
.editorial-scene .eyebrow { color: #fff; margin-bottom: 24px; }
.editorial-scene .display-title { max-width: 950px; color: #fff; font-size: clamp(56px, 6.7vw, 108px); line-height: 1.16; }
.editorial-scene .display-title span { color: var(--primary); }
.editorial-scene-content > p:not(.eyebrow) { max-width: 440px; color: #f0f0ed; font-size: 15px; line-height: 1.8; margin-top: 22px; }
.scene-link { display: inline-flex; align-items: center; gap: 30px; min-height: 48px; margin-top: 20px; color: #fff; font-size: 12px; font-weight: 700; border-bottom: 1px solid #ffffff66; }
.scene-link span { font-size: 25px; color: var(--primary); }
.scene-edition { position: absolute; right: 30px; top: 32px; color: #fff; font-size: 10px; letter-spacing: 2px; }
.how-heading { margin-bottom: 24px; }
.how-section .display-title { line-height: 1.16; }
.how-description { max-width: 510px; color: var(--text-secondary); font-size: 14px; line-height: 1.85; margin-bottom: 45px; }
.steps > article { background: linear-gradient(160deg, color-mix(in srgb, var(--primary) 6%, transparent), transparent 70%); padding: 24px; border-top-color: var(--primary); }
.tribe-page .join-panel { background-image: url('../assets/textures/grain.svg'); }
.faq-section { gap: clamp(35px, 6vw, 100px); }
.faq-section .display-title { line-height: 1.16; }
.faq-intro { max-width: 360px; margin-top: 26px; font-size: 14px; line-height: 1.85; color: var(--text-secondary); }
.faq-contact { display: inline-flex; align-items: center; gap: 24px; min-height: 48px; margin-top: 18px; font-size: 12px; color: var(--primary); }
.faq-list details { padding-inline: 20px; }
.faq-list summary { font-size: 14px; line-height: 1.65; }
.faq-list summary .icon { flex-shrink: 0; }
.faq-list details[open] { background: color-mix(in srgb, var(--primary) 6%, var(--bg)); border-bottom-color: var(--primary); }
.faq-list details > p { font-size: 13px; }
.related-worlds { padding-block: 0 90px; }
.related-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.related-heading .eyebrow { margin-bottom: 16px; color: var(--primary); }
.related-heading .display-title { font-size: clamp(42px, 4vw, 64px); line-height: 1.16; }
.related-heading .display-title span { color: var(--primary); }
.related-heading > a { flex-shrink: 0; min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; }
.related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.related-card { position: relative; isolation: isolate; height: 340px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; color: #fff; border: 1px solid #ffffff20; }
.related-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.related-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,#050606ec,transparent 80%),linear-gradient(180deg,#05060699,transparent 40%); z-index: -1; }
.related-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.related-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.related-card-bottom strong { font: 800 clamp(30px,3vw,48px)/1.16 var(--font-display); color: var(--card-accent); }
.related-arrow { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #ffffff80; border-radius: 50%; font-size: 22px; flex-shrink: 0; }
.image-credit { display: block; margin-top: 8px; font-size: 10px; }
.motion-toggle { position: fixed; right: 16px; bottom: 16px; z-index: 45; border: 1px solid #ffffff40; background: #141616ed; color: #f7f6f1; border-radius: 24px; padding: 10px 15px; min-height: 44px; font: 600 11px var(--font-body); box-shadow: 0 5px 25px #0004; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) {
  .chapter-photo img, .editorial-scene-image img, .related-card img { transition: transform 1s var(--ease); }
  .feature-card { transition: border-color .3s, box-shadow .3s; }
  .feature-card:hover { border-color: color-mix(in srgb,var(--primary) 55%,transparent); box-shadow: 0 18px 50px #0003; }
  .related-card:hover img, .related-card:focus-visible img { transform: scale(1.055); }
  .related-card:hover .related-arrow { background: var(--card-accent); color: #111; border-color: var(--card-accent); }
  .steps > article:nth-child(2), .feature-card:nth-child(2) { transition-delay: .08s; }
  .steps > article:nth-child(3), .feature-card:nth-child(3) { transition-delay: .16s; }
}
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html[data-motion="off"] .reveal-ready { opacity: 1 !important; transform: none !important; }
html[data-motion="off"] .world-image img, html[data-motion="off"] .related-card img { transform: none !important; }
@media(max-width: 900px) {
  .related-card { height: 280px; padding: 18px; }
  .related-card-bottom strong { font-size: 30px; }
  .related-grid { gap: 12px; }
}
@media(max-width: 700px) {
  .editorial-scene { min-height: 640px; }
  .editorial-scene-image img { object-position: 60% 50%; }
  .editorial-scene-shade { background: linear-gradient(0deg,#070809f0, #07080915 95%); }
  .editorial-scene-content { padding-block: 240px 38px; }
  .editorial-scene .display-title { font-size: clamp(44px,11.8vw,72px); }
  .editorial-scene .eyebrow { font-size: 9px; letter-spacing: 1px; }
  .editorial-scene-content > p:not(.eyebrow) { font-size: 13px; }
  .scene-edition { right: 16px; top: 24px; font-size: 9px; }
  .tribe-page .care-section .display-title { font-size: clamp(38px,10vw,56px); }
  .how-section .display-title { font-size: clamp(38px,10vw,56px); }
  .steps > article { padding: 22px; }
  .faq-list details { padding-inline: 14px; }
  .faq-list summary { font-size: 13px; }
  .faq-list details > p { padding-right: 0; }
  .faq-section { gap: 28px; }
  .related-worlds { padding-bottom: 60px; }
  .related-heading { display: block; }
  .related-heading > a { margin-top: 12px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { height: 220px; padding: 22px; }
  .related-card img { object-position: 50% 58%; }
  .related-card-bottom strong { font-size: 42px; }
  .related-heading .display-title { font-size: 42px; }
  .motion-toggle { right: 10px; bottom: 10px; padding-inline: 12px; }
}

@media print { .motion-toggle { display: none; } }
