/* ===================================================================
   Studio Nudge — Landing Page
   Design tokens
=================================================================== */
:root{
  --cream:      #F5F0E8;
  --paper:      #FBF8F3;
  --ink:        #241E19;
  --ink-soft:   #43392F;
  --stone:      #8C8377;
  --rust:       #963418;   /* primary — from wordmark */
  --rust-warm:  #C07954;   /* secondary accent — from studio wall */
  --rust-deep:  #6E2611;
  --line:       rgba(36,30,25,0.12);
  --line-light: rgba(245,240,232,0.28);

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(24px, 5vw, 64px);

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur-s: .35s;
  --dur-m: .6s;
  --dur-l: .9s;

  --header-h: 84px;
}

/* ===================================================================
   Reset
=================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

body, h1, h2, h3, p, ul, ol, figure{ margin: 0; }
ul, ol{ padding: 0; list-style: none; }
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

html, body{
  overflow-x: hidden;
  max-width: 100%;
}

body{
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap{
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible{
  outline: 2px solid var(--rust);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link{
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 6px;
  transition: top var(--dur-s) var(--ease);
}
.skip-link:focus{ top: 16px; }

/* ===================================================================
   Type helpers
=================================================================== */
.eyebrow{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 14px;
  display: inline-block;
}
.eyebrow--light{ color: var(--rust-warm); }

.section-title{
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-title em{ font-style: italic; color: var(--rust); font-weight: 460; }

.section-head{ max-width: 640px; margin-bottom: clamp(40px, 6vw, 76px); }

.br-desktop{ display: inline; }
@media (max-width: 720px){ .br-desktop{ display: none; } }

/* ===================================================================
   Buttons
=================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .01em;
  transition: background var(--dur-s) var(--ease), color var(--dur-s) var(--ease), border-color var(--dur-s) var(--ease), transform var(--dur-s) var(--ease);
}
.btn:hover{ transform: translateY(-2px); }

.btn--light{
  background: var(--paper);
  color: var(--ink);
}
.btn--light:hover{ background: #fff; }

.btn--ghost-light{
  border: 1px solid var(--line-light);
  color: var(--paper);
}
.btn--ghost-light:hover{ border-color: var(--paper); background: rgba(255,255,255,.08); }

/* ===================================================================
   Header
=================================================================== */
.site-header{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--dur-m) var(--ease), box-shadow var(--dur-m) var(--ease), height var(--dur-m) var(--ease);
}
.site-header.is-scrolled{
  background: rgba(245,240,232,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  height: 72px;
}

.header-inner{
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand{ display: flex; align-items: center; }
.brand-logo{
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  transform: translateX(-32px);
  transition: filter var(--dur-m) var(--ease), height var(--dur-m) var(--ease);
}

.site-header.is-scrolled .brand-logo{
  filter: none;
  height: 38px;
}
.site-header.is-scrolled .brand-logo{ filter: none; height: 38px; }

.site-nav{
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.nav-link{
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--paper);
  padding: 6px 0;
  transition: color var(--dur-s) var(--ease);
}
.site-header.is-scrolled .nav-link{ color: var(--ink-soft); }

.nav-index{
  font-size: 10.5px;
  color: var(--rust-warm);
  font-weight: 600;
}

.nav-link::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right var(--dur-s) var(--ease);
}
.nav-link:hover::after{ right: 0; }

.nav-link--cta{
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-light);
  color: var(--paper);
}
.site-header.is-scrolled .nav-link--cta{ border-color: var(--rust); color: var(--rust); }
.nav-link--cta::after{ display: none; }
.nav-link--cta:hover{ background: var(--rust); color: var(--paper); border-color: var(--rust); }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  padding: 0;
}
.nav-toggle span{
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--paper);
  transition: transform var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease), background var(--dur-s) var(--ease);
}
.site-header.is-scrolled .nav-toggle span{ background: var(--ink); }

/* ===================================================================
   Hero
=================================================================== */
.hero{
  position: relative;
  min-height: 100svh;
  width: 100%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #963418;
}

.hero-media{
  position: absolute;
  inset: 0;
}
.hero-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  transform: scale(1.08);
  animation: hero-settle 1.6s var(--ease) forwards;
}
@keyframes hero-settle{
  to{ transform: scale(1); }
}
@media (prefers-reduced-motion: reduce){
  .hero-img{ animation: none; transform: scale(1); }
}

