:root{--bg:#f5f5f2;--paper:#fff;--paper-soft:#fafaf8;--text:#111;--muted:#5f5f5f;--line:#ddd;--line-strong:#c8c8c8;--shadow:0 18px 40px rgba(0,0,0,.04);--shadow-strong:0 24px 60px rgba(0,0,0,.08);--serif:Georgia,'Times New Roman',serif;--sans:Inter,Arial,Helvetica,sans-serif}*{box-sizing:border-box;margin:0;padding:0}html{scroll-behavior:smooth}body{font-family:var(--sans);color:var(--text);background:var(--bg);line-height:1.5;-webkit-font-smoothing:antialiased}a{text-decoration:none;color:inherit}button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}img,video{display:block;max-width:100%}.container{width:min(1160px,calc(100% - 40px));margin:0 auto}.section{padding:96px 0;border-bottom:1px solid var(--line)}.section-head{display:grid;grid-template-columns:190px 1fr;gap:46px;margin-bottom:42px}.kicker,.project-format{font-size:.78rem;color:var(--muted);text-transform:uppercase;letter-spacing:.02em}.section-title{max-width:820px;font-size:clamp(2rem,4.6vw,4rem);line-height:1;letter-spacing:-.045em;font-weight:640}.section-title span,.brand span,.hero-title .serif,.about-title span,.footer h2 span{font-family:var(--serif);font-style:italic;font-weight:400}.section-description{max-width:720px;margin-top:18px;color:var(--muted);font-size:1rem;line-height:1.72}.pill{display:inline-flex;border:1px solid var(--line);border-radius:999px;padding:8px 13px;background:var(--paper);color:var(--muted);font-size:.84rem;white-space:nowrap}.button{display:inline-flex;align-items:center;justify-content:center;min-width:120px;border:1px solid var(--text);border-radius:999px;padding:10px 16px;background:var(--text);color:#fff;font-size:.88rem;font-weight:500;transition:.2s}.button:hover{transform:translateY(-2px);background:transparent;color:var(--text);box-shadow:0 10px 24px rgba(0,0,0,.08)}.view-btn{width:100%}.site-header{position:sticky;top:0;z-index:100;background:rgba(245,245,242,.88);backdrop-filter:blur(14px);border-bottom:1px solid rgba(221,221,221,.9)}.header-inner{height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-size:1.04rem;font-weight:700;letter-spacing:-.02em;white-space:nowrap}.nav{display:flex;align-items:center;gap:22px;color:var(--muted);font-size:.92rem;white-space:nowrap}.nav a{position:relative;transition:.2s}.nav a:after{content:"";position:absolute;left:0;bottom:-6px;width:0;height:1px;background:var(--text);transition:.2s}.nav a:hover{color:var(--text)}.nav a:hover:after{width:100%}.hero{padding:104px 0 92px;border-bottom:1px solid var(--line)}.hero-content{max-width:900px}.hero-kicker{display:inline-flex;align-items:center;gap:10px;margin-bottom:22px;color:var(--muted);font-size:.82rem;text-transform:uppercase;letter-spacing:.02em}.hero-dot{width:7px;height:7px;border-radius:50%;background:var(--text)}.hero-title{font-size:clamp(4.6rem,13vw,10rem);line-height:.88;letter-spacing:-.055em;font-weight:680;margin-bottom:28px}.hero-copy{max-width:680px;color:var(--muted);font-size:clamp(1.08rem,2vw,1.32rem);line-height:1.65;margin-bottom:28px}.hero-copy strong{color:var(--text);font-weight:580}.hero-tags{display:flex;flex-wrap:wrap;gap:8px}.filter-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;padding:12px;border:1px solid var(--line);border-radius:18px;background:var(--paper)}.filter-label{color:var(--muted);font-size:.9rem}.filter-list{display:flex;flex-wrap:wrap;gap:8px}.filter-btn{border:1px solid var(--line);border-radius:999px;padding:8px 13px;background:var(--paper-soft);color:var(--muted);font-size:.82rem;transition:.2s}.filter-btn:hover{transform:translateY(-1px);border-color:var(--text);color:var(--text)}.filter-btn.active{background:var(--text);border-color:var(--text);color:#fff}.projects-grid,.videos-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.project-card,.video-card{border:1px solid var(--line);border-radius:24px;background:var(--paper);overflow:hidden;box-shadow:0 8px 22px rgba(0,0,0,.025);transition:.24s}.project-card.hide{display:none}.project-card:hover,.video-card:hover{transform:translateY(-5px);border-color:var(--line-strong);box-shadow:var(--shadow-strong)}.post-frame{position:relative;aspect-ratio:3/4;margin:12px;border-radius:18px;border:1px solid var(--line);overflow:hidden;background:linear-gradient(180deg,#efefef,#dbdbdb)}.post-frame img{width:100%;height:100%;object-fit:cover}.post-placeholder,.modal-placeholder{height:100%;display:grid;place-items:center;padding:20px;text-align:center;color:var(--muted);font-size:.86rem;line-height:1.6}.format-badge{position:absolute;top:10px;left:10px;border:1px solid rgba(17,17,17,.1);border-radius:999px;padding:6px 10px;background:rgba(255,255,255,.88);backdrop-filter:blur(6px);font-size:.74rem}.project-info,.video-info{padding:6px 16px 18px}.project-format{font-weight:600;margin-bottom:7px}.project-niche{font-size:1.06rem;line-height:1.16;letter-spacing:-.018em;font-weight:610;margin-bottom:15px}.video-frame{position:relative;aspect-ratio:9/16;margin:12px;border-radius:18px;border:1px solid var(--line);overflow:hidden;background:#111}.video-frame video,.video-frame img{width:100%;height:100%;object-fit:cover}.video-placeholder{height:100%;display:grid;place-items:center;padding:20px;text-align:center;color:rgba(255,255,255,.85);font-size:.88rem;line-height:1.6;background:linear-gradient(180deg,#2a2a2a,#121212)}.play-mark{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}.play-mark span{width:54px;height:54px;border-radius:50%;background:rgba(255,255,255,.88);display:grid;place-items:center;color:var(--text);padding-left:3px}.about-card{display:grid;grid-template-columns:.5fr 1fr;gap:48px;align-items:center;border:1px solid var(--line);border-radius:28px;background:var(--paper);padding:38px;box-shadow:var(--shadow)}.about-visual{display:flex;flex-direction:column;align-items:flex-start;gap:22px}.photo-circle{width:118px;height:118px;border-radius:50%;border:1px solid var(--line);background:radial-gradient(circle at 35% 25%,#fff,#ececec 45%,#d8d8d8);overflow:hidden;position:relative;box-shadow:inset 0 0 0 6px rgba(255,255,255,.5),0 14px 30px rgba(0,0,0,.06)}.photo-circle img{width:100%;height:100%;object-fit:cover}.photo-placeholder{position:absolute;inset:0;display:grid;place-items:center;color:var(--muted);font-size:.8rem}.about-title{font-size:clamp(2.4rem,6vw,5rem);line-height:.92;letter-spacing:-.04em;font-weight:680}.about-text{max-width:740px;color:var(--muted);font-size:1rem;line-height:1.75;white-space:pre-line}.skill-cloud{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.footer{padding:78px 0}.footer-inner{display:grid;grid-template-columns:1fr auto;gap:34px;align-items:end}.footer h2{font-size:clamp(2.6rem,7vw,5.8rem);line-height:.92;letter-spacing:-.05em;font-weight:680}.footer-links{display:grid;gap:8px;color:var(--muted);text-align:right;font-size:.94rem}.modal{position:fixed;inset:0;z-index:300;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.62);backdrop-filter:blur(8px)}.modal.active{display:flex}.modal-box{width:min(1040px,100%);max-height:90vh;overflow:hidden;border-radius:26px;background:var(--paper);box-shadow:0 30px 80px rgba(0,0,0,.28)}.modal-head{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid var(--line);background:var(--paper-soft)}.modal-title{color:var(--muted);font-size:.9rem}.modal-close{border:1px solid var(--line);border-radius:999px;padding:7px 12px;background:var(--paper);font-size:.82rem}.modal-content{max-height:calc(90vh - 58px);overflow:auto;padding:24px}.modal-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:24px}.modal-media{position:relative;aspect-ratio:3/4;border:1px solid var(--line);border-radius:20px;overflow:hidden;background:linear-gradient(180deg,#efefef,#dbdbdb)}.modal-media img{width:100%;height:100%;object-fit:cover}.carousel-control{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.92);border:1px solid rgba(17,17,17,.08);display:grid;place-items:center;font-size:1.2rem;z-index:5}.carousel-control.prev{left:12px}.carousel-control.next{right:12px}.carousel-dots{position:absolute;left:0;right:0;bottom:14px;display:flex;justify-content:center;gap:8px;z-index:5}.carousel-dot{width:8px;height:8px;border-radius:50%;border:1px solid rgba(17,17,17,.12);background:rgba(255,255,255,.7)}.carousel-dot.active{background:var(--text)}.modal-video{aspect-ratio:9/16;max-height:620px;border-radius:20px;overflow:hidden;background:#111}.modal-video video{width:100%;height:100%;object-fit:cover}.modal-text h3{font-size:clamp(2rem,4vw,3.5rem);line-height:.98;letter-spacing:-.04em;font-weight:620;margin-bottom:18px}.modal-text p{color:var(--muted);margin-bottom:12px;line-height:1.7}.modal-text strong{color:var(--text);font-weight:600}.briefing-box,.caption-box{border:1px solid var(--line);border-radius:18px;background:var(--paper-soft);padding:20px;margin-top:20px}.caption-box{background:#fff}.briefing-box small,.caption-box small{display:block;margin-bottom:12px;color:var(--muted);font-size:.76rem;text-transform:uppercase;letter-spacing:.03em;font-weight:700}.briefing-box p{color:var(--text);font-family:var(--serif);font-size:1.04rem;line-height:1.7;margin:0}.caption-box p{color:var(--text);font-size:.98rem;line-height:1.75;margin:0;white-space:pre-line}@media(max-width:1020px){.section-head,.about-card,.footer-inner,.modal-grid{grid-template-columns:1fr}.projects-grid,.videos-grid{grid-template-columns:repeat(2,1fr)}.footer-links{text-align:left}}@media(max-width:700px){.container{width:min(100% - 28px,1160px)}.header-inner{height:64px;justify-content:flex-start;gap:18px}.nav{flex:1;min-width:0;gap:16px;font-size:.86rem;overflow-x:auto;scrollbar-width:none;padding:10px 0}.nav::-webkit-scrollbar,.hero-tags::-webkit-scrollbar,.filter-list::-webkit-scrollbar{display:none}.hero{padding:76px 0 68px}.hero-title{font-size:clamp(4.7rem,27vw,7.4rem);margin-bottom:24px}.hero-copy{font-size:1.05rem}.hero-tags{flex-wrap:wrap;overflow:visible}.filter-list{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.section{padding:72px 0}.section-head{grid-template-columns:1fr;gap:18px;margin-bottom:32px}.section-title{font-size:clamp(2.1rem,12vw,3.2rem)}.projects-grid,.videos-grid{grid-template-columns:1fr}.filter-bar{align-items:flex-start;flex-direction:column}.filter-btn{flex:0 0 auto}.about-card{padding:24px;gap:30px}.photo-circle{width:92px;height:92px}.modal{padding:12px}.modal-content{padding:22px}.footer{padding:68px 0}}


/* Modal em formato de estudo de caso */
.modal-case{display:grid;gap:22px;max-width:860px;margin:0 auto}.case-section{border-bottom:1px solid var(--line);padding-bottom:18px}.case-section:last-child{border-bottom:0}.case-section small{display:block;margin-bottom:8px;color:var(--muted);font-size:.76rem;text-transform:uppercase;letter-spacing:.03em;font-weight:700}.case-section h3{font-size:clamp(2rem,4vw,3.5rem);line-height:.98;letter-spacing:-.04em;font-weight:620;margin:0 0 12px}.case-section p{color:var(--text);font-size:1rem;line-height:1.75;white-space:normal}.case-title p{color:var(--muted);max-width:720px}.text-developed p{font-family:var(--serif);font-size:1.08rem}.designer-credit{color:var(--muted);font-size:.96rem}.designer-credit strong{color:var(--text)}.modal-case .modal-media{max-width:520px}.modal-case .modal-video{max-width:420px}

.post-caption{
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--paper-soft);
  padding:20px;
}
.post-caption p{
  white-space:pre-line;
}


