/* PORTFÓLIO ARTHUR MANSO
   Cores: variáveis em :root.
   Tipografia e estrutura: blocos abaixo.
   Responsividade: regras @media.
   Capas estáticas: últimos blocos do arquivo.
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;600;700&family=Manrope:wght@400;500;600;650;700;800&display=swap');
:root {
  --paper:#f5f4ef;
  --ink:#202b25;
  --muted:#626b63;
  --line:#d5d8ce;
  --acid:#d7f56d
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:100px
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'DM Sans',Arial,sans-serif;
  line-height:1.65
}

a {
  color:inherit;
  text-decoration:none
}

button {
  font:inherit
}

a,button {
  -webkit-tap-highlight-color:transparent
}

a:focus-visible,button:focus-visible {
  outline:3px solid #578300;
  outline-offset:6px
}

::selection {
  background:var(--acid)
}

.wrap {
  width:min(1280px,90%);
  margin:auto
}

header {
  border-bottom:1px solid var(--line);
  background:var(--paper);
  position:sticky;
  top:0;
  z-index:10
}

nav {
  height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between
}

.brand {
  font:800 30px 'Manrope',sans-serif;
  letter-spacing:-2px
}

.brand span {
  color:#789429
}

.navlinks {
  display:flex;
  gap:32px;
  align-items:center;
  font-size:14px
}

.navlinks a:hover {
  text-decoration:underline;
  text-underline-offset:6px
}

.nav-contact {
  border:1px solid var(--ink);
  border-radius:30px;
  padding:9px 19px
}

.eyebrow {
  text-transform:uppercase;
  letter-spacing:2px;
  font-size:11px;
  font-weight:700;
  display:flex;
  align-items:center;
  gap:10px
}

.dot {
  width:7px;
  height:7px;
  background:#668042;
  border-radius:50%;
  display:inline-block
}

h1,h2,h3,p {
  margin-top:0
}

h1,h2,h3 {
  font-family:Manrope,Arial,sans-serif;
  font-weight:500;
  line-height:1.12;
  letter-spacing:-.045em
}

.hero {
  padding:85px 0 58px;
  position:relative
}

.hero h1 {
  font-size:clamp(48px,6.7vw,94px);
  max-width:1070px;
  margin:26px 0 34px
}

.hero h1 em {
  font-family:Georgia,serif;
  font-weight:400
}

.hero-bottom {
  display:flex;
  justify-content:space-between;
  gap:40px;
  align-items:end
}

.hero-bottom p {
  max-width:490px;
  font-size:18px;
  color:var(--muted);
  margin-bottom:0
}

.pill {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:42px;
  background:var(--ink);
  color:white;
  border-radius:30px;
  padding:16px 25px;
  font-size:14px;
  transition:transform .2s
}

.pill:hover {
  transform:translateY(-3px)
}

.clients {
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:24px 0;
  margin-top:62px;
  align-items:center
}

.clients span {
  font-size:19px;
  letter-spacing:-.6px;
  font-weight:600
}

.clients small {
  font-size:11px;
  line-height:1.4;
  color:var(--muted);
  max-width:120px
}

.section-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  padding:60px 0 28px
}

.section-head h2 {
  font-size:42px;
  margin:12px 0 0
}

.section-head p {
  font-size:13px;
  color:var(--muted);
  margin:0
}

.grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:44px 28px
}

.project {
  display:block
}

.project .visual {
  height:350px;
  position:relative;
  overflow:hidden;
  border-radius:6px;
  transition:background .2s
}

.project:hover .visual img {
  transform:translateY(-8px) rotate(0deg)
}

.project .visual img {
  transition:transform .5s;
  width:76%;
  position:absolute;
  left:12%;
  top:45px;
  box-shadow:0 16px 35px #0002;
  border-radius:4px
}

.project .visual .phone {
  width:22%;
  left:auto;
  right:9%;
  top:90px;
  transform:rotate(7deg);
  border-radius:25px
}

.project.featured {
  grid-column:span 2
}

.project.featured .visual {
  height:475px;
  background:#dce9df
}

.project.featured .visual .desktop {
  width:56%;
  left:12%;
  top:48px;
  transform:rotate(-4deg)
}

.project.featured .visual .phone {
  width:18%;
  right:15%;
  top:70px
}

.visual-label {
  position:absolute;
  top:22px;
  left:26px;
  font-size:11px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  z-index:1
}

.project-meta {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding-top:20px
}

.project h3 {
  font-size:25px;
  margin:4px 0 9px
}

.project p {
  font-size:14px;
  color:var(--muted);
  margin:0;
  max-width:600px
}

.project small {
  text-transform:uppercase;
  letter-spacing:1.5px;
  font-size:10px
}

.arrow {
  border:1px solid #adb5a6;
  border-radius:50%;
  width:43px;
  height:43px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  flex-shrink:0
}

.project:hover .arrow {
  background:var(--acid);
  border-color:var(--acid)
}

.about {
  margin-top:100px;
  background:var(--ink);
  color:var(--paper);
  padding:80px 0
}

.about-grid {
  display:grid;
  grid-template-columns:1fr 1.15fr;
  gap:80px
}

.about h2 {
  font-size:56px
}

.about p {
  color:#ccd2c8;
  font-size:18px
}

.tags {
  display:flex;
  gap:10px;
  flex-wrap:wrap
}

.tags span {
  border:1px solid #677167;
  border-radius:30px;
  font-size:12px;
  padding:6px 13px
}

.monogram {
  font-family:Georgia,serif;
  font-style:italic;
  font-size:115px;
  color:var(--acid);
  line-height:1
}

.contact {
  padding:85px 0
}

.contact h2 {
  font-size:clamp(40px,6vw,78px);
  max-width:950px;
  margin:22px 0
}

.contact p {
  color:var(--muted);
  max-width:650px
}

footer {
  border-top:1px solid var(--line);
  padding:25px 0;
  font-size:12px;
  color:var(--muted)
}

footer .wrap {
  display:flex;
  justify-content:space-between;
  gap:24px
}

.skip {
  position:absolute;
  top:-70px;
  left:20px;
  padding:10px;
  background:var(--acid);
  z-index:50
}

.skip:focus {
  top:10px
}

.case-hero {
  padding:55px 0
}

.back {
  font-size:13px
}

.case-hero .eyebrow {
  margin-top:48px
}

.case-hero h1 {
  font-size:clamp(44px,6vw,78px);
  max-width:1000px;
  margin:20px 0
}

.lead {
  font-size:21px;
  color:var(--muted);
  max-width:840px
}

.facts {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line);
  padding-top:25px;
  margin-top:40px;
  gap:20px
}

.facts small {
  display:block;
  text-transform:uppercase;
  font-size:10px;
  letter-spacing:1.5px;
  color:var(--muted)
}

.case-cover {
  padding:48px;
  background:var(--tint,#dce9df);
  border-radius:6px;
  max-height:650px;
  overflow:hidden;
  text-align:center
}

.case-cover img {
  width:min(820px,100%);
  box-shadow:0 12px 35px #0002
}

.case-layout {
  display:grid;
  grid-template-columns:190px 1fr;
  gap:70px;
  padding:65px 0
}

.toc {
  align-self:start;
  position:sticky;
  top:120px;
  display:flex;
  flex-direction:column;
  gap:14px;
  font-size:13px
}

.toc a:hover {
  color:#54741a
}

.case-content {
  max-width:900px
}

.case-content section {
  margin-bottom:60px
}

.case-content h2 {
  font-size:36px;
  margin:10px 0 23px
}

.case-content p,.case-content li {
  font-size:17px;
  color:#525e54
}

.case-content ul {
  padding-left:20px
}

.decision {
  border-top:1px solid var(--line);
  padding:23px 0;
  display:grid;
  grid-template-columns:42px 1fr;
  gap:10px
}

.decision b {
  font-size:13px;
  color:#728158
}

.decision h3 {
  font-size:22px;
  margin:0 0 10px
}

.decision p {
  margin:0
}

.metric-row {
  display:flex;
  gap:40px;
  flex-wrap:wrap;
  margin:30px 0
}

.metric strong {
  font:500 56px Manrope,Arial
}

.metric span {
  display:block;
  font-size:13px;
  color:var(--muted)
}

figure {
  margin:30px 0
}

figure button {
  padding:25px;
  background:#e8ece6;
  border:0;
  width:100%;
  cursor:zoom-in;
  border-radius:5px
}

figure img {
  max-width:100%;
  max-height:650px;
  object-fit:contain;
  display:block;
  margin:auto
}

figcaption {
  font-size:12px;
  color:var(--muted);
  margin-top:10px
}

.note {
  padding:20px 24px;
  border-left:2px solid #99ad77;
  background:#ebeee5;
  font-size:13px!important
}

.next {
  padding:35px 0;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center
}

.next h3 {
  font-size:30px;
  margin:0
}

dialog {
  border:0;
  padding:60px 24px 24px;
  background:#f5f4ef;
  max-width:96vw;
  max-height:95vh;
  border-radius:8px
}

dialog::backdrop {
  background:#14251bd9
}

dialog img {
  max-width:100%;
  display:block;
  margin:auto
}

dialog button {
  position:fixed;
  right:4vw;
  top:4vh;
  border:1px solid var(--ink);
  border-radius:24px;
  background:var(--paper);
  padding:10px 20px;
  cursor:pointer
}

.zoom-hint {
  float:right
}

@media(max-width:760px) {
  nav {
  height:72px
}

.navlinks {
  gap:18px;
  font-size:12px
}

.nav-contact {
  display:none
}

.hero {
  padding-top:50px
}

.hero-bottom {
  display:block
}

.hero-bottom .pill {
  margin-top:25px
}

.clients {
  flex-wrap:wrap;
  justify-content:flex-start;
  gap:15px 25px;
  margin-top:40px
}

.clients small {
  flex-basis:100%;
  max-width:none
}

.clients span {
  font-size:16px
}

.section-head {
  padding-top:35px
}

.section-head h2 {
  font-size:32px
}

.section-head p {
  display:none
}

.grid {
  grid-template-columns:1fr;
  gap:32px
}

.project.featured {
  grid-column:auto
}

.project .visual,.project.featured .visual {
  height:300px
}

.project.featured .visual .desktop {
  width:66%;
  left:6%
}

.project.featured .visual .phone {
  width:26%;
  right:7%
}

.project h3 {
  font-size:23px
}

.about {
  margin-top:60px;
  padding:50px 0
}

.about-grid {
  grid-template-columns:1fr;
  gap:20px
}

.about h2 {
  font-size:44px
}

.monogram {
  display:none
}

.contact {
  padding:55px 0
}

.case-layout {
  grid-template-columns:1fr;
  gap:25px;
  padding-top:30px
}

.toc {
  position:static;
  flex-direction:row;
  flex-wrap:wrap;
  border-bottom:1px solid var(--line);
  padding-bottom:20px
}

.facts {
  grid-template-columns:1fr;
  gap:14px
}

.case-cover {
  padding:22px;
  max-height:450px
}

.lead {
  font-size:18px
}

.case-content h2 {
  font-size:30px
}

figure button {
  padding:12px
}

footer .wrap {
  flex-direction:column;
  gap:5px
}

.next h3 {
  font-size:24px
}


}

@media(prefers-reduced-motion:reduce) {
  html {
  scroll-behavior:auto
}

* {
  transition:none!important
}


}


/* Capas estáticas: quatro frentes da Saúde Petrobras e duas telas do Magalu. */
.visual.saude-montage,.project.featured .visual.saude-montage {
  height:auto;
  padding:34px;
  overflow:hidden;
  border-radius:6px
}