.hero-scrim{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(20,14,10,.72) 0%, rgba(20,14,10,.34) 42%, rgba(20,14,10,.12) 65%, rgba(20,14,10,.20) 100%),
    linear-gradient(100deg, rgba(20,14,10,.45) 0%, rgba(20,14,10,0) 55%);
}

.hero-content{
  position: relative;
  z-index: 2;
  max-width: var(--wrap);
  width: 100%;
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(72px, 11vw, 130px);
  color: var(--paper);
}

.hero-title{
  font-family: "Montserrat", var(--font-body);
  font-weight: 700;
  font-size: clamp(46px, 5.2vw, 80px);
  line-height: .98;
  letter-spacing: -0.035em;
  max-width: none;
}

.hero-title em{
  color: #C66B45;
  font-style: normal;
  font-weight: 700;
}

.hero-sub{
  margin-top: 12px;
  max-width: 46ch;
  font-size: clamp(15.5px, 1.4vw, 18px);
  color: rgba(251,248,243,.86);
}

.hero-actions{
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.scroll-cue{
  position: absolute;
  z-index: 2;
  right: var(--gutter);
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(251,248,243,.7);
  writing-mode: vertical-rl;
}
.scroll-cue-line{
  width: 1px;
  height: 46px;
  background: rgba(251,248,243,.4);
  position: relative;
  overflow: hidden;
}
.scroll-cue-line::after{
  content: "";
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--rust-warm);
  animation: cue-drop 2.2s var(--ease) infinite;
}
@keyframes cue-drop{
  0%{ top: -100%; }
  60%{ top: 100%; }
  100%{ top: 100%; }
}
.scroll-cue-text{
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce){
  .scroll-cue-line::after{ animation: none; top: 0; }
}
@media (max-width: 640px){ .scroll-cue{ display: none; } }

/* ===================================================================
   Manifesto
=================================================================== */
.manifesto{
  padding: clamp(80px, 11vw, 140px) 0;
  border-bottom: 1px solid var(--line);
  background-color: #F8F1E7;
}
.manifesto .wrap{ max-width: 900px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.manifesto-text{
  font-family: var(--font-display);
  font-weight: 420;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.42;
  letter-spacing: -0.005em;
  color: var(--ink-soft);
}
.manifesto-text em{ font-style: italic; color: var(--rust); }

/* ===================================================================
   Services
=================================================================== */
.services{
  padding-top: 70px;
  padding-bottom: 120px;
  background: #F8F1E7;
}

.services .eyebrow,
.services .section-title,
.service-num,
.service-copy h3,
.service-copy p{
  font-family: "Montserrat", var(--font-body);
}

.service-list{
  display: flex;
  flex-direction: column;
}

.service{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 90px);
  padding: clamp(48px, 7vw, 84px) var(--gutter);
  max-width: var(--wrap);
  margin-inline: auto;
  border-top: 1px solid var(--line);
}
.service:last-child{ border-bottom: 1px solid var(--line); }

.service--b{ direction: rtl; }
.service--b > *{ direction: ltr; }

.service-media{
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper);
  box-shadow: 0 30px 60px -30px rgba(36,30,25,.35);
}
.service-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-l) var(--ease);
}
.service:hover .service-media img{ transform: scale(1.045); }

.service-num{
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rust-warm);
  margin-bottom: 12px;
}
.service-copy h3{
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(26px, 2.6vw, 36px);
  color: var(--ink);
  margin-bottom: 16px;
}
.service-copy p{
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 44ch;
}

/* ===================================================================
   Studio / About
=================================================================== */
.studio{
  background: var(--ink);
  color: var(--paper);
  padding: clamp(90px, 12vw, 150px) 0;
}
.studio-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.studio .section-title{ color: var(--paper); }
.studio .section-title em{ color: var(--rust-warm); }
.studio .eyebrow{ color: var(--rust-warm); }

.studio-lead{
  margin-top: 22px;
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  color: rgba(251,248,243,.78);
  max-width: 48ch;
}

.studio-points{
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.studio-points li{
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  font-size: 15px;
  color: rgba(251,248,243,.72);
}
.studio-points li span{
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--paper);
  font-size: 15.5px;
  margin-bottom: 4px;
}

