:root {
  --bg: #0b0c10;
  --panel: #15171d;
  --panel-hover: #1b1e25;
  --border: rgba(255,255,255,.105);
  --white: #f9f9f7;
  --muted: #a4a6af;
  --gold: #d4a43b;
  --heading-font: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --body-font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*,*::before,*::after {box-sizing:border-box}
html {scroll-behavior:smooth;-webkit-text-size-adjust:100%;overflow-x:clip}
body {margin:0;min-width:320px;overflow-x:clip;background:var(--bg);color:var(--white);font-family:var(--body-font);-webkit-font-smoothing:antialiased}
body::before {content:"";position:absolute;z-index:-1;inset:0 0 auto;height:790px;background:radial-gradient(ellipse 45% 45% at 50% 19%,rgba(208,159,57,.13),transparent 100%),radial-gradient(ellipse 49% 49% at 50% 48%,rgba(104,84,40,.055),transparent 85%);pointer-events:none}
a {color:inherit;text-decoration:none}
img {max-width:100%;display:block}
::selection {background:rgba(212,164,59,.45);color:#fff}
.screen-reader-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.page-shell {width:min(100% - 56px,1092px);margin:0 auto}
.hero {position:relative;isolation:isolate;text-align:center;display:flex;flex-direction:column;align-items:center;padding:26px 0 65px}
.hero__glow {position:absolute;inset:-12px 0 auto;height:510px;z-index:-1;background:radial-gradient(ellipse 43% 47% at 50% 40%,rgba(212,164,59,.12),transparent 85%);filter:blur(22px);pointer-events:none}
/* Composição original: nenhuma máscara circular, corte, contorno ou alteração facial. */
.hero__portrait-wrap {position:relative;flex:none;width:min(600px,calc(100vw - 20px));max-width:none;margin:0 auto -25px}
.hero__portrait-wrap picture {display:block;width:100%}
.hero__portrait {display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;object-position:center;background:transparent}
.hero__wordmark {position:relative;width:min(100%,478px);height:auto;aspect-ratio:1818/293;object-fit:contain;margin:0 auto 21px}
.hero__topics {font:700 11px/1.65 var(--body-font);color:#d3b36d;letter-spacing:.17em;margin:0 0 28px;white-space:normal}
.hero__topics span {padding:0 .65em;color:#8b744c}
.hero__headline {font:800 clamp(29px,4.15vw,49px)/1.22 var(--heading-font);letter-spacing:-.047em;max-width:800px;margin:0 auto 17px;text-wrap:balance}
.hero__headline span {color:var(--gold)}
.hero__description {font-size:16px;line-height:1.8;color:#c1c1c7;max-width:610px;margin:0;text-wrap:pretty}
.main {padding-bottom:8px}
.section-heading {display:flex;align-items:center;justify-content:center;gap:22px;margin:0 0 30px}
.section-heading h2 {font:800 clamp(19px,2.6vw,26px)/1.3 var(--heading-font);letter-spacing:-.025em;margin:0;white-space:nowrap}
.section-heading__line {height:1px;background:linear-gradient(90deg,transparent,rgba(212,164,59,.55));flex:1;max-width:190px}
.section-heading__line:last-child {transform:rotate(180deg)}
.projects-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}
.project-card {display:flex;flex-direction:column;min-width:0;background:var(--panel);border:1px solid var(--border);border-radius:23px;overflow:hidden;box-shadow:0 16px 44px rgba(0,0,0,.09);transition:transform .28s ease,border-color .28s ease,box-shadow .28s ease,background-color .28s ease;--accent:var(--gold)}
.project-card:hover {transform:translateY(-5px);background:var(--panel-hover);border-color:color-mix(in srgb,var(--accent) 40%,rgba(255,255,255,.13));box-shadow:0 25px 60px rgba(0,0,0,.25)}
.project-card:focus-visible {outline:3px solid var(--gold);outline-offset:5px}
.project-card--euroads {--accent:#65a7ff}
.project-card--portal {--accent:#69b0ff}
.project-card--capitulo {--accent:#d9ad53}
.project-card--podcast {--accent:#ffbf3b}
.project-card__media {height:237px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;isolation:isolate}
.project-card__media::after {position:absolute;content:"";inset:auto 0 0;height:24px;background:linear-gradient(0deg,rgba(0,0,0,.12),transparent);pointer-events:none}
.project-card__media--euroads {background:linear-gradient(127deg,#eaf4ff 0%,#cfe4ff 58%,#bdd4f7 100%)}
.project-card__media--portal {background:linear-gradient(125deg,#e7f3ff 0%,#a9cef6 100%)}
.project-card__media--capitulo {background:radial-gradient(circle at 50% 35%,#28231a 0%,#0e0e0d 66%,#070707 100%)}
.project-card__media--podcast {background:#000}
.project-card__media--podcast::before {content:"";position:absolute;inset:-20px;background:url("assets/podficar-rico.webp") center/cover no-repeat;filter:blur(19px) brightness(.45);z-index:0}
.project-card__ornament {position:absolute;pointer-events:none;border-radius:50%;border:1px solid rgba(17,69,138,.11);z-index:-1}
.project-card__ornament--one {width:420px;height:420px;right:-96px;top:-245px}
.project-card__ornament--two {width:300px;height:300px;left:-150px;bottom:-235px}
.project-card__media--capitulo .project-card__ornament {border-color:rgba(212,164,59,.12)}
.project-card__logo {position:relative;z-index:1;object-fit:contain;filter:drop-shadow(0 12px 18px rgba(0,0,0,.06));transition:transform .35s ease}
.project-card:hover .project-card__logo {transform:scale(1.045)}
.project-card__logo--euroads {width:260px;max-height:185px}
.project-card__logo--portal {width:min(88%,400px);max-height:162px}
.project-card__logo--capitulo {width:242px;max-height:190px;filter:drop-shadow(0 3px 24px rgba(211,159,46,.10))}
.project-card__thumbnail {position:relative;z-index:1;width:100%;height:100%;object-fit:contain;object-position:center;transition:transform .4s ease,filter .4s ease}
.project-card:hover .project-card__thumbnail {transform:scale(1.04);filter:brightness(.92)}
.project-card__content {display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:27px 29px 28px}
.project-card__eyebrow {font:800 11px/1.5 var(--heading-font);letter-spacing:.13em;color:var(--accent);margin:0 0 11px}
.project-card h3 {font:800 23px/1.36 var(--heading-font);letter-spacing:-.035em;margin:0 0 12px;text-wrap:pretty}
.project-card__description {font-size:15px;line-height:1.72;color:#b5b6bd;margin:0 0 24px;max-width:45ch}
.project-card__action {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;width:100%;padding-top:19px;border-top:1px solid rgba(255,255,255,.1);font:700 14px/1.4 var(--body-font);color:var(--white)}
.project-card__arrow {display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid rgba(255,255,255,.20);border-radius:50%;background:rgba(255,255,255,.055);color:var(--accent);font-family:Arial,sans-serif;font-size:20px;font-weight:400;transition:background .25s ease,color .25s ease,transform .25s ease}
.project-card:hover .project-card__arrow {background:var(--accent);color:#101115;transform:translate(2px,-2px)}
.footer {padding:58px 0 40px;text-align:center}
.footer__rule {width:42px;height:2px;margin:0 auto 21px;background:var(--gold);opacity:.72;border-radius:5px}
.footer p {font-size:12px;line-height:1.6;color:#898a91;margin:0}
@media(max-width:800px) {
  .page-shell {width:min(100% - 36px,640px)}
  .hero {padding:21px 0 54px}
  .hero__portrait-wrap {width:min(550px,calc(100vw - 16px));margin-bottom:-22px}
  .hero__wordmark {width:min(93%,445px);margin:0 auto 20px}
  .hero__headline {font-size:clamp(29px,6vw,40px);max-width:565px}
  .hero__topics {font-size:10px;letter-spacing:.115em;margin-bottom:24px}
  .hero__description {font-size:15px;line-height:1.7}
  .section-heading {gap:13px;margin-bottom:25px}
  .section-heading__line {max-width:75px}
  .projects-grid {grid-template-columns:1fr;gap:18px}
  .project-card__media {height:234px}
  .project-card__content {padding:25px 25px 24px}
  .project-card__description {max-width:none}
  .project-card__logo--portal {width:min(82%,380px)}
  .project-card__logo--capitulo {width:225px}
  .footer {padding:52px 0 35px}
}
@media(max-width:480px) {
  .page-shell {width:calc(100% - 32px)}
  .hero {padding:14px 0 45px}
  .hero__portrait-wrap {width:calc(100vw - 12px);margin-bottom:-14px}
  .hero__wordmark {width:min(94%,330px);margin:0 auto 18px}
  .hero__topics {font-size:9.35px;letter-spacing:.085em;margin-bottom:22px;white-space:nowrap}
  .hero__topics span {padding:0 .26em}
  .hero__headline {font-size:clamp(26px,7.5vw,33px);letter-spacing:-.045em;line-height:1.25;margin-bottom:12px}
  .hero__description {font-size:14px;line-height:1.7;max-width:340px}
  .section-heading {gap:10px;margin-bottom:22px}
  .section-heading h2 {font-size:19px}
  .section-heading__line {max-width:55px}
  .project-card {border-radius:19px}
  .project-card__media {height:192px}
  .project-card__logo--euroads {width:225px;max-height:158px}
  .project-card__logo--portal {width:84%;max-height:150px}
  .project-card__logo--capitulo {width:190px;max-height:170px}
  .project-card__content {padding:23px 22px 21px}
  .project-card__eyebrow {font-size:10px;margin-bottom:9px}
  .project-card h3 {font-size:20.2px;line-height:1.36;margin-bottom:10px}
  .project-card__description {font-size:14px;line-height:1.64;margin-bottom:21px}
  .project-card__action {font-size:13.2px;padding-top:14px}
  .project-card__arrow {height:32px;width:32px;flex-basis:32px}
  .footer {padding:44px 0 32px}
  .footer p {font-size:10.8px}
}
@media(max-width:350px) {
  .hero__topics {font-size:8.5px}
  .hero__headline {font-size:26px}
  .section-heading h2 {font-size:17px}
  .project-card__content {padding-left:19px;padding-right:19px}
}
@media(prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}
}

/* Atualização dos projetos: seta de navegação, AfiliadosJP e último card centralizado. */
.section-scroll {display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin:0 auto 16px;border-radius:50%;color:var(--gold);border:1px solid rgba(212,164,59,.32);background:rgba(212,164,59,.055);transition:transform .25s ease,background-color .25s ease,border-color .25s ease}
.section-scroll:hover {transform:translateY(4px);background:rgba(212,164,59,.13);border-color:rgba(212,164,59,.62)}
.section-scroll:focus-visible {outline:3px solid var(--gold);outline-offset:4px}
#lista-projetos {scroll-margin-top:18px}
.project-card--afiliadosjp {--accent:#ff7979}
.project-card__media--afiliadosjp {background:radial-gradient(circle at 50% 43%,#541719 0%,#2a1015 48%,#110d11 100%)}
.project-card__media--afiliadosjp .project-card__ornament {border-color:rgba(247,79,79,.16)}
.project-card__media--afiliadosjp picture {display:flex;align-items:center;justify-content:center;position:relative;z-index:1;width:100%;height:100%}
.project-card__logo--afiliadosjp {width:212px;max-width:85%;max-height:211px;object-fit:contain;filter:drop-shadow(0 9px 22px rgba(255,0,0,.15))}
@media(min-width:801px) {
  .projects-grid > .project-card:last-child:nth-child(odd) {grid-column:1 / -1;width:calc((100% - 22px)/2);justify-self:center}
}
@media(max-width:800px) {
  .project-card__logo--afiliadosjp {width:210px;max-height:206px}
}
@media(max-width:480px) {
  .section-scroll {width:44px;height:44px;margin-bottom:16px}
  .project-card__logo--afiliadosjp {width:171px;max-height:174px}
}
@media(prefers-reduced-motion:reduce) {
  .section-scroll {transition:none}
}
