@font-face {
  font-family: Inter;
  src: url('assets/inter-latin-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  font-family: Inter, 'Helvetica Neue', Arial, sans-serif;
  color-scheme: dark;
  --bg: #0b1017;
  --surface: #101923;
  --surface-raised: #152231;
  --text: #f5f7fb;
  --muted: #aeb9c8;
  --faint: #8391a3;
  --line: #2a3b4d;
  --accent: #4a91ff;
  --accent-strong: #2773ef;
  /* O azul do texto sobre o fundo escuro dá 3,1:1 com texto branco; o botão usa um azul mais fundo. */
  --button-bg: #2563eb;
  --button-bg-hover: #1d4ed8;
  --button-text: #ffffff;
  --form-bg: #121d28;
  --art-bg: #0d141d;
}

html[data-theme='light'] {
  color-scheme: light;
  --bg: #fafafa;
  --surface: #ffffff;
  --surface-raised: #f2f6fb;
  --text: #18181b;
  --muted: #52525b;
  --faint: #66666e;
  --line: #dde2e8;
  --accent: #2563eb;
  --accent-strong: #174ecb;
  --button-bg: #2563eb;
  --button-bg-hover: #174ecb;
  --button-text: #ffffff;
  --form-bg: #ffffff;
  --art-bg: #ffffff;
}

html[data-theme='paper'] {
  color-scheme: light;
  --bg: #f8f3ec;
  --surface: #fffaf3;
  --surface-raised: #f2eae0;
  --text: #282522;
  --muted: #59534d;
  --faint: #68625b;
  --line: #ded3c5;
  --accent: #1d5ae0;
  --accent-strong: #174ecb;
  --button-bg: #1d5ae0;
  --button-bg-hover: #174ecb;
  --button-text: #ffffff;
  --form-bg: #fffaf3;
  --art-bg: #f8f3ec;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); transition: background .2s, color .2s; }
button, input { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(100% - 3rem, 1250px); margin: 0 auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--button-bg); color: var(--button-text); padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 154px; height: auto; }
.header-actions, .main-nav, .theme-picker { display: flex; align-items: center; }
.header-actions { gap: clamp(1.5rem, 3vw, 3.3rem); }
.main-nav { gap: clamp(1.2rem, 2.5vw, 2.6rem); }
.main-nav a { color: var(--muted); font-size: .88rem; text-decoration: none; transition: color .2s; white-space: nowrap; }
.main-nav a:hover { color: var(--text); }
.theme-picker { gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.theme-picker button { border: 0; border-radius: 999px; padding: .44rem .69rem; background: transparent; color: var(--muted); font-size: .76rem; cursor: pointer; }
.theme-picker button[aria-pressed='true'] { background: var(--surface-raised); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }

.hero { overflow: hidden; }
.hero-grid { min-height: min(730px, calc(100vh - 86px)); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3.5rem, 7vw, 7rem); }
.eyebrow { color: var(--accent); font-size: .76rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Inter, 'Helvetica Neue', Arial, sans-serif; }
h1 { max-width: 640px; margin: 0 0 1.35rem; font-size: clamp(2.6rem, 4.3vw, 4.25rem); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; }
.hero-description { max-width: 590px; color: var(--muted); font-size: clamp(1.05rem, 1.36vw, 1.22rem); line-height: 1.68; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 2.5rem; min-height: 53px; padding: .8rem 1rem .8rem 1.3rem; background: var(--button-bg); color: var(--button-text); border-radius: 5px; font-size: .96rem; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s; }
.primary-link:hover { background: var(--button-bg-hover); transform: translateY(-2px); }
.primary-link span { font-size: 1.3rem; line-height: 1; }
.hero-note { margin: .8rem 0 0; color: var(--faint); font-size: .83rem; }
.hero-art { align-self: center; min-width: 0; }
.art-frame { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--art-bg); }
.art-caption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; color: var(--faint); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.art-frame-video video, .media-tall video, .media-square video { display: block; width: 100%; height: auto; background: var(--art-bg); }
/* A moldura corta o que passa da borda (overflow: hidden); o anel de foco dos controles fica dentro. */
video:focus-visible { outline-offset: -3px; }