.montage-caption {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:26px;
  gap:20px
}

.montage-caption>span {
  font-size:11px;
  letter-spacing:1.5px
}

.montage-caption strong {
  font:500 25px/1.15 Manrope,Arial;
  letter-spacing:-1px
}


.montage-grid {
  display:grid;
  grid-template-columns:1.15fr .7fr 1.15fr .85fr;
  gap:22px;
  align-items:start
}

.montage-screen {
  min-width:0
}

.montage-screen>span {
  display:block;
  font-size:11px;
  margin-bottom:12px;
  color:#4e6255
}

.montage-screen img,.project .visual .montage-screen img {
  position:static;
  display:block;
  width:100%;
  max-height:355px;
  object-fit:contain;
  object-position:top;
  transform:none;
  transition:none;
  box-shadow:0 6px 15px #263d2515;
  /*border-radius:3px*/
}


.visual.magalu-montage {
  position:relative;
  overflow:hidden;
  border-radius:6px;
  padding:58px 30px 28px;
  height:500px
}

.magalu-screens {
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:30px;
  height:100%
}

.magalu-screens img,.project .visual .magalu-screens img,.project:hover .visual .magalu-screens img {
  position:static;
  width:auto;
  max-width:43%;
  height:100%;
  object-fit:contain;
  transform:none;
  transition:none;
  border-radius:3px;
  box-shadow:0 6px 18px #142c4820
}