.studio-media{
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.studio-media img{ width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }

/* ===================================================================
   Process — Como trabalhamos
=================================================================== */
.process{
  --process-rail: clamp(11rem, 29vw, 23rem);
  margin-top: -100px;
  padding: 45px 0 65px;
  background: #F8F1E7;
  overflow: hidden;
}
.process-head{ max-width: 760px; margin-bottom: clamp(62px, 9vw, 118px); }
.process .eyebrow{ color: #C66B45; font-family: "Montserrat", var(--font-body); font-weight: 700; }
.process-title{ margin: 0; color: var(--ink); font-family: "Montserrat", var(--font-body); font-size: clamp(42px, 5.4vw, 76px); font-weight: 700; letter-spacing: -.055em; line-height: .98; }
.process-title span{ color: #C66B45; }
.process-head{ opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.process.is-visible .process-head{ opacity: 1; transform: translateY(0); }
.process-flow{ position: relative; margin: 0; padding: 0; list-style: none; }
.process-flow::before{ position: absolute; top: 18px; bottom: 18px; left: var(--process-rail); width: 2px; background: #C66B45; transform: scaleY(0); transform-origin: top; content: ""; }
.process-step{ position: relative; display: grid; grid-template-columns: var(--process-rail) minmax(0, 1fr); min-height: clamp(150px, 17vw, 216px); }
.js .process-step{ opacity: 0; transform: translateY(22px); transition: opacity .48s var(--ease), transform .48s var(--ease); }
.process-step::after{ position: absolute; top: 10px; left: calc(var(--process-rail) - 6px); z-index: 2; width: 12px; height: 12px; border: 2px solid #C66B45; border-radius: 999px; background: #F2E5D4; content: ""; }
.process-index{ position: relative; z-index: 1; align-self: start; justify-self: end; margin-right: clamp(34px, 4vw, 58px); color: rgba(36,30,25,.12); font-family: "Montserrat", var(--font-body); font-size: clamp(78px, 10.5vw, 154px); font-weight: 700; letter-spacing: -.085em; line-height: .72; user-select: none; }
.process-body{ position: relative; max-width: 510px; margin-left: clamp(36px, 5vw, 72px); padding: 2px 0 clamp(44px, 6vw, 74px); }
.process-body h3{ margin: 0 0 12px; color: var(--ink); font-family: "Montserrat", var(--font-body); font-size: clamp(25px, 2.5vw, 35px); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; }
.process-body p{ margin: 0; color: var(--ink-soft); font-family: "Montserrat", var(--font-body); font-size: clamp(14px, 1.25vw, 16px); line-height: 1.65; }
.process.is-visible .process-flow::before{ animation: process-track-grow 1.85s var(--ease) forwards; }
.process.is-visible .process-step{ opacity: 1; transform: translateY(0); }
.process.is-visible .process-step:nth-of-type(1){ transition-delay: .22s; }
.process.is-visible .process-step:nth-of-type(2){ transition-delay: .58s; }
.process.is-visible .process-step:nth-of-type(3){ transition-delay: .94s; }
.process.is-visible .process-step:nth-of-type(4){ transition-delay: 1.30s; }
@keyframes process-track-grow{ to{ transform: scaleY(1); } }

@media (max-width: 720px){
  .process{ --process-rail: 0px; padding: 88px 0 96px; }
  .process-head{ margin-bottom: 66px; }
  .process-title{ font-size: clamp(40px, 12vw, 58px); }
  .process-flow::before{ top: 8px; bottom: 32px; left: 7px; }
  .process-step{ display: block; min-height: 0; padding: 0 0 54px 34px; }
  .process-index{ display: block; width: max-content; margin: 0 0 -2px; font-size: clamp(72px, 24vw, 108px); line-height: .78; }
  .process-body{ max-width: 32rem; margin: 0; padding: 0; }
  .process-step::after{ top: 7px; left: 1px; }
}
@media (prefers-reduced-motion: reduce){
  .process-flow::before{ transform: scaleY(1); animation: none !important; }
  .js .process-step{ opacity: 1; transform: none; transition: none; }
}

/* ===================================================================
   Work — Trabalhos / Portfólio (marquee de logos)
=================================================================== */
.work{ padding: clamp(80px, 10vw, 128px) 0; background: var(--cream); overflow: hidden; }

.work-head{ margin-bottom: clamp(36px, 5vw, 56px); }

.work-head .section-title{
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.work-head .title-accent{ color: #C66B45; }

.work-marquee{
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  margin-bottom: clamp(48px, 6vw, 72px);
}

.work-track{
  display: flex;
  align-items: flex-start;
  width: max-content;
  gap: clamp(30px, 4vw, 56px);
  padding-inline: clamp(20px, 2.6vw, 32px);
  animation: work-scroll 30s linear infinite;
}
@media (hover: hover) and (pointer: fine){
  .work-marquee:hover .work-track{ animation-play-state: paused; }
}

@keyframes work-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

.work-item{
  flex-shrink: 0;
  width: clamp(128px, 13vw, 172px);
  text-align: center;
}

.work-logo{
  width: clamp(128px, 13vw, 172px);
  height: clamp(128px, 13vw, 172px);
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 18px 38px -18px rgba(36,30,25,.4);
  margin-inline: auto;
}
.work-logo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(.4) brightness(1.38);
  transform: scale(1);
  transition: filter .55s var(--ease), transform .55s var(--ease);
}
.work-item:hover .work-logo img{
  filter: grayscale(0) contrast(1) brightness(1);
  transform: scale(1.14);
}

.work-info{
  margin-top: 14px;
}
.work-info h3{
  margin: 0 0 4px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 460;
  font-size: clamp(14.5px, 1.2vw, 16.5px);
  letter-spacing: -.01em;
}
.work-tag{
  display: block;
  color: var(--rust-warm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10.5px;
  line-height: 1.35;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.work-cta{
  display: flex;
  width: max-content;
  margin-inline: auto;
  background: var(--rust);
  color: var(--paper);
}
.work-cta:hover{ background: var(--rust-deep); }

.work-swipe-hint{
  display: none;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--rust-warm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.work-swipe-hint svg{
  flex-shrink: 0;
  animation: swipe-hint 1.5s ease-in-out infinite;
}
@keyframes swipe-hint{
  0%, 100%{ transform: translateX(0); opacity: .55; }
  50%{ transform: translateX(7px); opacity: 1; }
}

@media (max-width: 720px){
  .work{ padding: 88px 0 96px; }
  .work-item{ width: clamp(112px, 30vw, 140px); }
  .work-logo{ width: clamp(112px, 30vw, 140px); height: clamp(112px, 30vw, 140px); }
  .work-swipe-hint{ display: inline-flex; }

  /* No touch, troca o slide automático por deslize manual (sem risco de "travar" no toque) */
  .work-marquee{
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .work-marquee::-webkit-scrollbar{ display: none; }
  .work-track{
    animation: none;
    width: max-content;
  }
  .work-item{ scroll-snap-align: start; }
  .work-item[aria-hidden="true"]{ display: none; }
}
@media (prefers-reduced-motion: reduce){
  .work-track{ animation: none; }
  .work-marquee{ overflow-x: auto; }
  .work-swipe-hint svg{ animation: none; }
}

/* ===================================================================
   Team — Quem está por trás
=================================================================== */
.team{ padding: clamp(70px, 9vw, 110px) 0; }

.team-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team .eyebrow{
  color: #C66B45;
  font-family: "Montserrat", var(--font-body);
  font-weight: 700;
}

.team-title{
  margin: 0 0 clamp(36px, 5vw, 56px);
  color: var(--ink);
  font-family: "Montserrat", var(--font-body);
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -.03em;
  line-height: 1.1;
  max-width: 20ch;
}
.team-title .title-accent{ color: #C66B45; }

.team-people{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 260px));
  gap: clamp(20px, 3vw, 32px);
  justify-content: center;
  margin-bottom: clamp(32px, 4vw, 44px);
}
@media (max-width: 640px){
  .team-people{ grid-template-columns: 1fr; max-width: 300px; margin-inline: auto; }
}

.team-card{
  background: linear-gradient(155deg, var(--rust) 0%, var(--rust-deep) 100%);
  border-radius: 14px;
  padding: clamp(24px, 3vw, 32px) clamp(20px, 2.6vw, 26px);
  text-align: center;
}

.team-avatar{
  display: block;
  width: clamp(76px, 7vw, 92px);
  height: clamp(76px, 7vw, 92px);
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 2px solid var(--paper);
}
.team-avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card h3{
  margin: 0 0 4px;
  color: var(--paper);
  font-family: "Montserrat", var(--font-body);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.01em;
}

.team-role{
  display: block;
  color: var(--paper);
  opacity: .82;
  font-family: "Montserrat", var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.team-creds{
  display: block;
  color: rgba(251,248,243,.55);
  font-family: "Montserrat", var(--font-body);
  font-size: 11px;
  line-height: 1.6;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(251,248,243,.14);
}

.team-bio{
  color: rgba(251,248,243,.78);
  font-family: "Montserrat", var(--font-body);
  font-size: 12.5px;
  line-height: 1.6;
  margin: 0;
}

.team-cta{
  background: var(--rust);
  color: var(--paper);
}
.team-cta:hover{ background: var(--rust-deep); }

/* ===================================================================
   CTA / Contact
=================================================================== */
.cta{
  background: linear-gradient(155deg, var(--rust) 0%, var(--rust-deep) 100%);
  color: var(--paper);
  padding: 50px 0;
  text-align: center;
}
.cta-inner{ display: flex; flex-direction: column; align-items: center; }
.cta-title{
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.cta-title em{
  font-family: "Montserrat", sans-serif;
  font-style: normal;
  font-weight: 700;
  color: var(--cream);
}

.cta-email{
  margin-top: 34px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  border-bottom: 1px solid rgba(251,248,243,.5);
  padding-bottom: 4px;
  transition: border-color var(--dur-s) var(--ease), opacity var(--dur-s) var(--ease);
}
.cta-email:hover{ border-color: var(--paper); opacity: .85; }

.cta-meta{
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  font-size: 13.5px;
  color: rgba(251,248,243,.7);
}
.back-top{
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--dur-s) var(--ease);
}
.back-top:hover{ opacity: .7; }

/* ===================================================================
   Footer
=================================================================== */
.site-footer{
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vw, 96px) 0 0;
}

.footer-top{
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.footer-brand{ max-width: 320px; text-align: left; }

.footer-logo-link{ display: block; width: fit-content; }
.footer-logo{ height: 34px; display: block; }

.footer-tagline{
  margin: 20px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.footer-col .eyebrow{ margin-bottom: 20px; }

.footer-links{ display: flex; flex-direction: column; gap: 14px; }
.footer-links a{
  position: relative;
  display: inline-block;
  width: fit-content;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding-bottom: 2px;
  transition: color var(--dur-s) var(--ease);
}
.footer-links a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--rust);
  transition: right var(--dur-s) var(--ease);
}
.footer-links a:hover{ color: var(--rust); }
.footer-links a:hover::after{ right: 0; }

.footer-bottom{
  display: flex;
  justify-content: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.footer-copy{ font-size: 13px; color: var(--stone); }

@media (max-width: 900px){
  .footer-top{
    grid-template-columns: repeat(2, 1fr);
    row-gap: 44px;
  }
  .footer-brand{ grid-column: 1 / -1; max-width: 420px; }
}

@media (max-width: 560px){
  .footer-top{ grid-template-columns: 1fr; }
}

/* ===================================================================
   Reveal on scroll
=================================================================== */
[data-reveal]{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible{
  opacity: 1;
  transform: translateY(0);
}
.hero-content [data-reveal]:nth-child(1){ transition-delay: .05s; }
.hero-content [data-reveal]:nth-child(2){ transition-delay: .18s; }
.hero-content [data-reveal]:nth-child(3){ transition-delay: .32s; }
.hero-content [data-reveal]:nth-child(4){ transition-delay: .44s; }
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ opacity: 1; transform: none; transition: none; }
}

/* ===================================================================
   Responsive
=================================================================== */

@media (max-width: 980px){
  .studio-grid{ grid-template-columns: 1fr; }
  .studio-media{ aspect-ratio: 16/10; order: -1; }
}


/* ===================================================================
   MOBILE — HEADER + MENU
=================================================================== */

@media (max-width: 860px){

  /* HEADER */
  .site-header{
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: transparent;
    box-shadow: none;
  }

  /* Header no topo = transparente sobre a Hero */
  .site-header:not(.is-scrolled){
    background: transparent !important;
    box-shadow: none !important;
  }

  /* Header depois do scroll = creme */
  .site-header.is-scrolled{
    background: rgba(245,240,232,.92) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--line);
  }


  /* LOGO */
  .site-header:not(.is-scrolled) .brand-logo{
    filter: brightness(0) invert(1);
  }

  .site-header.is-scrolled .brand-logo{
    filter: none;
  }


  /* HAMBURGER */
  .nav-toggle{
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .site-header:not(.is-scrolled) .nav-toggle span{
    background: var(--paper);
  }

  .site-header.is-scrolled .nav-toggle span{
    background: var(--ink);
  }


  /* MENU */
  .site-nav{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 28px 32px 32px;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--dur-m) var(--ease),
      transform var(--dur-m) var(--ease),
      visibility var(--dur-m) var(--ease);
    z-index: 999;
  }

  .site-nav.is-open{
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav .nav-link{
    color: var(--paper);
    font-size: 18px;
    padding: 9px 0;
    width: auto;
  }

  .site-nav .nav-link--cta{
    margin-top: 14px;
    width: fit-content;
  }

  /* Quando o menu estiver aberto, links continuam claros */
  .site-header.is-scrolled .site-nav .nav-link{
    color: var(--paper);
  }

  .site-header.is-scrolled .site-nav .nav-link--cta{
    color: var(--paper);
    border-color: var(--line-light);
  }
}


/* ===================================================================
   HAMBURGER / X
=================================================================== */

.nav-toggle{
  position: relative;
  z-index: 1001;
}

.nav-toggle.is-active span{
  background: var(--paper) !important;
}

.nav-toggle.is-active span:nth-child(1){
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2){
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3){
  transform: translateY(-6.5px) rotate(-45deg);
}


/* ===================================================================
   MOBILE SERVICES
=================================================================== */

@media (max-width: 720px){

  .service{
    grid-template-columns: 1fr;
  }

  .service--b{
    direction: ltr;
  }

  .service-media{
    aspect-ratio: 4/3;
  }
}


/* ===================================================================
   MOBILE SMALL
=================================================================== */

@media (max-width: 560px){

  .hero-content{
    padding-bottom: 60px;
  }

  .hero-actions{
    flex-direction: column;
    align-items: flex-start;
  }

  .process-step{
    grid-template-columns: 1fr;
    gap: 8px;
  }
}


/* ===================================================================
   CTA DO MENU
=================================================================== */

.site-header .nav-link--cta{
  background: transparent;
  color: var(--paper);
  border-color: var(--line-light);
}


/* CTA quando o header está sobre fundo claro */

.site-header.is-scrolled .nav-link--cta{
  background: transparent;
  color: var(--rust);
  border-color: var(--rust);
}


/* Hover */

.site-header .nav-link--cta:hover,
.site-header.is-scrolled .nav-link--cta:hover{
  background: var(--rust);
  color: var(--paper);
  border-color: var(--rust);
}


/* ===================================================================
   Fundo exclusivo da segunda dobra
=================================================================== */

.manifesto{
  background: #F2E5D4 !important;
}
/* =========================================================
   DOBRA 3 — STUDIO NUDGE
   ========================================================= */

#servicos .eyebrow,
#servicos .section-title,
#servicos .service-num,
#servicos .service-copy h3,
#servicos .service-copy p {
  font-family: "Montserrat", sans-serif;
}

/* TÍTULO PRINCIPAL */

#servicos .section-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-style: normal;
}

/* SOMENTE ESSA PARTE EM TERRACOTA */

#servicos .title-accent {
  color: #C66B45;
}

/* TÍTULOS DOS SERVIÇOS */

#servicos .service-copy h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-style: normal;
}

/* TEXTOS */

#servicos .service-copy p,
#servicos .service-num {
  font-family: "Montserrat", sans-serif;
}

/* REVEAL DO CABEÇALHO */

#servicos .section-head [data-reveal]:nth-child(1) {
  transition-delay: .05s;
}

#servicos .section-head [data-reveal]:nth-child(2) {
  transition-delay: .18s;
}


/* MOBILE */

@media (max-width: 720px) {

  #servicos .section-title {
    font-size: clamp(30px, 8.8vw, 42px);
    line-height: 1.06;
  }

}
/* =========================================================
   DOBRA 3 — AJUSTE FINAL
   ========================================================= */

#servicos .section-head {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: clamp(50px, 7vw, 90px);
  text-align: left;
}

#servicos .section-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-style: normal;

  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.04em;

  max-width: 1050px;
  margin: 0;
}