/* Pop-up refinada em formato de estudo de caso */
.modal{
  padding:28px;
  background:rgba(0,0,0,.68);
}
.modal-box{
  width:min(1120px,100%);
  border-radius:30px;
  background:#f7f7f4;
  border:1px solid rgba(255,255,255,.24);
  overflow:hidden;
}
.modal-head{
  height:64px;
  padding:0 22px;
  background:#fff;
}
.modal-title{
  font-size:.82rem;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.04em;
  font-weight:700;
}
.modal-close{
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.modal-close:hover{
  background:#111;
  color:#fff;
  border-color:#111;
}
.modal-content{
  padding:0;
  max-height:calc(90vh - 64px);
}
.modal-case{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(420px,1.08fr);
  gap:0;
  max-width:none;
  margin:0;
}
.case-info{
  padding:34px;
  display:flex;
  flex-direction:column;
  gap:16px;
}
.case-result{
  padding:34px;
  background:transparent !important;
  border-left:1px solid var(--line);
  min-height:calc(90vh - 64px);
}
.case-section{
  border:0;
  padding:0;
}
.case-section small,
.case-result-label,
.designer-credit small{
  display:block;
  margin-bottom:8px;
  color:var(--muted);
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.05em;
  font-weight:800;
}
.case-title{
  padding-bottom:20px;
  border-bottom:1px solid var(--line);
  margin-bottom:4px;
}
.case-title h3{
  font-size:clamp(2rem,4vw,3.6rem);
  line-height:.96;
  letter-spacing:-.055em;
  font-weight:720;
  margin:0;
}
.case-section p{
  margin:0;
  color:var(--text);
  font-size:.98rem;
  line-height:1.72;
  white-space:pre-line;
}
.case-card{
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
  background:#fff;
}
.case-card p{
  color:#222;
}
.case-card.text-developed,
.case-card.post-caption{
  background:#fdfdfb;
}
.case-result .modal-media{
  width:100%;
  max-width:none;
  aspect-ratio:3/4;
  border-radius:24px;
  box-shadow:0 18px 45px rgba(0,0,0,.08);
}
.case-result .modal-video{
  width:100%;
  max-width:430px;
  margin:0 auto;
  border-radius:24px;
  box-shadow:0 18px 45px rgba(0,0,0,.12);
}
.result-caption{
  margin-top:22px;
}
.result-caption.case-card{
  background:#f7f7f4;
}
.designer-credit{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--line);
  color:var(--text);
  font-size:.98rem;
}
.designer-credit strong{
  font-weight:600;
}