.principle-strip { border-block: 1px solid var(--line); background: var(--surface); }
.principle-inner { min-height: 110px; display: flex; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.principle-label { flex: 0 0 auto; color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.principle-inner p { max-width: 820px; margin: 0; font-family: Inter, sans-serif; font-size: clamp(1.03rem, 1.7vw, 1.45rem); line-height: 1.5; letter-spacing: -.025em; }

.benefit { padding: clamp(5rem, 9vw, 9rem) 0; border-top: 1px solid var(--line); background: var(--surface); }
.benefit-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(18rem, .88fr); align-items: end; gap: clamp(3rem, 8vw, 8rem); }
.benefit-heading h2 { max-width: 760px; margin: 1.25rem 0 0; font-size: clamp(2.5rem, 4.4vw, 4.4rem); line-height: 1.1; font-weight: 600; letter-spacing: -.03em; }
.benefit-copy p { max-width: 530px; margin: 0; color: var(--muted); font-size: 1.08rem; line-height: 1.75; }
.benefit-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(3.5rem, 7vw, 6rem); border-block: 1px solid var(--line); background: var(--line); }
.benefit-point { min-height: 205px; padding: clamp(1.6rem, 3vw, 2.5rem); background: var(--surface); }
.benefit-point > span { color: var(--accent); font-size: .74rem; font-weight: 700; letter-spacing: .16em; }
.benefit-point h3 { margin: 2.7rem 0 .65rem; font-size: 1.28rem; font-weight: 600; letter-spacing: -.025em; }
.benefit-point p { max-width: 310px; margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.62; }

.deliverables { padding: clamp(5rem, 9vw, 9rem) 0; }
.deliverables-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); align-items: start; gap: clamp(2rem, 5vw, 4.5rem); margin-top: clamp(3rem, 6vw, 5rem); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.card { padding: clamp(1.4rem, 2.4vw, 2rem); background: var(--surface); }
.card-wide { grid-column: 1 / -1; }
.card h3 { margin: 0 0 .55rem; font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; }
.card p, .differentials-list p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
.media-tall { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; }

.differentials { padding: clamp(5rem, 9vw, 9rem) 0; border-top: 1px solid var(--line); background: var(--surface); }
.differentials-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: clamp(2.5rem, 6vw, 6rem); }
.differentials-list { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; list-style: none; counter-reset: diferencial; border-top: 1px solid var(--line); }
.differentials-list li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); counter-increment: diferencial; }
.differentials-list li::before { content: counter(diferencial, decimal-leading-zero); grid-row: span 2; padding-top: .2rem; color: var(--accent); font-size: .74rem; font-weight: 700; letter-spacing: .16em; }
.differentials-list h3 { margin: 0 0 .3rem; font-size: 1.08rem; font-weight: 600; letter-spacing: -.02em; }
.media-square { margin: 0; }
.media-square figcaption { margin-bottom: 1rem; font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; }
.media-square video { border: 1px solid var(--line); border-radius: 22px; }

