/* A identidade aprovada continua no CSS original. Movimento acrescenta profundidade. */
.home-motion, .personal-motion { --motion-out: cubic-bezier(.23,1,.32,1); }
.home-motion .hero-button svg, .home-motion .personal-arrow,
.home-motion .contact-arrow, .home-motion .booking-arrow { display: none; }
.home-motion .hero-button { gap: 0; }
.home-motion .section-nav a[href$='projetos.html'] {
  padding: 12px 21px; border-radius: 5px; color: var(--light); background: var(--night);
  font-weight: 600; text-decoration: none; transition: background 180ms ease, transform 180ms var(--motion-out);
}
.home-motion #projetos { padding-top: 70px; }
.home-motion #projetos>h2::before { content: '01 /'; }
.home-motion #sobre>h2::before { content: '02 /'; }
.home-motion .projects-invitation {
  min-height: 470px; align-content: center; gap: 24px;
  background: radial-gradient(ellipse 600px 450px at var(--project-x,90%) var(--project-y,0%),#536e3c70,transparent 85%),var(--night);
  transition: transform 250ms var(--motion-out), box-shadow 250ms ease;
}
.home-motion .projects-invitation { grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); align-items: center; gap: 60px; background: #17251d; }
.projects-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 25px; min-width: 0; }
.home-motion .projects-copy strong { font-size: clamp(42px,4.9vw,65px); font-weight: 500; letter-spacing: -.045em; }
.projects-copy strong em { display: block; font-family: Georgia,serif; font-weight: 400; color: #d3f48e; font-size: .82em; margin-top: 9px; }
.home-motion .projects-copy .projects-teaser { font-size: 16px; line-height: 1.7; max-width: 40ch; }
.project-index { display: grid; width: 100%; gap: 0; }
.project-index-item { display: flex; align-items: center; gap: 20px; min-height: 98px; padding: 18px 0; border-bottom: 1px solid #d3f48e35; }
.project-index-item:first-child { border-top: 1px solid #d3f48e35; }
.project-index-item img { display: block; width: 48px; height: 48px; object-fit: contain; flex: none; }
.marco-mark { --mark-size:48px; display:block;position:relative;width:var(--mark-size);height:var(--mark-size);overflow:hidden;background:#fff;border-radius:20%;flex:none; }
.project-index-item>.marco-mark {display:block;}
/* Área real do M na imagem 665×125: x=9..149, y=8..118. Margens opostas iguais. */
.marco-mark img, .project-index-item .marco-mark img, .app-window-brand .marco-mark img {position:absolute;left:-.56%;top:9.68%;height:80%;width:auto;max-width:none;object-fit:initial;}
.app-window-brand .marco-mark {--mark-size:30px;}
.project-index-item>span { display: grid; gap: 6px; min-width: 0; }
.project-index-item b { font-size: clamp(16px,1.7vw,22px); font-weight: 500; }
.project-index-item small { color: #bec9bd; font-size: 12px; }
@keyframes project-arrival { from { opacity:.3; transform:translateY(18px); } to {opacity:1;transform:translateY(0)} }
.projects-arrived .project-index-item { animation: project-arrival 650ms var(--motion-out) both; }
.projects-arrived .project-index-item:nth-child(2) { animation-delay:90ms; }
.projects-arrived .project-index-item:nth-child(3) { animation-delay:180ms; }
.projects-arrived .project-index-item:nth-child(4) { animation-delay:270ms; }

/* Cada capítulo roda sua pequena cena após ser acionado pela rolagem. */
@keyframes draft-turn { from {transform:rotate(-14deg) scale(.94)} to {transform:rotate(0) scale(1)} }
@keyframes connect-draw { from {stroke-dashoffset:450} to {stroke-dashoffset:0} }
@keyframes interface-in { from {opacity:0;transform:translateY(30px) scale(.96)} to {opacity:1;transform:translateY(0) scale(1)} }
.home-motion .about-stage[data-chapter='0'] .art-draft { transform-origin:430px 345px; animation:draft-turn 1600ms var(--motion-out) both; }
.home-motion .about-stage[data-chapter='1'] .art-connections>path { stroke-dasharray:450; animation:connect-draw 1500ms var(--motion-out) both; }
.home-motion .about-stage[data-chapter='2'] .art-interface { transform-origin:center; animation:interface-in 1300ms var(--motion-out) both; }

/* Botões grandes e uma composição dos aplicativos, com a mesma linguagem do leque. */
.home-motion #agendamento .booking-options { width:100%;max-width:none;gap:14px; }
.home-motion .booking-option { min-height:100px; grid-template-columns:82px minmax(0,1fr); gap:22px; padding:12px 20px 12px 12px; border-radius:9px; transition:background 180ms ease,transform 180ms var(--motion-out); }
.home-motion .booking-option .booking-duration { min-height:72px; padding:10px; }
.home-motion .booking-option .booking-number { font-size:34px; }
.home-motion .booking-option .booking-unit { font-size:13px; }
.home-motion .booking-option .booking-caption { font-size:19px; line-height:1.35; }
.app-deck { position:relative;height:420px;width:100%;max-width:560px;margin:auto;isolation:isolate; }
.app-deck-link {display:block;color:inherit;text-decoration:none;cursor:pointer;border-radius:12px;}
.app-deck-link:focus-visible {outline:3px solid var(--accent);outline-offset:5px;}
.app-window { position:absolute;top:18%;left:10%;width:80%;height:270px;padding:24px;border-radius:12px;box-shadow:0 18px 32px #17251d25;overflow:hidden;opacity:0;transition:transform 800ms cubic-bezier(.77,0,.175,1),opacity 500ms ease; }
.app-window:first-child {opacity:1;}
.app-window[data-position='0'] {z-index:4;opacity:1;transform:translate(0,12px) rotate(0);}
.app-window[data-position='1'] {z-index:3;opacity:1;transform:translate(-13%,-5%) rotate(-12deg) scale(.9);}
.app-window[data-position='2'] {z-index:2;opacity:1;transform:translate(15%,-7%) rotate(12deg) scale(.88);}
.app-window[data-position='3'] {z-index:1;opacity:.8;transform:translate(0,-20%) scale(.8);}
.app-window--tableflow {background:#efecff;color:#211b46;}
.app-window--dindin {background:#102c26;color:#e2fff2;}
.app-window--marco {background:#f9f7f1;color:#252e30;}
.app-window--lab {background:#17251d;color:#d3f48e;}
.app-window-brand {display:flex;align-items:center;gap:10px;font-size:18px;font-weight:600;margin-bottom:17px;}
.app-window-brand img {width:30px;height:30px;object-fit:contain;}
.app-window>strong {display:block;font-size:25px;line-height:1.15;font-weight:500;letter-spacing:-.035em;}
.mini-queue {display:grid;gap:10px;margin-top:17px;font-size:13px;}
.mini-queue>span {display:flex;justify-content:space-between;padding-bottom:7px;border-bottom:1px solid #c8c2e9;}
.mini-queue small {font-size:11px;}
.mini-tables {display:flex;gap:10px;margin-top:13px;}
.mini-tables i {width:25px;height:18px;background:#c5bdeb;border:1px solid #9c8cd9;border-radius:4px;}
.mini-tables i:nth-child(2) {background:#b5ddca;border-color:#6d9e85;}
.mini-chart {height:73px;display:flex;align-items:flex-end;gap:14px;margin:20px 0 13px;}
.mini-chart i {width:16%;height:55%;background:#19c49b;border-radius:3px 3px 0 0;}
.mini-chart i:nth-child(2) {height:85%;}.mini-chart i:nth-child(3){height:65%}.mini-chart i:nth-child(4){height:100%}.mini-chart i:nth-child(5){height:75%}
.mini-detail {display:block;font-size:11px;line-height:1.4;opacity:.8;}
.mini-marco-logo {display:block;width:180px;height:34px;object-fit:contain;object-position:left;margin-bottom:20px;}
.mini-building {display:grid;grid-template-columns:repeat(3,1fr);gap:9px;width:78%;height:65px;padding:9px;margin:15px 0;background:#293b37;}
.mini-building i {display:block;background:#d3f48e;}
.mini-orbit {position:absolute;width:130px;height:130px;right:-30px;top:70px;border:1px solid #d3f48e60;border-radius:50%;}
.mini-orbit i {position:absolute;width:12px;height:12px;border-radius:50%;background:#d3f48e;left:12px;top:14px;}
.app-window--lab>strong {font-family:Georgia,serif;}
.app-window--lab .mini-detail {margin-top:22px;max-width:25ch;}
@keyframes mini-bar-grow {from{transform:scaleY(.12)}to{transform:scaleY(1)}}
@keyframes mini-light-on {from{opacity:.15}to{opacity:1}}
@keyframes mini-table-ready {from{background:#c5bdeb;border-color:#9c8cd9}to{background:#b5ddca;border-color:#6d9e85}}
@keyframes mini-orbit-turn {to{transform:rotate(360deg)}}
.app-window[data-position='0'] .mini-chart i {transform-origin:bottom;animation:mini-bar-grow 900ms var(--motion-out) both;}
.app-window[data-position='0'] .mini-chart i:nth-child(2){animation-delay:80ms}.app-window[data-position='0'] .mini-chart i:nth-child(3){animation-delay:160ms}.app-window[data-position='0'] .mini-chart i:nth-child(4){animation-delay:240ms}
.app-window[data-position='0'] .mini-building i {animation:mini-light-on 800ms ease both;}
.app-window[data-position='0'] .mini-building i:nth-child(even){animation-delay:300ms}
.app-window[data-position='0'] .mini-tables i:nth-child(2){animation:mini-table-ready 1000ms ease 350ms both;}
.app-window[data-position='0'] .mini-orbit{animation:mini-orbit-turn 3s linear infinite;}
.booking-visual.is-paused .app-window *, .booking-visual:not(.is-visible) .app-window * {animation-play-state:paused!important;}
@media(hover:hover) and (pointer:fine) {.home-motion .booking-option:hover {transform:translateY(-3px);background:#d9e2c8;}}
@media(max-width:1000px) {.home-motion .projects-invitation{gap:30px}.app-window{padding:20px}.app-window>strong{font-size:23px}.app-deck{height:380px}}
@media(max-width:700px) {
 .home-motion #agendamento {display:flex;flex-direction:column;}
 .home-motion #agendamento>h2{order:0}.home-motion #agendamento>.contact-intro{order:1}
 .home-motion #agendamento>.booking-options{order:2}.home-motion #agendamento>.booking-provider{order:3}
 .home-motion #agendamento>.booking-visual{order:4}
 .home-motion .projects-invitation{grid-template-columns:1fr;gap:35px;padding:28px 24px;}
 .home-motion .projects-copy strong{font-size:clamp(36px,10vw,52px);}
 .home-motion .projects-copy .projects-teaser{font-size:15px;}
 .project-index{grid-template-columns:1fr 1fr;gap:16px 14px;}
 .project-index-item{flex-direction:column;align-items:flex-start;gap:9px;min-height:0;padding:16px 0;border-top:1px solid #d3f48e35;border-bottom:0;}
 .project-index-item img{width:34px;height:34px;}.project-index-item>.marco-mark{--mark-size:34px;}
 .project-index-item b{font-size:13px;}.project-index-item small{font-size:10px;line-height:1.5;}
 .home-motion .booking-option{min-height:106px;grid-template-columns:78px minmax(0,1fr);gap:16px;}
 .home-motion .booking-option .booking-caption{font-size:18px;}
 .app-deck{height:330px;max-width:440px;}.app-window{left:8%;width:84%;top:14%;height:250px;padding:20px;}
 .app-window>strong{font-size:23px;}.app-window-brand{font-size:16px;}.mini-marco-logo{width:160px;}
 .home-motion .booking-visual{margin-top:18px;margin-bottom:25px;overflow:clip;padding:12px 0 8px;}
 .home-motion .app-deck{width:90%;}
}
@media(prefers-reduced-motion:reduce) {
 .app-window *{animation:none!important;}
 .projects-arrived .project-index-item,.home-motion .about-stage[data-chapter] .art-draft,.home-motion .about-stage[data-chapter] .art-connections>path,.home-motion .about-stage[data-chapter] .art-interface{animation:none!important;}
 .app-window{transition:none;}.app-window[data-position]:not([data-position='0']){opacity:0;}.app-window[data-position='0']{transform:none;}
}
.home-motion .projects-invitation strong { font-weight: 500; font-size: clamp(48px,7.2vw,90px); }
.home-motion .projects-invitation .projects-copy strong { font-size: clamp(42px,4.9vw,65px); }
.home-motion .projects-open { padding: 15px 25px; min-height: 56px; font-size: 16px; }
.home-motion .hero-button { transition: background 180ms ease, color 180ms ease, transform 180ms var(--motion-out); }
.home-motion .hero-button:active { transform: scale(.97); }
.word-mask { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.word-glyph { display: inline-block; }
@keyframes lm-word-in { from { transform: translateY(110%); } to { transform: translateY(0); } }
.words-arriving .word-glyph { animation: lm-word-in 700ms cubic-bezier(.23,1,.32,1) both; animation-delay: var(--word-delay,0ms); }
.home-motion .story-animated .about-beats li.is-current strong { animation: lm-word-in 700ms var(--motion-out) both; }
.home-motion .hero-portrait .avatar, .personal-motion .travel-photo>img { will-change: transform; }

/* Montagem curta com fotos e filmagem próprias, na passagem para a área pessoal. */
.home-motion .has-reel { position: relative; }
.home-motion .has-reel>a { min-height: 500px; justify-content: center; padding-right: 48%; }
.home-motion .has-reel .personal-invitation-title { max-width: none; }
.home-motion .has-reel .personal-description { max-width: 35ch; }
.home-motion .has-reel>a::before { display: none; }
.life-reel { position: absolute; z-index: -1; top: 0; right: 0; height: 100%; width: 42%; object-fit: cover; }
.reel-toggle { position: absolute; right: 18px; bottom: 18px; z-index: 2; min-height: 44px; padding: 10px 15px; border: 1px solid #f1f3e97a; border-radius: 5px; color: #f1f3e9; background: #17251de8; font: inherit; font-size: 12px; cursor: pointer; }
.reel-toggle:focus-visible { outline: 2px solid #d3f48e; outline-offset: 4px; }
@media (hover:hover) and (pointer:fine) {
  .home-motion .section-nav a[href$='projetos.html']:hover { background: #4b593f; transform: translateY(-2px); }
  .home-motion .hero-button:hover { transform: translateY(-3px); }
  .home-motion .projects-invitation:hover { transform: translateY(-5px); box-shadow: 0 18px 40px #17251d30; }
  .personal-motion .set-card img { transition: transform 500ms var(--motion-out); }
  .personal-motion .set-card:hover img { transform: scale(1.045); }
}
@media(max-width:700px) {
  .home-motion .section-nav a[href$='projetos.html'] { padding-inline: 13px; }
  .home-motion #projetos { padding-top: 55px; }
  .home-motion .projects-invitation { min-height: 420px; gap: 25px; }
  .home-motion .projects-invitation strong { font-size: clamp(42px,11vw,64px); }
  .home-motion .projects-invitation .projects-copy strong {font-size:clamp(36px,10vw,52px);}
  .home-motion .has-reel>a { min-height: 650px; padding: 35px 25px 345px; justify-content: flex-start; }
  .life-reel { top: auto; bottom: 0; width: 100%; height: 310px; object-position: 50% 38%; }
  .home-motion .has-reel .personal-invitation-title { max-width: none; }
}
@media(prefers-reduced-motion:reduce) {
  .word-glyph, .home-motion .story-animated .about-beats li.is-current strong { animation: none !important; }
  .home-motion .hero-portrait .avatar, .personal-motion .travel-photo>img { will-change: auto; }
  .home-motion .hero-button, .home-motion .projects-invitation, .home-motion .section-nav a { transition: none; }
  .home-motion .hero-button:hover, .home-motion .projects-invitation:hover { transform: none; }
}