.project .visual.magalu-montage {
  height:350px
}

.project:last-child {
  grid-column:span 2
}

.project:last-child .visual.magalu-montage {
  height:430px
}

.about .more-work {
  color:#e9f6cf;
  border-left:2px solid var(--acid);
  padding-left:20px
}

.profile-link {
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--acid);
  margin:4px 0 26px;
  text-decoration:underline;
  text-underline-offset:5px
}

.clients {
  flex-wrap:wrap
}


@media(max-width:760px) {
  .visual.saude-montage,.project.featured .visual.saude-montage {
  padding:22px
}

.montage-grid {
  grid-template-columns:1fr 1fr;
  gap:22px 16px
}

.montage-caption strong {
  font-size:19px
}

.montage-caption>span {
  font-size:9px
}

.montage-screen img,.project .visual .montage-screen img {
  max-height:250px
}

.montage-screen>span {
  font-size:10px
}

.project:last-child {
  grid-column:auto
}

.project:last-child .visual.magalu-montage {
  height:350px
}

.visual.magalu-montage {
  height:400px;
  padding:58px 18px 22px
}

.magalu-screens {
  gap:18px
}

.hero .eyebrow {
  font-size:10px;
  letter-spacing:1px
}


}



/* Saúde Petrobras: mesmo deslocamento e duração dos demais cards.
   A composição permanece com as quatro interfaces; o efeito só ocorre no card. */
.project .visual .montage-screen img {
  transition: transform .5s;
}

.project:hover .visual .montage-screen img,
.project:focus-visible .visual .montage-screen img {
  transform: translateY(-8px) rotate(0deg);
}

/* Preserva a preferência de acessibilidade por menos movimento. */
@media (prefers-reduced-motion: reduce) {
  .project .visual .montage-screen img,
  .project:hover .visual .montage-screen img,
  .project:focus-visible .visual .montage-screen img {
    transition: none;
    transform: none;
  }
}