.privacy { padding: clamp(5rem, 9vw, 9rem) 0; border-top: 1px solid var(--line); }
.privacy-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); }
.privacy-points { display: grid; gap: .7rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.privacy-points li { position: relative; padding-left: 1.6rem; font-size: 1rem; line-height: 1.5; }
.privacy-points li::before { content: ''; position: absolute; left: 0; top: .6em; width: 14px; height: 2px; background: var(--accent); }

.workflow { padding: clamp(5rem, 9vw, 9rem) 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 730px; }
.section-heading h2, .signup-copy h2 { margin: 1.25rem 0; font-size: clamp(2.4rem, 4.1vw, 4rem); line-height: 1.15; font-weight: 600; letter-spacing: -.03em; }
.section-heading > p:last-child, .privacy .section-heading > p:last-of-type, .signup-copy > p:not(.eyebrow) { max-width: 620px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: clamp(3rem, 6vw, 5rem); border: 1px solid var(--line); background: var(--line); }
.step { min-height: 250px; padding: clamp(1.6rem, 3vw, 2.7rem); background: var(--surface); }
.step-number { color: var(--accent); font-size: .78rem; font-weight: 700; letter-spacing: .16em; }
.step h3 { margin: 3.4rem 0 .7rem; font-size: 1.36rem; font-weight: 600; letter-spacing: -.035em; }
.step p { max-width: 280px; margin-bottom: 0; color: var(--muted); font-size: .97rem; line-height: 1.6; }

.faq { padding: clamp(5rem, 9vw, 9rem) 0; border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(2.5rem, 6vw, 6rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.3rem 0; font-size: 1.08rem; font-weight: 600; letter-spacing: -.02em; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+' / ''; flex: 0 0 auto; color: var(--accent); font-size: 1.3rem; font-weight: 400; line-height: 1.2; }
.faq-list details[open] summary::after { content: '−' / ''; }
.faq-list details p { max-width: 640px; margin: -.3rem 0 1.4rem; color: var(--muted); font-size: 1rem; line-height: 1.7; }

.signup-section { overflow: hidden; border-top: 1px solid var(--line); background: var(--surface-raised); }
.signup-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(2.5rem, 6vw, 6rem); padding-block: clamp(4rem, 8vw, 7rem); }
.signup-copy { padding-block: 1rem; }
.signup-copy > p:not(.eyebrow) { max-width: 620px; }
.signup-form { max-width: 620px; margin-top: 2.25rem; }
.signup-form label { display: block; margin-bottom: .7rem; font-size: .9rem; font-weight: 700; }
.signup-controls { display: flex; gap: .6rem; }
.signup-controls input { flex: 1 1 auto; min-width: 0; height: 55px; padding: 0 1rem; border: 1px solid var(--line); border-radius: 5px; background: var(--form-bg); color: var(--text); font-size: 1rem; }
.signup-controls input::placeholder { color: var(--faint); }
.signup-controls button { flex: 0 0 auto; display: flex; align-items: center; gap: 1.1rem; padding: 0 1.2rem; border: 1px solid var(--button-bg); border-radius: 5px; background: var(--button-bg); color: var(--button-text); font-weight: 700; cursor: pointer; transition: background .2s; }
.signup-controls button:hover, .signup-controls button:focus-visible { background: var(--button-bg-hover); }
.signup-controls button:disabled { opacity: .7; cursor: wait; }
.signup-status { min-height: 1.5rem; margin: .75rem 0 0; font-size: .91rem; }
.signup-status[data-state='error'] { color: #f87171; }
html[data-theme='light'] .signup-status[data-state='error'], html[data-theme='paper'] .signup-status[data-state='error'] { color: #b91c1c; }
.signup-status[data-state='success'] { color: #64dba4; }
html[data-theme='light'] .signup-status[data-state='success'], html[data-theme='paper'] .signup-status[data-state='success'] { color: #167449; }
.privacy-note { margin: .4rem 0 0; color: var(--faint) !important; font-size: .82rem !important; }
.signup-visual { position: relative; min-width: 0; padding: 2rem; border: 1px solid var(--line); border-radius: 20px; background: var(--art-bg); transform: rotate(2deg); }
.signup-visual img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.signup-visual-label { display: block; margin-bottom: 1rem; color: var(--faint); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 168px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-brand img { width: 154px; height: auto; }
.footer-brand > span { display: block; margin-top: .2rem; color: var(--muted); font-size: .77rem; }
.footer-meta { display: flex; gap: 2rem; color: var(--faint); font-size: .82rem; }
.footer-meta a { text-decoration: none; }
.footer-meta a:hover { color: var(--text); }

/* A figura grudada só cabe quando a janela é mais alta que ela; os controles do vídeo ficam embaixo. */
@media (min-width: 761px) and (min-height: 760px) {
  .media-tall, .media-square { position: sticky; top: 2rem; }
}

/* A partir daqui os quatro links não cabem ao lado do seletor, mesmo com a fonte do navegador em 20px. */
@media (max-width: 1180px) {
  .main-nav a:nth-child(2), .main-nav a:nth-child(3) { display: none; }
}

@media (max-width: 980px) {
  .hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 3rem; }
  .hero-art { width: min(100%, 680px); }
  .deliverables-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 220px); }
}

@media (max-width: 760px) {
  .container { width: min(100% - 2rem, 580px); }
  .header-inner { min-height: 70px; }
  .brand img { width: 125px; }
  .main-nav { display: none; }
  .header-inner { gap: 1rem; }
  .theme-picker button { padding: .42rem .45rem; font-size: .72rem; }
  .hero-grid { padding-block: 3.3rem 4rem; }
  h1 { font-size: clamp(2.3rem, 10.5vw, 3rem); }
  .hero-description { font-size: 1.05rem; }
  .principle-inner { display: block; padding-block: 1.7rem; }
  .principle-inner p { margin-top: .7rem; }
  .benefit-grid { grid-template-columns: 1fr; align-items: start; gap: 1.8rem; }
  .benefit-points { grid-template-columns: 1fr; }
  .benefit-point { min-height: 0; padding: 1.7rem; }
  .benefit-point h3 { margin-top: 1.8rem; }
  .benefit-point p { max-width: none; }
  .deliverables-grid, .differentials-grid, .privacy-grid, .faq-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .media-tall { width: min(70%, 300px); margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; padding: 1.7rem; }
  .step h3 { margin: 1.9rem 0 .45rem; }
  .step p { max-width: none; }
  .signup-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .signup-visual { width: min(78%, 350px); margin: 0 auto; }
  .footer-inner { min-height: 0; display: block; padding-block: 2rem; }
  .footer-meta { margin-top: 1.8rem; justify-content: space-between; }
}

@media (max-width: 500px) {
  .eyebrow { font-size: .72rem; }
  .signup-controls { display: grid; }
  .signup-controls input, .signup-controls button { width: 100%; }
  .signup-controls button { height: 55px; justify-content: space-between; }
  .signup-visual { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