#servicos .title-accent {
  color: #C66B45;
}
#servicos .section-head {
  transform: translateX(-27px);
}
/* Ajuste fino de alinhamento da dobra 3 */
#servicos > .wrap {
  position: relative;
  left: -20px;
}
/* Fundo definitivo do Manifesto */
.manifesto {
  background: #F8F1E7 !important;
  background-color: #F8F1E7 !important;
}
@media (max-width: 720px) {
  #servicos .section-head {
    transform: none !important;
  }

  #servicos > .wrap {
    left: 0 !important;
    position: relative;
  }

  #servicos .section-title {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-size: clamp(30px, 8.8vw, 42px);
    line-height: 1.06;
  }
}
/* ==========================================================
   CORREÇÃO — HEADER FIXO NÃO ENCAVALA A HERO
========================================================== */

@media (min-width: 861px){

  .hero{
    padding-top: clamp(150px, 11vw, 190px);
  }

}

@media (max-width: 860px){

  .hero{
    padding-top: 120px;
  }

}

@media (max-width: 560px){

  .hero{
    padding-top: 105px;
  }

}
/* =========================================================
   CTA / FORMULÁRIO — DESIGN FINAL
   ========================================================= */

#contato .lead-form{
  width: min(100%, 620px);
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  text-align: left;
}