@media(max-width:900px){
  .modal{
    padding:12px;
    align-items:flex-start;
  }
  .modal-box{
    max-height:calc(100vh - 24px);
    border-radius:22px;
  }
  .modal-content{
    max-height:calc(100vh - 88px);
  }
  .modal-case{
    grid-template-columns:1fr;
  }
  .case-info,
  .case-result{
    padding:22px;
  }
  .case-result{
    border-left:0;
    border-top:1px solid var(--line);
    min-height:auto;
  }
  .case-result .modal-video{
    max-width:100%;
  }
}


/* v8 — Pop-up em fluxo único para conduzir a narrativa */
.modal-box{
  width:min(940px,100%);
  background:#f7f7f4;
}

.modal-content{
  padding:0;
}

.modal-case,
.modal-case.modal-case-flow{
  display:block;
  max-width:820px;
  margin:0 auto;
  padding:38px 34px 42px;
}

.case-info,
.case-result{
  padding:0;
  border:0;
  min-height:auto;
  background:transparent;
}

.case-section{
  border:0;
  padding:0;
  margin:0 0 22px;
}

.case-section.case-card{
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  padding:20px;
  box-shadow:0 8px 20px rgba(0,0,0,.025);
}

.case-title{
  border-bottom:1px solid var(--line);
  padding-bottom:24px;
  margin-bottom:24px;
}

