/* EDITE AQUI: paleta, largura e tipografia. Nenhuma dependência externa. */
:root {
  color-scheme: dark;
  --bg: #141414; --surface: #1b1b1b; --ink: #f1efeb; --secondary: #c0bdb8;
  --muted: #96938e; --line: #333230; --accent: #ff6658; --accent-soft: #251b1a;
  --header: #141414f2; --max: 1200px; --gutter: clamp(22px, 5vw, 72px);
  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f5f1; --surface: #eeede8; --ink: #191918; --secondary: #494846;
  --muted: #67645e; --line: #d4d2cc; --accent: #b62e24; --accent-soft: #f0e6e1;
  --header: #f6f5f1f2;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 2px; }
button:disabled { cursor: wait; }
svg { display: block; width: 22px; height: 22px; flex: 0 0 auto; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; padding: 12px 18px; background: var(--accent); color: var(--bg); }
.skip-link:focus { top: 15px; }
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: var(--header); backdrop-filter: blur(14px); }
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 40px; }
.wordmark { display: inline-flex; gap: 8px; align-items: baseline; margin-right: auto; font-size: 16px; font-weight: 700; letter-spacing: -.045em; white-space: nowrap; }
.wordmark .slash { color: var(--accent); font-weight: 500; }
.primary-nav { display: flex; gap: 28px; }
.primary-nav a { position: relative; padding-block: 14px; font-size: 13px; color: var(--muted); transition: color .18s; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--ink); }
.primary-nav a[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--accent); }
.header-controls { display: flex; align-items: center; gap: 10px; }
.icon-button { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--secondary); transition: color .2s, border-color .2s; }
.icon-button:hover { color: var(--accent); border-color: var(--accent); }
.icon-button svg { width: 18px; height: 18px; }
.theme-toggle { display: none; }
.js .theme-toggle { display: grid; }
[data-theme="dark"] .icon-moon, [data-theme="light"] .icon-sun { display: none; }
.menu-toggle { display: none; align-items: center; gap: 9px; height: 44px; padding: 0 0 0 10px; border: 0; background: transparent; font-size: 13px; }
.menu-icon { position: relative; width: 18px; height: 14px; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; width: 18px; height: 1px; background: currentColor; transition: transform .2s, top .2s; }
.menu-icon::before { top: 3px; } .menu-icon::after { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 7px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { top: 7px; transform: rotate(-45deg); }
.hero { padding: clamp(72px, 9vw, 126px) 0 40px; }
.eyebrow, .section-index, .mono-label { font-family: var(--mono); font-size: 11px; line-height: 1.6; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--secondary); }
.small-dash { width: 22px; height: 2px; background: var(--accent); }
.hero h1 { margin: 34px 0 34px; font-size: clamp(48px, 7.65vw, 106px); font-weight: 500; line-height: 1.025; letter-spacing: -.065em; }
.hero h1 span { display: block; }
.accent { color: var(--accent); }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 80px; align-items: end; }
.hero-copy { max-width: 580px; margin: 0; color: var(--secondary); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.7; }
.hero-copy strong { font-weight: 500; color: var(--ink); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; column-gap: 26px; row-gap: 13px; margin-top: 28px; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: 11px; font-size: 13px; font-weight: 500; }
.text-link svg { width: 17px; height: 17px; transition: transform .2s; }
.text-link:hover svg { transform: translate(2px, -2px); }
.text-link.emphasis { color: var(--accent); }
.text-link:not(.emphasis) { color: var(--secondary); }
.hero-note { border-left: 1px solid var(--line); padding-left: 22px; }
.hero-note .mono-label { display: block; margin-bottom: 10px; color: var(--muted); }
.hero-note p { margin: 0; color: var(--secondary); font-size: 14px; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 62px; padding-top: 21px; border-top: 1px solid var(--line); }
.hero-foot .mono-label { color: var(--muted); font-size: 10px; }
.social-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.social-icons a { width: 44px; height: 44px; display: grid; place-items: center; color: var(--muted); transition: color .2s, transform .2s; }
.social-icons a:hover { color: var(--accent); transform: translateY(-2px); }
.section { padding: 78px 0 86px; border-top: 1px solid var(--line); }
.section-index { color: var(--accent); }
.section-heading { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 42px; margin-bottom: 40px; }
.section-heading h2 { max-width: 700px; margin: -8px 0 0; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.12; letter-spacing: -.05em; font-weight: 500; }
#sobre .section-heading, .about-grid { grid-template-columns: 300px minmax(0, 1fr); gap: 48px; }
.about-grid { display: grid; align-items: start; }
.about-copy { max-width: 740px; }
.about-copy p { margin: 0 0 18px; color: var(--secondary); font-size: 16px; line-height: 1.8; }
.about-copy p:last-of-type { margin-bottom: 28px; }
.about-portrait { margin: 0; width: 100%; max-width: 300px; }
.about-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.about-portrait figcaption { margin-top: 12px; color: var(--muted); font-size: 9px; letter-spacing: .02em; }
.work-method { margin: 42px 0 0 348px; padding-top: 22px; border-top: 1px solid var(--line); }
.method-heading { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.method-heading h3 { margin: 0; color: var(--muted); }
.method-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; padding: 0; margin: 24px 0 0; list-style: none; }
.method-list .mono-label { color: var(--accent); font-size: 10px; }
.method-list h4 { margin: 12px 0 8px; font-weight: 500; font-size: 17px; line-height: 1.35; letter-spacing: -.025em; }
.method-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.focus-line { border-top: 1px solid var(--line); padding-top: 18px; }
.focus-line .mono-label { display: block; margin-bottom: 12px; color: var(--muted); font-size: 10px; }
.focus-list { display: flex; flex-wrap: wrap; gap: 9px 18px; padding: 0; margin: 0; list-style: none; font-size: 13px; color: var(--secondary); }
.focus-list li:not(:last-child)::after { content: '/'; color: var(--line); margin-left: 18px; }
.section-topline { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-bottom: 24px; }
.section-topline .text-link { font-size: 12px; }
.project-list { border-top: 1px solid var(--line); }
.project-row { border-bottom: 1px solid var(--line); }
.project-main { display: grid; grid-template-columns: 220px minmax(0, 1fr) 128px 28px; gap: 28px; align-items: center; width: 100%; padding: 28px 0; text-align: left; list-style: none; cursor: pointer; }
.project-main::-webkit-details-marker { display: none; }
.project-main::marker { content: ''; }
/* Marcas locais, com cores e proporções originais nos dois temas. */
.project-visual { display: grid; place-items: center; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid #ffffff12; border-radius: 8px; }
.project-visual img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.brand-oxetem { background: #fff; }
.brand-oxetem img { width: 90%; height: auto; }
.brand-karma { background: #faf9f6; }
.brand-ortiz { background: #fff; }
.brand-ortiz img { width: 76%; height: auto; }
.brand-grunix { background: #a09bc9; }
.project-copy { min-width: 0; }
.project-name { display: block; margin-bottom: 5px; color: var(--ink); font-size: 24px; font-weight: 500; letter-spacing: -.03em; transition: color .2s; }
.project-description { display: block; max-width: 660px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.project-status { color: var(--muted); font-family: var(--mono); font-size: 10px; letter-spacing: .02em; text-align: right; }
.project-status.live { color: var(--accent); }
.project-arrow { width: 28px; height: 28px; justify-self: end; color: var(--muted); transition: transform .2s, color .2s; }
.project-main:hover .project-name, .project-main:hover .project-arrow { color: var(--accent); }
a.project-main:hover .project-arrow { transform: translate(3px, -3px); }
details[open] > summary .project-arrow { transform: rotate(45deg); color: var(--accent); }
.project-detail { margin: 0 0 30px 248px; padding: 24px 26px; border-left: 2px solid var(--accent); background: var(--surface); }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.project-detail .mono-label { color: var(--muted); font-size: 10px; }
.project-detail p { margin: 10px 0 0; color: var(--secondary); font-size: 14px; line-height: 1.75; }
.project-detail .text-link { margin-top: 16px; }
.experience-list { border-top: 1px solid var(--line); }
.experience-row { display: grid; grid-template-columns: 120px 100px minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.company-logo { display: grid; place-items: center; width: 120px; height: 76px; padding: 15px; border: 1px solid #ffffff12; border-radius: 6px; background: #f8f7f4; }
.company-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.company-logo.brand-ortiz { background: #fff; border: 0; padding: 13px; }
.company-logo.brand-rappi { background: #f74320; border: 0; padding: 0; overflow: hidden; }
.company-logo.brand-rappi img { object-fit: cover; }
.company-logo.brand-box { padding: 0; border: 0; background: transparent; overflow: hidden; }
.company-logo.brand-box img { object-fit: cover; }
.experience-copy { min-width: 0; }
.experience-date { color: var(--muted); font-family: var(--mono); font-size: 11px; }
.experience-name { margin: 0; font-size: 20px; line-height: 1.4; font-weight: 500; letter-spacing: -.025em; }
.experience-row p { max-width: 590px; margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.experience-sector { color: var(--muted); font-size: 12px; }
.music-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.radio-photo { margin: 0; }
.radio-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1236 / 757; object-fit: cover; border-radius: 6px; }
.radio-photo figcaption { margin-top: 14px; font-size: 9px; color: var(--muted); letter-spacing: .04em; }
.music-copy > .mono-label { color: var(--accent); font-size: 10px; }
.music-copy h3 { margin: 16px 0 20px; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; font-weight: 500; letter-spacing: -.045em; }
.music-copy p { margin: 0 0 16px; color: var(--secondary); font-size: 15px; line-height: 1.8; }
.music-actions { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 18px; }
.radio-feature { display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 24px; margin-top: 40px; padding: 24px 0; border-block: 1px solid var(--line); }
.radio-feature > .mono-label { color: var(--muted); font-size: 10px; }
.radio-feature-title { font-size: 19px; font-weight: 500; letter-spacing: -.025em; }
.radio-feature-title > span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 400; letter-spacing: 0; }
.radio-feature-action { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; font-size: 13px; color: var(--accent); }
.radio-feature-action svg { width: 17px; height: 17px; transition: transform .2s; }
.radio-feature:hover .radio-feature-action svg { transform: translate(2px, -2px); }
.radio-feature:hover .radio-feature-title { color: var(--accent); }
.contact { padding: 85px 0 38px; background: var(--surface); border-top: 1px solid var(--line); }
.contact h2 { max-width: 830px; margin: 29px 0 40px; font-size: clamp(42px, 6.1vw, 78px); line-height: 1.06; letter-spacing: -.06em; font-weight: 500; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.email-link { display: inline-flex; align-items: center; gap: 16px; min-width: 0; min-height: 44px; color: var(--accent); font-size: clamp(17px, 2.6vw, 33px); letter-spacing: -.035em; line-height: 1.4; }
.email-link span { overflow-wrap: anywhere; }
.email-link svg { width: 24px; height: 24px; }
.email-link:hover span { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.copy-button { display: none; }
.js .copy-button { display: grid; }
.contact-lower { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 65px; padding-top: 24px; border-top: 1px solid var(--line); }
.contact-lower > .mono-label { color: var(--muted); }
.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; }
.social-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--secondary); font-size: 13px; transition: color .2s; }
.social-links a:hover { color: var(--accent); }
.social-links svg { width: 18px; height: 18px; }
.site-footer { border-top: 1px solid var(--line); padding: 22px 0; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 10px 20px; color: var(--muted); font-family: var(--mono); font-size: 10px; }
.top-link { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; }
.top-link:hover { color: var(--accent); }
.top-link svg { width: 14px; height: 14px; transform: rotate(-45deg); }
.toast { position: fixed; z-index: 100; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(10px); width: max-content; max-width: calc(100vw - 40px); padding: 12px 20px; border: 1px solid var(--line); background: var(--ink); color: var(--bg); font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 1500px) { .hero { padding-top: 140px; } }
@media (max-width: 940px) {
  .header-inner { gap: 24px; }
  .primary-nav { gap: 20px; }
  .hero-bottom { grid-template-columns: minmax(0,1fr) 210px; gap: 40px; }
  .section-heading { grid-template-columns: 128px minmax(0,1fr); gap: 30px; }
  #sobre .section-heading, .about-grid { grid-template-columns: 220px minmax(0,1fr); gap: 30px; }
  .work-method { margin-left: 250px; }
  .method-list { gap: 22px; }
  .music-grid { gap: 32px; }
  .project-main { grid-template-columns: 180px minmax(0,1fr) 26px; gap: 8px 24px; }
  .project-visual { grid-column: 1; grid-row: 1 / span 2; }
  .project-copy { grid-column: 2; grid-row: 1; align-self: end; }
  .project-status { grid-column: 2; grid-row: 2; text-align: left; align-self: start; }
  .project-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .project-detail { margin-left: 204px; }
  .detail-grid { grid-template-columns: 1fr; gap: 20px; }
  .experience-row { grid-template-columns: 110px 90px minmax(0,1fr); gap: 24px; }
  .company-logo { width: 110px; }
  .experience-sector { display: none; }
  .contact-lower { align-items: flex-start; flex-direction: column; gap: 12px; }
}
@media (max-width: 700px) {
  :root { --gutter: 24px; }
  html { scroll-padding-top: 94px; }
  .header-inner { min-height: 72px; flex-wrap: wrap; gap: 0 10px; }
  .header-controls { margin-left: auto; gap: 4px; }
  .wordmark { font-size: 14px; }
  .menu-toggle { width: 44px; justify-content: center; padding: 0; }
  .menu-toggle > span:first-child { display: none; }
  .js .menu-toggle { display: flex; }
  .primary-nav { order: 3; flex: 1 0 100%; flex-wrap: wrap; gap: 12px 25px; padding-bottom: 15px; }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: flex; flex-direction: column; gap: 0; padding: 8px 0 20px; }
  .primary-nav a { font-size: 15px; }
  .primary-nav a[aria-current]::after { right: auto; width: 22px; }
  .hero { padding: 66px 0 28px; }
  .hero h1 { margin: 28px 0; font-size: clamp(40px, 8.3vw, 58px); letter-spacing: -.06em; line-height: 1.08; }
  .hero-bottom { grid-template-columns: 1fr; gap: 34px; }
  .hero-note { display: none; }
  .hero-copy { font-size: 16px; max-width: 510px; }
  .hero-actions { gap: 18px; margin-top: 22px; }
  .hero-foot { margin-top: 42px; padding-top: 15px; gap: 10px; }
  .hero-foot > .mono-label { max-width: 120px; font-size: 9px; }
  .social-icons { gap: 1px; }
  .section { padding: 54px 0 60px; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  #sobre .section-heading, .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { margin: 0; font-size: 33px; max-width: 500px; }
  .about-portrait { max-width: 320px; margin-bottom: 4px; }
  .about-portrait img { border-radius: 4px; }
  .about-portrait figcaption { margin-top: 12px; font-size: 10px; }
  .about-copy p { font-size: 15px; }
  .work-method { margin: 30px 0 0; }
  .method-list { grid-template-columns: 1fr; gap: 22px; }
  .method-list li + li { padding-top: 20px; border-top: 1px solid var(--line); }
  .method-list h4 { margin-top: 8px; }
  .method-list p { max-width: 440px; font-size: 14px; }
  .section-topline { flex-wrap: wrap; margin-bottom: 12px; gap: 3px 15px; }
  .project-main { grid-template-columns: minmax(0,1fr) 26px; gap: 10px 18px; padding: 24px 0 26px; }
  .project-visual { grid-column: 1 / -1; grid-row: 1; aspect-ratio: auto; height: clamp(152px, 44vw, 240px); margin-bottom: 10px; }
  .project-visual img { max-width: 350px; }
  .project-visual.brand-oxetem img { width: 72%; max-width: 282px; }
  .project-visual.brand-ortiz img { width: 60%; max-width: 250px; max-height: 76%; }
  .project-copy { grid-column: 1; grid-row: 2; align-self: center; }
  .project-name { font-size: 22px; }
  .project-description { font-size: 13px; }
  .project-status { display: block; grid-column: 1; grid-row: 3; margin-top: 2px; }
  .project-arrow { grid-column: 2; grid-row: 2; width: 22px; height: 22px; align-self: start; margin-top: 5px; }
  .project-detail { margin: 0 0 24px 0; padding: 22px; }
  .detail-grid { grid-template-columns: 1fr; gap: 20px; }
  .experience-row { grid-template-columns: 96px minmax(0,1fr); gap: 5px 20px; padding: 24px 0; align-items: start; }
  .company-logo { grid-column: 1; grid-row: 1 / span 2; width: 96px; height: 68px; padding: 12px; }
  .company-logo.brand-ortiz { padding: 10px; }
  .experience-date { grid-column: 2; grid-row: 1; font-size: 10px; }
  .experience-copy { grid-column: 2; grid-row: 2; }
  .experience-name { font-size: 19px; }
  .experience-row p { font-size: 13px; line-height: 1.65; }
  .music-grid { grid-template-columns: 1fr; gap: 30px; }
  .music-copy h3 { font-size: 30px; }
  .radio-feature { grid-template-columns: minmax(0,1fr) auto; gap: 12px 16px; margin-top: 30px; padding: 20px 0; }
  .radio-feature > .mono-label { grid-column: 1 / -1; }
  .radio-feature-title { font-size: 18px; }
  .radio-feature-title > span { font-size: 12px; }
  .radio-feature-action { align-self: start; }
  .contact { padding: 58px 0 28px; }
  .contact h2 { font-size: clamp(38px, 8vw, 55px); margin: 24px 0 29px; }
  .email-row { gap: 10px 14px; }
  .email-link { font-size: clamp(17px, 4.3vw, 27px); gap: 10px; }
  .email-link svg { width: 20px; height: 20px; }
  .contact-lower { margin-top: 42px; padding-top: 19px; }
  .social-links { display: grid; width: 100%; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
  .site-footer { padding-block: 12px; }
}
@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .header-inner { gap: 10px; }
  .header-controls { gap: 4px; }
  .wordmark { font-size: 13px; gap: 5px; }
  .hero h1 { font-size: 36px; }
  .hero-foot { flex-wrap: wrap; }
  .hero-foot > .mono-label { max-width: none; }
  .experience-row { grid-template-columns: 80px minmax(0,1fr); column-gap: 16px; }
  .company-logo { width: 80px; height: 60px; padding: 9px; }
  .email-link { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  :root { --bg: white; --surface: #f5f5f5; --ink: #111; --secondary: #333; --muted: #555; --accent: #a22c25; --line: #ddd; }
  .site-header { position: static; background: white; }
  .header-controls, .primary-nav, .hero-foot, .copy-button, .toast { display: none !important; }
  .hero, .section, .contact { padding-block: 30px; }
  .project-main, .experience-row { break-inside: avoid; }
}