#contato .form-field{
  display: flex;
  flex-direction: column;
  gap: 9px;
}

#contato .form-field label{
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(251,248,243,.72);
}

#contato .form-field input,
#contato .form-field textarea{
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(251,248,243,.38);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  padding: 10px 2px 13px;
  outline: none;
  transition:
    border-color var(--dur-s) var(--ease),
    background var(--dur-s) var(--ease);
}

#contato .form-field textarea{
  min-height: 120px;
  resize: vertical;
}

#contato .form-field input::placeholder,
#contato .form-field textarea::placeholder{
  color: rgba(251,248,243,.4);
}

#contato .form-field input:focus,
#contato .form-field textarea:focus{
  border-bottom-color: var(--paper);
  background: rgba(251,248,243,.035);
}

/* BOTÃO */

#contato .lead-form .btn{
  align-self: flex-start;
  margin-top: 8px;
  padding: 16px 30px;
}

/* STATUS */

#contato .form-status{
  min-height: 22px;
  margin: -8px 0 0;
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(251,248,243,.78);
}

/* META / VOLTAR AO TOPO */

#contato .cta-meta{
  margin-top: 70px;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 720px){

  #contato{
    padding: 90px 0 100px;
  }

  #contato .cta-title{
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.08;
  }

  #contato .lead-form{
    width: 100%;
    margin-top: 42px;
    gap: 24px;
  }

  #contato .form-field label{
    font-size: 10px;
  }

  #contato .form-field input,
  #contato .form-field textarea{
    font-size: 15px;
  }

  #contato .lead-form .btn{
    align-self: stretch;
    justify-content: center;
    width: 100%;
  }

  #contato .cta-meta{
    margin-top: 56px;
  }
}