.case-title h3{
  max-width:780px;
  font-size:clamp(2.1rem,5vw,4.2rem);
  line-height:.95;
  letter-spacing:-.06em;
  font-weight:720;
  margin:0;
}

.case-section small,
.case-result-label,
.designer-credit small{
  display:block;
  margin-bottom:9px;
  color:var(--muted);
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.055em;
  font-weight:800;
}

.case-section p{
  margin:0;
  color:var(--text);
  font-size:1rem;
  line-height:1.78;
  white-space:pre-line;
}

.result-section{
  margin-top:30px;
}

.result-section small{
  margin-bottom:14px;
}

.result-section .modal-media{
  width:min(560px,100%);
  max-width:560px;
  margin:0 auto;
  aspect-ratio:3/4;
  border-radius:26px;
  box-shadow:0 18px 45px rgba(0,0,0,.08);
}

.result-section .modal-video{
  width:min(430px,100%);
  max-width:430px;
  margin:0 auto;
  border-radius:26px;
  box-shadow:0 18px 45px rgba(0,0,0,.12);
}

.result-caption{
  margin-top:24px;
}

.result-caption.case-card{
  background:#fff;
  border-color:var(--line);
}

.designer-credit{
  margin:26px 0 0;
  padding:18px 20px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  color:var(--text);
  font-size:1rem;
}

