/* Home compartilha a paleta de aparência e mantém apenas seus tokens de layout. */
.home{--paper:var(--bg);--space-xs:8px;--space-sm:16px;--space-md:24px;--space-lg:32px;--space-xl:48px;--space-section:80px;--radius:10px;background:var(--paper);color:var(--ink)}
.home a:hover{color:var(--teal)}.home .skip{background:#e8edf5;color:#172554}.home a:focus-visible,.home button:focus-visible{outline:3px solid #9cbcff;outline-offset:5px}.home h2{font-size:clamp(1.65rem,2.6vw,2.15rem)}.home h3{font-size:1.15rem;line-height:1.4;letter-spacing:-.02em}.home p{color:var(--muted)}
.home header{background:var(--paper);border-color:var(--line)}.home .header-row{height:86px;min-height:0;flex-wrap:nowrap;gap:20px;padding-block:0;justify-content:space-between}.home .brand img{width:180px;height:54px;background:#e8edf5;padding:5px 10px;border-radius:6px}.home .nav{gap:20px}.home .nav a{color:var(--muted);font-size:13px;padding-block:8px}.home .nav a:hover,.home .nav a[aria-current]{color:var(--ink)}.home .nav a[aria-current]{border-color:var(--teal)}.home-search{font-size:13px;text-decoration:none;white-space:nowrap;border-left:1px solid var(--line);padding-left:20px}.home #menu-toggle{background:var(--surface);color:var(--ink);border-color:var(--line)}
.home .hero{padding:72px 0 76px;background:var(--paper);border-color:var(--line)}.home .hero-grid{grid-template-columns:1.12fr 1fr;gap:64px;align-items:center}.home .hero h1{font-size:clamp(3.25rem,5.6vw,4.75rem);line-height:1.08;letter-spacing:-.055em;margin:24px 0;max-width:620px}.home .hero h1>span{color:var(--teal)}.home .hero-copy>p{font-size:17px;line-height:1.8;max-width:490px;margin-bottom:28px}.home .eyebrow{font-size:11px;letter-spacing:.12em}.home-actions{display:flex;flex-wrap:wrap;gap:16px;align-items:center}.home .button{background:#2563eb;color:white;border-color:#2563eb;border-radius:6px;min-height:46px;padding:12px 20px;gap:16px}.home .button:hover{background:#1d4ed8;color:white}.home .button.secondary{background:transparent;color:var(--ink);border-color:#465670}.home .button.secondary:hover{background:var(--mint);border-color:var(--teal)}.hero-indicators{display:flex;flex-wrap:wrap;gap:8px 20px;padding:0;margin:28px 0 0;list-style:none;color:var(--muted);font-size:12px}.hero-indicators li:before{content:'·';color:var(--teal);margin-right:8px}
.home .hero-carousel{min-width:0;max-width:none;width:100%}.home .hero .carousel-panels{height:310px;min-height:310px}.home .hero .terminal{height:310px;min-height:310px;background:#172131;border:1px solid #34435c;border-radius:var(--radius);box-shadow:none;transform:none;display:flex;flex-direction:column}.home .terminal-bar{padding:16px 20px;background:#1b2738;border-color:var(--line);color:#c1cee2}.home .dot{background:#6983a6}.home .terminal pre{padding:26px 20px;line-height:1.95;font-size:12px;flex:1;white-space:pre-wrap;overflow-wrap:anywhere}.home .terminal small{font-size:11px;padding:14px 20px;border-color:var(--line);color:var(--muted)}.home .hljs-keyword,.home .hljs-literal{color:var(--teal)}.home .hljs-string{color:#d6dce8}.home .carousel-controls{flex-wrap:wrap;justify-content:flex-start;margin-top:16px;gap:8px}.home .carousel-controls button{background:transparent;border-color:var(--line);color:var(--muted);min-height:40px;min-width:40px}.home .carousel-controls button:hover,.home .carousel-dots button[aria-current]{background:var(--mint);color:var(--teal);border-color:var(--teal)}.home .hero-carousel.is-enhanced [data-slide]:not([hidden]){animation:none}
.home .section{padding-block:var(--space-section)}.home .section-head{margin-bottom:var(--space-lg);align-items:center}.home .section-head h2{margin:0}.home .section-head p{font-size:14px;margin:10px 0 0}.home .section-head>a{white-space:nowrap}.home-band{background:var(--surface);border-block:1px solid var(--line)}
.latest-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:var(--space-md)}.latest-secondary{display:grid;gap:var(--space-md)}.home-article{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:border-color .18s,background .18s}.home-article:hover{border-color:var(--teal);background:var(--mint)}.home-article>.tag{display:block;padding:18px 24px;margin:0}.home .home-article .art{min-height:0;height:185px;background:#1d2a3f}.home .home-article .art:before{display:none}.home .home-article .art .cover-picture{width:100%;height:100%;object-fit:cover;transition:transform .2s}.home-article:hover .cover-picture{transform:scale(1.015)}.home .primary-article .art{height:250px}.home-article-body{padding:24px}.home-article h3{margin:0 0 12px;font-size:1.3rem}.home .primary-article h3{font-size:1.7rem}.home-article h3 a{color:var(--ink);text-decoration:none}.home-article h3 a:after{content:'';position:absolute;inset:0}.home-article:focus-within{outline:3px solid #9cbcff;outline-offset:4px}.home-article h3 a:focus-visible{outline:none}.home-article p{font-size:14px;line-height:1.7;margin-bottom:20px}.article-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.home .article-bottom .meta{margin:0;font-size:12px}.article-bottom>span{color:var(--teal);transition:transform .18s}.home-article:hover .article-bottom>span{transform:translateX(3px)}.compact-article{display:grid;grid-template-columns:150px minmax(0,1fr);grid-template-rows:auto 1fr}.home .compact-article>.tag{grid-column:1/-1;padding:14px 20px}.home .compact-article .art{height:100%;min-height:185px}.compact-article .home-article-body{padding:0 20px 20px}.compact-article h3{font-size:1.1rem}.compact-article p{font-size:12px;margin-bottom:14px}
.technology-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--space-sm)}.technology-card{grid-column:span 2;padding:24px;border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;background:var(--surface);transition:border-color .18s,background .18s}.technology-card:nth-last-child(-n+2){grid-column:span 3}.technology-card:hover{border-color:var(--teal);background:var(--mint)}.technology-icon{font:20px/1.5 Consolas,monospace;color:var(--teal)}.technology-card h3{color:var(--ink);margin:14px 0 10px}.technology-card p{font-size:14px;margin-bottom:20px;max-width:400px}.home .read{font-size:13px;font-weight:600;color:var(--teal)}
.home-journey{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.home-journey>a{position:relative;text-decoration:none;padding:0 0 0 0}.journey-number{display:flex;align-items:center;gap:18px;font:13px/1.5 Consolas,monospace;color:var(--teal)}.journey-number:after{content:'';height:1px;background:var(--line);flex:1}.home-journey h3{color:var(--ink);margin:22px 0 12px}.home-journey p{font-size:14px;max-width:300px}.home-journey>a:hover h3{color:var(--teal)}
.home-projects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.home-project{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px;display:flex;flex-direction:column;min-width:0}.project-heading{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:18px}.project-heading>span:first-child{color:var(--teal);font:18px Consolas,monospace}.project-heading h3{font:600 16px/1.5 Consolas,monospace;overflow-wrap:anywhere;margin:0}.project-heading>.tag{margin:0 0 0 auto;border:1px solid #425779;border-radius:4px;padding:2px 6px;font-size:10px}.home-project>p{font-size:14px}.project-facts{list-style:none;padding:0;margin:0 0 24px;font-size:12px;color:var(--muted)}.project-facts li+li{margin-top:4px}.home-project .home-actions{margin-top:auto;justify-content:space-between;gap:12px;font-size:13px;border-top:1px solid var(--line);padding-top:18px}.home-project .home-actions a{text-decoration:none;min-height:32px;display:flex;align-items:center;gap:4px}.home-downloads{font-size:14px;margin:24px 0 0}
.editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.editorial-item{display:flex;gap:16px;border-top:1px solid var(--line);padding-top:24px}.editorial-number{font:13px/1.5 Consolas,monospace;color:var(--muted);padding-top:3px}.editorial-item h3{margin:12px 0}.editorial-item h3 a{color:var(--ink);text-decoration:none}.editorial-item h3 a:hover{color:var(--teal)}.editorial-item p{font-size:13px}.home-author-band{background:var(--surface);border-block:1px solid var(--line)}.home-author{display:grid;grid-template-columns:144px minmax(0,730px);gap:40px;align-items:center}.home-author img{width:144px;height:160px;object-fit:cover;object-position:top;border-radius:var(--radius)}.home-author h2{margin:12px 0 8px}.home-author .author-role{color:var(--ink);font-size:14px;margin-bottom:12px}.home-author p{font-size:14px}.home-author .home-actions{font-size:14px}
.home .course-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.home .course{padding:24px 0 0;border-left:0;border-top:2px solid #3e5780;display:flex;flex-direction:column}.home .course h3{font-size:1.15rem;margin:16px 0}.home .course p{font-size:14px}.home .course .button{margin-top:auto;align-self:flex-start}.course-status{font-size:12px;margin:28px 0 0}.home footer{background:var(--paper);border-color:var(--line);padding:36px 0}.home footer strong{color:var(--ink)}.home .socials{flex-wrap:wrap;gap:12px}
.home .footer-row{display:grid;grid-template-columns:1.1fr 1.7fr;gap:28px}.home-footer-links{display:grid;grid-template-columns:1fr 1fr;gap:24px}.home-footer-links nav{display:flex;flex-wrap:wrap;align-content:start;gap:8px 16px}.home-footer-links a{font-size:12px;text-decoration:none}.home footer .socials{align-items:start}.home footer a{min-height:28px}.home-footer-links a:hover{text-decoration:underline}
@media(max-width:1000px){.home .header-row{gap:14px}.home .nav{gap:12px}.home .brand img{width:150px}.home-search{padding-left:12px}.home .hero-grid{gap:32px}.home .hero h1{font-size:3.5rem}.home-projects{grid-template-columns:1fr}.home-project{display:grid;grid-template-columns:1fr 1fr;column-gap:32px}.project-heading,.home-project>p{grid-column:1}.project-facts,.home-project .home-actions{grid-column:2}.project-facts{grid-row:1/3;align-self:center;margin:0}.home-project .home-actions{grid-row:3}.home-project>p{margin-bottom:16px}.latest-layout{grid-template-columns:1.1fr 1fr}.compact-article{grid-template-columns:1fr}.home .compact-article .art{height:140px;min-height:0}.compact-article .home-article-body{padding-top:20px}.home .compact-article h3{font-size:1.15rem}}
@media(max-width:850px){.home{--space-section:56px}.home .header-row{height:auto;min-height:86px;flex-wrap:wrap;padding-block:12px;justify-content:space-between}.home .nav{order:3;width:100%;justify-content:center;flex-wrap:wrap}.home .hero{padding:48px 0}.home .hero-grid{grid-template-columns:1fr;gap:40px}.home .hero-copy>p{max-width:600px}.home .hero-carousel{max-width:600px}.home .hero h1{font-size:clamp(3rem,7vw,4rem)}.home .hero .carousel-panels,.home .hero .terminal{height:300px;min-height:300px}.home .course-list{grid-template-columns:1fr}.home .course{display:block}.home .course p{max-width:600px}.editorial-grid{grid-template-columns:1fr}.editorial-item p{max-width:700px}.home-author{gap:28px}.home-journey{gap:24px}}
@media(max-width:600px){.home{--space-section:40px;--space-lg:24px}.home .header-row{height:76px;min-height:76px;padding-block:0;flex-wrap:nowrap;gap:12px}.home .brand img{width:130px;height:48px}.home #menu-toggle{margin-left:auto;min-height:44px;padding:8px 10px}.home .nav{width:auto;top:76px;background:var(--surface);align-items:stretch;gap:4px;padding:16px 20px}.home .nav a{min-height:44px;padding:10px 0}.home-search{border-left:0;padding:10px 0;font-size:12px}.home .hero{padding:40px 0}.home .hero h1{font-size:clamp(2.8rem,11vw,3.5rem);margin:20px 0}.home .hero-copy>p{font-size:16px}.home .hero .eyebrow{font-size:10px;letter-spacing:.06em}.hero-indicators{gap:6px 12px;font-size:11px}.home .hero .carousel-panels,.home .hero .terminal{height:300px;min-height:300px}.home .terminal pre{font-size:11px;padding:22px 16px}.home .terminal small{font-size:10px}.home .section-head{align-items:flex-start;gap:16px}.latest-layout{grid-template-columns:1fr}.home .primary-article .art{height:190px}.home .primary-article h3{font-size:1.4rem}.home-article-body{padding:20px}.home .compact-article .art{display:flex;height:150px;min-height:0}.compact-article .home-article-body{padding:20px}.compact-article p{font-size:14px}.technology-grid{grid-template-columns:1fr}.technology-card,.technology-card:nth-last-child(-n+2){grid-column:auto;padding:20px}.home-journey{grid-template-columns:1fr;gap:24px}.home-journey h3{margin-top:14px}.home-journey p{max-width:none;margin-bottom:12px}.home-journey>a{border-left:1px solid var(--line);padding-left:20px}.home-project{display:flex;padding:20px}.project-facts{align-self:stretch;margin:0 0 20px}.home-project .home-actions{padding-top:14px}.home-author{grid-template-columns:1fr;gap:24px}.home-author img{width:96px;height:108px}.home .footer-row{grid-template-columns:1fr;gap:24px}.home-footer-links{grid-template-columns:1fr;gap:16px}.home .socials a{padding-block:8px}.home .button{padding:12px 16px;font-size:13px}.home .technology-card .read{display:inline-block;min-height:32px}}
@media(prefers-reduced-motion:reduce){.home *{scroll-behavior:auto;transition:none}.home-article:hover .cover-picture,.home-article:hover .article-bottom>span{transform:none}}