/* ================================================================
   TEAM / QUEM SOMOS — HOSTINGER HARDENING
   Mantém a seção estável mesmo quando há cache antigo ou pequenas
   diferenças de renderização entre servidor e ambiente local.
================================================================ */
#equipe.team {
  display: block;
  width: 100%;
  position: relative;
  padding: 30px 0;
  background: var(--cream);
  overflow: hidden;
}

#equipe.team .team-inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#equipe.team .team-title {
  display: block;
  width: 100%;
  max-width: 18ch;
  margin: 0 0 clamp(36px, 5vw, 56px);
  color: var(--ink);
  font-family: "Montserrat", var(--font-body), sans-serif;
  font-weight: 700;
  ffont-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.1;
  letter-spacing: -.03em;
}

#equipe.team .team-title .title-accent {
  color: #C66B45;
}

#equipe.team .team-people {
  width: auto;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 260px);
  gap: clamp(20px, 3vw, 32px);
  justify-content: center;
  align-items: stretch;
  margin: 0 0 clamp(32px, 4vw, 44px);
}

#equipe.team .team-card {
  width: 260px;
  min-width: 0;
  min-height: 426px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(155deg, var(--rust) 0%, var(--rust-deep) 100%);
  border-radius: 14px;
  padding: 32px 26px;
  text-align: center;
  overflow: hidden;
}