.designer-credit strong{
  display:block;
  font-weight:650;
}

@media(max-width:700px){
  .modal-case,
  .modal-case.modal-case-flow{
    padding:24px 18px 30px;
  }

  .case-section.case-card{
    padding:17px;
    border-radius:17px;
  }

  .case-title{
    padding-bottom:20px;
    margin-bottom:20px;
  }

  .case-title h3{
    font-size:clamp(2rem,10vw,3.1rem);
  }

  .result-section .modal-media,
  .result-section .modal-video{
    border-radius:20px;
  }
}


/* v9 — Pop-up em coluna única com hierarquia editorial refinada */
.modal{
  padding:30px;
  background:rgba(0,0,0,.70);
  backdrop-filter:blur(10px);
}

.modal-box{
  width:min(900px,100%);
  max-height:90vh;
  border-radius:30px;
  background:#f6f6f2;
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 34px 90px rgba(0,0,0,.34);
  overflow:hidden;
}

.modal-head{
  height:64px;
  padding:0 24px;
  background:#ffffff;
  border-bottom:1px solid var(--line);
}

.modal-title{
  color:var(--muted);
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  font-weight:800;
}

.modal-close{
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}

.modal-close:hover{
  background:#111;
  color:#fff;
  border-color:#111;
  transform:translateY(-1px);
}

.modal-content{
  padding:0;
  max-height:calc(90vh - 64px);
  overflow:auto;
}

.modal-case,
.modal-case.modal-case-flow{
  display:block !important;
  max-width:760px;
  margin:0 auto;
  padding:42px 36px 48px;
}

.case-section{
  margin:0 0 18px;
  padding:0;
  border:0;
}

.case-title{
  margin:0 0 28px;
  padding:0 0 26px;
  border-bottom:1px solid var(--line);
}

.case-title small,
.case-section small,
.result-section small,
.designer-credit small{
  display:block;
  margin-bottom:8px;
  color:var(--muted);
  font-size:.72rem;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.07em;
  font-weight:850;
}

.case-title h3{
  max-width:720px;
  margin:0;
  color:var(--text);
  font-size:clamp(2.1rem,4.5vw,4rem);
  line-height:.96;
  letter-spacing:-.055em;
  font-weight:760;
}

.case-section.case-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:20px 22px;
  box-shadow:0 8px 22px rgba(0,0,0,.028);
}

.case-section.case-card + .case-section.case-card{
  margin-top:14px;
}

.case-section p{
  margin:0;
  color:#202020;
  font-size:1rem;
  line-height:1.78;
  white-space:pre-line;
}

.case-card.text-developed,
.case-card.post-caption{
  background:#fcfcfa;
}

.result-section{
  margin-top:34px;
  padding-top:28px;
  border-top:1px solid var(--line);
}

.result-section small{
  margin-bottom:16px;
}

.result-section .modal-media{
  width:min(440px,100%);
  max-width:440px;
  aspect-ratio:3/4;
  margin:0 auto;
  border:1px solid var(--line);
  border-radius:26px;
  overflow:hidden;
  background:linear-gradient(180deg,#efefef,#dbdbdb);
  box-shadow:0 20px 46px rgba(0,0,0,.10);
}

.result-section .modal-video{
  width:min(360px,100%);
  max-width:360px;
  aspect-ratio:9/16;
  margin:0 auto;
  border-radius:26px;
  overflow:hidden;
  box-shadow:0 20px 46px rgba(0,0,0,.14);
}

.result-caption{
  margin-top:24px;
}

.result-caption.case-card{
  background:#fff;
}

.designer-credit{
  margin:24px 0 0;
  padding:18px 20px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.026);
}

.designer-credit strong{
  display:block;
  color:var(--text);
  font-size:1rem;
  font-weight:650;
}

.carousel-control{
  width:42px;
  height:42px;
  background:rgba(255,255,255,.94);
  box-shadow:0 8px 20px rgba(0,0,0,.10);
}

.carousel-dots{
  bottom:16px;
}

.carousel-dot{
  width:8px;
  height:8px;
}

@media(max-width:700px){
  .modal{
    padding:12px;
    align-items:flex-start;
  }

  .modal-box{
    max-height:calc(100vh - 24px);
    border-radius:22px;
  }

  .modal-content{
    max-height:calc(100vh - 88px);
  }

  .modal-case,
  .modal-case.modal-case-flow{
    max-width:none;
    padding:26px 18px 32px;
  }

  .case-title{
    margin-bottom:22px;
    padding-bottom:22px;
  }

  .case-title h3{
    font-size:clamp(2rem,10vw,3.05rem);
  }

  .case-section.case-card{
    padding:17px;
    border-radius:18px;
  }

  .result-section{
    margin-top:28px;
    padding-top:24px;
  }

  .result-section .modal-media,
  .result-section .modal-video{
    width:100%;
    max-width:100%;
    border-radius:20px;
  }
}


/* v10 — Pop-up com hierarquia real em coluna única */
body .modal{
  padding:32px;
  background:rgba(0,0,0,.72);
  backdrop-filter:blur(10px);
}

body .modal.active{
  display:flex;
}

body .modal-box{
  width:min(880px,calc(100vw - 48px)) !important;
  max-height:90vh;
  border-radius:32px;
  background:#f6f6f2;
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 34px 90px rgba(0,0,0,.38);
  overflow:hidden;
}

body .modal-head{
  height:66px;
  padding:0 24px;
  background:#fff;
  border-bottom:1px solid var(--line);
}

body .modal-title{
  color:var(--muted);
  font-size:.76rem;
  text-transform:uppercase;
  letter-spacing:.07em;
  font-weight:800;
}

body .modal-close{
  border:1px solid var(--line);
  border-radius:999px;
  background:#fff;
  color:var(--text);
  padding:8px 14px;
  transition:background .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}

body .modal-close:hover{
  background:#111;
  color:#fff;
  border-color:#111;
  transform:translateY(-1px);
}

body .modal-content{
  padding:0 !important;
  max-height:calc(90vh - 66px);
  overflow:auto;
}

body .modal-case{
  display:block !important;
  max-width:760px !important;
  margin:0 auto !important;
  padding:42px 36px 50px !important;
}

body .case-hero{
  padding-bottom:26px;
  margin-bottom:28px;
  border-bottom:1px solid var(--line);
}

body .case-eyebrow{
  display:block;
  margin-bottom:10px;
  color:var(--muted);
  font-size:.72rem;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.07em;
  font-weight:850;
}

body .case-hero h3{
  margin:0;
  color:var(--text);
  font-size:clamp(2.2rem,4.8vw,4.1rem);
  line-height:.94;
  letter-spacing:-.06em;
  font-weight:760;
}

body .case-content{
  display:grid;
  gap:18px;
}

body .case-section{
  margin:0 !important;
  padding:20px 22px !important;
  border:1px solid var(--line) !important;
  border-radius:22px;
  background:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.028);
}

body .case-section p{
  margin:0 !important;
  color:#202020;
  font-size:1rem;
  line-height:1.78;
  white-space:pre-line;
}

body .case-direction,
body .case-caption{
  background:#fcfcfa;
}