#equipe.team .team-avatar {
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  margin: 0 auto 16px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  overflow: hidden;
}

#equipe.team .team-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

#equipe.team .team-card h3,
#equipe.team .team-role,
#equipe.team .team-creds,
#equipe.team .team-bio {
  width: 100%;
}

#equipe.team .team-card h3 {
  margin: 0 0 4px;
  color: var(--paper);
  font-family: "Montserrat", var(--font-body), sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -.01em;
}

#equipe.team .team-role {
  display: block;
  margin-bottom: 12px;
  color: var(--paper);
  opacity: .82;
  font-family: "Montserrat", var(--font-body), sans-serif;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: .1em;
  text-transform: uppercase;
}

#equipe.team .team-creds {
  display: block;
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid rgba(251,248,243,.14);
  color: rgba(251,248,243,.55);
  font-family: "Montserrat", var(--font-body), sans-serif;
  font-size: 11px;
  line-height: 1.6;
}

#equipe.team .team-bio {
  margin: 0;
  color: rgba(251,248,243,.78);
  font-family: "Montserrat", var(--font-body), sans-serif;
  font-size: 12.5px;
  line-height: 1.6;
}

#equipe.team .team-cta {
  flex: 0 0 auto;
  background: var(--rust);
  color: var(--paper);
}