body .case-result{
  margin-top:16px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

body .case-result .case-eyebrow{
  margin-bottom:16px;
}

body .case-result .modal-media{
  width:min(420px,100%) !important;
  max-width:420px !important;
  aspect-ratio:3/4;
  margin:0 auto !important;
  border:1px solid var(--line);
  border-radius:26px;
  overflow:hidden;
  background:linear-gradient(180deg,#efefef,#dbdbdb);
  box-shadow:0 20px 46px rgba(0,0,0,.10);
}

body .case-result .modal-video{
  width:min(340px,100%) !important;
  max-width:340px !important;
  aspect-ratio:9/16;
  margin:0 auto !important;
  border-radius:26px;
  overflow:hidden;
  box-shadow:0 20px 46px rgba(0,0,0,.14);
  background:#111;
}

body .modal-media img,
body .modal-video video{
  width:100%;
  height:100%;
  object-fit:cover;
}

body .case-credit{
  margin-top:6px;
  padding:20px 22px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.028);
}

body .case-credit strong{
  display:block;
  color:var(--text);
  font-size:1rem;
  font-weight:650;
}

body .carousel-control{
  width:42px;
  height:42px;
  background:rgba(255,255,255,.94);
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}

body .carousel-dots{
  bottom:16px;
}

body .carousel-dot{
  width:8px;
  height:8px;
}

@media(max-width:700px){
  body .modal{
    padding:12px;
    align-items:flex-start;
  }

  body .modal-box{
    width:100% !important;
    max-height:calc(100vh - 24px);
    border-radius:22px;
  }

  body .modal-content{
    max-height:calc(100vh - 90px);
  }

  body .modal-case{
    max-width:none !important;
    padding:26px 18px 34px !important;
  }

  body .case-hero{
    margin-bottom:22px;
    padding-bottom:22px;
  }

  body .case-hero h3{
    font-size:clamp(2rem,10vw,3.05rem);
  }

  body .case-section{
    padding:17px !important;
    border-radius:18px;
  }

  body .case-result .modal-media,
  body .case-result .modal-video{
    width:100% !important;
    max-width:100% !important;
    border-radius:20px;
  }
}


/* v11 — bolinha ativa do carrossel branca */
body .carousel-dot.active{
  background:#ffffff !important;
  border-color:rgba(255,255,255,.9) !important;
}


/* v12 — cards clicáveis e setas fora do carrossel */
.project-card,
.video-card,
.clickable-card{
  cursor:pointer;
}

.clickable-card:focus-visible{
  outline:2px solid #111;
  outline-offset:3px;
}

body .case-result .modal-media{
  overflow:visible !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}

body .carousel-shell{
  position:relative;
  width:min(420px,100%);
  max-width:420px;
  margin:0 auto;
  padding:0 28px 22px;
}

body .carousel-image-wrap{
  aspect-ratio:3/4;
  border:1px solid var(--line);
  border-radius:26px;
  overflow:hidden;
  background:linear-gradient(180deg,#efefef,#dbdbdb);
  box-shadow:0 20px 46px rgba(0,0,0,.10);
}

body .carousel-image-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
}

body .carousel-control{
  position:absolute;
  top:50%;
  transform:translateY(-60%);
  width:44px;
  height:44px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.96);
  box-shadow:0 10px 24px rgba(0,0,0,.14);
  z-index:5;
}

body .carousel-control.prev{left:-6px;}
body .carousel-control.next{right:-6px;}

body .carousel-control:hover{
  transform:translateY(-60%) scale(1.04);
}

body .carousel-dots{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  display:flex;
  justify-content:center;
  gap:8px;
}

@media(max-width:700px){
  body .carousel-shell{
    width:100%;
    max-width:100%;
    padding:0 18px 22px;
  }
  body .carousel-control.prev{left:2px;}
  body .carousel-control.next{right:2px;}
}


/* v13 — Inter carregada e crédito visual em peso normal */
body,
button,
input,
textarea,
select{
  font-family:'Inter', Inter, Arial, Helvetica, sans-serif;
}

body .case-credit strong,
body .designer-credit strong{
  font-weight:400 !important;
}


/* v14 — ajustes finos da pop-up */
body .case-section,
body .case-section.case-card,
body .case-direction,
body .case-caption,
body .result-caption.case-card,
body .case-credit{
  background:#fcfcfa;
}

body .carousel-dot.active{
  background:#111111 !important;
  border-color:#111111 !important;
}