@media (max-width: 640px) {
  #equipe.team .team-inner {
    padding-inline: 20px;
  }

  #equipe.team .team-people {
    width: 100%;
    max-width: 300px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #equipe.team .team-card {
    width: 100%;
    min-height: 0;
  }
}
@media (max-width: 720px) {
  #equipe.team {
    padding-top: 0px;
  }
}
@media (max-width: 560px){

  .brand-logo{
    height: 48px;
  }

  .hero{
    padding-top: 90px;
  }

  .hero-content{
    padding-bottom: 60px;
  }

}
@media (max-width: 720px) {
  .services {
    padding-top: 25px;
  }
}
/* AJUSTE — TÍTULO QUEM SOMOS */
#equipe.team .team-title {
  font-size: clamp(42px, 5.4vw, 76px) !important;
  line-height: .98;
  letter-spacing: -.055em;
  max-width: 20ch;
}
@media (max-width: 720px){

  /* Aproxima a seção Trabalhos do final do Processo */
  .process{
    padding-bottom: 35px;
  }

  .process-step:last-child{
    padding-bottom: 25px;
  }

  .work{
    padding-top: 45px;
  }

}
/* Centralização do título — Trabalhos */
.work {
  text-align: center;
}

.work .eyebrow,
.work h2 {
  text-align: center;
}
/* =========================================================
   Trabalhos — título
========================================================= */

.work-head {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.work-head .section-title {
  width: 100%;
  max-width: none;
  text-align: center;
}
/* =========================================================
   NUDGE — MOBILE | CARDS COMPACTOS
========================================================= */

@media (max-width: 768px) {

  .nudge-cards {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  .nudge-card {
    display: block !important;

    /* remove qualquer altura herdada */
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;

    /* card mais compacto */
    padding: 28px 26px 30px !important;

    border-radius: 7px !important;
  }

  .nudge-card-icon {
    width: 50px !important;
    height: 50px !important;

    margin: 0 0 20px 0 !important;
  }

  .nudge-card-icon svg {
    width: 50px !important;
    height: 50px !important;
  }

  .nudge-card-content {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .nudge-card-content h3 {
    margin: 0 0 10px !important;
    line-height: 1.15 !important;
  }

  .nudge-card-content p {
    margin: 0 !important;
    line-height: 1.45 !important;
  }

}
/* =========================================================
   TRABALHOS — ALINHAMENTO DOS SERVIÇOS
   Mantém todas as linhas laranja na mesma altura
========================================================= */

.work-info h3{
  min-height: 2.5em;
  display: flex;
  align-items: flex-start;
}

.work-tag{
  display: block;
  min-height: 2.8em;
}
/* =========================================================
   TRABALHOS — CENTRALIZAÇÃO DOS NOMES
========================================================= */

.work-info{
  text-align: center;
}

.work-info h3{
  width: 100%;
  justify-content: center;
  text-align: center;
}